Object scheduling method and apparatus, electronic device, and storage medium

By optimizing the loading and unloading routes of container trucks through reinforcement learning, and by using the matching and path overlap learning of transport objects sensed by transport equipment, the routes are updated to improve transportation efficiency, thus solving the problem of low efficiency in manual route planning.

CN115293412BActive Publication Date: 2026-11-27BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210885897.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2026-11-27
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

In existing technologies, truck loading and unloading route planning mainly relies on manual labor, resulting in low route planning efficiency and high randomness, which cannot effectively improve transportation efficiency.

Method used

By employing reinforcement learning, the transportation equipment senses the transported objects during its movement, performs path matching and path overlap learning, and uses reward values ​​to update the path to optimize the transportation route.

Benefits of technology

It realizes the optimal movement path planning of transportation equipment, improves transportation efficiency, and solves the problem of low transportation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115293412B_ABST
    Figure CN115293412B_ABST
Patent Text Reader

Abstract

The present disclosure provides a scheduling method and device of an object, electronic equipment and storage medium, relates to the field of computers, and particularly to the field of Internet of Things. The specific implementation scheme is as follows: determining at least one kind of transport object to be transported and a plurality of transport devices in a transport scenario; in the process of movement of the transport device, in response to the transport device sensing any one transport object, performing reinforcement learning on the initial motion path and the sensed transport object to obtain a first reward value, and performing reinforcement learning on a plurality of initial motion paths corresponding to the plurality of transport devices to obtain a second reward value, wherein the first reward value is used to represent the matching result between the sensed transport object and the transport device, and the second reward value is used to represent the coincidence result between the plurality of initial motion paths; and updating the current motion path of the transport device based on the first reward value and the second reward value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to methods, apparatuses, electronic devices and storage media for scheduling objects in the field of the Internet of Things. Background Technology

[0002] Currently, the loading and unloading of container trucks is usually addressed by manually planning the truck routes. However, manual route planning is random and inefficient. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for scheduling objects.

[0004] According to one aspect of this disclosure, a scheduling method for objects is provided, comprising: determining at least one transport object to be transported in a transportation scenario, and multiple transport devices, wherein the transport devices are used to transport the transport objects; controlling the transport devices to move along any initial motion path; during the movement of the transport devices, in response to the transport devices sensing any transport object, performing reinforcement learning on the initial motion path and the sensed transport object to obtain a first reward value, and performing reinforcement learning on multiple initial motion paths corresponding to multiple transport devices to obtain a second reward value, wherein the first reward value is used to characterize the matching result between the sensed transport object and the transport device, and the second reward value is used to characterize the overlap result between the multiple initial motion paths; updating the current motion path of the transport devices based on the first reward value and the second reward value, wherein the transport devices move according to the updated motion path.

[0005] According to another aspect of this disclosure, an object scheduling apparatus is provided, comprising: a determining unit, configured to determine at least one transport object to be transported in a transportation scenario, and a plurality of transport devices, wherein the transport devices are used to transport the transport object; a controlling unit, configured to control the transport devices to move along any initial motion path; a learning unit, configured to, during the movement of the transport devices, in response to the transport devices sensing any transport object, perform reinforcement learning on the initial motion path and the sensed transport object to obtain a first reward value, and perform reinforcement learning on the plurality of initial motion paths corresponding to the plurality of transport devices to obtain a second reward value, wherein the first reward value is used to characterize the matching result between the sensed transport object and the transport device, and the second reward value is used to characterize the overlap result between the plurality of initial motion paths; and an updating unit, configured to update the current motion path of the transport devices based on the first reward value and the second reward value, wherein the transport devices move according to the updated motion path.

[0006] According to one aspect of this disclosure, an electronic device is also provided. The electronic device may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a scheduling method for objects according to embodiments of this disclosure.

[0007] According to another aspect of this disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to cause a computer to execute a scheduling method for objects according to embodiments of this disclosure.

[0008] According to another aspect of this disclosure, a computer program product is also provided, which may include a computer program that, when executed by a processor, implements the scheduling method for objects according to embodiments of this disclosure.

[0009] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0011] Figure 1 This is a flowchart of an object scheduling method according to an embodiment of the present disclosure;

[0012] Figure 2 This is a schematic diagram of a manually driven truck for horizontal transport, based on relevant technologies.

[0013] Figure 3 This is a flowchart of an entry / exit scheduling algorithm based on an embodiment of the present disclosure, which involves constructing a reinforcement learning-based algorithm.

[0014] Figure 4 This is a schematic diagram of a stockpile state according to an embodiment of the present disclosure;

[0015] Figure 5 This is a schematic diagram of the yard status of a bill of lading A according to an embodiment of the present disclosure;

[0016] Figure 6 This is a schematic diagram of the yard status of a bill of lading B according to an embodiment of the present disclosure;

[0017] Figure 7 This is a schematic diagram of an object scheduling device according to an embodiment of the present disclosure.

[0018] Figure 8 This is a block diagram of an electronic device according to an embodiment of the present disclosure of an object scheduling method. Detailed Implementation

[0019] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0020] The page rendering method for mini programs provided in this application is a method for page rendering and can be applied to application scenarios such as screen rendering of mini programs. It should be noted that the application scenarios can also be image rendering, etc., and are not limited to these.

[0021] Figure 1 This is a flowchart of an object scheduling method according to an embodiment of the present disclosure, such as... Figure 1 As shown, an implementation scheme for the scheduling method of this object may include at least the following implementation steps:

[0022] Step S102: Determine at least one transport object to be transported in the transportation scenario, and multiple transport devices, wherein the transport devices are used to transport the aforementioned transport object.

[0023] In the technical solution provided by step S102 disclosed in this application, the transportation scenario can be analyzed to determine at least one transportation object and multiple transportation devices to be transported in the transportation scenario. The transportation scenario can be a scenario that includes at least one transportation object and multiple transportation devices, such as a yard scenario that includes one vehicle and multiple targets, or a container transportation business scenario. The transportation devices can be devices that can load goods and can move, such as vehicles.

[0024] Step S104: Control the transport equipment to move along any initial motion path.

[0025] In the technical solution provided by step S104 disclosed in this application, the initial movement path of the transportation equipment can be planned based on the transportation scenario and the location of the transportation object, so as to obtain at least one initial movement path and control the transportation equipment to move along any one of the initial movement paths.

[0026] Optionally, the movement path of the transport equipment can be planned based on the location of the transported objects to obtain an initial movement path, and the transport equipment can be controlled to move along any initial movement path, wherein the initial movement path passes through all transported objects corresponding to the transport equipment.

[0027] Step S106: During the movement of the transport equipment, in response to the transport equipment sensing any transport object, reinforcement learning is performed on the initial movement path and the sensed transport object to obtain a first reward value, and reinforcement learning is performed on multiple initial movement paths corresponding to multiple transport equipment to obtain a second reward value. The first reward value is used to characterize the matching result between the sensed transport object and the transport equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths.

[0028] In the technical solution provided by step S106 of this application, during the movement of the transport equipment, when the transport equipment senses any transport object, reinforcement learning is performed on the initial movement path and the sensed transport object to obtain a first reward value. Reinforcement learning can be performed on multiple initial movement paths corresponding to multiple transport equipment to obtain a second reward value. The first reward value and the second reward value can be represented by reward. The first reward value can be used to characterize the matching result between the sensed transport object and the transport equipment. For example, the degree of matching between the transport object and the transport equipment can be represented in numerical form. The second reward value can be used to characterize the overlap result between multiple initial movement paths. For example, the collision situation between multiple initial movement paths can be represented in numerical form.

[0029] For example, when controlling a transport device to move along any initial motion path, assuming that transport device A moves along the corresponding initial motion path and transport device B moves along the corresponding initial motion path, a first reward value can be obtained based on the matching result between transport device A and the transported object during the transport process, and a second reward value can be determined based on the overlap result between the initial motion paths of transport device A and transport device B.

[0030] Step S108: Based on the first reward value and the second reward value, update the current movement path of the transport equipment, wherein the transport equipment moves according to the updated movement path.

[0031] In the technical solution provided by step S108 disclosed in this application, the current transportation result of the transportation equipment can be updated based on the first reward value and the second reward value, and the transportation equipment can move according to the updated path, wherein the movement path can be the truck driving route.

[0032] Optionally, by analyzing the initial movement path of a single transportation device, multiple first reward values ​​are obtained. By combining and analyzing the initial movement paths of multiple transportation devices, a second reward value is obtained. The movement path of the transportation device is updated based on the first and second reward values ​​to obtain the final movement path of the transportation device. By considering the impact of different situations and predicting the path based on the impact of different situations, the technical effect of improving the rationality of path planning is achieved.

[0033] Through steps S102 to S108 above, at least one transport object to be transported in the transportation scenario and multiple transport devices are determined, wherein the transport devices are used to transport the transport object; the transport devices are controlled to move along any initial motion path; during the movement of the transport devices, in response to the transport devices sensing any transport object, reinforcement learning is performed on the initial motion path and the sensed transport object to obtain a first reward value, and reinforcement learning is performed on multiple initial motion paths corresponding to multiple transport devices to obtain a second reward value, wherein the first reward value is used to characterize the matching result between the sensed transport object and the transport device, and the second reward value is used to characterize the overlap result between multiple initial motion paths; based on the first reward value and the second reward value, the current motion path of the transport devices is updated, wherein the transport devices move according to the updated motion path. In other words, in this embodiment of the disclosure, a first reward value for determining whether a transport device (e.g., a truck) transports the required transport object (e.g., goods), and a second reward value for determining whether the movement path of the transport device transporting the actual transport object collides with the movement paths of other transport devices, together determine the final optimal movement path of the transport device, thereby achieving the technical effect of improving the transport efficiency of the object and solving the technical problem of low transport efficiency of the object.

[0034] The method described in this embodiment will now be described in further detail.

[0035] As an optional embodiment, step S108, updating the current movement path of the transportation equipment based on the first reward value and the second reward value, includes: performing reinforcement learning on at least one transportation object and multiple transportation equipment based on the first reward value and the second reward value to obtain a target network model; and updating the current movement path of the transportation equipment based on the target network model.

[0036] In this embodiment, reinforcement learning can be performed on at least one transport object and multiple transport devices based on a first reward value and a second reward value to obtain a target network model. The current movement path of the transport devices can be obtained by inputting the collected transport scene into the target network model.

[0037] In one alternative approach, a first reward value can be determined for each of the multiple transportation devices and at least one transportation object, resulting in multiple first reward values. Reinforcement learning can be performed on the corresponding transportation object and transportation device based on the first reward values. Simultaneously, reinforcement learning can be performed on at least one transportation object and multiple transportation devices based on the second reward values ​​to obtain a target network model.

[0038] In another alternative, the transportation scenario can be input into the target network model, and the transportation scenario can be processed based on the target network model to determine the current movement path of the moving equipment. The embodiments of this disclosure can plan the movement path of the transportation equipment by using reinforcement learning, thereby solving the scheduling problem of transportation objects and achieving the purpose of rational path planning.

[0039] As an optional embodiment, reinforcement learning is performed on at least one transport object and multiple transport devices based on a first reward value and a second reward value to obtain a target network model, including: adjusting the model parameters of the original network model based on the first reward value and the second reward value, wherein the original network model is used to determine the motion path that causes the transport device to move to the transport object that matches the transport device; and performing reinforcement learning on at least one transport object and multiple transport devices based on the adjusted model parameters to generate the target network model.

[0040] In this embodiment, the model parameters of the original network model can be adjusted based on the first reward value and the second reward value, or the model parameters of the original network model can be adjusted based on the sum of the first reward value and the second reward value or the weighted sum of the two. Based on the adjusted model parameters, reinforcement learning is performed on at least one transportation object and each transportation device to obtain the target network model. The original network model can be a neural network model. The reinforcement learning can be performed by training the model through methods such as the Advantage Actor Critic (A2C) algorithm.

[0041] In one alternative approach, the original network model can be used to determine the movement path of the transportation equipment. Based on the movement path, a first reward value can be determined for each movement path. The overlap of movement paths between transportation equipment can be determined using the original network model to obtain a second reward value. The model parameters of the original network model can be adjusted first based on the first reward value, and then adjusted again based on the second reward value. Based on the adjusted model parameters, reinforcement learning is performed on at least one transportation object and multiple transportation equipment to obtain the target network model.

[0042] In another alternative approach, a first reward value and a second reward value can be determined, and the first reward value and the second reward value can be weighted and summed. The model parameters of the original network model can be adjusted based on the weighted sum value. Based on the adjusted model parameters, reinforcement learning can be performed on at least one transportation object and multiple transportation devices to obtain the target network model.

[0043] In another alternative approach, the A2C algorithm can be used to update the model parameters in the neural network model to obtain the maximum reward value until convergence, thereby obtaining the target network model. The model can be trained using gradient descent until the network is fully trained, thus obtaining the target network model.

[0044] In this embodiment of the disclosure, reinforcement learning is introduced to train the model, and the transportation scenarios of the transportation equipment are fully analyzed, thereby improving the training level of the model and thus improving the accuracy of the model in route planning.

[0045] As an optional embodiment, step S106, performing reinforcement learning on multiple initial motion paths corresponding to multiple transportation devices to obtain a second reward value, includes: obtaining the distance between multiple initial motion paths corresponding to multiple transportation devices; and performing reinforcement learning on the distance to obtain a second reward value.

[0046] In this embodiment, the data is processed by the target network model to obtain the initial movement path corresponding to each transportation device. The distance between the multiple initial movement paths corresponding to multiple transportation devices is determined. A second reward value can be obtained by reinforcement learning on the distance. For example, it can be set that the larger the distance, the larger the corresponding second reward value, thereby realizing the second reward value based on the distance between the multiple initial movement paths corresponding to multiple transportation devices.

[0047] As an optional embodiment, obtaining the distance between multiple initial motion paths corresponding to multiple transportation devices includes: converting the initial motion paths into path sequences, wherein the path sequences include the positions and times that the transportation devices have moved through in the transportation scenario; obtaining the distance between multiple path sequences corresponding to multiple transportation devices, wherein the distance is used to represent the distance between multiple positions corresponding to the same time in the multiple path sequences.

[0048] In this embodiment, multiple initial motion paths corresponding to multiple transportation devices are obtained. The initial motion paths can be converted into path sequences, and the distance between the corresponding positions of the transportation devices at the same time can be determined. Here, the position can be the path point that the transportation device moves through in the transportation scenario, and the distance can be the distance between multiple positions corresponding to the same time in multiple path sequences, which can be Euclidean distance.

[0049] In one alternative approach, an initial movement path can be determined for each transport device. Based on the initial movement path, the positions and times that the transport device moves through in the transport scenario can be determined to obtain a path sequence. Based on the path sequence of each transport device, the distance between multiple positions corresponding to the same time in multiple path sequences can be determined.

[0050] For example, determine the location of the transport equipment (corresponding to bill of lading A) at various times to obtain the path sequence corresponding to bill of lading A, determine the location of the transport equipment (corresponding to bill of lading B) at various times to obtain the path sequence corresponding to bill of lading B, obtain the distance between multiple path sequences corresponding to multiple transport equipment, and determine the second reward value based on the distance between multiple path sequences.

[0051] As an optional embodiment, the second reward value is positively correlated with distance.

[0052] In this embodiment, the second reward value is positively correlated with the distance. That is, when two transportation devices are close to each other at the same time, the second reward value is smaller, and the distance between them is greater. For example, if the distances between the two devices overlap, the second reward value is negative, and if they do not overlap, the second reward value is positive.

[0053] As an optional embodiment, step S106, performing reinforcement learning on the distance to obtain a second reward value, includes: determining the second reward value as a first target reward value in response to the distance being less than a distance threshold; and determining the second reward value as a second target reward value in response to the distance being greater than or equal to the distance threshold, wherein the second target reward value is greater than the first target reward value.

[0054] In this embodiment, reinforcement learning is performed on the distance. When the distance is less than a distance threshold, the second reward value can be determined as the first target reward value; when the distance is greater than the distance threshold, the second reward value can be determined as the second target reward value. Here, the distance threshold, the first target reward value, and the second target reward value can be preset values; no specific limitation is placed on the size of the distance threshold.

[0055] In one possible approach, the greater the distance, the less likely the two paths are to collide, and therefore the greater the corresponding reward value should be. Thus, the reward value for the second objective is greater than the reward value for the first objective.

[0056] As an optional embodiment, performing reinforcement learning on the initial motion path and the sensed transport object to obtain a first reward value includes: determining the first reward value as a third target reward value in response to a match between the initial motion path and the sensed transport object; and determining the first reward value as a fourth target reward value in response to a mismatch between the initial motion path and the sensed transport object, wherein the fourth target reward value is less than the third target reward value.

[0057] In this embodiment, reinforcement learning is performed on the initial motion path and the sensed transport object. When the initial motion path and the sensed transport object match, the first reward value can be determined as the third target reward value. When the initial motion path and the sensed transport object do not match, the first reward value can be determined as the fourth target reward value. The fourth target reward value is less than the third target reward value. The third target reward value can be a positive reward, and the fourth target reward value can be a negative reward.

[0058] In one alternative scheme, a positive reward can be given when the initial movement path correctly reaches the storage location of the transported object, for example, it can be set to 3. A negative reward can be given when the initial movement path and the sensed transported object do not match, for example, it can be -5. Only when the corresponding position on the stacking map for all orders is 0 is it considered a non-collision; otherwise, it is considered a collision. Each step incurs a cost of -0.1.

[0059]

[0060] It should be noted that the values ​​of positive and negative rewards here are only for illustrative purposes. There are no specific restrictions on the values ​​of positive and negative rewards, as long as the absolute value of the reward for moving to the location of the goods is less than the absolute value of the reward for not moving to the location of the goods.

[0061] In this embodiment of the disclosure, a first reward value is used to determine whether a transport device (e.g., a truck) transports the required transport object (e.g., goods), and a second reward value is used to determine whether the movement path of the transport device transporting the actual transport object collides with the movement paths of other transport devices. Together, these factors determine the final optimal movement path of the transport device, thereby achieving the technical effect of improving the transport efficiency of the object and solving the technical problem of low transport efficiency of the object.

[0062] The above technical solutions of the present disclosure will be further illustrated below with reference to preferred embodiments.

[0063] With the continuous development of container shipping, container terminals, as transit points and important loading and unloading sites for container cargo, are receiving increasing attention for their efficiency and management level.

[0064] In related technologies, horizontal transportation using manually driven internal trucks is typically employed. Figure 2 This is a schematic diagram of a manually driven truck for horizontal transport, based on related technologies, such as... Figure 2 As shown, vehicles can be manually driven according to the path described by the arrows to complete the transportation of goods. This demonstrates that optimizing the driving path of external container trucks for loading and unloading containers, thereby solving congestion problems, creating a zero-collision advantage, and improving port operation and transportation efficiency have become an important part of solving port intelligence.

[0065] However, in this embodiment, to address the technical problem of low efficiency in port operations and transportation, a reinforcement learning-based port multi-yard entry and exit scheduling algorithm is proposed. The method of this embodiment is described in detail below.

[0066] In this embodiment, the current state of the yard is obtained, such as the time schedule for picking up and unloading goods in the yard. Based on the current state of the yard, reinforcement learning can be used to plan the loading and unloading routes of the trucks, thereby obtaining the truck driving routes, thus improving the efficiency of route planning and solving the scheduling problem.

[0067] Figure 3 This is a flowchart illustrating an entry / exit scheduling algorithm based on reinforcement learning, according to an embodiment of this disclosure. Figure 3 As shown, constructing a port multi-yard entry and exit scheduling algorithm based on reinforcement learning may include the following steps:

[0068] Step S301: Obtain the current status of the stockpile.

[0069] In this embodiment, the current state of the yard is obtained and the yard state is parsed, thereby restoring the overall yard environment to the yard environment corresponding to each bill of lading.

[0070] Optionally, Figure 4 This is a schematic diagram of a stockpile state according to an embodiment of the present disclosure, such as... Figure 4 As shown, the current state of the yard is analyzed to determine the location of at least one transport device (e.g., Car_1A, Car_2A, and Car_1B) and the transport objects that need to be transported (e.g., Container_A, Container_B, and Container_C), which can be displayed on the target interface in the form of a grid diagram.

[0071] Step S302: Decompose the obtained stockpile status.

[0072] In this embodiment, the parsed yard status can be broken down based on the number of delivery orders to obtain the yard environment corresponding to each bill of lading.

[0073] Figure 5 This is a schematic diagram of the yard status of a bill of lading A according to an embodiment of this disclosure, as shown below. Figure 5 As shown, only Bill of Lading A (Car_2A) and the corresponding transport object (Container_A) are retrieved. Transport objects without corresponding transport equipment (e.g., Figure 5 Container_C in the bill of lading can be considered as a disturbance (obstacle) in the transportation process of bill of lading A.

[0074] Figure 6 This is a schematic diagram of the yard status of bill of lading B according to an embodiment of this disclosure, as shown below. Figure 6 As shown, only Bill of Lading B (Car_2B) and the corresponding transport object to be transported (ContBiner_B) are retrieved. Transport objects without corresponding transport equipment (e.g., Figure 6 ContBiner_C in the bill of lading can be considered as an obstacle (interference) in the transportation process for bill of lading B.

[0075] Step S303: Calculate the reward value.

[0076] In this embodiment, for the disassembled yard environment, the reward value during the transportation process can be calculated separately to obtain the reward value corresponding to bill of lading A and the reward value corresponding to bill of lading B. The parameters of the pre-trained neural network are adjusted based on the reward value corresponding to bill of lading A and the reward value corresponding to bill of lading B.

[0077] Optionally, the location where goods are stored can have a positive reward, for example, set to 3, while the location where a collision with other goods occurs can have a negative reward, for example, -5. Only when the corresponding location on the stacking map for all orders is 0 is it considered a non-collision; otherwise, it is a collision. Each step incurs a cost of -0.1.

[0078]

[0079] It should be noted that the values ​​of positive and negative rewards here are only for illustrative purposes. There are no specific restrictions on the values ​​of positive and negative rewards, as long as the reward for moving to the cargo location is less than the absolute value of the collision reward.

[0080] Step S304: Calculate the target reward value.

[0081] In this embodiment, the path sequence corresponding to bill of lading A is obtained by determining the position of bill of lading A at various times, the path sequence corresponding to bill of lading B is obtained by determining the position of bill of lading B at various times, the distance between multiple path sequences corresponding to multiple transportation devices is obtained, and a second reward value is determined based on the distance between multiple path sequences.

[0082] Here, distance is used to represent the distance between multiple locations corresponding to the same time in multiple path sequences.

[0083] Step S304: Adjust the parameters of the neural network model using the target reward value.

[0084] In this embodiment, the Advantage Actor Critic (A2C) algorithm is used to update the parameters in the neural network model to obtain the maximum reward value until convergence. The model can be trained by gradient descent until the network is fully trained and the target network model is obtained.

[0085] Step S305: Input the order into the target network model and perform a test.

[0086] The current order is broken down and input into the target network model to obtain the optimal transportation route.

[0087] In this embodiment of the invention, reinforcement learning is used to determine the reward value for whether a transport device (truck) transports the required transport object (goods), and the reward value for whether the movement path of the transport device transporting the actual transport object collides with the movement paths of other transport devices. Together, they determine the final optimal movement path of the transport device, thereby achieving the technical effect of improving the transport efficiency of the object and solving the technical problem of low transport efficiency of the object.

[0088] This disclosure also provides an embodiment for performing Figure 1 The object scheduling method of the illustrated embodiment is an object scheduling device.

[0089] Figure 7 This is a schematic diagram of an object scheduling device according to an embodiment of the present disclosure. Figure 7 As shown, the scheduling device 70 for the object may include: a determination unit 71, a control unit 72, a learning unit 73, and an update unit 74.

[0090] The determining unit 71 is used to determine at least one transport object to be transported in a transport scenario, and multiple transport devices, wherein the transport devices are used to transport the aforementioned transport object.

[0091] The control unit 72 is used to control the transport equipment to move along any initial motion path.

[0092] Learning unit 73 is used to perform reinforcement learning on the initial movement path and the sensed transportation object in response to the transportation equipment sensing any transportation object during the movement of the transportation equipment, to obtain a first reward value, and to perform reinforcement learning on multiple initial movement paths corresponding to multiple transportation equipment to obtain a second reward value. The first reward value is used to characterize the matching result between the sensed transportation object and the transportation equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths.

[0093] The update unit 74 is used to update the current movement path of the transport equipment based on the first reward value and the second reward value, wherein the transport equipment moves according to the updated movement path.

[0094] Optionally, the update unit 74 includes: an update module, used to perform reinforcement learning on at least one transport object and multiple transport devices based on a first reward value and a second reward value to obtain a target network model; and to update the current movement path of the transport devices based on the target network model.

[0095] Optionally, the update module includes: a first processing submodule, used to adjust the model parameters of the original network model based on a first reward value and a second reward value, wherein the original network model is used to determine the motion path that causes the transport equipment to move to a transport object that matches the transport equipment; and to perform reinforcement learning on at least one transport object and multiple transport equipment based on the adjusted model parameters to generate a target network model.

[0096] Optionally, the learning unit 73 includes: a processing module for obtaining the distance between multiple initial motion paths corresponding to multiple transportation devices; performing reinforcement learning on the distance to obtain a second reward value.

[0097] Optionally, the processing module includes: a second processing submodule, used to convert the initial motion path into a path sequence, wherein the path sequence includes the positions and times that the transportation equipment moves through in the transportation scenario; and to obtain the distance between multiple path sequences corresponding to multiple transportation equipment, wherein the distance is used to represent the distance between multiple positions corresponding to the same time in the multiple path sequences.

[0098] Optionally, the learning unit 73 includes: a determination module, configured to determine a second reward value as a first target reward value in response to a distance less than a distance threshold; and to determine a second reward value as a second target reward value in response to a distance greater than or equal to a distance threshold, wherein the second target reward value is greater than the first target reward value.

[0099] In the object scheduling device of this disclosure embodiment, a determining unit determines at least one transport object to be transported in a transportation scenario, as well as multiple transport devices; a controlling unit controls the transport devices to move along any initial movement path; during the movement of the transport devices, in response to the transport devices sensing any transport object, a learning unit performs reinforcement learning on the initial movement path and the sensed transport object to obtain a first reward value, and performs reinforcement learning on multiple initial movement paths corresponding to multiple transport devices to obtain a second reward value; an updating unit updates the current movement path of the transport devices based on the first reward value and the second reward value, thereby achieving the technical effect of improving the transport efficiency of objects and solving the technical problem of low transport efficiency of objects.

[0100] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0101] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0102] Embodiments of this disclosure provide an electronic device that may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a scheduling method for objects according to embodiments of this disclosure.

[0103] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0104] According to embodiments of this disclosure, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform a method for scheduling objects according to embodiments of this disclosure.

[0105] Optionally, in this embodiment, the non-volatile storage medium described above can be configured to store a computer program for performing the following steps:

[0106] S1, determine at least one transport object to be transported in the transportation scenario, and multiple transport devices, wherein the transport devices are used to transport the aforementioned transport object;

[0107] S2 controls the transport equipment to move along any initial motion path;

[0108] S3, during the movement of the transportation equipment, in response to the transportation equipment sensing any transportation object, reinforcement learning is performed on the initial movement path and the sensed transportation object to obtain a first reward value, and reinforcement learning is performed on multiple initial movement paths corresponding to multiple transportation equipment to obtain a second reward value. The first reward value is used to characterize the matching result between the sensed transportation object and the transportation equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths.

[0109] S4, based on the first reward value and the second reward value, update the current movement path of the transport equipment, wherein the transport equipment moves according to the updated movement path.

[0110] Optionally, in this embodiment, the aforementioned non-transitory computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0111] According to embodiments of this disclosure, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0112] S1, determine at least one transport object to be transported in the transportation scenario, and multiple transport devices, wherein the transport devices are used to transport the aforementioned transport object;

[0113] S2 controls the transport equipment to move along any initial motion path;

[0114] S3, during the movement of the transportation equipment, in response to the transportation equipment sensing any transportation object, reinforcement learning is performed on the initial movement path and the sensed transportation object to obtain a first reward value, and reinforcement learning is performed on multiple initial movement paths corresponding to multiple transportation equipment to obtain a second reward value. The first reward value is used to characterize the matching result between the sensed transportation object and the transportation equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths.

[0115] S4, based on the first reward value and the second reward value, update the current movement path of the transport equipment, wherein the transport equipment moves according to the updated movement path.

[0116] Figure 8 This is a block diagram of an electronic device for a method of scheduling objects according to embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0117] like Figure 8As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0118] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0119] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as method data processing methods. For example, in some embodiments, the method data processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform data processing methods by any other suitable means (e.g., by means of firmware).

[0120] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0122] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0123] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0124] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0125] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0126] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0127] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for scheduling objects, comprising: In a transportation scenario, at least one object to be transported and multiple transportation devices are identified, wherein the transportation devices are used to transport the object. Control the transport equipment to move along any initial motion path; During the movement of the transport equipment, in response to the transport equipment sensing any transport object, reinforcement learning is performed on the initial movement path and the sensed transport object to obtain a first reward value, and reinforcement learning is performed on multiple initial movement paths corresponding to multiple transport equipment to obtain a second reward value. The first reward value is used to characterize the matching result between the sensed transport object and the transport equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths. Based on the first reward value and the second reward value, the current movement path of the transportation equipment is updated, wherein the transportation equipment moves according to the updated movement path; The method of performing reinforcement learning on multiple initial motion paths corresponding to multiple transportation devices to obtain a second reward value includes: converting the initial motion paths into path sequences, wherein the path sequences include the positions and times that the transportation devices have moved through in the transportation scenario; obtaining the distance between multiple path sequences corresponding to multiple transportation devices, wherein the distance is used to represent the distance between multiple positions corresponding to the same time in the multiple path sequences, and the distance is Euclidean distance; and performing reinforcement learning on the distance to obtain the second reward value. Reinforcement learning is performed on the initial motion path and the sensed transport object to obtain a first reward value, including: in response to a match between the initial motion path and the sensed transport object, the first reward value is determined as a third target reward value, wherein the third target reward value is a positive value; in response to a mismatch between the initial motion path and the sensed transport object, the first reward value is determined as a fourth target reward value, wherein the fourth target reward value is less than the third target reward value and is a negative value.

2. The method according to claim 1, wherein, Updating the current movement path of the transportation equipment based on the first reward value and the second reward value includes: Based on the first reward value and the second reward value, reinforcement learning is performed on the at least one transport object and the plurality of transport devices to obtain a target network model; The current movement path of the transportation equipment is updated based on the target network model.

3. The method according to claim 2, wherein, Based on the first reward value and the second reward value, reinforcement learning is performed on the at least one transport object and the plurality of transport devices to obtain a target network model including: Based on the first reward value and the second reward value, the model parameters of the original network model are adjusted, wherein the original network model is used to determine the motion path that causes the transportation equipment to move to the transportation object that matches the transportation equipment; Based on the adjusted model parameters, reinforcement learning is performed on the at least one transport object and the plurality of transport devices to generate the target network model.

4. The method according to claim 1, wherein, The second reward value is positively correlated with the distance.

5. The method according to claim 1, wherein, Reinforcement learning is performed on the distance to obtain the second reward value, including: In response to the distance being less than a distance threshold, the second reward value is determined as the first target reward value; In response to the distance being greater than or equal to the distance threshold, the second reward value is determined as the second target reward value, wherein the second target reward value is greater than the first target reward value.

6. An object scheduling device, comprising: A determining unit is used to determine at least one transport object to be transported in a transportation scenario, and multiple transport devices, wherein the transport devices are used to transport the transport object; The control unit is used to control the transport equipment to move along any initial motion path; The learning unit is configured to, during the movement of the transport equipment, in response to the transport equipment sensing any transport object, perform reinforcement learning on the initial movement path and the sensed transport object to obtain a first reward value, and perform reinforcement learning on multiple initial movement paths corresponding to multiple transport equipment to obtain a second reward value, wherein the first reward value is used to characterize the matching result between the sensed transport object and the transport equipment, and the second reward value is used to characterize the overlap result between multiple initial movement paths; An update unit is configured to update the current movement path of the transport equipment based on the first reward value and the second reward value, wherein the transport equipment moves according to the updated movement path; The learning unit is further configured to convert the initial motion path into a path sequence, wherein the path sequence includes the positions and times that the transportation equipment moves through in the transportation scenario; obtain the distance between multiple path sequences corresponding to multiple transportation equipment, wherein the distance is used to represent the distance between multiple positions corresponding to the same time in multiple path sequences, and the distance is Euclidean distance; perform reinforcement learning on the distance to obtain the second reward value; The learning unit is further configured to, in response to a match between the initial motion path and the sensed transport object, determine the first reward value as a third target reward value, wherein the third target reward value is positive; and in response to a mismatch between the initial motion path and the sensed transport object, determine the first reward value as a fourth target reward value, wherein the fourth target reward value is less than the third target reward value and is negative.

7. The apparatus according to claim 6, wherein, The update unit includes: The learning module is used to perform reinforcement learning on the at least one transport object and the plurality of transport devices based on the first reward value and the second reward value to obtain a target network model; The update module is used to update the current movement path of the transportation equipment based on the target network model.

8. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

9. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Goods transportation method and device, electronic equipment and storage medium

    CN114596042A

  • Steel logistics intelligent scheduling method and system based on Markov decision

    CN114626755A

  • Object control method and device, storage medium and electronic equipment

    CN114683280A