VEHICLE SCHEDULING METHOD, APPARATUS AND SYSTEM
20220364872 ยท 2022-11-17
Inventors
Cpc classification
G06Q10/047
PHYSICS
G08G1/202
PHYSICS
G06V10/774
PHYSICS
G01C21/3602
PHYSICS
G08G1/0175
PHYSICS
G01C21/3453
PHYSICS
International classification
G06V10/774
PHYSICS
Abstract
This disclosure discloses a vehicle scheduling method, apparatus and system, and relates to the field of scheduling. The method includes acquiring image information of each area; determining vehicle density information in each area according to the image information; configuring a first path cost corresponding to the path of each area according to the vehicle density information in each area; calculating a path value corresponding to each planning path among a plurality of planning paths from the starting position to at least one target position for a target vehicle, according to the first path cost configured for the path of each area; and determining an optimal planning path of the target vehicle by taking a minimum path value as a target.
Claims
1. A vehicle scheduling method, comprising: acquiring image information of each area; determining vehicle density information in each area according to the image information; configuring a first path cost corresponding to a path of each area according to the vehicle density information in each area; calculating a path value corresponding to each planning path among a plurality of planning paths from a starting position to at least one target position for a target vehicle, according to the first path cost configured for the path of each area; and determining an optimal planning path of the target vehicle by taking a minimum path value as a target.
2. The vehicle scheduling method according to claim 1, wherein the determining vehicle density information in each area according to the image information comprises: recognizing each vehicle according to the image information; counting a number of vehicles in each area; and determining the vehicle density information in each area according to the number of vehicles in each area.
3. The vehicle scheduling method according to claim 2, further comprising: acquiring a sample image; labeling a vehicle in the sample image; and training a vehicle recognition model by using the labeled image, to recognize the vehicle in the image information according to the trained vehicle recognition model.
4. The vehicle scheduling method according to claim 1, wherein the at least one target position comprises a plurality of target positions.
5. The vehicle scheduling method according to claim 4, wherein the calculating a path value corresponding to each planning path comprises: acquiring a priority of each target position; setting a second path cost for a path reaching each target position according to the priority of each target position; and calculating the path value corresponding to each planning path according to the first path cost configured for the path of each area and the second path cost set for the path reaching each target position.
6. The vehicle scheduling method according to claim 1, wherein the greater the vehicle density, the greater the first path cost configured for the path of the corresponding area.
7. The vehicle scheduling method according to claim 5, wherein the higher the priority, the smaller the second path cost configured for the path reaching the corresponding target position.
8.-10. (canceled)
11. A vehicle scheduling apparatus, comprising: a memory; and a processor coupled to the memory, the processor being configured to perform, based on instructions stored in the memory, a vehicle scheduling method comprising: acquiring image information of each area; determining vehicle density information in each area according to the image information; configuring a first path cost corresponding to a path of each area according to the vehicle density information in each area; calculating a path value corresponding to each planning path among a plurality of planning paths from a starting position to at least one target position for a target vehicle, according to the first path cost configured for the path of each area; and determining an optimal planning path of the target vehicle by taking a minimum path value as a target.
12. A vehicle scheduling system, comprising: the vehicle scheduling apparatus according to claim 8; and an image acquisition device configured to acquire image information of each area.
13. A non-transitory computer-readable storage medium having thereon stored computer program instructions which, when executed by a processor, implement a vehicle scheduling method comprising: acquiring image information of each area; determining vehicle density information in each area according to the image information; configuring a first path cost corresponding to a path of each area according to the vehicle density information in each area; calculating a path value corresponding to each planning path among a plurality of planning paths from a starting position to at least one target position for a target vehicle, according to the first path cost configured for the path of each area; and determining an optimal planning path of the target vehicle by taking a minimum path value as a target.
14. The vehicle scheduling apparatus according to claim 11, wherein the processor is further configured to perform steps of: recognizing each vehicle according to the image information; counting a number of vehicles in each area; and determining the vehicle density information in each area according to the number of vehicles in each area.
15. The vehicle scheduling apparatus according to claim 14, wherein the processor is further configured to perform steps of: acquiring a sample image; labeling a vehicle in the sample image; and training a vehicle recognition model by using the labeled image, to recognize the vehicle in the image information according to the trained vehicle recognition model.
16. The vehicle scheduling apparatus according to claim 11, wherein the at least one target position comprises a plurality of target positions.
17. The vehicle scheduling apparatus according to claim 16, wherein the calculating a path value corresponding to each planning path comprises: acquiring a priority of each target position; setting a second path cost for a path reaching each target position according to the priority of each target position; and calculating the path value corresponding to each planning path according to the first path cost configured for the path of each area and the second path cost set for the path reaching each target position.
18. The vehicle scheduling apparatus according to claim 11, wherein the greater the vehicle density, the greater the first path cost configured for the path of the corresponding area.
19. The vehicle scheduling apparatus according to claim 17, wherein the higher the priority, the smaller the second path cost configured for the path reaching the corresponding target position.
20. The non-transitory computer-readable storage medium according to claim 13, wherein the determining vehicle density information in each area according to the image information comprises: recognizing each vehicle according to the image information; counting a number of vehicles in each area; and determining the vehicle density information in each area according to the number of vehicles in each area.
21. The non-transitory computer-readable storage medium according to claim 20, wherein the vehicle scheduling method further comprises: acquiring a sample image; labeling a vehicle in the sample image; and training a vehicle recognition model by using the labeled image, to recognize the vehicle in the image information according to the trained vehicle recognition model.
22. The non-transitory computer-readable storage medium according to claim 13, wherein the at least one target position comprises a plurality of target positions.
23. The non-transitory computer-readable storage medium according to claim 22, wherein the calculating a path value corresponding to each planning path comprises: acquiring a priority of each target position; setting a second path cost for a path reaching each target position according to the priority of each target position; and calculating the path value corresponding to each planning path according to the first path cost configured for the path of each area and the second path cost set for the path reaching each target position.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] The present disclosure can be more clearly understood from the following detailed description taken with reference to the accompanying drawings, in which:
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DETAILED DESCRIPTION
[0027] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0028] Meanwhile, it should be understood that sizes of various portions shown in the drawings are not drawn to actual scale for ease of description.
[0029] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit this disclosure and its application or use.
[0030] Techniques, methods, and devices known to one of ordinary skill in the related art may not be discussed in detail but they should be regarded as part of the granted specification where appropriate.
[0031] In all examples shown and discussed herein, any specific value should be construed as exemplary only, not as a limitation. Therefore, other examples of an exemplary embodiment can have different values.
[0032] It should be noted that: similar reference numbers and letters refer to similar items in the following drawings, and therefore, once a certain item is defined in one drawing, it need not be discussed further in subsequent drawings.
[0033] To make objectives, technical solutions and advantages of the present disclosure more apparent, the present disclosure will be further described in detail below with reference to specific embodiments and the accompanying drawings.
[0034]
[0035] In step 110, image information of each area is acquired.
[0036] In some embodiments, an entire sorting area can be divided into a plurality of small areas. One or more cameras are arranged in the sorting area to acquire the image information of each area.
[0037] In step 120, vehicle density information in each area is determined according to the image information.
[0038] In some embodiments, each vehicle is recognized according to the image information; the number of vehicles in each area is counted;
[0039] the vehicle density information in each area is determined according to the number of vehicles in each area. For example, if 20 vehicles are operating in a first area and 10 vehicles are operating in a second area, vehicle density of the first area is greater than that of the second area.
[0040] In some embodiments, a vehicle recognition model can be trained first, and the vehicles in the image can be recognized according to the trained vehicle recognition model. For example, a sample image is acquired first, a vehicle in the sample image is labeled, and the vehicle recognition model is trained by using the labeled image. The vehicle recognition model is, for example, a neural network model or the like.
[0041] The step is a dynamic calculation process, for example, in first ten seconds, there are 5 vehicles in a certain area, which corresponds to one vehicle density, and after ten seconds, there are 2 vehicles in the area, which corresponds to one other vehicle density, that is, a road condition of a yard is analyzed in real time.
[0042] In step 130, a first path cost is configured corresponding to a path of each area according to the vehicle density information in each area. The greater the vehicle density, the greater the first path cost configured for the path of the corresponding area. For example, if the vehicle density in areas A, B, and C decreases sequentially, a cost of a path passing through the area A increases 5, a cost of a path passing through the area B increases 3, and a cost of a path passing through the area C increases 0.
[0043] In step 140, a path value corresponding to each planning path among a plurality of planning paths from a starting position to at least one target position for a target vehicle is calculated according to the first path cost configured for the path of each area.
[0044] For example, a certain target vehicle can reach the target position from the area A, or can reach the target position from the area B or C. Routes in the area A comprises routes 1, 2, 3, and 4, routes in the area B comprises routes 5, 6, and 7, and routes in the area C comprises routes 8, 9, and 10. According to these routes, a plurality of planning paths can be formed. On the basis of each planning path cost, the first path cost passing through the corresponding area is added to obtain a path value corresponding to each planning path. When an original planning path is calculated, a Dijkstra path planning algorithm and the like can be adopted.
[0045] In step 150, an optimal planning path of the target vehicle is determined by taking a minimum path value as a target.
[0046] In the above embodiments, the first path cost is configured for the path of each area according to the vehicle density information in each area, the path value corresponding to each planning path is calculated according to the first path cost configured for the path of each area, and the optimal planning path of the target vehicle is determined by taking the minimum path value as the target. Compared with the related art in which when many vehicles cause congestion, too much time is needed to solve the congestion, congestion routes can be reasonably avoided in the embodiments, so that sorting efficiency is improved.
[0047] In another embodiment of the present disclosure, if the target vehicle corresponds to a plurality of target positions, a path value corresponding to each planning path among a plurality of planning paths of each target position corresponding to the target vehicle needs to be determined; and an optimal target position of the target vehicle is determined by taking a minimum path value as a target.
[0048] For example, the target vehicle corresponds to a plurality of unloading spots, parking places, charging places, and the like.
[0049] Taking the unloading spot as an example, in the related art, area division is performed according to priority, and when an unloading spot with a highest priority is idle, the spot will be issued to the vehicle as an optimal position, no matter whether there is congestion halfway. Even if a route reaching a position with a low priority is smoother, the unloading spot with the highest priority will be taken as the optimal unloading spot, so that the unloading spot with the high priority is occupied for a long time, and an unloading spot with a low priority is less utilized. By use of the solution, the vehicle density of each area is considered to automatically avoid the congestion routes, so that a more accurate optimal position can be recommended.
[0050]
[0051] In step 210, image information for each area is acquired.
[0052] In step 220, vehicle density information in each area is determined according to the image information.
[0053] In step 230, a first path cost is configured for a path of each area according to the vehicle density information in each area.
[0054] In step 240, a priority of each target position is acquired.
[0055] In step 250, a second path cost is set for a path reaching each target position according to the priority of each target position. The higher the priority, the smaller the second path cost configured for the path corresponding to the target position.
[0056] The steps 210 and 240 can be performed simultaneously or in a random order.
[0057] In step 260, a plurality of planning paths of a target vehicle are determined according to a starting position and a plurality of target positions of the target vehicle.
[0058] In step 270, a path value corresponding to each planning path is calculated according to the first path cost configured for the path of each area and the second path cost set for the path of each target position.
[0059] In step 280, an optimal planning path of the target vehicle is determined by taking a minimum path value as a target.
[0060] In the above embodiments, when the optimal planning path is determined, both the halfway congestion condition and the priority condition of the target position are considered to obtain the optimal planning path with the minimum path value through comprehensive calculation, so that the sorting efficiency is improved.
[0061]
[0062] The image acquisition unit 310 is configured to acquire image information of each area.
[0063] The vehicle density determination unit 320 is configured to determine vehicle density information in each area according to the image information.
[0064] In some embodiments, each vehicle is recognized according to the image information; the number of vehicles in each area is counted; the vehicle density information in each area is determined according to the number of vehicles in each area.
[0065] The path cost setting unit 330 is configured to configure a first path cost for a path of each area according to the vehicle density information in each area. The greater the vehicle density, the greater the first path cost configured for the path of the corresponding area.
[0066] The planning path value determination unit 340 is configured to calculate a path value corresponding to each planning path among a plurality of planning paths from a starting position to at least one target position for a target vehicle, according to the first path cost configured for the path of each area.
[0067] On the basis of each planning path cost, the first path cost passing through the corresponding area is added to obtain the path value corresponding to each planning path.
[0068] The optimal path determination unit 350 is configured to determine an optimal planning path of the target vehicle by taking a minimum path value as a target.
[0069] In the above embodiments, the first path cost is configured for the path of each area according to the vehicle density information in each area, the path value corresponding to each planning path is calculated according to the first path cost configured for the path of each area, and the optimal planning path of the target vehicle is determined by taking the minimum path value as the target, so that the congestion routes can be reasonably avoided, and the sorting efficiency is improved.
[0070] In some embodiments, the image acquisition unit 310 and the vehicle density determination unit 320 can be integrated in a video surveillance module. The path cost setting unit 330, the planning path value determination unit 340, and the optimal path determination unit 350 can be integrated in a scheduling module. That is, the video surveillance module asynchronously pushes the road conditions of the yard and the position to assist the scheduling module. The scheduling module has a dedicated responsibility, i.e., specially responsible for path calculation and strategy, to improve the scheduling efficiency.
[0071] In other embodiments of the present disclosure, if the target vehicle corresponds to a plurality of target positions, the planning path value determination unit 340 is further configured to determine a path value corresponding to each planning path among a plurality of planning paths of each target position corresponding to the target vehicle; and the optimal path determination unit 350 is further configured to determine an optimal target position of the target vehicle by taking a minimum path value as a target.
[0072] In other embodiments of the present disclosure, the path cost setting unit 330 is further configured to acquire a priority of each target position and set a second path cost for a path reaching each target position according to the priority of each target position; and the planning path value determination unit 340 is further configured to calculate the path value corresponding to each planning path according to the first path cost configured for the path of each area and the second path cost set for the path of each target position. The optimal path determination unit 350 is configured to determine the optimal planning path of the target vehicle by taking the minimum path value as the target.
[0073] In the above embodiments, when the optimal planning path is determined, both the halfway congestion condition and the priority condition of the target position are considered to obtain the optimal planning path with the minimum path value through comprehensive calculation, so that the sorting efficiency is improved.
[0074]
[0075] In some embodiments, as also shown in
[0076] In the embodiments, data instructions are stored in the memory and then processed by the processor, so that the sorting efficiency is improved.
[0077]
[0078] The image acquisition device 610 is configured to acquire image information of each area and send the image information to the vehicle scheduling apparatus 610. The vehicle scheduling apparatus 610 determines an optimal planning path through path planning, and sends the optimal planning path to a corresponding target vehicle 630.
[0079] In other embodiments, the system can further comprise a task center module 640, and a workstation module 650.
[0080] The task center module 640 performs uniform management on tasks issued by an upstream system.
[0081] The workstation module 650 is responsible for performing business logic processing on the upstream tasks and routing on task issuing. For example, processing is performed corresponding to different task types, such as a sorting task, a parking task, and a charging task, for example, the task center module 640 issues the sorting task, and the workstation module 650 performs processing according to the sorting task type, and analyzes which package supplying platform should be reached for loading, and then which unloading spot should be reached for unloading, and the like, i.e., to determine a starting position and a target position of a target vehicle.
[0082] In the above embodiments, the vehicle density is counted by using video surveillance, and then dynamic congestion area division and path cost addition are performed, to find out the optimal planning path for vehicle scheduling. This application has more obvious advantages in an application scenario with a larger yard and more vehicles.
[0083] In other embodiments, a computer-readable storage medium has stored thereon computer program instructions which, when executed by a processor, implement the steps of the method in the embodiments corresponding to
[0084] The present disclosure is described with reference to flow diagrams and/or block diagrams of the method, apparatus (system) and computer program product according to the embodiments of the present disclosure. It should be understood that each flow and/or block of the flow diagrams and/or block diagrams, and a combination of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which are executed by the processor of the computer or other programmable data processing apparatus, create means for implementing a function specified in one or more flows of the flow diagrams and/or one or more blocks of the block diagrams.
[0085] These computer program instructions can also be stored in a computer-readable memory that can guide the computer or other programmable data processing device to work in a specific way, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means which implement a function specified in one or more flows of the flow diagrams and/or one or more blocks of the block diagrams.
[0086] These computer program instructions can also be loaded onto the computer or other programmable data processing device, so that a series of operation steps are performed on the computer or other programmable device to produce computer-implemented processing, and therefore, the instructions which are executed on the computer or other programmable device provide steps for implementing a function specified in one or more flows of the flow diagrams and/or one or more blocks of the block diagrams.
[0087] Thus far, the present disclosure has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. Those skilled in the art can now fully appreciate how to implement the solutions disclosed herein, in view of the foregoing description.
[0088] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be appreciated by those skilled in the art that modifications can be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the attached claims.