Dynamic flow prediction method and system based on Markov chain
By conducting detailed analysis and screening of historical logistics data and transportation personnel data, high-quality transportation personnel information is screened out and Markov chain model simulation prediction is carried out, the problem of large deviations in the logistics flow forecast results in the existing technology is solved, and more accurate logistics flow prediction and transportation strategy configuration is achieved.
Patent Information
- Application Number
- CN202411719161.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-28
AI Technical Summary
When using the Markov chain model for logistics flow prediction, the existing technology directly brings the simple searched information into the model, resulting in a large deviation from the prediction results and affects the corporate strategic planning.
By obtaining historical logistics data and historical transportation data of transport personnel, establishing logistics databases and preset transportation databases, comparing and obtaining abnormal and general data, screening information of high-quality transport personnel, and bringing them into the Markov chain model for simulation prediction, determining the specific number of high-quality transport personnel and the number of general transport personnel, and finally predicting the actual risk logistics order quantity and the required additional cost through the second Markov chain model.
Through detailed analysis and screening of logistics data and transportation personnel data, the accuracy of logistics flow forecasting is improved, problems in the logistics process can be discovered and dealt with in a timely manner, providing strong support for the company's decision-making.
Smart Images

Figure CN119539194A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics and transportation technology, and in particular to a method and system for dynamic flow prediction based on a Markov chain. Background Art
[0002] The working principle of the Markov chain model is mainly based on its "memorylessness" or "Markov property", that is, the state of a random process at a certain moment in the future is only related to the current state, but not to the past state. This property makes the Markov chain very useful in analyzing problems with time series characteristics.
[0003] In the logistics volume forecasting of Markov chain model, the uncertainty can be used to effectively predict the quantity of goods that will appear in the future, and then the corresponding transportation strategy can be configured based on the predicted quantity of goods. However, in the existing forecasting models, the information obtained by simple retrieval is directly brought into the Markov chain model for transportation volume forecasting, and no further analysis is performed on the collected information. The forecast results obtained in this way deviate too much from reality, which affects the company's future strategic planning. Summary of the invention
[0004] The present application provides a method and system for dynamic flow prediction based on Markov chain to solve the problem that the existing technology directly brings the information obtained by simple retrieval into the Markov chain model to predict the transportation flow, and the prediction result deviates greatly from the actual situation.
[0005] In a first aspect, the present application provides a method for dynamic flow prediction based on a Markov chain, comprising: Acquire historical logistics data, establish a logistics database through the historical logistics data, compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results; Acquire historical transportation data of a number of transportation personnel in the first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison result; Bringing some preset transport personnel information into the first Markov chain model, and obtaining some first transport personnel information and some second transport personnel information through simulation of the first Markov chain model; The first transport personnel information is compared with the first preset transport efficiency data to obtain the third transport personnel information, the second transport personnel information is compared with the second preset transport efficiency data to obtain the fourth transport personnel information, and the specific number of high-quality transport personnel and the specific number of general transport personnel are obtained according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information; The specific number of high-quality transportation personnel and the specific number of general transportation personnel are brought into the second Markov chain model, and the actual number of risky logistics orders is obtained through simulation and prediction by the second Markov chain model. The number of third transportation personnel is determined based on the actual number of risky logistics orders, and the required additional cost is determined based on the number of third personnel.
[0006] The above technical solution has the following advantages: Optionally, the comparing of the historical logistics data in the first time period with the logistics database, and obtaining the abnormal logistics data and the general logistics data through the comparison results, include: Wherein, the logistics database includes: preset logistics loss data and preset logistics time abnormality data; The number of abnormal logistics data includes: the number of lost logistics information and the number of time abnormal logistics information; The general logistics data quantity includes: the quantity of other logistics data except abnormal logistics data in the historical logistics data of the first time period; Compare the logistics information with the preset logistics loss data. If the logistics information meets the preset logistics loss data, determine it as lost logistics information and record the number of lost logistics information; Compare some of the logistics information with the preset logistics time abnormality data. If the logistics information meets the preset logistics time abnormality data, it is determined as time abnormality logistics information, and the number of the time abnormality logistics information is recorded.
[0007] The above technical solution has the following advantages: not only can problems in the logistics process be discovered and handled in a timely manner, but future logistics data can also be predicted, providing strong support for the company's decision-making.
[0008] Optionally, the acquiring of historical transport data of a number of transport personnel in the first time period, comparing the historical transport data with a preset transport database, and obtaining information of a number of high-quality transport personnel and information of a number of general transport personnel according to the comparison result, includes: The historical transportation data includes: historical lost data and historical timeout data; Wherein, the preset transport database includes: a preset missing data threshold and a preset timeout threshold; Comparing the historical lost data with the preset lost data threshold, if the historical lost data is less than the preset lost data threshold, generating a first transport mark and attaching it to the historical transport data of the transport personnel; Comparing the historical timeout data with the preset timeout threshold, if the historical timeout data is less than the preset timeout threshold, generating a second transport mark and attaching it to the historical transport data of the transport personnel; If the transport personnel's historical transport data has both the first transport mark and the second transport mark, high-quality transport information is generated, and the transport personnel is determined to be the high-quality transport personnel through the high-quality transport information. Acquire a number of the high-quality transport personnel data, and obtain first quantity information according to the number of the high-quality transport personnel data; If the historical transportation data of the transportation personnel do not have both the first transportation mark and the second transportation mark, general transportation information is generated, and the transportation personnel is determined to be the general transportation personnel through the general transportation information, Acquire a number of the general transportation personnel data, and determine the second quantity information according to the number of the general transportation personnel data.
[0009] The above technical solution has the following advantages: high-quality transport personnel can be determined based on historical data, and the performance of the entire transport team can be evaluated based on the number of high-quality transport personnel and the number of general transport personnel. This information can provide support for future transport planning.
[0010] Optionally, the step of bringing some preset transport personnel information into the first Markov chain model and simulating the first Markov chain model to obtain some first transport personnel information and some second transport personnel information includes: The preset transportation personnel information is brought into the first Markov chain model, and simulation and prediction are performed through the first Markov chain model to obtain predicted risk logistics order information and predicted general logistics order information; based on the predicted risk logistics order information, the risk logistics order is assigned to the high-quality transportation personnel to obtain the first transportation personnel information; based on the predicted general logistics order information, the general logistics order is assigned to the general transportation personnel to obtain the second transportation personnel information.
[0011] The above technical solution has the following advantages: it can predict the risk level of logistics orders based on historical data, and it can also reasonably allocate transportation personnel based on the prediction results to improve the efficiency and accuracy of logistics transportation.
[0012] Optionally, the first transport personnel information is compared with the first preset transport efficiency data to obtain the third transport personnel information, the second transport personnel information is compared with the second preset transport efficiency data to obtain the fourth transport personnel information, and the specific number of high-quality transport personnel and the specific number of general transport personnel are obtained according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information, including: Compare the first transport personnel information with the first preset transport efficiency data, if the first transport personnel information is lower than the first preset transport efficiency data, determine it as the third transport personnel information, and obtain the number of the third transport personnel information, Compare the plurality of the second transport personnel information with the second preset transport efficiency data, and if the second transport personnel information is higher than the second preset transport efficiency data, determine it as the fourth transport personnel information, and obtain the number of the fourth transport personnel information; Obtaining the number of the first transport personnel information, and integrating it with the number of the fourth transport personnel information to obtain the number of the specific high-quality transport personnel; The second transport personnel information quantity is obtained, and it is integrated with the third transport personnel information quantity to obtain the specific general transport personnel quantity.
[0013] The above technical solution has the following advantages: it can more accurately understand the actual performance of different transportation personnel in the transportation team, so that subsequent transportation forecasts are more accurate, and provide strong data support for the company's transportation management, personnel deployment and performance evaluation.
[0014] Optionally, the step of bringing the specific number of high-quality transport personnel and the specific number of general transport personnel into the second Markov chain model and obtaining the actual number of risky logistics orders through simulation and prediction by the second Markov chain model further includes: The actual number of risky logistics orders includes: the number of first-risk order information, the number of second-risk order information, the number of third-risk order information, and the number of fourth-risk order information; Bringing some of the abnormal logistics data into some of the specific high-quality transport personnel data to obtain some actual high-quality transport personnel data, bringing some of the actual high-quality transport personnel data into the second Markov chain model, and simulating and predicting according to the second Markov chain model to obtain the first risk order information quantity, If the number of abnormal logistics data is greater than the number of specific high-quality transport personnel data, a quantity difference is formed, and the number of second risky order information is determined according to the quantity difference; Substitute some of the general logistics data into some of the specific general transport personnel data to obtain some actual general transport personnel data, substitute some of the actual general transport personnel data into the second Markov chain model, and simulate and predict the number of third risk order information according to the second Markov chain model. If the quantity of the general logistics data is greater than the quantity of the specific general transport personnel data, a quantity difference is formed, and the quantity of the fourth risk order information is determined based on the quantity difference.
[0015] The above technical solution has the following advantages: it can predict the number of risky logistics orders handled by specific high-quality transportation personnel and general transportation personnel, and can further predict the number of additional risky orders that may be caused by insufficient transportation personnel based on the difference in the quantity of abnormal logistics data and general logistics data.
[0016] Optionally, determining the number of third transport personnel according to the actual number of risk logistics orders, and determining the required additional costs according to the number of third transport personnel, includes: Wherein, the third number of transport personnel includes: first additional transport personnel and second additional transport personnel; Determining the number of the first additional transport personnel according to the number of the first risk order information and the number of the second risk order information; The number of the second additional transport personnel is determined based on the number of the third risk order information and the number of the fourth risk order information.
[0017] The above technical solution has the following advantages: through such a process, the number of transportation personnel can be flexibly adjusted according to the number of actual risk logistics orders, providing strong support for the company's planning and management.
[0018] In a second aspect, the present application provides a flow dynamic prediction system based on a Markov chain, comprising: An information acquisition module is used to acquire historical logistics data, establish a logistics database through the historical logistics data, compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results; An information comparison module, used to obtain historical transportation data of a number of transportation personnel in a first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison result; A first information adding module is used to bring a number of preset transport personnel information into the first Markov chain model, and obtain a number of first transport personnel information and a number of second transport personnel information through the first Markov chain model simulation; An information confirmation module, used for comparing the first transport personnel information with the first preset transport efficiency data to obtain the third transport personnel information, comparing the second transport personnel information with the second preset transport efficiency data to obtain the fourth transport personnel information, and obtaining the specific number of high-quality transport personnel and the specific number of general transport personnel according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information; The second information adding module is used to bring the specific number of high-quality transportation personnel and the specific number of general transportation personnel into the second Markov chain model, simulate and predict the actual number of risk logistics orders through the second Markov chain model, determine the number of third transportation personnel based on the actual number of risk logistics orders, and determine the required additional cost based on the number of third personnel.
[0019] Optionally, the information acquisition module is specifically used to: Compare some historical logistics data in the first time period with the logistics database, and obtain some abnormal logistics data and some general logistics data through the comparison results, including: The logistics database includes: preset logistics loss data and preset logistics time abnormal data; The number of abnormal logistics data includes: the number of lost logistics information and the number of time-abnormal logistics information; The number of general logistics data includes: the number of other logistics data except abnormal logistics data in a number of historical logistics data in the first time period; Compare some logistics information with the preset logistics loss data. If the logistics information meets the preset logistics loss data, it will be determined as lost logistics information, and the number of lost logistics information will be recorded; Compare some logistics information with preset logistics time abnormal data. If the logistics information meets the preset logistics time abnormal data, determine it as time abnormal logistics information, and record the number of time abnormal logistics information; Optionally, the information comparison module is specifically used to: Obtain historical transportation data of several transportation personnel in the first time period, compare the several historical transportation data with the preset transportation database, and obtain information of several high-quality transportation personnel and information of several general transportation personnel according to the comparison results, including: Among them, historical transportation data includes: historical lost data and historical overtime data; The preset transport database includes: a preset lost data threshold and a preset timeout threshold; Comparing a number of historical lost data with a preset lost data threshold, if the historical lost data is less than the preset lost data threshold, generating a first transport mark and attaching it to the historical transport data of the transport personnel; Comparing the historical timeout data with a preset timeout threshold, if the historical timeout data is less than the preset timeout threshold, generating a second transport mark and attaching it to the historical transport data of the transport personnel; If the transport personnel's historical transport data has both the first transport mark and the second transport mark, high-quality transport information is generated, and the transport personnel is determined to be a high-quality transport personnel through the high-quality transport information. Acquire a number of high-quality transport personnel data, and obtain first quantity information according to the number of the high-quality transport personnel data; If the transport personnel's historical transport data does not have both the first transport mark and the second transport mark, then general transport information is generated, and the transport personnel is determined to be a general transport personnel through the general transport information. Acquire some general transportation personnel data, and determine the second quantity information according to the quantity of the general transportation personnel data.
[0020] Optionally, the first information adding module is specifically used to: Bringing some preset transport personnel information into the first Markov chain model, and simulating the first Markov chain model to obtain some first transport personnel information and some second transport personnel information, including: The preset transportation personnel information is brought into the first Markov chain model, and the predicted risk logistics order information and the predicted general logistics order information are obtained through simulation and prediction by the first Markov chain model. According to the predicted risk logistics order information, the risk logistics order is assigned to the high-quality transportation personnel to obtain the first transportation personnel information. According to the predicted general logistics order information, the general logistics order is assigned to the general transportation personnel to obtain the second transportation personnel information.
[0021] Optionally, the information confirmation module is specifically used to: The first transport personnel information is compared with the first preset transport efficiency data to obtain the third transport personnel information, and the second transport personnel information is compared with the second preset transport efficiency data to obtain the fourth transport personnel information. According to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information, the specific number of high-quality transport personnel and the specific number of general transport personnel are obtained, including: Compare a number of first transport personnel information with the first preset transport efficiency data, if the first transport personnel information is lower than the first preset transport efficiency data, determine it as the third transport personnel information, obtain the number of the third transport personnel information, Comparing a number of second transport personnel information with the second preset transport efficiency data, if the second transport personnel information is higher than the second preset transport efficiency data, determining it as the fourth transport personnel information, and obtaining the number of the fourth transport personnel information; The number of first transport personnel information is obtained, and the first transport personnel information is integrated with the number of fourth transport personnel information to obtain the number of specific high-quality transport personnel; The second transport personnel information quantity is obtained, and it is integrated with the third transport personnel information quantity to obtain the specific general transport personnel quantity.
[0022] Optionally, the second information adding module is specifically used to: The specific number of high-quality transport personnel and the specific number of general transport personnel are brought into the second Markov chain model, and the actual number of risky logistics orders is obtained through simulation and prediction by the second Markov chain model, which also includes: The actual number of risky logistics orders includes: the number of first-risk order information, the number of second-risk order information, the number of third-risk order information, and the number of fourth-risk order information; Bring some abnormal logistics data into some specific high-quality transport personnel data to obtain some actual high-quality transport personnel data, bring some actual high-quality transport personnel data into the second Markov chain model, and simulate and predict the first risk order information quantity according to the second Markov chain model. If the number of abnormal logistics data is greater than the number of specific high-quality transport personnel data, a quantity difference is formed, and the number of second risk order information is determined based on the quantity difference; Substitute some general logistics data into some specific general transport personnel data to obtain some actual general transport personnel data. Substitute some actual general transport personnel data into the second Markov chain model, and simulate and predict the third risk order information quantity according to the second Markov chain model. If the quantity of general logistics data is greater than the quantity of specific general transportation personnel data, a quantity difference is formed, and the quantity of the fourth risk order information is determined based on the quantity difference.
[0023] Optionally, the second information adding module is specifically used to: The number of third-party transport personnel is determined based on the actual number of risk logistics orders, and the additional costs required are determined based on the number of third-party personnel, including: The third number of transport personnel includes: the first additional transport personnel and the second additional transport personnel; Determine the number of first additional transport personnel according to the number of first risk order information and the number of second risk order information; The number of the second additional transportation personnel is determined based on the number of third risk order information and the number of fourth risk order information. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0025] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application; Figure 2A flow chart of a method and system for dynamic flow prediction based on a Markov chain provided in an embodiment of the present application; Figure 3 A flow chart of a method and system for dynamic flow prediction based on a Markov chain provided in an embodiment of the present application; DETAILED DESCRIPTION
[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0028] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0029] In the logistics volume forecasting of Markov chain model, the uncertainty can be used to effectively predict the quantity of goods that will appear in the future, and then the corresponding transportation strategy can be configured based on the predicted quantity of goods. However, in the existing forecasting models, the information obtained by simple retrieval is directly brought into the Markov chain model for transportation volume forecasting, and no further analysis is performed on the collected information. The forecast results obtained in this way deviate too much from reality, which affects the company's future strategic planning.
[0030] Based on this, the present application provides a method and system for dynamic traffic prediction based on Markov chain.
[0031] Figure 1A schematic diagram of an application scenario provided for the present application. Based on historical data, a first Markov chain model is constructed, and then the preset transportation personnel information is brought into the model for simulation, and several first transportation personnel information and several second transportation personnel information are obtained. This information represents the possible performance of different transportation personnel in the future. The first transportation personnel information is further compared with the first preset transportation efficiency data to obtain the third transportation personnel information; the second transportation personnel information is compared with the second preset transportation efficiency data to obtain the fourth transportation personnel information. Through these comparison results, the transportation efficiency of each transportation personnel can be accurately understood. According to the predicted number of risk logistics orders, the required number of third transportation personnel is determined, and the required additional costs are calculated accordingly. These costs include staff wages, insurance costs, etc., so that more realistic predicted logistics data can be obtained, and then the enterprise can further optimize the plan for the future, reduce operating costs, and optimize the configuration of transportation personnel. The specific implementation method can refer to the following embodiments.
[0032] Figure 2 This is a flow chart of a method and system for dynamic traffic prediction based on a Markov chain provided in an embodiment of the present application. The method of this embodiment can be applied to the server in the above scenario. Figure 2 As shown, the method includes: S201. Acquire historical logistics data, establish a logistics database through the historical logistics data, compare some historical logistics data in the first time period with the logistics database, and obtain some abnormal logistics data and some general logistics data through the comparison results.
[0033] Among them, the first time period is: a preset historical reference time period. Collecting logistics data within this historical time period and evaluating all logistics data will help predict future logistics data.
[0034] Specifically, historical logistics data from a past period of time was collected and a logistics database was established based on these data. At the same time, historical transportation data of transportation personnel was also collected, including historical lost data and historical timeout data. The logistics data was compared with the logistics database, and several abnormal logistics data and some general logistics data were identified through comparison.
[0035] S202, obtaining historical transportation data of several transportation personnel in the first time period, comparing the several historical transportation data with a preset transportation database, and obtaining information of several high-quality transportation personnel and information of several general transportation personnel according to the comparison result.
[0036] Specifically, the historical transportation data of the transportation personnel are compared with the preset transportation database (including the preset lost data threshold and the preset timeout threshold), and the information of some high-quality transportation personnel and some general transportation personnel is obtained. These historical data are subsequently analyzed to identify potential problems in the logistics process.
[0037] S203: Bringing some preset transport personnel information into the first Markov chain model, and obtaining some first transport personnel information and some second transport personnel information through simulation of the first Markov chain model.
[0038] Specifically, the preset transport personnel information is brought into the first Markov chain model for simulation, and a number of first transport personnel information and a number of second transport personnel information are obtained, which represent the possible performance of different transport personnel in the future.
[0039] S204. Compare the first transport personnel information with the first preset transport efficiency data to obtain the third transport personnel information, compare the second transport personnel information with the second preset transport efficiency data to obtain the fourth transport personnel information, and obtain the specific number of high-quality transport personnel and the specific number of general transport personnel based on the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information.
[0040] Specifically, based on the obtained number of high-quality transportation personnel and the number of general transportation personnel, these data were brought into the second Markov chain model for simulation and prediction, and the predicted value of the actual number of risky logistics orders was obtained through simulation.
[0041] S205. The specific number of high-quality transport personnel and the specific number of general transport personnel are brought into the second Markov chain model, and the actual number of risky logistics orders is obtained through simulation and prediction by the second Markov chain model. The number of third transport personnel is determined according to the actual number of risky logistics orders, and the required additional cost is determined according to the number of third personnel.
[0042] Specifically, based on the predicted number of risk logistics orders, the company determined the number of third-party transportation personnel required and calculated the additional costs required, including staff salaries, training costs, etc.
[0043] Through the method provided in this embodiment, more realistic predicted logistics data can be obtained, so that the enterprise can further optimize future plans, reduce operating costs, and optimize the configuration of transportation personnel. This method brings significant economic and social benefits to the enterprise.
[0044] In some embodiments, the logistics database includes: preset logistics lost data and preset logistics time abnormal data; the number of abnormal logistics data includes: the number of lost logistics information and the number of time abnormal logistics information; the number of general logistics data includes: the number of other logistics data except abnormal logistics data in a number of historical logistics data in the first time period; comparing a number of logistics information with the preset logistics lost data, if the logistics information meets the preset logistics lost data, it is determined as lost logistics information, and the number of lost logistics information is recorded; comparing a number of logistics information with the preset logistics time abnormal data, if the logistics information meets the preset logistics time abnormal data, it is determined as time abnormal logistics information, and the number of time abnormal logistics information is recorded; Among them, the preset logistics loss data is: the preset logistics loss data refers to a threshold or standard for logistics loss (such as loss or damage of goods) that is pre-set during the logistics process based on historical data and industry experience.
[0045] Among them, the preset logistics time abnormal data is: the preset logistics time abnormal data refers to a threshold or standard about logistics time (such as delivery time, transportation time, etc.) that is pre-set in the logistics process based on historical data and industry experience.
[0046] Specifically, compare lost logistics data: compare each piece of logistics information with the preset lost logistics data one by one. The "lost" here may include the loss, damage or untraceability of goods during transportation. If a piece of logistics information meets the preset loss criteria, mark it as lost logistics information and record its quantity; Compare time-abnormal logistics data: Compare logistics information with preset logistics time-abnormal data. Time anomalies may include delayed delivery, premature delivery, or delivery during non-working hours. Similarly, if a piece of logistics information meets the time anomaly criteria, mark it as time-abnormal logistics information and record its quantity; Through these two steps, we obtain some abnormal logistics data and some general logistics data. The abnormal logistics data include the number of lost logistics information and the number of time-abnormal logistics information, while the general logistics data are other normal logistics data except these abnormal data.
[0047] Subsequent analysis of these historical data can be carried out to identify potential problems in the logistics process. For example, if the amount of lost logistics information is found to have increased significantly in a certain area or within a certain time period, it can be inferred that there may be problems in the distribution link in that area, which requires further investigation and optimization. Similarly, if the amount of abnormal logistics information at a certain time is large, the cause can be analyzed and corresponding measures can be taken to reduce the occurrence of such abnormal situations. In addition, these historical data can provide data support for subsequent judgments on the capabilities of transportation personnel.
[0048] Through the solution provided in this embodiment, not only can problems in the logistics process be discovered and handled in a timely manner, but future logistics data can also be predicted, providing strong support for the company's decision-making.
[0049] In some embodiments, the historical transportation data includes: historical lost data and historical timeout data; the preset transportation database includes: a preset lost data threshold and a preset timeout threshold; a number of the historical lost data are compared with the preset lost data threshold, if the historical lost data is less than the preset lost data threshold, a first transportation mark is generated and attached to the historical transportation data of the transportation personnel; a number of the historical timeout data are compared with the preset timeout threshold, if the historical timeout data is less than the preset timeout threshold, a second transportation mark is generated and attached to the historical transportation data of the transportation personnel; if the transportation personnel If the historical transportation data contains both the first transportation mark and the second transportation mark, high-quality transportation information is generated, and the transportation personnel is determined to be the high-quality transportation personnel through the high-quality transportation information, and a number of the high-quality transportation personnel data are obtained. According to the number of the high-quality transportation personnel data, the first quantity information is obtained; if the historical transportation data of the transportation personnel does not contain both the first transportation mark and the second transportation mark, general transportation information is generated, and the transportation personnel is determined to be the general transportation personnel through the general transportation information, and a number of the general transportation personnel data are obtained. According to the number of the general transportation personnel data, the second quantity information is determined.
[0050] Among them, historical timeout data refers to the data of transportation tasks or distribution tasks that were completed beyond the scheduled time during the previous logistics transportation process. These data include the type of overtime task, overtime time, reason for overtime, transportation personnel or vehicles involved, and other information.
[0051] Among them, historical lost data refers to the record data of goods lost or damaged in the previous logistics transportation process. These data include the type, quantity, time of loss, location of loss, transportation personnel and other related information of the lost goods.
[0052] The preset loss data threshold is: a specific value or percentage, which represents the maximum loss rate or loss quantity allowed during the transportation process.
[0053] Among them, the preset timeout threshold is: a time limit used to measure whether the transportation task is completed on time, which is a reasonable time range calculated based on a specific transportation distance or condition.
[0054] Among them, the first transport mark is: This mark means that the transporter has performed well in terms of cargo loss, which is below the preset threshold, and is therefore regarded as having achieved a high standard in loss control.
[0055] Among them, the second transportation mark is: This mark means that the transportation personnel has performed well in on-time delivery, which is below the preset threshold and is therefore regarded as meeting a high standard in terms of timeliness.
[0056] Specifically, the historical loss data of each transport personnel is compared with a preset loss data threshold. If the historical loss data of a transport personnel is less than or equal to the preset loss data threshold, a first transport mark (eg, "low loss mark") is generated in the historical transport data.
[0057] Compare historical timeout data: compare the historical timeout data of each transport personnel with the preset timeout threshold. If the historical timeout data of the transport personnel is less than or equal to the preset timeout threshold, a second transport mark (such as "on time mark") is generated in the historical transport data.
[0058] Determine high-quality transport personnel: If a transport personnel's historical transport data has both a "low loss mark" and an "on-time mark", the transport personnel is considered to be a high-quality transport personnel, and a high-quality transport information is generated, the information of all high-quality transport personnel is recorded, and their number is counted as the first quantity information.
[0059] Determine general transportation personnel: If a transportation personnel's historical transportation data does not have at least one of the "low loss mark" and the "on time mark", the transportation personnel is considered to be a general transportation personnel, and a general transportation information is generated, recording the information of all general transportation personnel, and counting their number as the second quantity information.
[0060] Through the solution provided by this embodiment, through this process, high-quality transportation personnel can be determined based on historical data, and the performance of the entire transportation team can be evaluated based on the number of high-quality transportation personnel and the number of general transportation personnel. This information can provide support for future transportation planning, and can also provide strong support for the company's transportation management and human resource decisions. For example, the company can formulate reward and training plans based on this information to motivate transportation personnel to improve transportation efficiency and service quality.
[0061] In some embodiments, the preset transport personnel information is brought into the first Markov chain model, and the first Markov chain model is used to simulate and predict, to obtain predicted risk logistics order information and predicted general logistics order information, and according to the predicted risk logistics order information, the risk logistics order is allocated to the high-quality transport personnel to obtain the first transport personnel information, and according to the predicted general logistics order information, the general logistics order is allocated to the general transport personnel to obtain the second transport personnel information; The preset transport personnel information is: virtual transport personnel information with the average transport level of the region, which is a standard reference model parameter; Among them, the first transporter information is: the high-quality transporter information with the predicted risk logistics order information attached. Since the predicted risk logistics order has the risk of damage, loss and timeout, when it is attached to the high-quality transporter, the transportation efficiency of the high-quality transporter will be reduced, which more intuitively reflects the actual efficiency of the high-quality transporter in transporting the predicted risk logistics order; Among them, the second transportation personnel information is: general transportation personnel information with predicted general logistics order information attached. Since general risk logistics orders will not have risks such as damage, loss and timeout, when it is attached to general transportation personnel, general transportation personnel may be able to transport it faster, thereby improving transportation efficiency, and can more intuitively reflect the actual efficiency of general transportation personnel in transporting predicted risk logistics orders.
[0062] Specifically, we first set a preset transport personnel information, which represents a virtual transport personnel with the average transport level of the region, and it serves as the standard reference model parameter. Then, this preset transport personnel information is brought into the first Markov chain model for simulation prediction. The Markov chain model is a probability-based prediction method that can predict future status based on historical data. In this scenario, the model will predict the risk level of each logistics order, that is, predict risk logistics order information and predict general logistics order information. After the prediction is completed, the logistics orders are assigned to the corresponding transport personnel according to the prediction results. For the predicted risk logistics order information, it is assigned to the high-quality transport personnel, because these orders have risks such as damage, loss and timeout, and need more experienced transport personnel to handle. At the same time, these predicted risk logistics order information will be attached to the high-quality transport personnel information to form a high-quality transport personnel information with predicted risk logistics order information. Since the predicted risk logistics order may have a negative impact on the transportation efficiency of the high-quality transport personnel, such information combination can more intuitively reflect the actual efficiency of the high-quality transport personnel in handling these orders; The predicted general logistics order information is assigned to general transportation personnel. Since the risks of these orders are lower, general transportation personnel can complete the transportation tasks faster. Similarly, the predicted general logistics order information will be attached to the general transportation personnel information to form general transportation personnel information with attached predicted general logistics order information. This combination of information can reflect the actual efficiency of general transportation personnel in handling these orders.
[0063] Through the solution provided in this embodiment, the risk level of logistics orders can be predicted based on historical data, and transportation personnel can be reasonably allocated based on the prediction results to improve the efficiency and accuracy of logistics transportation, which is of great significance to the operation management and cost control of logistics companies.
[0064] In some embodiments, a number of first transportation personnel information are compared with the first preset transportation efficiency data. If the first transportation personnel information is lower than the first preset transportation efficiency data, it is determined as the third transportation personnel information, and the number of third transportation personnel information is obtained. A number of second transportation personnel information are compared with the second preset transportation efficiency data. If the second transportation personnel information is higher than the second preset transportation efficiency data, it is determined as the fourth transportation personnel information, and the number of fourth transportation personnel information is obtained; the number of first transportation personnel information is obtained, and it is integrated with the number of fourth transportation personnel information to obtain the specific number of high-quality transportation personnel; the number of second transportation personnel information is obtained, and it is integrated with the number of third transportation personnel information to obtain the specific number of general transportation personnel.
[0065] Among them, the third transportation personnel refer to those transportation personnel whose actual transportation efficiency is lower than the preset transportation efficiency standard when processing predicted risk logistics orders. These transportation personnel fail to achieve the expected transportation efficiency or service quality when performing high-risk or specific logistics tasks.
[0066] Among them, the fourth transportation personnel are: the fourth transportation personnel refers to the transportation personnel whose actual transportation efficiency exceeds the preset transportation efficiency standard when processing general logistics orders. These transportation personnel have demonstrated transportation efficiency or service quality that exceeds expectations when performing routine or low-risk logistics tasks.
[0067] Among them, the first preset transportation efficiency data is: the expected transportation efficiency standard set for transportation personnel who handle predicted risk logistics orders. This standard is usually determined based on factors such as company policies, industry standards, historical data or the needs of specific tasks.
[0068] Among them, the second preset transportation efficiency data is: the expected transportation efficiency standard set for transportation personnel handling general logistics orders. Similar to the first preset transportation efficiency data, this standard is also determined based on a series of factors, but is usually adjusted according to the characteristics of routine or low-risk logistics tasks.
[0069] Specifically, firstly, a first preset transportation efficiency data and a second preset transportation efficiency data are defined. These preset data are formulated based on company standards, historical data or industry standards and are used to evaluate the transportation efficiency of transportation personnel. Next, the first transportation personnel information (i.e., high-quality transportation personnel information accompanied by predicted risk logistics order information) is compared with the first preset transportation efficiency data. If the actual transportation efficiency in a certain first transportation personnel information is lower than the first preset transportation efficiency data, it is determined as the third transportation personnel information, that is, the efficiency of the transportation personnel in processing the predicted risk logistics order does not meet the expected standard, and the number of all third transportation personnel information is recorded.
[0070] Then, the second transport personnel information (i.e., the general transport personnel information with the predicted general logistics order information) is compared with the second preset transport efficiency data. If the actual transport efficiency in a certain second transport personnel information is higher than the second preset transport efficiency data, I will determine it as the fourth transport personnel information, that is, the efficiency of the transport personnel in processing the predicted general logistics order exceeds the expected standard. Similarly, the number of all fourth transport personnel information is recorded; Finally, the specific number of high-quality transport personnel and general transport personnel is determined based on these comparison results. The specific steps are as follows: The number of first transport personnel information (i.e., the total number of high-quality transport personnel) is obtained, and it is added to the number of fourth transport personnel information (i.e., the number of high-quality transport personnel who perform well in handling general logistics orders) to obtain the specific number of high-quality transport personnel. This number reflects the total number of high-quality transport personnel who can maintain high transportation efficiency when handling logistics orders of different risk levels.
[0071] The number of second transport personnel information (i.e., the total number of general transport personnel) is obtained, and it is added to the number of third transport personnel information (i.e., the number of general transport personnel who perform poorly when handling risky logistics orders) to obtain the specific number of general transport personnel. This number reflects the total number of general transport personnel with relatively low transportation efficiency when handling logistics orders of different risk levels.
[0072] Through the solution provided in this embodiment, through such an evaluation process, the actual performance of different transportation personnel in the transportation team can be understood more accurately, so that subsequent transportation forecasts are more accurate, and strong data support is provided for the company's transportation management, personnel deployment and performance appraisal. For example, by rewarding the fourth transportation personnel, it is helpful to stimulate the enthusiasm of other personnel.
[0073] In some embodiments, the actual number of risk logistics orders includes: the number of first risk order information, the number of second risk order information, the number of third risk order information and the number of fourth risk order information; a number of abnormal logistics data are brought into a number of specific high-quality transportation personnel data to obtain a number of actual high-quality transportation personnel data, and the number of actual high-quality transportation personnel data are brought into the second Markov chain model, and the first risk order information is obtained by simulation and prediction according to the second Markov chain model. If the number of abnormal logistics data is greater than the number of specific high-quality transportation personnel data, a quantity difference is formed, and the second risk order information is determined based on the quantity difference; a number of general logistics data are brought into a number of specific general transportation personnel data to obtain a number of actual general transportation personnel data, and the number of actual general transportation personnel data are brought into the second Markov chain model, and the third risk order information is obtained by simulation and prediction according to the second Markov chain model. If the number of general logistics data is greater than the number of specific general transportation personnel data, a quantity difference is formed, and the fourth risk order information is determined based on the quantity difference.
[0074] Among them, the number of first-risk order information is: the number of orders that still have risks of loss and timeout after being transported by specific high-quality transportation personnel.
[0075] Among them, the number of second risk order information is: indicating a part of abnormal logistics orders that cannot be processed in time due to insufficient high-quality transportation personnel.
[0076] Among them, the third risk order information is: the number of orders that are transported by specific general transport personnel and have risks such as loss and timeout.
[0077] Among them, the fourth risk order information is: it indicates that some abnormal logistics orders cannot be processed in time due to insufficient general transportation personnel.
[0078] Specifically, firstly, the classification of the actual number of risky logistics orders is clarified, including the number of first-risk order information, the number of second-risk order information, the number of third-risk order information, and the number of fourth-risk order information. These classifications are helpful for more refined management of risky logistics orders; After that, the abnormal logistics data are processed. The abnormal logistics data include some logistics information that is beyond the norm and needs special attention. These abnormal logistics data are brought into the specific high-quality transportation personnel data for simulation analysis to obtain the actual high-quality transportation personnel data. These actual high-quality transportation personnel data are then input into the second Markov chain model. Since the Markov chain model has no memory during simulation, it is particularly important to determine the probability of each simulation of the Markov chain model. The specific calculation formula logic of the Markov chain model is: P(Xn+1=x|X1=x1,X2=x2,...,Xn=xn)=P(Xn+1=x|Xn=xn) Among them, Xn+1 and Xn represent two consecutive states in the state sequence, Xn+1 is the next state, and Xn is the current state. The formula represents the probability of the value (x) of the n+1th state (Xn+1) given the first n states (X1, X2, ..., Xn). This probability depends only on the value (x) of the nth state (Xn) and has nothing to do with other states. The actual high-quality transport personnel data that has been repeatedly verified is brought into the second Markov chain model based on the calculation formula logic to adjust the probability of the value (x), so that the conclusion obtained by the second Markov chain model at the end of the simulation calculation is closer to the actual situation; The number of first-risk order information is obtained through model simulation prediction, which means how many high-risk logistics orders are predicted to appear under the processing of high-quality transportation personnel; If the number of abnormal logistics data exceeds the number of specific high-quality transport personnel data, that is, there is a quantity difference, the number of second risk order information will be determined based on this quantity difference. This means that due to the shortage of high-quality transport personnel, some abnormal logistics data may not be processed in time, thereby increasing the risk; Similarly, general logistics data is processed, general logistics data is brought into specific general transport personnel data, simulation analysis is performed, and actual general transport personnel data is obtained. Then these actual general transport personnel data are input into the second Markov chain model, and the third risk order information quantity is obtained through model simulation prediction, which means how many relatively low-risk logistics orders are predicted to appear under the processing of general transport personnel; Similarly, the actual general transportation personnel data that has been repeatedly verified is brought into the second Markov chain model to adjust the probability of the value (x), so that the conclusion obtained by the second Markov chain model at the end of the simulation calculation is closer to the actual situation; If the quantity of general logistics data exceeds the quantity of specific general transportation personnel data, that is, there is a quantity difference, the quantity of the fourth risk order information will be determined based on this quantity difference. This means that due to insufficient general transportation personnel, some general logistics orders may not be completed in time, thereby increasing the risk.
[0079] Through the solution provided in this embodiment, not only can the number of risky logistics orders handled by specific high-quality transportation personnel and general transportation personnel be predicted, but also the number of additional risky orders that may be caused by insufficient transportation personnel can be further predicted based on the quantitative difference between abnormal logistics data and general logistics data. This information has important guiding significance for the risk management, resource allocation and order priority setting of logistics companies.
[0080] In some embodiments, the third number of transportation personnel includes: first additional transportation personnel and second additional transportation personnel; the number of first additional transportation personnel is determined based on the first number of risk order information and the second number of risk order information; the number of second additional transportation personnel is determined based on the third number of risk order information and the fourth number of risk order information.
[0081] Among them, the first additional transportation personnel are: transportation personnel who are additionally deployed to cope with these high-risk logistics orders after predicting the number of first risk order information and the number of second risk order information. These orders have higher risks of loss and timeout, and require more transportation personnel to handle them to ensure that the goods can be delivered safely and on time.
[0082] Among them, the second additional transportation personnel are: transportation personnel who are additionally deployed to cope with these relatively low-risk logistics orders after predicting the number of third-risk order information and the fourth-risk order information. Although the risks of these orders are relatively low, sufficient transportation personnel are also needed to ensure timely processing and completion of the orders.
[0083] Specifically, the composition of the number of third-party transport personnel should be clarified, including first-level additional transport personnel and second-level additional transport personnel. These two types of transport personnel are supplemented for different types of risk logistics orders respectively; The number of first additional transport personnel is determined based on the number of first risk order information and the number of second risk order information. The number of first risk order information is usually related to high-risk logistics orders that need to be handled by high-quality transport personnel, while the number of second risk order information is related to additional risk orders caused by insufficient high-quality transport personnel. The number of first additional transport personnel required is evaluated based on the number and transportation difficulty of these risk orders. These additional transport personnel will be used specifically to handle high-risk logistics orders to ensure that the orders can be delivered on time and safely; Similarly, the number of the second additional transport personnel is determined according to the number of third risk order information and the number of fourth risk order information. The number of third risk order information is related to general risk logistics orders that need to be processed by general transport personnel, while the number of fourth risk order information is related to additional risk orders caused by insufficient general transport personnel. According to the number and transportation difficulty of these risk orders, the number of required second additional transport personnel is evaluated. These additional transport personnel will be used to process general risk logistics orders to reduce the pressure of general transport personnel and ensure that orders can be processed in time. After determining the number of the first additional transport personnel and the second additional transport personnel, further calculate the additional costs incurred by these additional transport personnel, which include recruitment costs, training costs, wage costs, etc. According to the actual situation of the company and market standards, these costs are estimated and included in the logistics cost budget.
[0084] Through the solution provided in this embodiment, through such a process, the number of transportation personnel can be flexibly adjusted according to the number of actual risk logistics orders to ensure the smooth progress of logistics transportation. At the same time, the additional costs incurred by additional transportation personnel can be accurately calculated, providing strong support for the company's planning and management.
[0085] Figure 3 A structural diagram of a flow dynamic prediction system based on a Markov chain is provided in an embodiment of the present application, such as Figure 3 As shown, the traffic dynamic prediction system 300 of this embodiment includes: an information acquisition module 301, an information comparison module 302, a first information adding module 303, an information confirmation module 304 and a second information adding module 305.
[0086] The information acquisition module 301 is used to acquire historical logistics data, establish a logistics database through the historical logistics data, compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results; An information comparison module 302 is used to obtain historical transportation data of a number of transportation personnel in a first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison result; The first information adding module 303 is used to bring some preset transport personnel information into the first Markov chain model, and obtain some first transport personnel information and some second transport personnel information through the first Markov chain model simulation; The information confirmation module 304 is used to compare the first transport personnel information with the first preset transport efficiency data to obtain the third transport personnel information, compare the second transport personnel information with the second preset transport efficiency data to obtain the fourth transport personnel information, and obtain the specific number of high-quality transport personnel and the specific number of general transport personnel according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information; The second information adding module 305 is used to bring the specific number of high-quality transportation personnel and the specific number of general transportation personnel into the second Markov chain model, simulate and predict the actual number of risk logistics orders through the second Markov chain model, determine the number of third transportation personnel based on the actual number of risk logistics orders, and determine the required additional cost based on the number of third personnel.
[0087] Optionally, the information acquisition module 301 is specifically used to compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results, including: The logistics database includes: preset logistics loss data and preset logistics time abnormal data; The number of abnormal logistics data includes: the number of lost logistics information and the number of time-abnormal logistics information; The number of general logistics data includes: the number of other logistics data except abnormal logistics data in a number of historical logistics data in the first time period; Compare some logistics information with the preset logistics loss data. If the logistics information meets the preset logistics loss data, it will be determined as lost logistics information, and the number of lost logistics information will be recorded; Compare some logistics information with preset logistics time abnormal data. If the logistics information meets the preset logistics time abnormal data, determine it as time abnormal logistics information, and record the number of time abnormal logistics information; Optionally, the information comparison module 302 is specifically used to: obtain historical transportation data of a number of transportation personnel in the first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison results, including: Among them, historical transportation data includes: historical lost data and historical overtime data; The preset transport database includes: a preset lost data threshold and a preset timeout threshold; Comparing a number of historical lost data with a preset lost data threshold, if the historical lost data is less than the preset lost data threshold, generating a first transport mark and attaching it to the historical transport data of the transport personnel; Comparing the historical timeout data with a preset timeout threshold, if the historical timeout data is less than the preset timeout threshold, generating a second transport mark and attaching it to the historical transport data of the transport personnel; If the transport personnel's historical transport data has both the first transport mark and the second transport mark, high-quality transport information is generated, and the transport personnel is determined to be a high-quality transport personnel through the high-quality transport information. Acquire a number of high-quality transport personnel data, and obtain first quantity information according to the number of the high-quality transport personnel data; If the transport personnel's historical transport data does not have both the first transport mark and the second transport mark, then general transport information is generated, and the transport personnel is determined to be a general transport personnel through the general transport information. Acquire some general transportation personnel data, and determine the second quantity information according to the quantity of the general transportation personnel data.
[0088] Optionally, the first information adding module 303 is specifically used to: bring some preset transport personnel information into the first Markov chain model, and obtain some first transport personnel information and some second transport personnel information through the first Markov chain model simulation, including: The preset transportation personnel information is brought into the first Markov chain model, and the predicted risk logistics order information and the predicted general logistics order information are obtained through simulation and prediction by the first Markov chain model. According to the predicted risk logistics order information, the risk logistics order is assigned to the high-quality transportation personnel to obtain the first transportation personnel information. According to the predicted general logistics order information, the general logistics order is assigned to the general transportation personnel to obtain the second transportation personnel information.
[0089] Optionally, the information confirmation module 304 is specifically used to: compare the first transport personnel information with the first preset transport efficiency data to obtain the third transport personnel information, compare the second transport personnel information with the second preset transport efficiency data to obtain the fourth transport personnel information, and obtain the specific number of high-quality transport personnel and the specific number of general transport personnel according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information, including: Compare a number of first transport personnel information with the first preset transport efficiency data, if the first transport personnel information is lower than the first preset transport efficiency data, determine it as the third transport personnel information, obtain the number of the third transport personnel information, Comparing a number of second transport personnel information with the second preset transport efficiency data, if the second transport personnel information is higher than the second preset transport efficiency data, determining it as the fourth transport personnel information, and obtaining the number of the fourth transport personnel information; The number of first transport personnel information is obtained, and the first transport personnel information is integrated with the number of fourth transport personnel information to obtain the number of specific high-quality transport personnel; The second transport personnel information quantity is obtained, and it is integrated with the third transport personnel information quantity to obtain the specific general transport personnel quantity.
[0090] Optionally, the second information adding module 305 is specifically used to: bring the specific number of high-quality transport personnel and the specific number of general transport personnel into the second Markov chain model, and obtain the actual number of risk logistics orders through simulation and prediction by the second Markov chain model, and also includes: The actual number of risky logistics orders includes: the number of first-risk order information, the number of second-risk order information, the number of third-risk order information, and the number of fourth-risk order information; Bring some abnormal logistics data into some specific high-quality transport personnel data to obtain some actual high-quality transport personnel data, bring some actual high-quality transport personnel data into the second Markov chain model, and simulate and predict the first risk order information quantity according to the second Markov chain model. If the number of abnormal logistics data is greater than the number of specific high-quality transport personnel data, a quantity difference is formed, and the number of second risk order information is determined based on the quantity difference; Substitute some general logistics data into some specific general transport personnel data to obtain some actual general transport personnel data. Substitute some actual general transport personnel data into the second Markov chain model, and simulate and predict the third risk order information quantity according to the second Markov chain model. If the quantity of general logistics data is greater than the quantity of specific general transportation personnel data, a quantity difference is formed, and the quantity of the fourth risk order information is determined based on the quantity difference.
[0091] Optionally, the second information adding module 305 is specifically used to: determine the number of third transport personnel according to the actual number of risk logistics orders, and determine the required additional cost according to the number of third personnel, including: The third number of transport personnel includes: the first additional transport personnel and the second additional transport personnel; Determine the number of first additional transport personnel according to the number of first risk order information and the number of second risk order information; The number of the second additional transportation personnel is determined based on the number of third risk order information and the number of fourth risk order information.
[0092] The traffic dynamic prediction system of this embodiment can be used to execute the method of any of the above embodiments. Its implementation principles and technical effects are similar and will not be repeated here.
Claims
1. A method for dynamic flow prediction based on Markov chain, characterized in that: The prediction method is applicable to a Markov chain model, the Markov chain model includes a first Markov chain model and a second Markov chain model. The traffic dynamic prediction method is applied to a server, including: Acquire historical logistics data, establish a logistics database through the historical logistics data, compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results; Acquire historical transportation data of a number of transportation personnel in the first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison result; Bringing some preset transport personnel information into the first Markov chain model, and obtaining some first transport personnel information and some second transport personnel information through simulation of the first Markov chain model; The first transport personnel information is compared with the first preset transport efficiency data to obtain the third transport personnel information, the second transport personnel information is compared with the second preset transport efficiency data to obtain the fourth transport personnel information, and the specific number of high-quality transport personnel and the specific number of general transport personnel are obtained according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information; The specific number of high-quality transportation personnel and the specific number of general transportation personnel are brought into the second Markov chain model, and the actual number of risky logistics orders is obtained through simulation and prediction by the second Markov chain model. The number of third transportation personnel is determined based on the actual number of risky logistics orders, and the required additional cost is determined based on the number of third personnel.
2. The method according to claim 1, characterized in that The plurality of historical logistics data in the first time period are compared with the logistics database, and a plurality of abnormal logistics data and a plurality of general logistics data are obtained through the comparison results. include: Wherein, the logistics database includes: preset logistics loss data and preset logistics time abnormality data; The number of abnormal logistics data includes: the number of lost logistics information and the number of time abnormal logistics information; The general logistics data quantity includes: the quantity of other logistics data except abnormal logistics data in the historical logistics data of the first time period; Compare the logistics information with the preset logistics loss data. If the logistics information meets the preset logistics loss data, determine it as lost logistics information and record the number of lost logistics information; Compare some of the logistics information with the preset logistics time abnormality data. If the logistics information meets the preset logistics time abnormality data, it is determined as time abnormality logistics information, and the number of the time abnormality logistics information is recorded.
3. The method according to claim 2, characterized in that The historical transportation data of a number of transportation personnel in the first time period are obtained, and the historical transportation data are compared with a preset transportation database, and information of a number of high-quality transportation personnel and information of a number of general transportation personnel are obtained according to the comparison result. include: The historical transportation data includes: historical lost data and historical timeout data; Wherein, the preset transport database includes: a preset missing data threshold and a preset timeout threshold; Comparing the historical lost data with the preset lost data threshold, if the historical lost data is less than the preset lost data threshold, generating a first transport mark and attaching it to the historical transport data of the transport personnel; Comparing the historical timeout data with the preset timeout threshold, if the historical timeout data is less than the preset timeout threshold, generating a second transport mark and attaching it to the historical transport data of the transport personnel; If the transport personnel's historical transport data has both the first transport mark and the second transport mark, high-quality transport information is generated, and the transport personnel is determined to be the high-quality transport personnel through the high-quality transport information. Acquire a number of the high-quality transport personnel data, and obtain first quantity information according to the number of the high-quality transport personnel data; If the historical transportation data of the transportation personnel do not have both the first transportation mark and the second transportation mark, general transportation information is generated, and the transportation personnel is determined to be the general transportation personnel through the general transportation information, Acquire a number of the general transportation personnel data, and determine the second quantity information according to the number of the general transportation personnel data.
4. The method according to claim 3, characterized in that The step of bringing the preset transport personnel information into the first Markov chain model and simulating the first Markov chain model to obtain the first transport personnel information and the second transport personnel information includes: The preset transportation personnel information is brought into the first Markov chain model, and simulation and prediction are performed through the first Markov chain model to obtain predicted risk logistics order information and predicted general logistics order information; based on the predicted risk logistics order information, the risk logistics order is assigned to the high-quality transportation personnel to obtain the first transportation personnel information; based on the predicted general logistics order information, the general logistics order is assigned to the general transportation personnel to obtain the second transportation personnel information.
5. The method according to claim 4, characterized in that The first transport personnel information is compared with the first preset transport efficiency data to obtain the third transport personnel information, the second transport personnel information is compared with the second preset transport efficiency data to obtain the fourth transport personnel information, and the specific number of high-quality transport personnel and the specific number of general transport personnel are obtained according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information, including: Compare the first transport personnel information with the first preset transport efficiency data, if the first transport personnel information is lower than the first preset transport efficiency data, determine it as the third transport personnel information, and obtain the number of the third transport personnel information, Comparing a number of the second transport personnel information with the second preset transport efficiency data, if the second transport personnel information is higher than the second preset transport efficiency data, determining it as the fourth transport personnel information, and obtaining the number of the fourth transport personnel information; Obtaining the number of the first transport personnel information, and integrating it with the number of the fourth transport personnel information to obtain the number of the specific high-quality transport personnel; The second transport personnel information quantity is obtained, and it is integrated with the third transport personnel information quantity to obtain the specific general transport personnel quantity.
6. The method according to claim 5, characterized in that The specific number of high-quality transport personnel and the specific number of general transport personnel are brought into the second Markov chain model, and the actual number of risk logistics orders is obtained through simulation and prediction by the second Markov chain model. include: The actual number of risky logistics orders includes: the number of first-risk order information, the number of second-risk order information, the number of third-risk order information, and the number of fourth-risk order information; Bringing some of the abnormal logistics data into some of the specific high-quality transport personnel data to obtain some actual high-quality transport personnel data, bringing some of the actual high-quality transport personnel data into the second Markov chain model, and simulating and predicting according to the second Markov chain model to obtain the first risk order information quantity, If the number of abnormal logistics data is greater than the number of specific high-quality transport personnel data, a quantity difference is formed, and the number of second risky order information is determined according to the quantity difference; Substitute some of the general logistics data into some of the specific general transport personnel data to obtain some actual general transport personnel data, substitute some of the actual general transport personnel data into the second Markov chain model, and simulate and predict the number of third risk order information according to the second Markov chain model. If the quantity of the general logistics data is greater than the quantity of the specific general transport personnel data, a quantity difference is formed, and the quantity of the fourth risk order information is determined based on the quantity difference.
7. The method according to claim 6, characterized in that The number of third transport personnel is determined according to the actual number of risk logistics orders, and the required additional costs are determined according to the number of third transport personnel. include: Wherein, the third number of transport personnel includes: first additional transport personnel and second additional transport personnel; Determining the number of the first additional transport personnel according to the number of the first risk order information and the number of the second risk order information; The number of the second additional transport personnel is determined based on the number of the third risk order information and the number of the fourth risk order information.
8. A flow dynamic prediction system based on Markov chain, characterized in that: include: An information acquisition module, used to acquire historical logistics data, establish a logistics database through the historical logistics data, compare a number of historical logistics data in the first time period with the logistics database, and obtain a number of abnormal logistics data and a number of general logistics data through the comparison results; An information comparison module, used to obtain historical transportation data of a number of transportation personnel in the first time period, compare the historical transportation data with a preset transportation database, and obtain information of a number of high-quality transportation personnel and information of a number of general transportation personnel according to the comparison result; A first information adding module is used to bring a number of preset transport personnel information into the first Markov chain model, and obtain a number of first transport personnel information and a number of second transport personnel information through simulation of the first Markov chain model; an information confirmation module, used for comparing the first transport personnel information with the first preset transport efficiency data to obtain the third transport personnel information, comparing the second transport personnel information with the second preset transport efficiency data to obtain the fourth transport personnel information, and obtaining the specific number of high-quality transport personnel and the specific number of general transport personnel according to the first transport personnel information, the second transport personnel information, the third transport personnel information and the fourth transport personnel information; The second information adding module is used to bring the specific number of high-quality transportation personnel and the specific number of general transportation personnel into the second Markov chain model, simulate and predict the actual number of risk logistics orders through the second Markov chain model, determine the number of third transportation personnel based on the actual number of risk logistics orders, and determine the required additional cost based on the number of third personnel.
Citation Information
Patent Citations
Dispatching system and dispatching method
CN112668819A
Supply chain network risk propagation assessment method based on Markov process
CN115983623A
Risk assessment method and device, model training method and device, medium and equipment
CN116797343A
Dump truck transportation management automation system and the method
KR102581676B1