Intelligent scheduling method and system for blood donors

By combining historical blood donation data and environmental data, using the blood donation prediction model to generate prediction data, determining the blood donation scheduling plan, and monitoring and allocating resources and personnel in real time on the target day, it solves the shortcomings of manual data collection and analysis in the existing technology and improves efficiency. Accuracy and efficiency of blood donation scheduling.

CN118538380BActive Publication Date: 2025-01-24自贡市中心血站
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410548458.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2025-01-24
Estimated Expiration
2044-05-06

AI Technical Summary

Technical Problem

The existing technology relies on manual data acquisition and analysis, which leads to inaccurate data acquisition, making it difficult to cope with complex and changeable scheduling situations, and it takes a long time, reducing the efficiency of scheduling strategy formulation.

Method used

By obtaining the historical blood donation data of each blood donation point and the environmental data of the target day, enter the pre -blood donation prediction model to generate blood donation prediction data, and determine the blood donation scheduling plan according to the forecast data. Monitor the running data of the blood donation point in real time, determine whether there are emergency events, and deploy resources and personnel.

Benefits of technology

The accuracy and efficiency of blood donation scheduling can be improved, can better cope with complex and changeable dispatch situations, reduce manual intervention, improve the utilization of resources and personnel, and ensure the smooth progress of blood donation activities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538380B_ABST
    Figure CN118538380B_ABST
Patent Text Reader

Abstract

The present application discloses a method and system for intelligent scheduling of blood donors, and the present application belongs to the field of Internet of Things. The method includes: formulating a blood donation scheduling plan for the target day, scheduling each blood donation point according to the blood donation scheduling plan on the target day, monitoring the operating data of each blood donation point in real time, and determining whether there is an emergency; if there is an emergency event for resource allocation, determining the first blood donation point that needs to allocate resources, the type of resources that are missing, and the amount of resources that are missing, formulating a resource allocation plan, and allocating resources to the first blood donation point according to the resource allocation plan. This scheme can more accurately predict the blood donation situation of each blood donation point on the target day by combining historical blood donation data and environmental data, thereby optimizing the blood donation scheduling plan and improving the efficiency of blood donation activities. By monitoring the operating data of each blood donation point in real time, it is possible to respond quickly when an emergency occurs, allocate resources in a timely manner, and ensure the smooth progress of blood donation activities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things technology, and in particular to a method and system for intelligently scheduling blood donors. Background Art

[0002] With the continuous advancement of medical technology, the role of blood in disease treatment, surgical procedures, and emergency rescue has become increasingly prominent. As an irreplaceable medical resource, the stability and adequacy of blood supply are directly related to patient safety and treatment outcomes. Therefore, establishing an effective network of blood donation sites to ensure the timely collection, storage, and supply of blood resources has become an indispensable part of the modern medical system.

[0003] Traditional scheduling methods rely on manual data collection and analysis. Staff manually record information such as the number of blood donors, blood type, and collection time. Based on this data, staff conduct a preliminary analysis of donor flow trends and then develop a scheduling plan for blood donation points, such as adjusting opening hours and staffing.

[0004] However, relying on manual data collection and analysis is limited by the accuracy of data collection and is difficult to cope with complex and changing scheduling situations. In addition, manual data collection and analysis also takes a lot of time, reducing the efficiency of scheduling strategy formulation. Summary of the Invention

[0005] The present application provides an intelligent scheduling method and system for blood donors, which solves the problem that manual data collection and analysis are limited by the accuracy of data collection and are difficult to cope with complex and changeable scheduling situations. Manual data collection and analysis also takes a lot of time, reducing the efficiency of scheduling strategy formulation.

[0006] According to a first aspect of the present application, a method for intelligently scheduling blood donors is provided, the method comprising:

[0007] Obtaining historical blood donation data of each blood donation site and environmental data on the target day, inputting the historical blood donation data and environmental data on the target day into a preset blood donation prediction model to obtain blood donation prediction data of each blood donation site on the target day;

[0008] Determining a blood donation scheduling plan for each blood donation site on a target day based on the blood donation prediction data;

[0009] On the target day, scheduling each blood donation point according to the blood donation scheduling plan, monitoring the operating data of each blood donation point in real time, and determining whether there is an emergency event based on the operating data and the blood donation scheduling plan;

[0010] If there is an emergency event for resource allocation, determining the first blood donation site that needs to allocate resources, the type of resources that are lacking, and the amount of resources that are lacking based on the operation data;

[0011] Obtain the current resource information of each blood donation point, determine the resource allocation plan according to the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources and the amount of missing resources, and allocate resources to the first blood donation point according to the resource allocation plan.

[0012] Furthermore, after determining whether an emergency event exists based on the operating data and the blood donation scheduling plan, the method further includes:

[0013] If there is an emergency event for staff deployment, determining the second blood donation site where staff need to be deployed, the type of staff missing, and the number of staff missing based on the operational data;

[0014] Obtain the current staff information of each blood donation point, determine the staff deployment plan based on the blood donation scheduling plan, the current staff information of each blood donation point, the type of missing staff and the number of missing staff, and deploy personnel to the second blood donation point according to the staff deployment plan.

[0015] Furthermore, a blood donation scheduling plan for each blood donation site on the target day is determined based on the blood donation prediction data, including:

[0016] Determine the resource type and resource quantity required by each blood donation site at each preset time point on the target day based on the blood donation forecast data, and determine the resource scheduling plan for each blood donation site on the target day based on the resource type and resource quantity required at each preset time point;

[0017] Determine the type and number of staff required for each blood donation site at each preset time point on the target day based on the blood donation prediction data, obtain staff information, and determine the target staff that needs to be dispatched to each blood donation site at each preset time point based on the staff information, the staff type, and the staff number;

[0018] Obtaining the location information of each blood donation site and the information of the blood donation sites that require staff scheduling at each preset time point, determining the staff scheduling route for the target day based on the location information and the information of the blood donation sites that require staff scheduling at each preset time point, and determining the staff scheduling time based on the staff scheduling route and the corresponding preset time points;

[0019] Determining a staff scheduling plan for the blood donation site on the target day based on the staff scheduling route, the staff scheduling time, the target staff, and the preset time points;

[0020] The blood donation scheduling plan for each blood donation point on the target day is determined based on the resource scheduling plan and the personnel scheduling plan.

[0021] Furthermore, determining whether an emergency event occurs based on the operating data and the blood donation scheduling plan includes:

[0022] Determine the actual consumption rate of each type of resource at each blood donation site based on the operating data, and determine the predicted consumption rate of each type of resource at each preset time point based on the resource scheduling plan;

[0023] Determine target blood donation sites, target resource types, and target preset time points where the actual consumption rate is greater than the predicted consumption rate;

[0024] Determine the current inventory of the target resource type at the target blood donation site at the target preset time point based on the operation data, and determine the predicted inventory of the target resource type at the target blood donation site at the target preset time point based on the resource scheduling plan;

[0025] Determining whether there is a shortage of target resource types at a target blood donation site at a target preset time point based on the actual consumption rate, the predicted consumption rate, the current inventory level, and the predicted inventory level;

[0026] If there is a situation where demand exceeds supply, it is determined that there is a resource allocation emergency;

[0027] Accordingly, determining the first blood donation site requiring resource allocation, the type of resources lacking, and the amount of resources lacking based on the operational data includes:

[0028] The target blood donation site is regarded as the first blood donation site that needs to allocate resources, and the target resource type is regarded as the type of resource that is lacking;

[0029] The amount of the missing resource is determined according to the actual consumption rate, the predicted consumption rate, the current inventory level, and the predicted inventory level.

[0030] Furthermore, determining whether an emergency event exists based on the operating data and the blood donation scheduling plan further includes:

[0031] The real-time average waiting time of blood donors at each blood donation point in each link is determined based on the operating data. If the average waiting time of blood donors exceeds a preset waiting time threshold, it is determined that a personnel deployment emergency occurs.

[0032] Furthermore, determining the second blood donation site that needs to deploy personnel, the type of missing staff, and the number of missing staff based on the operating data includes:

[0033] The blood donation site where the average waiting time of the blood donors exceeds the preset waiting time threshold is selected as the second blood donation site, and the target link where the average waiting time of the blood donors exceeds the preset waiting time threshold is determined, and the type of staff missing is determined according to the target link;

[0034] The number of staff members in the target link of the second blood donation site and the estimated average service time of a single blood donor are obtained, and the number of missing staff members is determined based on the average service time, the average waiting time and the number of staff members.

[0035] Furthermore, after scheduling each blood donation site according to the blood donation scheduling plan on the target day, the method further includes:

[0036] If an emergency blood request is received, determining the emergency blood location and emergency blood information according to the emergency blood request;

[0037] The location of each blood donation point and the real-time information of each blood donation point are obtained, and the emergency blood use scheduling plan is determined based on the location of each blood donation point, the real-time information of each blood donation point, the emergency blood use location and the emergency blood use information.

[0038] Furthermore, determining an emergency blood use scheduling plan based on the locations of the blood donation points, the real-time information of the blood donation points, the emergency blood use locations, and the emergency blood use information includes:

[0039] Determining a first blood donation point that meets the emergency blood use information requirements based on the real-time information of each blood donation point;

[0040] Obtaining the location of a first blood donation point, and determining a target blood donation point based on the location of the first blood donation point and the emergency blood use location;

[0041] Obtaining the location of a target blood donation point, and determining the shortest driving route between the target blood donation point and the emergency blood use location based on the location of the target blood donation point and the emergency blood use location;

[0042] An emergency blood use scheduling plan is determined based on the shortest driving route and the emergency blood use information.

[0043] According to a second aspect of the present application, there is provided an intelligent scheduling system for blood donors, the system comprising:

[0044] A blood donation data prediction module is used to obtain historical blood donation data of each blood donation site and environmental data of the target day, input the historical blood donation data and environmental data of the target day into a preset blood donation prediction model, and obtain blood donation prediction data of each blood donation site on the target day;

[0045] A blood donation scheduling plan determination module is used to determine the blood donation scheduling plan of each blood donation point on the target day based on the blood donation prediction data;

[0046] An emergency event determination module is used to schedule each blood donation site according to the blood donation scheduling plan on the target day, monitor the operating data of each blood donation site in real time, and determine whether an emergency event exists based on the operating data and the blood donation scheduling plan;

[0047] A resource emergency response module, configured to determine, if a resource allocation emergency occurs, the first blood donation site to which resources need to be allocated, the type of resources lacking, and the amount of resources lacking based on the operation data;

[0048] The resource allocation module is used to obtain the current resource information of each blood donation point, determine the resource allocation plan based on the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources and the amount of missing resources, and allocate resources to the first blood donation point according to the resource allocation plan.

[0049] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the program.

[0050] In an embodiment of the present application, historical blood donation data of each blood donation point and environmental data of the target day are obtained, and the historical blood donation data and environmental data of the target day are input into a preset blood donation prediction model to obtain blood donation prediction data of each blood donation point on the target day; a blood donation scheduling plan for each blood donation point on the target day is determined based on the blood donation prediction data; each blood donation point is scheduled according to the blood donation scheduling plan on the target day, and the operating data of each blood donation point is monitored in real time, and whether there is an emergency event is determined based on the operating data and the blood donation scheduling plan; if there is a resource allocation emergency, the first blood donation point that needs to allocate resources, the type of missing resources, and the amount of missing resources are determined based on the operating data; the current resource information of each blood donation point is obtained, and a resource allocation plan is determined based on the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources, and the amount of missing resources, and resources are allocated to the first blood donation point based on the resource allocation plan. This intelligent blood donor scheduling method combines historical and environmental data to more accurately predict donation activity at each donation site on the target day, optimizing blood donation scheduling and improving the efficiency of blood donation activities. Real-time monitoring of operational data at each donation site enables rapid response to emergencies, timely resource allocation, and ensuring the smooth progress of blood donation activities.

[0051] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are provided for a better understanding of the present invention and do not constitute a limitation of the present application. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:

[0053] Figure 1 This is a flow chart of the intelligent scheduling method for blood donors provided in Example 1 of the present application;

[0054] Figure 2 This is a flow chart of the intelligent scheduling method for blood donors provided in Example 2 of the present application;

[0055] Figure 3 This is a flow chart of the intelligent scheduling method for blood donors provided in Example 3 of the present application;

[0056] Figure 4 This is a schematic diagram of the structure of the intelligent scheduling system for blood donors provided in Example 4 of the present application;

[0057] Figure 5 This is a block diagram of an exemplary electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0058] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0059] In this document, the term "and / or" simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0060] The following describes in detail the intelligent scheduling method for blood donors provided by the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0061] Example 1

[0062] Figure 1 This is a flow chart of the intelligent scheduling method for blood donors provided in Example 1 of this application. Figure 1 As shown, the specific steps include:

[0063] S101, obtaining historical blood donation data of each blood donation site and environmental data of the target day, inputting the historical blood donation data and environmental data of the target day into a preset blood donation prediction model, and obtaining blood donation prediction data of each blood donation site on the target day.

[0064] First of all, the usage scenario of this solution can be to use the blood donation prediction model to predict the blood donation data on the target day based on historical blood donation data and environmental data on the target day, and formulate a blood donation scheduling plan for the target day based on the predicted blood donation data, and schedule each blood donation point on the target day according to the blood donation scheduling plan, and identify whether there is an emergency. If there is an emergency, respond to the emergency according to the corresponding response strategy.

[0065] Based on the above usage scenarios, it can be understood that the executor of this application can be an intelligent scheduling system for blood donation point personnel and resources that integrates the functions of formulating blood donation scheduling plans, scheduling blood donation points, identifying emergency events, and responding to emergency events. No excessive restrictions are made here.

[0066] In this plan, blood donation points can refer to designated locations for people to donate blood. Specifically, these locations can be hospitals, community centers, blood donation vehicles and other facilities to facilitate people to donate blood to meet the blood needs of medical institutions.

[0067] The historical blood donation data may be a record of blood donations collected at various blood donation sites in the past. Specifically, the data may include information such as the date of blood donation, amount of blood donated, age, gender, and blood type of the blood donor.

[0068] The target date can be a specific date that the prediction focuses on, that is, you want to know the blood donation situation that occurs on a specific date.

[0069] Environmental data for the target day refers to relevant environmental information on the target day and the surrounding time. Specifically, this can include weather conditions such as temperature, precipitation, and wind speed, as well as holiday information and special events. These environmental factors may affect people's willingness to donate blood, so their impact on blood donation prediction needs to be considered.

[0070] The preset blood donation prediction model can be a mathematical model used to predict the amount of blood donation in a certain time period in the future based on historical blood donation data and environmental data. Specifically, these models can be constructed based on statistical methods, machine learning algorithms or deep learning technologies, so as to more accurately predict blood donation behavior.

[0071] The blood donation prediction data may be the result obtained through a preset blood donation prediction model, and the number of blood donors, the amount of blood donated, and the corresponding blood types at each blood donation point on the target day are predicted.

[0072] Historical blood donation data for each blood donation site can be queried through the blood donation site management system or the database of a relevant institution. Weather conditions can be obtained through the Meteorological Bureau or related weather forecast services. Other environmental factors can also be obtained by querying public information sources such as holiday information and local event calendars. When training a preset blood donation prediction model, the historical blood donation data and the environmental data for the target day can be converted into features suitable for model input. Specifically, this can include processing the date to extract temporal features such as seasonality and day of the week, encoding or constructing weather features for the weather data, and encoding or extracting relevant features for environmental factors such as holidays. An appropriate blood donation prediction model is then selected for training, using the historical blood donation data as the training set and the environmental data for the target day as feature input. For example, temporal features such as season and day of the week can be added, weather can be encoded (e.g., sunny = 1, cloudy = 2, and rainy = 3), and holidays can be encoded (e.g., if they are holidays = 1 and if they are not holidays = 0). Once model training is complete, the historical blood donation data and the environmental data for the target day can be combined into a complete feature vector. Finally, this feature vector is input into the preset blood donation prediction model to obtain the blood donation prediction data for each blood donation site on the target day.

[0073] S102: Determine a blood donation scheduling plan for each blood donation site on a target day based on the blood donation prediction data.

[0074] Blood donation scheduling refers to determining the specific work arrangements and resource allocation plans for each blood donation site on the target day based on blood donation forecast data to ensure the effective response to the predicted blood donation demand. Specifically, this includes both resource and personnel scheduling. Resource scheduling ensures that blood donation sites have sufficient supplies and equipment, such as blood collection equipment, blood bags, and disinfectants, on the target day. Based on the predicted blood donation volume and the number of donors, these supplies need to be deployed promptly to meet the needs of the blood donation event. If certain blood donation sites predict a high donation volume, the corresponding supply of supplies can be increased. Personnel scheduling involves arranging sufficient staff to ensure the smooth operation of the blood donation event. Specifically, this includes medical staff and volunteers. Based on the predicted number of blood donors and the workload of the blood donation site, the number of staff and working hours need to be appropriately arranged to ensure timely processing of donor registration, blood collection, and follow-up services.

[0075] Based on the blood donation forecast data and the actual situation of the blood donation sites, a blood donation scheduling plan can be developed to clarify resource and personnel needs and determine the workflow and arrangements. Based on the blood donation volume in the blood donation forecast data, supplies and equipment can be deployed in a timely manner to ensure that each blood donation site has sufficient supplies, and the supply of supplies can be increased when needed. Based on the number of blood donors in the blood donation forecast data, the number of staff and working hours can be reasonably arranged. Ensure that each blood donation site has sufficient medical staff and volunteers to handle blood donor registration, blood collection, and follow-up services.

[0076] S103, scheduling each blood donation point according to the blood donation scheduling plan on the target day, monitoring the operating data of each blood donation point in real time, and determining whether there is an emergency event based on the operating data and the blood donation scheduling plan.

[0077] The operational data of each blood donation site may include the number of blood donors and the amount of blood donated; the supplies of the blood donation site, which may include blood collection equipment, blood bags, and disinfectants; the situation of medical staff and volunteers, which may include the number of medical staff and volunteers;

[0078] Emergencies can include resource emergencies, such as when a blood donation site experiences insufficient supplies or equipment failures, impacting the normal operation of blood donations, leading to a temporary suspension or delay of the activity and requiring the urgent deployment of supplies or equipment repairs. Personnel emergencies can also include when a blood donation site is short of medical staff or volunteers to meet the needs of the activity, impacting the activity and requiring the urgent deployment of personnel.

[0079] A data collection system or monitoring platform can be set up to collect the operating data of each blood donation point in real time, and the collected data can be transmitted to the central monitoring center through the network. The received data can be processed and analyzed in the monitoring system. Specifically, data visualization technology can be used to convert the data into intuitive charts and establish rules and logic for emergency event judgment. For example, when the material inventory of a blood donation point is lower than the set threshold, the number of blood donors exceeds the processing capacity of the blood donation point, and the number of medical staff and volunteers is insufficient, an emergency event judgment is triggered.

[0080] Based on the above technical solution, optionally, after determining whether an emergency event exists based on the operating data and the blood donation scheduling plan, the method further includes:

[0081] If there is an emergency event for staff deployment, determining the second blood donation site where staff need to be deployed, the type of staff missing, and the number of staff missing based on the operational data;

[0082] Obtain the current staff information of each blood donation point, determine the staff deployment plan based on the blood donation scheduling plan, the current staff information of each blood donation point, the type of missing staff and the number of missing staff, and deploy personnel to the second blood donation point according to the staff deployment plan.

[0083] In this solution, the second blood donation point may refer to the blood donation point where staff need to be deployed in an emergency event, that is, the blood donation point that lacks staff.

[0084] The types of staff that are missing may include medical staff and volunteers. The number of missing staff is the number of staff of a certain type that are missing at the second blood donation point.

[0085] The personnel status of each blood donation site can be analyzed based on real-time monitoring data to determine whether there is an emergency for staff deployment, that is, whether some blood donation sites lack sufficient staff to meet the current blood donation demand. If so, a second blood donation site that needs to deploy personnel is determined, that is, the blood donation site that lacks staff. Specifically, this can be determined based on the situation that the number of staff at the current blood donation site is insufficient to meet the blood donation demand. Based on the situation at the second blood donation site, the type and number of staff missing are determined. Specifically, it is necessary to take into account the needs of various job positions, make an estimate based on the actual situation and needs, and determine the number of staff missing.

[0086] The current staff information may include the current staff situation of each blood donation site, and specifically, may include the type, number, and distribution of the staff.

[0087] The staff deployment plan may be a plan formulated based on current staff information and blood donation demand to deploy staff to the second blood donation site. The plan determines which blood donation sites need to deploy corresponding staff to the second blood donation site.

[0088] The current staff information of each blood donation point can be collected to determine the type, number and distribution of staff at each blood donation point. The type of staff and the corresponding number of staff expected to be needed at each blood donation point can be determined based on the blood donation scheduling plan. Combined with the actual type, number and distribution of staff at each blood donation point, the blood donation point with relatively sufficient staff can be determined. Then, based on the type and number of missing staff, the blood donation point to be deployed as the second blood donation point can be determined, and written into the personnel deployment plan. The staff to be dispatched can be deployed from the corresponding blood donation point to the second blood donation point by transport vehicles. For example, during the real-time monitoring of blood donation activities, it was found that the number of registered nurses at blood donation point A was insufficient to meet the current blood donation demand, and 2 registered nurses needed to be deployed, while there were 3 registered nurses at blood donation point B. According to the blood donation scheduling plan, it was determined that 2 registered nurses were needed at blood donation point B, and 2 registered nurses were needed at blood donation point C. According to the blood donation scheduling plan, it was determined that 1 registered nurse was needed at blood donation point C. Therefore, 1 registered nurse was deployed from blood donation point B to blood donation point A, and 1 registered nurse was deployed from blood donation point C to blood donation point A.

[0089] In this plan, according to the blood donation scheduling plan and actual needs, the staff are rationally deployed to maximize the use of existing resources, avoid waste of resources and excessive deployment, and effectively improve the efficiency of blood donation activities, ensuring that blood donation points can operate smoothly.

[0090] Based on the above technical solution, optionally, determining whether an emergency event occurs based on the operating data and the blood donation scheduling plan includes:

[0091] Determine the actual consumption rate of each type of resource at each blood donation site based on the operating data, and determine the predicted consumption rate of each type of resource at each preset time point based on the resource scheduling plan;

[0092] Determine target blood donation sites, target resource types, and target preset time points where the actual consumption rate is greater than the predicted consumption rate;

[0093] Determine the current inventory of the target resource type at the target blood donation site at the target preset time point based on the operation data, and determine the predicted inventory of the target resource type at the target blood donation site at the target preset time point based on the resource scheduling plan;

[0094] Determining whether there is a shortage of target resource types at a target blood donation site at a target preset time point based on the actual consumption rate, the predicted consumption rate, the current inventory level, and the predicted inventory level;

[0095] If there is a situation where demand exceeds supply, it is determined that there is a resource allocation emergency;

[0096] Accordingly, determining the first blood donation site requiring resource allocation, the type of resources lacking, and the amount of resources lacking based on the operational data includes:

[0097] The target blood donation site is regarded as the first blood donation site that needs to allocate resources, and the target resource type is regarded as the type of resource that is lacking;

[0098] The amount of the missing resource is determined according to the actual consumption rate, the predicted consumption rate, the current inventory level, and the predicted inventory level.

[0099] In this solution, the actual consumption rate can refer to the consumption rate of various types of resources at each blood donation point during actual operation. This is based on actual conditions and real-time data statistics, reflecting the actual use of resources.

[0100] The predicted consumption rate may refer to the consumption rate of various types of resources at various blood donation sites at various preset time points, as predicted based on the resource scheduling plan and the preset time points.

[0101] The operating data of each blood donation point can be collected, including the consumption of various types of resources. Specifically, these data can be obtained from the management system of the blood donation point. The collected operating data is then analyzed to calculate the actual consumption rate of various types of resources at each blood donation point. This can be done by counting the consumption of various types of resources within a certain period of time and then converting it into a consumption rate, such as consumption or consumption rate per unit time. Then, based on the resource scheduling plan and the preset time points, the consumption rate of various types of resources at each preset time point on the target day is predicted. Specifically, the first preset time point can be regarded as the starting point, the predicted consumption rate of the starting point is 0, and the required number of resources is also 0. Then, the total duration between the first preset time point and the adjacent second preset time point is calculated, and the required number of various types of resources at the second preset time point is obtained. Then, the following formula is called to calculate the predicted consumption rate:

[0102]

[0103] Here, resource consumption is the difference between the predicted resource consumption at two adjacent preset time points, and total duration is the total duration between the two preset time points. Once the predicted consumption rate is calculated using this formula, the result is used as the predicted consumption rate for the second preset time point, and so on. For example, if the number of blood bags required at the first preset time point is 0, the number of blood bags required at the second preset time point is 60, and the total duration between the two preset time points is 1 hour, then the corresponding predicted consumption rate for the second preset time point could be 60 blood bags per hour, or 1 blood bag per minute.

[0104] If the actual consumption rate is greater than the predicted consumption rate, the corresponding target blood donation site, target resource type, and target preset time point are determined. For example, if the actual consumption rate of blood bags at blood donation site A at 10:00 AM on the target day is greater than the predicted consumption rate, the target blood donation site is blood donation site A, the target resource type is blood bags, and the target preset time point is 10:00 AM on the target day.

[0105] The current inventory can be the actual inventory quantity of the target resource type at the target blood donation site at the target preset time point. This is recorded based on actual conditions and reflects the quantity of resources owned by the target blood donation site at the current moment.

[0106] The forecasted inventory level is the projected inventory quantity of a target resource type at a target blood donation site at a target preset time point, based on the resource scheduling plan. This is determined based on the forecast and scheduling plan, and reflects the expected inventory quantity of the target blood donation site at a specific point in the future.

[0107] The operation data of the target blood donation point can be collected, including information such as the current inventory of the target resource type. Then, the total inventory of the target resource type of the target blood donation point on the target day is determined from the resource scheduling plan, and the sum of the consumption of the target resource type at all preset time points before the target preset time point is determined. The total inventory is subtracted from the sum of the consumption to obtain the predicted inventory of the target resource type at the target preset time point of the target blood donation point. If the current inventory is less than or equal to the predicted inventory, it can be directly determined that there is a resource allocation emergency. If the current inventory is more than the predicted inventory, the total amount of the target resource type of the target blood donation point that is lacking at the target preset time point is determined based on the actual consumption rate and the predicted consumption rate, and the predicted inventory is subtracted from the current inventory. If the calculated result is greater than the total amount lacking, there is no shortage of supply. Otherwise, there is a shortage of supply, and it is determined that there is a resource allocation emergency. For example, if the actual consumption rate of blood bags at the target blood donation point at 10 a.m. is 2 per minute, the predicted consumption rate is 1 per minute, and there is a one-hour interval between each preset time point, then it is determined that the target blood donation point is short of 60 blood bags at 10 a.m. If the predicted inventory at this time is 300 and the actual inventory is 320, then the current inventory cannot replenish 60 blood bags, and it is determined that there is a situation of supply exceeding demand, and it can be further determined that there is an emergency event for resource allocation.

[0108] The amount of resources that need to be replenished can be calculated based on the actual consumption rate and the predicted consumption rate. The amount of resources that can be replenished can be calculated based on the current inventory and the predicted inventory. Finally, the amount of resources that need to be replenished minus the amount of resources that can be replenished can be used to get the amount of resources that are missing.

[0109] In this plan, by predicting and comparing the actual consumption rate and the predicted consumption rate, we can understand in advance the possible resource supply and demand situation of the target blood donation site at a future time point, which helps to take timely adjustment measures to avoid the situation where resource supply exceeds demand.

[0110] Based on the above technical solution, optionally, determining the second blood donation site that needs to deploy personnel, the type of missing staff, and the number of missing staff based on the operating data includes:

[0111] The blood donation site where the average waiting time of the blood donors exceeds the preset waiting time threshold is selected as the second blood donation site, and the target link where the average waiting time of the blood donors exceeds the preset waiting time threshold is determined, and the type of staff missing is determined according to the target link;

[0112] The number of staff members in the target link of the second blood donation site and the estimated average service time of a single blood donor are obtained, and the number of missing staff members is determined based on the average service time, the average waiting time and the number of staff members.

[0113] In this solution, the target link may be a link where the average waiting time of blood donors exceeds a preset waiting time threshold.

[0114] Based on real-time monitoring data, the average waiting time of each link in each blood donation site can be calculated, and blood donation sites with waiting times exceeding a preset threshold can be identified. For blood donation sites identified as having waiting times exceeding the threshold, the specific link that caused the long waiting time is determined, and the link where the average waiting time of blood donors exceeds the preset waiting time threshold is used as the target link. For the identified target link, the type of staff required for that link is analyzed. Specifically, it can be determined based on the nature of the link and the workflow. For example, a nurse or medical technician may be required in the blood donation link, while a consultant or volunteer may be required in the consultation link.

[0115] The number of staff in the target link may refer to the current number of staff in the link.

[0116] The average service time of a single blood donor may refer to the average service time expected for each blood donor in the target link, specifically, it may include the time required for consultation, registration, and blood donation.

[0117] The number of missing staff can be determined using queuing theory based on the average service time, average waiting time, and number of staff. Specifically, the following parameters can be included: Average service time (S), which is the average time required for each staff member to serve a blood donor. Average waiting time (W_avg), which is the average waiting time of blood donors in the target link. The current number of staff (c_current), which is the number of staff currently working in the target link. Average arrival rate (λ), which is the number of blood donors arriving at the blood donation point per unit time. The current service rate is then calculated using the following formula:

[0118] μ=1 / S

[0119] The service rate (μ) can be the number of blood donors that a single staff member can serve per unit time.

[0120] Then use the following formula to calculate the current total service rate (μ_total):

[0121] μ_total=c_current*μ

[0122] Use the queuing theory model and the known average waiting time W_avg to evaluate the performance of the existing system. Specifically, this can include solving the equations in the queuing model to find the service intensity ρ that matches W_avg, where ρ = λ / μ_total. Then determine a desired or acceptable maximum average waiting time (W_max), which represents the target service level. Based on W_max and the queuing theory model, invert the total service rate (μ_required) required to meet this waiting time. Specifically, this can include using iterative or numerical methods. Once μ_required is known, the required number of workers (c_required) can be calculated. Since μ = 1 / S, and μ_required = c_required*μ, it can be solved that c_required = μ_required / μ. Finally, the number of missing workers is c_required minus c_current.

[0123] In this plan, by determining the number of missing staff, sufficient human resources can be deployed to where they are needed in a timely manner to meet actual needs, thereby reducing the waiting time of blood donors and improving service efficiency and quality.

[0124] Based on the above technical solution, optionally, after scheduling each blood donation site according to the blood donation scheduling plan on the target day, the method further includes:

[0125] If an emergency blood request is received, determining the emergency blood location and emergency blood information according to the emergency blood request;

[0126] The location of each blood donation point and the real-time information of each blood donation point are obtained, and the emergency blood use scheduling plan is determined based on the location of each blood donation point, the real-time information of each blood donation point, the emergency blood use location and the emergency blood use information.

[0127] In this solution, an emergency blood request may refer to a request from a hospital or other medical institution for urgent blood supply. The emergency blood request information may include the blood type and amount of blood required for the emergency blood supply.

[0128] The real-time information of each blood donation site may include the current available blood inventory at each blood donation site and the corresponding blood type information.

[0129] The emergency blood dispatch plan can be a plan that determines how to allocate resources and blood to meet the emergency blood demand as quickly as possible based on the location and blood usage information of the emergency blood request, as well as the location and real-time information of each blood donation point. Specifically, it can include information such as the blood donation point where blood needs to be drawn, the amount of blood to be drawn, and the corresponding blood type.

[0130] When an emergency blood request is received, the emergency blood location and emergency blood information can be obtained. The location information and real-time information of each blood donation point are obtained. Specifically, it can be obtained through the database or monitoring system of the blood donation center. Based on the emergency blood information and the real-time information of each blood donation point, the blood donation point that meets the blood volume and blood type requirements is determined. Then, based on the emergency blood location and the location information of the blood donation point that meets the requirements, the blood donation point that meets the requirements closest to the emergency blood location is determined. Specifically, this can be achieved by calculating the distance or using a geographic information system. The blood donation point, emergency blood location and emergency blood information are written into the emergency blood scheduling plan.

[0131] In this solution, based on the emergency blood request and blood donation point information, the best blood donation point can be quickly determined to ensure that the emergency blood request can be responded to in a timely manner.

[0132] On the basis of the above technical solution, optionally, determining an emergency blood use scheduling plan according to the locations of the blood donation points, the real-time information of the blood donation points, the emergency blood use locations, and the emergency blood use information includes:

[0133] Determining a first blood donation point that meets the emergency blood use information requirements based on the real-time information of each blood donation point;

[0134] Obtaining the location of a first blood donation point, and determining a target blood donation point based on the location of the first blood donation point and the emergency blood use location;

[0135] Obtaining the location of a target blood donation point, and determining the shortest driving route between the target blood donation point and the emergency blood use location based on the location of the target blood donation point and the emergency blood use location;

[0136] An emergency blood use scheduling plan is determined based on the shortest driving route and the emergency blood use information.

[0137] In this solution, the first blood collection and donation point may be a collection of all blood donation points that can meet the emergency blood use information requirements.

[0138] The target blood collection and donation point may be the final selected blood donation point determined based on the location of the first blood collection and donation point and the emergency blood use location, and is used to provide urgently needed blood supply. Specifically, it may be the blood donation point closest to the emergency blood use location.

[0139] The shortest driving route may refer to the shortest path from a target blood donation point to an emergency blood use location.

[0140] The required blood donation volume and corresponding blood type can be determined based on the emergency blood donation information. Then, all eligible blood donation points are screened based on the blood donation volume and corresponding blood type, and these points are selected as the first blood donation point. From these first blood donation points, the point closest to the emergency blood donation location is selected as the target blood donation point. Map data and route planning algorithms are used to determine the shortest driving route between the target blood donation point and the emergency blood donation location. Finally, an emergency blood donation dispatch plan is developed based on the shortest driving route and the emergency blood donation information to ensure timely delivery of blood to the emergency blood donation location.

[0141] In this plan, by determining the target blood collection and donation points and the shortest driving routes, transportation time can be reduced and emergency response capabilities can be improved.

[0142] S104: If there is an emergency event for resource allocation, the first blood donation site that needs to allocate resources, the type of resources that are lacking, and the amount of the resources that are lacking are determined based on the operation data.

[0143] The first blood donation point may refer to the blood donation point that first needs to allocate resources among all blood donation points, and the type and quantity of lacking resources may refer to the type and quantity of materials that the blood donation point lacks.

[0144] The collected operational data can be analyzed to determine which blood donation site requires priority resource allocation. Specifically, factors such as the lowest inventory levels and the highest number of blood donors can be considered. Based on the analysis results, the first blood donation site to be allocated resources is determined. Once the first blood donation site is identified, the types and quantities of resources it is lacking can be determined by comparing actual inventory levels with demand. For example, during real-time monitoring of blood donation activities, it was discovered that blood donation site A had low inventory levels, while it was predicted to have high demand for future blood donations. Therefore, blood donation site A is identified as the first blood donation site to require resource allocation. The types of resources lacking may include blood collection equipment, blood bags, and disinfectants. Analysis of real-time monitoring data revealed that blood donation site A was short of 10 sets of blood collection equipment, 50 blood bags, and 5 bottles of disinfectants. Therefore, these resources need to be allocated to ensure the normal operation of blood donation site A.

[0145] S105, obtaining the current resource information of each blood donation site, determining a resource allocation plan according to the blood donation scheduling plan, the current resource information of each blood donation site, the type of missing resources and the amount of missing resources, and allocating resources to the first blood donation site according to the resource allocation plan.

[0146] The current resource information of each blood donation site may refer to the current inventory status of materials at each blood donation site, and specifically, may include the inventory status of blood collection equipment, blood bags, and disinfectants.

[0147] The resource allocation plan can be to determine which resources need to be allocated from which blood donation points and transported to the first blood donation point, as well as the allocated quantities.

[0148] Current inventory information can be obtained from each blood donation site. The blood donation scheduling plan can be used to determine the material needs of each site. Based on each site's current resource information and predicted material needs, sites with sufficient inventory can be identified. Based on the types and quantities of missing resources, the system can determine which sites need to be allocated resources to meet the demand. The corresponding blood donation sites, resource types, and resource quantities are then added to the resource allocation plan. Based on the resource allocation plan, the identified resources are allocated from the corresponding blood donation sites to the first blood donation site, and logistics personnel are dispatched to transport and distribute the materials. For example, based on the blood donation scheduling plan and real-time monitoring data, it can be determined that blood donation site A needs to allocate resources and is short of 50 blood collection instruments, 40 blood bags, and 60 disinfectants. According to the blood donation scheduling plan, blood donation point B planned to need 30 blood collection instruments, 20 blood bags and 40 disinfectants, but actually had 60 blood collection instruments, 40 blood bags and 80 disinfectants; blood donation point C planned to need 30 blood collection instruments, 20 blood bags and 40 disinfectants, but actually had 50 blood collection instruments, 40 blood bags and 60 disinfectants. Therefore, it was determined that 30 blood collection instruments, 20 blood bags and 40 disinfectants would be taken out from blood donation point B and transported to A, and 20 blood collection instruments, 20 blood bags and 20 disinfectants would be taken out from blood donation point C and transported to A, and this would be written into the resource allocation plan.

[0149] The technical solution provided in this embodiment obtains the historical blood donation data of each blood donation point and the environmental data of the target day, inputs the historical blood donation data and the environmental data of the target day into a preset blood donation prediction model, and obtains the blood donation prediction data of each blood donation point on the target day; determines the blood donation scheduling plan of each blood donation point on the target day based on the blood donation prediction data; schedules each blood donation point according to the blood donation scheduling plan on the target day, monitors the operating data of each blood donation point in real time, and determines whether there is an emergency event based on the operating data and the blood donation scheduling plan; if there is a resource allocation emergency, determines the first blood donation point that needs to allocate resources, the type of missing resources, and the amount of missing resources based on the operating data; obtains the current resource information of each blood donation point, determines the resource allocation plan based on the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources, and the amount of missing resources, and allocates resources to the first blood donation point based on the resource allocation plan. This intelligent blood donor scheduling method combines historical and environmental data to more accurately predict donation activity at each donation site on the target day, optimizing blood donation scheduling and improving the efficiency of blood donation activities. Real-time monitoring of operational data at each donation site enables rapid response to emergencies, timely resource allocation, and ensuring the smooth progress of blood donation activities.

[0150] Example 2

[0151] Figure 2This is a flow chart of the intelligent scheduling method for blood donors provided in Example 2 of this application. Figure 2 As shown, the specific method includes the following steps:

[0152] S201, determining the resource type and resource quantity required by each blood donation site at each preset time point on the target day based on the blood donation prediction data, and determining the resource scheduling plan of each blood donation site on the target day based on the resource type and resource quantity required at each preset time point.

[0153] The preset time point can be a pre-set time point in the blood donation activity, which is used to plan and arrange the blood donation activity. In this solution, starting from 0:00 every day, each hour can be set as a preset time point.

[0154] The types and quantities of resources required are determined based on blood donation forecast data, specifically the projected number of donors, the volume of blood donated, and the scale and demand of the blood donation event. Required resources may include blood collection equipment (devices used to collect blood samples, specifically needles and tubing); blood bags (bags used to store collected blood samples); disinfectants (disinfectants used to disinfect blood donation sites and blood collection equipment); and medical equipment such as blood pressure monitors and thermometers. The quantity of resources can be estimated based on the projected number of donors and the volume of blood donated to ensure that the demand for blood donation events can be met at each preset time point.

[0155] Based on blood donation forecast data, the expected scale and demand for blood donation activities at each preset time point can be analyzed to determine the required resource types and quantities. Based on the resource types and quantities required at each preset time point, a resource scheduling plan can be developed for each blood donation site. Specifically, the required quantities of each resource type at each preset time point can be added together at each blood donation site to obtain the total required quantity of each resource type for the entire target day. This total quantity of each resource type required can then be included in the resource scheduling plan.

[0156] S202, determining the type and number of staff required for each blood donation point at each preset time point on the target day based on the blood donation prediction data, obtaining staff information, and determining the target staff that needs to be dispatched at each blood donation point at each preset time point based on the staff information, the staff type and the staff number.

[0157] The staff information may refer to the staff status of all currently existing staff members, and specifically may include the type and number of staff members.

[0158] The target staff can be the staff who need to be dispatched to each blood donation point at each preset time point, ensuring that each blood donation point has a sufficient number and type of staff at each preset time point to meet the needs of the blood donation activity.

[0159] Based on blood donation forecast data, the type and number of staff required at each donation site at each preset time on the target day can be analyzed. Information on all staff available for the target day can be obtained from a database. Based on the type and number of staff required at each donation site at each preset time on the target day, as well as staff information, the target staff to be dispatched at each preset time can be determined. When determining the target staff, it is necessary to consider the demand for each type of staff at each donation site and the number of staff currently available at each site. If a donation site has an excess of a certain type of staff at a preset time, the excess staff can be dispatched to other donation sites to meet their needs. For example, if donation site A needs two medical staff at 10:00 AM and donation site B needs five medical staff at 10:00 AM, the staff information can be obtained to determine the medical staff required for both donation sites at 10:00 AM. At the next preset time point, it is determined that blood donation point A needs 4 medical staff and blood donation point B needs 3 medical staff. Then the 2 surplus medical staff at blood donation point B can be dispatched to blood donation point A, and so on to obtain the target staff that need to be dispatched at each preset time point.

[0160] S203, obtain the location information of each blood donation point and the information of the blood donation points that need to be dispatched by staff at each preset time point, determine the staff dispatch route of the target day based on the location information and the information of the blood donation points that need to be dispatched by staff at each preset time point, and determine the staff dispatch time based on the staff dispatch route and the corresponding preset time point.

[0161] The location information may refer to the geographical location coordinates of each blood donation point, which is used to determine the distance and relative position relationship between the blood donation points.

[0162] The blood donation site information may include the name, number, and location of the blood donation site.

[0163] The staff dispatching route can be determined based on the location information of each blood donation point and the information of the blood donation points that need to be dispatched, so as to determine the staff dispatching route on the target day. Specifically, it can include determining the best driving route or walking route between each blood donation point.

[0164] Worker scheduling time may include the departure time and arrival time of the workers.

[0165] The location information of each blood donation site can be obtained through map services or relevant geographic information databases. Based on the staff scheduling plan, the blood donation sites that require staff scheduling at each preset time point can be determined. Using the collected location and scheduling information, combined with map services or navigation tools, the staff scheduling route for the target day can be determined. Route planning tools or software can then be used to determine the optimal driving or walking route based on the location and scheduling order of the blood donation sites. Once the staff scheduling route is determined, the travel time along this scheduled route can be calculated. The departure and arrival times can be calculated based on the target preset time points for scheduling, and the departure and arrival times are combined to form the staff scheduling time. For example, if two medical staff members are scheduled from blood donation site A to blood donation site B at 10:00 am on the target day, the staff scheduling route from blood donation site A to blood donation site B can be queried based on the location information obtained for each blood donation site. Then calculate the distance of this route and determine how long it takes to travel on this route. If this route takes 10 minutes, you can determine to depart from blood donation point A at 9:50 am and arrive at blood donation point B at 10 am, and write the departure time and arrival time into the staff scheduling time. Similarly, determine all preset time points that require staff scheduling, the corresponding staff scheduling routes and staff scheduling times.

[0166] S204: Determine a staff scheduling plan for the blood donation site on the target day based on the staff scheduling route, the staff scheduling time, the target staff, and the preset time points.

[0167] The determined staff scheduling route, staff scheduling time, target staff and preset time point can be written into the staff scheduling plan. Specifically, it can be expressed in the form of preset time point-staff scheduling route-staff scheduling time-target staff.

[0168] S205: Determine the blood donation scheduling plan for each blood donation site on the target day according to the resource scheduling plan and the personnel scheduling plan.

[0169] After the resource scheduling plan and the personnel scheduling plan are determined, the resource scheduling plan and the personnel scheduling plan are combined to form a blood donation scheduling plan for the target day.

[0170] In this embodiment, by rationally arranging the scheduling of resources and personnel, resource utilization can be optimized to the greatest extent, avoiding idle resources and waste, thereby improving efficiency and reducing costs. In addition, resources and personnel can be quickly deployed to ensure the smooth progress of blood donation activities.

[0171] Example 3

[0172] Figure 3This is a flow chart of the intelligent scheduling method for blood donors provided in Example 3 of this application. Figure 3 As shown, the specific method includes the following steps:

[0173] S301, obtaining historical blood donation data of each blood donation site and environmental data of the target day, inputting the historical blood donation data and environmental data of the target day into a preset blood donation prediction model, and obtaining blood donation prediction data of each blood donation site on the target day.

[0174] S302: Determine a blood donation scheduling plan for each blood donation site on a target day based on the blood donation prediction data.

[0175] S303, on the target day, each blood donation point is scheduled according to the blood donation scheduling plan, the operation data of each blood donation point is monitored in real time, and the real-time average waiting time of blood donors at each blood donation point in each link is determined based on the operation data. If the average waiting time of the blood donors exceeds the preset waiting time threshold, it is determined that there is a personnel deployment emergency.

[0176] The real-time average waiting time may be the average waiting time of blood donors in queues at various stages, including the time spent in the queue waiting process until they are able to receive blood donation services.

[0177] The preset waiting time threshold may be a predetermined maximum allowable waiting time for blood donors. If the real-time average waiting time for blood donors exceeds this threshold, it indicates that the waiting time is too long and appropriate measures should be considered to reduce the waiting time and improve service efficiency.

[0178] A staffing emergency event can be triggered when the average waiting time for blood donors exceeds a preset waiting time threshold. In this case, more staff need to be deployed to reduce waiting time and ensure the smooth progress of the blood donation activity.

[0179] A monitoring system or software can be used to monitor real-time operational data for each stage, including the blood donation process, consultation process, and registration process. Information such as each donor's arrival time, time they enter each stage, and time they complete each stage are recorded. For the blood donation process, the waiting time for all donors in that stage prior to the current time can be calculated based on the timestamp of the donor's entry into the stage, and the average is calculated as the real-time average waiting time. For the consultation and registration stages, the waiting time for all donors in those stages prior to the current time can be calculated based on the timestamp of the donor's entry into the stage, and the average is calculated as the real-time average waiting time. For example, at blood donation site A, the entry times for each donor are: Donor A at 09:00; Donor B at 09:05; Donor C at 09:15. The waiting time for these donors in each stage can be calculated, and the average is calculated as the real-time average waiting time. The real-time average waiting time of each link is compared with the preset waiting time threshold. If the real-time average waiting time of each link exceeds the preset waiting time threshold, it is determined that a personnel deployment emergency event exists.

[0180] In this embodiment, timely monitoring of the real-time average waiting time of each link can help management personnel understand the waiting situation of blood donors, so as to take timely measures to shorten the waiting time, improve blood donation efficiency and user experience.

[0181] Example 4

[0182] Figure 4 This is a schematic diagram of the structure of the intelligent scheduling system for blood donors provided in Example 4 of the present application. Figure 4 As shown, specifically including the following:

[0183] The blood donation data prediction module 401 is used to obtain the historical blood donation data of each blood donation site and the environmental data of the target day, input the historical blood donation data and the environmental data of the target day into a preset blood donation prediction model, and obtain the blood donation prediction data of each blood donation site on the target day;

[0184] A blood donation scheduling plan determination module 402 is configured to determine a blood donation scheduling plan for each blood donation site on a target day based on the blood donation prediction data;

[0185] An emergency event determination module 403 is configured to schedule each blood donation site according to the blood donation scheduling plan on the target day, monitor the operating data of each blood donation site in real time, and determine whether an emergency event exists based on the operating data and the blood donation scheduling plan;

[0186] The resource emergency response module 404 is configured to determine, if a resource allocation emergency occurs, the first blood donation site to which resources need to be allocated, the type of resources lacking, and the amount of resources lacking based on the operation data;

[0187] The resource allocation module 405 is used to obtain the current resource information of each blood donation point, determine the resource allocation plan based on the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources and the amount of missing resources, and allocate resources to the first blood donation point according to the resource allocation plan.

[0188] In an embodiment of the present application, a blood donation data prediction module is used to obtain historical blood donation data of each blood donation point and environmental data of the target day, and input the historical blood donation data and environmental data of the target day into a preset blood donation prediction model to obtain blood donation prediction data of each blood donation point on the target day; a blood donation scheduling plan determination module is used to determine the blood donation scheduling plan of each blood donation point on the target day based on the blood donation prediction data; an emergency event determination module is used to schedule each blood donation point according to the blood donation scheduling plan on the target day, monitor the operating data of each blood donation point in real time, and determine whether there is an emergency event based on the operating data and the blood donation scheduling plan; a resource emergency event response module is used to determine the first blood donation point to which resources need to be allocated, the type of missing resources, and the amount of missing resources based on the operating data if a resource allocation emergency event exists; a resource allocation module is used to obtain current resource information of each blood donation point, determine a resource allocation plan based on the blood donation scheduling plan, the current resource information of each blood donation point, the type of missing resources, and the amount of missing resources, and allocate resources to the first blood donation point based on the resource allocation plan. The intelligent blood donor scheduling system described above can more accurately predict donation activity at each donation site on the target day by combining historical donation data with environmental data. This allows for optimized scheduling and improved efficiency. By monitoring the operational data of each donation site in real time, it can respond quickly to emergencies and deploy resources promptly to ensure the smooth progress of blood donation activities.

[0189] Example 5

[0190] Figure 5 A schematic block diagram of an electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0191] The electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a ROM 502 or a computer program loaded from a storage unit 508 into a RAM 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 500. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An I / O interface 505 is also connected to the bus 504.

[0192] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0193] The computing unit 501 can be various general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as the intelligent scheduling method for blood donors. For example, in some embodiments, the intelligent scheduling method for blood donors can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the intelligent scheduling method for blood donors described above can be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the intelligent scheduling method for blood donors in any other appropriate manner (eg, by means of firmware).

[0194] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0195] The above are merely preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, and any obvious changes, readjustments, and substitutions that are apparent to those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application.

[0196] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.

Claims

1. A method for intelligently scheduling blood donors, characterized in that: The method comprises: Obtaining historical blood donation data of each blood donation site and environmental data of the target day, inputting the historical blood donation data and environmental data of the target day into a preset blood donation prediction model, and obtaining blood donation prediction data of each blood donation site on the target day; Determine the blood donation scheduling plan for each blood donation point on the target day according to the blood donation prediction data; On the target day, each blood donation point is scheduled according to the blood donation scheduling plan, the operation data of each blood donation point is monitored in real time, and whether there is an emergency event is determined according to the operation data and the blood donation scheduling plan; If there is an emergency event for resource allocation, determining the first blood donation point that needs to allocate resources, the type of resources that are lacking, and the amount of resources that are lacking based on the operation data; Obtaining current resource information of each blood donation site, determining a resource allocation plan according to the blood donation scheduling plan, the current resource information of each blood donation site, the type of missing resources, and the amount of missing resources, and allocating resources for the first blood donation site according to the resource allocation plan; After determining whether an emergency event exists according to the operation data and the blood donation scheduling plan, the method further includes: If there is an emergency event for staff deployment, determining the second blood donation point where staff need to be deployed, the type of staff missing, and the number of staff missing based on the operation data; Obtaining current staff information of each blood donation site, determining a staff deployment plan according to the blood donation scheduling plan, the current staff information of each blood donation site, the type of missing staff and the number of missing staff, and deploying staff to the second blood donation site according to the staff deployment plan; Determine the blood donation scheduling plan for each blood donation point on the target day based on the blood donation forecast data, including: Determine the resource type and resource quantity required by each blood donation site at each preset time point on the target day according to the blood donation forecast data, and determine the resource scheduling plan for each blood donation site on the target day according to the resource type and resource quantity required at each preset time point; Determine the type and number of staff required for each blood donation site at each preset time point on the target day according to the blood donation prediction data, obtain staff information, and determine the target staff that needs to be dispatched at each blood donation site at each preset time point according to the staff information, the type of staff and the number of staff; Obtaining the location information of each blood donation point and the information of the blood donation points that need to be dispatched by staff at each preset time point, determining the staff dispatch route on the target day based on the location information and the information of the blood donation points that need to be dispatched by staff at each preset time point, and determining the staff dispatch time based on the staff dispatch route and the corresponding preset time point; Determine a staff dispatch plan for the blood donation site on the target day based on the staff dispatch route, the staff dispatch time, the target staff, and the preset time points; Determine the blood donation scheduling plan for each blood donation point on the target day according to the resource scheduling plan and the personnel scheduling plan; Determining whether an emergency event exists according to the operation data and the blood donation scheduling plan includes: Determine the actual consumption rate of each type of resource at each blood donation point based on the operation data, and determine the predicted consumption rate of each type of resource at each preset time point based on the resource scheduling plan; Determine the target blood donation point, target resource type, and target preset time point where the actual consumption rate is greater than the predicted consumption rate; Determine the current inventory of the target resource type at the target blood donation point at the target preset time point according to the operation data, and determine the predicted inventory of the target resource type at the target blood donation point at the target preset time point according to the resource scheduling plan; Determine whether there is a situation where the target resource type of the target blood donation point is in short supply at a target preset time point according to the actual consumption rate, the predicted consumption rate, the current inventory and the predicted inventory; If there is a situation where demand exceeds supply, it is determined that there is a resource allocation emergency; Accordingly, determining the first blood donation point that needs to allocate resources, the type of resources that are lacking, and the amount of resources that are lacking according to the operation data includes: The target blood donation site is taken as the first blood donation site that needs to allocate resources, and the target resource type is taken as the resource type that is lacking; Determining the amount of the missing resource according to the actual consumption rate, the predicted consumption rate, the current inventory and the predicted inventory; Determining whether an emergency event exists according to the operation data and the blood donation scheduling plan also includes: Determine the real-time average waiting time of blood donors at each blood donation point in each link according to the operation data, and if the average waiting time of blood donors exceeds a preset waiting time threshold, determine that there is an emergency event for personnel deployment; Determine the second blood donation point that needs to deploy personnel, the type of missing staff, and the number of missing staff according to the operation data, including: The blood donation point where the average waiting time of the blood donors exceeds the preset waiting time threshold is used as the second blood donation point, and the target link where the average waiting time of the blood donors exceeds the preset waiting time threshold is determined, and the type of missing staff is determined according to the target link; Obtaining the number of staff members in the target link of the second blood donation site and the estimated average service time of a single blood donor, and determining the number of missing staff members based on the average service time, the average waiting time and the number of staff members; After scheduling each blood donation point according to the blood donation scheduling plan on the target day, the method further includes: If an emergency blood request is received, determining the emergency blood location and emergency blood information according to the emergency blood request; Obtaining the location of each blood donation point and the real-time information of each blood donation point, and determining an emergency blood use scheduling plan according to the location of each blood donation point, the real-time information of each blood donation point, the emergency blood use location and the emergency blood use information; Determining an emergency blood use scheduling plan according to the locations of each blood donation point, the real-time information of each blood donation point, the emergency blood use location, and the emergency blood use information includes: Determine the first blood collection and donation point that meets the emergency blood use information requirements according to the real-time information of each blood donation point; Acquire the location of a first blood collection and donation point, and determine a target blood collection and donation point according to the location of the first blood collection and donation point and the emergency blood use location; Obtaining the location of a target blood collection and donation point, and determining the shortest driving route between the target blood collection and donation point and the emergency blood use location based on the target blood collection and donation point location and the emergency blood use location; An emergency blood use dispatch plan is determined according to the shortest driving route and the emergency blood use information.

2. An intelligent scheduling system for blood donors, characterized in that: The system comprises: A blood donation data prediction module is used to obtain the historical blood donation data of each blood donation point and the environmental data of the target day, input the historical blood donation data and the environmental data of the target day into a preset blood donation prediction model, and obtain the blood donation prediction data of each blood donation point on the target day; A blood donation scheduling plan determination module is used to determine the blood donation scheduling plan of each blood donation point on the target day according to the blood donation prediction data; An emergency event determination module is used to schedule each blood donation point according to the blood donation scheduling plan on the target day, monitor the operation data of each blood donation point in real time, and determine whether there is an emergency event based on the operation data and the blood donation scheduling plan; A resource emergency response module, for determining, if a resource allocation emergency occurs, the first blood donation site to which resources need to be allocated, the type of resources lacking, and the amount of resources lacking according to the operation data; A resource allocation module, used to obtain current resource information of each blood donation site, determine a resource allocation plan according to the blood donation scheduling plan, the current resource information of each blood donation site, the type of missing resources and the amount of missing resources, and allocate resources to the first blood donation site according to the resource allocation plan; After determining whether an emergency event exists according to the operation data and the blood donation scheduling plan, the method further includes: If there is an emergency event for staff deployment, determining the second blood donation point where staff need to be deployed, the type of staff missing, and the number of staff missing based on the operation data; Obtaining current staff information of each blood donation site, determining a staff deployment plan according to the blood donation scheduling plan, the current staff information of each blood donation site, the type of missing staff and the number of missing staff, and deploying staff to the second blood donation site according to the staff deployment plan; Determine the blood donation scheduling plan for each blood donation point on the target day based on the blood donation forecast data, including: Determine the resource type and resource quantity required by each blood donation site at each preset time point on the target day according to the blood donation forecast data, and determine the resource scheduling plan for each blood donation site on the target day according to the resource type and resource quantity required at each preset time point; Determine the type and number of staff required for each blood donation site at each preset time point on the target day according to the blood donation prediction data, obtain staff information, and determine the target staff that needs to be dispatched at each blood donation site at each preset time point according to the staff information, the type of staff and the number of staff; Obtaining the location information of each blood donation point and the information of the blood donation points that need to be dispatched by staff at each preset time point, determining the staff dispatch route on the target day based on the location information and the information of the blood donation points that need to be dispatched by staff at each preset time point, and determining the staff dispatch time based on the staff dispatch route and the corresponding preset time point; Determine a staff dispatch plan for the blood donation site on the target day based on the staff dispatch route, the staff dispatch time, the target staff, and the preset time points; Determine the blood donation scheduling plan for each blood donation point on the target day according to the resource scheduling plan and the personnel scheduling plan; Determining whether an emergency event exists according to the operation data and the blood donation scheduling plan includes: Determine the actual consumption rate of each type of resource at each blood donation point based on the operation data, and determine the predicted consumption rate of each type of resource at each preset time point based on the resource scheduling plan; Determine the target blood donation point, target resource type, and target preset time point where the actual consumption rate is greater than the predicted consumption rate; Determine the current inventory of the target resource type at the target blood donation point at the target preset time point according to the operation data, and determine the predicted inventory of the target resource type at the target blood donation point at the target preset time point according to the resource scheduling plan; Determine whether there is a situation where the target resource type of the target blood donation point is in short supply at a target preset time point according to the actual consumption rate, the predicted consumption rate, the current inventory and the predicted inventory; If there is a situation where demand exceeds supply, it is determined that there is a resource allocation emergency; Accordingly, determining the first blood donation point that needs to allocate resources, the type of resources that are lacking, and the amount of resources that are lacking according to the operation data includes: The target blood donation site is taken as the first blood donation site that needs to allocate resources, and the target resource type is taken as the resource type that is lacking; Determining the amount of the missing resource according to the actual consumption rate, the predicted consumption rate, the current inventory and the predicted inventory; Determining whether an emergency event exists according to the operation data and the blood donation scheduling plan also includes: Determine the real-time average waiting time of blood donors at each blood donation point in each link according to the operation data, and if the average waiting time of blood donors exceeds a preset waiting time threshold, determine that there is an emergency event for personnel deployment; Determine the second blood donation point that needs to deploy personnel, the type of missing staff, and the number of missing staff according to the operation data, including: The blood donation point where the average waiting time of the blood donors exceeds the preset waiting time threshold is used as the second blood donation point, and the target link where the average waiting time of the blood donors exceeds the preset waiting time threshold is determined, and the type of missing staff is determined according to the target link; Obtaining the number of staff members in the target link of the second blood donation site and the estimated average service time of a single blood donor, and determining the number of missing staff members based on the average service time, the average waiting time and the number of staff members; After scheduling each blood donation point according to the blood donation scheduling plan on the target day, the method further includes: If an emergency blood request is received, determining the emergency blood location and emergency blood information according to the emergency blood request; Obtaining the location of each blood donation point and the real-time information of each blood donation point, and determining an emergency blood use scheduling plan according to the location of each blood donation point, the real-time information of each blood donation point, the emergency blood use location and the emergency blood use information; Determining an emergency blood use scheduling plan according to the locations of each blood donation point, the real-time information of each blood donation point, the emergency blood use location, and the emergency blood use information includes: Determine the first blood collection and donation point that meets the emergency blood use information requirements according to the real-time information of each blood donation point; Acquire the location of a first blood collection and donation point, and determine a target blood collection and donation point according to the location of the first blood collection and donation point and the emergency blood use location; Obtaining the location of a target blood collection and donation point, and determining the shortest driving route between the target blood collection and donation point and the emergency blood use location based on the target blood collection and donation point location and the emergency blood use location; An emergency blood use dispatch plan is determined according to the shortest driving route and the emergency blood use information.

3. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can execute the method of claim 1.

Citation Information

Patent Citations

  • Medical resource allocation method and device based on big data

    CN115240832A