A logistics single piece assignment method, device and medium based on multi-dimensional features
By performing feature encoding and cross-dimensional association on multi-dimensional data of individual logistics items, and combining machine learning to predict resource occupancy, the problem of accurately representing resource suitability in the allocation of individual logistics items is solved, and more stable and balanced resource utilization is achieved.
Patent Information
- Application Number
- CN202611393738.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for allocating individual logistics items cannot fully reflect the correlation of multidimensional features, making it difficult to accurately characterize the actual carrying capacity and suitability of candidate operation resources, especially affecting the subsequent resource transfer when individual logistics items arrive in succession.
By collecting multidimensional data of individual logistics items and the status and historical processing records of candidate operation resources, feature encoding and cross-dimensional correlation are performed. Machine learning regression models are used to predict processing occupancy, simulate resource substitution, correct load prediction, and select target operation resources for allocation.
This improves the accuracy of matching logistics item processing needs with candidate operation resource processing capabilities, and enhances the stability of logistics item allocation and the balance of resource utilization.
Smart Images

Figure CN123159804A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of logistics distribution technology, and in particular to a method, equipment and medium for single-item distribution based on multi-dimensional features. Background Technology
[0002] With the development of intelligent warehousing and automated sorting technologies, logistics items typically need to be dynamically allocated among multiple candidate task resources based on multi-dimensional data such as images, weight, size, and waybill information. Existing technologies generally match logistics item attributes with the current load status of candidate task resources. Alternatively, machine learning combined with historical processing records can be used to predict the resource occupancy of logistics items, thereby selecting appropriate candidate task resources to complete the allocation of logistics items.
[0003] Because different types of multidimensional data differ in feature scale and data dimension, existing machine learning allocation processes may struggle to fully reflect the correlation between the combined effects of different feature dimensions on processing occupancy when processing each feature separately. Furthermore, the current load status of candidate job resources primarily reflects the immediate resource occupancy. In scenarios where continuous logistics items arrive and can be processed interchangeably among different candidate job resources, the entry of the current logistics item into a candidate job resource may alter the resource transfer status of subsequent logistics items. This makes it difficult to fully characterize the actual load-bearing adaptability of candidate job resources when allocating based solely on real-time predicted load. Summary of the Invention
[0004] In view of the aforementioned existing problems, the present invention is proposed.
[0005] Therefore, this invention provides a logistics single-item allocation method based on multi-dimensional features to solve the problem that the actual load-bearing adaptability of candidate operation resources is difficult to accurately represent during the logistics single-item allocation process.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0007] In a first aspect, the present invention provides a logistics single-item allocation method based on multi-dimensional features, which includes,
[0008] Collect multidimensional data of individual logistics items, as well as the status of candidate operation resources and historical processing records. Match the multidimensional data with the status of candidate operation resources and associate them with historical processing records to form individual item allocation data.
[0009] Feature encoding and cross-dimensional association are performed on the multidimensional data in the single-item allocation data to generate single-item processing features;
[0010] The single-item processing characteristics are matched with the candidate job resource processing characteristics corresponding to historical processing records. The feature differences are calculated and the processing occupancy of each candidate job resource corresponding to a single logistics item is predicted through a machine learning regression model to form resource occupancy data.
[0011] Based on resource usage data, the processing usage of each candidate operation resource corresponding to a single logistics item is matched with the status of the candidate operation resource to generate predicted load data.
[0012] Historical processing records are filtered based on feature differences. Resource occupancy data and predicted load data are combined to simulate resource substitution before and after the processing occupancy is included. The incremental substitution load is calculated and the predicted load data is corrected. Target operation resources are filtered to obtain target allocation data.
[0013] Based on the target allocation data, the logistics unit is controlled to enter the target operation resource, and the status of the candidate operation resource after allocation is updated to obtain the logistics unit allocation result.
[0014] As the multi-dimensional feature-based logistics single-item allocation method of the present invention, the multi-dimensional data includes image data, physical attribute data and waybill data;
[0015] The status of candidate job resources includes availability, current processing usage, and remaining processing capacity.
[0016] The historical processing records include multi-dimensional data of historical logistics items, candidate job resources, actual processing occupancy, and arrival time of logistics items.
[0017] As described in this invention, the logistics single-item allocation method based on multi-dimensional features is characterized in that: the formation of single-item allocation data specifically includes,
[0018] Candidate job resources are filtered based on their availability and mapped to multidimensional data to form candidate status data;
[0019] Candidate job resources in historical processing records are matched with candidate status data, and the corresponding historical processing records are associated to form single-item allocation data.
[0020] As the multi-dimensional feature-based logistics single-item allocation method of the present invention, its characteristic is that: the generation of single-item processing features specifically includes,
[0021] Image data, physical attribute data, and waybill data are extracted from the single item allocation data, and regional gradient coding, normalization coding, and category coding are performed on them respectively. They are then combined according to data type to form fractal coded data.
[0022] The multidimensional data of historical logistics items in the historical processing records are processed according to the encoding method of fractal coding data. The historical median and median absolute deviation are calculated and the fractal coding data is normalized to form standard coding data.
[0023] Cross-dimensional correlation calculations are performed on the standard coded data, and dimensionality is balanced according to the data types in the multidimensional coded data to obtain cross-dimensional correlation components. The cross-dimensional correlation components are then combined with the standard coded data to generate single-item processing features.
[0024] As described in this invention, the logistics single-item allocation method based on multi-dimensional features is characterized in that: the formation of resource occupancy data specifically includes,
[0025] The multidimensional data of historical logistics units are processed according to the generation process of unit processing characteristics, and then matched with the candidate operation resources and actual processing occupancy in the historical processing records to form candidate operation resource processing characteristics.
[0026] The single-item processing characteristics are matched with the candidate job resource processing characteristics according to the feature dimensions. The feature differences are calculated and associated with the actual processing occupancy corresponding to the candidate job resource processing characteristics to form resource matching data.
[0027] After performing regression processing on the feature differences and actual processing occupancy in the resource matching data using a machine learning regression model, the processing occupancy of each candidate operation resource corresponding to a single logistics item is predicted, and resource occupancy data is generated according to the candidate operation resources.
[0028] As the multi-dimensional feature-based logistics single-item allocation method of the present invention, its characteristic is that: the generation of predicted load data specifically includes,
[0029] Based on resource usage data, the processing usage is combined with the current processing usage, the load ratio of the load combination result to the sum of the current processing usage and the remaining processing capacity is calculated and compared with the preset load range to form load matching data;
[0030] The load combination results are nonlinearly corrected based on the load matching data to obtain the predicted load of each candidate job resource.
[0031] Based on the candidate job resources corresponding to the processing occupancy, the predicted load is matched with the status of the candidate job resources to generate predicted load data.
[0032] As the multi-dimensional feature-based logistics single-item allocation method of the present invention, its characteristic is that: obtaining the target allocation data specifically includes,
[0033] Candidate job resources are extracted from the predicted load data, and historical processing records are filtered according to feature differences. Candidate job resources, actual processing occupancy, and arrival time of individual logistics items are retained to form similar historical data.
[0034] Arrange similar historical data according to the arrival time of logistics items, and select other candidate operation resources with remaining processing capacity not less than the actual processing occupancy as alternative candidate operation resources to form time-series alternative data.
[0035] At the arrival time of each logistics item in the time-series replacement data, the processing occupancy is recorded. The actual processing occupancy is matched sequentially, and historical logistics items with insufficient remaining processing capacity are transferred to alternative candidate operation resources to form initial replacement data.
[0036] The remaining processing capacity of alternative candidate operation resources is updated based on the initial alternative data. The updated remaining processing capacity is then matched with subsequent historical logistics items and resources are transferred to form alternative load data.
[0037] Based on the substitution load data, the cumulative actual processing occupancy corresponding to the arrival time of each logistics item is statistically analyzed. This is compared with the cumulative actual processing occupancy before the processing occupancy is included to obtain the substitution load increment. The maximum substitution load increment is selected to correct the predicted load and form the corrected load data.
[0038] The revised predicted load of each candidate job resource in the revised load data is compared, and the target job resources are selected by combining the remaining processing capacity and processing occupancy and corresponding to the logistics unit to obtain the target allocation data.
[0039] As described in this invention, the logistics single-item allocation method based on multi-dimensional features is characterized in that: obtaining the logistics single-item allocation result specifically includes,
[0040] By controlling the entry of logistics units into target operation resources through target allocation data, and matching the processing occupancy in resource occupancy data with the target operation resources, allocation execution data is formed.
[0041] Update the current processing occupancy and remaining processing capacity of the target job resources according to the processing occupancy in the allocated execution data, calculate the updated load ratio and compare it with the preset load range, update the availability status, and form resource status data;
[0042] Based on the same target operation resources, the logistics unit and processing occupancy in the allocation execution data are mapped to the current processing occupancy, remaining processing capacity and availability in the resource status data to obtain the logistics unit allocation result.
[0043] In a second aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, wherein when the computer program is executed by the processor, it implements any step of the multi-dimensional feature-based logistics single-item allocation method as described in the first aspect of the present invention.
[0044] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the multi-dimensional feature-based logistics single-item allocation method as described in the first aspect of the present invention.
[0045] The beneficial effects of this invention are as follows: By cross-dimensionally associating multidimensional data of individual logistics items and combining machine learning to predict the processing occupancy of each candidate job resource, the correlation features between image data, physical attribute data, and waybill data can jointly participate in resource occupancy representation, improving the matching accuracy between the processing demand of individual logistics items and the processing capacity of candidate job resources; by analyzing the resource substitution situation before and after the inclusion of individual logistics items based on similar historical processing records, and using the incremental substitution load to correct the predicted load, the subsequent resource transfer load caused by the current individual logistics item can be included in the candidate job resource screening, improving the completeness of the load status representation and the rationality of the selection of target job resources during continuous logistics operations, thereby enhancing the stability of individual logistics item allocation and the balance of candidate job resource utilization. Attached Figure Description
[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a flowchart of a logistics single-item allocation method based on multi-dimensional features.
[0048] Figure 2 This is a schematic diagram illustrating the generation of single-item processing features and prediction of resource usage.
[0049] Figure 3 A schematic diagram illustrating the replacement of load increment calculation and predicted load correction.
[0050] Figure 4 A schematic diagram illustrating the updating of target task resource selection and logistics item allocation results. Detailed Implementation
[0051] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0052] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0053] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.
[0054] Reference Figures 1-4 This is one embodiment of the present invention, which provides a logistics single-item allocation method based on multi-dimensional features, including the following steps:
[0055] S1: Collect multidimensional data of individual logistics items, as well as the status of candidate operation resources and historical processing records. Match the multidimensional data with the status of candidate operation resources and associate them with historical processing records to form individual item allocation data.
[0056] It should be explained that when a logistics item enters the allocation location, an industrial camera continuously acquires images of the item's outer surface and saves them according to the logistics item, obtaining image data; a weighing sensor acquires the weight of the logistics item, and a dimensional measurement sensor acquires the length, width, and height of the logistics item. The weight, length, width, and height are matched against the same logistics item to obtain physical attribute data; a barcode reader scans the waybill barcode carried on the logistics item, and the corresponding destination, transportation service type, and processing requirements are read according to the waybill barcode to obtain waybill data. The image data, physical attribute data, and waybill data are matched against the same logistics item to obtain multidimensional data of the logistics item; from The status acquisition interface corresponding to each candidate job resource reads whether the candidate job resource is currently allowed to receive logistics orders, the processing capacity already occupied by processed tasks, and the processing capacity that can continue to receive logistics orders, and records them as available status, current processing occupancy, and remaining processing capacity, respectively, to obtain the status of the candidate job resource. Processing capacity is uniformly represented by equivalent processing time. According to the same scheduling cycle, the processing time corresponding to the logistics orders already handled by each candidate job resource is aggregated into the current processing occupancy. The difference between the total processing time that can be provided within the scheduling cycle and the current processing occupancy is determined as the remaining processing capacity. When candidate job resources have different processing rates or parallel processing capabilities, they are processed according to... Based on the rated processing rate and parallel processing capacity of the candidate job resources, the actual occupancy time of a single logistics item is converted into the equivalent processing time corresponding to a single standard processing channel, ensuring that the current processing occupancy, remaining processing capacity, and actual processing occupancy of different candidate job resources adopt the same time dimension. Multidimensional data of historical logistics items, the candidate job resources undertaking the processing tasks of historical logistics items, the equivalent processing time occupied during the processing of historical logistics items are read from the historical processing record storage location in record order and recorded as the actual processing occupancy, along with the arrival time of the historical logistics item when entering the corresponding candidate job resource, are obtained to acquire the historical processing record. The availability status of the candidate job resources is then used to determine the historical processing record. The status filter identifies candidate job resources currently allowed to receive logistics items. Multidimensional data of the same logistics item is mapped to the selected candidate job resources, ensuring that image data, physical attribute data, and waybill data correspond to the available status, current processing occupancy, and remaining processing capacity of each candidate job resource. Records matching the corresponding candidate job resources in historical processing records are searched one by one. The multidimensional data, actual processing occupancy, and arrival time of the found historical logistics items are associated with the corresponding candidate job resources. The multidimensional data of the logistics items, the status of the candidate job resources, and the corresponding historical processing records are then arranged sequentially according to the candidate job resources to form item allocation data.
[0057] S2: Perform feature encoding and cross-dimensional association on the multi-dimensional data in the single-item allocation data to generate single-item processing features.
[0058] S2.1: Extract image data, physical attribute data, and waybill data from the single item allocation data, perform regional gradient coding, normalization coding, and category coding respectively, and combine them according to data type to form fractal coded data.
[0059] It should be explained that image data, physical attribute data, and waybill data are read from the single-item allocation data according to the correspondence of the same logistics single item; the image data is divided into continuous image regions according to the row and column positions of pixels; within each image region, surrounding adjacent pixels are selected with the current pixel as the center; using the Sobel gradient processing method, the gray-level difference between the left and right adjacent pixels is performed according to the corresponding position weights to obtain the horizontal gradient, and the gray-level difference between the upper and lower adjacent pixels is performed according to the corresponding position weights to obtain the vertical gradient; the gradient magnitude and gradient direction are determined according to the degree of change of the horizontal and vertical gradients, and the gradient direction is assigned to the corresponding direction interval; the corresponding gradient magnitudes are aggregated according to the direction intervals within the same image region, and the gradient magnitudes corresponding to different direction intervals are arranged according to the position order of the image region to complete the regional gradient encoding of the image data; for the weight, length, width, and height in the physical attribute data, the minimum and maximum values corresponding to the same physical attribute in the historical processing records are found respectively, and the range normalization method is used to classify the corresponding logistics single item. The relative positions of physical attribute values between the minimum and maximum values are converted into encoded values within the range of zero to one. When the maximum value equals the minimum value, the encoded value of the corresponding physical attribute is set to zero, and the values are arranged in the order of weight, length, width, and height to complete the normalization encoding of the physical attribute data. For the destination, transportation service type, and processing requirements in the waybill data, the category values that have appeared in the historical processing records are collected and arranged in a fixed order. Valid codes are assigned to the positions of the corresponding category values of logistics items, and invalid codes are assigned to other positions in the same category field. When the corresponding category value of a logistics item does not appear in the historical processing records, all positions in the corresponding category field are assigned invalid codes, and the values are arranged in the order of destination, transportation service type, and processing requirements to complete the category encoding of the waybill data. The encoded content corresponding to the regional gradient encoding, normalization encoding, and category encoding is arranged in the order of data types of image data, physical attribute data, and waybill data, while keeping the encoding positions corresponding to different data types independent of each other, forming fractal coded data.
[0060] It should also be noted that the image data of current and historical logistics items use the same cropping range and are unified to the same pixel size; the size of continuous image regions is 8×8 pixels, and when the image boundary is less than 8×8 pixels, the gray values of adjacent boundary pixels are used to pad it; the gradient direction is divided into 9 continuous direction intervals from 0° to 180°, with each direction interval corresponding to 20°. When the gradient direction is equal to the boundary angle of the direction interval, it is assigned to the direction interval with the boundary angle as the starting angle. 180° is processed according to the direction interval corresponding to 0°; regional gradient encoding is performed according to the same continuous image region size, boundary processing method and gradient direction interval, so that current and historical logistics items have the same number of encoding positions and arrangement order.
[0061] The Sobel gradient processing method obtains the horizontal and vertical gradients by performing horizontal and vertical differences on the grayscale changes of the pixels surrounding the current pixel.
[0062] The corresponding position weights are set according to the directional difference principle in the Sobel gradient processing method. Adjacent pixels in the same row or column have a high degree of representation of grayscale changes in the corresponding direction, and the absolute value of the weight is set to 2. The absolute value of the weight of diagonal pixels is set to 1. The weight of the center position is set to 0. Opposite signs are used on both sides of the direction to distinguish the direction of grayscale change. The algebraic sum of the weights of the corresponding positions in the horizontal and vertical directions is 0, and the sum of the absolute values of the weights is 8.
[0063] The fixed order is determined according to the order in which the values of each category first appear in the historical processing records. The destination, transportation service type and processing requirements are arranged independently, and the values of the same category always maintain the same arrangement position in the subsequent category coding process.
[0064] S2.2: Process the multidimensional data of historical logistics items in the historical processing records according to the encoding method of fractal coding data, calculate the historical median and median absolute deviation, and normalize the deviation of the fractal coding data to form standard coding data.
[0065] It should be noted that, following the encoding method used in S2.1 when forming the fractal dimension encoded data, the image data, physical attribute data, and waybill data of each historical logistics item in the historical processing records are subjected to the same regional gradient encoding, normalization encoding, and category encoding. The encoded content is arranged in the order of data type (image data, physical attribute data, and waybill data) to ensure consistency between the encoded content of the historical logistics items and the fractal dimension encoded data at the same encoding position. For the same encoding position, the encoded values corresponding to each historical logistics item are arranged in ascending order. When the number of historical logistics items is odd, the encoded value at the middle position is selected as the historical median. When the number of historical logistics items is even, the encoded values at the two middle positions are averaged to obtain the historical median. The code value of each historical logistics item at the corresponding code position is processed by subtracting the historical median value and taking the absolute value. The resulting absolute deviations are arranged in ascending order, and the median absolute deviation of the corresponding code position is obtained by taking the same median value. The code values of the same code position in the fractal coding data are processed one by one. The code value is subtracted from the corresponding historical median value. When the median absolute deviation is greater than zero, the difference is divided by the corresponding median absolute deviation to obtain the normalized result of the corresponding code position. When the median absolute deviation is equal to zero, the difference between the code value and the historical median value is used as the normalized result of the corresponding code position. All normalized results are arranged according to the original code position of the fractal coding data to form standard coding data.
[0066] S2.3: Perform cross-dimensional correlation calculation on the standard coded data, and perform dimensional balance according to the data type in the split-dimensional coded data to obtain cross-dimensional correlation components. Combine the cross-dimensional correlation components with the standard coded data to generate single-item processing features.
[0067] It should be noted that, according to the data type order of image data, physical attribute data, and waybill data in the fractal-dimensional coded data, the coded content in the standard coded data is respectively mapped to image data, physical attribute data, and waybill data. For any coded position in the standard coded data, according to the data type to which the coded position belongs, standard coded values are read one by one from the coded content corresponding to the other two data types. The standard coded value at the current coded position is multiplied by the read standard coded value, and the multiplication results are averaged according to the number of coded positions corresponding to the other two data types, so that the difference in the number of coded positions corresponding to image data, physical attribute data, and waybill data does not change the contribution of different data types to the degree of cross-dimensional correlation. The average results obtained from the other two data types are averaged again to obtain the cross-dimensional association result corresponding to the current encoding position. The same processing is performed on all cross-dimensional association results according to the encoding position order in the standard encoded data to complete the cross-dimensional association calculation. The corresponding cross-dimensional association results are arranged according to the data type order of image data, physical attribute data, and waybill data in the fractal encoded data, and the contribution ratio of image data, physical attribute data, and waybill data in the cross-dimensional association results is kept consistent to complete the dimensional balance and obtain the cross-dimensional association components. The cross-dimensional association components are arranged according to the encoding position order of the standard encoded data, and the standard encoded data and cross-dimensional association components are connected according to the corresponding encoding position order to generate single-item processing features.
[0068] S3: Match the single-item processing characteristics with the candidate job resource processing characteristics corresponding to the historical processing records, calculate the feature differences, and predict the processing occupancy of each candidate job resource corresponding to a single logistics item through a machine learning regression model to form resource occupancy data.
[0069] S3.1: Process the multidimensional data of historical logistics units according to the generation process of unit processing characteristics, and match them with the candidate operation resources and actual processing occupancy in the historical processing records to form candidate operation resource processing characteristics.
[0070] It should be noted that the multidimensional data, candidate job resources, and actual processing occupancy of historical logistics items are read one by one from the historical processing records. The multidimensional data of historical logistics items is encoded using the same regional gradient coding, normalized coding, and category coding methods as the multidimensional data of logistics items in S2.1, and the coding content is arranged in the order of data type: image data, physical attribute data, and waybill data. The historical median and median absolute deviation determined in S2.2 are used to normalize the coding content at the same coding position, ensuring consistency between the coding position and the standard coding data. The cross-dimensional correlation calculation and dimensionality balancing methods in S2.3 are used for processing. The coded content after deviation normalization is connected with the cross-dimensional association results in the same coded position order, so that the feature content formed after multi-dimensional data processing of historical logistics items has the same feature dimension and arrangement order as the item processing features. Using the same historical processing record as the corresponding basis, the processed feature content is matched one-to-one with the candidate operation resources that undertake the processing of the corresponding historical logistics item in the historical processing record and the corresponding actual processing occupancy. The feature content and actual processing occupancy corresponding to the same candidate operation resource are then aggregated according to the candidate operation resources to form the candidate operation resource processing features.
[0071] S3.2: Match the single-item processing features with the candidate job resource processing features according to the feature dimensions, calculate the feature differences and associate them with the actual processing occupancy corresponding to the candidate job resource processing features to form resource matching data.
[0072] It should be noted that the single-item processing feature is aligned item by item with the candidate job resource processing feature corresponding to each candidate job resource according to the order of feature values. The feature value at each position in the single-item processing feature is matched with the feature value at the same position in the candidate job resource processing feature. The expression is as follows:
[0073] ;
[0074] in, Indicates single-item processing characteristics and candidate job resources The corresponding number The feature differences between the resource processing features of the candidate jobs This indicates the sequence number of the candidate job resources. This indicates the sequence number of the candidate job resource processing characteristics corresponding to the candidate job resource. This indicates the number of feature values in a single-item processing feature. Indicates the position of the eigenvalues. Indicating the first feature in single-item processing Feature values of each permutation position Indicates candidate job resources The corresponding number The first of the candidate job resource processing features The feature values of each permutation position.
[0075] Based on the historical processing records of the candidate job resource processing features, the feature differences are matched with the actual processing occupancy in the same historical processing record, and the candidate job resources corresponding to the actual processing occupancy are retained. Each feature difference corresponding to the same candidate job resource is associated with the corresponding actual processing occupancy. The feature differences and actual processing occupancy are arranged according to the candidate job resources to form resource matching data.
[0076] S3.3: After performing regression processing on the feature differences and actual processing occupancy in the resource matching data through machine learning regression model, the processing occupancy of each candidate operation resource corresponding to a single logistics item is predicted, and resource occupancy data is formed according to the candidate operation resources.
[0077] It should be noted that the training set for the machine learning regression model is obtained from historical processing records. Following the single-item processing feature generation process in S3.1, the multidimensional data of historical logistics items are processed to obtain candidate operation resource processing features corresponding to each historical logistics item. The number of candidate operation resource processing features is counted for each candidate operation resource. If there are at least two candidate operation resource processing features, they are retained for training. If there is only one candidate operation resource processing feature, the actual processing occupancy in the corresponding historical processing record is used as the processing occupancy of the corresponding candidate operation resource. If no candidate operation resource processing feature exists, the median value of the actual processing occupancy in the historical processing record is used as the processing occupancy. The processing occupancy of candidate job resources is determined. For each candidate job resource, one retained candidate job resource processing feature is selected as the feature to be predicted. According to the feature difference calculation method in S3.2, the feature to be predicted is compared with other retained candidate job resource processing features corresponding to the same candidate job resource one by one to obtain the corresponding feature difference. The feature difference and the actual processing occupancy corresponding to other candidate job resource processing features are used as training inputs. The actual processing occupancy corresponding to the historical processing record of the source of the feature to be predicted is used as the training label. The feature to be predicted is changed in turn and the same processing is performed. The training input and corresponding training label are collected according to the candidate job resources to form the training set of the machine learning regression model.
[0078] The machine learning regression model employs a fully connected neural network regression model, consisting of an input layer, a first hidden layer, a second hidden layer, and an output layer. The input layer has a dimension of 2, corresponding to feature differences and actual processing overhead, respectively. The first hidden layer has a dimension of 8, the second hidden layer has a dimension of 4, and the output layer has a dimension of 1, corresponding to processing overhead. The connection weights and biases between the input layer and the first hidden layer, the first hidden layer and the second hidden layer, and the second hidden layer and the output layer are initialized. The feature differences and actual processing overhead from the training input are fed into the input layer. Each node in the first hidden layer collects the feature differences and actual processing overhead transmitted from the input layer according to its corresponding connection weights, combines them with the corresponding bias, and then passes them through the ReLU activation function to form the first hidden layer output. The second hidden layer processes the first hidden layer output in the same way to form its own output. The output layer collects the second hidden layer output according to its connection weights and combines it with the corresponding bias to obtain the output. The processing occupancy is predicted. If the predicted processing occupancy is not less than zero, it is used as the predicted processing occupancy; if it is less than zero, it is set to zero. The difference between the predicted processing occupancy and the actual processing occupancy corresponding to the training label is calculated. The squared differences of the same batch of training content are averaged to obtain the mean squared error. Following the reverse order of the output layer, the second hidden layer, and the first hidden layer, the direction of change of the mean squared error is passed layer by layer to each connection weight and bias. The connection weights and biases are updated according to the direction and degree of influence of each connection weight and bias on the mean squared error, completing one training iteration. The training input transmission, processing occupancy prediction, mean squared error acquisition, and connection weight and bias update are repeated. The mean squared errors corresponding to each training iteration are compared within a set number of training iterations. The connection weights and biases corresponding to the training iteration with the smallest mean squared error are retained to obtain the machine learning regression model.
[0079] It should also be noted that the ReLU activation function is a commonly used activation function in existing neural networks. The ReLU activation function processes the input value in segments. When the input value is greater than zero, the input value is retained as the output. When the input value is not greater than zero, the output is set to zero. It is used to complete the nonlinear feature transmission of each node in the first and second hidden layers.
[0080] The minimum training round for mean square error is determined based on the comparison results of the mean square error corresponding to each training round, and no fixed value is set; for example, if the training round is set to 200 rounds, and the mean square error corresponding to the 146th round is the lowest value in the 200-round training process, then the minimum training round for mean square error is the 146th round.
[0081] For each candidate job resource, the corresponding feature differences and actual processing occupancy are read from the resource matching data. The interrelated feature differences and actual processing occupancy are then input into the machine learning regression model according to the order of the input layers. The model is passed layer by layer through the first and second hidden layers according to the connection weights and biases retained after training. The output layer outputs the corresponding processing occupancy. If the output processing occupancy is less than zero, it is set to zero; otherwise, it is retained. The same regression processing is performed on all feature differences and actual processing occupancy corresponding to the same candidate job resource. The resulting processing occupancy is then arithmetically averaged and used as the processing occupancy for each logistics item. If no corresponding resource matching data exists for a candidate job resource, the actual processing occupancy is extracted from historical processing records and arranged in ascending order. The median value of the actual processing occupancy is taken as the processing occupancy for each logistics item. Finally, the processing occupancy for each candidate job resource is obtained, ensuring that each candidate job resource corresponds to a single processing occupancy. These processing occupancy values are then arranged according to the candidate job resources to form resource occupancy data.
[0082] S4: Based on the resource occupancy data, the processing occupancy of each candidate operation resource corresponding to a single logistics item is matched with the status of the candidate operation resource to generate predicted load data.
[0083] S4.1: Based on the resource usage data, combine the processing usage with the current processing usage, calculate the load ratio of the load combination result to the sum of the current processing usage and the remaining processing capacity, and compare it with the preset load range to form load matching data.
[0084] It should be noted that, following the correspondence between candidate job resources and processing occupancy in the resource occupancy data, the processing occupancy corresponding to each candidate job resource is read one by one. The current processing occupancy and remaining processing capacity of the same candidate job resource are matched from the candidate job resource status. The processing occupancy and current processing occupancy are added together to obtain the load combination result after the logistics unit is included in the corresponding candidate job resource. The current processing occupancy and remaining processing capacity are added together to obtain the total processing capacity. Finally, the load combination result is divided by the total processing capacity to obtain the load ratio of the corresponding candidate job resource. The expression is as follows:
[0085] ;
[0086] in, Indicates the first The load ratio of each candidate job resource. Indicates the first The result of load combination of candidate job resources Indicates the first The current processing resource usage of each candidate job. Indicates the first The remaining processing capacity of each candidate job resource. This indicates the sequence number of the candidate job resources.
[0087] The load ratio of each candidate job resource is compared with the lower and upper boundaries of the preset load range. When the load ratio is within the preset load range, the load ratio of the corresponding candidate job resource is recorded as meeting the preset load range. When the load ratio is lower than the lower boundary of the preset load range or higher than the upper boundary of the preset load range, the load ratio of the corresponding candidate job resource is recorded as not meeting the preset load range. The processing occupancy, current processing occupancy, remaining processing capacity, load ratio and corresponding comparison results are matched sequentially according to the candidate job resources to form load matching data.
[0088] It should also be noted that the load range is set according to the load ratio that the candidate job resources are allowed to continuously carry out logistics single-item processing tasks, and the load range is 0 to 0.85.
[0089] S4.2: Perform nonlinear correction on the load combination results based on the load matching data to obtain the predicted load of each candidate job resource;
[0090] It should be noted that the load ratio, load combination result, and comparison result between the load ratio and the preset load range are read from the load matching data according to the candidate job resources. The load combination result is then non-linearly corrected according to the range in which the load ratio falls. The expression is as follows:
[0091] ;
[0092] in, Indicates the first Predicted load on resources for each candidate job. This indicates the upper boundary of the preset load range.
[0093] When the load ratio is within the preset load range, the load amount corresponding to the load combination result is increased based on the square of the load ratio, so that the correction degree of the load combination result increases non-linearly when the load ratio increases; when the load ratio is higher than the upper boundary of the preset load range, the difference between the load ratio and the upper boundary of the preset load range is squared based on the correction corresponding to the square of the load ratio, and the load amount corresponding to the load combination result is further increased using the squared difference result, so that the degree of exceeding the upper boundary of the preset load range is synchronously reflected in the predicted load amount; the same processing is performed on each candidate job resource to obtain the predicted load amount of each candidate job resource.
[0094] S4.3: Match the predicted load with the status of the candidate job resources according to the processing occupancy to generate predicted load data.
[0095] It should be noted that, according to the correspondence between the processing occupancy and candidate job resources in the resource occupancy data, the candidate job resources corresponding to the processing occupancy are read one by one. Using the candidate job resources as matching identifiers, the predicted load corresponding to the same candidate job resource is found in the predicted load of each candidate job resource. The available status, current processing occupancy, and remaining processing capacity corresponding to the same candidate job resource are also found in the candidate job resource status. The processing occupancy, predicted load, available status, current processing occupancy, and remaining processing capacity corresponding to the same candidate job resource are kept in a one-to-one correspondence. The corresponding contents are arranged in the order of the candidate job resources so that each predicted load can be consistent with the candidate job resource status used when the predicted load is generated, thus generating the predicted load data.
[0096] S5: Filter historical processing records based on feature differences, combine resource occupancy data and predicted load data to simulate the resource substitution situation before and after the processing occupancy is included, calculate the substitution load increment and correct the predicted load data, filter target job resources, and obtain target allocation data.
[0097] S5.1: Extract candidate job resources from the predicted load data, filter historical processing records according to feature differences, and retain candidate job resources, actual processing occupancy, and arrival time of individual logistics items to form similar historical data.
[0098] It should be explained that candidate job resources are read from the predicted load data in the order of their arrangement, and feature differences corresponding to the same candidate job resource are found in the resource matching data. According to the correspondence between the feature differences and the historical processing records of the candidate job resource processing features, the feature differences corresponding to the same candidate job resource are arranged in ascending order. The median of all feature differences corresponding to the same candidate job resource is calculated. Historical processing records with feature differences not greater than the corresponding median are retained, while historical processing records with feature differences greater than the corresponding median are discarded. Candidate job resources, actual processing occupancy, and single-item arrival time are read one by one according to the retained historical processing records, and the original correspondence between candidate job resources, actual processing occupancy, single-item arrival time, and corresponding feature differences is maintained. Similar historical data is formed by collecting and retaining the content according to the candidate job resources.
[0099] S5.2: Arrange similar historical data according to the arrival time of individual logistics items, and select other candidate operation resources with remaining processing capacity not less than the actual processing occupancy as alternative candidate operation resources to form time-series alternative data.
[0100] It should be noted that the actual processing occupancy and arrival time of each logistics item are arranged according to the candidate operation resources in similar historical data. Furthermore, historical logistics items are arranged from front to back according to their arrival time in the similar historical data corresponding to the same candidate operation resource. The resource occupancy of historical logistics items under the candidate operation resource state corresponding to the predicted load data is simulated sequentially according to the arranged order. For each arranged historical logistics item, other candidate operation resources (excluding those corresponding to the historical processing records) and their corresponding remaining processing capacity are read from the predicted load data. The remaining processing capacity in the predicted load data is used as the remaining processing capacity of the corresponding candidate operation resource at the start of the time-series simulation. To determine processing capacity, the actual processing occupancy of each historical logistics item is compared with the remaining processing capacity of other candidate operation resources. Other candidate operation resources with remaining processing capacity not lower than the actual processing occupancy are retained and ranked from largest to smallest remaining processing capacity. These ranked candidate operation resources are then used as replacement candidate operation resources for the corresponding historical logistics items. Following the order of logistics item arrival times from front to back, the candidate operation resources, actual processing occupancy, logistics item arrival times, and replacement candidate operation resources ranked from largest to smallest remaining processing capacity for each historical logistics item are kept in a corresponding order to form time-series replacement data.
[0101] S5.3 At the arrival time of each logistics unit in the time-series replacement data, the processing occupancy is recorded, and the actual processing occupancy is matched in turn. Historical logistics units with insufficient remaining processing capacity are transferred to alternative candidate operation resources to form initial replacement data.
[0102] It should be noted that historical logistics unit matching is performed on each candidate job resource in the time-series replacement data. The remaining processing capacity corresponding to each candidate job resource in the predicted load data is used as the initial remaining processing capacity. A baseline matching state is established where the processing occupancy is not included, and a point-in-time matching state is established where the processing occupancy is included at the arrival time of each logistics unit. The actual processing occupancy is matched sequentially according to the arrival time of the logistics units from front to back. When the point-in-time matching state reaches the arrival time of the corresponding logistics unit, the current remaining processing capacity of the candidate job resource is subtracted from the processing occupancy in the resource occupancy data, and the matching of subsequent actual processing occupancy continues. When the current remaining processing capacity is lower than the actual processing occupancy, alternative candidate job resources with remaining processing capacity that meet the actual processing occupancy are selected from the alternative candidate job resources of the corresponding historical logistics unit, and the historical logistics unit is transferred to the corresponding alternative candidate job resource. The historical logistics unit, corresponding candidate job resource, alternative candidate job resource, actual processing occupancy, and logistics unit arrival time that were transferred in the baseline matching state and each point-in-time matching state are retained to form the initial replacement data.
[0103] S5.4: Update the remaining processing capacity of alternative candidate operation resources based on the initial alternative data, match subsequent historical logistics items according to the updated remaining processing capacity and transfer resources to form alternative load data.
[0104] It should be noted that, according to the arrival time of each logistics item in the initial replacement data, historical logistics items that have been transferred are read sequentially. The remaining processing capacity of the replacement candidate operation resource is subtracted from the actual processing occupancy of the transferred item. Based on the updated remaining processing capacity, subsequent historical logistics items corresponding to the original replacement candidate operation resource in the time-series replacement data are matched. If the updated remaining processing capacity is lower than the actual processing occupancy of the subsequent historical logistics item, the subsequent historical logistics item is transferred to another corresponding replacement candidate operation resource. The remaining processing capacity of the corresponding replacement candidate operation resource is updated according to the actual processing occupancy of the transferred item. Subsequent capacity matching is continued in the same way until no more historical logistics items with insufficient remaining processing capacity are generated. Based on the baseline matching state and the matching state at each time point, the historical logistics items transferred during the resource transfer process, the corresponding candidate operation resource, the replacement candidate operation resource, the actual processing occupancy, and the arrival time of the logistics item are retained to form replacement load data.
[0105] S5.5: Based on the alternative load data, the cumulative actual processing occupancy corresponding to the arrival time of each logistics unit is statistically analyzed. This is compared with the cumulative actual processing occupancy before the processing occupancy is included to obtain the alternative load increment. The maximum alternative load increment is selected to correct the predicted load and form the corrected load data.
[0106] It should be explained that, from the alternative load data, according to the candidate job resources corresponding to historical logistics units, the historical logistics units that were transferred under the baseline matching state and the corresponding actual processing occupancy under each time point matching state are read respectively; the actual processing occupancy corresponding to each historical logistics unit that was transferred under the baseline matching state is accumulated to obtain the cumulative actual processing occupancy before the processing occupancy is included, and the actual processing occupancy corresponding to each historical logistics unit that was transferred under each time point matching state is accumulated to obtain the cumulative actual processing occupancy corresponding to the arrival time of each logistics unit; the cumulative actual processing occupancy corresponding to the arrival time of each logistics unit is compared with the processing occupancy before the processing occupancy is included. The cumulative actual processing occupancy is compared to obtain the alternative load increment corresponding to the arrival time of each logistics unit. The alternative load increments corresponding to the same candidate operation resource are compared, and the alternative load increment with the largest value is selected. The maximum alternative load increment is matched with the corresponding predicted load in the predicted load data according to the candidate operation resource. The predicted load is added to the maximum alternative load increment to obtain the corrected predicted load of the corresponding candidate operation resource. The corrected predicted load is kept in correspondence with the processing occupancy and remaining processing capacity of the same candidate operation resource in the predicted load data. The corrected load data is formed by arranging the candidate operation resources in order.
[0107] S5.6: Compare the revised predicted load of each candidate job resource in the revised load data, combine the remaining processing capacity and processing occupancy to filter the target job resources and match them with logistics units to obtain target allocation data.
[0108] It should be noted that, according to the candidate job resources, the corrected predicted load, remaining processing capacity, and processing occupancy in the corrected load data are kept consistent. The remaining processing capacity corresponding to each candidate job resource is compared with the processing occupancy. Candidate job resources with remaining processing capacity not less than the processing occupancy are retained. Among the retained candidate job resources, the corrected predicted load corresponding to each candidate job resource is arranged in ascending order, and the candidate job resource with the smallest corrected predicted load is selected. When two or more candidate job resources have the same minimum corrected predicted load, the remaining processing capacity of the corresponding candidate job resources is arranged in descending order, and the candidate job resource with the largest remaining processing capacity is selected. When two or more candidate job resources have the same minimum corrected predicted load and the same maximum remaining processing capacity, the processing occupancy of the corresponding candidate job resources is arranged in ascending order, and the candidate job resource with the largest remaining processing capacity is selected. The candidate job resource with the smallest processing occupancy is selected as the target job resource. If two or more candidate job resources have the same minimum corrected predicted load, the same maximum remaining processing capacity, and the same minimum processing occupancy, the candidate job resource with the smallest ranking number is selected as the target job resource. If only one candidate job resource with the smallest processing occupancy exists, the corresponding candidate job resource is selected as the target job resource. If no candidate job resource has a remaining processing capacity not lower than the processing occupancy, the current allocation for the current logistics item is not executed. The target job resource is matched with the logistics item with the currently generated item processing characteristics, so that the current logistics item corresponds only to the target job resource in this allocation. The corrected predicted load, remaining processing capacity, and processing occupancy of the current logistics item and the target job resource are kept correlated according to the target job resource to obtain the target allocation data.
[0109] S6: Control the logistics unit to enter the target operation resource according to the target allocation data, and update the status of the candidate operation resource after allocation to obtain the logistics unit allocation result.
[0110] S6.1: Control the entry of logistics units into target operation resources through target allocation data, and match the processing occupancy in resource occupancy data with the target operation resources to form allocation execution data.
[0111] It should be explained that, based on the matching results between logistics units and target operational resources in the target allocation data, the target operational resource is used as the execution object corresponding to the current allocation of the logistics unit. The logistics unit is continuously transported according to the predetermined logistics operation path from its current location to the target operational resource until it enters the target operational resource. The target operational resource is matched item by item with the candidate operational resources in the resource occupancy data. When a candidate operational resource in the resource occupancy data matches the target operational resource, the processing occupancy of the corresponding candidate operational resource is retained. The retained processing occupancy is then associated with the logistics unit entering the target operational resource, so that the processing occupancy predicted for the target operational resource in the resource occupancy data corresponding to the logistics unit is obtained. The logistics unit, the target operational resource, and the processing occupancy are associated with the same target operational resource to form allocation execution data.
[0112] S6.2: Update the current processing occupancy and remaining processing capacity of the target job resources according to the processing occupancy in the allocated execution data, calculate the updated load ratio and compare it with the preset load range, update the availability status, and form resource status data.
[0113] It should be explained that, according to the processing occupancy corresponding to the target job resource in the allocation execution data, the current processing occupancy before the target job resource allocation is added to the current processing occupancy to obtain the updated current processing occupancy. Then, the remaining processing capacity before the target job resource allocation is subtracted from the current processing occupancy to obtain the updated remaining processing capacity. After a logistics item enters the target job resource, the actual processing capacity occupied by the logistics item is obtained through the status acquisition interface corresponding to the candidate job resource in S1, thus obtaining the actual processing occupancy. The actual processing occupancy is compared with the processing occupancy in the allocation execution data. If the actual processing occupancy is inconsistent, the updated current processing occupancy is subtracted from the current processing occupancy and then added to the actual processing occupancy. Similarly, the updated remaining processing capacity is added to the current processing occupancy and then subtracted from the actual processing occupancy to obtain the corrected current processing occupancy and remaining processing capacity, respectively. The current processing occupancy and remaining processing capacity are used as the updated current processing occupancy and updated remaining processing capacity. When the actual processing occupancy matches the current processing occupancy, the updated current processing occupancy and updated remaining processing capacity remain unchanged. The updated current processing occupancy and updated remaining processing capacity are added together to obtain the updated total processing capacity. The updated current processing occupancy and updated total processing capacity are then divided to obtain the updated load ratio. The updated load ratio is compared with a preset load range. If the updated load ratio is within the preset load range, the availability status of the target operation resource is updated to allow continued receiving of logistics items. If the updated load ratio is higher than the upper boundary of the preset load range, the availability status of the target operation resource is updated to stop receiving logistics items. The updated current processing occupancy, updated remaining processing capacity, and updated availability status are kept in correspondence according to the target operation resource to form resource status data.
[0114] S6.3: Based on the same target operation resource, match the logistics unit and processing occupancy in the allocation execution data with the current processing occupancy, remaining processing capacity and availability in the resource status data to obtain the logistics unit allocation result.
[0115] It should be noted that the process involves comparing the target operation resources corresponding to each logistics unit in the allocation execution data with the target operation resources corresponding to the current processing occupancy, remaining processing capacity, and available status in the resource status data. If the two target operation resources are inconsistent, the corresponding content is not grouped into the same record, and the comparison continues between the target operation resources in the allocation execution data and the next target operation resource in the resource status data until the two target operation resources are consistent. When the two target operation resources are consistent, the logistics unit and processing occupancy in the allocation execution data are grouped into the same record according to the target operation resources, along with the current processing occupancy, remaining processing capacity, and available status corresponding to the same target operation resource in the resource status data. This ensures that the same logistics unit corresponds to the target operation resources, processing occupancy, and current processing occupancy, remaining processing capacity, and available status after allocation. The logistics unit allocation result is obtained by maintaining the association between the target operation resources and their corresponding processing occupancy, current processing occupancy, remaining processing capacity, and available status.
[0116] This embodiment also provides a computer device applicable to the logistics single-item allocation method based on multi-dimensional features, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the logistics single-item allocation method based on multi-dimensional features as proposed in the above embodiment.
[0117] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0118] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the multi-dimensional feature-based single-item logistics allocation method proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0119] In summary, this invention, through multi-dimensional feature association, machine learning-based occupancy prediction, and incremental correction of alternative loads, enables the image data, physical attribute data, and waybill data of individual logistics items to form a unified feature representation with cross-dimensional correlation. This improves the completeness of identifying the processing needs of individual logistics items and the accuracy of predicting the processing occupancy of different candidate operation resources. Simultaneously, it incorporates the direct load changes caused by the current logistics item and the associated load changes resulting from subsequent resource substitutions into the allocation judgment, reducing allocation deviations caused by relying solely on the immediate load status. This improves the completeness of the representation of the actual carrying capacity of candidate operation resources and the rationality of target operation resource selection. Furthermore, by updating the resource status after allocation, it maintains the consistency of load information in the continuous allocation process of individual logistics items, enhancing the stability of continuous allocation, the balance of resource utilization, and the overall adaptability of logistics operations.
[0120] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A logistics single-item allocation method based on multi-dimensional features, characterized in that: include, Collect multidimensional data of individual logistics items, as well as the status of candidate operation resources and historical processing records. Match the multidimensional data with the status of candidate operation resources and associate them with historical processing records to form individual item allocation data. Feature encoding and cross-dimensional association are performed on the multidimensional data in the single-item allocation data to generate single-item processing features; The single-item processing characteristics are matched with the candidate job resource processing characteristics corresponding to historical processing records. The feature differences are calculated and the processing occupancy of each candidate job resource corresponding to a single logistics item is predicted through a machine learning regression model to form resource occupancy data. Based on resource usage data, the processing usage of each candidate operation resource corresponding to a single logistics item is matched with the status of the candidate operation resource to generate predicted load data. Historical processing records are filtered based on feature differences. Resource occupancy data and predicted load data are combined to simulate resource substitution before and after the processing occupancy is included. The incremental substitution load is calculated and the predicted load data is corrected. Target operation resources are filtered to obtain target allocation data. Based on the target allocation data, the logistics unit is controlled to enter the target operation resource, and the status of the candidate operation resource after allocation is updated to obtain the logistics unit allocation result.
2. The logistics single-item allocation method based on multi-dimensional features as described in claim 1, characterized in that: The multidimensional data includes image data, physical attribute data, and waybill data; The status of candidate job resources includes availability, current processing usage, and remaining processing capacity. The historical processing records include multi-dimensional data of historical logistics items, candidate job resources, actual processing occupancy, and arrival time of logistics items.
3. The logistics single-item allocation method based on multi-dimensional features as described in claim 2, characterized in that: The formation of single-item allocation data specifically includes, Candidate job resources are filtered based on their availability and mapped to multidimensional data to form candidate status data; Candidate job resources in historical processing records are matched with candidate status data, and the corresponding historical processing records are associated to form single-item allocation data.
4. The logistics single-item allocation method based on multi-dimensional features as described in claim 3, characterized in that: The generated single-item processing features specifically include, Image data, physical attribute data, and waybill data are extracted from the single item allocation data, and regional gradient coding, normalization coding, and category coding are performed on them respectively. They are then combined according to data type to form fractal coded data. The multidimensional data of historical logistics items in the historical processing records are processed according to the encoding method of fractal coding data. The historical median and median absolute deviation are calculated and the fractal coding data is normalized to form standard coding data. Cross-dimensional correlation calculations are performed on the standard coded data, and dimensionality is balanced according to the data types in the multidimensional coded data to obtain cross-dimensional correlation components. The cross-dimensional correlation components are then combined with the standard coded data to generate single-item processing features.
5. The logistics single-item allocation method based on multi-dimensional features as described in claim 4, characterized in that: The formation of resource usage data specifically includes, The multidimensional data of historical logistics units are processed according to the generation process of unit processing characteristics, and then matched with the candidate operation resources and actual processing occupancy in the historical processing records to form candidate operation resource processing characteristics. The single-item processing characteristics are matched with the candidate job resource processing characteristics according to the feature dimensions. The feature differences are calculated and associated with the actual processing occupancy corresponding to the candidate job resource processing characteristics to form resource matching data. After performing regression processing on the feature differences and actual processing occupancy in the resource matching data using a machine learning regression model, the processing occupancy of each candidate operation resource corresponding to a single logistics item is predicted, and resource occupancy data is generated according to the candidate operation resources.
6. The logistics single-item allocation method based on multi-dimensional features as described in claim 5, characterized in that: The generation of predicted load data specifically includes, Based on resource usage data, the processing usage is combined with the current processing usage, the load ratio of the load combination result to the sum of the current processing usage and the remaining processing capacity is calculated and compared with the preset load range to form load matching data; The load combination results are nonlinearly corrected based on the load matching data to obtain the predicted load of each candidate job resource. Based on the candidate job resources corresponding to the processing occupancy, the predicted load is matched with the status of the candidate job resources to generate predicted load data.
7. The logistics single-item allocation method based on multi-dimensional features as described in claim 6, characterized in that: The acquisition of target allocation data specifically includes, Candidate job resources are extracted from the predicted load data, and historical processing records are filtered according to feature differences. Candidate job resources, actual processing occupancy, and arrival time of individual logistics items are retained to form similar historical data. Arrange similar historical data according to the arrival time of logistics items, and select other candidate operation resources with remaining processing capacity not less than the actual processing occupancy as alternative candidate operation resources to form time-series alternative data. At the arrival time of each logistics item in the time-series replacement data, the processing occupancy is recorded. The actual processing occupancy is matched sequentially, and historical logistics items with insufficient remaining processing capacity are transferred to alternative candidate operation resources to form initial replacement data. The remaining processing capacity of alternative candidate operation resources is updated based on the initial alternative data. The updated remaining processing capacity is then matched with subsequent historical logistics items and resources are transferred to form alternative load data. Based on the substitution load data, the cumulative actual processing occupancy corresponding to the arrival time of each logistics item is statistically analyzed. This is compared with the cumulative actual processing occupancy before the processing occupancy is included to obtain the substitution load increment. The maximum substitution load increment is selected to correct the predicted load and form the corrected load data. The revised predicted load of each candidate job resource in the revised load data is compared, and the target job resources are selected by combining the remaining processing capacity and processing occupancy and corresponding to the logistics unit to obtain the target allocation data.
8. The logistics single-item allocation method based on multi-dimensional features as described in claim 7, characterized in that: The process of obtaining the single-item allocation result specifically includes: By controlling the entry of logistics units into target operation resources through target allocation data, and matching the processing occupancy in resource occupancy data with the target operation resources, allocation execution data is formed. Update the current processing occupancy and remaining processing capacity of the target job resources according to the processing occupancy in the allocated execution data, calculate the updated load ratio and compare it with the preset load range, update the availability status, and form resource status data; Based on the same target operation resources, the logistics unit and processing occupancy in the allocation execution data are mapped to the current processing occupancy, remaining processing capacity and availability in the resource status data to obtain the logistics unit allocation result.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the logistics single-item allocation method based on multi-dimensional features as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the logistics single-item allocation method based on multi-dimensional features as described in any one of claims 1 to 8.
