Method for generating oil fee and multi-factor freight fee based on road gradient

Through the oil cost generation method based on road slope, the impact of road slope on fuel consumption is refined, and combined with multi-factor cost calculation, the problem of inaccurate calculation of existing freight costs is solved, and more accurate transportation cost calculation and driving time are achieved. optimization.

CN119313244APending Publication Date: 2025-01-14SHANGHAI LOONGJOY ELECTRONIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411347409.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing freight cost calculation method fails to fully consider the impact of road slope on fuel consumption, resulting in inaccurate transportation costs, and insufficient time correlation between driving employee salary and vehicle depreciation expense calculation, affecting the accuracy of expenses.

Method used

The oil cost generation method based on road slope is adopted. By obtaining the latitude and longitude coordinates and altitude of the departure and destination, the slope is calculated and the fuel consumption calculation is refined. The road is decomposed into multiple interval points in combination with the cutting method, and the fuel consumption of each section of slope is calculated. Influence and combine vehicle insurance premiums, depreciation fees, highway fees and driving employee salaries to generate accurate freight fees.

Benefits of technology

It improves the accuracy of freight costs, optimizes driving time arrangements, reduces driver fatigue, enhances the accuracy of cost calculations, and reduces transportation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119313244A_ABST
    Figure CN119313244A_ABST
Patent Text Reader

Abstract

The invention discloses an oil fee generation method based on road gradient, and the method comprises the following steps: obtaining a departure place and a destination, and obtaining the latitude and longitude coordinates of the departure place and the destination and the altitude of the departure place and the destination through a map; calculating the distance between the departure place and the destination and the gradient of the two places based on the latitude and longitude coordinates and the altitude of the departure place and the destination; the corresponding oil consumption from the departure place to the destination is obtained according to the relation between the gradient and the oil consumption; and multiplying the obtained oil consumption by the current oil price to obtain the oil cost. The invention also discloses a multi-factor freight cost generation method. Freight fee generation calculation is performed on the basis of the loss fee of the truck and the influence of the road grade analysis on the oil fee of the driving of the truck.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics technology, and in particular to a method for generating fuel costs and multi-factor freight costs based on road slope. Background Art

[0002] At present, the calculation of transportation cost per kilometer needs to consider many factors, including labor costs, vehicle depreciation, fuel costs, maintenance costs, highway fees, etc. The fuel billing method is based on the average fuel consumption per 100 kilometers, and the fuel cost is based on the fuel consumption per 100 kilometers, that is, the amount of fuel consumed by the vehicle when driving 100 kilometers is multiplied by the market oil price to calculate the freight fuel cost. However, factors affecting fuel consumption include vehicle factors, road conditions, weather factors, driving habits and vehicle usage. Vehicle factors: The fuel consumption of a truck is related to its own design, weight, engine power and other factors. Road conditions: Road conditions have a great impact on the fuel consumption of a truck. Flat roads can reduce the resistance of the vehicle, thereby reducing fuel consumption, while ramps and congested traffic will increase fuel consumption. Weather factors: Extreme weather conditions such as high temperature, high humidity or severe cold will affect the fuel consumption of a truck. Vehicle usage: The fuel consumption of a truck is also related to its usage. For example, long-term full-load driving, frequent braking and starting, etc. will increase the fuel consumption of the vehicle.

[0003] Theoretically, the fuel cost of freight transportation can be calculated by multiplying the average fuel consumption per 100 kilometers by the mileage. However, during transportation, it is necessary to consider factors such as different regions, different sections, road conditions, road slopes, etc., which will affect the fuel consumption of trucks. Appropriate adjustments should be made to the freight fuel costs based on actual road conditions, thereby effectively reducing transportation costs and improving efficiency. Summary of the invention

[0004] In view of the above-mentioned shortcomings, the present invention provides a method for generating fuel costs and multi-factor freight costs based on road slope, and calculates freight costs based on the loss costs of trucks and the impact of road slope analysis on the fuel costs of trucks.

[0005] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

[0006] A method for generating fuel costs based on road slope, the method comprising the following steps:

[0007] Get the departure point and destination, and obtain the latitude and longitude coordinates of the departure point and destination as well as the altitude of the departure point and destination through the map;

[0008] Calculate the distance between the departure point and the destination and the slope between the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination;

[0009] According to the relationship between slope and fuel consumption, the corresponding fuel consumption from the departure point to the destination is obtained;

[0010] Multiply the obtained fuel consumption by the current fuel price to get the fuel cost.

[0011] According to one aspect of the present invention, the method of calculating the distance between a departure place and a destination and the slope of the two places based on the latitude and longitude coordinates and the altitude of the departure place and the destination includes: disassembling the departure place and the destination according to a predetermined interval distance; calculating the altitude of each interval point using the longitude and latitude coordinates; and calculating the slope of adjacent interval points.

[0012] According to one aspect of the present invention, the decomposition of the departure place and the destination according to a predetermined interval distance includes: first, calculating the distance and azimuth between the two places based on the longitude and latitude coordinates; then, performing cutting processing along the azimuth based on a predetermined cutting interval, splitting into multiple cutting points, obtaining the longitude and latitude coordinates of the cutting points, and combining the points of the departure place and the destination with the dividing points as interval points.

[0013] According to one aspect of the present invention, in calculating the altitude of each interval point using the latitude and longitude coordinates, the altitude of the interval point is the altitude of the nearest city within a predetermined range thereof.

[0014] According to one aspect of the present invention, the fuel consumption corresponding to the journey from the departure point to the destination is obtained based on the relationship between the slope and the fuel consumption, and q is obtained using the following formula:

[0015] Among them, i n is the slope between the nth adjacent interval points, C is the slope calculation constant, and E is the fuel consumption calculation constant;

[0016] The number of interval points from the departure point to the destination is m, and the distance between the interval points is k. Therefore, the fuel consumption from the departure point to the destination is:

[0017]

[0018] Where n=m-1.

[0019] A method for generating a multi-factor freight cost, the method comprising the following steps:

[0020] Get the departure point and destination, and obtain the latitude and longitude coordinates of the departure point and destination as well as the altitude of the departure point and destination through the map;

[0021] Calculate the distance between the departure point and the destination and the slope between the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination;

[0022] Obtain the corresponding fuel cost from the departure point to the destination according to the relationship between the slope and fuel consumption;

[0023] Obtain vehicle insurance premiums, vehicle depreciation fees and highway fees for freight vehicles;

[0024] Get driver wages based on the distance between origin and destination;

[0025] Generate freight costs based on vehicle insurance, vehicle depreciation, highway tolls, driver wages and fuel costs.

[0026] According to one aspect of the present invention, the method of obtaining vehicle insurance premiums, vehicle depreciation fees and highway fees of freight vehicles includes: obtaining the vehicle type of the freight vehicle, and obtaining the oil price, vehicle insurance, vehicle purchase price, depreciation period, driver salary and average fuel consumption per 100 kilometers corresponding to the vehicle type according to the vehicle type.

[0027] According to one aspect of the present invention, the method of obtaining the highway tolls of freight vehicles includes: obtaining the average highway tolls of each vehicle type through a preset database; if the highway distance is less than the driving distance, taking the highway toll of the vehicle type, otherwise, calculating the highway toll of the driving distance.

[0028] According to one aspect of the present invention, obtaining the driver's salary based on the distance between the departure place and the destination includes: presetting the driver's driving rules and calculating the driving time according to the driving rules; specifically, the calculation is performed in the following manner:

[0029]

[0030] Among them, x is the driving time, y is the driving time, dl is the long driving time, ds is the short driving time, and rs is the rest time of short driving.

[0031] According to one aspect of the present invention, the step of calculating the slopes of the departure place and the destination based on the latitude and longitude coordinates and the altitude of the departure place and the destination includes: correcting the up and down slope data using an adjustment coefficient.

[0032] Advantages of the implementation of the present invention: The present invention analyzes the impact of road slope on the fuel cost of trucks from the perspective of road slope. In fact, if the truck is in the uphill stage, it will consume more fuel than on a flat road. To this end, this invention refines the impact of road slope on fuel consumption, and uses a cutting method to divide the area between two points into multiple interval points along the azimuth, and adjacent interval points form a small section of road. For a series of segmentation points, the distance between city nodes within the surrounding range of the segmentation points is calculated, and then the altitude of the city closest to the segmentation point is selected as the altitude of the point. Based on the altitude of the interval points, the road slope of the adjacent points is calculated to obtain the fuel consumption of the truck caused by each slope; then calculate the labor cost, vehicle insurance premium, vehicle depreciation, fuel cost, and highway fee, and combine the costs to obtain the freight logistics cost.

[0033] In the past, truck freight was calculated based on the driving time of the truck and the expenses incurred during the driving process. However, there are truck insurance and truck loss that are only related to the time of truck loss. The present invention optimizes the driving time of truck transportation. Usually, the driving time is less than the driving time. Every once in a while, there will be a short break of a few hours during the driving time to avoid driver fatigue. To this end, the driving time of the vehicle is optimized by adjusting the relationship between the driving time and the driving time, which provides more accurate cost expenditures for calculating vehicle insurance and vehicle depreciation, and improves the accuracy of freight costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 A schematic diagram of a method for generating fuel costs based on road slope according to the present invention;

[0036] Figure 2 This is a schematic diagram of a method for generating multi-factor freight costs according to the present invention. DETAILED DESCRIPTION

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

[0038] Embodiment 1

[0039] like Figure 1 As shown, a method for generating fuel costs based on road slope comprises the following steps:

[0040] Step S1: Obtain the departure place and the destination, and obtain the latitude and longitude coordinates of the departure place and the destination and the altitude of the departure place and the destination respectively through a map;

[0041] First, before obtaining the departure and destination, you need to perform the following steps:

[0042] Step S11: Data preparation, developing a Python program to call the map API interface to download logistics data and city altitude data, and using Python for data preprocessing.

[0043] Step S12: According to the departure place and destination input by the front end, the map data is accessed through the Flask backend interface to query the corresponding longitude and latitude coordinates, and the specific distance and time efficiency between the two places are searched from the map data; the map data can be Baidu map data, Tencent map data, Amap data, etc.

[0044] In this embodiment, a Python program can be used to call the city interface, read the city altitude data, query the altitudes of the departure and destination, and use ETL tools to process abnormal data. The altitude of the county-level city is the same as that of the prefecture-level city.

[0045] Step S2: Calculate the distance between the departure point and the destination and the slope of the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination;

[0046] The step S2 calculates the distance between the departure place and the destination and the slope between the two places based on the latitude and longitude coordinates and the altitude of the departure place and the destination, including: disassembling the departure place and the destination according to the predetermined interval distance; calculating the altitude of each interval point using the latitude and longitude coordinates; and calculating the slope of adjacent interval points.

[0047] In this embodiment, the decomposition of the departure place and the destination according to a predetermined interval distance includes: first, calculating the distance and azimuth between the two places based on the longitude and latitude coordinates; then, performing cutting processing along the azimuth based on a predetermined cutting interval, splitting into multiple cutting points, obtaining the longitude and latitude coordinates of the cutting points, and combining the points of the departure place and the destination with the dividing points as interval points.

[0048] In this embodiment, the altitude of each interval point is calculated using the latitude and longitude coordinates, and the altitude of the interval point is the altitude of the nearest city within the predetermined range. In practical applications, the range can be initialized to specify an initial value, so that if there are no adjacent points within the range, the range is gradually expanded to find adjacent points.

[0049] In this embodiment, the slopes of the two places are calculated based on the altitude, and the upper and lower slope data are corrected using the adjustment coefficient.

[0050] In practical applications, a Python program is developed to decompose the two places according to the specified interval distance, calculate the distance and azimuth of the two places based on the longitude and latitude coordinates, split them into multiple cutting points along the azimuth, obtain the longitude and latitude coordinates of the cutting points, and combine the points of the departure and destination with the split points as the interval points. The altitude of the interval points is calculated using the longitude and latitude coordinates, and the slope of the adjacent interval points is calculated.

[0051] Step S3: Obtaining the corresponding fuel consumption from the departure point to the destination according to the relationship between the slope and the fuel consumption;

[0052] In step S3, the corresponding fuel consumption from the departure point to the destination is obtained according to the relationship between the slope and the fuel consumption, and the fuel consumption q is obtained by using the following formula:

[0053] Among them, i n is the slope between the nth adjacent interval points, C is the slope calculation constant, E is the fuel consumption calculation constant; the unit of q is L / Km.

[0054] The number of interval points from the departure point to the destination is m, and the distance between the interval points is k. Therefore, the fuel consumption from the departure point to the destination is:

[0055]

[0056] Where n=m-1.

[0057] In this embodiment, C is 80 and E is 4.3.

[0058] Step S4: Multiply the obtained fuel consumption by the current fuel price to obtain the fuel cost.

[0059] From the perspective of road slope, the impact of road slope on the fuel cost of trucks is analyzed. In fact, if the truck is in the uphill stage, it will consume more fuel than on a flat road. To this end, this invention refines the impact of road slope on fuel consumption, and uses a cutting method to divide the area between two points into multiple interval points along the azimuth, and adjacent interval points form a small section of road. For a series of segmentation points, the distance between city nodes within the surrounding range of the segmentation points is calculated, and then the altitude of the city closest to the segmentation point is selected as the altitude of the point. Based on the altitude of the interval point, the road slope of the adjacent point is calculated to obtain the fuel consumption of the truck caused by each slope.

[0060] Embodiment 2

[0061] like Figure 2 As shown, a method for generating a multi-factor freight cost is provided, and the multi-factor freight cost generation method comprises the following steps:

[0062] Step S1: Obtain the departure place and the destination, and obtain the latitude and longitude coordinates of the departure place and the destination and the altitude of the departure place and the destination respectively through a map;

[0063] First, before obtaining the departure and destination, you need to perform the following steps:

[0064] Step S11: Data preparation, developing a Python program to call the map API interface to download logistics data and city altitude data, and using Python for data preprocessing.

[0065] Step S12: According to the departure place and destination input by the front end, the map data is accessed through the Flask backend interface to query the corresponding longitude and latitude coordinates, and the specific distance and time efficiency between the two places are searched from the map data; the map data can be Baidu map data, Tencent map data, Amap data, etc.

[0066] In this embodiment, a Python program can be used to call the city interface, read the city altitude data, query the altitudes of the departure and destination, and use ETL tools to process abnormal data. The altitude of the county-level city is the same as that of the prefecture-level city.

[0067] Step S2: Calculate the distance between the departure point and the destination and the slope of the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination;

[0068] The step S2 calculates the distance between the departure place and the destination and the slope between the two places based on the latitude and longitude coordinates and the altitude of the departure place and the destination, including: disassembling the departure place and the destination according to the predetermined interval distance; calculating the altitude of each interval point using the latitude and longitude coordinates; and calculating the slope of adjacent interval points.

[0069] In this embodiment, the decomposition of the departure place and the destination according to a predetermined interval distance includes: first, calculating the distance and azimuth between the two places based on the longitude and latitude coordinates; then, performing cutting processing along the azimuth based on a predetermined cutting interval, splitting into multiple cutting points, obtaining the longitude and latitude coordinates of the cutting points, and combining the points of the departure place and the destination with the dividing points as interval points.

[0070] In this embodiment, the altitude of each interval point is calculated using the latitude and longitude coordinates, and the altitude of the interval point is the altitude of the nearest city within the predetermined range. In practical applications, the range can be initialized to specify an initial value, so that if there are no adjacent points within the range, the range is gradually expanded to find adjacent points.

[0071] In this embodiment, the slopes of the two places are calculated based on the altitude, and the upper and lower slope data are corrected using the adjustment coefficient.

[0072] In practical applications, a Python program is developed to decompose the two places according to the specified interval distance, calculate the distance and azimuth of the two places based on the longitude and latitude coordinates, split them into multiple cutting points along the azimuth, obtain the longitude and latitude coordinates of the cutting points, and combine the points of the departure and destination with the split points as the interval points. The altitude of the interval points is calculated using the longitude and latitude coordinates, and the slope of the adjacent interval points is calculated.

[0073] Step S3: Obtaining the corresponding fuel cost from the departure point to the destination according to the relationship between the slope and the fuel consumption;

[0074] The step S3 of obtaining the corresponding fuel cost from the departure point to the destination according to the relationship between the slope and the fuel consumption specifically includes the following steps:

[0075] Step S31: Obtaining the corresponding fuel consumption from the departure point to the destination according to the relationship between the slope and the fuel consumption;

[0076] The step S31 obtains the corresponding fuel consumption from the departure point to the destination according to the relationship between the slope and the fuel consumption, and obtains the fuel consumption q using the following formula:

[0077] Among them, i n is the slope between the nth adjacent interval points, C is the slope calculation constant, E is the fuel consumption calculation constant; the unit of q is L / Km.

[0078] The number of interval points from the departure point to the destination is m, and the distance between the interval points is k. Therefore, the fuel consumption from the departure point to the destination is:

[0079]

[0080] Where n=m-1.

[0081] In this embodiment, C is 80 and E is 4.3.

[0082] Step S32: Multiply the obtained fuel consumption by the current fuel price to obtain the fuel cost.

[0083] Step S4: Obtain the vehicle insurance premium, vehicle depreciation fee and highway fee of the freight vehicle;

[0084] The step S4 of obtaining the vehicle insurance premium, vehicle depreciation fee and highway fee of the freight vehicle includes: obtaining the vehicle type of the freight vehicle, and obtaining the oil price, vehicle insurance, vehicle purchase price, depreciation period, driver salary and average fuel consumption per 100 kilometers corresponding to the vehicle type according to the vehicle type.

[0085] In this embodiment, the front-end inputs the type of freight vehicle, and the back-end Flask interface calls to query the oil price, vehicle insurance, vehicle purchase price, depreciation period, driver salary, and average fuel consumption per 100 kilometers of the specified vehicle type in China, and processes its default value. If there is an input value, the corresponding value is taken, otherwise the corresponding default value of the database is loaded. There are four types of trucks: small trucks, medium trucks, large trucks, and extra-large trucks.

[0086] The method of obtaining the highway fee of the freight vehicle includes: obtaining the average highway fee of each vehicle type through a preset database; if the highway distance is less than the driving distance, taking the highway fee of the vehicle type, otherwise, calculating the highway fee of the driving distance.

[0087] In this embodiment, the backend retrieves the highway fee data from the database to calculate the average highway fee of four types of trucks. The highway fee of a specific truck model is associated. If there is no corresponding highway fee data for a specified truck model, the corresponding average highway fee is taken as the highway fee of the model. If the highway distance is less than the driving distance, the highway fee of the model is taken, otherwise, the highway fee of the driving distance is calculated. Step S5: Obtain the driver's salary based on the distance between the departure point and the destination;

[0088] The step S5 of obtaining the driver's salary based on the distance between the departure place and the destination includes: presetting the driver's driving rules and calculating the driving time according to the driving rules; taking a rest for a few hours after driving for a period of time to avoid fatigue driving, and the driving time is greater than the driving time.

[0089] The specific calculation method is as follows:

[0090]

[0091] Among them, x is the driving time, y is the driving time, dl is the long driving time, ds is the short driving time, and rs is the rest time of short driving.

[0092] Step S6: Generate freight costs based on vehicle insurance, vehicle depreciation, highway tolls, driver wages and fuel costs.

[0093] In this embodiment, the average driver salary, the average vehicle insurance premium, and the average vehicle depreciation are calculated, and the driver salary, vehicle insurance premium, and vehicle depreciation are calculated based on the travel time and the driving time, respectively.

[0094] In this example, a large truck is sent from Shanghai to Jinan, Shandong. The driver's salary is 402.89, the vehicle insurance is 10.82, the vehicle depreciation is 57.9, the fuel is 2443.52, the highway fee is 1053.82, and the total freight is 3968.95. Compared with the total freight of 3450.39 without considering the impact of road conditions, the fuel cost has increased by 518.56.

[0095] Advantages of the implementation of the present invention: The present invention analyzes the impact of road slope on the fuel cost of trucks from the perspective of road slope. In fact, if the truck is in the uphill stage, it will consume more fuel than on a flat road. To this end, this invention refines the impact of road slope on fuel consumption, and uses a cutting method to divide the area between two points into multiple interval points along the azimuth, and adjacent interval points form a small section of road. For a series of segmentation points, the distance between city nodes within the surrounding range of the segmentation points is calculated, and then the altitude of the city closest to the segmentation point is selected as the altitude of the point. Based on the altitude of the interval points, the road slope of the adjacent points is calculated to obtain the fuel consumption of the truck caused by each slope; then calculate the labor cost, vehicle insurance premium, vehicle depreciation, fuel cost, and highway fee, and combine the costs to obtain the freight logistics cost.

[0096] In the past, truck freight was calculated based on the driving time of the truck and the expenses incurred during the driving process. However, there are truck insurance and truck loss that are only related to the time of truck loss. The present invention optimizes the driving time of truck transportation. Usually, the driving time is less than the driving time. Every once in a while, there will be a short break of a few hours during the driving time to avoid driver fatigue. To this end, the driving time of the vehicle is optimized by adjusting the relationship between the driving time and the driving time, which provides more accurate cost expenditures for calculating vehicle insurance and vehicle depreciation, and improves the accuracy of freight costs.

[0097] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for generating fuel costs based on road slope, characterized in that: The method comprises the following steps: Get the departure point and destination, and obtain the latitude and longitude coordinates of the departure point and destination as well as the altitude of the departure point and destination through the map; Calculate the distance between the departure point and the destination and the slope between the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination; According to the relationship between slope and fuel consumption, the corresponding fuel consumption from the departure point to the destination is obtained; Multiply the obtained fuel consumption by the current fuel price to get the fuel cost.

2. The method for generating fuel costs based on road slope according to claim 1, characterized in that: The method of calculating the distance between the departure place and the destination and the slope between the two places based on the latitude and longitude coordinates and the altitude of the departure place and the destination includes: disassembling the departure place and the destination according to a predetermined interval distance; calculating the altitude of each interval point using the latitude and longitude coordinates; and calculating the slope of adjacent interval points.

3. The method for generating fuel costs based on road slope according to claim 2, characterized in that: The method of splitting the departure place and the destination according to a predetermined interval distance includes: first, calculating the distance and azimuth between the two places based on the longitude and latitude coordinates; then, performing cutting processing along the azimuth based on a predetermined cutting interval, splitting into multiple cutting points, obtaining the longitude and latitude coordinates of the cutting points, and combining the points of the departure place and the destination with the splitting points as interval points.

4. The method for generating fuel costs based on road slope according to claim 2, characterized in that: In the calculation of the altitude of each interval point using the latitude and longitude coordinates, the altitude of the interval point is the altitude of the nearest city within the predetermined range.

5. The method for generating fuel costs based on road slope according to any one of claims 1 to 4, characterized in that: The fuel consumption from the departure point to the destination is obtained according to the relationship between the slope and the fuel consumption, and the fuel consumption q at the interval point is obtained using the following formula: Among them, i n is the slope between the nth adjacent interval points, C is the slope calculation constant, and E is the fuel consumption calculation constant; The number of interval points from the departure point to the destination is m, and the distance between the interval points is k. Therefore, the fuel consumption from the departure point to the destination is Where n=m-1.

6. A method for generating multi-factor freight costs, characterized in that: The multi-factor freight cost generation method comprises the following steps: Get the departure point and destination, and obtain the latitude and longitude coordinates of the departure point and destination as well as the altitude of the departure point and destination through the map; Calculate the distance between the departure point and the destination and the slope between the two places based on the latitude and longitude coordinates and altitude of the departure point and the destination; Obtain the corresponding fuel cost from the departure point to the destination according to the relationship between the slope and fuel consumption; Obtain vehicle insurance premiums, vehicle depreciation fees and highway fees for freight vehicles; Get driver wages based on the distance between origin and destination; Generate freight costs based on vehicle insurance, vehicle depreciation, highway tolls, driver wages and fuel costs.

7. The multi-factor freight cost generation method according to claim 6, characterized in that: The method of obtaining the vehicle insurance premium, vehicle depreciation fee and highway fee of the freight vehicle includes: obtaining the vehicle type of the freight vehicle, and obtaining the oil price, vehicle insurance, vehicle purchase price, depreciation period, driver salary and average fuel consumption per 100 kilometers corresponding to the vehicle type according to the vehicle type.

8. The multi-factor freight cost generation method according to claim 7, characterized in that: The method of obtaining the highway fee of the freight vehicle includes: obtaining the average highway fee of each vehicle type through a preset database; if the highway distance is less than the driving distance, taking the highway fee of the vehicle type, otherwise, calculating the highway fee of the driving distance.

9. The multi-factor freight cost generation method according to claim 6, characterized in that: The method of obtaining the driver's salary based on the distance between the departure place and the destination includes: presetting the driver's driving rules and calculating the driving time according to the driving rules; the specific calculation method is as follows: Among them, x is the driving time, y is the driving time, dl is the long driving time, ds is the short driving time, and rs is the rest time of short driving.

10. The multi-factor freight cost generation method according to any one of claims 6 to 9, characterized in that: The step of calculating the slopes of the departure place and the destination based on the latitude and longitude coordinates and the altitude of the departure place and the destination includes: correcting the up and down slope data using an adjustment coefficient.