A petrochemical logistics monitoring method
By generating and optimizing the driving paths of petrochemical logistics orders, the problem of transportation path adjustment in the petrochemical logistics industry is solved, the safety and punctuality of petrochemical product transportation is achieved, and transportation efficiency is improved.
Patent Information
- Application Number
- CN202410031062.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-01-08
AI Technical Summary
Due to the dangers of transporting petrochemical products, the petrochemical logistics industry requires real-time monitoring of transportation routes to ensure safe and on-time arrival. However, existing technology makes it difficult to effectively optimize and adjust transportation routes and improve transportation safety.
By obtaining the distribution starting point and end point of the petrochemical product logistics order, multiple reference driving paths are generated, and the optimal driving path is determined based on the distribution difficulty coefficient to determine whether the vehicle's current position is in the generated path. If not, the shortest offset distance is used to determine the backup path. Choose a path and adjust the route to ensure safe driving of the vehicle.
Real-time monitoring of whether delivery vehicles for petrochemical product logistics orders are running normally is achieved, optimal routes are selected, risks during transportation are reduced, and petrochemical product transportation safety and efficiency are improved.
Smart Images

Figure CN117993812B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of logistics monitoring, and in particular relates to a petrochemical logistics monitoring method. Background Art
[0002] The petrochemical logistics industry refers to a system that provides transportation for petrochemical products including refined oil, alcohols, aromatics, esters, ethers, ketones and other liquid chemicals. It is a link between the suppliers and demanders of petrochemical products. The development of the petrochemical industry has driven the progress of the petrochemical logistics industry, and the petrochemical logistics industry has also provided strong guarantees and driving force for the development of the petrochemical industry.
[0003] In simple terms, petrochemical logistics means that after receiving an order, a vehicle is dispatched to the supplier to load the chemical compound, and then the chemical compound is transported to the destination, and a receipt is made (i.e., the quantity, price, and receipt of the chemical compound at the destination are confirmed), thus completing an order process. The above process requires a transport vehicle to transport the tank container to the supplier or destination. However, since petrochemical products themselves have the characteristics of dangerous goods, the logistics and transportation process of petrochemical products needs to be monitored in real time to determine whether the transportation route is normal and to ensure its safe and timely arrival. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes a petrochemical logistics monitoring method.
[0005] The technical solution of the present invention is: a petrochemical logistics monitoring method comprises the following steps:
[0006] S1. Obtain the delivery starting point and delivery destination of the petrochemical product logistics order and the current location of the delivery vehicle of the petrochemical product logistics order;
[0007] S2. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a number of reference driving paths are obtained, a residual delivery function of each reference driving path is generated, and a delivery difficulty coefficient of each reference driving path is determined according to the residual delivery function of each reference driving path;
[0008] S3. Determine the optimized driving path for the petrochemical product logistics order based on the positional relationship between the current position of the delivery vehicle and each reference driving path and the delivery difficulty coefficient of each reference driving path.
[0009] Furthermore, S2 includes the following sub-steps:
[0010] S21. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a plurality of reference driving routes are obtained in the electronic map;
[0011] S22, generating a dynamic driving angle for each reference driving path;
[0012] S23, generating a residual distribution function for each reference driving path according to the dynamic driving angle of each reference driving path;
[0013] S24. Determine the delivery difficulty coefficient of each reference driving path according to the residual delivery function of each reference driving path.
[0014] The beneficial effect of the above further scheme is: in the present invention, the existing electronic map (automatic map software on the mobile terminal) is used to generate multiple driving routes that can be used as reference for petrochemical product logistics orders, and then an optimal route is determined from the multiple reference driving routes. Therefore, the present invention generates a delivery difficulty coefficient for each reference driving route. The delivery difficulty coefficient takes into account the impact of delivery cost and delivery distance, which is convenient for subsequent steps to screen and optimize driving routes.
[0015] Furthermore, in S22, the specific method for generating the dynamic driving angle of the reference driving path is: connecting the delivery starting point of the petrochemical product logistics order with the midpoint of the reference driving path to form a first path segment, and connecting the delivery end point of the petrochemical product logistics order with the midpoint of the reference driving path to form a second path segment; and taking the minimum angle formed by the first path segment and the second path segment as the dynamic driving angle.
[0016] Furthermore, in S23, the specific method for generating the residual distribution function F of the reference driving path is: taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the distribution start point and the distribution end point in the rectangular coordinate system, and generating the residual distribution function F of the reference driving path, the expression of which is:
[0017]
[0018] In the formula, x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j It represents the ordinate of the delivery destination in the rectangular coordinate system, L represents the driving distance of the reference driving path, and θ represents the dynamic driving angle of the reference driving path.
[0019] Furthermore, in S24, the calculation formula of the delivery difficulty coefficient D of the reference driving route is:
[0020]
[0021] Where F represents the residual distribution function of the reference driving path, M1 represents the driving cost of the reference driving path, and M2 represents the labor cost of the reference driving path.
[0022] Furthermore, S3 includes the following sub-steps:
[0023] S31, determine whether the current position of the delivery vehicle is in any reference driving path, if so, proceed to S32, otherwise proceed to S33;
[0024] S32, using the reference driving path at the current location of the delivery vehicle as the optimized driving path for the petrochemical product logistics order, and ending the logistics monitoring;
[0025] S33, generating an offset distance between the current position of the delivery vehicle and each reference driving path according to the current position of the delivery vehicle and the delivery difficulty coefficient of each reference driving path, and taking the reference driving path with the shortest offset distance as an alternative driving path;
[0026] S34. In the alternative driving paths, determine the location with the shortest straight-line distance to the current location of the delivery vehicle as the optimization node;
[0027] S35, determining a first segment of the driving path between the current position of the delivery vehicle and the optimization node;
[0028] S36, taking the remaining driving path between the optimization node and the delivery destination in the alternative driving path as the second segment driving path;
[0029] S37: Use the first segment driving path and the second segment driving path as the optimized driving path.
[0030] The beneficial effect of the above further scheme is: in the present invention, the current position of the delivery vehicle is not necessarily in the multiple reference driving paths generated in the electronic map in step S2, so the present invention first makes a judgment. If the current position of the delivery vehicle is in a certain reference driving path generated in the electronic map in step S2, then it can directly drive along the route. If the current position of the delivery vehicle is not in a certain reference driving path generated in the electronic map in step S2, then it is first necessary to determine the closest reference driving path to the delivery vehicle (determined by the shortest offset distance), that is, the alternative driving path, and then determine a position in the alternative driving path, that is, the optimization node, so that the delivery vehicle can drive directly to the optimization node, and then drive along the remaining path of the optimization node in the alternative driving path. This can reduce the process of path planning and improve vehicle monitoring efficiency.
[0031] Furthermore, in S33, the offset distance is generated by taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the current position of the delivery vehicle, the delivery starting point, and the delivery end point in the rectangular coordinate system, and generating an offset distance S between the current position of the delivery vehicle and the reference driving path, and the calculation formula is:
[0032]
[0033] In the formula, x represents the horizontal coordinate of the current position of the delivery vehicle in the rectangular coordinate system, y represents the vertical coordinate of the current position of the delivery vehicle in the rectangular coordinate system, and x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j represents the ordinate of the delivery destination in the rectangular coordinate system, max[·] represents the maximum value operation, l1 represents the straight-line distance between the current position of the delivery vehicle and the delivery starting point, l2 represents the straight-line distance between the current position of the delivery vehicle and the delivery destination, and D represents the delivery difficulty coefficient of the reference driving path.
[0034] Further, S35 includes the following sub-steps:
[0035] S351. In the electronic map, generate a plurality of optional segment driving paths between the current position of the delivery vehicle and the optimization node;
[0036] S352, calculating the segment consumption coefficient of each optional segment driving path;
[0037] S353: Use the optional segment driving path with the smallest segment consumption coefficient as the first segment driving path.
[0038] Furthermore, in S352, the calculation formula of the fragment consumption coefficient H is:
[0039]
[0040] Wherein, M3 represents the driving cost of the optional segment driving path, M4 represents the labor cost of the optional segment driving path, s represents the driving distance of the optional segment driving path, s represents the driving time of the optional segment driving path, and e represents the index.
[0041] The beneficial effects of the present invention are as follows: the present invention discloses a petrochemical logistics monitoring method, which monitors in real time whether the delivery vehicles of the petrochemical product logistics orders are operating normally, selects the optimal route for the delivery vehicles from multiple reference driving routes generated by existing software, and fully considers the driving cost of each reference driving route in the entire logistics monitoring process, determines the delivery difficulty coefficient of each reference driving route, and on this basis, also judges whether the delivery vehicle is in the reference driving route generated by the existing software, and adjusts the route of the delivery vehicle that deviates from the optimal route in time, ensuring that the delivery vehicle safely and accurately drives on the optimal route, reducing the possibility of danger in the logistics transportation process, and improving the safety of petrochemical product transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 Flow chart of petrochemical logistics monitoring method. DETAILED DESCRIPTION
[0043] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0044] like Figure 1 As shown, the present invention provides a petrochemical logistics monitoring method, comprising the following steps:
[0045] S1. Obtain the delivery starting point and delivery destination of the petrochemical product logistics order and the current location of the delivery vehicle of the petrochemical product logistics order;
[0046] S2. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a number of reference driving paths are obtained, a residual delivery function of each reference driving path is generated, and a delivery difficulty coefficient of each reference driving path is determined according to the residual delivery function of each reference driving path;
[0047] S3. Determine the optimized driving path for the petrochemical product logistics order based on the positional relationship between the current position of the delivery vehicle and each reference driving path and the delivery difficulty coefficient of each reference driving path.
[0048] In this embodiment of the present invention, S2 includes the following sub-steps:
[0049] S21. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a plurality of reference driving routes are obtained in the electronic map;
[0050] S22, generating a dynamic driving angle for each reference driving path;
[0051] S23, generating a residual distribution function for each reference driving path according to the dynamic driving angle of each reference driving path;
[0052] S24. Determine the delivery difficulty coefficient of each reference driving path according to the residual delivery function of each reference driving path.
[0053] In the present invention, an existing electronic map (automatic map software on a mobile terminal) is used to generate multiple driving routes that can be used as references for petrochemical product logistics orders, and then an optimal route is determined from the multiple reference driving routes. Therefore, the present invention generates a delivery difficulty coefficient for each reference driving route. The delivery difficulty coefficient takes into account the impact of delivery costs and delivery distances, which facilitates the subsequent steps of screening and optimizing driving routes.
[0054] In an embodiment of the present invention, in S22, the specific method for generating the dynamic driving angle of the reference driving path is: connecting the delivery starting point of the petrochemical product logistics order with the midpoint of the reference driving path to form a first path segment, and connecting the delivery end point of the petrochemical product logistics order with the midpoint of the reference driving path to form a second path segment; the minimum angle formed by the first path segment and the second path segment is used as the dynamic driving angle.
[0055] In the embodiment of the present invention, in S23, the specific method for generating the residual distribution function F of the reference driving path is: taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the distribution start point and the distribution end point in the rectangular coordinate system, and generating the residual distribution function F of the reference driving path, which is expressed as:
[0056]
[0057] In the formula, x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j It represents the ordinate of the delivery destination in the rectangular coordinate system, L represents the driving distance of the reference driving path, and θ represents the dynamic driving angle of the reference driving path.
[0058] In the embodiment of the present invention, in S24, the calculation formula of the delivery difficulty coefficient D of the reference driving path is:
[0059]
[0060] Where F represents the residual distribution function of the reference driving path, M1 represents the driving cost of the reference driving path, and M2 represents the labor cost of the reference driving path.
[0061] In this embodiment of the present invention, S3 includes the following sub-steps:
[0062] S31, determine whether the current position of the delivery vehicle is in any reference driving path, if so, proceed to S32, otherwise proceed to S33;
[0063] S32, using the reference driving path at the current location of the delivery vehicle as the optimized driving path for the petrochemical product logistics order, and ending the logistics monitoring;
[0064] S33, generating an offset distance between the current position of the delivery vehicle and each reference driving path according to the current position of the delivery vehicle and the delivery difficulty coefficient of each reference driving path, and taking the reference driving path with the shortest offset distance as an alternative driving path;
[0065] S34. In the alternative driving paths, determine the location with the shortest straight-line distance to the current location of the delivery vehicle as the optimization node;
[0066] S35, determining a first segment of the driving path between the current position of the delivery vehicle and the optimization node;
[0067] S36, taking the remaining driving path between the optimization node and the delivery destination in the alternative driving path as the second segment driving path;
[0068] S37: Use the first segment driving path and the second segment driving path as the optimized driving path.
[0069] In the present invention, the current position of the delivery vehicle is not necessarily in the multiple reference driving paths generated in the electronic map in step S2, so the present invention first makes a judgment. If the current position of the delivery vehicle is in a certain reference driving path generated in the electronic map in step S2, then it can directly follow the route. If the current position of the delivery vehicle is not in a certain reference driving path generated in the electronic map in step S2, then it is necessary to first determine the closest reference driving path to the delivery vehicle (determined by the shortest offset distance), that is, the alternative driving path, and then determine a position in the alternative driving path, that is, the optimization node, so that the delivery vehicle can directly drive to the optimization node, and then drive according to the remaining path of the optimization node in the alternative driving path. This can reduce the process of path planning and improve vehicle monitoring efficiency.
[0070] In the embodiment of the present invention, in S33, the method for generating the offset distance is specifically as follows: taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the current position of the delivery vehicle, the delivery starting point, and the delivery end point in the rectangular coordinate system, and generating the offset distance S between the current position of the delivery vehicle and the reference driving path, and the calculation formula thereof is:
[0071]
[0072] In the formula, x represents the horizontal coordinate of the current position of the delivery vehicle in the rectangular coordinate system, y represents the vertical coordinate of the current position of the delivery vehicle in the rectangular coordinate system, and x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j represents the ordinate of the delivery destination in the rectangular coordinate system, max[·] represents the maximum value operation, l1 represents the straight-line distance between the current position of the delivery vehicle and the delivery starting point, l2 represents the straight-line distance between the current position of the delivery vehicle and the delivery destination, and D represents the delivery difficulty coefficient of the reference driving path.
[0073] In this embodiment of the present invention, S35 includes the following sub-steps:
[0074] S351. In the electronic map, generate a plurality of optional segment driving paths between the current position of the delivery vehicle and the optimization node;
[0075] S352, calculating the segment consumption coefficient of each optional segment driving path;
[0076] S353: Use the optional segment driving path with the smallest segment consumption coefficient as the first segment driving path.
[0077] In the embodiment of the present invention, in S352, the calculation formula of the fragment consumption coefficient H is:
[0078]
[0079] Wherein, M3 represents the driving cost of the optional segment driving path, M4 represents the labor cost of the optional segment driving path, s represents the driving distance of the optional segment driving path, s represents the driving time of the optional segment driving path, and e represents the index.
[0080] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A petrochemical logistics monitoring method, characterized in that: The following steps are involved: S1. Obtain the delivery starting point and delivery destination of the petrochemical product logistics order and the current location of the delivery vehicle of the petrochemical product logistics order; S2. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a number of reference driving paths are obtained, a residual delivery function of each reference driving path is generated, and a delivery difficulty coefficient of each reference driving path is determined according to the residual delivery function of each reference driving path; S3, determining the optimized driving path for the petrochemical product logistics order according to the positional relationship between the current position of the delivery vehicle and each reference driving path and the delivery difficulty coefficient of each reference driving path; The S2 comprises the following sub-steps: S21. According to the delivery starting point and delivery destination of the petrochemical product logistics order, a plurality of reference driving routes are obtained in the electronic map; S22, generating a dynamic driving angle for each reference driving path; S23, generating a residual distribution function for each reference driving path according to the dynamic driving angle of each reference driving path; S24, determining a delivery difficulty coefficient of each reference driving path according to the residual delivery function of each reference driving path; In the S22, the specific method of generating the dynamic driving angle of the reference driving path is: connecting the delivery starting point of the petrochemical product logistics order with the midpoint of the reference driving path to form a first path segment, connecting the delivery end point of the petrochemical product logistics order with the midpoint of the reference driving path to form a second path segment; and using the minimum angle formed by the first path segment and the second path segment as the dynamic driving angle; In S23, the specific method for generating the residual distribution function F of the reference driving path is: taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the distribution start point and the distribution end point in the rectangular coordinate system, and generating the residual distribution function F of the reference driving path, which is expressed as: In the formula, x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j represents the ordinate of the delivery destination in the rectangular coordinate system, L represents the driving distance of the reference driving path, and θ represents the dynamic driving angle of the reference driving path; In the above S24, the calculation formula of the delivery difficulty coefficient D of the reference driving route is: Where F represents the residual distribution function of the reference driving path, M1 represents the driving cost of the reference driving path, and M2 represents the labor cost of the reference driving path.
2. The petrochemical logistics monitoring method according to claim 1, characterized in that: The S3 comprises the following sub-steps: S31, determine whether the current position of the delivery vehicle is in any reference driving path, if so, proceed to S32, otherwise proceed to S33; S32, using the reference driving path at the current location of the delivery vehicle as the optimized driving path for the petrochemical product logistics order, and ending the logistics monitoring; S33, generating an offset distance between the current position of the delivery vehicle and each reference driving path according to the current position of the delivery vehicle and the delivery difficulty coefficient of each reference driving path, and taking the reference driving path with the shortest offset distance as an alternative driving path; S34. In the alternative driving paths, determine the location with the shortest straight-line distance to the current location of the delivery vehicle as the optimization node; S35, determining a first segment of the driving path between the current position of the delivery vehicle and the optimization node; S36, taking the remaining driving path between the optimization node and the delivery destination in the alternative driving path as the second segment driving path; S37: Use the first segment driving path and the second segment driving path as the optimized driving path.
3. The petrochemical logistics monitoring method according to claim 2, characterized in that: In S33, the method for generating the offset distance is specifically as follows: taking the midpoint of the reference driving path as the origin, constructing a rectangular coordinate system, determining the coordinates of the current position of the delivery vehicle, the delivery starting point, and the delivery end point in the rectangular coordinate system, and generating the offset distance S between the current position of the delivery vehicle and the reference driving path, and the calculation formula thereof is: In the formula, x represents the horizontal coordinate of the current position of the delivery vehicle in the rectangular coordinate system, y represents the vertical coordinate of the current position of the delivery vehicle in the rectangular coordinate system, and x i Indicates the horizontal coordinate of the delivery starting point in the rectangular coordinate system, y i Indicates the ordinate of the delivery starting point in the rectangular coordinate system, x j Indicates the horizontal coordinate of the delivery destination in the rectangular coordinate system, y j represents the ordinate of the delivery destination in the rectangular coordinate system, max[·] represents the maximum value operation, l1 represents the straight-line distance between the current position of the delivery vehicle and the delivery starting point, l2 represents the straight-line distance between the current position of the delivery vehicle and the delivery destination, and D represents the delivery difficulty coefficient of the reference driving path.
4. The petrochemical logistics monitoring method according to claim 2, characterized in that: The S35 comprises the following sub-steps: S351. In the electronic map, generate a plurality of optional segment driving paths between the current position of the delivery vehicle and the optimization node; S352, calculating the segment consumption coefficient of each optional segment driving path; S353: Use the optional segment driving path with the smallest segment consumption coefficient as the first segment driving path.
5. The petrochemical logistics monitoring method according to claim 4, characterized in that: In S352, the calculation formula of the fragment consumption coefficient H is: Wherein, M3 represents the driving cost of the optional segment driving path, M4 represents the labor cost of the optional segment driving path, s represents the driving distance of the optional segment driving path, t represents the driving time of the optional segment driving path, and e represents the index.
Citation Information
Patent Citations
Logistics distribution path planning method based on intelligent optimization
CN110197311A
Logistics distribution path optimization method based on TMS system, storage medium and computer equipment
CN112001557A
Order delivery method and device, electronic equipment and storage medium
CN113673764A
Distribution path generation method and device, electronic equipment and storage medium
CN114254979A
Cold chain distribution path planning method and system based on carbon emission and mixed grey wolf
CN115511195A
