技术领域technical field
本发明涉及智能交通大数据领域,尤其涉及一种最优加油站的推荐方法及装置。The invention relates to the field of intelligent transportation big data, in particular to a method and device for recommending an optimal gas station.
背景技术Background technique
随着经济的不断发展,人们生活水平的不断提高,机动车的数量也在成倍增长,随之而来的,在位于主要路段的加油站中,排队加油的现象成为了常态,然而位于相对次要路段的加油站中,则相对要空闲一些;为改变该现象,提出了最优加油站的推荐方法,现有的最优加油站的推荐方法通常是在司机发起加油站搜寻请求时,基于人工采集并统计的静态数据,为司机推荐最优的加油站。然而,该方式中,人工进行数据的处理需要耗用大量的时间,其时效性不佳,并且准确性也有待于考量。With the continuous development of the economy and the continuous improvement of people's living standards, the number of motor vehicles is also increasing exponentially. Subsequently, in the gas stations located on the main roads, the phenomenon of queuing for refueling has become the norm. The gas stations on the secondary road sections are relatively idle; in order to change this phenomenon, a recommendation method for the optimal gas station is proposed. The existing optimal gas station recommendation method is usually when the driver initiates a gas station search request. Based on static data collected and counted manually, the optimal gas station is recommended for drivers. However, in this method, manual data processing takes a lot of time, and its timeliness is not good, and its accuracy also needs to be considered.
发明内容Contents of the invention
根据本发明的实施方式,提供一种最优加油站的推荐方法及装置。According to the embodiments of the present invention, a method and device for recommending an optimal gas station are provided.
一方面,本发明提供一种最优加油站的推荐方法,包括:On the one hand, the present invention provides a method for recommending an optimal gas station, including:
步骤S1:实时采集各车辆的属性数据,根据预设时间段内的历史属性数据及各加油站信息,预测各加油站在不同时段的加油容量和繁忙程度;Step S1: Collect the attribute data of each vehicle in real time, and predict the refueling capacity and busyness of each gas station at different time periods according to the historical attribute data and the information of each gas station within a preset time period;
步骤S2:根据当前的各属性数据,确定各预加油车辆,并在各加油站中确定所述各预加油车辆的候选加油站;Step S2: Determine each pre-refueling vehicle according to current attribute data, and determine candidate refueling stations for each pre-refueling vehicle in each refueling station;
步骤S3:根据预测的所述候选加油站中各加油站在对应时段的加油容量和繁忙程度,在所述候选加油站中选择最优加油站,并推荐给对应的车辆。Step S3: According to the predicted refueling capacity and busyness of each of the candidate refueling stations in the corresponding time period, select the best refueling station among the candidate refueling stations, and recommend it to the corresponding vehicle.
可选地,所述属性数据,包括:时间维度上的一系列坐标点;Optionally, the attribute data includes: a series of coordinate points on the time dimension;
所述步骤S1中,所述根据预设时间段内的历史属性数据及各加油站信息,预测各加油站在不同时段的加油容量和繁忙程度,具体包括:In the step S1, predicting the refueling capacity and busyness of each gas station at different time periods according to the historical attribute data and the information of each gas station within a preset time period, specifically includes:
步骤A1:将预设时间段内的历史属性数据中含有的各坐标点与各加油站的坐标点进行比对,得到与各加油站的坐标点匹配的各第一坐标点;Step A1: compare each coordinate point contained in the historical attribute data within the preset time period with the coordinate points of each gas station, and obtain each first coordinate point that matches the coordinate point of each gas station;
步骤A2:将所述各第一坐标点处的停靠时长与预设时长进行比对,将停靠时长大于所述预设时长的各第一坐标点作为各第二坐标点;Step A2: comparing the docking duration at each of the first coordinate points with the preset duration, and using each first coordinate point whose docking duration is longer than the preset duration as each second coordinate point;
步骤A3:对所述各第二坐标点按照时间维度进行统计,得到不同时段各加油站对应的第二坐标点的数量,根据不同时段各加油站对应的第二坐标点的数量预测各加油站在所述不同时段的加油容量;Step A3: Count the second coordinate points according to the time dimension, obtain the number of second coordinate points corresponding to each gas station in different time periods, and predict each gas station according to the number of second coordinate points corresponding to each gas station in different time periods the refueling capacity at said different time periods;
步骤A4:根据移动平均法分别对所述不同时段各加油站对应的第二坐标点进行计算,预测各加油站在所述不同时段的繁忙程度。Step A4: Calculate the second coordinate points corresponding to each gas station in the different time periods according to the moving average method, and predict the busyness of each gas station in the different time periods.
可选地,所述属性数据,包括:车辆型号和邮箱存量;Optionally, the attribute data includes: vehicle model and mailbox inventory;
所述步骤S2,具体包括:The step S2 specifically includes:
步骤B1:将当前的各属性数据中含有的油箱存量与存量阈值进行比对,并将小于所述存量阈值的各油箱存量对应的车辆作为各预加油车辆;Step B1: Compare the fuel tank inventory contained in the current attribute data with the inventory threshold, and use the vehicle corresponding to each fuel tank inventory smaller than the inventory threshold as each pre-refueling vehicle;
步骤B2:根据所述各预加油车辆的当前的属性数据中含有的车辆型号,确定所述各预加油车辆的油耗;Step B2: According to the vehicle model contained in the current attribute data of each pre-refueling vehicle, determine the fuel consumption of each pre-refueling vehicle;
步骤B3:根据所述各预加油车辆的油耗,及所述各预加油车辆的当前的属性数据中含有的油箱存量,确定所述各预加油车辆的可行驶距离;Step B3: According to the fuel consumption of each pre-refueling vehicle and the fuel tank inventory contained in the current attribute data of each pre-refueling vehicle, determine the travelable distance of each pre-refueling vehicle;
步骤B4:根据各加油站的坐标点,确定位于所述各预加油车辆的可行驶距离内的各加油站并作为对应的预加油车辆的候选加油站。Step B4: According to the coordinate points of each refueling station, determine each refueling station located within the travelable distance of each pre-refueling vehicle as a candidate refueling station for the corresponding pre-refueling vehicle.
可选地,所述步骤S2中,所述在所述各加油站中确定所述各预加油车辆的候选加油站之前,还包括:Optionally, in the step S2, before determining the candidate refueling stations of the pre-refueled vehicles in the refueling stations, the method further includes:
步骤C:分别判断所述各预加油车辆是否使用导航,如果使用导航,则根据导航的目的地,在位于预加油车辆的行驶方向上的各加油站中确定对应预加油车辆的候选加油站;如果未使用导航,则在位于预加油车辆周围的各加油站中确定对应预加油车辆的候选加油站。Step C: respectively judge whether each pre-refueling vehicle uses navigation, and if navigation is used, then according to the destination of the navigation, determine the candidate refueling station corresponding to the pre-refueling vehicle among the refueling stations located in the driving direction of the pre-refueling vehicle; If navigation is not used, a candidate gas station corresponding to the pre-fuel vehicle is determined among gas stations located around the pre-fuel vehicle.
可选地,所述属性数据,包括:行驶速度;Optionally, the attribute data includes: driving speed;
所述步骤S3,具体包括:The step S3 specifically includes:
步骤D1:根据各预加油车辆的行驶速度和可行驶距离,预测各预加油车辆的可行驶时间;Step D1: Predict the travelable time of each pre-refueling vehicle according to the driving speed and travelable distance of each pre-refueling vehicle;
步骤D2:根据预测的各预加油车辆的可行驶时间,分别比对各预加油车辆的候选加油站中各加油站在对应时段的加油容量和繁忙程度,得到各预加油车辆的候选加油站中加油容量最小的加油站及繁忙程度最低的加油站;Step D2: According to the predicted driving time of each pre-refueling vehicle, compare the refueling capacity and busyness of each gas station in the candidate gas stations of each pre-refueling vehicle respectively, and obtain the candidate gas stations of each pre-refueling vehicle The gas station with the smallest refueling capacity and the least busy gas station;
步骤D3:分别判断各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是否为同一加油站,是则将该加油站最为最优加油站,推荐给对应的车辆;否则将加油容量最小的加油站作为最优加油站,并推荐对应的车辆。Step D3: Determine whether the gas station with the smallest refueling capacity and the gas station with the lowest busyness among the candidate gas stations of each pre-refueling vehicle are the same gas station, and if so, the gas station is the most optimal gas station and recommended to the corresponding vehicle ; Otherwise, the gas station with the smallest refueling capacity is taken as the optimal gas station, and the corresponding vehicle is recommended.
另一方面,本发明提供一种最优加油站的推荐装置,包括:In another aspect, the present invention provides a device for recommending an optimal gas station, including:
采集模块,用于实时采集各车辆的属性数据;The collection module is used to collect the attribute data of each vehicle in real time;
预测模块,用于根据所述采集模块采集的的预设时间段内的历史属性数据及各加油站信息预测各加油站在不同时段的加油容量和繁忙程度;A prediction module, used to predict the refueling capacity and busyness of each gas station at different time periods according to the historical attribute data collected by the collection module within a preset time period and the information of each gas station;
第一确定模块,用于根据当前的各属性数据,确定各预加油车辆;The first determining module is used to determine each pre-fueled vehicle according to the current attribute data;
第二确定模块,用于在所述各加油站中确定所述第一确定模块确定的各预加油车辆的候选加油站;The second determination module is used to determine the candidate gas stations for each pre-refueling vehicle determined by the first determination module in each of the gas stations;
选择模块,用于根据所述预测模块预测的所述候选加油站中各加油站在对应时段的加油容量和繁忙程度,在所述候选加油站中选择最优加油站;The selection module is used to select the optimal gas station among the candidate gas stations according to the refueling capacity and busyness of each gas station in the candidate gas stations predicted by the prediction module in the corresponding time period;
推荐模块,用于将所述选择模块选择的最优加油站推荐给对应的车辆。The recommendation module is used to recommend the optimal gas station selected by the selection module to the corresponding vehicle.
可选地,所述属性数据,包括:时间维度上的一系列坐标点;Optionally, the attribute data includes: a series of coordinate points on the time dimension;
所述预测模块,包括:第一比对子模块、第二比对子模块、统计子模块、第一预测子模块、第二预测子模块;The prediction module includes: a first comparison submodule, a second comparison submodule, a statistics submodule, a first prediction submodule, and a second prediction submodule;
所述第一比对子模块,用于将所述采集模块采集的预设时间段内的历史属性数据中含有的各坐标点与各加油站的坐标点进行比对,得到与各加油站的坐标点匹配的各第一坐标点;The first comparison sub-module is used to compare each coordinate point contained in the historical attribute data collected by the acquisition module within a preset time period with the coordinate points of each gas station, and obtain the coordinate points of each gas station. Each first coordinate point matched by the coordinate point;
所述第二比对子模块,用于将所述第一比对子模块得到的各第一坐标点处的停靠时长与预设时长进行比对,将停靠时长大于所述预设时长的各第一坐标点作为各第二坐标点;The second comparison submodule is used to compare the stop duration at each first coordinate point obtained by the first comparison submodule with the preset duration, and compare the stop duration of each stop duration longer than the preset duration. The first coordinate point is used as each second coordinate point;
所述统计子模块,用于对所述第二比对子模块得到的各第二坐标点按照时间维度进行统计,得到不同时段各加油站对应的第二坐标点的数量;The statistical sub-module is used to count the second coordinate points obtained by the second comparison sub-module according to the time dimension, and obtain the number of second coordinate points corresponding to each gas station in different time periods;
所述第一预测子模块,用于根据所述统计子模块统计的不同时段各加油站对应的第二坐标点的数量,预测各加油站在所述不同时段的加油容量;The first prediction sub-module is used to predict the refueling capacity of each gas station in different time periods according to the number of second coordinate points corresponding to each gas station in different time periods counted by the statistical submodule;
所述第二预测子模块,用于根据移动平均法分别对所述统计子模块统计的不同时段各加油站对应的第二坐标点进行计算,预测各加油站在所述不同时段的繁忙程度。The second prediction sub-module is used to calculate the second coordinate points corresponding to the gas stations in different time periods counted by the statistical sub-module according to the moving average method, and predict the busyness of each gas station in the different time periods.
可选地,所述属性数据,包括:车辆型号和邮箱存量;Optionally, the attribute data includes: vehicle model and mailbox inventory;
所述第二确定模块,具体包括:第一确定子模块、第二确定子模块和第三确定子模块;The second determination module specifically includes: a first determination submodule, a second determination submodule, and a third determination submodule;
所述第一确定模块,具体用于:将所述采集模块采集的当前的各属性数据中含有的油箱存量与存量阈值进行比对,并将小于所述存量阈值的各油箱存量对应的车辆作为各预加油车辆;The first determination module is specifically configured to: compare the fuel tank inventory contained in the current attribute data collected by the acquisition module with the inventory threshold, and use the vehicles corresponding to the fuel tank inventory less than the inventory threshold as Each pre-fueled vehicle;
所述第一确定子模块,用于根据所述采集模块采集的各预加油车辆的当前的属性数据中含有的车辆型号,确定所述第一确定模块确定的各预加油车辆的油耗;The first determination sub-module is used to determine the fuel consumption of each pre-refueling vehicle determined by the first determination module according to the vehicle model contained in the current attribute data of each pre-refueling vehicle collected by the collection module;
所述第二确定子模块,用于根据所述第一确定子模块确定的各预加油车辆的油耗,及所述采集模块采集的各预加油车辆的当前的属性数据中含有的油箱存量,确定所述第一确定模块确定的各预加油车辆的可行驶距离;The second determination sub-module is used to determine according to the fuel consumption of each pre-refueling vehicle determined by the first determination sub-module and the fuel tank stock contained in the current attribute data of each pre-refueling vehicle collected by the collection module. The travelable distance of each pre-fueled vehicle determined by the first determination module;
所述第三确定子模块,用于根据各加油站的坐标点,确定位于所述第二确定子模块确定的各预加油车辆的可行驶距离内的各加油站并作为对应的预加油车辆的候选加油站。The third determining submodule is used to determine each refueling station located within the travelable distance of each pre-refueling vehicle determined by the second determination submodule according to the coordinate points of each refueling station and use it as the corresponding pre-refueling vehicle Candidate gas station.
可选地,所述装置还包括:判断模块;Optionally, the device further includes: a judging module;
所述判断模块,用于分别判断所述第一确定模块确定的各预加油车辆是否使用导航;The judging module is used to respectively judge whether each pre-fueled vehicle determined by the first determining module uses navigation;
所述第二确定模块,具体用于:当所述判断模块判断出使用导航时,根据导航的目的地,在位于预加油车辆的行驶方向上的各加油站中确定对应预加油车辆的候选加油站;当所述判断模块判断出未使用导航时,则在位于预加油车辆周围的各加油站中确定对应预加油车辆的候选加油站。The second determining module is specifically used for: when the judging module determines that the navigation is used, according to the destination of the navigation, determine the candidate refueling corresponding to the pre-refueling vehicle in each gas station located in the driving direction of the pre-refueling vehicle station; when the judging module judges that the navigation is not used, then determine a candidate gas station corresponding to the pre-refueling vehicle among the refueling stations located around the pre-refueling vehicle.
可选地,所述属性数据,包括:行驶速度;Optionally, the attribute data includes: driving speed;
所述选择模块,具体包括:第三预测子模块、第三比对子模块、判断子模块和作为子模块;The selection module specifically includes: a third prediction sub-module, a third comparison sub-module, a judgment sub-module and an as sub-module;
所述第三预测子模块,用于根据各预加油车辆的行驶速度和所述第二确定子模块确定的可行驶距离,预测各预加油车辆的可行驶时间;The third prediction submodule is used to predict the travelable time of each pre-refueling vehicle according to the travel speed of each pre-refueling vehicle and the travelable distance determined by the second determination submodule;
所述第三比对子模块,用于根据所述第三预测子模块预测的各预加油车辆的可行驶时间,分别比对所述预测模块预测的各预加油车辆的候选加油站中各加油站在对应时段的加油容量和繁忙程度,得到各预加油车辆的候选加油站中加油容量最小的加油站及繁忙程度最低的加油站;The third comparison sub-module is used to compare the refueling stations in the candidate refueling stations of each pre-refueling vehicle predicted by the prediction module according to the travel time of each pre-refueling vehicle predicted by the third prediction sub-module. According to the refueling capacity and busyness of the station in the corresponding time period, the gas station with the smallest refueling capacity and the gas station with the lowest busyness among the candidate refueling stations of each pre-refueled vehicle are obtained;
所述判断子模块,用于判断所述第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是否为同一加油站;The judging submodule is used to judge whether the gas station with the smallest refueling capacity and the gas station with the least busy degree among the candidate gas stations for each pre-refueled vehicle obtained by the third comparison submodule are the same gas station;
所述作为子模块,用于当所述判断子模块判断出所述第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是同一加油站时,将该加油站最为最优加油站;还用于当所述判断子模块判断出所述第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站不是同一加油站时,将加油容量最小的加油站作为最优加油站;The as sub-module is used for when the judging sub-module judges that the gas station with the smallest refueling capacity among the candidate gas stations of the pre-refueled vehicles obtained by the third comparison sub-module is the same as the gas station with the least busy degree When the gas station is used, the gas station is the most optimal gas station; it is also used when the judging submodule judges the gas station with the smallest refueling capacity among the candidate gas stations of the pre-refueled vehicles obtained by the third comparison submodule When the gas station with the least busy degree is not the same gas station, the gas station with the smallest refueling capacity is taken as the optimal gas station;
所述推荐模块,具体用于:将所述作为子模块得到的最优加油站推荐给对应的车辆。The recommendation module is specifically used for: recommending the optimal gas station obtained as a sub-module to a corresponding vehicle.
本发明的优点在于:The advantages of the present invention are:
本发明中最优加油站的推荐方法及装置,能够实时自动采集车辆的车载设备上报的数据,并使用常用的特征值,如位置(坐标点)、油箱存量、车型油耗、行驶速度等,自动识别各预加油车辆,并通过对大数据进行分析,确定各预加油车辆的最优加油站,自动的推荐最优加油站给对应车辆的司机;该过程中,首先,无需人工对数据进行处理,避免了由于人工误操作造成的数据不准确的风险;其次,装置实时采集数据,实时处理,保证了数据的时效性,也即提高了数据的准确性;最后,装置自动推荐最优加油站给相应车辆的司机,而无需司机主动发起请求,为司机带来了便利,提高了司机的体验。The method and device for recommending the optimal gas station in the present invention can automatically collect the data reported by the on-board equipment of the vehicle in real time, and use commonly used characteristic values, such as position (coordinate point), fuel tank stock, vehicle type fuel consumption, driving speed, etc., to automatically Identify each pre-refueling vehicle, and determine the optimal refueling station for each pre-refueling vehicle by analyzing big data, and automatically recommend the optimal refueling station to the driver of the corresponding vehicle; in this process, first of all, there is no need to manually process the data , avoiding the risk of inaccurate data due to manual misoperation; secondly, the device collects data in real time and processes it in real time, which ensures the timeliness of the data, that is, improves the accuracy of the data; finally, the device automatically recommends the optimal gas station The driver of the corresponding vehicle does not need the driver to actively initiate a request, which brings convenience to the driver and improves the driver's experience.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
附图1为本发明提供的一种最优加油站的推荐方法流程图;Accompanying drawing 1 is a kind of recommended method flowchart of optimal gas station provided by the present invention;
附图2为本发明提供的一种最优加油站的推荐装置模块组成框图。Accompanying drawing 2 is a module composition block diagram of an optimal gas station recommendation device provided by the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施方式。虽然附图中显示了本公开的示例性实施方式,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
实施例一Embodiment one
根据本发明的实施方式,提供一种最优加油站的推荐方法,如图1所示,包括:According to an embodiment of the present invention, a method for recommending an optimal gas station is provided, as shown in FIG. 1 , including:
步骤101:实时采集各车辆的属性数据,根据预设时间段内的历史属性数据及各加油站信息,预测各加油站在不同时段的加油容量和繁忙程度;Step 101: Collect the attribute data of each vehicle in real time, and predict the refueling capacity and busyness of each gas station at different time periods according to the historical attribute data within a preset time period and the information of each gas station;
在本实施例中,各车辆安装有车载设备,车载设备每隔预设时间间隔上报对应车辆的属性数据;其中,预设时间间隔,例如为30秒。In this embodiment, each vehicle is equipped with an on-board device, and the on-board device reports the attribute data of the corresponding vehicle every preset time interval; wherein, the preset time interval is, for example, 30 seconds.
对应地,步骤101中,实时采集各车辆的属性数据,具体为:实时采集各车辆的车载设备上报的属性数据;Correspondingly, in step 101, the attribute data of each vehicle is collected in real time, specifically: the attribute data reported by the on-board equipment of each vehicle is collected in real time;
其中,属性数据包括:车辆型号、油箱存量、行驶速度、时间维度上的一系列坐标点等;Among them, the attribute data includes: vehicle model, fuel tank inventory, driving speed, a series of coordinate points in the time dimension, etc.;
对应地,步骤101中,根据预设时间段内的历史属性数据及各加油站信息,预测各加油站在不同时段的加油容量和繁忙程度,具体包括:Correspondingly, in step 101, according to the historical attribute data and the information of each gas station within a preset time period, predict the refueling capacity and busyness of each gas station in different time periods, specifically including:
步骤A1:将预设时间段内的历史属性数据中含有的各坐标点与各加油站的坐标点进行比对,得到与各加油站的坐标点匹配的各第一坐标点;Step A1: compare each coordinate point contained in the historical attribute data within the preset time period with the coordinate points of each gas station, and obtain each first coordinate point that matches the coordinate point of each gas station;
其中,预设时间段可以根据需求自行设定,例如为最近6个月;即,将采集的近6个月的属性数据中含有的各坐标点与各加油站的坐标点进行比对,得到与各加油站的坐标点匹配的坐标点,并作为各第一坐标点。Among them, the preset time period can be set according to the needs, for example, the last 6 months; that is, the coordinate points contained in the attribute data collected in the past 6 months are compared with the coordinate points of each gas station to obtain The coordinate points matched with the coordinate points of each gas station are used as each first coordinate point.
为更清楚的说明本发明中的技术方案,以加油站F为例进行说明,例如,统计最近6个月的属性数据,得到与加油站F的坐标点匹配的560个第一坐标点。In order to illustrate the technical solution in the present invention more clearly, gas station F is used as an example for illustration. For example, the attribute data of the last 6 months are collected to obtain 560 first coordinate points matching the coordinate points of gas station F.
步骤A2:将各第一坐标点处的停靠时长与预设时长进行比对,将停靠时长大于预设时长的各第一坐标点作为各第二坐标点;Step A2: Compare the docking duration at each first coordinate point with the preset duration, and use each first coordinate point whose docking duration is longer than the preset duration as each second coordinate point;
其中,预设时长,例如为15分钟;当在某一坐标点处的停靠时长大于15分钟时,认为车辆在该坐标点处进行加油,并将该位置点作为第二坐标点。Wherein, the preset time length is, for example, 15 minutes; when the parking time at a certain coordinate point is longer than 15 minutes, it is considered that the vehicle is refueling at this coordinate point, and this position point is used as the second coordinate point.
例如,将与加油站F的坐标点匹配的560个第一坐标点处的停靠时长分别与15分钟比对,得到停靠时长大于15分钟的第一坐标点的数量为300个,则将该300个第一坐标点分别作为第二坐标点。For example, compare the stop durations at the 560 first coordinate points matched with the coordinate points of gas station F with 15 minutes respectively, and obtain 300 first coordinate points whose stop durations are longer than 15 minutes, then the 300 The first coordinate points are respectively used as the second coordinate points.
步骤A3:对各第二坐标点按照时间维度进行统计,得到不同时段各加油站对应的第二坐标点的数量,根据不同时段各加油站对应的第二坐标点的数量预测各加油站在不同时段的加油容量;Step A3: Count each second coordinate point according to the time dimension to obtain the number of second coordinate points corresponding to each gas station in different time periods, and predict the difference of each gas station according to the number of second coordinate points corresponding to each gas station in different time periods. The refueling capacity of the time period;
具体地,按照周一、周二…周日的时间维度,统计每日中不同时间段各加油站对应的第二坐标点的数量;并分别将不同时段中各加油站对应的第二坐标点的数量与预设的数量阈值进行比较,根据比较结果预测各加油站在不同时段的加油容量;其中,预设的数量阈值,例如为15。Specifically, according to the time dimension of Monday, Tuesday...Sunday, the number of second coordinate points corresponding to each gas station in different time periods of the day is counted; and the number of second coordinate points corresponding to each gas station in different time periods is respectively Compared with the preset quantity threshold, the refueling capacity of each gas station in different periods is predicted according to the comparison result; wherein, the preset quantity threshold is, for example, 15.
例如,根据加油站F对应的300个第二坐标点的产生时间,按照周一、周二…周日的时间维度统计,得到周一平均对应有80个第二坐标点,并且在周一的0点至0点30分时平均对应有6个第二坐标点,其小于预设的数量阈值15,则预测出加油站F在该时段的加油容量在9辆车左右。For example, according to the generation time of the 300 second coordinate points corresponding to gas station F, according to the time dimension statistics of Monday, Tuesday...Sunday, it is obtained that there are 80 second coordinate points corresponding to Monday on average, and between 0 o'clock and 0 o'clock on Monday Point 30 corresponds to an average of 6 second coordinate points, which are less than the preset quantity threshold of 15, so it is predicted that the refueling capacity of gas station F at this time period is about 9 vehicles.
步骤A4:根据移动平均法分别对不同时段各加油站对应的第二坐标点的数量进行计算,预测各加油站在不同时段的繁忙程度。Step A4: Calculate the number of second coordinate points corresponding to each gas station in different time periods according to the moving average method, and predict the busyness of each gas station in different time periods.
在本实施例中,步骤A4,具体包括:In this embodiment, step A4 specifically includes:
步骤A4-1:分别对不同时段各加油站对应的第二坐标点的数量进行计算,得到相应的一次移动平均值;Step A4-1: Calculate the number of second coordinate points corresponding to each gas station in different time periods to obtain a corresponding moving average;
具体地,将各加油站在每一时段对应的第二坐标点的数量,按照第二坐标点的产生时间,分为不同的时期(例如,将加油站F在4月份的每个周一的0点到0点30分时对应的第二坐标点的数量作为第一个预测时期的数据,在5月份的每个周一的0点到0点30分时对应的第二坐标点的数量作为第二个预测时期的数据),并根据公式分别对不同时段各加油站对应的第二坐标点的数量计算一次移动平均值,其中,Mt(1)为第t时期的一次移动平均值,n为计算移动平均值的跨越期,Yt为时间序列中期观察值,即不同时段各加油站对应的第二坐标点的数量。Specifically, the quantity of the second coordinate points corresponding to each time period of each gas station is divided into different periods according to the generation time of the second coordinate points (for example, the gas station F is divided into 0 points on every Monday in April). The number of corresponding second coordinate points from 0:00 to 0:30 is taken as the data of the first forecast period, and the number of corresponding second coordinate points from 0:00 to 0:30 of every Monday in May is taken as the data of the first prediction period. data for two forecast periods), and according to the formula Calculate a moving average for the number of second coordinate points corresponding to each gas station in different periods, where Mt(1) is a moving average in the t-th period, n is the span period for calculating the moving average, Yt is the mid-term observation value of the time series, that is, the number of second coordinate points corresponding to each gas station in different periods.
步骤A4-2:根据得到的一次移动平均值,计算相应的二次移动平均值;Step A4-2: Calculate the corresponding secondary moving average based on the obtained primary moving average;
具体地,根据公式对一次移动平均值进行计算,得到相应的二次移动平均值,其中,Mt(2)为第t时期的二次移动平均值。Specifically, according to the formula The primary moving average is calculated to obtain the corresponding secondary moving average, where Mt(2) is the secondary moving average in the tth period.
步骤A4-3:根据一次移动平均值和二次移动平均值预测各加油站在不同时段的繁忙程度;Step A4-3: Predict the busyness of each gas station at different time periods according to the primary moving average and the secondary moving average;
具体地,根据一次移动平均值和二次移动平均值,计算预测模型Yt+T=at+btT,其中at=2Mt(1)-Mt(2),T为由t时期向后推移的期数;根据预测模型预测各加油站在不同时段的繁忙程度。Specifically, according to the primary moving average and the secondary moving average, calculate the prediction model Yt+T =at +bt T, where at =2Mt(1) -Mt(2) , T is the number of periods moving backward from period t; predict the busyness of each gas station at different periods according to the forecast model.
需要说明地,本发明中,预测各加油站在不同时段的繁忙程度,不限为使用移动平均法,还可以使用其他的预测方法。It should be noted that in the present invention, the prediction of the busyness of each gas station at different time periods is not limited to using the moving average method, and other prediction methods can also be used.
步骤102:根据当前的各属性数据,确定各预加油车辆,并在各加油站中确定各预加油车辆的候选加油站;Step 102: According to the current attribute data, determine each pre-refueling vehicle, and determine a candidate refueling station for each pre-refueling vehicle in each refueling station;
在本实施例中,步骤102,具体包括:In this embodiment, step 102 specifically includes:
步骤B1:将当前的各属性数据中含有的油箱存量与存量阈值进行比对,并将小于存量阈值的各油箱存量对应的车辆作为各预加油车辆;Step B1: Compare the fuel tank inventory contained in the current attribute data with the inventory threshold, and use the vehicle corresponding to each fuel tank inventory smaller than the inventory threshold as each pre-refueling vehicle;
其中,存量阈值,可以根据需求自行设定,例如设定为1升。Among them, the stock threshold can be set according to demand, for example, set to 1 liter.
步骤B2:根据各预加油车辆的当前的属性数据中含有的车辆型号,确定各预加油车辆的油耗;Step B2: Determine the fuel consumption of each pre-refueling vehicle according to the vehicle model contained in the current attribute data of each pre-refueling vehicle;
具体地,根据各预加油车辆的当前的属性数据中含有的车辆型号,在已有的静态数据中查找到对应的油耗,得到各预加油车辆的油耗。Specifically, according to the vehicle model contained in the current attribute data of each pre-refueling vehicle, the corresponding fuel consumption is found in the existing static data, and the fuel consumption of each pre-refueling vehicle is obtained.
步骤B3:根据各预加油车辆的油耗,及各预加油车辆的当前的属性数据中含有的油箱存量,确定各预加油车辆的可行驶距离;Step B3: According to the fuel consumption of each pre-refueling vehicle and the fuel tank stock contained in the current attribute data of each pre-refueling vehicle, determine the travelable distance of each pre-refueling vehicle;
其中,油耗具体为每公里的路程所耗用的油量,对应地,根据各预加油车辆的油耗,及各预加油车辆的当前的属性数据中含有的油箱存量,通过公式:可行驶距离=油箱存量/油耗,计算各预加油车辆的可行驶距离。Among them, the fuel consumption is specifically the amount of fuel consumed per kilometer of distance. Correspondingly, according to the fuel consumption of each pre-refueling vehicle and the fuel tank stock contained in the current attribute data of each pre-refueling vehicle, the formula: travelable distance = Fuel tank inventory/fuel consumption, calculate the travelable distance of each pre-refueled vehicle.
步骤B4:根据各加油站的坐标点,确定位于各预加油车辆的可行驶距离内的各加油站并作为对应的预加油车辆的候选加油站。Step B4: According to the coordinate points of each refueling station, determine each refueling station located within the travelable distance of each pre-refueling vehicle as a candidate refueling station for the corresponding pre-refueling vehicle.
进一步地,步骤102中,在各加油站中确定各预加油车辆的候选加油站之前,还包括:Further, in step 102, before determining the candidate gas stations of each pre-fueled vehicle in each gas station, it also includes:
步骤C:分别判断各预加油车辆是否使用导航,如果使用导航,则根据导航的目的地,在位于预加油车辆的行驶方向上的各加油站中确定对应预加油车辆的候选加油站;如果未使用导航,则在位于预加油车辆周围的各加油站中确定对应预加油车辆的候选加油站。Step C: Determine whether each pre-refueling vehicle uses navigation, if navigation is used, then according to the destination of the navigation, determine the candidate refueling station corresponding to the pre-refueling vehicle in each refueling station in the direction of travel of the pre-refueling vehicle; if not Using the navigation, a candidate gas station corresponding to the pre-fuel vehicle is determined among gas stations located around the pre-fuel vehicle.
在本实施例中,通过各车辆的车载设备可以得知对应的车辆是否使用导航。In this embodiment, whether the corresponding vehicle uses navigation can be known through the vehicle-mounted equipment of each vehicle.
步骤103:根据预测的候选加油站中各加油站在对应时段的加油容量和繁忙程度,在候选加油站中选择最优加油站,并推荐给对应的车辆。Step 103: According to the predicted refueling capacity and busyness of each gas station in the corresponding time period among the candidate gas stations, select the optimal gas station among the candidate gas stations, and recommend it to the corresponding vehicle.
在本实施例中,步骤103,具体包括:In this embodiment, step 103 specifically includes:
步骤D1:根据各预加油车辆的行驶车速和可行驶距离,预测各预加油车辆的可行驶时间;Step D1: Predict the travelable time of each pre-refueling vehicle according to the driving speed and travelable distance of each pre-refueling vehicle;
具体地,统计各预加油车辆的行驶车速,并计算各预加油车辆的平均行驶车速,根据公式:可行驶时间=可行驶距离/平均车速,计算各预加油车辆的可行驶时间。Specifically, the running speed of each pre-fueled vehicle is counted, and the average running speed of each pre-fueled vehicle is calculated. According to the formula: travelable time=drivable distance/average vehicle speed, the travelable time of each pre-refueled vehicle is calculated.
步骤D2:根据预测的各预加油车辆的可行驶时间,分别比对各预加油车辆的候选加油站中各加油站在对应时段的加油容量和繁忙程度,得到各预加油车辆的候选加油站中加油容量最小的加油站及繁忙程度最低的加油站;Step D2: According to the predicted driving time of each pre-refueling vehicle, compare the refueling capacity and busyness of each gas station in the candidate gas stations of each pre-refueling vehicle respectively, and obtain the candidate gas stations of each pre-refueling vehicle The gas station with the smallest refueling capacity and the least busy gas station;
其中,对应时段,具体为当前时间与预加油车辆的可行驶时间之和所在的时段。Wherein, the corresponding time period is specifically the time period in which the sum of the current time and the travelable time of the pre-fueled vehicle is located.
步骤D2:分别判断各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是否为同一加油站,是则将该加油站最为最优加油站,推荐给对应的车辆;否则将加油容量最小的加油站作为最优加油站,并推荐对应的车辆。Step D2: Determine whether the gas station with the smallest refueling capacity and the gas station with the lowest busyness among the candidate gas stations of each pre-refueling vehicle are the same gas station, and if so, the gas station is the most optimal gas station and recommended to the corresponding vehicle ; Otherwise, the gas station with the smallest refueling capacity is taken as the optimal gas station, and the corresponding vehicle is recommended.
本实施例中,通过实时采集车辆的车载设备上报的属性数据并实时分析,能够自动识别各预加油车辆,并通过对历史属性数据进行分析,确定各预加油车辆的最优加油站,自动推荐最优加油站给对应车辆的司机;该过程中,无需人工对数据进行处理,避免了由于人工误操作造成的数据不准确的风险;并且实时采集数据,实时处理,保证了数据的时效性,也即提高了数据的准确性;同时,通过自动推荐最优加油站给相应车辆的形式,为司机带来了便利。In this embodiment, by collecting and analyzing the attribute data reported by the on-board equipment of the vehicle in real time, each pre-refueling vehicle can be automatically identified, and by analyzing the historical attribute data, the optimal refueling station for each pre-refueling vehicle can be determined and automatically recommended The optimal gas station is given to the driver of the corresponding vehicle; in this process, there is no need to manually process the data, avoiding the risk of inaccurate data due to manual misoperation; and real-time data collection and real-time processing ensure the timeliness of the data. That is to say, the accuracy of the data is improved; at the same time, it brings convenience to the driver by automatically recommending the optimal gas station to the corresponding vehicle.
实施例二Embodiment two
根据本发明的实施方式,提供一种最优加油站的推荐装置,如图2所示,包括:According to an embodiment of the present invention, a recommendation device for an optimal gas station is provided, as shown in FIG. 2 , including:
采集模块201,用于实时采集各车辆的属性数据;Acquisition module 201, for collecting the attribute data of each vehicle in real time;
预测模块202,用于根据采集模块201采集的的预设时间段内的历史属性数据及各加油站信息预测各加油站在不同时段的加油容量和繁忙程度;The prediction module 202 is used to predict the refueling capacity and busyness of each gas station in different periods according to the historical attribute data and the information of each gas station collected by the collection module 201 within the preset time period;
第一确定模块203,用于根据采集模块201采集的当前的各属性数据,确定各预加油车辆;The first determining module 203 is used to determine each pre-fueled vehicle according to the current attribute data collected by the collecting module 201;
第二确定模块204,用于在各加油站中确定第一确定模块203确定的各预加油车辆的候选加油站;The second determination module 204 is used to determine the candidate gas stations for each pre-refueling vehicle determined by the first determination module 203 in each gas station;
选择模块205,用于根据预测模块202预测的候选加油站中各加油站在对应时段的加油容量和繁忙程度,在候选加油站中选择最优加油站;The selection module 205 is used to select the optimal gas station among the candidate gas stations according to the refueling capacity and busyness of each gas station in the candidate gas stations predicted by the prediction module 202 in the corresponding time period;
推荐模块206,用于将选择模块205选择的最优加油站推荐给对应的车辆。The recommendation module 206 is configured to recommend the optimal gas station selected by the selection module 205 to the corresponding vehicle.
根据本发明的实施方式,各车辆安装有车载设备,车载设备每隔预设时间间隔上报对应车辆的属性数据;其中,预设时间间隔,例如为30秒。According to an embodiment of the present invention, each vehicle is equipped with an on-board device, and the on-board device reports the attribute data of the corresponding vehicle every preset time interval; wherein, the preset time interval is, for example, 30 seconds.
对应地,采集模块201,具体为:实时采集各车辆的车载设备上报的属性数据;Correspondingly, the collection module 201 is specifically: collecting the attribute data reported by the on-board equipment of each vehicle in real time;
其中,属性数据包括:车辆型号、油箱存量、行驶速度、时间维度上的一系列坐标点等。Among them, the attribute data includes: vehicle model, fuel tank inventory, driving speed, a series of coordinate points in the time dimension, etc.
根据本发明的实施方式,预测模块202,包括:第一比对子模块、第二比对子模块、统计子模块、第一预测子模块和第二预测子模块,其中:According to an embodiment of the present invention, the prediction module 202 includes: a first comparison submodule, a second comparison submodule, a statistics submodule, a first prediction submodule and a second prediction submodule, wherein:
第一比对子模块,用于将采集模块201采集的预设时间段内的历史属性数据中含有的各坐标点与各加油站的坐标点进行比对,得到与各加油站的坐标点匹配的各第一坐标点;The first comparison sub-module is used to compare each coordinate point contained in the historical attribute data collected by the acquisition module 201 within the preset time period with the coordinate point of each gas station, and obtain a matching with the coordinate point of each gas station Each first coordinate point of ;
第二比对子模块,用于将第一比对子模块得到的各第一坐标点处的停靠时长与预设时长进行比对,将停靠时长大于预设时长的各第一坐标点作为各第二坐标点;The second comparison submodule is used to compare the docking duration at each first coordinate point obtained by the first comparison submodule with the preset duration, and use each first coordinate point whose docking duration is longer than the preset duration as each second coordinate point;
统计子模块,用于对第二比对子模块得到的各第二坐标点按照时间维度进行统计,得到不同时段各加油站对应的第二坐标点的数量;The statistical sub-module is used to count the second coordinate points obtained by the second comparison sub-module according to the time dimension, and obtain the number of second coordinate points corresponding to each gas station in different periods;
第一预测子模块,用于根据统计子模块统计的不同时段各加油站对应的第二坐标点的数量,预测各加油站在不同时段的加油容量;The first prediction sub-module is used to predict the refueling capacity of each gas station in different time periods according to the number of second coordinate points corresponding to each gas station in different time periods counted by the statistical submodule;
第二预测子模块,用于根据移动平均法分别对统计子模块统计的不同时段各加油站对应的第二坐标点进行计算,预测各加油站在不同时段的繁忙程度。The second prediction sub-module is used to calculate the second coordinate points corresponding to each gas station in different time periods counted by the statistical sub-module according to the moving average method, and predict the busyness of each gas station in different time periods.
其中,预设时间段和预设时长均可以根据需求自行设定,例如,预设时间段为最近6个月,预设时长为15分钟。Wherein, both the preset time period and the preset duration can be set according to requirements, for example, the preset time period is the last 6 months, and the preset duration is 15 minutes.
进一步地,统计子模块,优选为:按照周一、周二…周日的时间维度,统计每日中不同时间段各加油站对应的第二坐标点的数量。Further, the statistical sub-module is preferably: according to the time dimension of Monday, Tuesday...Sunday, count the number of second coordinate points corresponding to each gas station in different time periods every day.
根据本发明的实施方式,第二预测子模块,具体包括:第一计算单元、第二计算单元和预测单元,其中:According to an embodiment of the present invention, the second prediction submodule specifically includes: a first calculation unit, a second calculation unit, and a prediction unit, wherein:
第一计算单元,用于分别对不同时段各加油站对应的第二坐标点的数量进行计算,得到相应的一次移动平均值;The first calculating unit is used to calculate the quantity of the second coordinate points corresponding to each gas station in different time periods respectively, and obtain a corresponding one-time moving average value;
第二计算单元,用于根据第一计算单元得到的一次移动平均值,计算相应的二次移动平均值;The second computing unit is used to calculate a corresponding secondary moving average based on the primary moving average obtained by the first computing unit;
预测单元,用于根据第一计算单元计算的一次移动平均值和第二计算单元计算的二次移动平均值预测各加油站在不同时段的繁忙程度。The prediction unit is used to predict the busyness of each gas station at different time periods according to the primary moving average calculated by the first calculation unit and the secondary moving average calculated by the second calculation unit.
优选地,第一计算单元,具体用于:将各加油站在每一时段对应的第二坐标点的数量,按照第二坐标点的产生时间,分为不同的时期,根据公式分别对不同时段各加油站对应的第二坐标点的数量计算一次移动平均值,其中,Mt(1)为第t期的一次移动平均值,n为计算移动平均值的跨越期,Yt为时间序列中期观察值,即不同时段各加油站对应的第二坐标点的数量。Preferably, the first calculation unit is specifically configured to: divide the number of second coordinate points corresponding to each period of each gas station into different periods according to the generation time of the second coordinate points, according to the formula Calculate a moving average for the number of second coordinate points corresponding to each gas station in different periods, where Mt(1) is a moving average of the tth period, n is the span period for calculating the moving average, Yt is the mid-term observation value of the time series, that is, the number of second coordinate points corresponding to each gas station in different periods.
优选地,第二计算单元,具体用于:根据公式对一次移动平均值进行计算,得到相应的二次移动平均值,其中,Mt(2)为第t期的二次移动平均值。Preferably, the second calculation unit is specifically used for: according to the formula The first moving average is calculated to obtain the corresponding second moving average, where Mt(2) is the second moving average of period t.
优选地,预测单元,具体用于:根据第一计算单元计算的一次移动平均值和第二计算单元计算的二次移动平均值,计算预测模型Yt+T=at+btT,其中at=2Mt(1)-Mt(2),T为由t期向后推移的期数;根据预测模型预测各加油站在不同时段的繁忙程度。Preferably, the prediction unit is specifically configured to: calculate the prediction model Yt+T = at + bt T according to the primary moving average calculated by the first calculation unit and the secondary moving average calculated by the second calculation unit, wherein at =2Mt(1) -Mt(2) , T is the number of periods moving backwards from period t; predict the busyness of each gas station at different periods according to the forecast model.
根据本发明的实施方式,第一确定模块203,具体用于:将采集模块201采集的当前的各属性数据中含有的油箱存量与存量阈值进行比对,并将小于存量阈值的各油箱存量对应的车辆作为各预加油车辆;According to an embodiment of the present invention, the first determination module 203 is specifically configured to: compare the fuel tank inventory contained in the current attribute data collected by the acquisition module 201 with the inventory threshold, and correspond to the fuel tank inventory that is less than the inventory threshold vehicles as pre-fueled vehicles;
根据本发明的实施方式,第二确定模块204,具体包括:第一确定子模块、第二确定子模块和第三确定子模块,其中:According to an embodiment of the present invention, the second determination module 204 specifically includes: a first determination submodule, a second determination submodule, and a third determination submodule, wherein:
第一确定子模块,用于根据采集模块201采集的各预加油车辆的当前的属性数据中含有的车辆型号,确定第一确定模块203确定的各预加油车辆的油耗;The first determination sub-module is used to determine the fuel consumption of each pre-refueling vehicle determined by the first determination module 203 according to the vehicle model contained in the current attribute data of each pre-refueling vehicle collected by the acquisition module 201;
在本实施例中,第一确定子模块,具体用于:根据采集模块201采集的各预加油车辆的当前的属性数据中含有的车辆型号,在已有的静态数据中查找到对应的油耗,得到第一确定模块203确定的各预加油车辆的油耗。In this embodiment, the first determination sub-module is specifically used to: find the corresponding fuel consumption in the existing static data according to the vehicle model contained in the current attribute data of each pre-fueled vehicle collected by the collection module 201, The fuel consumption of each pre-fueled vehicle determined by the first determination module 203 is obtained.
第二确定子模块,用于根据第一确定子模块确定的各预加油车辆的油耗,及采集模块201采集的各预加油车辆的当前的属性数据中含有的油箱存量,确定第一确定模块203确定的各预加油车辆的可行驶距离;The second determination sub-module is used to determine the first determination module 203 according to the fuel consumption of each pre-refueling vehicle determined by the first determination sub-module, and the fuel tank inventory contained in the current attribute data of each pre-refueling vehicle collected by the acquisition module 201 The determined travelable distance of each pre-fueled vehicle;
在本实施例中,第二确定子模块,具体用于:根据第一确定子模块确定的各预加油车辆的油耗,及各预加油车辆的当前的属性数据中含有的油箱存量,通过公式:可行驶距离=油箱存量/油耗,计算各预加油车辆的可行驶距离。In this embodiment, the second determination sub-module is specifically used to: determine the fuel consumption of each pre-refueling vehicle according to the first determination sub-module, and the fuel tank stock contained in the current attribute data of each pre-refueling vehicle, through the formula: Drivable distance = fuel tank inventory/fuel consumption, calculate the drivable distance of each pre-refueled vehicle.
第三确定子模块,用于根据各加油站的坐标点,确定位于第二确定子模块确定的各预加油车辆的可行驶距离内的各加油站并作为对应的预加油车辆的候选加油站。The third determining submodule is used to determine each refueling station located within the travelable distance of each pre-refueling vehicle determined by the second determination submodule according to the coordinate points of each refueling station as a candidate refueling station for the corresponding pre-refueling vehicle.
根据本发明的实施方式,所述装置,还包括:判断模块;According to an embodiment of the present invention, the device further includes: a judging module;
判断模块,用于分别判断第一确定模块203确定的各预加油车辆是否使用导航;A judging module, configured to judge whether each pre-fueled vehicle determined by the first determining module 203 uses navigation;
对应地,第二确定模块204,具体用于:当判断模块判断出使用导航时,根据导航的目的地,在位于预加油车辆的行驶方向上的各加油站中确定对应预加油车辆的候选加油站;当判断模块判断出未使用导航时,则在位于预加油车辆周围的各加油站中确定对应预加油车辆的候选加油站。Correspondingly, the second determining module 204 is specifically configured to: when the judging module determines that the navigation is used, according to the destination of the navigation, determine the candidate refueling stations corresponding to the pre-refueling vehicle in each refueling station located in the driving direction of the pre-refueling vehicle station; when the judging module judges that the navigation is not used, then determine the candidate gas station corresponding to the pre-refueling vehicle among the gas stations located around the pre-refueling vehicle.
根据本发明的实施方式,选择模块205,具体包括:第三预测子模块、第三比对子模块、判断子模块和作为子模块,其中:According to an embodiment of the present invention, the selection module 205 specifically includes: a third prediction submodule, a third comparison submodule, a judgment submodule, and an as submodule, wherein:
第三预测子模块,用于根据各预加油车辆的行驶车速和第二确定子模块确定的可行驶距离,预测各预加油车辆的可行驶时间;The third prediction sub-module is used to predict the travelable time of each pre-fuel vehicle according to the travel speed of each pre-refuel vehicle and the travel distance determined by the second determination sub-module;
在本实施例中,第三预测子模块,具体用于:统计各预加油车辆的行驶车速,并计算各预加油车辆的平均行驶车速,根据公式:可行驶时间=可行驶距离/平均车速,计算各预加油车辆的可行驶时间。In this embodiment, the third prediction sub-module is specifically used to: count the driving speed of each pre-fueled vehicle, and calculate the average driving speed of each pre-fueled vehicle, according to the formula: travelable time=drivable distance/average vehicle speed, The travelable time of each pre-fueled vehicle is calculated.
第三比对子模块,用于根据第三预测子模块预测的各预加油车辆的可行驶时间,分别比对预测模块202预测的各预加油车辆的候选加油站中各加油站在对应时段的加油容量和繁忙程度,得到各预加油车辆的候选加油站中加油容量最小的加油站及繁忙程度最低的加油站;The third comparison sub-module is used to compare the travel time of each pre-refueling vehicle predicted by the prediction module 202 according to the travel time of each pre-refueling vehicle predicted by the third prediction sub-module. Refueling capacity and busy degree, get the gas station with the smallest refueling capacity and the gas station with the lowest busy degree among the candidate refueling stations of each pre-refueled vehicle;
其中,对应时段,具体为当前时间与预加油车辆的可行驶时间之和所在的时段。Wherein, the corresponding time period is specifically the time period in which the sum of the current time and the travelable time of the pre-fueled vehicle is located.
判断子模块,用于判断第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是否为同一加油站;The judging sub-module is used to judge whether the gas station with the smallest refueling capacity and the gas station with the lowest busy degree among the candidate gas stations of the pre-refueled vehicles obtained by the third comparison sub-module are the same gas station;
作为子模块,用于当判断子模块判断出第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站是同一加油站时,将该加油站最为最优加油站;还用于当判断子模块判断出第三比对子模块得到的各预加油车辆的候选加油站中加油容量最小的加油站与繁忙程度最低的加油站不是同一加油站时,将加油容量最小的加油站作为最优加油站;As a sub-module, when the judging sub-module judges that the gas station with the smallest refueling capacity and the gas station with the lowest busyness among the candidate gas stations of the pre-refueled vehicles obtained by the third comparison sub-module are the same gas station, the The gas station is the most optimal gas station; it is also used when the judging sub-module judges that the gas station with the smallest refueling capacity among the candidate gas stations of each pre-refueled vehicle obtained by the third comparison sub-module is not the same refueling station as the gas station with the lowest busyness When the gas station is selected, the gas station with the smallest refueling capacity is taken as the optimal gas station;
对应地,推荐模块206,具体用于:将作为子模块得到的最优加油站推荐给对应的车辆。Correspondingly, the recommendation module 206 is specifically configured to: recommend the optimal gas station obtained as a sub-module to the corresponding vehicle.
本发明中最优加油站的推荐方法及装置,能够实时自动采集车辆的车载设备上报的数据,并使用常用的特征值,如位置(坐标点)、油箱存量、车型油耗、行驶速度等,自动识别各预加油车辆,并通过对大数据进行分析,确定各预加油车辆的最优加油站,自动的推荐最优加油站给对应车辆的司机;该过程中,首先,无需人工对数据进行处理,避免了由于人工误操作造成的数据不准确的风险;其次,装置实时采集数据,实时处理,保证了数据的时效性,也即提高了数据的准确性;最后,装置自动推荐最优加油站给相应车辆的司机,而无需司机主动发起请求,为司机带来了便利,提高了司机的体验。The method and device for recommending the optimal gas station in the present invention can automatically collect the data reported by the on-board equipment of the vehicle in real time, and use commonly used characteristic values, such as position (coordinate point), fuel tank stock, vehicle type fuel consumption, driving speed, etc., to automatically Identify each pre-refueling vehicle, and determine the optimal refueling station for each pre-refueling vehicle by analyzing big data, and automatically recommend the optimal refueling station to the driver of the corresponding vehicle; in this process, first of all, there is no need to manually process the data , avoiding the risk of inaccurate data due to manual misoperation; secondly, the device collects data in real time and processes it in real time, which ensures the timeliness of the data, that is, improves the accuracy of the data; finally, the device automatically recommends the optimal gas station The driver of the corresponding vehicle does not need the driver to actively initiate a request, which brings convenience to the driver and improves the driver's experience.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711367435.XACN108154261B (en) | 2017-12-18 | 2017-12-18 | Recommendation method and device for optimal gas station |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711367435.XACN108154261B (en) | 2017-12-18 | 2017-12-18 | Recommendation method and device for optimal gas station |
| Publication Number | Publication Date |
|---|---|
| CN108154261Atrue CN108154261A (en) | 2018-06-12 |
| CN108154261B CN108154261B (en) | 2021-09-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711367435.XAActiveCN108154261B (en) | 2017-12-18 | 2017-12-18 | Recommendation method and device for optimal gas station |
| Country | Link |
|---|---|
| CN (1) | CN108154261B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109710858A (en)* | 2018-12-03 | 2019-05-03 | 北京梧桐车联科技有限责任公司 | Oiling information processing method and device, electronic equipment and storage medium |
| CN110620992A (en)* | 2018-06-20 | 2019-12-27 | 宝沃汽车(中国)有限公司 | Method and device for refueling vehicles |
| CN110864701A (en)* | 2019-12-17 | 2020-03-06 | 上海博泰悦臻电子设备制造有限公司 | Navigation route recommendation method, vehicle-mounted terminal and computer storage medium |
| CN111143484A (en)* | 2018-11-02 | 2020-05-12 | 沈阳美行科技有限公司 | Method and device for determining gas station |
| CN111832791A (en)* | 2019-11-27 | 2020-10-27 | 北京中交兴路信息科技有限公司 | A Gas Station Prediction Method Based on Machine Learning Logistic Regression |
| CN112837577A (en)* | 2021-01-12 | 2021-05-25 | 上善智城(苏州)信息科技有限公司 | Method and system for analyzing traffic flow of gas station |
| CN112907832A (en)* | 2021-01-19 | 2021-06-04 | 浙江大华技术股份有限公司 | Processing method of refueling event, video processing device and storage medium |
| CN113780866A (en)* | 2021-09-18 | 2021-12-10 | 北京易控智驾科技有限公司 | Automatic refueling scheduling method, device and equipment for unmanned mine car and storage medium |
| CN118780537A (en)* | 2024-06-26 | 2024-10-15 | 北京百思富信息技术有限公司 | A self-service refueling control system and method based on artificial intelligence |
| CN118780516A (en)* | 2024-06-05 | 2024-10-15 | 北京百思富信息技术有限公司 | Intelligent refueling system and control method based on Internet of Things |
| CN119624156A (en)* | 2024-09-30 | 2025-03-14 | 广州惠天信息科技有限公司 | A digital intelligent management method and system for gas stations |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8738277B1 (en)* | 2013-03-14 | 2014-05-27 | Honda Motor Co., Ltd. | Gas station recommendation systems and methods |
| CN105318878A (en)* | 2014-06-10 | 2016-02-10 | 中兴通讯股份有限公司 | Vehicle control method based on wireless terminal and the wireless terminal |
| CN105550768A (en)* | 2015-12-08 | 2016-05-04 | 浙江工商大学 | Judging method and judging system of gas station state |
| CN106595689A (en)* | 2016-12-28 | 2017-04-26 | 苏州寅初信息科技有限公司 | Gas station navigation target formulating system based on Internet of Vehicles |
| CN107167150A (en)* | 2016-03-07 | 2017-09-15 | 厦门歌乐电子企业有限公司 | A kind of automatic navigator and air navigation aid, navigation system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8738277B1 (en)* | 2013-03-14 | 2014-05-27 | Honda Motor Co., Ltd. | Gas station recommendation systems and methods |
| CN105318878A (en)* | 2014-06-10 | 2016-02-10 | 中兴通讯股份有限公司 | Vehicle control method based on wireless terminal and the wireless terminal |
| CN105550768A (en)* | 2015-12-08 | 2016-05-04 | 浙江工商大学 | Judging method and judging system of gas station state |
| CN107167150A (en)* | 2016-03-07 | 2017-09-15 | 厦门歌乐电子企业有限公司 | A kind of automatic navigator and air navigation aid, navigation system |
| CN106595689A (en)* | 2016-12-28 | 2017-04-26 | 苏州寅初信息科技有限公司 | Gas station navigation target formulating system based on Internet of Vehicles |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110620992B (en)* | 2018-06-20 | 2021-09-07 | 宝沃汽车(中国)有限公司 | Method and device for refueling vehicles |
| CN110620992A (en)* | 2018-06-20 | 2019-12-27 | 宝沃汽车(中国)有限公司 | Method and device for refueling vehicles |
| CN111143484A (en)* | 2018-11-02 | 2020-05-12 | 沈阳美行科技有限公司 | Method and device for determining gas station |
| CN109710858A (en)* | 2018-12-03 | 2019-05-03 | 北京梧桐车联科技有限责任公司 | Oiling information processing method and device, electronic equipment and storage medium |
| CN111832791A (en)* | 2019-11-27 | 2020-10-27 | 北京中交兴路信息科技有限公司 | A Gas Station Prediction Method Based on Machine Learning Logistic Regression |
| CN110864701A (en)* | 2019-12-17 | 2020-03-06 | 上海博泰悦臻电子设备制造有限公司 | Navigation route recommendation method, vehicle-mounted terminal and computer storage medium |
| CN112837577A (en)* | 2021-01-12 | 2021-05-25 | 上善智城(苏州)信息科技有限公司 | Method and system for analyzing traffic flow of gas station |
| CN112907832A (en)* | 2021-01-19 | 2021-06-04 | 浙江大华技术股份有限公司 | Processing method of refueling event, video processing device and storage medium |
| CN113780866A (en)* | 2021-09-18 | 2021-12-10 | 北京易控智驾科技有限公司 | Automatic refueling scheduling method, device and equipment for unmanned mine car and storage medium |
| CN118780516A (en)* | 2024-06-05 | 2024-10-15 | 北京百思富信息技术有限公司 | Intelligent refueling system and control method based on Internet of Things |
| CN118780537A (en)* | 2024-06-26 | 2024-10-15 | 北京百思富信息技术有限公司 | A self-service refueling control system and method based on artificial intelligence |
| CN118780537B (en)* | 2024-06-26 | 2025-03-11 | 北京百思富信息技术有限公司 | A self-service refueling control system and method based on artificial intelligence |
| CN119624156A (en)* | 2024-09-30 | 2025-03-14 | 广州惠天信息科技有限公司 | A digital intelligent management method and system for gas stations |
| Publication number | Publication date |
|---|---|
| CN108154261B (en) | 2021-09-03 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108154261A (en) | A kind of recommendation method and device of optimal gas station | |
| CN108286980B (en) | Method for predicting destination and recommending driving route | |
| CN111966729B (en) | Vehicle track data processing method, device, equipment and storage medium | |
| CN105632230B (en) | Dynamically distribute parking lot method and apparatus | |
| CN102509449B (en) | Vehicle scheduling method based on fuzzy decision | |
| CN106504577B (en) | A kind of park and shift traffic path method and device for planning | |
| CN106643747B (en) | Navigation method and device | |
| CN102324128B (en) | Method for predicting OD (Origin-Destination) passenger flow among bus stations on basis of IC (Integrated Circuit)-card record and device | |
| CN113335131B (en) | Method, device, equipment and storage medium for predicting vehicle cruising range | |
| CN112422671A (en) | Parking lot recommendation method and system | |
| CN103942312B (en) | Bus transfer lines planning method and device | |
| Gittens et al. | Evaluation of bus reliability measures and development of a new composite indicator | |
| CN113658446A (en) | Path planning method and device, computer readable storage medium and terminal | |
| CN116772877B (en) | Method, system, device and medium for predicting endurance mileage of new energy automobile | |
| CN108122045B (en) | Logistics vehicle scheduling device and logistics vehicle scheduling method | |
| CN104991967A (en) | Recommendation method, system and client for taking taxi | |
| CN106926797B (en) | Vehicle maintenance service system and service method thereof | |
| CN112926796A (en) | Get-off point recommendation method and device based on specific scene | |
| CN109493449B (en) | Freight train cargo state estimation method based on freight train GPS track data and high-speed transaction data | |
| CN118960774B (en) | Journey road condition planning method based on vehicle history navigation data | |
| CN106355541A (en) | Method for recognizing difficulty in taking taxi on basis of GPS data | |
| CN112116805B (en) | Method and device for determining specified driving route | |
| CN116523232A (en) | Method and device for dispatching orders based on complex road conditions, electronic equipment and storage medium | |
| CN114936785A (en) | Trip characteristic analysis system | |
| CN111160593A (en) | Reserved vehicle borrowing method, model, server, equipment side, client side and system |
| 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 | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address | Address after:100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee after:Beijing Tranwiseway Information Technology Co.,Ltd. Country or region after:China Address before:100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee before:BEIJING TRANWISEWAY INFORMATION TECHNOLOGY Co.,Ltd. Country or region before:China | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250701 Address after:101116 Beijing Tongzhou District, Beilangying Village, No. 1 Building 2, 3rd Floor, Room 101 Patentee after:Beijing Xinglu Chelian Technology Co.,Ltd. Country or region after:China Address before:100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee before:Beijing Tranwiseway Information Technology Co.,Ltd. Country or region before:China |