A smart home bed service scheduling method, server, medium and product
By comprehensively assessing the location and capabilities of caregivers through the server, prioritizing suitable caregivers and generating compensation plans, the problem of untimely response to sudden requests in home-based care services has been solved, improving service efficiency and quality, and achieving reasonable allocation and balance of resources.
Patent Information
- Application Number
- CN202510975936.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-07-16
AI Technical Summary
Under the existing home care service dispatch model, the response to sudden service requests is not timely, especially when there are no available caregivers nearby, which may lead to service delays and affect service quality and efficiency.
By comprehensively considering factors such as caregiver location, ability score, service interruption cost of current task, and location and type of sudden service requests, the server determines the overall service matching degree, prioritizes dispatching caregivers who are nearby, have suitable abilities, and have minimal impact, and generates service compensation plans to ensure rapid response. At the same time, it introduces service hierarchy division and workload compression mechanisms to dynamically adjust resource allocation.
It improved the efficiency and professionalism of responding to sudden service requests, ensured service continuity and quality, reduced the complaint rate, achieved the rational allocation and efficient use of caregiver resources, and avoided service delays caused by resource conflicts.
Smart Images

Figure CN120494440B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information and communication technology specifically for processing health data, and in particular to a smart home bed service scheduling method, server, medium and product. Background Art
[0002] With the accelerating aging of the population, the demand for home bed care services among the elderly is growing. As a new model for in-home elderly care, home bed care services can provide comprehensive daily care and health monitoring for the elderly. Due to the unique physical conditions of the elderly, home bed care services often lead to emergencies such as discomfort and falls, requiring caregivers to respond promptly and provide professional services.
[0003] Currently, home bed care agencies primarily utilize a reservation-based service model. Elderly individuals or their families reserve the desired service time and content in advance, and the home bed care agency then arranges the caregiver's work schedule accordingly. Upon receiving an unexpected service request, the home bed care agency selects a nearby available caregiver based on the service location and sends a service notification. If no caregivers are available nearby, the server will expand its search for available caregivers.
[0004] This service scheduling model exposes many problems during operation: if there are no idle caregivers near the service location, caregivers need to be dispatched from a remote location, which may lead to untimely responses to sudden service requests. Summary of the Invention
[0005] This application provides a smart home bed service scheduling method, server, medium and product for improving the timeliness of response to sudden service requests.
[0006] On the one hand, the present application provides a smart home bed service scheduling method, which is applied to a server. The method includes: obtaining emergency service request information and caregiver information currently performing service tasks, the emergency service request information includes the emergency location and emergency type of the emergency service request, the caregiver information includes the caregiver's location and ability score, and the ability score includes different service scores corresponding to different service types; based on the emergency location, emergency type, location and ability score of each caregiver, determine the initial service matching degree of each caregiver to the emergency service request; calculate the service progress of each service task according to the service progress, service continuity requirement type and service object importance level of the service task currently being performed by each caregiver Service interruption cost. Service continuity requirement types include non-interruptible, bufferable and directly interruptible. Service interruption cost refers to the degree of negative impact caused by interrupting service tasks. Service progress is positively correlated with service interruption cost, and the importance level of service objects is positively correlated with service interruption cost. According to the service interruption cost and the initial service matching degree, the comprehensive service matching degree of each caregiver for sudden service requests is determined, and the service interruption cost is inversely proportional to the comprehensive service matching degree. Caregivers whose comprehensive service matching degree is greater than or equal to the preset matching degree threshold are determined as dispatched caregivers, and a service compensation plan for the interrupted service tasks is generated. The service compensation plan includes the remaining service time determined according to the service progress and the compensation priority level determined according to the service interruption cost.
[0007] By adopting the above technical solution, when all caregivers are performing service tasks and receive sudden service requests, the server comprehensively considers the caregiver's location, ability score, service interruption cost of the currently performing service task, sudden location and sudden type of the sudden service request, and determines the comprehensive service matching degree of each caregiver for the sudden service request. This ensures that sudden service requests can be quickly responded to by caregivers who are close, have adapted capabilities, and have little negative impact on the service tasks being performed, thereby improving service efficiency and professionalism. It also minimizes the negative impact on the service tasks being performed through the assessment of service interruption costs, ensuring service continuity and quality. At the same time, the server generates a service compensation plan for the interrupted service tasks, which can accurately plan the remaining service time and compensation priority level, thereby reducing the complaint rate, promoting the rational allocation and efficient use of caregiver resources, and achieving a balance between sudden services and regular services. It effectively solves the problems of untimely request responses and difficult to ensure service quality under the traditional scheduling model.
[0008] In combination with some embodiments of the first aspect, in some embodiments, the service interruption cost of each service task is calculated based on the service progress, service continuity requirement type and service object importance level of the service task currently being performed by each caregiver. The service continuity requirement types include non-interruptible, bufferable interruption and directly interruptible. The service interruption cost refers to the degree of negative impact caused by the interruption of the service task. The service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost. Specifically, if the service continuity requirement type is non-interruptible or the service object importance level exceeds the preset importance level threshold, the service interruption cost is set to a preset maximum value; if the service continuity requirement type is bufferable interruption or directly interruptible, the corresponding service continuity coefficient is determined; the service progress, service object importance level and service continuity coefficient are substituted into the service interruption cost calculation formula to obtain the service interruption cost; the service interruption cost calculation formula is: Among them, D1 represents the cost of service interruption, P represents the service progress, S represents the importance level of the service object, and C represents the service continuity coefficient.
[0009] By adopting this technical solution, the server can not only rigidly protect "non-interruptible" service tasks and high-importance service objects with a "preset maximum value," preventing core service tasks from being interrupted by sudden service requests, thus safeguarding critical needs such as life and health; it can also quantitatively assess the negative impact of service task interruptions based on service progress, service continuity requirements, and the importance of the service object, ensuring that scheduling decisions balance efficiency and risk. At the same time, the calculated service interruption cost also provides a basis for service compensation plans and comprehensive service matching, achieving transparent scheduling logic and precise compensation, reducing human error, and efficiently responding to sudden service requests while ensuring the stability of existing services.
[0010] In combination with some embodiments of the first aspect, in some embodiments, the service interruption cost of each service task is calculated based on the service progress, service continuity requirement type and service object importance level of the service task currently being performed by each caregiver, the service continuity requirement types include non-interruptible, bufferable interruption and directly interruptible, the service interruption cost refers to the degree of negative impact caused by interrupting the service task, the service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost. Before the step, the method also includes: collecting physiological indicator data and historical behavior data of the service object of the service task; obtaining a physiological state score based on the physiological indicator data and preset standard physiological indicators, and determining the service rejection rate and negative evaluation rate of the service object at the time of service interruption based on the historical behavior data; if the physiological state score is lower than the preset score threshold or the negative evaluation rate exceeds the preset evaluation rate threshold, setting the service object importance level to the preset maximum value; substituting the physiological state score, service rejection rate and negative evaluation rate into the service object importance level calculation formula to obtain the service object importance level.
[0011] By adopting the above technical solution, the server collects the physiological indicator data and historical behavior data of the service recipients of the service tasks, and dynamically calculates the physiological status score, service rejection rate and negative evaluation rate. When the physiological status score is lower than the preset score threshold or the negative evaluation rate exceeds the preset evaluation rate threshold, the service recipient's importance level can be set to the preset maximum value, rigidly protecting high-importance service recipients and avoiding critical care interruptions; the service recipient's importance level calculation formula based on multi-dimensional data fusion can also be used to determine the service recipient's importance level, changing the limitations of traditional static grading and ensuring that the service interruption cost assessment always fits the actual situation of the service recipient. It not only effectively avoids health risks and customer disputes caused by service interruptions, but also optimizes scheduling strategies to achieve accurate response and dynamic protection of smart home bed services to the needs of service recipients.
[0012] In combination with some embodiments of the first aspect, in some embodiments, after determining the comprehensive service matching degree of each caregiver for sudden service requests based on the service interruption cost and the initial service matching degree, and the service interruption cost is inversely proportional to the comprehensive service matching degree, the method also includes: if the comprehensive service matching degree is lower than the preset matching degree threshold, all service tasks currently being executed are divided into service levels to obtain core service tasks, necessary service tasks and auxiliary service tasks; the service elasticity coefficients of the core service tasks, necessary service tasks and auxiliary service tasks are determined respectively, and the service elasticity coefficient refers to the degree of compressibility of the service workload; the service workload of the service tasks is compressed according to the service elasticity coefficient to obtain the service progress corresponding to each updated service task, so as to recalculate the service interruption cost of the service task.
[0013] By adopting the above technical solution, when the comprehensive service matching degree is lower than the preset matching degree threshold, the server introduces a service level division and service workload compression mechanism, and dynamically releases nursing resources to respond to sudden service requests without breaking the core service bottom line. The server divides the service tasks into three levels: core, necessary, and auxiliary, and matches the service elasticity coefficient. It gives priority to compressing the service workload of auxiliary service tasks with high elasticity (such as non-emergency cleaning), and then adjusts the service workload of necessary service tasks (such as routine care), and retains the service workload of core service tasks (such as vital signs monitoring) to the maximum extent. While ensuring that the service tasks are not impacted, the overall service interruption cost is reduced through reasonable compression of the service workload, providing space for recalculating the comprehensive service matching degree, and avoiding sudden service requests being shelved due to "no available nurses".
[0014] In combination with some embodiments of the first aspect, in some embodiments, after the step of determining a caregiver whose comprehensive service matching degree is greater than or equal to a preset matching degree threshold as a scheduled caregiver, the method also includes: judging whether there is a scheduling conflict, where a scheduling conflict refers to the same caregiver being a scheduled caregiver for multiple sudden service requests; if so, calculating the service unresponse cost corresponding to each sudden service request with a scheduling conflict, where the service unresponse cost refers to the degree of negative impact caused by not responding to a sudden service request; and giving priority to allocating caregivers with scheduling conflicts to sudden service requests with the highest service unresponse cost.
[0015] By adopting the above technical solution, the server identifies scheduling conflicts and prioritizes assigning caregivers to emergency service requests with the highest cost of unresponsiveness, achieving absolute priority protection for high-risk emergency demands, thereby avoiding delays in critical services due to conflicts in caregiver resources. The server quantifies the "consequences of non-response" (e.g., unresponsive emergency requests may be life-threatening) and dynamically allocates limited caregiver resources to emergency service requests with the greatest negative impact of unresponsiveness. This not only solves the scheduling problem of resource conflicts, but also improves decision-making efficiency, avoiding simple extensive allocation methods such as first-come, first-served or distance-priority. Instead, it makes more reasonable scheduling decisions by comprehensively evaluating the cost of unresponsive services, significantly improving the response quality of emergency service requests.
[0016] In combination with some embodiments of the first aspect, in some embodiments, if the service unresponsiveness cost corresponding to each sudden service request with a scheduling conflict is calculated, specifically including: determining the service urgency coefficient based on the sudden type of the sudden service request, determining the acceptable waiting time based on the physiological indicator data and historical behavior data of the service object of the sudden service request, and calculating the arrival time coefficient based on the sudden location of the sudden service request and the location of the caregiver with the scheduling conflict; substituting the service urgency coefficient, the acceptable waiting time and the arrival time coefficient into the service unresponsiveness cost calculation formula to obtain the service unresponsiveness cost; the service unresponsiveness cost calculation formula is: Among them, D2 represents the cost of service non-response, W represents the acceptable waiting time, Wmax represents the preset maximum waiting time, E represents the service urgency coefficient, and T represents the arrival time coefficient.
[0017] By adopting the above technical solution, the server converts the "negative impact of unresponsive sudden service requests" into comparable values based on the service urgency coefficient (such as emergency services have a higher urgency coefficient), acceptable waiting time (such as longer waiting time for chronic disease medication), arrival time coefficient (the closer the distance, the lower the arrival time coefficient) and the service unresponsiveness cost calculation formula. This not only avoids the subjectivity of human judgment, but also dynamically balances the "urgency" and "response feasibility" to ensure that high-risk sudden demands are not delayed due to geographical or resource limitations. At the same time, it provides standardized decision-making basis for multi-conflict scenarios, improving the risk management capabilities and resource allocation efficiency of smart home bed services in complex scheduling.
[0018] In combination with some embodiments of the first aspect, in some embodiments, after the step of preferentially allocating caregivers with scheduling conflicts to emergency service requests with the highest service unresponse cost, the method also includes: determining the remaining emergency service requests that have not been assigned by the originally scheduled caregivers and the remaining caregiver information of the unassigned emergency service requests; calculating the comprehensive service matching degree between each remaining caregiver and the remaining emergency service requests; and determining the remaining caregiver with the highest comprehensive service matching degree as the scheduled caregiver for the remaining emergency service requests.
[0019] By adopting the above technical solution, after giving priority to the emergency service requests with the highest cost of unresponsiveness, the server automatically performs a secondary match between the remaining emergency service requests and the remaining caregivers, thus preventing some emergency service requests from being indefinitely shelved due to scheduling conflicts and achieving secondary optimization of resource allocation. Through the "tiered processing + dynamic backtracking" strategy, it not only adheres to the "risk priority" principle, but also improves overall scheduling efficiency, avoids the lag of manual intervention after traditional single scheduling failures, and realizes the "orderly response and full dispatch" of smart home bed services in resource-constrained scenarios, minimizing service omissions and resource waste.
[0020] In a second aspect, an embodiment of the present application provides a server, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, the one or more processors calling the computer instructions to enable the server to execute the method described in the first aspect and any possible implementation of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a server, enables the server to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium comprising instructions. When the instructions are executed on a server, the server executes the method described in the first aspect and any possible implementation of the first aspect.
[0023] It is understandable that the server provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the methods provided in the embodiments of the present application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here.
[0024] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0025] 1. By adopting the above technical solution, when all caregivers are performing service tasks and receive a sudden service request, the server comprehensively considers the caregiver's location, ability score, service interruption cost of the currently performing service task, the sudden location and sudden type of the sudden service request, and determines the comprehensive service matching degree of each caregiver for the sudden service request. This ensures that sudden service requests can be quickly responded to by caregivers who are close, have suitable abilities, and have little negative impact on the service tasks being performed, thereby improving service efficiency and professionalism. It also minimizes the negative impact on the service tasks being performed through the assessment of service interruption costs, ensuring service continuity and quality. At the same time, the server generates a service compensation plan for the interrupted service tasks, which can accurately plan the remaining service time and compensation priority level, thereby reducing the complaint rate, promoting the rational allocation and efficient use of caregiver resources, achieving a balance between sudden services and regular services, and effectively solving problems such as untimely request responses and difficult to ensure service quality under the traditional scheduling model.
[0026] 2. By adopting the above technical solution, the server can not only rigidly protect "non-interruptible" service tasks and high-importance service objects with a "preset maximum value," preventing core service tasks from being interrupted by sudden service requests, thus safeguarding critical needs such as life and health; it can also quantitatively assess the negative impact of service task interruptions based on service progress, service continuity requirements, and the importance of the service object, ensuring that scheduling decisions balance efficiency and risk. At the same time, the calculated service interruption cost also provides a basis for service compensation plans and comprehensive service matching, achieving transparent scheduling logic and precise compensation, reducing human error, and efficiently responding to sudden service requests while ensuring the stability of existing services.
[0027] 3. By adopting the above technical solution, when the comprehensive service matching degree is lower than the preset matching degree threshold, the server introduces a service level division and service workload compression mechanism, and dynamically releases nursing resources to respond to sudden service requests without breaking the core service bottom line. The server divides the service tasks into three levels: core, necessary, and auxiliary, and matches the service elasticity coefficient. It gives priority to compressing the service workload of auxiliary service tasks with high elasticity (such as non-emergency cleaning), and then adjusts the service workload of necessary service tasks (such as routine care), and retains the service workload of core service tasks (such as vital signs monitoring) to the maximum extent. While ensuring that the service tasks are not impacted, the overall service interruption cost is reduced through reasonable compression of the service workload, providing space for recalculating the comprehensive service matching degree, and avoiding sudden service requests being shelved due to "no available nurses". BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a flowchart of the smart bed service scheduling method in an embodiment of the present application;
[0029] Figure 2 This is another flowchart of the smart bed service scheduling method in an embodiment of the present application;
[0030] Figure 3 This is a schematic diagram of the physical device structure of the server in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The terms used in the following examples of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application, the singular expressions "a", "an", "above", "the", and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations of one or more of the listed items.
[0032] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0033] A large retirement community, staffed with 30 professional caregivers, serves over 200 seniors requiring home bed care. At 10 a.m. that day, all caregivers were busy performing their scheduled service tasks: Caregiver Xiao Wang was providing Grandma Zhang (82 years old, with hypertension) with a continuous herbal bath treatment, while Caregiver Xiao Li was performing massage rehabilitation for Grandpa Wang (88 years old). Caregiver Xiao Chen was preparing lunch for Grandma Chen (85 years old), and the other caregivers were also performing their respective service tasks. Suddenly, Grandpa Liu (87 years old), who lives alone, slipped in the bathroom and requested help through the emergency call system. This situation often occurs in retirement communities, and since all caregivers are currently busy performing their service tasks, how to respond to sudden service needs in a timely manner without affecting the quality of existing services has become a major challenge.
[0034] The following is a description of the process of the method provided by this implementation. Figure 1 , which is a flow chart of the smart home bed service scheduling method in an embodiment of the present application.
[0035] S101. Obtaining emergency service request information and information about a caregiver currently performing a service task. The emergency service request information includes the emergency location and emergency type of the emergency service request. The caregiver information includes the caregiver's location and ability score. The ability score includes different service scores corresponding to different service types.
[0036] Among them, an emergency service request refers to a service request that is issued temporarily, is not scheduled in advance, and requires an immediate or short response; the emergency location refers to the specific location of the service object of the emergency service request, such as room number, bed number, etc.; the emergency type refers to the urgency of the emergency service request and the nature of the service, such as fall assistance, sudden illness assistance, emergency toilet assistance, etc.; the nursing staff information refers to the relevant information of the nursing staff who are currently on duty and performing service tasks; the location indicates the current geographical coordinates of the nurse or the room number; the ability score refers to the evaluation score of the nurse's professional skill level in different service types, such as medical assistance ability score, life care ability score, etc.; the service type refers to different types of nursing service content, such as emergency assistance, daily care, rehabilitation training, etc.
[0037] Specifically, the elderly and their families can send emergency service requests to the server through mobile applications (apps) or calling devices. The server obtains the emergency service request information through the data interface or message queue, including the emergency location and emergency type of the emergency service request. At the same time, the server accesses the caregiver management database to obtain information about the caregivers currently performing service tasks, including the caregivers' location and ability scores.
[0038] Here is an example:
[0039] 1. Emergency service request information:
[0040] Emergency location: Room 302, Bed A;
[0041] Emergency type: fall assistance (urgency: high, service nature: emergency assistance);
[0042] Request source: calling device;
[0043] 2. Caregiver information:
[0044] Caregiver A:
[0045] Location: Room 305;
[0046] Ability rating:
[0047] Medical assistance ability score: 85;
[0048] Life care ability score: 90;
[0049] Rehabilitation training ability score: 70;
[0050] Caregiver B:
[0051] Location: Room 301;
[0052] Ability rating:
[0053] Medical assistance ability score: 80;
[0054] Life care ability score: 88;
[0055] Rehabilitation training ability score: 75;
[0056] Caregiver C:
[0057] Location: Room 310;
[0058] Ability rating:
[0059] Medical assistance ability score: 70;
[0060] Life care ability score: 92;
[0061] Rehabilitation training ability score: 85.
[0062] S102. Determine the initial service matching degree of each caregiver to the emergency service request based on the emergency location, emergency type, location of each caregiver, and ability score;
[0063] Among them, the initial service matching degree refers to the degree of adaptation between the caregiver and the sudden service request without considering the impact of the current service task interruption.
[0064] Specifically, the server first calculates the spatial distance from each caregiver to the emergency location based on the emergency location and each caregiver's location, and converts this spatial distance into a spatial distance score. Then, based on the emergency type and each caregiver's ability score, the server calculates the ability match score for each caregiver with the emergency type. Using a pre-set calculation model, the server weights the spatial distance score and ability match score to determine each caregiver's initial service match.
[0065] Continuing with the example of step S101, the emergency location is bed A in room 302, the emergency type is fall assistance, caregiver A is in room 305 (same floor, 3 rooms on the right), caregiver B is in room 301 (same floor, 1 room on the left), and caregiver C is in room 310 (same floor, 8 rooms on the right). Assuming that the room layout of the nursing home is that each room is 10 meters apart, rooms on the same floor are arranged in sequence along the corridor, and room numbers are consecutively numbered, then:
[0066] 1. Calculate spatial distance:
[0067] Distance from nurse A to room 302: 30 meters (3 rooms away);
[0068] Distance from Caregiver B to Room 302: 10 meters (one room away);
[0069] Distance from Caregiver C to Room 302: 80 meters (8 rooms away);
[0070] 2. Convert the spatial distance into a spatial distance score (the full score is 100 points, the closer the spatial distance, the higher the spatial distance score):
[0071] Caregiver A's spatial distance score: 85 points;
[0072] Caregiver B's spatial distance score: 95 points;
[0073] Caregiver C's spatial distance score: 60 points;
[0074] 3. Calculate the ability matching score (since fall assistance falls under the medical assistance category, the medical assistance ability score is mainly considered):
[0075] Caregiver A: Medical assistance ability 85 points;
[0076] Caregiver B: Medical assistance ability 80 points;
[0077] Caregiver C: Medical assistance ability 70 points;
[0078] 4. Set the weights for the spatial distance score and the ability matching score: Considering the high urgency of the fall, the distance weight is 0.4 (needing to arrive quickly), and the ability weight is 0.6 (professional rescue ability is more important).
[0079] 5. Calculate the initial service matching degree (formula: initial service matching degree = spatial distance score × distance weight + capability matching score × capability weight):
[0080] Caregiver A: 85 × 0.4 + 85 × 0.6 = 34 + 51 = 85 points;
[0081] Caregiver B: 95 × 0.4 + 80 × 0.6 = 38 + 48 = 86 points;
[0082] Caregiver C: 60 × 0.4 + 70 × 0.6 = 24 + 42 = 66 points;
[0083] 6. Final initial service matching ranking:
[0084] Caregiver B: 86 points (closest distance, moderate ability);
[0085] Caregiver A: 85 points (moderate distance, strongest ability);
[0086] Caregiver C: 66 points (farthest distance, weakest ability).
[0087] S103. Calculate the service interruption cost of each service task currently being performed by each caregiver based on the service progress, service continuity requirement type, and service recipient importance level. Service continuity requirement types include non-interruptible, buffered interruption, and direct interruption. The service interruption cost refers to the degree of negative impact caused by interrupting the service task. The service progress is positively correlated with the service interruption cost, and the service recipient importance level is positively correlated with the service interruption cost.
[0088] Among them, service progress refers to the degree of completion of the current service task; service continuity requirement type refers to the degree of continuity requirement of the service task, including non-interruptible, bufferable interruption and directly interruptible; non-interruptible means that it must be completed continuously to achieve the expected service effect, and interruption will cause the service effect to be significantly reduced or the previous work to become invalid, such as drug treatment services, professional nursing operations, specific rehabilitation training programs, medical services that require continuous monitoring, etc.; bufferable interruption means that it can be temporarily interrupted but needs to be restored within the specified time, and a short interruption will not completely affect the service effect, such as routine rehabilitation training, life skills training, general health examinations, sports assistance services, etc.; directly interruptible means that it can be terminated and restarted at an appropriate time, and restarting after interruption will not significantly affect the service effect, such as daily companionship services, ordinary life care, environmental management services, regular conversation activities, etc.; the importance level of the service object is used to indicate the degree of special care needs of the service object; the cost of service interruption refers to the degree of negative impact of interrupting the current service task on the service object and the retirement community.
[0089] Specifically, the server obtains information about the service tasks currently being performed by each caregiver, including the service type, start time, and expected completion time. The server can calculate the service progress based on the start time and current time. At the same time, the server determines the service continuity requirement type for the service task based on the service type. Regarding the importance level of the service recipient, the server comprehensively considers factors such as the service recipient's physical condition and special needs. The server substitutes the service progress, service continuity requirement type, and service recipient's importance level into a preset service interruption cost calculation formula to derive the service interruption cost for each service task.
[0090] Optionally, in general, the service interruption cost of each service task is calculated based on the service progress, service continuity requirement type and service object importance level of the service task currently being performed by each caregiver. The service continuity requirement types include non-interruptible, bufferable interruption and directly interruptible. The service interruption cost refers to the degree of negative impact caused by interrupting the service task. The service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost. This can be achieved in the following ways, which are not limited here: if the service continuity requirement type is non-interruptible or the service object importance level exceeds the preset importance level threshold, the service interruption cost is set to the preset maximum value; if the service continuity requirement type is bufferable interruption or directly interruptible, the corresponding service continuity coefficient is determined; the service progress, service object importance level and service continuity coefficient are substituted into the service interruption cost calculation formula to obtain the service interruption cost; the service interruption cost calculation formula is: Among them, D1 represents the cost of service interruption, P represents the service progress, S represents the importance level of the service object, and C represents the service continuity coefficient.
[0091] The calculation formula for service interruption cost is: This reflects the impact of service progress, service object importance level, and service continuity coefficient on service interruption costs:
[0092] The greater the service progress, the more time and resources have been invested and the more service content has been completed. If it is interrupted at this time, it will cause greater waste of resources and loss of service effect. Therefore, the cost of service interruption is higher;
[0093] The higher the importance level of the service recipient, the higher the cost of the service interruption.
[0094] The smaller the service continuity coefficient is, the easier it is to restart the service task after it is interrupted, the simpler the remedial measures after the interruption are, and the smaller the impact on the service effect is. Therefore, the higher the cost of service interruption is.
[0095] Here is an example:
[0096] Service progress (P): 0-100%, where 0% means not started and 100% means completed. It can be calculated based on the ratio of actual completion time to the total estimated completion time, or the ratio of actual completed workload to the total preset workload, with no limitation here.
[0097] Service continuity requirement coefficient (C): non-interruptible: 1.0; interruption bufferable: 0.6; direct interruption: 0.3;
[0098] The service object importance level (S) is 1-5, and the preset importance level threshold is level 4:
[0099] Level 5: requires special care (such as severe illness, postoperative rehabilitation, etc.);
[0100] Level 4: requires high attention (such as mobility impairment, chronic disease, etc.);
[0101] Level 3: requires routine care (such as mild disability);
[0102] Level 2: basic self-care (occasionally requires assistance);
[0103] Level 1: Completely self-reliant (only basic services required).
[0104] Assume that caregivers A, B, and C are currently performing the following service tasks:
[0105] Caregiver A:
[0106] Service type: Medication (non-interruptible);
[0107] Service progress: 60% (P = 0.6);
[0108] Service object importance level: Level 3 (S=3);
[0109] Calculation result: Since it is non-interruptible, directly set D1 = 100 (preset maximum value);
[0110] Caregiver B:
[0111] Service type: Regular rehabilitation training (with buffered interruptions);
[0112] Service progress: 40% (P = 0.4);
[0113] Service object importance level: Level 2 (S=2);
[0114] Service continuity coefficient: 0.6 (C = 0.6);
[0115] Calculation process: D1 = [1-(1-0.4)^(1+2)] × [1-e^(-0.4 / 0.6)] × 100% = 38.2;
[0116] Caregiver C:
[0117] Service type: daily companionship (can be interrupted directly);
[0118] Service progress: 80% (P = 0.8);
[0119] Service object importance level: 5 (S=5);
[0120] Calculation result: Because the service object importance level (5) exceeds the preset importance level threshold (4), D1 is directly set to 100 (preset maximum value);
[0121] Final service interruption cost ranking:
[0122] Caregiver A: 100 points (uninterrupted)
[0123] Caregiver C: 100 points (exceeds the preset importance level threshold);
[0124] Caregiver B: 38.2 points (calculable cost of service interruption).
[0125] S104. Determine the comprehensive service matching degree of each caregiver to the sudden service request based on the service interruption cost and the initial service matching degree, wherein the service interruption cost is inversely proportional to the comprehensive service matching degree;
[0126] Among them, the comprehensive service matching degree refers to the final adaptation degree of the caregiver to the sudden service request after considering the service interruption cost of the current service task; the service interruption cost is inversely proportional to the comprehensive service matching degree, which means that the higher the service interruption cost, the lower the corresponding comprehensive service matching degree.
[0127] Specifically, the server normalizes the service interruption cost and initial service match, aligning the numerical range of both indicators to a range of 0-1. The server then weights the service interruption cost and initial service match according to a pre-set comprehensive evaluation model to form a comprehensive service match. During this calculation, the server dynamically adjusts the weighting based on the urgency of the sudden service request. For particularly urgent sudden service requests, the weighting of the service interruption cost may be reduced.
[0128] S105. Determine the caregivers whose comprehensive service matching degree is greater than or equal to the preset matching degree threshold as scheduled caregivers, and generate a service compensation plan for the interrupted service task. The service compensation plan includes the remaining service time determined according to the service progress and the compensation priority level determined according to the service interruption cost.
[0129] Among them, the preset matching threshold refers to the minimum standard value for determining whether a nurse is suitable for performing sudden service requests; the dispatched nurse refers to the nursing staff selected to perform sudden service requests; the service compensation plan refers to the subsequent arrangement plan formulated to make up for the interrupted service tasks; the remaining service time refers to the remaining time required to complete the interrupted service tasks; the compensation priority level refers to the priority of arranging compensation services; the interrupted service tasks refer to the original service tasks that are suspended in response to sudden service requests.
[0130] Specifically, the server compares the comprehensive service matching degree of each caregiver with the preset matching degree threshold, and selects the caregivers who meet the conditions as candidate scheduling caregivers. If the number of candidate scheduling caregivers is greater than the number of sudden service requests, the server will select the candidate scheduling caregiver with the highest comprehensive service matching degree as the scheduling caregiver. For the service tasks (interrupted service tasks) currently being performed by the scheduling caregivers, the server will formulate personalized service compensation plans based on information such as the nature of their services, completion progress, and the status of the service objects. In the process of formulating the service compensation plan, the server first accurately calculates the remaining time required to complete the interrupted service tasks based on the current service progress and standard service time, and then sets the compensation priority level based on the service interruption cost. The higher the service interruption cost, the higher the compensation priority will be. At the same time, the server will also consider factors such as the time preference of the service object and the shift schedule of the caregiver to ensure the feasibility of the service compensation plan.
[0131] By adopting the above technical solution, when all caregivers are performing service tasks and receive sudden service requests, the server comprehensively considers the caregiver's location, ability score, service interruption cost of the currently performing service task, sudden location and sudden type of the sudden service request, and determines the comprehensive service matching degree of each caregiver for the sudden service request. This ensures that sudden service requests can be quickly responded to by caregivers who are close, have adapted capabilities, and have little negative impact on the service tasks being performed, thereby improving service efficiency and professionalism. It also minimizes the negative impact on the service tasks being performed through the assessment of service interruption costs, ensuring service continuity and quality. At the same time, the server generates a service compensation plan for the interrupted service tasks, which can accurately plan the remaining service time and compensation priority level, thereby reducing the complaint rate, promoting the rational allocation and efficient use of caregiver resources, and achieving a balance between sudden services and regular services. It effectively solves the problems of untimely request responses and difficult to ensure service quality under the traditional scheduling model.
[0132] The following is a more detailed description of the process of the method provided by this implementation. Figure 2 , which is another flow chart of the smart bed service scheduling method in an embodiment of the present application.
[0133] S201. Obtain emergency service request information and information about the caregiver currently performing the service task. The emergency service request information includes the emergency location and emergency type of the emergency service request. The caregiver information includes the location and ability score of the caregiver. The ability score includes different service scores corresponding to different service types.
[0134] For details, please refer to step S101, which will not be described again here.
[0135] S202. Determine the initial service matching degree of each caregiver to the emergency service request based on the emergency location, emergency type, location of each caregiver, and ability score.
[0136] For details, please refer to step S102, which will not be described again here.
[0137] S203: Collect physiological indicator data and historical behavior data of the service object of the service task.
[0138] Among them, the service recipients refer to the elderly or patients who accept the service tasks; physiological indicator data refers to various data indicators for monitoring the physical condition of the service recipients, such as heart rate, blood pressure, body temperature and other basic physiological parameters; historical behavior data refers to the behavioral records of the service recipients during past home bed services.
[0139] Specifically, the server can obtain real-time vital sign data from smart terminals such as smart mattresses and wearable devices, and collect activity data from mobile terminals and environmental sensors. Simultaneously, the server accesses a historical service database to extract historical service records from the service recipient, including information such as service type, service feedback, and abnormal events.
[0140] S204: Based on the physiological indicator data and the preset standard physiological indicators, a physiological status score is obtained, and based on the historical behavior data, a service rejection rate of the service recipient and a negative evaluation rate during service interruption are determined.
[0141] Among them, the physiological status score refers to the comprehensive assessment score of the service recipient's current physical condition; the preset standard physiological indicators are physiological indicator reference values personalized for each service recipient by professional medical staff based on the service recipient's personal situation, medical history, physical condition and other factors; the service refusal rate refers to the frequency with which the service recipient refuses to accept home bed services; the negative evaluation rate refers to the proportion of negative feedback from the service recipients regarding the interruption of the service task.
[0142] Specifically, the server compares the collected physiological indicator data of the service object with the preset standard physiological indicators, calculates the deviation degree and score of each physiological indicator, and determines the physiological status score.
[0143] For example, the preset standard physiological indicators of Grandma Zhang (78 years old, with a history of hypertension for 10 years and diabetes for 5 years) and the reference values of each personalized physiological indicator are as follows:
[0144] Blood pressure control target: ≤140 / 90 mmHg;
[0145] Fasting blood glucose control target: 4.4-7.0mmol / L;
[0146] Blood glucose 2 hours after meal: ≤10.0mmol / L;
[0147] Heart rate range: 65-85 beats / min;
[0148] Body temperature range: 36.3-37.0℃.
[0149] The actual physiological indicator data of Grandma Zhang collected by the server in real time are as follows: blood pressure: 145 / 92mmHg;
[0150] Fasting blood glucose: 7.5mmol / L;
[0151] Blood glucose 2 hours after meal: 11.2mmol / L;
[0152] Heart rate: 88 beats / min
[0153] Body temperature: 36.8℃.
[0154] Calculate the deviation degree and score of each physiological index (total score 100 points): (1) Calculation of blood pressure deviation (weight 40 points):
[0155] Systolic blood pressure deviation: (145-140) / 140=+3.6%;
[0156] Diastolic blood pressure deviation: (92-90) / 90=+2.2%;
[0157] Average deviation: (3.6% + 2.2%) / 2 = 2.9%;
[0158] Score: 40 × (1-2.9%) = 38.84 points;
[0159] (2) Blood sugar control (weight 30 points):
[0160] Fasting blood glucose deviation: (7.5-7.0) / 7.0=+7.1%;
[0161] Postprandial blood glucose deviation: (11.2-10.0) / 10.0=+12%;
[0162] Average deviation: (7.1% + 12%) / 2 = 9.55%;
[0163] Score: 30 × (1-9.55%) = 27.14 points;
[0164] (3) Heart rate status (weighted 20 points):
[0165] Heart rate deviation: (88-85) / 85=+3.5%;
[0166] Score: 20 × (1-3.5%) = 19.3 points;
[0167] (4) Body temperature (weight 10 points):
[0168] Within the normal range, no deviation;
[0169] Score: 10 points;
[0170] (5) Calculation of final physiological status score:
[0171] Total score = 38.84 + 27.14 + 19.3 + 10 = 95.28 points.
[0172] The server also analyzes historical behavioral data, calculating the ratio of service recipients' service refusals to the total number of service requests over a specific period to determine the service refusal rate. For service interruptions, the server calculates the frequency of complaints or negative reviews from service recipients following the interruption and calculates the negative review rate.
[0173] For example, the historical behavior data analysis of Grandma Zhang is as follows:
[0174] 1. Service refusal records:
[0175] 2025-4-15: Refuse blood pressure measurement service, saying "I just finished a meal and don't want to measure it";
[0176] 2025-4-28: Refuse to accompany the walk, citing "bad weather" as the reason;
[0177] May 10, 2025: Refuses home rehabilitation training, saying he "doesn't feel well today";
[0178] May 22, 2025: Refuse to receive nutritious meal service, saying "I can cook for myself";
[0179] Service Refusal Rate Calculation:
[0180] Number of appointment services this month: 20;
[0181] Actual number of rejections: 4;
[0182] Service rejection rate = 4 / 20 = 20%;
[0183] 2. Negative evaluation records of service interruption:
[0184] 2025-4-20: The caregiver took a temporary leave and a replacement was not arranged in time, and the evaluation was "very unsatisfactory";
[0185] May 5, 2025: Delivery was delayed by 40 minutes and received a negative rating.
[0186] May 18, 2025: Rehabilitation equipment was not delivered in time, and the evaluation was "service quality needs improvement";
[0187] Negative review rate calculation:
[0188] Total number of services in the month: 16;
[0189] Number of negative reviews: 3;
[0190] Negative review rate = 3 / 16 = 18.75%.
[0191] S205: If the physiological status score is lower than the preset score threshold or the negative evaluation rate exceeds the preset evaluation rate threshold, the importance level of the service object is set to the preset maximum value.
[0192] Among them, the preset score threshold represents the critical value for judging whether the physiological condition requires special attention; the preset evaluation rate threshold refers to the standard value for judging the sensitivity of the service; and the preset maximum value represents the highest level of importance of the service object.
[0193] Specifically, the server compares the calculated physiological status score with a preset score threshold, and also compares the negative evaluation rate with a preset evaluation rate threshold. If the physiological status score falls below the preset score threshold, or the negative evaluation rate exceeds the preset evaluation rate threshold, the server activates a special protection mechanism, setting the service recipient's service importance level directly to the preset maximum value. This ensures that service recipients with poor health or who are particularly sensitive to service interruptions receive priority protection.
[0194] S206. Substitute the physiological status score, service rejection rate, and negative evaluation rate into the service recipient importance level calculation formula to obtain the service recipient importance level.
[0195] Specifically, the server normalizes the physiological status score, service rejection rate, and negative evaluation rate to a uniform numerical range. The server then substitutes the physiological status score, service rejection rate, and negative evaluation rate into the service recipient importance level calculation formula. For example, the service recipient importance level calculation formula is: Service recipient importance level = 0.5 × physiological status score + 0.3 × (1 - service rejection rate) + 0.2 × (1 - negative evaluation rate).
[0196] Taking Grandma Zhang's data as an example: physiological status score = 95.28 points, service refusal rate = 20%, negative evaluation rate = 18.75%, calculation result: service object importance level = 0.5 × 95.28 + 0.3 × (1-20%) + 0.2 × (1-18.75%) = 48.0425 points;
[0197] Criteria for classifying service objects into important levels:
[0198] Level 5 (85-100 points): Requires special care (such as severe illness, postoperative rehabilitation, etc.);
[0199] Level 4 (70-84 points): requiring high attention (such as mobility impairment, chronic disease, etc.);
[0200] Level 3 (55-69 points): Requires routine care (such as mild disability);
[0201] Level 2 (40-54 points): basic self-care (occasionally requires assistance);
[0202] Level 1 (0-39 points): completely self-reliant (only basic services required);
[0203] According to the importance level of the service object, which is 48.0425 points, Grandma Zhang belongs to level 2.
[0204] S207. Calculate the service interruption cost of each service task based on the service progress, service continuity requirement type, and service object importance level of the service task currently being performed by each caregiver. The service continuity requirement types include non-interruptible, bufferable interruption, and directly interruptible. The service interruption cost refers to the degree of negative impact caused by interrupting the service task. The service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost.
[0205] For details, please refer to step S103, which will not be described again here.
[0206] S208. Determine the comprehensive service matching degree of each caregiver to the sudden service request based on the service interruption cost and the initial service matching degree. The service interruption cost is inversely proportional to the comprehensive service matching degree.
[0207] For details, please refer to step S104, which will not be described again here.
[0208] S209: If the comprehensive service matching degree is lower than the preset matching degree threshold, all currently executed service tasks are divided into service levels to obtain core service tasks, necessary service tasks, and auxiliary service tasks.
[0209] Among them, service level division refers to the classification of service tasks according to the importance of the services; core service tasks refer to service content that is directly related to the life safety and basic living needs of the service recipients; necessary service tasks refer to service content that has an important impact on the quality of life of the service recipients but can be temporarily adjusted; auxiliary service tasks refer to service content that helps to improve the service experience but is highly adjustable.
[0210] Specifically, the server divides the service tasks according to the preset service level division rules. The preset service level division rules are listed below:
[0211] Core service tasks are services that directly affect life safety and have a significant impact on physiological status, such as: critical vital sign monitoring, emergency medication services, condition observation, wound dressing changes, necessary treatment operations, etc., which are not limited here.
[0212] Necessary service tasks are services that maintain basic living needs and have a direct impact on health status, such as: regular vital signs testing, daily medication reminders, basic nursing services, meal services, basic cleaning and sanitation, etc., which are not limited here.
[0213] Auxiliary service tasks are services that improve the quality of life, such as rehabilitation training, accompanying walks, psychological counseling, cultural and entertainment activities, social activities, etc., which are not limited here.
[0214] Taking Grandma Zhang as an example, the current service tasks are divided into:
[0215] Core service tasks: blood pressure monitoring (history of hypertension), blood sugar monitoring (history of diabetes), antihypertensive and antidiabetic drug reminders, etc.
[0216] Necessary service tasks: nutritional meal preparation for three meals a day, basic vital sign testing, personal hygiene assistance, etc.;
[0217] Auxiliary service tasks: weekly rehabilitation training, participation in community activities, family doctor follow-up, etc.
[0218] S210. Determine the service elasticity coefficients of the core service tasks, necessary service tasks, and auxiliary service tasks respectively. The service elasticity coefficient refers to the compressibility of the service workload.
[0219] Among them, the service elasticity coefficient refers to the proportion of workload that can be compressed while ensuring basic service effects; the degree of compressibility refers to the service time and content that can be optimized without affecting the core objectives of the service.
[0220] Specifically, the server sets differentiated service elasticity coefficients according to different service levels: for core service tasks, the server will set a lower service elasticity coefficient (for example, 10%) to ensure service quality; for necessary service tasks, the server will comprehensively consider the nature of the service and the current situation and set a moderate service elasticity coefficient (for example, 35%); for auxiliary service tasks, the server will assign a higher service elasticity coefficient (for example, 60%) to provide greater adjustment space.
[0221] Here is a specific example:
[0222] (A) Core service tasks - low service elasticity coefficient (0-20%):
[0223] Take blood pressure monitoring service as an example:
[0224] Standard service time: 30 minutes;
[0225] Service content: Preparation (5 minutes) + rest (5 minutes) + measurement (5 minutes) + record analysis (10 minutes) + health guidance (5 minutes);
[0226] Service elasticity coefficient: 10%;
[0227] Compressible solution:
[0228] Optimize preparation time to 3 minutes;
[0229] Streamline health guidance to 4 minutes;
[0230] The shortest compressed time is 27 minutes;
[0231] The core measurement link is incompressible;
[0232] (B) Essential service tasks – Medium service flexibility factor (20-50%):
[0233] Take nutritional meal service as an example:
[0234] Standard service time: 60 minutes;
[0235] Service content: Preparation (15 minutes) + cooking (30 minutes) + post-meal cleaning (15 minutes);
[0236] Service elasticity coefficient: 35%;
[0237] Compressible solution:
[0238] Preparing ingredients in advance saves 10 minutes;
[0239] Simplify the variety of dishes to save cooking time;
[0240] The shortest compressed to 39 minutes;
[0241] Ensure nutritional and hygienic requirements;
[0242] (C) Auxiliary service tasks - high service elasticity coefficient (50-80%):
[0243] Take rehabilitation training services as an example:
[0244] Standard service time: 90 minutes;
[0245] Service content: Warm-up (15 minutes) + training (60 minutes) + cool-down (15 minutes);
[0246] Service elasticity coefficient: 60%;
[0247] Compressible solution:
[0248] Simplify your warm-up to 10 minutes;
[0249] 30 minutes of selected core training programs;
[0250] Shorten the relaxation time to 8 minutes;
[0251] The shortest compressed time is 48 minutes;
[0252] Maintain basic training effects.
[0253] S211 . Compress the service workload of the service task according to the service elasticity coefficient to obtain the updated service progress corresponding to each service task, so as to recalculate the service interruption cost of the service task.
[0254] Among them, the service workload refers to the time investment and resource consumption required to complete the service task; the updated service progress refers to the degree of completion of the service task after compressing the service workload.
[0255] Specifically, the server obtains the corresponding service elasticity coefficient based on the service level of the service task, applies the elasticity coefficient to the original service workload, and calculates the compressed service workload. The server then calculates the actual service completion status under the compressed service workload, compares it with the original service workload, and calculates the updated service progress. Finally, the server applies the method of step S207 based on the updated service progress to recalculate the service interruption cost of each service task. During this process, the server continuously monitors the compressed service quality status to ensure that the core service performance is not affected.
[0256] S212. Determine the caregivers whose comprehensive service matching degree is greater than or equal to the preset matching degree threshold as scheduled caregivers, and generate a service compensation plan for the interrupted service task. The service compensation plan includes the remaining service time determined according to the service progress and the compensation priority level determined according to the service interruption cost.
[0257] For details, please refer to step S105, which will not be described again here.
[0258] S213. Determine whether there is a scheduling conflict. Scheduling conflict means that the same caregiver is the scheduling caregiver for multiple sudden service requests.
[0259] Among them, scheduling conflict refers to the assignment of the same caregiver to multiple emergency service requests; scheduling caregiver refers to the caregiver selected to perform emergency service requests.
[0260] Specifically, the server obtains the scheduling information for all sudden service requests, including the request number and the dispatched caregiver number. The server then groups the scheduling information by dispatched caregiver number and checks whether each caregiver has multiple sudden service requests. If the same caregiver is found to have multiple sudden service requests assigned to them, a scheduling conflict is flagged.
[0261] Specifically, assume that there are the following scheduling situations for sudden service requests:
[0262] (1) Request number: SR001; dispatched nurse: nurse A001;
[0263] (2) Request number: SR002; dispatched nurse: nurse A001;
[0264] (3) Request number: SR003; dispatched nurse: nurse A002;
[0265] Server inspection results: Caregiver A001 was assigned two sudden service requests, SR001 and SR002, and was determined to have a scheduling conflict and needed to be reallocated; Caregiver A002 was only assigned one sudden service request, SR003, and was determined to have no scheduling conflict, no duplicate allocation, and no adjustment was required.
[0266] S214: If yes, calculate the service non-response cost corresponding to each sudden service request with scheduling conflict, where the service non-response cost refers to the degree of negative impact caused by not responding to the sudden service request.
[0267] Among them, the service non-response cost refers to the negative impact evaluation value caused by service delay or non-response due to scheduling conflict. Continuing with the example of step S213, the server evaluates the service non-response cost corresponding to the two sudden service requests SR001 and SR002.
[0268] Specifically, the server analyzes the characteristics of each sudden service request with a scheduling conflict, including the service type, service recipient, and service urgency. The server then calculates the service non-response cost for each sudden service request using a pre-set service non-response cost assessment model. This calculation considers multiple factors, including the service recipient's physiological condition and special needs, the time sensitivity of the service, and potential risk consequences. The server then weights these factors to determine the service non-response cost for each sudden service request.
[0269] Optionally, in general, if so, the calculation of the service unresponsiveness cost corresponding to each sudden service request with a scheduling conflict can be achieved in the following manner, which is not limited here: based on the sudden type of the sudden service request, determine the service urgency coefficient; based on the physiological indicator data and historical behavior data of the service object of the sudden service request, determine the acceptable waiting time; based on the sudden location of the sudden service request and the location of the caregiver with the scheduling conflict, calculate the arrival time coefficient; substitute the service urgency coefficient, the acceptable waiting time and the arrival time coefficient into the service unresponsiveness cost calculation formula to obtain the service unresponsiveness cost; the service unresponsiveness cost calculation formula is: Among them, D2 represents the cost of service non-response, W represents the acceptable waiting time, Wmax represents the preset maximum waiting time, E represents the service urgency coefficient, and T represents the arrival time coefficient.
[0270] Among them, the preset maximum waiting time is a preset upper limit of the maximum waiting time that all services can tolerate. When the preset maximum waiting time is fixed, the shorter the acceptable waiting time, the greater the cost of service non-response. The greater the service urgency coefficient, the greater the cost of service non-response. The arrival time coefficient reflects the actual service accessibility. If the distance between the caregiver and the sudden service request is shorter, the actual service accessibility is higher and the arrival time coefficient is larger.
[0271] The ratio of the acceptable waiting time to the preset maximum waiting time is usually in the range of (0, 1]. If the acceptable waiting time is much smaller than the preset maximum waiting time, the ratio of the acceptable waiting time to the preset maximum waiting time will be smaller, approaching 0; if the acceptable waiting time is closer to the preset maximum waiting time, the ratio of the acceptable waiting time to the preset maximum waiting time will be larger, approaching 1.
[0272] The greater the product of the service urgency coefficient and the arrival time coefficient, The smaller the value of The closer it is to 1, the greater the cost of service non-response; the smaller the product of the service urgency coefficient and the arrival time coefficient, The larger the value of The closer it is to 0, the lower the cost of service unresponsiveness.
[0273] The following is a specific example. Assume that in step S213, the request content of request number SR001 is for emergency catheter replacement, and the request content of request number SR002 is for sudden high fever treatment. The server calculates the service unresponsiveness cost of the two requests:
[0274] (1)SR001:
[0275] Type of service: Catheter care, involving infection risk;
[0276] Client: Grandma Li, 80 years old, with a history of urinary tract infection;
[0277] Service urgency coefficient (E): 0.9 (high urgency);
[0278] Acceptable waiting time (W): 10 minutes;
[0279] Preset maximum waiting time (Wmax): 30 minutes;
[0280] Nurse A001's current location: Nurse Station, 3rd Floor;
[0281] Service location: 2nd floor ward;
[0282] Arrival time coefficient (T): 0.8 (close distance);
[0283] Calculation process: D2 = [1-(10 / 30)^(0.9×0.8)]×100% = 82%;
[0284] (2)SR002:
[0285] Service Type: Fever Treatment;
[0286] Client: Grandpa Wang, 75 years old, with a history of heart disease;
[0287] Service urgency coefficient (E): 0.95 (high urgency);
[0288] Acceptable waiting time (W): 5 minutes;
[0289] Preset maximum waiting time (Wmax): 30 minutes;
[0290] Nurse A001's current location: Nurse Station, 3rd Floor;
[0291] Service location: 4th floor ward;
[0292] Arrival time coefficient (T): 0.6 (long distance);
[0293] Calculation process: D2 = [1-(5 / 30)^(0.95×0.6)]×100% = 91.22%;
[0294] (3) Result analysis: The service non-response cost of SR002 (91.22%) is higher than the service non-response cost of SR001 (82%). The server should give priority to handling the scheduling conflict of SR002 and assign caregiver A001 to SR002.
[0295] S215. Prioritize the caregivers with scheduling conflicts to the emergency service requests with the highest unresponsive service costs.
[0296] Among them, priority allocation represents the caregiver allocation decision in the case of scheduling conflicts; the highest cost of service non-response represents the most serious negative impact that may be caused.
[0297] Specifically, the server determines the emergency service request with the highest unresponsiveness cost based on the unresponsiveness cost of each emergency service request, and then assigns the originally scheduled caregiver to the request. Continuing with the example of S214 , the emergency service request with the highest unresponsiveness cost is SR002, so the server assigns caregiver A001 to SR002.
[0298] S216: Determine the remaining emergency service requests that have not been assigned to the originally scheduled caregivers and the remaining caregiver information for which the emergency service requests have not been assigned.
[0299] Among them, the remaining emergency service requests refer to the emergency service requests that have not been assigned the originally scheduled nurses after the scheduling conflicts are resolved; the remaining nurse information refers to the nursing staff information that has not yet been assigned to perform the emergency service requests.
[0300] Specifically, the server determines the remaining unassigned emergency service requests and the available remaining caregivers to perform secondary allocation of the remaining emergency service requests. Taking the scheduling conflict situation of SR001 and SR002 as an example, how the server determines the remaining emergency service requests that have not been allocated by the originally scheduled caregivers and the remaining caregivers of the unassigned emergency service requests:
[0301] (1) Determine the remaining burst service requests: Based on the service unresponsiveness cost (SR001: 82%, SR002: 91.22%), the server retains the original scheduled caregiver allocation for SR002 and marks SR001 as the remaining burst service request:
[0302] SR001 (remaining emergency service request) information:
[0303] Request Type: Catheter care involving infection risk;
[0304] Service hours: 10:30-11:00;
[0305] Service location: 2nd floor ward;
[0306] The originally scheduled nurse: Nursing nurse A001;
[0307] Skills required: Catheter nursing qualifications;
[0308] Priority: High
[0309] (2) Determine the remaining caregiver information: The server screens all caregivers (A001-A004). Caregiver A001 is assigned the SR002 emergency service request, and caregiver A002 is assigned the SR003 emergency service request. The remaining caregiver information is as follows:
[0310] Caregiver A003:
[0311] Current service tasks: Provide rehabilitation training for Mr. Zhang;
[0312] Service hours: 10:00-11:30;
[0313] Service location: Rehabilitation Room on the 3rd floor;
[0314] Caregiver A004:
[0315] Current service tasks: Prepare nutritious meals for Grandma Li;
[0316] Service hours: 10:15-11:15;
[0317] Service location: Nutrition Room on the 4th floor.
[0318] S217. Calculate the comprehensive service matching degree between each remaining caregiver and the remaining emergency service requests.
[0319] The comprehensive service matching degree refers to the overall adaptability between the remaining caregivers and the remaining emergency service requests in multiple dimensions, which can be seen in steps S102-S104.
[0320] Specifically, the server analyzes the sudden location, sudden type, location and ability score of the remaining sudden service requests, and the service interruption cost of the currently executed service tasks, and determines the comprehensive service matching degree of each remaining caregiver to the remaining sudden service requests. The specific implementation method can be found in steps S102-S104, which will not be repeated here.
[0321] S218. Determine the remaining caregivers with the highest comprehensive service matching degree as the dispatched caregivers for the remaining emergency service requests.
[0322] Specifically, the server ranks all calculated comprehensive matching scores and selects the remaining worker with the highest comprehensive matching score for each remaining burst service request. The server uses an iterative allocation method to determine the optimal matching combination each time, then updates the remaining resource status and proceeds to process the next remaining burst service request.
[0323] The following describes the server in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , is a schematic diagram of a physical device structure of a server in an embodiment of the present application.
[0324] It should be noted that Figure 3 The structure of the server shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0325] like Figure 3 As shown, the server includes a CPU 301, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 302 or programs loaded from a storage unit 308 into a random access memory (RAM) 303, such as executing the methods described in the above embodiments. RAM 303 also stores various programs and data required for system operation. CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An I / O interface 305 is also connected to bus 304.
[0326] The following components are connected to the I / O interface 305: an input section 306 including an audio input device, a push button switch, and the like; an output section 307 including a liquid crystal display (LCD), an audio output device, an indicator light, and the like; a storage section 308 including a hard disk and the like; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. Removable media 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like, is installed in the drive 310 as needed so that computer programs read therefrom can be installed into the storage section 308 as needed.
[0327] In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present invention includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 309 and / or installed from the removable medium 311. When the computer program is executed by the CPU 301, the various functions defined in the present invention are performed.
[0328] It should be noted that specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0329] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings.
[0330] Specifically, the server of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the smart home bed service scheduling method provided in the above embodiment is implemented.
[0331] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the server described in the above embodiments, or may exist independently and not incorporated into the server. The storage medium carries one or more computer programs, and when executed by a processor of the server, the server implements the smart bed service scheduling method provided in the above embodiments.
[0332] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0333] As used in the above embodiments, the term “when…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0334] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A smart bed service scheduling method, characterized in that: Applied to a server, the method includes: Obtaining emergency service request information and information about the caregiver currently performing the service task, wherein the emergency service request information includes the emergency location and emergency type of the emergency service request, and the caregiver information includes the location and ability score of the caregiver, wherein the ability score includes different service scores corresponding to different service types; Determining an initial service matching degree of each caregiver to the emergency service request based on the emergency location, the emergency type, the location and ability score of each caregiver; The service interruption cost of each service task currently being performed by each caregiver is calculated based on the service progress, service continuity requirement type, and service object importance level. The service continuity requirement types include non-interruptible, buffered interruption, and directly interruptible. The service interruption cost refers to the degree of negative impact caused by interrupting the service task. The service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost. Specifically, the cost includes: If the service continuity requirement type is non-interruptible or the importance level of the service object exceeds a preset importance level threshold, the service interruption cost is set to a preset maximum value; If the service continuity requirement type is bufferable interruption or direct interruption, determining a corresponding service continuity coefficient; Substituting the service progress, the importance level of the service object, and the service continuity coefficient into a service interruption cost calculation formula to obtain the service interruption cost; The service interruption cost calculation formula is: Wherein, D1 represents the service interruption cost, P represents the service progress, S represents the importance level of the service object, and C represents the service continuity coefficient; determining, according to the service interruption cost and the initial service matching degree, a comprehensive service matching degree of each caregiver to the sudden service request, wherein the service interruption cost is inversely proportional to the comprehensive service matching degree; A caregiver whose comprehensive service matching degree is greater than or equal to a preset matching degree threshold is determined as a scheduled caregiver, and a service compensation plan for the interrupted service task is generated. The service compensation plan includes the remaining service time determined according to the service progress and the compensation priority level determined according to the service interruption cost.
2. The method according to claim 1, characterized in that Before the step of calculating the service interruption cost of each service task currently being performed by each caregiver based on the service progress, service continuity requirement type, and service object importance level of the service task, wherein the service continuity requirement types include non-interruptible, bufferable interruption, and directly interruptible, and the service interruption cost refers to the degree of negative impact caused by interrupting the service task, and the service progress is positively correlated with the service interruption cost, and the service object importance level is positively correlated with the service interruption cost, the method further includes: Collect physiological indicator data and historical behavioral data of service recipients; Based on the physiological indicator data and preset standard physiological indicators, a physiological status score is obtained, and based on the historical behavior data, a service rejection rate and a negative evaluation rate of the service recipient when the service is interrupted are determined; If the physiological status score is lower than a preset score threshold or the negative evaluation rate exceeds a preset evaluation rate threshold, the importance level of the service object is set to a preset maximum value; The physiological status score, the service rejection rate, and the negative evaluation rate are substituted into a service object importance level calculation formula to obtain the service object importance level.
3. The method according to claim 1, characterized in that After the step of determining the comprehensive service matching degree of each caregiver to the sudden service request based on the service interruption cost and the initial service matching degree, wherein the service interruption cost is inversely proportional to the comprehensive service matching degree, the method further includes: If the comprehensive service matching degree is lower than the preset matching degree threshold, all currently executed service tasks are divided into service levels to obtain core service tasks, necessary service tasks and auxiliary service tasks; Determining service elasticity coefficients for the core service task, the necessary service task, and the auxiliary service task, respectively, where the service elasticity coefficient refers to the compressibility of the service workload; The service workload of the service task is compressed according to the service elasticity coefficient to obtain the updated service progress corresponding to each of the service tasks, so as to recalculate the service interruption cost of the service task.
4. The method according to claim 3, characterized in that After the step of determining a caregiver whose comprehensive service matching degree is greater than or equal to a preset matching degree threshold as a scheduled caregiver, the method further includes: Determine whether there is a scheduling conflict, where the scheduling conflict refers to the same caregiver being the scheduled caregiver for multiple sudden service requests; If yes, calculate the service non-response cost corresponding to each sudden service request with scheduling conflict, where the service non-response cost refers to the negative impact caused by not responding to the sudden service request; Caregivers with scheduling conflicts are assigned first to emergency service requests with the highest cost of unresponsive services.
5. The method according to claim 4, characterized in that If so, the service unresponsiveness cost corresponding to each sudden service request with a scheduling conflict is calculated, specifically including: Based on the sudden type of the sudden service request, the service urgency coefficient is determined; based on the physiological indicator data and historical behavior data of the service recipient of the sudden service request, the acceptable waiting time is determined; based on the sudden location of the sudden service request and the location of the caregiver with scheduling conflicts, the arrival time coefficient is calculated; Substituting the service urgency coefficient, the acceptable waiting time, and the arrival time coefficient into a service non-response cost calculation formula to obtain the service non-response cost; The calculation formula for the service non-response cost is: Wherein, D2 represents the cost of service non-response, W represents the acceptable waiting time, Wmax represents the preset maximum waiting time, E represents the service urgency coefficient, and T represents the arrival time coefficient.
6. The method according to claim 4, characterized in that After the step of preferentially allocating caregivers with scheduling conflicts to emergency service requests with the highest unresponsiveness costs, the method further includes: Determine the remaining emergency service requests that have not been assigned to the originally scheduled caregivers and the remaining caregivers who have not been assigned to the emergency service requests; Calculating the comprehensive service matching degree between each remaining caregiver and the remaining emergency service requests; The remaining caregivers with the highest comprehensive service matching degree are determined as the dispatched caregivers for the remaining sudden service requests.
7. A server, characterized in that: The server includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the server to execute the method according to any one of claims 1 to 6.
8. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a server, the server is caused to perform the method according to any one of claims 1 to 6.
9. A computer program product, characterized in that When the computer program product is run on a server, the server is caused to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Operating room nursing worker task assignment method and device, and server
CN112669947A
Intelligent nursing data task scheduling management system based on cloud computing
CN119314643A