Data processing method and device, computer readable storage medium and system

Through unified standard input data templates and preset conversion rules, path planning data in different scenarios are converted into standard input data, which solves the problem of the limited scope of application of existing VRP technology in different scenarios and realizes a wider range of path planning solutions. Applicability and algorithm efficiency improvement.

CN118569458APending Publication Date: 2024-08-30THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311616973.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing vehicle routing problem (VRP) technology has differences in input settings between different scenarios, resulting in a limited scope of application of the algorithm and inability to effectively solve path planning problems in multiple scenarios.

Method used

By configuring a unified standard input data template and multiple preset conversion rules, matching the target conversion rules to convert the original path planning data into the preprocessed path planning data in the standard input data template, adapting to different path planning algorithms and providing standard unification the original input data.

Benefits of technology

It expands the scope of application of path planning problem processing solutions, enables path planning data in different scenarios to comply with algorithm settings, provides standardized input data, and improves the versatility and efficiency of path planning algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569458A
    Figure CN118569458A
Patent Text Reader

Abstract

The invention provides a data processing method and device, a computer readable storage medium and a system. The method comprises the following steps: acquiring original path planning data; matching the original path planning data with a plurality of preset conversion rules, and determining a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, the plurality of preset conversion rules being used for converting the obtained path planning data into data conforming to a standard input data template; converting the original path planning data into preprocessed path planning data based on a target conversion rule; and writing the preprocessed path planning data into a standard input data template to obtain target path planning data which is used as original input data of a path planning algorithm. According to the data processing method, standard and unified original input data can be provided for different path planning algorithms, different scenes can be covered, and the application range of the scheme is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of vehicle routing problems, and more particularly, to a data processing method, apparatus, computer-readable storage medium, and system. Background Art

[0002] The Vehicle Routing Problem (VRP) was first proposed by Dantzig and Ramser in 1959. It refers to a certain number of customers, each with different demands for goods. A distribution center provides goods to customers, and a fleet is responsible for delivering the goods and organizing appropriate driving routes. The goal is to meet customer needs and achieve goals such as shortest distance, minimum cost, and least time under certain constraints.

[0003] The vehicle routing problem and its various variants are widely used in real life. The general process of solving the vehicle routing problem is input data conversion, algorithm selection, algorithm hyperparameter adjustment, and path output. However, existing VRP technologies are often only effective for certain specific scenarios. The main problem is that the input settings of the algorithm itself have a limited coverage range and there are differences in input settings between different scenarios. Summary of the invention

[0004] The present disclosure provides a data processing method, device, computer-readable storage medium and system, which are used to at least solve the above problems, or may not solve the above problems.

[0005] According to one aspect of the present disclosure, a data processing method is provided, the data processing method comprising: acquiring original path planning data; matching the original path planning data with a plurality of preset conversion rules, and determining a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, wherein the plurality of preset conversion rules are used to convert the acquired path planning data into data conforming to a standard input data template; based on the target conversion rule, converting the original path planning data into preprocessed path planning data; writing the preprocessed path planning data into the standard input data template to obtain target path planning data, wherein the target path planning data is used as original input data of a path planning algorithm.

[0006] Optionally, the original path planning data carries a target scene label, and each of the multiple preset conversion rules is associated with a unique scene label; matching the original path planning data with the multiple preset conversion rules, and determining the target conversion rule for converting the original path planning data from the multiple preset conversion rules, includes: matching the target scene label with the multiple scene labels associated with the multiple preset conversion rules, determining a scene label consistent with the target scene label from the multiple scene labels, and using the preset conversion rule associated with the determined scene label as the target conversion rule.

[0007] Optionally, the multiple preset conversion rules and the multiple scene labels are stored in a conversion rule library; the data processing method also includes: when the target conversion rule fails to match, outputting a prompt message to prompt writing the target conversion rule for the original path planning data; associating the written target conversion rule with the target scene label, and storing it in the conversion rule library as a new preset conversion rule and scene label.

[0008] Optionally, the standard input data template includes transport tool data, parking node data, warehouse node data, unloading node data, path-related data, cargo data, and optimization target data, wherein the transport tool data is data used to describe the transport tools that can participate in the distribution of cargo, the parking node data is data used to describe the parking node, and the parking node is a node where the transport tool is parked, the warehouse node data is data used to describe the warehouse node, and the warehouse node is a node for storing and loading cargo, the unloading node data is data used to describe the unloading node, the path-related data is data used to describe the path between any two nodes, the cargo data is data used to describe the cargo to be distributed, and the optimization target data is data used to describe the path planning target.

[0009] Optionally, based on the target conversion rule, converting the original path planning data into pre-processed path planning data includes: performing node conversion processing based on the target conversion rule, converting all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node; based on the converted nodes, adjusting the node-related data in the original path planning data to obtain the pre-processed path planning data.

[0010] Optionally, the original path planning data includes a parking node and multiple transport nodes, and the original path planning data is data describing at least one transport tool starting from the parking node and transferring goods between the multiple transport nodes; the node conversion processing based on the target conversion rule to convert all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node includes: performing node conversion processing based on the target conversion rule to convert each of the multiple transport nodes into a warehouse node and a unloading node, and the parking node remains unchanged to obtain the at least one parking node, the at least one warehouse node, and the at least one unloading node.

[0011] Optionally, the data processing method also includes: matching the target path planning data with an algorithm in a path planning algorithm library to determine a target path planning algorithm that is compatible with the target path planning data; using the target path planning data as input to the target path planning algorithm, and automatically adjusting the hyperparameters of the target path planning algorithm so that the target path planning algorithm outputs a planned path.

[0012] According to another aspect of the present disclosure, a data processing device is provided, comprising: an acquisition unit configured to acquire original path planning data; a matching unit configured to match the original path planning data with a plurality of preset conversion rules, and determine a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, wherein the plurality of preset conversion rules are used to convert the acquired path planning data into data conforming to a standard input data template; a conversion unit configured to convert the original path planning data into preprocessed path planning data based on the target conversion rule; and a writing unit configured to write the preprocessed path planning data into the standard input data template to obtain target path planning data, wherein the target path planning data is used as original input data of a path planning algorithm.

[0013] Optionally, the original path planning data carries a target scene label, and each of the multiple preset conversion rules is associated with a unique scene label; the matching unit is also configured to match the target scene label with multiple scene labels associated with the multiple preset conversion rules, determine a scene label consistent with the target scene label from the multiple scene labels, and use the preset conversion rule associated with the determined scene label as the target conversion rule.

[0014] Optionally, the multiple preset conversion rules and the multiple scene labels are stored in a conversion rule library; the data processing device also includes: an output unit, configured to output prompt information to prompt the writing of the target conversion rule for the original path planning data when the target conversion rule fails to match; a storage unit, configured to associate the written target conversion rule with the target scene label, and store it in the conversion rule library as a new preset conversion rule and scene label.

[0015] Optionally, the standard input data template includes transport tool data, parking node data, warehouse node data, unloading node data, path-related data, cargo data, and optimization target data, wherein the transport tool data is data used to describe the transport tools that can participate in the distribution of cargo, the parking node data is data used to describe the parking node, and the parking node is a node where the transport tool is parked, the warehouse node data is data used to describe the warehouse node, and the warehouse node is a node for storing and loading cargo, the unloading node data is data used to describe the unloading node, the path-related data is data used to describe the path between any two nodes, the cargo data is data used to describe the cargo to be distributed, and the optimization target data is data used to describe the path planning target.

[0016] Optionally, the conversion unit is further configured to: perform node conversion processing based on the target conversion rule, convert all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node; based on the converted nodes, adjust the node-related data in the original path planning data to obtain the preprocessed path planning data.

[0017] Optionally, the original path planning data includes a parking node and multiple transportation nodes, and the original path planning data is data describing at least one transportation tool starting from the parking node and transferring goods between the multiple transportation nodes; the conversion unit is also configured to perform node conversion processing based on the target conversion rule, converting each of the multiple transportation nodes into a warehouse node and a unloading node, and the parking node remains unchanged, thereby obtaining at least one parking node, at least one warehouse node, and at least one unloading node.

[0018] Optionally, the matching unit is also configured to match the target path planning data with the algorithms in the path planning algorithm library to determine a target path planning algorithm that is compatible with the target path planning data; the data processing device also includes an adjustment unit, which is configured to use the target path planning data as the input of the target path planning algorithm and automatically adjust the hyperparameters of the target path planning algorithm so that the target path planning algorithm outputs a planned path.

[0019] According to another aspect of the present disclosure, a computer-readable storage medium storing instructions is provided, wherein when the instructions are executed by at least one computing device, the at least one computing device is prompted to perform the data processing method as described above.

[0020] According to another aspect of the present disclosure, a system is provided, including at least one computing device and at least one storage device storing instructions, wherein when the instructions are executed by the at least one computing device, the at least one computing device is prompted to perform the data processing method as described above.

[0021] According to the data processing method, device, computer-readable storage medium and system of the exemplary embodiments of the present disclosure, by configuring a unified standard input data template and pre-configuring multiple preset conversion rules, the path planning data of different problem scenarios can be converted into pre-processed path planning data that can be filled into the standard input data template, so that the problem conforms to the algorithm setting, and then the converted data is written into the standard input data template, so that standard and unified original input data (that is, the target path planning data corresponding to the pre-processed path planning data) can be provided for different path planning algorithms, thereby providing a path planning problem processing solution that can cover different scenarios and expand the scope of application of the solution.

[0022] Additional aspects and / or advantages of the present general inventive concept will be set forth in part in the following description and in part will be apparent from the description or may be learned through practice of the present general inventive concept. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] These and / or other aspects and advantages of the present disclosure will become clear and more easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0024] Figure 1 is a flowchart illustrating a data processing method according to an exemplary embodiment of the present disclosure;

[0025] Figure 2 is a flowchart illustrating a data processing method according to an exemplary embodiment of the present disclosure;

[0026] Figure 3is a block diagram illustrating a data processing apparatus according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the embodiments of the present invention as defined by the claims and their equivalents. Various specific details are included to assist in understanding, but these details are considered to be exemplary only. Therefore, one of ordinary skill in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, descriptions of well-known functions and structures are omitted for clarity and brevity.

[0028] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.

[0029] The vehicle routing problem (VRP problem) is usually described as follows:

[0030] 1. There are multiple warehouse nodes, which serve as the starting points for transportation tools (such as vehicles and airplanes). Transportation tools can also depart from a parking node (used for parking transportation tools, such as parking lots and aprons), load goods at the warehouse node, and then transport them. Multiple loading / unloading is allowed in the middle.

[0031] 2. There are many types of transportation.

[0032] 3. There are multiple unloading nodes (i.e., customer nodes), and the transport vehicle passes through each unloading node at most once, that is, it will not return to the unloading node it has visited to unload again.

[0033] 4. There are some constraints, including but not limited to the number of transport vehicles, capacity (volume, weight, etc.), minimum full load rate, loading / unloading time window of the node, warehouse shipment volume, path height limit, warehouse inventory, etc.

[0034] 5. There are one or more optimization objectives, including but not limited to minimizing the total transportation distance, minimizing the total cost, minimizing the number of transportation tools, and maximizing the number of unloading nodes. Ultimately, the path of all transportation tools (i.e. the arrangement order of the nodes) needs to be obtained.

[0035] However, existing VRP technology is often only effective for certain specific scenarios. The main problem is that the input settings of the algorithm itself have a limited coverage and there are differences in the input settings between different scenarios.

[0036] According to the data processing method, device, computer-readable storage medium and system of the exemplary embodiments of the present disclosure, by configuring a unified standard input data template and pre-configuring multiple preset conversion rules, the path planning data of different problem scenarios can be converted into pre-processed path planning data that can be filled into the standard input data template, so that the problem conforms to the algorithm setting, and then the converted data is written into the standard input data template, so that standard and unified original input data (that is, the target path planning data corresponding to the pre-processed path planning data) can be provided for different path planning algorithms, thereby providing a path planning problem processing solution that can cover different scenarios and expand the scope of application of the solution.

[0037] Refer to the following Figures 1 to 3 A data processing method and a data processing apparatus according to exemplary embodiments of the present disclosure are described in detail.

[0038] Figure 1 is a flow chart showing a data processing method according to an exemplary embodiment of the present disclosure. The data processing method according to an exemplary embodiment of the present disclosure can be implemented in a computing device with sufficient computing power.

[0039] Reference Figure 1 , in step S101, original path planning data is obtained.

[0040] The original path planning data is data used to describe a path planning problem, for example, it may include data on how a number of transportation tools depart from a specified node and transport goods between several nodes. It should be understood that the goods here are goods in a broad sense, referring to the objects of transportation, such as passengers (i.e., people) in the specific embodiments below, and are not limited to goods in a narrow sense.

[0041] In step S102, the original path planning data is matched with a plurality of preset conversion rules, and a target conversion rule for converting the original path planning data is determined from the plurality of preset conversion rules, wherein the plurality of preset conversion rules are used to convert the acquired path planning data into data conforming to a standard input data template.

[0042] Optionally, the original path planning data carries a target scene tag, and each of the multiple preset conversion rules is associated with a unique scene tag; accordingly, step S102 includes: matching the target scene tag with multiple scene tags associated with the multiple preset conversion rules, determining a scene tag consistent with the target scene tag from the multiple scene tags, and using the preset conversion rule associated with the determined scene tag as the target conversion rule. By configuring the scene tags, the matching of the scene tags can be used to conveniently and accurately determine the appropriate target conversion rule. As an example, the preset conversion rules and their scene tags can be manually formulated by the user, and the target scene tags carried by the original path planning data can also be manually determined by the user, and input together when inputting the original path planning data, for example, a text box can be configured for the user to manually edit the text to realize input, and a selection function such as a configurable drop-down menu can be configured for the user to select a scene tag as the target scene tag.

[0043] Optionally, multiple preset conversion rules and multiple scene tags are stored in the conversion rule library; the data processing method according to the exemplary embodiment of the present disclosure also includes: in the case of a target conversion rule matching failure, outputting a prompt message to prompt the writing of a target conversion rule for the original path planning data (thereafter, data conversion can be performed based on the written target conversion rule); associating the written target conversion rule with the target scene tag, and storing it in the conversion rule library as a new preset conversion rule and scene tag. By configuring the prompt function and the corresponding preset conversion rule expansion function for the case of matching failure, new preset conversion rules can be gradually added as the experience of data processing increases, thereby improving the scalability and flexibility of the solution. As an example, for an embodiment in which the above-mentioned drop-down menu and other selection functions are configured when inputting the original path data, a manual input item can be added to the options to facilitate the user to enter a scene tag that has not yet been saved as the target scene tag. At this time, if the system detects that the user has selected a manual input item, it can be determined that the target conversion rule matching fails, and the above-mentioned prompt message is directly output.

[0044] In step S103, the original path planning data is converted into pre-processed path planning data based on the target conversion rule.

[0045] In step S104, the pre-processed path planning data is written into the standard input data template to obtain the target path planning data, wherein the target path planning data is used as the original input data of the path planning algorithm.

[0046] Optionally, the standard input data template includes transport tool data, parking node data, warehouse node data, unloading node data, path-related data, cargo data, and optimization target data, wherein the transport tool data is data used to describe the transport tools that can participate in the distribution of goods, the parking node data is data used to describe the parking node, the parking node is the node where the transport tool is parked, the warehouse node data is data used to describe the warehouse node, the warehouse node is the node for storing and loading goods, the unloading node data is data used to describe the unloading node, the path-related data is data used to describe the path between any two nodes, the cargo data is data used to describe the cargo to be distributed, and the optimization target data is data used to describe the path planning target. By uniformly configuring the standard input data template composed of the above-mentioned parts of data, the data under different scenarios can be filled into the standard input data template, so that the target path planning data under different scenarios all conform to the unified path planning algorithm input setting. As an example, the transport tool data may include the number of transport tools, upper and lower limits of capacity (capacity may be multi-dimensional data, such as weight, volume, height limit, etc.), the starting point (which may be a warehouse node or a parking node), the maximum working time constraint, the maximum transportation distance constraint, the return point (which may be no return, or return to a designated or arbitrary warehouse node, or return to a parking node), the maximum number of delivery nodes (referring to the maximum number of unloading nodes that can be served), the maximum number of delivery trips constraint (one trip is counted from the departure to the return point), etc.; the parking node data may include the location of the parking node (for example, it can be represented by coordinates), the number of transport tools that can be accommodated, etc.; the warehouse node data may include the location of the warehouse node, the existing inventory, the maximum shipment quantity, working time window, etc.; unloading node data may include the location of the unloading node, cargo demand, unloading time window, service time (the total time a transport tool stays at an unloading node), etc.; path-related data may include a distance matrix (used to record the distance between any two nodes), a travel time matrix (used to record the travel time between any two nodes), a loading / unloading matrix (used to record the loading / unloading relationship and quantity between any two nodes), etc.; cargo data may include cargo capacity (such as multi-dimensional capacity data such as volume, weight, height, etc. of each type of cargo); optimization target data may refer to existing technologies, such as minimizing the total transportation distance, minimizing the total cost, minimizing the number of transport tools, and maximizing the number of unloading nodes passed.

[0047] Optionally, step S103 includes: performing node conversion processing based on the target conversion rule, converting all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node; based on the converted nodes, adjusting the data related to the nodes in the original path planning data to obtain pre-processed path planning data. Considering that the differences between different path planning problems mainly lie in the different arrangements of nodes, by first converting all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node, it can be ensured that the converted nodes meet the unified standards, and then adjusting the node-related data accordingly, that is, the pre-processed path planning data can be reliably obtained.

[0048] Regarding the operation of converting nodes in step S103, in some embodiments, optionally, the original path planning data includes a parking node and multiple transport nodes, and the original path planning data is data describing at least one transport tool starting from the parking node and transferring goods between multiple transport nodes; the operation of converting nodes in step S103 includes: performing node conversion processing based on the target conversion rule, converting each of the multiple transport nodes into a warehouse node and an unloading node, and keeping the parking node unchanged, thereby obtaining at least one parking node, at least one warehouse node, and at least one unloading node. For the original path planning data including a parking node and multiple transport nodes, at this time, each transport node may undertake both loading and unloading tasks. By configuring the target conversion rule that matches it to convert each transport node into a warehouse node and an unloading node, multiple virtual nodes can be created, thereby splitting the loading and unloading tasks of each transport node, so that each node corresponds to only one task, and reliable conversion of nodes is achieved. It should be understood that not every transport node must undertake both loading and unloading tasks at the same time, but the conversion efficiency can be improved by unified conversion when converting nodes. Accordingly, when adjusting the node-related data in the original path planning data based on the converted nodes, for transport nodes that only undertake loading tasks and do not undertake unloading tasks, the unloading quantity of the unloading node obtained by conversion can be determined as 0; for transport nodes that do not undertake loading tasks and only undertake unloading tasks, the loading quantity of the warehouse node obtained by conversion can be determined as 0.

[0049] Next, a specific embodiment is described to describe how the data processing method according to the exemplary embodiment of the present disclosure converts the original path planning data into pre-processed path planning data according to the target conversion rule. The specific embodiment involves a scenario where a helicopter transports personnel to and from an offshore drilling platform.

[0050] The requirement of this scenario is that a helicopter (i.e., a means of transport) departs from a land airport (i.e., a parking node), passes through multiple offshore drilling platforms (i.e., a transport node), and returns to the land airport. When landing on the offshore drilling platform, passengers (i.e., cargo) are picked up and dropped off. The departure and destination of all passengers are planned in advance. Since multiple landings on the same platform are allowed, this problem does not meet the setting of the standard VRP problem. The solution provided by the data processing method disclosed in this disclosure is to virtualize multiple nodes for each platform (i.e., the target conversion rule is to convert each transport node into a warehouse node and an unloading node, and keep the parking node unchanged), so that each node corresponds to only one task (i.e., a loading task or an unloading task).

[0051] Tables 1 and 2 show the loading / unloading matrices of the path planning data before and after the conversion, respectively. Each data in the matrix represents the quantity of goods transported from the transport node in its row to the transport node in its column (i.e., the number of people transported).

[0052] Table 1 Loading / unloading matrix of original path planning data

[0053] 1 2 1 0 1 2 3 0

[0054] Table 2 Loading / unloading matrix of preprocessed path planning data

[0055] 1-1 1-2 2-1 2-2 1-1 0 0 0 1 1-2 0 0 0 0 2-1 0 3 0 0 2-2 0 0 0 0

[0056] As shown in Table 1, the original path planning data indicates that 1 passenger needs to go from platform 1 to platform 2, and 3 passengers need to go from platform 2 to platform 1. After conversion, as shown in Table 2, it becomes four nodes, each of which corresponds to only one task. 1-1 and 2-1 are warehouse nodes, and 1-2 and 2-2 are unloading nodes. Therefore, the pre-processed path planning data indicates that 1 passenger needs to go from node 1-1 to node 2-2, and 3 passengers need to go from node 2-1 to node 1-2. At this time, any node ordering uniquely corresponds to a solution, such as airport → (1-1) → (2-2) → (2-1) → (1-2) → airport. The corresponding solution is to first fly to platform 1 to pick up 1 passenger, then fly to platform 2 to pick up 1 passenger and pick up 3 passengers, then fly to platform 1 to pick up 3 passengers, and finally return to the airport.

[0057] For the operation of converting nodes in step S103, in other embodiments, optionally, the original path planning data includes a parking node, at least one warehouse node, and at least one unloading node, wherein each unloading node is configured with a number of unloading times, and the number of unloading times is not limited to once, that is, repeated unloading is possible (for example, in the takeaway scenario, the takeaways ordered by users from multiple different stores have a time difference in ordering and a time difference in production, which may make it inconvenient for one rider to deliver all the takeaways of the user at one time, and need to be delivered in batches. Accordingly, the goods in each warehouse node are also configured with their own loading time windows), which also does not meet the setting of the standard VRP problem. At this time, the operation of converting nodes in step S103 includes: performing node conversion processing based on the target conversion rule, converting each unloading node into N unloading nodes, N is the number of unloading times of the unloading node, and the parking node and the warehouse node remain unchanged, obtaining at least one parking node, at least one warehouse node, and at least one unloading node. By copying the corresponding number of unloading nodes according to the number of unloading times of the unloading node, each unloading node can be unloaded at most once, which meets the setting of the standard VRP problem and realizes the reliable conversion of nodes.

[0058] Optionally, the data processing method according to the exemplary embodiment of the present disclosure also includes: matching the target path planning data with the algorithm in the path planning algorithm library to determine the target path planning algorithm that is compatible with the target path planning data; using the target path planning data as the input of the target path planning algorithm, and automatically adjusting the hyperparameters of the target path planning algorithm so that the target path planning algorithm outputs the planned path. By further matching the compatible target path planning algorithm and automatically adjusting its hyperparameters, the target path planning algorithm can be used to process the target path planning data, thereby obtaining the planned path and realizing a complete path planning calculation. Among them, when determining the target path planning algorithm, an algorithm suitable for solving such problems can be determined according to the specific values ​​of each data in the target path planning data, such as an algorithm with higher computational efficiency for such problems, thereby taking into account computational efficiency while realizing standardized input. It should be understood that since the various existing path planning algorithms in the art have their applicable problem types, the corresponding target path planning data value characteristics can be determined according to the characteristics of the problem type to which each path planning algorithm is applicable, thereby establishing an algorithm matching rule, and the present disclosure does not limit the specific establishment method. In addition, the operation of automatically adjusting the hyperparameters of the path planning algorithm belongs to the prior art in this field and will not be elaborated here.

[0059] In summary, the data processing method according to the exemplary embodiment of the present disclosure is as follows: Figure 2 As shown, it includes five stages: data content conversion, input data standardization, algorithm selection, algorithm hyperparameter adjustment, and planning path output. The first stage corresponds to Figure 1Steps S101 to S103 in the second stage correspond to Figure 1 In step S104, the subsequent three stages correspond to the algorithm-related steps introduced in the previous paragraph, and it should be understood that the target path planning algorithm can be executed by the execution subject of the data processing method of the present disclosure, so that the execution subject outputs the final planned path. The target path planning algorithm can also be executed by another independent device. At this time, the execution subject of the data processing method of the present disclosure is responsible for determining the target path planning algorithm and its hyperparameters, and transmitting the determined results to the independent device, which can output the planned path by itself after calculating it (at this time Figure 2 The planned path output stage added in the process is only to show the complete path planning process, but the execution subject of the data processing method of the present invention does not participate in the output of the planned path), and it can also be fed back to the execution subject of the data processing method of the present invention, and the execution subject outputs the planned path. The present disclosure does not limit this.

[0060] Figure 3 is a block diagram illustrating a data processing apparatus according to an exemplary embodiment of the present disclosure.

[0061] Reference Figure 3 The data processing device 300 includes an acquisition unit 301, a matching unit 302, a conversion unit 303, and a writing unit 304.

[0062] The acquisition unit 301 may acquire original path planning data.

[0063] The matching unit 302 can match the original path planning data with multiple preset conversion rules, and determine the target conversion rule for converting the original path planning data from the multiple preset conversion rules, wherein the multiple preset conversion rules are used to convert the acquired path planning data into data that conforms to a standard input data template.

[0064] The conversion unit 303 may convert the original path planning data into pre-processed path planning data based on the target conversion rule.

[0065] The writing unit 304 may write the pre-processed path planning data into a standard input data template to obtain target path planning data, wherein the target path planning data is used as original input data of the path planning algorithm.

[0066] Optionally, the original path planning data carries a target scene label, and each of the multiple preset conversion rules is associated with a unique scene label; the matching unit 302 can also match the target scene label with multiple scene labels associated with the multiple preset conversion rules, determine a scene label consistent with the target scene label from the multiple scene labels, and use the preset conversion rule associated with the determined scene label as the target conversion rule.

[0067] Optionally, multiple preset conversion rules and multiple scene labels are stored in a conversion rule library; the data processing device also includes an output unit (not shown in the figure) and a storage unit (not shown in the figure), and the output unit can output prompt information when the target conversion rule fails to match, so as to prompt the writing of target conversion rules for the original path planning data; the storage unit can associate the written target conversion rules with the target scene labels, and store them in the conversion rule library as new preset conversion rules and scene labels.

[0068] Optionally, the standard input data template includes transport tool data, parking node data, warehouse node data, unloading node data, path-related data, cargo data, and optimization target data, wherein the transport tool data is data used to describe the transport tools that can participate in the distribution of goods, the parking node data is data used to describe the parking nodes, and the parking nodes are nodes where the transport tools are parked, the warehouse node data is data used to describe the warehouse nodes, and the warehouse nodes are nodes for storing and loading goods, the unloading node data is data used to describe the unloading nodes, the path-related data is data used to describe the path between any two nodes, the cargo data is data used to describe the cargo to be distributed, and the optimization target data is data used to describe the path planning target.

[0069] Optionally, the conversion unit 303 can also: perform node conversion processing based on the target conversion rule, convert all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node; based on the converted nodes, adjust the node-related data in the original path planning data to obtain preprocessed path planning data.

[0070] Optionally, the original path planning data includes a parking node and multiple transportation nodes. The original path planning data is data describing that at least one means of transportation departs from a parking node and transfers goods between multiple transportation nodes. The conversion unit 303 can also perform node conversion processing based on the target conversion rule, converting each of the multiple transportation nodes into a warehouse node and a unloading node, and the parking node remains unchanged, thereby obtaining at least one parking node, at least one warehouse node, and at least one unloading node.

[0071] Optionally, the matching unit 302 can also match the target path planning data with the algorithms in the path planning algorithm library to determine a target path planning algorithm that is compatible with the target path planning data; the data processing device also includes an adjustment unit (not shown in the figure), which can use the target path planning data as the input of the target path planning algorithm and automatically adjust the hyperparameters of the target path planning algorithm so that the target path planning algorithm outputs a planned path.

[0072] The above has been referred to Figures 1 to 3A data processing method, apparatus, computer-readable storage medium, and system according to exemplary embodiments of the present disclosure are described.

[0073] Figure 3 Each unit in the data processing device shown may be configured as software, hardware, firmware, or any combination of the above items to perform a specific function. For example, each unit may correspond to a dedicated integrated circuit, or may correspond to a pure software code, or may correspond to a module that combines software and hardware. In addition, one or more functions implemented by each unit may also be uniformly executed by components in a physical entity device (e.g., a processor, a client, or a server, etc.).

[0074] In addition, refer to Figure 1 The described data processing method can be implemented by a program (or instruction) recorded on a computer-readable storage medium. For example, according to an exemplary embodiment of the present disclosure, a computer-readable storage medium storing instructions can be provided, wherein when the instructions are executed by at least one computing device, the at least one computing device is prompted to perform the data processing method according to the present disclosure.

[0075] The computer program in the computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. It should be noted that the computer program can also be used to perform additional steps in addition to the above steps or perform more specific processing when performing the above steps. The contents of these additional steps and further processing have been described in reference to Figure 1 It is mentioned in the description of the related method, so it will not be repeated here to avoid repetition.

[0076] It should be noted that the various units in the data processing device according to the exemplary embodiment of the present disclosure can completely rely on the operation of the computer program to realize the corresponding functions, that is, each unit corresponds to each step in the functional architecture of the computer program, so that the entire system is called through a special software package (for example, lib library) to realize the corresponding function.

[0077] on the other hand, Figure 3 The various units shown may also be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. When implemented by software, firmware, middleware, or microcode, the program code or code segment for performing the corresponding operation may be stored in a computer-readable medium such as a storage medium, so that the processor may perform the corresponding operation by reading and running the corresponding program code or code segment.

[0078] For example, the exemplary embodiments of the present disclosure may also be implemented as a computing device, which includes a storage component and a processor, wherein a computer executable instruction set is stored in the storage component, and when the computer executable instruction set is executed by the processor, a data processing method according to the exemplary embodiments of the present disclosure is executed.

[0079] Specifically, the computing device can be deployed in a server or client, or can be deployed on a node device in a distributed network environment. In addition, the computing device can be a PC, a tablet device, a personal digital assistant, a smart phone, a web application, or other device capable of executing the above instruction set.

[0080] Here, the computing device is not necessarily a single computing device, but may also be any device or circuit collection that can execute the above instructions (or instruction sets) individually or jointly. The computing device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that is interconnected with a local or remote (e.g., via wireless transmission) interface.

[0081] In a computing device, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller, or a microprocessor. By way of example and not limitation, a processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.

[0082] According to the data processing method of the exemplary embodiment of the present disclosure, some operations described may be implemented by software, some operations may be implemented by hardware, and furthermore, these operations may be implemented by a combination of software and hardware.

[0083] The processor may execute instructions or codes stored in one of the storage components, which may also store data. Instructions and data may also be sent and received over a network via a network interface device, which may employ any known transmission protocol.

[0084] The storage component may be integrated with the processor, for example, RAM or flash memory is arranged within an integrated circuit microprocessor, etc. In addition, the storage component may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The storage component and the processor may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor can read files stored in the storage component.

[0085] In addition, the computing device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the computing device may be connected to each other via a bus and / or a network.

[0086] The data processing method according to the exemplary embodiment of the present disclosure may be described as various interconnected or coupled functional blocks or functional diagrams. However, these functional blocks or functional diagrams may be equally integrated into a single logical device or operate according to inexact boundaries.

[0087] Therefore, refer to Figure 1 The described data processing method may be implemented by a system including at least one computing device and at least one storage device storing instructions.

[0088] According to an exemplary embodiment of the present disclosure, at least one computing device is a computing device for executing a data processing method according to an exemplary embodiment of the present disclosure, and a computer executable instruction set is stored in the storage device. When the computer executable instruction set is executed by the at least one computing device, the execution reference Figure 1 The data processing method described.

[0089] The above describes various exemplary embodiments of the present disclosure, and it should be understood that the above description is only exemplary and not exhaustive, and the present disclosure is not limited to the disclosed exemplary embodiments. Without departing from the scope and spirit of the present disclosure, many modifications and changes are obvious to those of ordinary skill in the art. Therefore, the scope of protection of the present disclosure should be based on the scope of the claims.

Claims

1. A data processing method, It is characterized in that The data processing method comprises: Get the original path planning data; Matching the original path planning data with a plurality of preset conversion rules, and determining a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, wherein the plurality of preset conversion rules are used to convert the acquired path planning data into data conforming to a standard input data template; Based on the target conversion rule, converting the original path planning data into pre-processed path planning data; The pre-processed path planning data is written into the standard input data template to obtain target path planning data, wherein the target path planning data is used as original input data of the path planning algorithm.

2. The data processing method according to claim 1, It is characterized in that The original path planning data carries a target scene label, and each of the plurality of preset conversion rules is associated with a unique scene label; The matching of the original path planning data with a plurality of preset conversion rules, and determining a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, comprises: The target scene tag is matched with multiple scene tags associated with the multiple preset conversion rules, a scene tag consistent with the target scene tag is determined from the multiple scene tags, and the preset conversion rule associated with the determined scene tag is used as the target conversion rule.

3. The data processing method according to claim 2, It is characterized in that The plurality of preset conversion rules and the plurality of scene labels are stored in a conversion rule library; The data processing method further includes: In the case where the target conversion rule fails to match, outputting prompt information to prompt writing the target conversion rule for the original path planning data; The written target conversion rule is associated with the target scene label and stored in the conversion rule library as a new preset conversion rule and scene label.

4. The data processing method according to claim 1, It is characterized in that The standard input data template includes transport tool data, parking node data, warehouse node data, unloading node data, path-related data, cargo data, and optimization target data, wherein the transport tool data is data used to describe the transport tools that can participate in the distribution of cargo, the parking node data is data used to describe the parking node, and the parking node is the node where the transport tool is parked, the warehouse node data is data used to describe the warehouse node, and the warehouse node is a node for storing and loading cargo, the unloading node data is data used to describe the unloading node, the path-related data is data used to describe the path between any two nodes, the cargo data is data used to describe the cargo to be distributed, and the optimization target data is data used to describe the path planning target.

5. The data processing method according to claim 4, It is characterized in that The converting the original path planning data into pre-processed path planning data based on the target conversion rule includes: Performing node conversion processing based on the target conversion rule to convert all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node; Based on the converted nodes, the data related to the nodes in the original path planning data are adjusted to obtain the pre-processed path planning data.

6. The data processing method according to claim 5, It is characterized in that The original path planning data includes a parking node and a plurality of transport nodes, and the original path planning data is data describing at least one transport tool starting from the parking node and transferring goods between the plurality of transport nodes; The performing node conversion processing based on the target conversion rule to convert all nodes in the original path planning data into at least one parking node, at least one warehouse node, and at least one unloading node includes: Node conversion processing is performed based on the target conversion rule, and each of the multiple transport nodes is converted into a warehouse node and a unloading node, and the parking node remains unchanged, thereby obtaining at least one parking node, at least one warehouse node, and at least one unloading node.

7. The data processing method according to any one of claims 1 to 6, It is characterized in that The data processing method further includes: Matching the target path planning data with an algorithm in a path planning algorithm library to determine a target path planning algorithm that is compatible with the target path planning data; The target path planning data is used as an input of the target path planning algorithm, and hyperparameters of the target path planning algorithm are automatically adjusted so that the target path planning algorithm outputs a planned path.

8. A data processing device, It is characterized in that The data processing device comprises: An acquisition unit, configured to acquire original path planning data; a matching unit, configured to match the original path planning data with a plurality of preset conversion rules, and determine a target conversion rule for converting the original path planning data from the plurality of preset conversion rules, wherein the plurality of preset conversion rules are used to convert the acquired path planning data into data conforming to a standard input data template; a conversion unit, configured to convert the original path planning data into pre-processed path planning data based on the target conversion rule; A writing unit is configured to write the pre-processed path planning data into the standard input data template to obtain target path planning data, wherein the target path planning data is used as original input data of the path planning algorithm.

9. A computer-readable storage medium storing instructions, It is characterized in that When the instructions are executed by at least one computing device, the at least one computing device is prompted to execute the data processing method according to any one of claims 1 to 7.

10. A system comprising at least one computing device and at least one storage device storing instructions, It is characterized in that When the instructions are executed by the at least one computing device, the at least one computing device is prompted to perform the data processing method according to any one of claims 1 to 7.