CN118917513A - Vehicle route optimization method and system based on big data - Google Patents
Vehicle route optimization method and system based on big data Download PDFInfo
- Publication number
- CN118917513A CN118917513A CN202411414176.1A CN202411414176A CN118917513A CN 118917513 A CN118917513 A CN 118917513A CN 202411414176 A CN202411414176 A CN 202411414176A CN 118917513 A CN118917513 A CN 118917513A
- Authority
- CN
- China
- Prior art keywords
- route
- community
- decision
- data
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Educational Administration (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及车辆路线规划技术领域,具体是指基于大数据的车辆路线优化方法及系统。The present invention relates to the technical field of vehicle route planning, and in particular to a vehicle route optimization method and system based on big data.
背景技术Background Art
基于大数据的车辆路线优化方法及系统是利用大数据技术和人工智能算法来实现对车辆行驶路线的精准规划。但是传统车辆路线的综合评估方法存在的评估不全面、不细致和不精确的问题;传统构建路线决策社区方法存在的决策的灵活性和适应性不足的问题;传统路线决策方法存在参数选取不当导致的路线决策的质量和适应性低的问题。The vehicle route optimization method and system based on big data uses big data technology and artificial intelligence algorithms to achieve accurate planning of vehicle routes. However, the traditional vehicle route comprehensive evaluation method has the problems of incomplete, intricate and inaccurate evaluation; the traditional route decision community construction method has the problem of insufficient flexibility and adaptability of decision-making; the traditional route decision method has the problem of low quality and adaptability of route decisions due to improper parameter selection.
发明内容Summary of the invention
针对上述情况,为克服现有技术的缺陷,本发明提供了基于大数据的车辆路线优化方法及系统,针对传统车辆路线的综合评估方法存在的评估不全面、不细致和不精确的问题,本方案通过建立路线评估坐标系、设计方向因子、设计通行性检测因子、路线安全性评估和路线稳定性评估来对路线进行综合评估,更全面、细致地对路线进行评估,更精准地反映实际情况和各种复杂因素对路线的影响,制定出更合理、高效的路线,提高了评估的科学性和准确性;针对传统构建路线决策社区方法存在的决策的灵活性和适应性不足的问题,本方案通过构建详细的路线决策个体,设计带宽调整函数和社区密度函数,使得决策依据更全面和准确,提高决策的灵活性和适应性;采用社区中心初始化和进化策略,考虑了社区的稳定性和动态变化,能更合理地对路线进行分类和决策,使决策过程更具科学性和合理性;针对传统路线决策方法存在参数选取不当导致的路线决策的质量和适应性低的问题,本方案通过设计搜索权重、参数区域搜索方法和参数精细搜索方法,使搜索过程更具策略性和针对性,能更高效地找到最优参数;同时设计优化效果评估指标,更全面准确地衡量优化效果,更精确地实现决策优化,提升路线决策的质量和适应性。In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a vehicle route optimization method and system based on big data. In view of the problems of incomplete, indetailed and inaccurate evaluation in the traditional comprehensive evaluation method of vehicle routes, this solution conducts a comprehensive evaluation of the route by establishing a route evaluation coordinate system, designing direction factors, designing trafficability detection factors, route safety evaluation and route stability evaluation, so as to evaluate the route more comprehensively and meticulously, more accurately reflect the actual situation and the influence of various complex factors on the route, formulate a more reasonable and efficient route, and improve the scientificity and accuracy of the evaluation; in view of the problems of insufficient flexibility and adaptability of decision-making in the traditional method of building a route decision community, this solution constructs a detailed route decision community to optimize the route. The bandwidth adjustment function and community density function are designed to make the decision basis more comprehensive and accurate, and improve the flexibility and adaptability of decision-making; the community center initialization and evolution strategy are adopted, and the stability and dynamic changes of the community are considered, which can classify and make decisions on routes more reasonably, making the decision process more scientific and reasonable; in view of the problem of low quality and adaptability of route decisions caused by improper parameter selection in traditional route decision methods, this scheme makes the search process more strategic and targeted by designing search weights, parameter area search methods and parameter fine search methods, and can find the optimal parameters more efficiently; at the same time, the optimization effect evaluation index is designed to measure the optimization effect more comprehensively and accurately, realize decision optimization more accurately, and improve the quality and adaptability of route decisions.
本发明采取的技术方案如下:基于大数据的车辆路线优化方法及系统,该方法包括以下步骤:The technical solution adopted by the present invention is as follows: a vehicle route optimization method and system based on big data, the method comprising the following steps:
步骤S1:数据采集;Step S1: data collection;
步骤S2:数据预处理;Step S2: data preprocessing;
步骤S3:路线综合评估;Step S3: comprehensive route evaluation;
步骤S4:构建路线决策社区;Step S4: constructing a route decision community;
步骤S5:决策优化;Step S5: decision optimization;
步骤S6:车辆路线优化。Step S6: Vehicle route optimization.
进一步地,在步骤S1中,所述数据采集是采集历史的车辆位置数据、车辆状态数据、道路状况数据、天气数据和路线每公里平均耗时;所述位置数据包括经度和纬度;所述车辆状态数据包括车辆的速度、加速度和方向角;所述道路状况数据包括交通流量、交通信号灯数据和不可通行的交通路口数据;所述天气数据包括温度、降水量和风速。Furthermore, in step S1, the data collection is to collect historical vehicle position data, vehicle status data, road condition data, weather data and average time per kilometer of the route; the position data includes longitude and latitude; the vehicle status data includes vehicle speed, acceleration and direction angle; the road condition data includes traffic flow, traffic light data and impassable traffic intersection data; the weather data includes temperature, precipitation and wind speed.
进一步地,在步骤S2中,所述数据预处理对数据进行数据清洗,修正错误数据,去除重复数据,填充缺失数据;对数据进行标准化,将数据的格式和范围统一。Furthermore, in step S2, the data preprocessing cleans the data, corrects erroneous data, removes duplicate data, and fills in missing data; and standardizes the data to unify the format and range of the data.
进一步地,在步骤S3中,所述路线综合评估,具体包括以下步骤:Furthermore, in step S3, the route comprehensive evaluation specifically includes the following steps:
步骤S31:建立路线评估坐标系,以车辆位置为原点建立平面直角坐标系,将该坐标系设置为路线评估坐标系;Step S31: Establishing a route evaluation coordinate system, establishing a plane rectangular coordinate system with the vehicle position as the origin, and setting the coordinate system as the route evaluation coordinate system;
步骤S32:设计方向因子,表示如下:Step S32: Design the directional factor, which is expressed as follows:
; ;
其中,h和G分别表示车辆当前位置和目标位置,表示车辆当前位置与目标位置之间的方向因子,q1表示引导权重,表示车辆当前位置的纵坐标,表示目标位置的纵坐标,表示取绝对值,是当前位置与目标点在纵坐标上的距离,表示当前位置与目标位置之间的欧氏距离,表示车辆当前朝向与目标位置方向之间的夹角,表示余弦函数,表示路径曲率,表示车辆沿着路径从h到G行驶时朝向变化的总角度,表示控制参数,e表示自然常数;Among them, h and G represent the current position and target position of the vehicle respectively. represents the direction factor between the vehicle's current position and the target position, q1 represents the guidance weight, The ordinate of the vehicle's current position. The ordinate of the target position. Indicates taking the absolute value, is the distance between the current position and the target point on the ordinate, Represents the Euclidean distance between the current position and the target position, Indicates the angle between the vehicle’s current orientation and the target position. represents the cosine function, represents the path curvature, represents the total angle of change in the vehicle's orientation as it moves along the path from h to G, represents the control parameter, and e represents the natural constant;
步骤S33:设计通行性检测因子,表示如下:Step S33: Design a trafficability detection factor, which is expressed as follows:
; ;
其中,V表示交通决策位置的索引,表示车辆当前位置和去往目标位置的第V个交通决策位置之间的通行性检测因子,表示无延迟通行半径,表示车辆当前位置和去往目标位置的第V个交通决策位置之间的欧氏距离;Where V represents the index of the traffic decision location, represents the trafficability detection factor between the vehicle's current position and the Vth traffic decision position to the target position, Indicates the radius of travel without delay. represents the Euclidean distance between the vehicle's current position and the Vth traffic decision position to the target position;
步骤S34:路线安全性评估,衡量当前位置路线的安全程度,表示如下:Step S34: Route safety assessment, measuring the safety of the current location route, expressed as follows:
; ;
其中,表示车辆当前位置的线路安全性评估值,表示与车辆当前位置相连的所有交通决策位置中无法通行的位置数量,表示与车辆当前位置相连的所有交通决策位置数量;in, Indicates the line safety assessment value of the vehicle’s current location, Indicates the number of inaccessible locations among all traffic decision locations connected to the vehicle’s current location. Represents the number of all traffic decision positions connected to the current position of the vehicle;
步骤S35:路线稳定性评估,表示如下:Step S35: Route stability evaluation, expressed as follows:
; ;
其中,车辆当前位置的线路稳定性评估值,表示阶乘符号;in, The line stability evaluation value of the vehicle’s current position, Represents the factorial symbol;
步骤S36:综合评估,表示如下:Step S36: Comprehensive evaluation, expressed as follows:
; ;
其中,表示从车辆当前位置到去往目标位置的第V个交通决策位置之间的综合路线评估分数,和分别表示从车辆当前位置到去往目标位置的第V个交通决策位置之间的偏差参数和调整率,表示与车辆当前位置相连的所有交通决策位置的集合,表示属于符号,a表示交通决策位置集合的元素索引,和分别表示从车辆当前位置到去往目标位置的第a个交通决策位置之间的偏差参数和调整率,表示车辆当前位置与去往目标位置的第a个交通决策位置之间的通行性检测因子,表示车辆当前位置与去往目标位置的第V个交通决策位置之间的方向因子,表示车辆当前位置与去往目标位置的第a个交通决策位置之间的方向因子,和是重要性权重;统计出从当前位置到目标位置的所有路线,计算每一条路线上的所有交通决策位置与当前位置的综合路线评估分数,对分数进行求和,得到每一条路线的综合路线评估分数。in, represents the comprehensive route evaluation score from the vehicle's current location to the Vth traffic decision location to the target location, and They represent the deviation parameter and adjustment rate from the current position of the vehicle to the Vth traffic decision position to the target position, respectively. represents the set of all traffic decision locations connected to the vehicle’s current location, represents the symbol, a represents the element index of the traffic decision location set, and They represent the deviation parameter and adjustment rate from the current position of the vehicle to the ath traffic decision position to the target position, respectively. represents the trafficability detection factor between the current position of the vehicle and the ath traffic decision position to the target location, represents the direction factor between the vehicle's current position and the Vth traffic decision position to the target position, represents the direction factor between the vehicle's current position and the ath traffic decision position to the target position, and is the importance weight; all routes from the current location to the target location are counted, the comprehensive route evaluation score of all traffic decision locations on each route and the current location is calculated, the scores are summed up, and the comprehensive route evaluation score of each route is obtained.
进一步地,在步骤S4中,所述构建路线决策社区,具体包括以下步骤:Furthermore, in step S4, the construction of the route decision community specifically includes the following steps:
步骤S41:路线决策个体构建,对车辆数据进行路线综合评估,计算出综合路线评估分数最高的路线;构建路线决策个体,个体由如下特征数据构成:车辆的位置数据、车辆状态数据、道路状况数据、天气数据和综合路线评估分数最高的路线;Step S41: constructing a route decision individual, performing a comprehensive route evaluation on the vehicle data, and calculating the route with the highest comprehensive route evaluation score; constructing a route decision individual, the individual is composed of the following feature data: vehicle location data, vehicle status data, road condition data, weather data, and the route with the highest comprehensive route evaluation score;
步骤S42:设计带宽调整函数,表示如下:Step S42: Design a bandwidth adjustment function, which is expressed as follows:
; ;
其中,i表示路线决策个体的索引,表示路线决策社区的第i个体,m表示尺度参数,表示带宽调整函数,表示取中位数,表示距离路线决策社区的第i个体最近的个体,表示尺度变换因子;Where i represents the index of the route decision individual, represents the i-th individual in the route decision community, m represents the scale parameter, represents the bandwidth adjustment function, It means taking the median, represents the individual closest to the i-th individual in the route decision community, represents the scale transformation factor;
步骤S43:设计社区密度函数,计算出所有路线决策个体中距离最远的两个个体之间的欧氏距离,将这个距离设置为邻域宽度;将以路线决策个体为中心,在0.5倍的邻域宽度范围内的区域设置为路线决策个体的邻域,计算个体的社区密度值,表示如下:Step S43: Design a community density function, calculate the Euclidean distance between the two individuals with the longest distance among all route decision individuals, and set this distance as the neighborhood width; set the area within 0.5 times the neighborhood width centered on the route decision individual as the neighborhood of the route decision individual, and calculate the community density value of the individual, which is expressed as follows:
; ;
其中,表示路线决策社区的第i个体的社区密度值,j表示路线决策社区的第i个体的邻域个体索引,表示路线决策社区的第i个体的邻域中的第j个个体,E表示路线决策社区的第i个体与邻域中的第j个个体之间的欧氏距离;in, represents the community density value of the i-th individual in the route decision community, j represents the neighborhood individual index of the i-th individual in the route decision community, represents the jth individual in the neighborhood of the i-th individual in the route decision community, E represents the Euclidean distance between the i-th individual in the route decision community and the j-th individual in the neighborhood;
步骤S44:社区中心初始化,将0.25倍的邻域宽度设置为社区宽度,计算出所有路线决策个体的社区密度,选择社区密度最高的点作为第一个初始社区中心,计算出除去已选到的社区中心点以及它社区宽度范围内的个体以外的所有剩余个体的社区密度,再次选择社区密度最高的点作为初始社区中心,重复操作,直到剩余的个体数量少于已选择出的社区中心数量,计算出剩余个体的平均位置,选择距离平均位置最近的一个个体,设置为最后一个社区中心;Step S44: Initialize the community center, set 0.25 times the neighborhood width as the community width, calculate the community density of all route decision individuals, select the point with the highest community density as the first initial community center, calculate the community density of all remaining individuals except the selected community center point and the individuals within its community width, select the point with the highest community density as the initial community center again, repeat the operation until the number of remaining individuals is less than the number of selected community centers, calculate the average position of the remaining individuals, select the individual closest to the average position, and set it as the last community center;
步骤S45:社区成员分配,计算社区个体与所有社区中心之间的关联值,将社区个体分配到关联度最高的社区中心所属的社区中,表示如下:Step S45: community member allocation, calculating the association value between community individuals and all community centers, and allocating community individuals to the community to which the community center with the highest association degree belongs, as shown below:
; ;
其中,n表示社区中心的索引,表示第n个社区中心,表示第i个路线决策个体与第n个社区中心之间的社区关联值,和表示关联性权重,表示第i个路线决策个体与第n个社区中心之间的欧氏距离;Where n represents the index of the community center, represents the nth community center, represents the community association value between the i-th route decision individual and the n-th community center, and represents the relevance weight, represents the Euclidean distance between the i-th route decision individual and the n-th community center;
步骤S46:社区中心进化,引入根据社区的稳定性来动态调整的训练因子和控制社区中心的变化速度的稳定性因子,设计社区中心进化策略,表示如下:Step S46: Community center evolution, introduce a training factor that is dynamically adjusted according to the stability of the community and a stability factor that controls the change speed of the community center, and design a community center evolution strategy, which is expressed as follows:
; ;
其中,it表示社区中心进化次数,表示第it+1次社区中心进化时的第n个社区中心,表示第it次社区中心进化时的第n个社区中心,表示第it次社区中心进化时的第n个社区中心的训练因子,O表示第n个社区中路线决策个体的总数,表示第n个社区中所有路线决策个体与社区中心的平均偏移量,表示第it次社区中心进化时第n个社区的稳定性因子,表示第it-1次社区中心进化到第it次社区中心进化的过程中第n个社区中心的位置变化量;Among them, it represents the number of times the community center evolves, represents the nth community center during the it+1th community center evolution, represents the nth community center during the itth community center evolution, represents the training factor of the nth community center during the itth community center evolution, O represents the total number of route decision individuals in the nth community, represents the average offset between all route decision individuals in the nth community and the community center, represents the stability factor of the nth community during the itth community center evolution, It represents the position change of the nth community center from the it-1th community center evolution to the itth community center evolution;
步骤S47:路线决策社区形成,重复步骤S44至步骤S45,直到路线决策社区中心不再发生变化。Step S47: A route decision community is formed, and steps S44 to S45 are repeated until the center of the route decision community no longer changes.
进一步地,在步骤S5中,所述决策优化,具体包括以下步骤:Furthermore, in step S5, the decision optimization specifically includes the following steps:
步骤S51:优化准备,通过搜索决策过程中的参数来优化整个路线决策过程,参数包括引导权重、控制参数、重要性权重、尺度变换因子和关联性权重,创建路线决策参数的搜索空间,在搜索空间内随机生成初始的路线决策参数搜索点群;Step S51: Optimization preparation, optimizing the entire route decision process by searching for parameters in the decision process, the parameters include guidance weight, control parameter, importance weight, scale transformation factor and relevance weight, creating a search space for route decision parameters, and randomly generating an initial route decision parameter search point group in the search space;
步骤S52:优化效果评估准备,将社区中所有的路线决策个体的综合路线评估分数最高的路线对应的路线每公里平均耗时的倒数的平均值设置为路线决策优化效果评估指标;Step S52: preparing for optimization effect evaluation, setting the average of the reciprocals of the average time per kilometer corresponding to the route with the highest comprehensive route evaluation score of all route decision individuals in the community as the route decision optimization effect evaluation index;
步骤S53:设计搜索权重,表示如下:Step S53: Design search weights, expressed as follows:
; ;
; ;
其中,表示第一搜索权重,表示第二搜索权重,表示一个从2到0以0.5为步长进行循环线性递减的数,表示一个取值范围在0到1之间的随机数;in, represents the first search weight, represents the second search weight, It represents a number that decreases linearly from 2 to 0 in steps of 0.5. Represents a random number ranging from 0 to 1;
步骤S54:设计路线决策参数区域搜索方法,表示如下:Step S54: Designing a route decision parameter area search method, as shown below:
; ;
其中,t表示优化搜索次数,表示第t+1次优化搜索时的区域搜索参数位置,表示当前路线决策优化效果评估指标值最大的参数搜索点的位置,表示第t次优化搜索时的区域搜索参数位置,表示取两个位置之间的切比雪夫距离;Where t represents the number of optimization searches. Indicates the location of the regional search parameters during the t+1th optimization search. Indicates the location of the parameter search point with the maximum value of the evaluation index of the current route decision optimization effect. Indicates the location of the regional search parameters during the t-th optimization search. It means taking the Chebyshev distance between two positions;
步骤S55:设计路线决策参数精细搜索方法,公式如下:Step S55: Design a route decision parameter fine search method, the formula is as follows:
; ;
其中,表示第t+1次优化搜索时的精细搜索参数位置,、和分别表示第t+1次优化搜索时区域搜索的搜索点中,路线决策优化效果评估指标值从高到低排列的第2、3、4个参数位置;in, Indicates the position of the refined search parameters during the t+1th optimization search. , and They respectively represent the 2nd, 3rd, and 4th parameter positions of the route decision optimization effect evaluation index values arranged from high to low in the search points of the regional search during the t+1th optimization search;
步骤S56:决策优化搜索,设定优化效果阈值,设定最大的优化搜索次数,计算出初始的搜索点群的路线决策优化效果评估指标值,找到当前路线决策优化效果评估指标值最大的参数搜索点的位置,先进行区域搜索,再进行精细搜索,计算搜索到的参数点的路线决策优化效果评估指标值,搜索次数加一,如果存在路线决策优化效果评估指标值大于优化效果阈值的参数点,将当前路线决策优化效果评估指标值最大搜索点的参数设置为路线决策的参数;如果到达最大优化搜索次数,重新进行优化搜索;否则继续搜索。Step S56: Decision optimization search, setting the optimization effect threshold, setting the maximum number of optimization searches, calculating the route decision optimization effect evaluation index value of the initial search point group, finding the position of the parameter search point with the largest value of the current route decision optimization effect evaluation index, first performing a regional search, then performing a fine search, calculating the route decision optimization effect evaluation index value of the searched parameter point, adding one to the number of searches, if there is a parameter point with a route decision optimization effect evaluation index value greater than the optimization effect threshold, setting the parameters of the search point with the largest value of the current route decision optimization effect evaluation index as the parameters of the route decision; if the maximum number of optimization searches is reached, re-perform the optimization search; otherwise, continue searching.
进一步地,在步骤S6中,所述车辆路线优化是通过实时采集车辆的信息,进行路线综合评估,将评估出来的新数据添加到构建好的原始路线决策社区数据中,重新构建路线决策社区,找到新数据所属的路线决策社区,选择社区中心点的路线作为车辆的最优路线。Furthermore, in step S6, the vehicle route optimization is performed by collecting vehicle information in real time, performing a comprehensive route evaluation, adding the evaluated new data to the constructed original route decision community data, reconstructing the route decision community, finding the route decision community to which the new data belongs, and selecting the route of the community center point as the optimal route for the vehicle.
本发明提供的基于大数据的车辆路线优化系统,包括数据采集模块、数据预处理模块、路线综合评估模块、构建路线决策社区模块、决策优化模块和车辆路线优化模块;The vehicle route optimization system based on big data provided by the present invention includes a data acquisition module, a data preprocessing module, a route comprehensive evaluation module, a route decision community building module, a decision optimization module and a vehicle route optimization module;
所述数据采集模块采集历史的车辆位置数据、车辆状态数据、道路状况数据、天气数据和路线每公里平均耗时,并将数据发送至数据预处理模块;The data acquisition module collects historical vehicle location data, vehicle status data, road condition data, weather data and average time per kilometer of the route, and sends the data to the data preprocessing module;
所述数据预处理模块接收数据采集模块发送的数据,对接收到的数据进行数据预处理,并将预处理后的数据发送至路线综合评估模块;The data preprocessing module receives the data sent by the data acquisition module, performs data preprocessing on the received data, and sends the preprocessed data to the route comprehensive evaluation module;
所述路线综合评估模块接收数据预处理模块发送的数据,对路线进行综合评估,并将数据发送至构建路线决策社区模块;The route comprehensive evaluation module receives the data sent by the data preprocessing module, performs a comprehensive evaluation on the route, and sends the data to the route decision community construction module;
所述构建路线决策社区模块接收路线综合评估模块发送的数据,构建路线决策社区,并将数据发送至决策优化模块;The route decision community building module receives data sent by the route comprehensive evaluation module, builds a route decision community, and sends the data to the decision optimization module;
所述决策优化模块接收构建路线决策社区模块发送的数据,优化路线决策过程的参数,并将数据发送至车辆路线优化模块;The decision optimization module receives data sent by the route decision building community module, optimizes parameters of the route decision process, and sends the data to the vehicle route optimization module;
所述车辆路线优化模块接收决策优化模块的数据,实时采集车辆的信息,进行路线综合评估,将评估出来的新数据添加到构建好的原始路线决策社区数据中,重新构建路线决策社区,找到新数据所属的路线决策社区,选择社区中心点的路线作为车辆的最优路线。The vehicle route optimization module receives data from the decision optimization module, collects vehicle information in real time, performs a comprehensive route evaluation, adds the evaluated new data to the constructed original route decision community data, reconstructs the route decision community, finds the route decision community to which the new data belongs, and selects the route of the community center point as the optimal route for the vehicle.
采用上述方案本发明取得的有益效果如下:The beneficial effects achieved by the present invention using the above scheme are as follows:
(1)针对传统车辆路线的综合评估方法存在的评估不全面、不细致和不精确的问题,本方案通过建立路线评估坐标系、设计方向因子、设计通行性检测因子、路线安全性评估和路线稳定性评估来对路线进行综合评估,更全面、细致地对路线进行评估,更精准地反映实际情况和各种复杂因素对路线的影响,制定出更合理、高效的路线,提高了评估的科学性和准确性。(1) In view of the problems of incomplete, intricate and inaccurate evaluation in traditional vehicle route comprehensive evaluation methods, this scheme conducts a comprehensive evaluation of routes by establishing a route evaluation coordinate system, designing direction factors, designing trafficability detection factors, route safety evaluation and route stability evaluation. This scheme evaluates routes more comprehensively and meticulously, more accurately reflects the actual situation and the impact of various complex factors on routes, and formulates more reasonable and efficient routes, thus improving the scientificity and accuracy of the evaluation.
(2)针对传统构建路线决策社区方法存在的决策的灵活性和适应性不足的问题,本方案通过构建详细的路线决策个体,设计带宽调整函数和社区密度函数,使得决策依据更全面和准确,提高决策的灵活性和适应性;采用社区中心初始化和进化策略,考虑了社区的稳定性和动态变化,能更合理地对路线进行分类和决策,使决策过程更具科学性和合理性。(2) In order to address the problem of insufficient flexibility and adaptability of decision-making in the traditional method of building route decision communities, this scheme constructs detailed route decision individuals and designs bandwidth adjustment functions and community density functions to make the decision basis more comprehensive and accurate, thereby improving the flexibility and adaptability of decision-making. It also adopts community center initialization and evolution strategies, taking into account the stability and dynamic changes of the community, and can more reasonably classify and decide on routes, making the decision process more scientific and reasonable.
(3)针对传统路线决策方法存在参数选取不当导致的路线决策的质量和适应性低的问题,本方案通过设计搜索权重、参数区域搜索方法和参数精细搜索方法,使搜索过程更具策略性和针对性,能更高效地找到最优参数;同时设计优化效果评估指标,更全面准确地衡量优化效果,更精确地实现决策优化,提升路线决策的质量和适应性。(3) In order to address the problem of low quality and adaptability of route decisions caused by improper parameter selection in traditional route decision methods, this solution designs search weights, parameter area search methods, and parameter fine search methods to make the search process more strategic and targeted, and to find the optimal parameters more efficiently. At the same time, it designs optimization effect evaluation indicators to measure the optimization effect more comprehensively and accurately, achieve decision optimization more accurately, and improve the quality and adaptability of route decisions.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明提供的基于大数据的车辆路线优化方法的流程示意图;FIG1 is a schematic diagram of a process flow of a vehicle route optimization method based on big data provided by the present invention;
图2为本发明提供的基于大数据的车辆路线优化系统的示意图;FIG2 is a schematic diagram of a vehicle route optimization system based on big data provided by the present invention;
图3为步骤S3的流程示意图;FIG3 is a schematic diagram of the process of step S3;
图4为步骤S4的流程示意图;FIG4 is a schematic diagram of the process of step S4;
图5为步骤S5的流程示意图。FIG5 is a schematic flow chart of step S5.
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例;基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all 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.
在本发明的描述中,需要理解的是,术语“上”、“下”、“前”、“后”、“左”、“右”、“顶”、“底”、“内”、“外”等指示方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.
实施例一,参阅图1,本发明提供的基于大数据的车辆路线优化方法,该方法包括以下步骤:Embodiment 1, referring to FIG1 , the vehicle route optimization method based on big data provided by the present invention comprises the following steps:
步骤S1:数据采集,采集历史的车辆位置数据、车辆状态数据、道路状况数据、天气数据和路线每公里平均耗时;Step S1: Data collection, collecting historical vehicle location data, vehicle status data, road condition data, weather data and average time per kilometer of the route;
步骤S2:数据预处理,对数据进行数据清洗和数据标准化;Step S2: data preprocessing, data cleaning and data standardization;
步骤S3:路线综合评估,通过建立路线评估坐标系、设计方向因子、设计通行性检测因子、路线安全性评估和路线稳定性评估来对路线进行综合评估;Step S3: Comprehensive evaluation of the route, by establishing a route evaluation coordinate system, designing a direction factor, designing a trafficability detection factor, a route safety evaluation, and a route stability evaluation to comprehensively evaluate the route;
步骤S4:构建路线决策社区,通过路线决策个体构建、设计带宽调整函数、设计社区密度函数、社区中心初始化、社区成员分配和社区中心进化来构建路线决策社区;Step S4: constructing a route decision community, by constructing route decision individuals, designing bandwidth adjustment functions, designing community density functions, initializing community centers, allocating community members, and evolving community centers;
步骤S5:决策优化,通过优化准备、优化效果评估准备、设计搜索权重、设计路线决策参数区域搜索方法和设计路线决策参数精细搜索方法来优化决策过程的参数;Step S5: decision optimization, optimizing the parameters of the decision process by optimizing preparation, optimizing effect evaluation preparation, designing search weights, designing route decision parameter area search methods, and designing route decision parameter fine search methods;
步骤S6:车辆路线优化,通过实时采集车辆的信息,进行路线综合评估,重新构建路线决策社区,找到新数据所属的路线决策社区,选择社区中心点的路线作为车辆的最优路线。Step S6: Vehicle route optimization, by collecting vehicle information in real time, conducting a comprehensive route evaluation, reconstructing the route decision community, finding the route decision community to which the new data belongs, and selecting the route at the center of the community as the optimal route for the vehicle.
实施例二,参阅图1,该实施例基于上述实施例,在步骤S1中,所述数据采集是采集历史的车辆位置数据、车辆状态数据、道路状况数据和路线每公里平均耗时;所述位置数据包括经度和纬度;所述车辆状态数据包括车辆的速度、加速度和方向角;所述道路状况数据包括交通流量、交通信号灯数据和不可通行的交通路口数据;所述天气数据包括温度、降水量和风速。Embodiment 2, referring to FIG. 1 , this embodiment is based on the above embodiment. In step S1 , the data collection is to collect historical vehicle position data, vehicle status data, road condition data and average time per kilometer of the route; the position data includes longitude and latitude; the vehicle status data includes vehicle speed, acceleration and direction angle; the road condition data includes traffic flow, traffic light data and impassable traffic intersection data; the weather data includes temperature, precipitation and wind speed.
实施例三,参阅图1,该实施例基于上述实施例,在步骤S2中,所述数据预处理对数据进行数据清洗,修正错误数据,去除重复数据,填充缺失数据;对数据进行标准化,将数据的格式和范围统一。Embodiment 3, referring to FIG1 , this embodiment is based on the above embodiment. In step S2 , the data preprocessing cleans the data, corrects erroneous data, removes duplicate data, and fills in missing data; the data is standardized to unify the format and range of the data.
实施例四,参阅图1和图3,该实施例基于上述实施例,在步骤S3中,所述路线综合评估,具体包括以下步骤:Embodiment 4, referring to FIG. 1 and FIG. 3 , this embodiment is based on the above embodiment. In step S3, the route comprehensive evaluation specifically includes the following steps:
步骤S31:建立路线评估坐标系,以车辆位置为原点建立平面直角坐标系,将该坐标系设置为路线评估坐标系;Step S31: Establishing a route evaluation coordinate system, establishing a plane rectangular coordinate system with the vehicle position as the origin, and setting the coordinate system as the route evaluation coordinate system;
步骤S32:设计方向因子,表示如下:Step S32: Design the directional factor, which is expressed as follows:
; ;
其中,h和G分别表示车辆当前位置和目标位置,表示车辆当前位置与目标位置之间的方向因子,q1表示引导权重,表示车辆当前位置的纵坐标,表示目标位置的纵坐标,表示取绝对值,是当前位置与目标点在纵坐标上的距离,表示当前位置与目标位置之间的欧氏距离,表示车辆当前朝向与目标位置方向之间的夹角,表示余弦函数,表示路径曲率,表示车辆沿着路径从h到G行驶时朝向变化的总角度,表示控制参数,e表示自然常数;Among them, h and G represent the current position and target position of the vehicle respectively. represents the direction factor between the vehicle's current position and the target position, q1 represents the guidance weight, The ordinate of the vehicle's current position. The ordinate of the target position. Indicates taking the absolute value, is the distance between the current position and the target point on the ordinate, Represents the Euclidean distance between the current position and the target position, Indicates the angle between the vehicle’s current orientation and the target position. represents the cosine function, represents the path curvature, represents the total angle of change in the vehicle's orientation as it moves along the path from h to G, represents the control parameter, and e represents the natural constant;
步骤S33:设计通行性检测因子,表示如下:Step S33: Design a trafficability detection factor, which is expressed as follows:
; ;
其中,V表示交通决策位置的索引,表示车辆当前位置和去往目标位置的第V个交通决策位置之间的通行性检测因子,表示无延迟通行半径,表示车辆当前位置和去往目标位置的第V个交通决策位置之间的欧氏距离;Where V represents the index of the traffic decision location, represents the trafficability detection factor between the vehicle's current position and the Vth traffic decision position to the target position, Indicates the radius of travel without delay. represents the Euclidean distance between the vehicle's current position and the Vth traffic decision position to the target position;
步骤S34:路线安全性评估,衡量当前位置路线的安全程度,表示如下:Step S34: Route safety assessment, measuring the safety of the current location route, expressed as follows:
; ;
其中,表示车辆当前位置的线路安全性评估值,表示与车辆当前位置相连的所有交通决策位置中无法通行的位置数量,表示与车辆当前位置相连的所有交通决策位置数量;in, Indicates the line safety assessment value of the vehicle’s current location, Indicates the number of inaccessible locations among all traffic decision locations connected to the vehicle’s current location. Represents the number of all traffic decision positions connected to the current position of the vehicle;
步骤S35:路线稳定性评估,表示如下:Step S35: Route stability evaluation, expressed as follows:
; ;
其中,车辆当前位置的线路稳定性评估值,表示阶乘符号;in, The line stability evaluation value of the vehicle’s current position, Represents the factorial symbol;
步骤S36:综合评估,表示如下:Step S36: Comprehensive evaluation, expressed as follows:
; ;
其中,表示从车辆当前位置到去往目标位置的第V个交通决策位置之间的综合路线评估分数,和分别表示从车辆当前位置到去往目标位置的第V个交通决策位置之间的偏差参数和调整率,表示与车辆当前位置相连的所有交通决策位置的集合,表示属于符号,a表示交通决策位置集合的元素索引,和分别表示从车辆当前位置到去往目标位置的第a个交通决策位置之间的偏差参数和调整率,表示车辆当前位置与去往目标位置的第a个交通决策位置之间的通行性检测因子,表示车辆当前位置与去往目标位置的第V个交通决策位置之间的方向因子,表示车辆当前位置与去往目标位置的第a个交通决策位置之间的方向因子,和是重要性权重;统计出从当前位置到目标位置的所有路线,计算每一条路线上的所有交通决策位置与当前位置的综合路线评估分数,对分数进行求和,得到每一条路线的综合路线评估分数。in, represents the comprehensive route evaluation score from the vehicle's current location to the Vth traffic decision location to the target location, and They represent the deviation parameter and adjustment rate from the current position of the vehicle to the Vth traffic decision position to the target position, respectively. represents the set of all traffic decision locations connected to the vehicle’s current location, represents the symbol, a represents the element index of the traffic decision location set, and They represent the deviation parameter and adjustment rate from the current position of the vehicle to the ath traffic decision position to the target position, respectively. represents the trafficability detection factor between the current position of the vehicle and the ath traffic decision position to the target location, represents the direction factor between the vehicle's current position and the Vth traffic decision position to the target position, represents the direction factor between the vehicle's current position and the ath traffic decision position to the target position, and is the importance weight; all routes from the current location to the target location are counted, the comprehensive route evaluation score of all traffic decision locations on each route and the current location is calculated, the scores are summed up, and the comprehensive route evaluation score of each route is obtained.
通过执行上述操作,针对传统车辆路线的综合评估方法存在的评估不全面、不细致和不精确的问题,本方案通过建立路线评估坐标系、设计方向因子、设计通行性检测因子、路线安全性评估和路线稳定性评估来对路线进行综合评估,更全面、细致地对路线进行评估,更精准地反映实际情况和各种复杂因素对路线的影响,制定出更合理、高效的路线,提高了评估的科学性和准确性。By executing the above operations, in order to address the problems of incomplete, intricate and inaccurate evaluation in the traditional comprehensive evaluation method of vehicle routes, this solution conducts a comprehensive evaluation of the route by establishing a route evaluation coordinate system, designing direction factors, designing trafficability detection factors, route safety evaluation and route stability evaluation. It evaluates the route more comprehensively and meticulously, more accurately reflects the actual situation and the impact of various complex factors on the route, formulates a more reasonable and efficient route, and improves the scientificity and accuracy of the evaluation.
实施例五,参阅图1和图4,该实施例基于上述实施例,在步骤S4中,所述构建路线决策社区,具体包括以下步骤:Embodiment 5, referring to FIG. 1 and FIG. 4 , this embodiment is based on the above embodiment. In step S4, the construction of the route decision community specifically includes the following steps:
步骤S41:路线决策个体构建,对车辆数据进行路线综合评估,计算出综合路线评估分数最高的路线;构建路线决策个体,个体由如下特征数据构成:车辆的位置数据、车辆状态数据、道路状况数据、天气数据和综合路线评估分数最高的路线;Step S41: constructing a route decision individual, performing a comprehensive route evaluation on the vehicle data, and calculating the route with the highest comprehensive route evaluation score; constructing a route decision individual, the individual is composed of the following feature data: vehicle location data, vehicle status data, road condition data, weather data, and the route with the highest comprehensive route evaluation score;
步骤S42:设计带宽调整函数,表示如下:Step S42: Design a bandwidth adjustment function, which is expressed as follows:
; ;
其中,i表示路线决策个体的索引,表示路线决策社区的第i个体,m表示尺度参数,表示带宽调整函数,表示取中位数,表示距离路线决策社区的第i个体最近的个体,表示尺度变换因子;Where i represents the index of the route decision individual, represents the i-th individual in the route decision community, m represents the scale parameter, represents the bandwidth adjustment function, It means taking the median, represents the individual closest to the i-th individual in the route decision community, represents the scale transformation factor;
步骤S43:设计社区密度函数,计算出所有路线决策个体中距离最远的两个个体之间的欧氏距离,将这个距离设置为邻域宽度;将以路线决策个体为中心,在0.5倍的邻域宽度范围内的区域设置为路线决策个体的邻域,计算个体的社区密度值,表示如下:Step S43: Design a community density function, calculate the Euclidean distance between the two individuals with the longest distance among all route decision individuals, and set this distance as the neighborhood width; set the area within 0.5 times the neighborhood width centered on the route decision individual as the neighborhood of the route decision individual, and calculate the community density value of the individual, which is expressed as follows:
; ;
其中,表示路线决策社区的第i个体的社区密度值,j表示路线决策社区的第i个体的邻域个体索引,表示路线决策社区的第i个体的邻域中的第j个个体,表示路线决策社区的第i个体与邻域中的第j个个体之间的欧氏距离;in, represents the community density value of the i-th individual in the route decision community, j represents the neighborhood individual index of the i-th individual in the route decision community, represents the jth individual in the neighborhood of the i-th individual in the route decision community, represents the Euclidean distance between the i-th individual in the route decision community and the j-th individual in the neighborhood;
步骤S44:社区中心初始化,将0.25倍的邻域宽度设置为社区宽度,计算出所有路线决策个体的社区密度,选择社区密度最高的点作为第一个初始社区中心,计算出除去已选到的社区中心点以及它社区宽度范围内的个体以外的所有剩余个体的社区密度,再次选择社区密度最高的点作为初始社区中心,重复操作,直到剩余的个体数量少于已选择出的社区中心数量,计算出剩余个体的平均位置,选择距离平均位置最近的一个个体,设置为最后一个社区中心;Step S44: Initialize the community center, set 0.25 times the neighborhood width as the community width, calculate the community density of all route decision individuals, select the point with the highest community density as the first initial community center, calculate the community density of all remaining individuals except the selected community center point and the individuals within its community width, select the point with the highest community density as the initial community center again, repeat the operation until the number of remaining individuals is less than the number of selected community centers, calculate the average position of the remaining individuals, select the individual closest to the average position, and set it as the last community center;
步骤S45:社区成员分配,计算社区个体与所有社区中心之间的关联值,将社区个体分配到关联度最高的社区中心所属的社区中,表示如下:Step S45: community member allocation, calculating the association value between community individuals and all community centers, and allocating community individuals to the community to which the community center with the highest association degree belongs, as shown below:
; ;
其中,n表示社区中心的索引,表示第n个社区中心,表示第i个路线决策个体与第n个社区中心之间的社区关联值,和表示关联性权重,表示第i个路线决策个体与第n个社区中心之间的欧氏距离;Where n represents the index of the community center, represents the nth community center, represents the community association value between the i-th route decision individual and the n-th community center, and represents the relevance weight, represents the Euclidean distance between the i-th route decision individual and the n-th community center;
步骤S46:社区中心进化,引入根据社区的稳定性来动态调整的训练因子和控制社区中心的变化速度的稳定性因子,设计社区中心进化策略,表示如下:Step S46: Community center evolution, introduce a training factor that is dynamically adjusted according to the stability of the community and a stability factor that controls the change speed of the community center, and design a community center evolution strategy, which is expressed as follows:
; ;
其中,it表示社区中心进化次数,表示第it+1次社区中心进化时的第n个社区中心,表示第it次社区中心进化时的第n个社区中心,表示第it次社区中心进化时的第n个社区中心的训练因子,O表示第n个社区中路线决策个体的总数,表示第n个社区中所有路线决策个体与社区中心的平均偏移量,表示第it次社区中心进化时第n个社区的稳定性因子,表示第it-1次社区中心进化到第it次社区中心进化的过程中第n个社区中心的位置变化量;Among them, it represents the number of times the community center evolves, represents the nth community center during the it+1th community center evolution, represents the nth community center during the itth community center evolution, represents the training factor of the nth community center during the itth community center evolution, O represents the total number of route decision individuals in the nth community, represents the average offset between all route decision individuals in the nth community and the community center, represents the stability factor of the nth community during the itth community center evolution, It represents the position change of the nth community center from the it-1th community center evolution to the itth community center evolution;
步骤S47:路线决策社区形成,重复步骤S44至步骤S45,直到路线决策社区中心不再发生变化。Step S47: A route decision community is formed, and steps S44 to S45 are repeated until the center of the route decision community no longer changes.
通过执行上述操作,针对传统构建路线决策社区方法存在的决策的灵活性和适应性不足的问题,本方案通过构建详细的路线决策个体,设计带宽调整函数和社区密度函数,使得决策依据更全面和准确,提高决策的灵活性和适应性;采用社区中心初始化和进化策略,考虑了社区的稳定性和动态变化,能更合理地对路线进行分类和决策,使决策过程更具科学性和合理性。By performing the above operations, in order to address the problem of insufficient flexibility and adaptability of decision-making in the traditional method of building route decision communities, this solution constructs detailed route decision individuals, designs bandwidth adjustment functions and community density functions, makes the decision basis more comprehensive and accurate, and improves the flexibility and adaptability of decision-making; adopts community center initialization and evolution strategy, takes into account the stability and dynamic changes of the community, can classify and decide on routes more reasonably, and make the decision process more scientific and reasonable.
实施例六,参阅图1和图5,该实施例基于上述实施例,在步骤S5中,所述决策优化,具体包括以下步骤:Embodiment 6, referring to FIG. 1 and FIG. 5 , this embodiment is based on the above embodiment. In step S5, the decision optimization specifically includes the following steps:
步骤S51:优化准备,通过搜索决策过程中的参数来优化整个路线决策过程,参数包括引导权重、控制参数、重要性权重、尺度变换因子和关联性权重,创建路线决策参数的搜索空间,在搜索空间内随机生成初始的路线决策参数搜索点群;Step S51: Optimization preparation, optimizing the entire route decision process by searching for parameters in the decision process, the parameters include guidance weight, control parameter, importance weight, scale transformation factor and relevance weight, creating a search space for route decision parameters, and randomly generating an initial route decision parameter search point group in the search space;
步骤S52:优化效果评估准备,将社区中所有的路线决策个体的综合路线评估分数最高的路线对应的路线每公里平均耗时的倒数的平均值设置为路线决策优化效果评估指标;Step S52: preparing for optimization effect evaluation, setting the average of the reciprocals of the average time per kilometer corresponding to the route with the highest comprehensive route evaluation score of all route decision individuals in the community as the route decision optimization effect evaluation index;
步骤S53:设计搜索权重,表示如下:Step S53: Design search weights, expressed as follows:
; ;
; ;
其中,表示第一搜索权重,表示第二搜索权重,表示一个从2到0以0.5为步长进行循环线性递减的数,表示一个取值范围在0到1之间的随机数;in, represents the first search weight, represents the second search weight, It represents a number that decreases linearly from 2 to 0 in steps of 0.5. Represents a random number ranging from 0 to 1;
步骤S54:设计路线决策参数区域搜索方法,表示如下:Step S54: Design a route decision parameter area search method, as shown below:
; ;
其中,t表示优化搜索次数,表示第t+1次优化搜索时的区域搜索参数位置,表示当前路线决策优化效果评估指标值最大的参数搜索点的位置,表示第t次优化搜索时的区域搜索参数位置,表示取两个位置之间的切比雪夫距离;Where t represents the number of optimization searches. Indicates the location of the regional search parameters during the t+1th optimization search. Indicates the location of the parameter search point with the maximum value of the evaluation index of the current route decision optimization effect. Indicates the location of the regional search parameters during the t-th optimization search. It means taking the Chebyshev distance between two positions;
步骤S55:设计路线决策参数精细搜索方法,公式如下:Step S55: Design a route decision parameter fine search method, the formula is as follows:
; ;
其中,表示第t+1次优化搜索时的精细搜索参数位置,、和分别表示第t+1次优化搜索时区域搜索的搜索点中,路线决策优化效果评估指标值从高到低排列的第2、3、4个参数位置;in, Indicates the position of the refined search parameters during the t+1th optimization search. , and They respectively represent the 2nd, 3rd, and 4th parameter positions of the route decision optimization effect evaluation index values arranged from high to low in the search points of the regional search during the t+1th optimization search;
步骤S56:决策优化搜索,设定优化效果阈值,设定最大的优化搜索次数,计算出初始的搜索点群的路线决策优化效果评估指标值,找到当前路线决策优化效果评估指标值最大的参数搜索点的位置,先进行区域搜索,再进行精细搜索,计算搜索到的参数点的路线决策优化效果评估指标值,搜索次数加一,如果存在路线决策优化效果评估指标值大于优化效果阈值的参数点,将当前路线决策优化效果评估指标值最大搜索点的参数设置为路线决策的参数;如果到达最大优化搜索次数,重新进行优化搜索;否则继续搜索。Step S56: Decision optimization search, setting the optimization effect threshold, setting the maximum number of optimization searches, calculating the route decision optimization effect evaluation index value of the initial search point group, finding the position of the parameter search point with the largest value of the current route decision optimization effect evaluation index, first performing a regional search, then performing a fine search, calculating the route decision optimization effect evaluation index value of the searched parameter point, adding one to the number of searches, if there is a parameter point with a route decision optimization effect evaluation index value greater than the optimization effect threshold, setting the parameters of the search point with the largest value of the current route decision optimization effect evaluation index as the parameters of the route decision; if the maximum number of optimization searches is reached, re-perform the optimization search; otherwise, continue searching.
通过执行上述操作,针对传统路线决策方法存在参数选取不当导致的路线决策的质量和适应性低的问题,本方案通过设计搜索权重、参数区域搜索方法和参数精细搜索方法,使搜索过程更具策略性和针对性,能更高效地找到最优参数;同时设计优化效果评估指标,更全面准确地衡量优化效果,更精确地实现决策优化,提升路线决策的质量和适应性。By performing the above operations, in order to address the problem of low quality and adaptability of route decisions caused by improper parameter selection in traditional route decision methods, this solution designs search weights, parameter area search methods and parameter fine search methods to make the search process more strategic and targeted, and can find the optimal parameters more efficiently. At the same time, it designs optimization effect evaluation indicators to measure the optimization effect more comprehensively and accurately, realize decision optimization more accurately, and improve the quality and adaptability of route decisions.
实施例七,参阅图1,该实施例基于上述实施例,在步骤S6中,所述车辆路线优化是通过实时采集车辆的信息,进行路线综合评估,将评估出来的新数据添加到构建好的原始路线决策社区数据中,重新构建路线决策社区,找到新数据所属的路线决策社区,选择社区中心点的路线作为车辆的最优路线。Embodiment 7, referring to FIG1 , this embodiment is based on the above embodiment. In step S6, the vehicle route optimization is to collect vehicle information in real time, conduct a comprehensive route evaluation, add the evaluated new data to the constructed original route decision community data, reconstruct the route decision community, find the route decision community to which the new data belongs, and select the route of the community center point as the optimal route for the vehicle.
实施例八,参阅图2,该实施例基于上述实施例,本发明提供的基于大数据的车辆路线优化系统,包括数据采集模块、数据预处理模块、路线综合评估模块、构建路线决策社区模块、决策优化模块和车辆路线优化模块;Embodiment 8, referring to FIG2 , this embodiment is based on the above embodiment, and the vehicle route optimization system based on big data provided by the present invention includes a data acquisition module, a data preprocessing module, a route comprehensive evaluation module, a route decision community construction module, a decision optimization module and a vehicle route optimization module;
所述数据采集模块采集历史的车辆位置数据、车辆状态数据、道路状况数据和路线每公里平均耗时,并将数据发送至数据预处理模块;The data acquisition module collects historical vehicle position data, vehicle status data, road condition data and average time per kilometer of the route, and sends the data to the data preprocessing module;
所述数据预处理模块接收数据采集模块发送的数据,对接收到的数据进行数据预处理,并将预处理后的数据发送至路线综合评估模块;The data preprocessing module receives the data sent by the data acquisition module, performs data preprocessing on the received data, and sends the preprocessed data to the route comprehensive evaluation module;
所述路线综合评估模块接收数据预处理模块发送的数据,对路线进行综合评估,并将数据发送至构建路线决策社区模块;The route comprehensive evaluation module receives the data sent by the data preprocessing module, performs a comprehensive evaluation on the route, and sends the data to the route decision community construction module;
所述构建路线决策社区模块接收路线综合评估模块发送的数据,构建路线决策社区,并将数据发送至决策优化模块;The route decision community building module receives data sent by the route comprehensive evaluation module, builds a route decision community, and sends the data to the decision optimization module;
所述决策优化模块接收构建路线决策社区模块发送的数据,优化路线决策过程的参数,并将数据发送至车辆路线优化模块;The decision optimization module receives data sent by the route decision building community module, optimizes parameters of the route decision process, and sends the data to the vehicle route optimization module;
所述车辆路线优化模块接收决策优化模块的数据,实时采集车辆的信息,进行路线综合评估,将评估出来的新数据添加到构建好的原始路线决策社区数据中,重新构建路线决策社区,找到新数据所属的路线决策社区,选择社区中心点的路线作为车辆的最优路线。The vehicle route optimization module receives data from the decision optimization module, collects vehicle information in real time, performs a comprehensive route evaluation, adds the evaluated new data to the constructed original route decision community data, reconstructs the route decision community, finds the route decision community to which the new data belongs, and selects the route of the community center point as the optimal route for the vehicle.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型。While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.
以上对本发明及其实施方式进行了描述,这种描述没有限制性,附图中所示的也只是本发明的实施方式之一,实际的结构并不局限于此。总而言之如果本领域的普通技术人员受其启示,在不脱离本发明创造宗旨的情况下,不经创造性的设计出与该技术方案相似的结构方式及实施例,均应属于本发明的保护范围。The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411414176.1A CN118917513B (en) | 2024-10-11 | 2024-10-11 | Vehicle route optimization method and system based on big data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411414176.1A CN118917513B (en) | 2024-10-11 | 2024-10-11 | Vehicle route optimization method and system based on big data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118917513A true CN118917513A (en) | 2024-11-08 |
| CN118917513B CN118917513B (en) | 2025-01-21 |
Family
ID=93301822
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411414176.1A Active CN118917513B (en) | 2024-10-11 | 2024-10-11 | Vehicle route optimization method and system based on big data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118917513B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080140597A1 (en) * | 2006-07-04 | 2008-06-12 | University Of New Brunswick | System and method suitable for optimizing linehaul operations |
| CN110827540A (en) * | 2019-11-04 | 2020-02-21 | 黄传明 | Motor vehicle movement mode recognition method and system based on multi-mode data fusion |
| CN112949912A (en) * | 2021-02-08 | 2021-06-11 | 浙江非线数联科技股份有限公司 | Vehicle route prediction method based on graph database |
| CN114999162A (en) * | 2022-08-02 | 2022-09-02 | 北京交研智慧科技有限公司 | Road traffic flow obtaining method and device |
| CN117930196A (en) * | 2022-10-26 | 2024-04-26 | 福特全球技术公司 | System and method for calibrating and validating non-overlapping odometry sensors for autonomous vehicles |
-
2024
- 2024-10-11 CN CN202411414176.1A patent/CN118917513B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080140597A1 (en) * | 2006-07-04 | 2008-06-12 | University Of New Brunswick | System and method suitable for optimizing linehaul operations |
| CN110827540A (en) * | 2019-11-04 | 2020-02-21 | 黄传明 | Motor vehicle movement mode recognition method and system based on multi-mode data fusion |
| CN112949912A (en) * | 2021-02-08 | 2021-06-11 | 浙江非线数联科技股份有限公司 | Vehicle route prediction method based on graph database |
| CN114999162A (en) * | 2022-08-02 | 2022-09-02 | 北京交研智慧科技有限公司 | Road traffic flow obtaining method and device |
| CN117930196A (en) * | 2022-10-26 | 2024-04-26 | 福特全球技术公司 | System and method for calibrating and validating non-overlapping odometry sensors for autonomous vehicles |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118917513B (en) | 2025-01-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111985529B (en) | Ship AIS track hybrid clustering method and system | |
| CN116524712B (en) | Highway congestion prediction method, system and device integrating spatiotemporal correlation data | |
| CN109459045B (en) | Improved interactive voting matching method for low-frequency GPS track | |
| CN107341523A (en) | Express delivery list information identifying method and system based on deep learning | |
| CN108492557A (en) | Highway jam level judgment method based on multi-model fusion | |
| CN113950611A (en) | Method and data processing system for predicting road properties | |
| CN103826299B (en) | The indoor augmented reality implementation method perceived based on wireless signal | |
| CN108985455A (en) | A kind of computer application neural net prediction method and system | |
| CN119863008B (en) | A personalized self-driving travel route planning method and system | |
| CN118014297A (en) | An intelligent evaluation method and system for supply and demand responsiveness of outdoor fitness facilities | |
| CN118312789A (en) | Road network data matching method based on graph neural network | |
| CN118761124A (en) | A highway route planning method guided by necessary points | |
| CN115146742A (en) | Grouping and flagship selection method of offshore wind farm units suitable for farm group control | |
| CN116167661B (en) | A credibility assessment method for land use change simulation based on spatial dislocation | |
| CN118917513A (en) | Vehicle route optimization method and system based on big data | |
| CN116226684A (en) | A Fast Detection Method of ETC Abnormal Data Based on Improved DTW Algorithm | |
| CN118427728B (en) | A step counting algorithm based on decision tree | |
| CN117933748B (en) | Urban land use planning method and system based on machine learning | |
| CN117131382B (en) | Typhoon time-space-shape-quantity similarity forecasting method and device and electronic equipment | |
| CN119104067A (en) | UAV path optimization method and device | |
| CN118365212A (en) | Quantitative evaluation method of AQI contribution rate based on ML and DM | |
| CN118350406A (en) | Roadbed settlement prediction method and system for soft soil area | |
| CN117875528A (en) | Path selection method and device | |
| CN117952004A (en) | Automatic line selection system and method for power transmission lines based on AI and real-life data | |
| CN113805252A (en) | Gale forecast system for landfall tropical cyclone process based on ensemble forecast model |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |