CN-122019894-A - Travel service recommendation method and device, electronic equipment and storage medium
Abstract
The travel service recommending method, device, electronic equipment and storage medium comprise the steps of carrying out regional clustering on the basis of site position information of traffic sites to obtain a plurality of candidate travel region pairs and constructing a candidate travel chain, obtaining first historical travel data in a preset history period, extracting corresponding second historical travel data for a preset operation time interval, determining maximum transfer times for each candidate travel region pair, obtaining target historical passenger flow in a continuous history time interval, screening the target travel region pairs according to preset screening conditions, extracting third historical travel data, generating travel inadequacy evaluation indexes of each operation time interval on the basis of the first and third historical travel data for each target travel region pair, and recommending travel service to a travel object according to the travel inadequacy evaluation indexes. The application can provide personalized traffic service for travel objects with the same travel demands and provide good travel experience.
Inventors
- CHEN SHUJUAN
- XU HUALIN
- ZHEN YONGFENG
- YANG XIYUN
- ZHOU LIYANG
Assignees
- 深圳市深圳通有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260414
Claims (10)
- 1. A travel service recommendation method, the method comprising: carrying out regional clustering based on site position information of traffic sites in a target region to obtain a plurality of candidate travel region pairs, and constructing a candidate travel chain according to a starting site set and an ending site set of each candidate travel region pair; Acquiring first historical travel data of the target area in a preset historical period, and extracting second historical travel data of a plurality of historical time intervals which are the same as the operation time interval from the first historical travel data for each preset operation time interval, wherein the second historical travel data represents data of a travel object belonging to the corresponding ending site set from the site inbound and outbound in the starting site set in the historical time interval; determining the maximum transfer times of the candidate travel chains aiming at each candidate travel area pair, and acquiring target historical passenger flow in a preset number of continuous historical time intervals from the second historical travel data; Screening a plurality of candidate travel area pairs based on the maximum transfer times, the target historical passenger flow volume and preset screening conditions to obtain target travel area pairs; Extracting third historical trip data from the second historical trip data, wherein the third historical trip data represents data of station inbound and outbound stations belonging to corresponding target end station sets from target start station sets of the target trip area pairs in the historical time interval; and generating a travel inappropriateness evaluation index of each operation time interval based on the first historical travel data and the third historical travel data aiming at each target travel area pair, and recommending travel service for the travel object according to the travel inappropriateness evaluation index.
- 2. The method of claim 1, wherein a target travel zone pair comprises a target travel chain constructed from the target start site set and the target end site set, the generating a travel discomfort rating indicator for each of the operation time intervals based on the first historical travel data and the third historical travel data comprising: generating, for each target travel chain of the target travel area pair, transfer inadequacy, time consuming inadequacy and congestion inadequacy of the target travel chain corresponding to each operation time interval based on the first historical travel data and the third historical travel data; Extracting, for each target travel chain of the target travel area pair, a historical travel number corresponding to the target travel chain in each operation time interval from the third historical travel data; And generating a travel inadequacy evaluation index of each operation time interval according to the transfer inadequacy, the time consumption inadequacy, the crowding inadequacy and the historical travel people number aiming at each target travel area pair.
- 3. The method of claim 2, wherein the generating a travel inadequacy assessment index for each of the operation time intervals based on the transfer inadequacy, the time consuming inadequacy, the congestion inadequacy, and the historical number of travel people comprises: Calculating link comprehensive inadequacy of the target travel link in each operation time interval according to the transfer inadequacy, the time consumption inadequacy and the congestion inadequacy; Summing the historical travel population of all the target travel chains in the target travel area pair to obtain a historical travel total population; and carrying out weighted summation on the link comprehensive inadequacy of each target travel chain and the corresponding historical travel population, and calculating according to the ratio of the weighted summation result to the historical travel population to obtain the travel inadequacy evaluation index of the target travel area in each operation time interval.
- 4. The method of claim 2, wherein the time consuming, improper method is generated comprising the steps of: Extracting first historical trip time from the first historical trip data, determining reference historical trip time according to the median of the first historical trip time, determining first reference time according to a first quantile of the first historical trip time, and determining second reference time according to a second quantile of the first historical trip time, wherein the first quantile is larger than the second quantile; Extracting second historical travel time consumption corresponding to each operation time interval from the third historical travel data aiming at each target travel chain in the target travel area pair, and determining target reference time consumption according to the median of the second historical travel time consumption; And generating time consumption discomfort corresponding to the target travel chain in each operation time interval based on the target reference time consumption, the reference historical travel time consumption, the first reference time consumption and the second reference time consumption aiming at each target travel chain in the target travel area pair.
- 5. The method according to claim 2, characterized in that the method of generating the transfer discomfort comprises the steps of: Determining reference transfer times according to the median of the transfer times of all the travel chains in the target area, determining first reference transfer times corresponding to a third quantile of the transfer times of all the travel chains, and determining second reference transfer times corresponding to a fourth quantile of the transfer times of all the travel chains, wherein the third quantile is larger than the fourth quantile; And aiming at each target travel chain in the target travel area pair, acquiring target transfer times of the target travel chain, and calculating transfer inadequacy of the target travel chain in each operation time interval based on the target transfer times, the reference transfer times, the first reference transfer times and the second reference transfer times.
- 6. The method of claim 5, wherein the method of generating the congestion discomfort comprises the steps of: Dividing the corresponding target travel chains according to the target transfer times aiming at each target travel area pair to obtain a plurality of corresponding target travel sub-chains; For each target travel sub-chain, extracting the in-vehicle residence time and the riding congestion coefficient of the object corresponding to each operation time window from the third historical travel data, wherein the operation time window comprises a preset number of continuous historical time intervals; and calculating congestion discomfort corresponding to the target travel chain in each operation time window according to the in-vehicle residence time of the object, the riding congestion coefficient and the preset reference in-vehicle residence time aiming at each target travel chain in the target travel area pair, wherein the reference in-vehicle residence time is determined based on a fifth quantile of all in-vehicle residence time of the third historical travel data.
- 7. The method of claim 1, wherein the trip discomfort rating index comprises a trip discomfort composite score, and wherein the recommending of trip services to the trip object based on the trip discomfort rating index comprises: Recommending a carpooling service to the corresponding travel objects when the travel inadequacy comprehensive score exceeds a preset scoring threshold and the number of the travel objects in the target travel area pair exceeds a first preset threshold in an operation time interval corresponding to the travel inadequacy comprehensive score; And acquiring the number of the carpool orders and the number of carpool objects of the carpool service in a preset day, and recommending the bus private line service to the corresponding travel object when the number of the carpool orders in each day exceeds a preset order number threshold value and the number of the carpool objects in each day exceeds a second preset threshold value.
- 8. A travel service recommendation device, the device comprising: The construction unit is used for carrying out region clustering based on site position information of traffic sites in a target region to obtain a plurality of candidate travel region pairs, and constructing a candidate travel chain according to a starting site set and an ending site set of each candidate travel region pair; The first extraction unit is used for obtaining first historical trip data of the target area in a preset historical period, extracting second historical trip data of a plurality of historical time intervals which are the same as the operation time interval from the first historical trip data aiming at each preset operation time interval, wherein the second historical trip data represent data that a trip object enters from a station in the initial station set and leaves from the station in the historical time interval belong to the corresponding end station set; the acquisition unit is used for determining the maximum transfer times of the candidate travel chains aiming at each candidate travel area pair, and acquiring target historical passenger flow in a preset number of continuous historical time intervals from the second historical travel data; The screening unit is used for screening out a plurality of candidate travel area pairs based on the maximum transfer times, the target historical passenger flow volume and preset screening conditions to obtain a target travel area pair; The second extraction unit is used for extracting third historical trip data from the second historical trip data, and the third historical trip data represents data of station inbound and outbound stations belonging to corresponding target end station sets in the target start station set of the target trip area pair in the historical time interval; and the recommending unit is used for generating a travel inappropriateness evaluation index of each operation time interval based on the first historical travel data and the third historical travel data aiming at each target travel area pair, and recommending travel service for the travel object according to the travel inappropriateness evaluation index.
- 9. An electronic device comprising a memory storing a computer program and a processor implementing the travel service recommendation method according to any one of claims 1 to 7 when the computer program is executed by the processor.
- 10. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the travel service recommendation method of any one of claims 1 to 7.
Description
Travel service recommendation method and device, electronic equipment and storage medium Technical Field The application relates to the technical field of intelligent transportation, in particular to a travel service recommendation method and device, electronic equipment and a storage medium. Background With the acceleration of the urban process, the urban space is continuously enlarged, the phenomenon of job-to-living separation is increasingly remarkable, and the daily commute becomes an important component of the daily life of urban residents. Public transportation serves as an artery of urban operation, and carries the function of large-scale passenger flow traveling, and the coverage of a service network and a transportation organization mode of the public transportation directly relate to traveling efficiency and comfort. The travel service in the related art relies on passenger flow statistics of fixed sites to conduct network planning and supply and demand matching, and the mode can meet large-scale travel demands, but real travel dilemma of passengers is difficult to comprehensively reflect, and the travel experience of the passengers is poor. Therefore, how to provide personalized traffic service for travel objects with the same travel requirements, thereby providing good travel experience, and becoming a problem to be solved urgently. Disclosure of Invention The embodiment of the application mainly aims to provide a travel service recommending method, a device, electronic equipment and a storage medium, and aims to provide personalized traffic service for travel objects with the same travel requirements, so that good travel experience is provided. In order to achieve the above object, a first aspect of an embodiment of the present application provides a travel service recommendation method, where the method includes: carrying out regional clustering based on site position information of traffic sites in a target region to obtain a plurality of candidate travel region pairs, and constructing a candidate travel chain according to a starting site set and an ending site set of each candidate travel region pair; Acquiring first historical travel data of the target area in a preset historical period, and extracting second historical travel data of a plurality of historical time intervals which are the same as the operation time interval from the first historical travel data for each preset operation time interval, wherein the second historical travel data represents data of a travel object belonging to the corresponding ending site set from the site inbound and outbound in the starting site set in the historical time interval; determining the maximum transfer times of the candidate travel chains aiming at each candidate travel area pair, and acquiring target historical passenger flow in a preset number of continuous historical time intervals from the second historical travel data; Screening a plurality of candidate travel area pairs based on the maximum transfer times, the target historical passenger flow volume and preset screening conditions to obtain target travel area pairs; Extracting third historical trip data from the second historical trip data, wherein the third historical trip data represents data of station inbound and outbound stations belonging to corresponding target end station sets from target start station sets of the target trip area pairs in the historical time interval; and generating a travel inappropriateness evaluation index of each operation time interval based on the first historical travel data and the third historical travel data aiming at each target travel area pair, and recommending travel service for the travel object according to the travel inappropriateness evaluation index. To achieve the above object, a second aspect of an embodiment of the present application provides a travel service recommendation device, including: The construction unit is used for carrying out region clustering based on site position information of traffic sites in a target region to obtain a plurality of candidate travel region pairs, and constructing a candidate travel chain according to a starting site set and an ending site set of each candidate travel region pair; The first extraction unit is used for obtaining first historical trip data of the target area in a preset historical period, extracting second historical trip data of a plurality of historical time intervals which are the same as the operation time interval from the first historical trip data aiming at each preset operation time interval, wherein the second historical trip data represent data that a trip object enters from a station in the initial station set and leaves from the station in the historical time interval belong to the corresponding end station set; the acquisition unit is used for determining the maximum transfer times of the candidate travel chains aiming at each candidate travel area pair, and acquiring target histo