An AI analysis-based goods source-vehicle source space-time constraint matching method and system

By calculating the spatiotemporal elasticity coefficient and matching potential energy value, an accessibility map is generated, and the matching criteria are dynamically adjusted. This solves the problem of lost matching opportunities caused by fixed static grids and improves the continuity and adaptability of spatiotemporal constraint matching between cargo and vehicle sources.

CN123140573APending Publication Date: 2026-11-20XIAMEN XIANGYU ZHIYUN SUPPLY CHAIN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611621018.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, the spatiotemporal constraint matching method for cargo and vehicle sources based on AI analysis uses non-overlapping fixed static grids, which causes the vehicle and cargo sources at the grid boundaries to be truncated due to geocoding discretization, resulting in the loss of matching opportunities, disrupting the continuity of spatial distribution, and affecting the matching effect.

Method used

By acquiring the coordinates of cargo and vehicles in real time, calculating the spatiotemporal elasticity coefficient, analyzing cargo and vehicle data, generating matching potential values, correcting path changes, generating accessibility maps, and dynamically adjusting matching standards, we can ensure that cargo and vehicles at any location can participate in matching, avoiding the forced isolation of grid dividing lines.

Benefits of technology

It effectively preserves the continuity of spatial distribution and the complete overlap information of time windows, enhances the matching adaptability under spatiotemporal constraints, and improves the matching recall rate of vehicle and cargo sources in the boundary area and the global optimality of the matching results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140573A_ABST
    Figure CN123140573A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicle and cargo matching, and discloses a cargo source-vehicle source space-time constraint matching method and system based on AI analysis, which comprises the following steps: acquiring the coordinates of each cargo source and each vehicle source in real time; analyzing the distance and time window overlap between each cargo source and each vehicle source according to the coordinates; and obtaining a space-time elasticity coefficient representing the matching degree of each cargo source-vehicle source pair in a continuous space-time domain; according to the scheme, the vehicle sources and the cargo sources at any position can participate in matching according to their comprehensive matching scores, the space does not need to be divided into non-overlapping grids, therefore, the vehicle sources and the cargo sources on the two sides of the grid segmentation line are no longer forced to be isolated, the continuity of the space distribution and the complete overlap information of the time window are effectively reserved, the matching effect of the cargo source-vehicle source under the space-time constraint is guaranteed, the matching opportunity loss caused by discretization is avoided, and the adaptability of the matching under the space-time constraint is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle-cargo matching technology, specifically to a method and system for matching cargo and vehicle sources in a spatiotemporal constraint based on AI analysis. Background Technology

[0002] Currently, in the spatiotemporal constraint matching of cargo and vehicle sources, the end-to-end matching mesh is usually constructed based on AI analysis. This technology first discretizes the continuous time and space dimensions, maps the spatiotemporal constraints to nodes in the state space, and then uses graph search or reinforcement learning to find the optimal matching solution in the feasible domain, thereby completing the spatiotemporal constraint matching of cargo and vehicle sources.

[0003] However, the above matching method still has the following drawbacks: Since the matching grid adopts a fixed static grid that does not overlap, it usually only allows vehicle sources and cargo sources within the same grid to interact. This results in a large number of vehicle sources and cargo sources located on both sides of the grid boundary being forcibly assigned to different subspaces due to the discretization of geocoding, thus losing the opportunity to match. This makes it impossible for vehicle resources near the grid dividing line to be called upon by the urgent needs of adjacent grids, which disrupts the continuity of spatial distribution and seriously affects the spatiotemporal constraint matching effect of cargo source and vehicle source. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides a method and system for matching cargo and vehicle sources in a spatiotemporal constrained manner based on AI analysis, thus solving the aforementioned problems.

[0005] The above-mentioned technical objective of the present invention is achieved through the following technical solution:

[0006] A spatiotemporal constraint matching method for cargo-vehicle sources based on AI analysis includes:

[0007] Step S1: Obtain the coordinates of each cargo source and each vehicle source in real time. Analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain.

[0008] Step S2: Obtain the cargo data and vehicle data of each cargo source and vehicle source. Analyze the cargo data, vehicle data and spatiotemporal elasticity coefficients using AI algorithms to obtain the cargo source potential energy mass and vehicle source potential energy mass. Analyze the gravitational potential energy based on the cargo source potential energy mass and vehicle source potential energy mass to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints.

[0009] Step S3: Perform a linkage analysis on the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map that represents the probability of reaching any two spatial points on a continuous time axis.

[0010] Step S4: Based on the accessibility map, determine the matching of each cargo source and vehicle source to obtain the matching result.

[0011] Furthermore, based on coordinate analysis of the distance and time window overlap between each cargo source and each vehicle source, spatiotemporal elasticity coefficients representing the degree of matching between each cargo source-vehicle source pair in a continuous spatiotemporal domain are obtained, including:

[0012] For each cargo-vehicle pair, calculate the Euclidean distance between the cargo and all current vehicle pairs based on the coordinates, and use the arithmetic mean of the Euclidean distances as the local average distance.

[0013] The overlap duration between the cargo source and all vehicle sources in the time window was analyzed to obtain the local average overlap duration.

[0014] The spatial deviation is obtained by dividing the Euclidean distance between each cargo-vehicle pair by the local average distance. The temporal fit is obtained by dividing the time window overlap duration between each cargo-vehicle pair by the local average overlap duration. The spatiotemporal elasticity coefficient, which represents the degree of matching of each cargo-vehicle pair in the continuous spatiotemporal domain, is obtained by analyzing the spatial deviation and temporal fit.

[0015] Furthermore, by analyzing cargo data, vehicle data, and spatiotemporal elasticity coefficients using AI algorithms, the potential energy mass of the cargo source and the potential energy mass of the vehicle source are obtained. Based on these potential energy masses, gravitational potential energy is analyzed to obtain a matching potential energy value representing the probability of each cargo-vehicle pair forming an effective match under the current constraints, including:

[0016] For each cargo-vehicle pair, the specified vehicle type in the cargo data is matched with the vehicle type in the vehicle data. If they match, the type compatibility coefficient is 1; if they do not match, the type compatibility coefficient is 0.01.

[0017] Based on the analysis of the total weight, total volume and type compatibility coefficient of the goods data, the potential energy mass of the goods source is obtained.

[0018] For the current status in the vehicle data, the current status is divided into two types: empty and loaded. If the status is empty, the vehicle source status factor is 1; if the status is loaded, the vehicle source status factor is 0.1.

[0019] For the rated load, cargo box volume and vehicle source state factor in the vehicle data, multiply the rated load by the cargo box volume and add it to 1, then take the natural logarithm and multiply it by the vehicle source state factor to obtain the vehicle source potential energy mass.

[0020] Based on the analysis of the Euclidean distance between each cargo source and the current vehicle source, the spatiotemporal distance of each cargo source-vehicle source pair is determined. Based on the spatiotemporal distance, the tendency of each cargo source-vehicle source pair to combine in the spatiotemporal potential field is analyzed, and the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints is obtained.

[0021] Furthermore, based on the Euclidean distance between each cargo source and the current vehicle source, the spatiotemporal distance of each cargo-vehicle pair is determined. Then, based on this spatiotemporal distance, the tendency of each cargo-vehicle pair to combine in the spatiotemporal potential field is analyzed, yielding a matching potential value representing the probability of each cargo-vehicle pair forming an effective match under the current constraints. This value includes:

[0022] The Euclidean distance and time overlap duration between each cargo source and the current vehicle source are normalized separately. Then, the normalized time overlap duration is adjusted according to the spatiotemporal elasticity coefficient to obtain the adjustment term. Finally, the normalized Euclidean distance and the adjustment term are merged to obtain the spatiotemporal comprehensive distance.

[0023] Multiply the cargo source potential energy mass by the vehicle source potential energy mass, and then divide by the square of the spatiotemporal integrated distance to obtain the gravitational potential energy value. The gravitational potential energy value is used to reflect the tendency of the cargo source-vehicle source pair to combine in the spatiotemporal potential field.

[0024] The gravitational potential energy values ​​of all vehicle sources for the cargo source are processed to obtain the matching potential energy value representing the probability of forming an effective match for each cargo source-vehicle source pair under the current constraints.

[0025] Furthermore, by performing a linked analysis of the matching potential values ​​corresponding to all cargo and vehicle resources, and correcting for changes in cargo and vehicle resources along the path, an accessibility map representing the probability of reaching any two spatial points on a continuous time axis is obtained, including:

[0026] The average driving speed of each vehicle source is obtained, and the navigation time from each vehicle source to each cargo source is also obtained. Then, the matching potential energy values ​​of all vehicle sources to the cargo source are summed to obtain the comprehensive attraction intensity of the cargo source to the surrounding vehicle sources.

[0027] For any two spatial points, namely spatial point A and spatial point B, if either spatial point A or spatial point B is the location of the cargo source, then the basic navigation time is the navigation time from the corresponding vehicle source to the cargo source; otherwise, the basic navigation time is obtained by dividing the Euclidean distance between the two spatial points by the arithmetic mean of the average speeds of all vehicle sources.

[0028] Furthermore, by performing a linked analysis of the matching potential values ​​corresponding to all cargo and vehicle resources, and correcting the changes in cargo and vehicle resources along the path, an accessibility map representing the probability of reaching any two spatial points on a continuous time axis is obtained, which also includes:

[0029] For spatial points A and B, for the entire path from spatial point A to spatial point B, obtain the Euclidean distance between the spatial point closest to each source of goods on this path and the source of goods, and use it as the closest distance;

[0030] Divide the nearest distance by the arithmetic mean of the Euclidean distances between all cargo sources to obtain the exponential decay term. Then multiply the gravitational potential energy value by the exponential decay term and then by the arithmetic mean, and divide it by the average driving speed of all vehicle sources to obtain the path correction term. Subtract the path correction term from the basic navigation time to obtain the corrected reachable time.

[0031] Based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined.

[0032] Furthermore, based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined, including:

[0033] The reachability time for all vehicle-to-cargo sources is calculated, and the time threshold and steepness coefficient are obtained respectively.

[0034] The difference between the reachable duration and the time threshold is used as the independent variable, and then multiplied by the steepness coefficient and substituted into the logistic function to calculate the probability value.

[0035] Integrate the current location of all vehicle sources, that is, the complete path of a vehicle source starting from its initial location, first reaching point A and then reaching point B. Accumulate the reachability time of each segment in the path, and combine it with the working time window length of the vehicle source to calculate the reachability probability of any two spatial points on a continuous time axis.

[0036] All spatial points are paired and their reachability probabilities are calculated to form a heatmap. The rows of the heatmap represent the starting points, the columns represent the ending points, and the color of each cell represents the corresponding reachability probability. This heatmap is the reachability map that represents the reachability probability of any two spatial points on a continuous time axis.

[0037] Furthermore, based on the accessibility map, the matching of each cargo source and vehicle source is determined, and the matching results are obtained, including:

[0038] For the current cargo and vehicle locations to be matched, query the reachability probability of the vehicle from its initial location to the cargo location and the reachability probability of the vehicle from its cargo location to its destination from the cargo location in the reachability graph. Calculate the geometric mean of the two probabilities to obtain the path reachability index of the cargo-vehicle pair.

[0039] Multiply the path reachability index by the matching potential value to obtain the comprehensive matching score. Calculate the arithmetic mean of the comprehensive matching scores of all vehicle-cargo pairs to be matched and the arithmetic mean of the comprehensive matching scores of all cargo-vehicle pairs. Use the larger of the two as the dynamic threshold. If the comprehensive matching score of the cargo-vehicle pair is greater than or equal to the dynamic threshold, the matching result is a match; otherwise, the matching result is a mismatch.

[0040] Furthermore, the vehicle source destination includes:

[0041] The unloading point that the vehicle travels to after loading the cargo is the vehicle's final destination.

[0042] Furthermore, an AI-based cargo-vehicle spatiotemporal constraint matching system is applied to the above matching method, including:

[0043] The matching analysis unit is used to acquire the coordinates of each cargo source and each vehicle source in real time, and analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain.

[0044] The matching attraction unit is used to acquire the cargo data of each cargo source and the vehicle data of each vehicle source. Based on the AI ​​algorithm, the cargo data, vehicle data and spatiotemporal elasticity coefficient are analyzed to obtain the cargo source potential energy mass and vehicle source potential energy mass. Based on the cargo source potential energy mass and vehicle source potential energy mass, the gravitational potential energy is analyzed to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints.

[0045] The matching probability unit is used to perform a linkage analysis of the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map representing the probability of reaching any two spatial points on a continuous time axis.

[0046] The matching determination unit is used to determine the matching of each cargo source and vehicle source based on the accessibility map and obtain the matching result.

[0047] In summary, the present invention has the following main beneficial effects:

[0048] Step S1 calculates the local average distance and local average overlap time independently for each cargo source and analyzes the spatiotemporal elasticity coefficient of each cargo-vehicle pair, thus avoiding distance truncation and time window fragmentation caused by a unified grid boundary. Step S2 calculates the matching potential energy value based on the type compatibility coefficient, total cargo weight, total cargo volume, approved load capacity, cargo box volume, and vehicle source state factor, making discrete constraints such as vehicle type, load capacity, and cargo status continuous in the calculation. Step S3 generates an reachability map representing the reachability probability of any two spatial points on a continuous time axis based on the linkage information of all matching potential energy values, breaking through the discrete limitations of the grid on the path space and time axis. Step S4... The system queries the reachability map to determine the reachability probabilities from the initial location of the vehicle source to the location of the cargo source, and from the location of the cargo source to the destination of the vehicle source. It then calculates the comprehensive matching score and determines a dynamic threshold to adaptively adjust the matching criteria according to the overall environment. Finally, it obtains the matching results of the vehicle source and the cargo source. This scheme ensures that vehicle sources and cargo sources at any location can participate in the matching equally based on their comprehensive matching scores. It does not require dividing the space into non-overlapping grids. Therefore, vehicle sources and cargo sources on both sides of the grid dividing line are no longer forcibly isolated, effectively preserving the continuity of spatial distribution and the complete overlap information of time windows. This ensures the matching effect of cargo source and vehicle source under spatiotemporal constraints, avoids the loss of matching opportunities caused by discretization, and enhances the adaptability of matching under spatiotemporal constraints. Attached Figure Description

[0049] Figure 1 This is a flowchart illustrating the steps of the AI-based cargo-vehicle spatiotemporal constraint matching method of the present invention.

[0050] Figure 2 This is a schematic diagram of the cargo-vehicle source spatiotemporal constraint matching system based on AI analysis of the present invention. Detailed Implementation

[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0052] refer to Figure 1 and Figure 2 A spatiotemporal constraint matching method for cargo-vehicle sources based on AI analysis, comprising:

[0053] Step S1: Obtain the coordinates of each cargo source and each vehicle source in real time. Analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain.

[0054] Step S2: Obtain the cargo data and vehicle data of each cargo source and vehicle source. Analyze the cargo data, vehicle data and spatiotemporal elasticity coefficients using AI algorithms to obtain the cargo source potential energy mass and vehicle source potential energy mass. Analyze the gravitational potential energy based on the cargo source potential energy mass and vehicle source potential energy mass to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints.

[0055] Cargo data includes: total weight of cargo, total volume of cargo, earliest loading time and latest loading time, specified vehicle type, etc.

[0056] Vehicle data includes: vehicle type, rated load capacity, cargo box volume, current status, work start time, and work end time;

[0057] The current status is either empty or loaded;

[0058] Step S3: Perform a linkage analysis on the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map that represents the probability of reaching any two spatial points on a continuous time axis.

[0059] Step S4: Based on the accessibility map, determine the matching of each cargo source and vehicle source to obtain the matching result.

[0060] In one embodiment, based on coordinate analysis of the overlap between the distance and time window between each cargo source and each vehicle source, a spatiotemporal elasticity coefficient representing the degree of matching between each cargo-vehicle pair in a continuous spatiotemporal domain is obtained, including:

[0061] For each cargo-vehicle pair, calculate the Euclidean distance between the cargo and all current vehicle pairs based on the coordinates, and use the arithmetic mean of the Euclidean distances as the local average distance.

[0062] For the earliest and latest loading times in the cargo data, these two times constitute a cargo loading time window with the earliest loading time as the left endpoint and the latest loading time as the right endpoint. For the start and end times in the vehicle data, these two times constitute a vehicle availability time window with the start time as the left endpoint and the end time as the right endpoint. For this cargo-vehicle pair, the intersection length of the two time windows is calculated: take the larger value of the two left endpoints and the smaller value of the two right endpoints. If the larger value is less than the smaller value, the overlap duration is the difference between the two; otherwise, it is 0. This gives the overlap duration of the time windows for the cargo-vehicle pair. The arithmetic mean of the overlap durations of the time windows for the cargo and all vehicle sources is then calculated to obtain the local average overlap duration.

[0063] The spatial deviation is obtained by dividing the Euclidean distance between each cargo-vehicle pair by the local average distance. If the local average distance is 0, the spatial deviation is directly 1. The temporal fit is obtained by dividing the time window overlap duration between each cargo-vehicle pair by the local average overlap duration. If the local average overlap duration is 0, the temporal fit is directly 0. The reciprocal of the spatial deviation is multiplied by the temporal fit to obtain the spatiotemporal elasticity coefficient, which represents the degree of matching of each cargo-vehicle pair in the continuous spatiotemporal domain. The larger the spatiotemporal elasticity coefficient, the closer the cargo-vehicle pair is in space and the more fitting the time window is relative to the overall matching environment of the cargo, and thus the higher the dynamic priority.

[0064] By independently calculating the local average distance and local average overlap duration for each cargo source, and calculating the spatial deviation and temporal fit based on the Euclidean distance and time window overlap duration of each cargo-vehicle pair, the spatiotemporal elasticity coefficient is finally obtained. This achieves a refined measurement of the matching degree in the continuous spatiotemporal domain, avoiding the discretization truncation defects of traditional fixed static grids. Moreover, the spatiotemporal elasticity coefficient directly reflects the spatial proximity and time window fit of a single vehicle source relative to the overall matching environment of the cargo source. There is no need to divide the space into non-overlapping grids. Therefore, vehicle sources and cargo sources on both sides of the grid dividing line are no longer forcibly isolated. Vehicle sources at any location can participate in dynamic priority ranking based on their spatiotemporal elasticity coefficients. This effectively preserves the continuity of spatial distribution and the complete overlap information of time windows, improves the matching recall rate of vehicle sources and cargo sources in the boundary area, avoids the loss of matching opportunities due to discretization, and enhances the adaptability of matching under spatiotemporal constraints.

[0065] In one embodiment, the cargo data, vehicle data, and spatiotemporal elasticity coefficients are analyzed using an AI algorithm to obtain the cargo source potential energy mass and vehicle source potential energy mass. Based on these, gravitational potential energy is analyzed to obtain a matching potential energy value representing the probability of each cargo-vehicle pair forming an effective match under the current constraints, including:

[0066] For each cargo-vehicle pair, the specified vehicle type in the cargo data is matched with the vehicle type in the vehicle data. If they match, the type compatibility coefficient is 1; if they do not match, the type compatibility coefficient is 0.01.

[0067] Based on the analysis of the total weight, total volume, and type compatibility coefficient of the goods data, the potential energy mass of the goods source is obtained. The specific calculation formula is as follows: ;

[0068] In the formula, Indicates the quality of the source of goods' potential energy. Indicates the total weight of the goods. Indicates the total volume of the goods. Indicates the type compatibility factor. This represents the natural logarithm, where weight and volume are in tons and cubic meters, respectively.

[0069] For the current status in the vehicle data, the current status is divided into two types: empty and loaded. If the status is empty, the vehicle source status factor is 1; if the status is loaded, the vehicle source status factor is 0.1.

[0070] For the rated load, cargo box volume and vehicle source state factor in the vehicle data, multiply the rated load by the cargo box volume and add it to 1, then take the natural logarithm and multiply it by the vehicle source state factor to obtain the vehicle source potential energy mass.

[0071] Based on the analysis of the Euclidean distance between each cargo source and the current vehicle source, the spatiotemporal distance of each cargo source-vehicle source pair is determined. Based on the spatiotemporal distance, the tendency of each cargo source-vehicle source pair to combine in the spatiotemporal potential field is analyzed, and the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints is obtained.

[0072] In one embodiment, the spatiotemporal distance of each cargo-vehicle pair is determined by analyzing the Euclidean distance between each cargo source and the current vehicle source. Based on this spatiotemporal distance, the tendency of each cargo-vehicle pair to combine in the spatiotemporal potential field is analyzed to obtain a matching potential value representing the probability of each cargo-vehicle pair forming an effective match under the current constraints. This value includes:

[0073] The Euclidean distance and time overlap duration between each cargo source and the current vehicle source are normalized separately. Then, the normalized time overlap duration is adjusted according to the spatiotemporal elasticity coefficient to obtain an adjustment term. Finally, the normalized Euclidean distance and the adjustment term are merged to obtain the spatiotemporal comprehensive distance. The specific calculation formula is as follows: ;

[0074] In the formula, This represents the overall spatiotemporal distance. The smaller the overall spatiotemporal distance, the closer the vehicle is to the cargo in the spatiotemporal coordinate system, and the higher the matching probability; conversely, the larger the distance, the lower the probability of matching. This indicates the Euclidean distance between the available cargo and the current available vehicle, expressed in kilometers (km). This indicates the maximum Euclidean distance between the cargo source and all vehicle sources. This indicates the duration of overlap between the time window for the available goods and the available vehicles. This indicates the longest time window overlap between this cargo source and all vehicle sources. Represents the spatiotemporal elasticity coefficient, where, This refers to the adjustment item. This is the normalized Euclidean distance;

[0075] Multiply the cargo source potential energy mass by the vehicle source potential energy mass, and then divide by the square of the spatiotemporal comprehensive distance to obtain the gravitational potential energy value. The gravitational potential energy value is used to reflect the tendency of the cargo source-vehicle source pair to combine in the spatiotemporal potential field. The larger the gravitational potential energy value, the stronger the tendency of the cargo source-vehicle source pair to combine in the spatiotemporal potential field.

[0076] The gravitational potential energy values ​​of all vehicle sources for the cargo source are normalized to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints;

[0077] The cargo source potential energy mass is obtained by calculating the natural logarithm of the total cargo weight, total cargo volume, and type compatibility coefficient. The vehicle source potential energy mass is then analyzed based on the approved load, cargo box volume, and vehicle source state factors. Simultaneously, the spatiotemporal elasticity coefficient is used to dynamically adjust the overlap duration of the normalized time window to obtain the spatiotemporal comprehensive distance. The matching potential energy value is calculated in the continuous spatiotemporal domain, avoiding the spatial truncation of fixed static grids. This allows vehicle sources in any spatial location to participate in the sorting based on their matching potential energy values. Furthermore, the normalization process ensures the comparability of matching potential energy values ​​between different cargo sources, overcomes the boundary matching blind spots caused by discretization, improves the cross-boundary call capability of vehicle resources in adjacent grids under urgent needs, and enhances the accuracy of matching probability assessment under multiple constraints.

[0078] In one embodiment, the matching potential values ​​corresponding to all cargo and vehicle sources are analyzed in a linked manner to correct the changes in cargo and vehicle sources on the path, resulting in an reachability map representing the probability of reaching any two spatial points on a continuous time axis, including:

[0079] The average driving speed of each vehicle source is obtained, and the navigation time from each vehicle source to each cargo source is also obtained. Then, the matching potential energy values ​​of all vehicle sources to the cargo source are summed to obtain the comprehensive attraction intensity of the cargo source to the surrounding vehicle sources.

[0080] For any two spatial points, namely spatial point A and spatial point B, if either spatial point A or spatial point B is the location of the cargo source, then the basic navigation time is the navigation time from the corresponding vehicle source to the cargo source; otherwise, the basic navigation time is obtained by dividing the Euclidean distance between the two spatial points by the arithmetic mean of the average speeds of all vehicle sources.

[0081] In one embodiment, the matching potential values ​​corresponding to all cargo and vehicle sources are analyzed in a linked manner to correct the changes in cargo and vehicle sources on the path, resulting in an reachability map representing the probability of reaching any two spatial points on a continuous time axis. This also includes:

[0082] For spatial points A and B, for the entire path from spatial point A to spatial point B, obtain the Euclidean distance between the spatial point closest to each source of goods on this path and the source of goods, and use it as the closest distance;

[0083] Divide the nearest distance by the arithmetic mean of the Euclidean distances between all cargo sources to obtain the exponential decay term. Then multiply the gravitational potential energy value by the exponential decay term, then multiply by the arithmetic mean, and then divide by the average driving speed of all vehicle sources to obtain the path correction term. A positive path correction term indicates that a high-attraction cargo source attracts vehicle sources to choose a better route, thereby shortening the actual travel time. Subtract the path correction term from the basic navigation time to obtain the corrected reachable time. If the reachable time is less than 0, the corrected reachable time is directly forced to be set to 0.

[0084] Based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined.

[0085] In one embodiment, based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined, including:

[0086] Sort all vehicle-to-freight availability times from smallest to largest, take the median as the time threshold, then calculate the standard deviation of these availability times, and use the reciprocal of the standard deviation as the steepness coefficient;

[0087] The difference between reachable time and time threshold is used as the independent variable, and then multiplied by the steepness coefficient and substituted into the logistic function for calculation to obtain a probability value between 0 and 1. When reachable time < time threshold, the probability value approaches 1, indicating that the two points are highly reachable on the time axis, and vice versa.

[0088] Integrating the current positions of all vehicle sources—that is, the complete path from the vehicle source's initial position to point A and then to point B—accumulates the reachability time of each segment of the path and combines it with the length of the vehicle source's working time window to calculate the reachability probability of any two spatial points on a continuous time axis. The specific calculation formula is as follows: ;

[0089] In the formula, This represents the probability of reaching spatial point B from point A along a continuous time axis, with a value ranging from 0 to 1. This represents the set of vehicles, that is, all vehicles currently participating in the matching process. Indicates the index of vehicle sources. The score indicating the availability of vehicles is the vehicle source score. Scoring is achieved by traversing the vehicle's initial position to spatial point A and then to spatial point B under constraints.

[0090] in, The calculation process is as follows: Calculate the vehicle source The reachable time from the initial position to spatial point A is added to the reachable time from spatial point A to spatial point B to obtain the total time. This total time is then multiplied by the vehicle source time. The length of the working time window can be compared by subtracting the start time from the end time of the work for that vehicle.

[0091] If the total duration is greater than the working time window of the vehicle source, it means that the vehicle source cannot complete the trip within the allowed time, that is, the contribution value of the vehicle source is 0.

[0092] If the total duration is less than or equal to the working time window length of the vehicle source, then subtract the time threshold from the total duration and multiply by the steepness coefficient to obtain the exponent. and the index Analysis was conducted, and the results were obtained. The specific calculation formula is as follows: ;

[0093] In the formula, e represents the natural constant;

[0094] All spatial points are paired and their reachability probabilities are calculated to form a heatmap. The rows of the heatmap represent the starting points and the columns represent the ending points. The color intensity of each cell represents the corresponding reachability probability. This heatmap is the reachability map that represents the reachability probability of any two spatial points on a continuous time axis. The closer the reachability probability is to 1, the darker the color, and the closer the reachability probability is to 0, the lighter the color.

[0095] By linking and analyzing the matching potential values ​​of all cargo and vehicle resources, a path correction term is generated, and the basic navigation time is dynamically corrected. This makes the calculation of reachability time no longer dependent on the static distance of the fixed grid, but reflects the actual attraction and optimization effect of high-attraction cargo resources on the path selection of vehicle resources, thus preserving the continuity of spatial distribution. At the same time, based on the corrected reachability time, the logistic function is used to map the difference between the reachability time and the time threshold into a reachability probability between 0 and 1. Combined with the working time window length of all vehicle resources, an integral calculation is performed to finally form an reachability map with color depth representing the reachability probability. The reachability map can intuitively present the dynamic reachability relationship between any two spatial points on a continuous time axis, effectively overcoming the time axis fragmentation problem caused by discretized grids and improving the accuracy of the schedulability assessment of cross-boundary vehicle resources under emergency demand.

[0096] In one embodiment, based on the accessibility map, the matching of each cargo source and vehicle source is determined to obtain the matching result, including:

[0097] For the current cargo and vehicle locations to be matched, query the reachability probability of the vehicle from its initial location to the cargo location and the reachability probability of the vehicle from its cargo location to its destination from the cargo location in the reachability graph. Calculate the geometric mean of the two probabilities to obtain the path reachability index of the cargo-vehicle pair.

[0098] Multiply the path reachability index by the matching potential value to obtain the comprehensive matching score. Calculate the arithmetic mean of the comprehensive matching scores of all vehicle-cargo pairs to be matched and the arithmetic mean of the comprehensive matching scores of all cargo-vehicle pairs. Use the larger of the two as the dynamic threshold. If the comprehensive matching score of the cargo-vehicle pair is greater than or equal to the dynamic threshold, the matching result is a match; otherwise, the matching result is a mismatch.

[0099] In one embodiment, the vehicle source destination includes:

[0100] The unloading point that the vehicle travels to after loading the cargo is the vehicle's final destination.

[0101] By querying the reachability probabilities from the initial location of the vehicle source to the location of the cargo source, and from the location of the cargo source to the destination of the vehicle source, based on the reachability map, and calculating the path reachability index and comprehensive matching score, the continuous spatiotemporal reachability of the entire transportation route is fully incorporated into the matching judgment. This eliminates the forced truncation of spatial range by fixed static grids. At the same time, dynamic thresholds are calculated so that the matching judgment criteria can be adaptively adjusted with the overall matching environment. The matching results of vehicle sources and cargo sources are obtained by comparison. This scheme ensures that vehicle sources and cargo sources on both sides of the grid dividing line can participate in the matching equally according to their comprehensive matching scores, effectively improving the matching recall rate of vehicle sources and cargo sources in the boundary area, and enhancing the performance of the matching results in global optimality and dynamic adaptability.

[0102] In one embodiment, an AI-based cargo-vehicle spatiotemporal constraint matching system is applied to the above-described matching method, including:

[0103] The matching analysis unit is used to acquire the coordinates of each cargo source and each vehicle source in real time, and analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain.

[0104] The matching attraction unit is used to acquire the cargo data of each cargo source and the vehicle data of each vehicle source. Based on the AI ​​algorithm, the cargo data, vehicle data and spatiotemporal elasticity coefficient are analyzed to obtain the cargo source potential energy mass and vehicle source potential energy mass. Based on the cargo source potential energy mass and vehicle source potential energy mass, the gravitational potential energy is analyzed to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints.

[0105] The matching probability unit is used to perform a linkage analysis of the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map representing the probability of reaching any two spatial points on a continuous time axis.

[0106] The matching determination unit is used to determine the matching of each cargo source and vehicle source based on the accessibility map and obtain the matching result.

[0107] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for matching cargo and vehicle sources in a spatiotemporal constraint based on AI analysis, characterized in that, include: Step S1: Obtain the coordinates of each cargo source and each vehicle source in real time. Analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain. Step S2: Obtain the cargo data and vehicle data of each cargo source and vehicle source. Analyze the cargo data, vehicle data and spatiotemporal elasticity coefficients using AI algorithms to obtain the cargo source potential energy mass and vehicle source potential energy mass. Analyze the gravitational potential energy based on the cargo source potential energy mass and vehicle source potential energy mass to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints. Step S3: Perform a linkage analysis on the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map that represents the probability of reaching any two spatial points on a continuous time axis. Step S4: Based on the accessibility map, determine the matching of each cargo source and vehicle source to obtain the matching result.

2. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 1, characterized in that, Based on coordinate analysis of the distance and time window overlap between each cargo source and each vehicle source, spatiotemporal elasticity coefficients representing the degree of matching between each cargo source-vehicle source pair in a continuous spatiotemporal domain are obtained, including: For each cargo-vehicle pair, calculate the Euclidean distance between the cargo and all current vehicle pairs based on the coordinates, and use the arithmetic mean of the Euclidean distances as the local average distance. The overlap duration between the cargo source and all vehicle sources in the time window was analyzed to obtain the local average overlap duration. The spatial deviation is obtained by dividing the Euclidean distance between each cargo-vehicle pair by the local average distance. The temporal fit is obtained by dividing the time window overlap duration between each cargo-vehicle pair by the local average overlap duration. The spatiotemporal elasticity coefficient, which represents the degree of matching of each cargo-vehicle pair in the continuous spatiotemporal domain, is obtained by analyzing the spatial deviation and temporal fit.

3. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 2, characterized in that, AI algorithms are used to analyze cargo data, vehicle data, and spatiotemporal elasticity coefficients to obtain cargo source potential energy mass and vehicle source potential energy mass. Based on these, gravitational potential energy is analyzed to obtain matching potential energy values ​​representing the probability of each cargo-vehicle pair forming an effective match under the current constraints. These values ​​include: For each cargo-vehicle pair, the specified vehicle type in the cargo data is matched with the vehicle type in the vehicle data. If they match, the type compatibility coefficient is 1; if they do not match, the type compatibility coefficient is 0.

01. Based on the analysis of the total weight, total volume and type compatibility coefficient of the goods data, the potential energy mass of the goods source is obtained. For the current status in the vehicle data, the current status is divided into two types: empty and loaded. If the status is empty, the vehicle source status factor is 1; if the status is loaded, the vehicle source status factor is 0.

1. For the rated load, cargo box volume and vehicle source state factor in the vehicle data, multiply the rated load by the cargo box volume and add it to 1, then take the natural logarithm and multiply it by the vehicle source state factor to obtain the vehicle source potential energy mass. Based on the analysis of the Euclidean distance between each cargo source and the current vehicle source, the spatiotemporal distance of each cargo source-vehicle source pair is determined. Based on the spatiotemporal distance, the tendency of each cargo source-vehicle source pair to combine in the spatiotemporal potential field is analyzed, and the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints is obtained.

4. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 3, characterized in that, Based on the Euclidean distance between each cargo source and the current vehicle source, the spatiotemporal distance of each cargo-vehicle pair is determined. Then, based on this spatiotemporal distance, the tendency of each cargo-vehicle pair to combine in the spatiotemporal potential field is analyzed, yielding a matching potential value representing the probability of each cargo-vehicle pair forming an effective match under the current constraints. This value includes: The Euclidean distance and time overlap duration between each cargo source and the current vehicle source are normalized separately. Then, the normalized time overlap duration is adjusted according to the spatiotemporal elasticity coefficient to obtain the adjustment term. Finally, the normalized Euclidean distance and the adjustment term are merged to obtain the spatiotemporal comprehensive distance. Multiply the cargo source potential energy mass by the vehicle source potential energy mass, and then divide by the square of the spatiotemporal integrated distance to obtain the gravitational potential energy value. The gravitational potential energy value is used to reflect the tendency of the cargo source-vehicle source pair to combine in the spatiotemporal potential field. The gravitational potential energy values ​​of all vehicle sources for the cargo source are processed to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints.

5. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 4, characterized in that, By performing a linked analysis of the matching potential values ​​corresponding to all cargo and vehicle resources, and correcting for changes in cargo and vehicle resources along the path, an accessibility map representing the probability of reachability between any two spatial points on a continuous time axis is obtained, including: The average driving speed of each vehicle source is obtained, and the navigation time from each vehicle source to each cargo source is also obtained. Then, the matching potential energy values ​​of all vehicle sources to the cargo source are summed to obtain the comprehensive attraction intensity of the cargo source to the surrounding vehicle sources. For any two spatial points, namely spatial point A and spatial point B, if either spatial point A or spatial point B is the location of the cargo source, then the basic navigation time is the navigation time from the corresponding vehicle source to the cargo source; otherwise, the basic navigation time is obtained by dividing the Euclidean distance between the two spatial points by the arithmetic mean of the average speeds of all vehicle sources.

6. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 5, characterized in that, By performing a linked analysis of the matching potential values ​​corresponding to all cargo and vehicle resources, and correcting for changes in cargo and vehicle resources along the path, an accessibility map representing the probability of reaching any two spatial points on a continuous time axis is obtained, which also includes: For spatial points A and B, for the entire path from spatial point A to spatial point B, obtain the Euclidean distance between the spatial point closest to each source of goods on this path and the source of goods, and use it as the closest distance; Divide the nearest distance by the arithmetic mean of the Euclidean distances between all cargo sources to obtain the exponential decay term. Then multiply the gravitational potential energy value by the exponential decay term and then by the arithmetic mean, and divide it by the average driving speed of all vehicle sources to obtain the path correction term. Subtract the path correction term from the basic navigation time to obtain the corrected reachable time. Based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined.

7. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 6, characterized in that, Based on the corrected reachability duration, the reachability probability between any two spatial points is analyzed, and based on the reachability probability, an reachability graph representing the reachability probability of any two spatial points on a continuous time axis is determined, including: The reachability time for all vehicle-to-cargo sources is calculated, and the time threshold and steepness coefficient are obtained respectively. The difference between the reachable duration and the time threshold is used as the independent variable, and then multiplied by the steepness coefficient and substituted into the logistic function to calculate the probability value. Integrate the current location of all vehicle sources, that is, the complete path of a vehicle source starting from its initial location, first reaching point A and then reaching point B. Accumulate the reachability time of each segment in the path, and combine it with the working time window length of the vehicle source to calculate the reachability probability of any two spatial points on a continuous time axis. All spatial points are paired and their reachability probabilities are calculated to form a heatmap. The rows of the heatmap represent the starting points, the columns represent the ending points, and the color of each cell represents the corresponding reachability probability. This heatmap is the reachability map that represents the reachability probability of any two spatial points on a continuous time axis.

8. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 7, characterized in that, Based on the accessibility map, the matching of each cargo source and vehicle source is determined, and the matching results are obtained, including: For the current cargo and vehicle locations to be matched, query the reachability probability of the vehicle from its initial location to the cargo location and the reachability probability of the vehicle from its cargo location to its destination from the cargo location in the reachability graph. Calculate the geometric mean of the two probabilities to obtain the path reachability index of the cargo-vehicle pair. Multiply the path reachability index by the matching potential value to obtain the comprehensive matching score. Calculate the arithmetic mean of the comprehensive matching scores of all vehicle-cargo pairs to be matched and the arithmetic mean of the comprehensive matching scores of all cargo-vehicle pairs. Use the larger of the two as the dynamic threshold. If the comprehensive matching score of the cargo-vehicle pair is greater than or equal to the dynamic threshold, the matching result is a match; otherwise, the matching result is a mismatch.

9. The method for matching cargo source and vehicle source in a spatiotemporal constraint based on AI analysis according to claim 8, characterized in that, Vehicle source destinations include: The unloading point that the vehicle travels to after loading the cargo is the vehicle's final destination.

10. A cargo-vehicle spatiotemporal constraint matching system based on AI analysis, applied in the matching method as described in any one of claims 1-9, characterized in that, include: The matching analysis unit is used to acquire the coordinates of each cargo source and each vehicle source in real time, and analyze the distance and time window overlap between each cargo source and each vehicle source based on the coordinates to obtain the spatiotemporal elasticity coefficient representing the degree of matching of each cargo source-vehicle source pair in the continuous spatiotemporal domain. The matching attraction unit is used to acquire the cargo data of each cargo source and the vehicle data of each vehicle source. Based on the AI ​​algorithm, the cargo data, vehicle data and spatiotemporal elasticity coefficient are analyzed to obtain the cargo source potential energy mass and vehicle source potential energy mass. Based on the cargo source potential energy mass and vehicle source potential energy mass, the gravitational potential energy is analyzed to obtain the matching potential energy value representing the probability of each cargo source-vehicle source pair forming an effective match under the current constraints. The matching probability unit is used to perform a linkage analysis of the matching potential values ​​corresponding to all cargo and vehicle sources, correct the changes of cargo and vehicle sources on the path, and obtain an accessibility map representing the probability of reaching any two spatial points on a continuous time axis. The matching determination unit is used to determine the matching of each cargo source and vehicle source based on the accessibility map and obtain the matching result.