Transportation network data integration method, device, computer equipment and storage medium
By obtaining transportation network data integration requests, and integrating capacity and cargo data according to the pre-integrated transit point shipping strategy, the problem of inaccurate integration of transportation network data is solved, and a comprehensive and accurate description of transportation network is achieved.
Patent Information
- Application Number
- CN202010456084.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-26
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-05-26
AI Technical Summary
The prior art When integrating transportation network data in the logistics and express delivery industries, the data is not comprehensive enough due to manual operations, resulting in inaccurate description of transportation networks.
By obtaining transportation network data integration requests, the capacity of the cargo shipment data at each transit point is determined according to the pre-integrated transit point shipping strategy, the capacity of the cargo shipment data is connected, and the cargo shipment data is counted and adjusted to achieve comprehensive and accurate integration of the transportation network.
Improve the integration accuracy and comprehensiveness of transportation data, and can better describe the transportation network in the transportation industry.
Smart Images

Figure CN113723729B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer equipment and storage medium for integrating transportation network data. Background Art
[0002] At present, in the trunk transportation industries such as logistics and express delivery, before arranging and planning the logistics personnel, goods and logistics vehicles of each line, it is necessary to understand the transportation network of the transportation industry. The transportation network refers to the specific data of the static planning network.
[0003] The traditional method is to manually integrate the network data of the transportation network to obtain the description information of the transportation network. Since the network data of the transportation network is fragmented, manual operation will result in incomplete network data and inaccurate description information of the transportation network. Therefore, how to accurately describe the transportation network has become a technical problem that needs to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide a transportation network data integration method, device, computer equipment and storage medium that can accurately describe the transportation network in response to the above technical problems.
[0005] A method for integrating transportation network data, the method comprising:
[0006] Obtaining a transport network data integration request, the transport network data integration request carrying cargo shipment volume data and a plurality of transfer points in the transport network, the cargo shipment volume data including target cargo volume data;
[0007] Determine the transport capacity corresponding to the cargo shipment volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connect the determined multiple transport capacities in series to obtain the comprehensive transport capacity;
[0008] Allocating the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transit point shipping strategy;
[0009] Collecting statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determining the transport capacity whose cargo volume data is greater than a preset threshold;
[0010] The cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold is adjusted according to the pre-integrated transit point shipping strategy and the cargo shipping volume data to obtain the network integration data of the transportation network.
[0011] In one embodiment, determining the transport capacity corresponding to each transfer point of the cargo shipment volume data according to the pre-integrated transfer point shipping strategy includes:
[0012] Extracting key information of the cargo shipment data according to a pre-integrated transit point shipment strategy;
[0013] Determine the transportation capacity corresponding to the current transfer point according to the key information;
[0014] The transport capacity corresponding to the next transfer point of the cargo shipment data is selected according to the expected arrival time of the transport capacity corresponding to the current transfer point until there is no transfer point.
[0015] In one embodiment, adjusting the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold according to the pre-integrated transit point shipping strategy and the cargo shipping volume data includes:
[0016] Determine target cargo shipping volume data from the cargo shipping volume data according to the cargo volume data having a transport capacity greater than a preset threshold;
[0017] sorting the target cargo shipment volume data according to the cargo volume data of the target cargo shipment volume data;
[0018] According to the pre-integrated transit point shipping strategy and the sorted target cargo shipping volume data, the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold is adjusted.
[0019] In one embodiment, the pre-integrated transit point shipping strategy includes a first transit point shipping strategy, and the method further includes:
[0020] Get the single-day transit point shipping strategy;
[0021] The single-day transit point shipping strategy is subjected to data deletion processing according to a preset deletion strategy to obtain a first transit point shipping strategy.
[0022] In one embodiment, the pre-integrated transit point shipping strategy includes a second transit point shipping strategy, and the method further includes:
[0023] Get multi-day transit point shipping strategy;
[0024] Segmenting the transport capacity in the multi-day transit point shipping strategy according to the latest arrival time of the transport capacity in the multi-day transit point shipping strategy to obtain transit point data in multiple time periods;
[0025] The transit point data in each time period is screened to obtain the second transit point shipping strategy.
[0026] In one embodiment, the method further comprises:
[0027] Obtaining historical cargo volume data according to the transportation network data integration request;
[0028] Extracting features from the historical cargo volume data, and calculating a cargo volume threshold corresponding to the historical cargo volume data according to the extracted cargo volume features;
[0029] Filtering the historical cargo volume data according to the cargo volume threshold;
[0030] The cargo volume integrated data is calculated according to the cargo volume characteristics and the filtered cargo volume data, and the cargo volume integrated data is added to the network integrated data.
[0031] In one embodiment, the method further comprises:
[0032] Obtaining historical transportation capacity data according to the transportation network data integration request;
[0033] Integrate the number of vehicles in the historical capacity data to obtain the target departure data;
[0034] Obtaining a historical transit point shipping strategy, and revising the historical transportation capacity data according to the historical transit point shipping strategy;
[0035] The corrected capacity data and the target departure data are integrated to obtain integrated capacity data, and the integrated capacity data is added to the network data.
[0036] A transportation network data integration device, the device comprising:
[0037] A communication module, configured to obtain a transport network data integration request, wherein the transport network data integration request carries cargo shipment volume data and a plurality of transfer points in the transport network, wherein the cargo shipment volume data includes target cargo volume data;
[0038] A determination module, used to determine the transport capacity corresponding to the cargo shipment volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connect the determined multiple transport capacities in series to obtain a comprehensive transport capacity;
[0039] An allocation module, configured to allocate the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transit point shipping strategy;
[0040] A statistical module, used to collect statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determine the transport capacity whose cargo volume data is greater than a preset threshold;
[0041] The adjustment module is used to adjust the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold according to the pre-integrated transit point shipping strategy and the cargo shipping volume data.
[0042] A computer device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps in the above-mentioned various method embodiments when executing the computer program.
[0043] A computer-readable storage medium stores a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0044] The above-mentioned transportation network data integration method, device, computer equipment and storage medium obtain a data integration request, obtain a corresponding data table according to the data type carried by the data integration request, and extract the transportation data to be integrated corresponding to each data type in the data table. Since multiple data types are obtained, and the transportation data in the data table is stored according to the data type, it is possible to aggregate the fragmented transportation data, thereby improving the comprehensiveness of the transportation data. The server integrates the transportation data to be integrated according to the data type, making the integration of the transportation data more hierarchical. Then, the data integration results corresponding to the multiple data types are associated to obtain the target data integration result. A more comprehensive data integration result can be obtained, which effectively improves the integration accuracy of the transportation data, thereby achieving a comprehensive and accurate description of the transportation network of the transportation industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A diagram of an application environment of a transportation network data integration method in one embodiment;
[0046] Figure 2 A schematic diagram of a flow chart of a method for integrating transportation network data in one embodiment;
[0047] Figure 3 It is a flowchart of a step of determining the transport capacity corresponding to each transfer point of cargo shipping volume data according to a pre-integrated transfer point shipping strategy in one embodiment;
[0048] Figure 4 is a structural block diagram of a transportation network data integration device in one embodiment;
[0049] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The transportation network data integration method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 obtains the transportation network data integration request sent by the terminal 102, and the transportation network data integration request carries the cargo shipping volume data and multiple transfer points in the transportation network, and the cargo shipping volume data includes the target cargo volume data. The server 104 determines the transportation capacity corresponding to the cargo shipping volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connects the determined multiple transportation capacities in series to obtain the comprehensive transportation capacity. The server 104 allocates the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transfer point shipping strategy. The server 104 counts the cargo volume data of each transportation capacity in the comprehensive transportation capacity and determines the transportation capacity whose cargo volume data is greater than the preset threshold. The server 104 adjusts the cargo volume data of the transportation capacity whose cargo volume data is greater than the preset threshold according to the pre-integrated transfer point shipping strategy and the cargo shipping volume data to obtain the network integration data of the transportation network. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0052] In one embodiment, Figure 2 As shown, a transportation network data integration method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0053] Step 202, obtaining a transport network data integration request, the transport network data integration request carries cargo shipment volume data and a plurality of transfer points in the transport network, the cargo shipment volume data including target cargo volume data.
[0054] The transport network data integration request is used by the server to integrate the network data in the transport network. The cargo shipment volume data refers to OD (Origin Destination, the volume of cargo between the departure point and the destination). The cargo volume data can include multiple ODs. The transit point refers to the distribution point in the transportation network of the transportation industry, which is used to concentrate, exchange and transfer goods, and realize the flow process of goods from dispersion to concentration and then to dispersion in the transportation network. The target cargo volume data can include basic information such as cargo type, cargo weight, cargo ticket quantity, cargo volume flow direction, etc.
[0055] In the trunk transportation industry such as logistics and express delivery, in order to understand the transportation network of the transportation industry, it is necessary to integrate the network data of the transportation network. The server obtains the transportation network data integration request sent by the terminal, parses the transportation network data integration request, and obtains the cargo shipment volume data and multiple transfer points in the transportation network. The cargo shipment volume data also includes the target cargo volume data.
[0056] Step 204, determining the transport capacity corresponding to the cargo shipping volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connecting the determined multiple transport capacities in series to obtain the comprehensive transport capacity.
[0057] The transport capacity can include the transport routes and the number of vehicles, transport time, load, etc. The series connection means connecting the transport capacity corresponding to each transfer point in sequence, so as to obtain a complete transport network branch.
[0058] Before obtaining the transportation network integration request, the server can integrate the initial transit point shipping strategy and store the integrated transit yard shipping strategy. When the OD arrives at the transit point, the server can extract information related to capacity selection in the OD according to the transit yard shipping strategy. The server selects the capacity of the current transit point based on the extracted information. When the OD arrives at the next transit point, the above information extraction and capacity selection steps are repeated to obtain the capacity corresponding to the next transit point. The server connects the selected multiple capacities in series in the order of the transit points to obtain the comprehensive capacity corresponding to the OD.
[0059] Step 206 , allocating the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transit point shipping strategy.
[0060] Step 208, collect statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determine the transport capacity whose cargo volume data is greater than a preset threshold.
[0061] The comprehensive transport capacity can include the main transport capacity. When the server obtains the comprehensive transport capacity of all ODs, it can extract the main transport capacity ratio data from the pre-integrated transit point shipping strategy. The server first allocates all the target cargo volume data of OD to the main transport capacity according to the main transport capacity ratio data. When the server completes the allocation of the target cargo volume data, it counts the cargo volume data allocated to each main transport capacity. The cargo volume data of each main transport capacity is compared with the preset threshold. When the cargo volume data of the main transport capacity is greater than the preset threshold, the main transport capacity is in a cargo overflow state.
[0062] Step 210, adjusting the cargo volume data of the transport capacity with cargo volume data greater than a preset threshold according to the pre-integrated transit point shipping strategy and cargo shipping volume data, to obtain network integration data of the transportation network.
[0063] When the cargo volume data of a transport capacity is greater than a preset threshold, the cargo volume data of the transport capacity needs to be adjusted to meet the transportation requirements. The server determines the OD corresponding to the transport capacity with cargo volume data greater than the preset threshold. The determined OD is the OD of the transport capacity with cargo volume data greater than the preset threshold as the main transport capacity. Then the server extracts the cargo volume adjustment data from the pre-integrated transit point shipping strategy, and adjusts the cargo volume data of the transport capacity with cargo volume data greater than the preset threshold according to the cargo volume adjustment data and the cargo volume data of the OD to ensure that there is no cargo volume overflow.
[0064] In this embodiment, the server obtains a transport network data integration request, which carries cargo shipment volume data and multiple transfer points in the transport network, and the cargo shipment volume data includes target cargo volume data. Thus, the transport capacity corresponding to the cargo shipment volume data at each transfer point is determined according to the pre-integrated transfer point shipping strategy, and the determined multiple transport capacities are connected in series to obtain a comprehensive transport capacity. Since the pre-integrated transfer point shipping strategy is pre-integrated and stored, the efficiency of transport network data integration can be improved. At the same time, the transport capacities of multiple transfer points can be connected in series, which is conducive to integrating fragmented network data. Then, the target cargo volume data is allocated to the comprehensive transport capacity according to the pre-integrated transfer point shipping strategy. Then, the cargo volume data of each transport capacity in the comprehensive transport capacity is counted to determine the transport capacity whose cargo volume data is greater than the preset threshold. And the cargo volume data of the transport capacity whose cargo volume data is greater than the preset threshold is adjusted according to the pre-integrated transfer point shipping strategy and the cargo shipment volume data. The target cargo volume data of each transfer point's transport capacity can be flexibly adjusted to obtain more comprehensive and accurate network data integration results, thereby achieving a comprehensive and complete description of the transportation network of the transportation industry.
[0065] In one embodiment, Figure 3 As shown, the steps of determining the transportation capacity corresponding to the cargo shipping volume data at each transfer point according to the pre-integrated transfer point shipping strategy include:
[0066] Step 302: extract key information of cargo shipment volume data according to the pre-integrated transit point shipment strategy.
[0067] Step 304, determining the transportation capacity corresponding to the current transfer point according to the key information.
[0068] Step 306 , selecting the transportation capacity corresponding to the next transfer point of the cargo shipment data according to the expected arrival time of the transportation capacity corresponding to the current transfer point, until there is no transfer point.
[0069] The server extracts key information such as the destination, product type, arrival time period, and corresponding number of weeks from the cargo shipment data based on the pre-integrated transit point shipping strategy, and determines the transportation capacity corresponding to the current transit point based on the extracted key information. The server obtains the expected arrival time corresponding to the transportation capacity, uses the expected arrival time as the arrival time for OA to reach the next transit point, and determines the transportation capacity for the next transit point based on the arrival time. Repeat the above steps of using the expected arrival time of the transportation capacity of the previous transit point as the arrival time of the transportation capacity of OA to reach the next transit point, and selecting the transportation capacity based on the arrival time, until there is no transit point, that is, the destination is reached. The server then connects the determined transportation capacities in series.
[0070] In this embodiment, the key information of the cargo shipment data is extracted according to the pre-integrated transit point shipping strategy to determine the transportation capacity of the current transit point, and then the transportation capacity corresponding to the cargo shipment data at the next transit point is selected according to the expected arrival time of the transportation capacity corresponding to the current transit point. Since the transit point shipping strategy is pre-integrated, the efficiency of transportation capacity selection can be improved. By selecting the corresponding transportation capacity of the next transit point according to the expected arrival time of the transportation capacity corresponding to the previous transit point, the transportation capacity can be selected quickly, and it is conducive to connecting multiple transportation capacities in series.
[0071] In one embodiment, adjusting the cargo volume data of the transportation capacity whose cargo volume data is greater than a preset threshold value according to the pre-integrated transit point shipping strategy and the cargo shipping volume data includes: determining the target cargo shipping volume data in the cargo shipping volume data according to the transportation capacity whose cargo volume data is greater than the preset threshold value; sorting the target cargo shipping volume data according to the cargo volume data of the target cargo shipping volume data; adjusting the cargo volume data of the transportation capacity whose cargo volume data is greater than the preset threshold value according to the pre-integrated transit point shipping strategy and the sorted target cargo shipping volume data.
[0072] After the server obtains the transport capacity with cargo volume data greater than the preset threshold, it records the transport capacity with cargo volume data greater than the preset threshold. The server needs to determine the target OA with the transport capacity with cargo volume data greater than the preset threshold as the main transport capacity, and sort the determined target OA according to the preset order. The preset order can be the order in which the cargo volume data arrives from small to large, and then the server extracts the proportion data of the main and backup transport capacity from the pre-integrated transit point shipping strategy. The server will start with the target OA with the smallest cargo volume data, and adjust the cargo volume data of the target OA according to the proportion data of the main and backup transport capacity, and can allocate the cargo volume overflow data of the transport capacity with cargo volume data greater than the preset threshold to the backup transport capacity, thereby avoiding the overflow of cargo volume data of the transport capacity.
[0073] In this embodiment, the target cargo shipment volume data is sorted according to the cargo volume data of the target cargo shipment volume data, so that the cargo volume data of the transportation capacity whose cargo volume data is greater than the preset threshold is adjusted according to the pre-integrated transit point shipping strategy and the sorted target cargo shipment volume data, so as to realize the rapid and reasonable adjustment of the transportation capacity with overflow cargo volume.
[0074] In one embodiment, the pre-integrated transit point shipping strategy includes a first transit point shipping strategy, and the above method also includes: obtaining a single-day transit point shipping strategy; performing data deletion processing on the single-day transit point shipping strategy according to a preset deletion strategy to obtain the first transit point shipping strategy.
[0075] The pre-integrated transit point shipping strategy includes a first transit point shipping strategy, which can be obtained by integrating the single-day transit point shipping strategy. The server can delete the branch line capacity in the single-day transit point shipping strategy and the capacity that does not exist on the day. The capacity that does not exist on the day can be the capacity with zero vehicles on the day. The server compares the departure time in the single-day transit point shipping strategy with the arrival time of OD at the transit point to determine the capacity that meets the deletion condition. For example, the deletion condition can be the capacity in the single-day transit point shipping strategy whose departure time is earlier than the arrival time of OD at the transit point, or the capacity in the single-day transit point shipping strategy whose departure time is more than 2 days later than the arrival time of OD at the transit point. The server can also adjust the capacity used in the single-day transit point shipping strategy that needs to be adjusted to fixed early departure, thereby obtaining the first transit point shipping strategy. Solidifying the early departure capacity means fixing the early departure capacity.
[0076] In this embodiment, the server performs data deletion processing on the single-day transit point shipping strategy according to a preset deletion strategy, and avoids the impact of unnecessary transportation capacity on the integration of transportation network data by deleting unnecessary transportation capacity.
[0077] In one embodiment, the pre-integrated transit point shipping strategy includes a second transit point shipping strategy, and the above method also includes: obtaining a multi-day transit point shipping strategy; segmenting the capacity in the multi-day transit point shipping strategy according to the latest arrival time of the capacity in the multi-day transit point shipping strategy to obtain transit point data in multiple time periods; and filtering the transit point data in each time period to obtain the second transit point shipping strategy.
[0078] The pre-integrated transit point shipping strategy includes a second transit point shipping strategy, and the second transit point shipping strategy can be obtained by integrating the multi-day transit point shipping strategy. The server can merge the multi-day transit point shipping strategies. The server segments the capacity according to the latest arrival time of the capacity in the multi-day transit point shipping strategy to obtain the transit point data in multiple time periods. Thus, the transit point data in each time period is filtered to obtain the first filtered data. The filtering condition for the server to filter the data can be that the frequency of the transit point data appearing in the weeks with non-zero values is greater than or equal to 40%, and the cargo volume ratio of the capacity is greater than or equal to 10%. The server determines the target cargo volume data allocation period according to the latest arrival time of the vehicle of the first filtered data. The server thus re-filters the first filtered data within the same target cargo volume data allocation period to obtain the capacity that meets the above filtering conditions, and uses the capacity that meets the selection conditions as the merged shipping strategy, that is, the second transit point shipping strategy. The server may then determine the cargo volume allocation ratio data corresponding to each target cargo volume data allocation period according to the transport capacity that meets the screening conditions in the second transit point shipping strategy.
[0079] In this embodiment, the server divides the transport capacity according to the latest arrival time of the transport capacity in the multi-day transit point shipping strategy, and performs two data screenings on the transit point data in each time period obtained by the division, so as to obtain a more accurate second transit point shipping strategy.
[0080] In one embodiment, the above method also includes: obtaining historical cargo volume data according to a transportation network data integration request; performing feature extraction on the historical cargo volume data, and calculating the cargo volume threshold corresponding to the historical cargo volume data according to the extracted cargo volume features; filtering the historical cargo volume data according to the cargo volume threshold; calculating cargo volume integration data based on the cargo volume features and the filtered cargo volume data, and adding the cargo volume integration data to the network integration data.
[0081] After obtaining the transport network data integration request, the server parses the transport network data integration request to obtain the request parameters. The request parameters may include cargo volume integration parameters. The server then obtains the historical cargo volume data within a preset time period according to the cargo volume integration parameters. For example, the preset time period may be half a year. After obtaining the cargo volume characteristics, the server calculates the cargo volume threshold corresponding to the historical cargo volume data according to the cargo volume characteristics and the preset relationship. The cargo volume characteristics may include the mean and standard deviation of the historical cargo volume data. The preset relationship may be the addition between the cargo volume characteristics, that is, the sum of the mean and standard deviation of the historical cargo volume data. The historical cargo volume data may include basic information such as cargo type, cargo weight, cargo ticket quantity, and cargo volume flow direction. The server identifies whether there is cargo volume data that meets the preset filtering conditions in the historical cargo volume data. The preset filtering condition may be that there is a preset proportion of cargo volume flow direction with a cargo volume weight greater than the cargo volume threshold. For example, the preset filtering condition may be that there is 80% of the cargo volume flow direction with a cargo volume weight greater than the cargo volume threshold. If so, the server identifies whether there is the cargo volume data that meets the preset filtering conditions in multiple data tables, and if so, the cargo volume data that meets the preset filtering conditions is filtered out. The server then averages the filtered cargo volume data according to the cargo volume characteristics to obtain the cargo volume integration data, and adds the cargo volume integration data to the network integration data.
[0082] In this embodiment, the server calculates the cargo volume threshold corresponding to the historical cargo volume data according to the cargo volume characteristics, filters the historical cargo volume data according to the cargo volume threshold, and then calculates the cargo volume integration data according to the cargo volume characteristics and the filtered cargo volume data. The historical cargo volume data that does not meet the cargo volume requirements can be deleted, thereby effectively improving the accuracy of the cargo volume integration data and further improving the accuracy of the network integration data of the transportation network.
[0083] In one embodiment, the above method also includes: obtaining historical capacity data according to a transportation network data integration request; integrating the number of vehicles in the historical capacity data to obtain target departure data; obtaining historical transit point shipping strategy data, and correcting the historical capacity data according to the historical transit point shipping strategy data; integrating the corrected capacity data and the target departure data to obtain capacity integration data, and adding the capacity integration data to the network integration data.
[0084] The historical capacity data may include the transport routes and the number of vehicles corresponding to the transport routes, the transport time, the load, etc. The server counts the number of vehicles per day in the historical capacity data, and calculates the target departure data based on the counted number of vehicles. The historical capacity data may be capacity data within a preset time period. For example, the preset time period may be one month, and one month includes four weeks. The server identifies whether capacity data exists for each week within the preset time period. When capacity exists for each week, the number of days on which the capacity data appears is determined. When the number of days on which the capacity data appears is less than or equal to a preset ratio, the capacity data is eliminated. When the number of days on which the capacity data appears is greater than a preset ratio, the number of times the number of vehicles on the same day of each week within the preset time period is zero is identified. For example, the preset ratio may be 30%. When the number of times the number of vehicles on the same day of each week within the preset time period is zero is greater than or equal to a threshold number of times, the value of the capacity data on the same day of each week is zero. For example, the threshold number of times may be 3 times. When the number of vehicles on the same day of each week is zero for a number of times less than the number threshold within the preset time period, if the capacity data on the same day of each week has not decreased, the capacity data of the last week will be used as the target departure data. If the capacity data on the same day of each week fluctuates, the data on the same day of multiple weeks within the preset time period will be weighted averaged to obtain the target departure data. A fluctuation may include a change from a value to zero, from zero to a value, and the difference between the two values being greater than or equal to the difference threshold. For example, the difference threshold may be 3.
[0085] When there is only one week with capacity data in the preset time period, the server identifies whether the week is the last week or the preset period in the preset time period. The preset period can be a preset peak period. If not, the capacity data is eliminated. If the week is the last week in the preset time period, the number of days the capacity data appears in the week is determined. If the number of days in the week is less than the day ratio, the capacity data is eliminated. For example, the day ratio can be 50%. If the number of days in the week is greater than or equal to the day threshold, the capacity data is treated as newly added capacity data and the capacity data is retained as the capacity data of the last week.
[0086] When there are two weeks of capacity data within the preset time period, the server identifies whether the capacity data exists in the last two weeks. When there is capacity data in the last two weeks, identify the number of days the capacity data appears. When the number of days the capacity data appears is less than the preset ratio, the capacity data is eliminated. For example, the preset ratio can be 30%. When the number of days the capacity data appears is greater than or equal to the preset ratio, the capacity data is used as the newly added capacity data. At this time, when the server identifies that the capacity data of the last two weeks has not decreased, the capacity data of the last week is used as the target departure data. If the capacity data of the last two weeks fluctuates, the capacity data of the last two weeks are weighted averaged to obtain the target departure data. When there is only capacity data in the last week of the last two weeks, the server identifies whether the number of days the capacity data appears is less than the preset ratio. For example, the preset ratio can be 30%. If so, the capacity data is eliminated. If not, when the capacity data of the two weeks with capacity data does not decrease, the capacity data of the last week is used as the target departure data. When the capacity data of the two weeks with capacity data fluctuate, the capacity data of the fourth week is weighted averaged to obtain the target departure data. When the two weeks with capacity do not include the last week, the transport route number corresponding to the capacity data is deleted.
[0087] When there are capacity data for three weeks within a preset time period, the server identifies whether the capacity data exists for the last three weeks. When there are capacity data for the last three weeks, if the number of days the capacity data appears is less than or equal to the preset ratio, the capacity data is eliminated. For example, the preset ratio can be 30%. If the number of days the capacity data appears is greater than the preset ratio, when the capacity data on the same day in each week does not decrease, the capacity data of the last week is used as the target departure data. If the capacity data on the same day in each week fluctuates, the capacity data on the same day in the last three weeks are weighted averaged to obtain the target departure data. When the three weeks with capacity data include the first and last weeks, if the number of days the capacity data appears is less than or equal to the preset ratio, the capacity data is eliminated. For example, the preset ratio can be 30%. If the number of days the capacity data appears is greater than the preset ratio, when the capacity data of three weeks does not decrease, the capacity data of the last week is used as the target departure data. When the capacity data of three weeks fluctuates, the capacity data of three weeks are weighted averaged to obtain the target departure data. When the three weeks with capacity data do not include the last week, the transport route number corresponding to the capacity data will be deleted.
[0088] The server can also divide the days of the week into groups to obtain the number of vehicles departing each day corresponding to the capacity data. When the server recognizes that the capacity data of historical capacity data on Monday, Saturday, and Sunday is zero, Monday, Saturday, and Sunday are classified as non-working days. When the server recognizes that there is capacity data with a value of zero in the capacity data from Tuesday to Friday, the week with a value of zero is regarded as an abnormal day. The server averages the number of vehicles in the remaining weeks to obtain a first average value. The server determines the number of vehicles in the remaining weeks that meet the abnormal condition based on the first average value, and regards the week with the number of vehicles that meets the abnormal condition as an abnormal day. For example, the abnormal condition may be that the absolute value of the difference with the first average value is greater than or equal to 3. The server filters the abnormal days and divides the weeks obtained after filtering into working days.
[0089] When the server recognizes that the capacity data of the historical capacity data on Saturday and Sunday is zero, Saturday and Sunday are classified as non-working days. The server repeats the above steps of judging abnormal days and working days to divide Monday to Friday.
[0090] When the server recognizes that the historical capacity data on Monday and Sunday is zero, Monday and Sunday are classified as non-working days. The server repeats the above steps of determining abnormal days and working days, and divides Tuesday to Saturday.
[0091] When the server identifies that the historical capacity data on Mondays and Saturdays is zero, and the data on Sunday is not zero, the week is regarded as an abnormal week.
[0092] When the server identifies that the capacity data of the historical capacity data on Saturday is zero, and the data on Sunday and Monday are not zero, Saturday is regarded as an abnormal day. When the server identifies that the number of data fluctuations in this week is greater than or equal to the preset threshold, the week is regarded as an abnormal week, and each day in the abnormal week is regarded as a set. For example, the preset threshold may be 4 times. When the server identifies that the number of data fluctuations in this week is less than the preset threshold, if the numerical difference between Sunday and Monday is greater than or equal to the corresponding difference threshold, the week is regarded as an abnormal week. For example, the difference threshold may be 2. If the numerical difference between Sunday and Monday is less than the corresponding difference threshold, Sunday and Monday are regarded as non-working days. When the server identifies that there is zero capacity data in the capacity data from Tuesday to Friday, the week number with a value of zero is regarded as an abnormal day. The server averages the number of vehicles in the remaining weeks to obtain a fourth average value. The server determines the number of vehicles in the remaining weeks that meet the abnormal condition based on the fourth average value, and the week number of the vehicle number that meets the abnormal condition is regarded as an abnormal day. For example, the abnormal condition may be that the absolute value of the difference with the fourth average value is greater than or equal to 3. The server filters abnormal days and divides the days of the week obtained after filtering into working days.
[0093] When the server recognizes that the capacity data of the historical capacity data on Monday is zero, and the data on Saturday and Sunday are not zero, Monday is regarded as an abnormal day. The server judges the abnormal week according to the above data fluctuation times and divides Tuesday to Saturday according to the abnormal day and working day judgment steps.
[0094] When the server recognizes that the historical capacity data on Sunday is zero, and the data on Saturday and Monday are not zero, Sunday is considered a non-working day. The server divides Monday to Saturday according to the steps of judging abnormal days and working days.
[0095] When the server identifies that the capacity data of the historical capacity data on Saturday, Sunday and Monday are not zero, the number of data fluctuations in the week is compared with the preset threshold. When the number of data fluctuations in the week is greater than or equal to the preset threshold, the week is regarded as an abnormal week, and each day in the abnormal week is regarded as a set. For example, the preset threshold can be 4 times. When the number of data fluctuations in the week is less than the preset threshold, the server determines a non-working day. There are many ways to determine a non-working day. The server can compare the capacity data of Saturday and Monday with the capacity data of Sunday, and take the weeks with a difference less than or equal to the corresponding difference threshold and Sunday as non-working days. When the method cannot be distinguished, the server can advance the departure time in the capacity data on Saturday, and when the advance time is Friday, Sunday and Monday are regarded as non-working days. For example, the departure time of the transfer point of the capacity data can be advanced by 6 hours, and the others can be advanced by 10 hours. When the advance time is still Saturday, Saturday and Sunday are regarded as non-working days. The server divides the weeks other than non-working days according to the above steps of judging abnormal days and working days.
[0096] After the server completes the division of the week, it merges the number of vehicles corresponding to the week. The server retains the number of vehicles corresponding to the abnormal week and abnormal day. The server averages the number of vehicles on non-working days to obtain the number of vehicles on non-working days. The server averages the number of vehicles on working days to obtain the number of vehicles on working days.
[0097] The server can also solidify the advance departure data. Specifically, the server can divide the departure time according to the departure frequency and timeliness of the historical capacity data. The server screens the transport route numbers whose solidification time is earlier than the advance departure time, and determines the transport route number to which each capacity in the historical capacity data belongs. When the number n of new transport route numbers exceeds the capacity number m of that day, the capacity data corresponding to the first nm transport route numbers are used as the n-m+1th transport route number. The server counts the daily departure number corresponding to each transport route number, and divides the vehicles according to the weeks obtained by the division, and then obtains the target departure data. The target departure data may include a certain vehicle at a certain time on a certain day.
[0098] The server summarizes the historical capacity data, deletes duplicate data in the summarized capacity data, and retains the capacity data with the most recent date. The server corrects the retained capacity data. Specifically, the server reads the latest arrival time of the capacity every day in the historical transit point shipping strategy. The server arranges the latest arrival times in ascending order, selects the latest arrival time at a preset time ratio to correct the latest arrival time of the retained capacity data. For example, the preset time ratio can be 80%. The server reads the daily transportation time of the capacity in the historical transit point shipping strategy, arranges the transportation time in ascending order, selects the transportation time at a preset time ratio to correct the transportation time of the retained capacity data. For example, the preset time ratio can be 80%.
[0099] The server may also add the loading information to the corresponding capacity data. The loading information may include the destination identifier, product type, cargo volume information, etc. corresponding to the capacity. The server adds the target departure data and the corrected capacity data to the corresponding capacity table to obtain the capacity integration data, and adds the capacity integration data to the network integration data of the transportation network.
[0100] In this embodiment, the server integrates the number of vehicles in the historical capacity data to obtain the target dispatch data. The historical capacity data is corrected according to the historical transfer point dispatch strategy. The capacity integration data is obtained according to the corrected capacity data and the target dispatch data. The capacity data can be integrated from multiple aspects such as the number of vehicles in the capacity and the correction of the capacity data, and the dispatch data is solidified, which further improves the accuracy of the capacity integration data.
[0101] It should be understood that although Figures 2 to 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figures 2 to 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0102] In one embodiment, Figure 4 As shown, a transport network data integration device is provided, including: a communication module 402, a determination module 404, an allocation module 406, a statistics module 408 and an adjustment module 410, wherein:
[0103] The communication module 402 is used to obtain a transportation network data integration request, which carries cargo shipment volume data and multiple transfer points in the transportation network, and the cargo shipment volume data includes target cargo volume data.
[0104] The determination module 404 is used to determine the transport capacity corresponding to the cargo shipping volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connect the determined multiple transport capacities in series to obtain the comprehensive transport capacity.
[0105] The allocation module 406 is used to allocate the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transit point shipping strategy.
[0106] The statistical module 408 is used to collect statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determine the transport capacity whose cargo volume data is greater than a preset threshold.
[0107] The adjustment module 410 is used to adjust the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold according to the pre-integrated transit point shipping strategy and cargo shipping volume data.
[0108] In one embodiment, the determination module 404 is also used to extract key information of the cargo shipment volume data according to a pre-integrated transit point shipping strategy; determine the transportation capacity corresponding to the current transit point according to the key information; select the transportation capacity corresponding to the cargo shipment volume data at the next transit point according to the expected arrival time of the transportation capacity corresponding to the current transit point, until there is no transit point.
[0109] In one embodiment, the adjustment module 410 is also used to determine target cargo shipping volume data in the cargo shipping volume data based on the transportation capacity whose cargo volume data is greater than a preset threshold; sort the target cargo shipping volume data according to the cargo volume data of the target cargo shipping volume data; and adjust the cargo volume data of the transportation capacity whose cargo volume data is greater than a preset threshold based on the pre-integrated transit point shipping strategy and the sorted target cargo shipping volume data.
[0110] In one embodiment, the above-mentioned device also includes: a shipping strategy integration module, which is used to obtain a single-day transit point shipping strategy; perform data deletion processing on the single-day transit point shipping strategy according to a preset deletion strategy to obtain a first transit point shipping strategy.
[0111] In one embodiment, the above-mentioned device also includes: a shipping strategy integration module, which is used to obtain a multi-day transit point shipping strategy; segmenting the capacity in the multi-day transit point shipping strategy according to the latest arrival time of the capacity in the multi-day transit point shipping strategy to obtain transit point data in multiple time periods; and filtering the transit point data in each time period to obtain a second transit point shipping strategy.
[0112] In one embodiment, the above-mentioned device also includes: a cargo volume data integration module, which is used to obtain historical cargo volume data according to a transportation network data integration request; perform feature extraction on the historical cargo volume data, and calculate the cargo volume threshold corresponding to the historical cargo volume data according to the extracted cargo volume features; filter the historical cargo volume data according to the cargo volume threshold; calculate the cargo volume integration data according to the cargo volume features and the filtered cargo volume data, and add the cargo volume integration data to the network integration data.
[0113] In one embodiment, the above-mentioned device also includes: a capacity data integration module, which is used to obtain historical capacity data according to a transportation network data integration request; integrate the number of vehicles in the historical capacity data to obtain target departure data; obtain historical transit point shipping strategies, and correct the historical capacity data according to the historical transit point shipping strategies; integrate the corrected capacity data and target departure data to obtain capacity integration data, and add the capacity integration data to the network data.
[0114] The specific definition of the transportation network data integration device can be found in the definition of the transportation network data integration method above, which will not be repeated here. Each module in the above-mentioned transportation network data integration device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0115] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store network integration data, cargo volume integration data and capacity integration data of the transportation network. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a transportation network data integration method is implemented.
[0116] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0117] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above embodiments when executing the computer program.
[0118] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above embodiments are implemented.
[0119] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0121] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for integrating transportation network data, It is characterized in that The method comprises: Obtaining a transport network data integration request, the transport network data integration request carrying cargo shipment volume data and a plurality of transfer points in the transport network, the cargo shipment volume data including target cargo volume data; the cargo shipment volume data including a plurality of ODs; the target cargo volume data including cargo weight; Determine the transport capacity corresponding to the cargo shipment volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connect the determined multiple transport capacities in series to obtain the comprehensive transport capacity; Allocating the target cargo volume data to the comprehensive transport capacity according to the pre-integrated transit point shipping strategy, including: extracting main transport capacity ratio data from the pre-integrated transit point shipping strategy, and allocating all the target cargo volume data of each OD to the main transport capacity of each OD according to the main transport capacity ratio data; Collecting statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determining the transport capacity whose cargo volume data is greater than a preset threshold; The cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold is adjusted according to the pre-integrated transit point shipping strategy and the cargo shipping volume data to obtain the network integration data of the transportation network.
2. The method according to claim 1, It is characterized in that Determining the transport capacity corresponding to each transfer point of the cargo shipment volume data according to the pre-integrated transfer point shipping strategy includes: Extracting key information of the cargo shipment data according to a pre-integrated transit point shipment strategy; Determine the transportation capacity corresponding to the current transfer point according to the key information; The transport capacity corresponding to the next transfer point of the cargo shipment data is selected according to the expected arrival time of the transport capacity corresponding to the current transfer point until there is no transfer point.
3. The method according to claim 1, It is characterized in that The adjusting of the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold according to the pre-integrated transit point shipping strategy and the cargo shipping volume data includes: Determine target cargo shipping volume data from the cargo shipping volume data according to the cargo volume data having a transport capacity greater than a preset threshold; sorting the target cargo shipment volume data according to the cargo volume data of the target cargo shipment volume data; According to the pre-integrated transit point shipping strategy and the sorted target cargo shipping volume data, the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold is adjusted.
4. The method according to claim 1, It is characterized in that The pre-integrated transit point shipping strategy includes a first transit point shipping strategy, and the method further includes: Get the single-day transit point shipping strategy; The single-day transit point shipping strategy is subjected to data deletion processing according to a preset deletion strategy to obtain a first transit point shipping strategy.
5. The method according to claim 1, It is characterized in that The pre-integrated transit point shipping strategy includes a second transit point shipping strategy, and the method further includes: Obtain multi-day transit point shipping strategy; Segmenting the transport capacity in the multi-day transit point shipping strategy according to the latest arrival time of the transport capacity in the multi-day transit point shipping strategy to obtain transit point data in multiple time periods; The transit point data in each time period is screened to obtain the second transit point shipping strategy.
6. The method according to claim 1, It is characterized in that The method further comprises: Obtaining historical cargo volume data according to the transportation network data integration request; Extracting features from the historical cargo volume data, and calculating a cargo volume threshold corresponding to the historical cargo volume data according to the extracted cargo volume features; Filtering the historical cargo volume data according to the cargo volume threshold; The cargo volume integrated data is calculated according to the cargo volume characteristics and the filtered cargo volume data, and the cargo volume integrated data is added to the network integrated data.
7. The method according to claim 1, It is characterized in that The method further comprises: Obtaining historical transportation capacity data according to the transportation network data integration request; Integrate the number of vehicles in the historical capacity data to obtain the target departure data; Obtaining a historical transit point shipping strategy, and revising the historical transportation capacity data according to the historical transit point shipping strategy; The corrected capacity data and the target departure data are integrated to obtain integrated capacity data, and the integrated capacity data is added to the network data.
8. A transport network data integration device, It is characterized in that The device comprises: A communication module, used for obtaining a transport network data integration request, wherein the transport network data integration request carries cargo shipment volume data and a plurality of transfer points in the transport network, wherein the cargo shipment volume data includes target cargo volume data; the cargo shipment volume data includes a plurality of ODs; and the target cargo volume data includes cargo weight; A determination module, used to determine the transport capacity corresponding to the cargo shipment volume data at each transfer point according to the pre-integrated transfer point shipping strategy, and connect the determined multiple transport capacities in series to obtain a comprehensive transport capacity; An allocation module, used to allocate the target cargo volume data to the comprehensive transportation capacity according to the pre-integrated transit point shipping strategy, including: extracting main transportation capacity ratio data from the pre-integrated transit point shipping strategy, and allocating all the target cargo volume data of each OD to the main transportation capacity of each OD according to the main transportation capacity ratio data; A statistical module, used to collect statistics on the cargo volume data of each transport capacity in the comprehensive transport capacity, and determine the transport capacity whose cargo volume data is greater than a preset threshold; The adjustment module is used to adjust the cargo volume data of the transport capacity whose cargo volume data is greater than a preset threshold according to the pre-integrated transit point shipping strategy and the cargo shipping volume data.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and apparatus for allocating distribution transport capacity of distribution site
CN106920053A
Physical distribution path configuration method and system
CN107944598A
Data processing method and device for distributing logistics goods
CN110348671A
Transportation scheduling method and system and computer readable storage medium
CN111008756A
