Medical resource allocation method and device and readable storage medium
By generating object allocation queues and expanding medical resources when demand exceeds the total resource capacity, and by allocating resources based on priority allocation weights, the problem of unreasonable allocation of medical resources is solved, thereby meeting urgent needs and improving resource utilization efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SICHUAN UNIV
- Filing Date
- 2022-06-30
- Publication Date
- 2026-07-03
AI Technical Summary
In existing medical resource allocation methods, unreasonable resource allocation leads to unmet urgent needs of users, a mismatch between resource allocation and actual needs, and reduced efficiency of resource utilization.
By acquiring resource allocation requests, the system determines the quantity and type of target medical resources, generates an object allocation queue, and expands the target medical resources when demand exceeds the total resource capacity. Allocation is then performed based on priority allocation weights to ensure that urgent needs are met.
It has improved the efficiency of medical resource utilization, ensured that emergency needs are met, and enhanced the fairness and efficiency of resource allocation.
Smart Images

Figure CN115148342B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to a method, apparatus, and readable storage medium for allocating medical resources. Background Technology
[0002] As people's demand for resources increases, resource suppliers find it difficult to balance the importance of resources among different resource users in resource supply and demand management, resulting in some resource users not receiving the corresponding resource allocation.
[0003] For example, when managing the allocation of medical resources, a "first-come, first-served" strategy is used. This involves online or offline appointments through relevant medical applications, with resources allocated to users based on appointment times. However, in a medical setting, there are different types of users with varying needs for medical resources. In the current system, due to limited resources at any given time, unreasonable resource allocation can negatively impact user needs. For instance, it may fail to meet users' urgent resource requests, leading to a mismatch between resource allocation and actual demand, thus reducing the efficiency and effectiveness of resource utilization. Summary of the Invention
[0004] This application provides a medical resource allocation method, apparatus, and readable storage medium, which can solve the technical problem that unreasonable resource allocation can affect user needs and lead to a mismatch between resource allocation and actual needs.
[0005] This application provides a method for allocating medical resources, including:
[0006] Obtain a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight;
[0007] Determine the number of objects occupying the target medical resources within a preset time period;
[0008] Based on the quantity occupied and the object type, an object allocation queue for the target medical resource is generated;
[0009] When it is detected that the number of allocations in the object allocation queue is greater than the total amount of the target medical resources, the target medical resources are expanded according to the preset resource expansion information;
[0010] Based on the aforementioned priority allocation weights, the expanded target medical resources are allocated to the target medical recipients.
[0011] Accordingly, embodiments of this application provide a medical resource allocation device, including:
[0012] The acquisition unit is used to acquire a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0013] A determining unit is used to determine the number of objects occupying the target medical resources within a preset time period;
[0014] A generation unit is used to generate an object allocation queue for the target medical resources based on the quantity occupied and the object type.
[0015] An expansion unit is used to expand the target medical resources according to preset resource expansion information when it is detected that the number of allocations in the object allocation queue is greater than the total amount of resources of the target medical resources.
[0016] An allocation unit is used to allocate the expanded target medical resources to the target medical object based on the priority allocation weight.
[0017] Accordingly, this application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in any of the medical resource allocation methods provided in the embodiments of this application.
[0018] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps in any of the medical resource allocation methods provided in embodiments of this application.
[0019] This application embodiment can obtain resource allocation requests, which include target medical resources, object types of target medical objects, and priority allocation weights; determine the number of objects occupying the target medical resources within a preset time period; generate an object allocation queue for the target medical resources based on the number of objects occupied and the object types; when it is detected that the allocation quantity in the object allocation queue is greater than the total amount of the target medical resources, expand the target medical resources according to preset resource expansion information; and allocate the expanded target medical resources to the target medical objects based on the priority allocation weights. This scheme generates an object allocation queue by determining the number of objects occupying the target medical resources and the object types within a preset time period. When the total amount of the target medical resources cannot meet the allocation quantity in the object allocation queue, it expands the preset resource quantity corresponding to the target medical resources to increase the investment of target medical resources. Based on the priority allocation weights, it allocates the expanded target medical resources to meet the user's urgent need for target medical resources, improves resource efficiency, and has reliability. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic diagram of a medical resource allocation system provided in an embodiment of this application;
[0022] Figure 2 This is a schematic diagram illustrating the linear relationship between the number of objects in the object allocation queue and the latency rate of the target medical resource corresponding to the medical resource allocation method provided in this application embodiment;
[0023] Figure 3 This is a flowchart illustrating the medical resource allocation method provided in the embodiments of this application;
[0024] Figure 4 This is another flowchart illustrating the medical resource allocation method provided in the embodiments of this application;
[0025] Figure 5a This is a schematic diagram of the structure of a first embodiment of the medical resource allocation device provided in this application;
[0026] Figure 5b This is a schematic diagram of the structure of a second embodiment of the medical resource allocation device provided in this application;
[0027] Figure 5c This is a schematic diagram of the structure of a third embodiment of the medical resource allocation device provided in this application;
[0028] Figure 5d This is a schematic diagram of the structure of a fourth embodiment of the medical resource allocation device provided in this application;
[0029] Figure 5e This is a schematic diagram of the fifth embodiment of the medical resource allocation device provided in this application;
[0030] Figure 5f This is a schematic diagram of the sixth embodiment of the medical resource allocation device provided in this application;
[0031] Figure 6 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application. Detailed Implementation
[0032] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0033] This application provides a method, apparatus, and computer-readable storage medium for allocating medical resources. Specifically, the medical resource allocation method of this application can be executed by a computer device, which can be a terminal or a server, etc. The terminal can be a payment device, mobile phone, tablet computer, laptop computer, smart TV, wearable smart device, personal computer (PC), industrial computer, etc.; the server can be an industrial computer or a commercial computer, etc., without specific limitations.
[0034] This computer device can be used to allocate and manage resources, such as individual resources, shared resources, and public resources. For example, medical resources can be used to illustrate this.
[0035] To balance resource allocation and improve resource utilization efficiency, the benefits of resource allocation can be predicted based on a model. This resource benefit prediction model is expressed as follows:
[0036]
[0037] Where W represents the estimated resource benefit after allocating the target medical resources, and P represents the set of object types of the target medical object. Assume... Here, H represents the level of need of high-priority target medical patients, and L represents the level of need of low-priority target medical patients; other methods can also be used to define the object type, such as... M represents the type of target medical resource. This represents the weight when a target medical object of type P receives resources. This indicates the number of type p objects allocated in the target medical resource of type m. This represents the penalty coefficient for the delay. This indicates the number of people who have a demand for the target medical resources or the number of people who have made appointments for the target medical resources. Indicates to The latency rate when the target medical resources are arranged / allocated for the corresponding number of objects.
[0038] Since the number of target medical resources is limited, or the production capacity of target medical resources per unit time is limited, and there are many objects of different object types, and each object needs to be allocated a different type of target medical resource once, in order to avoid delays in the objects' enjoyment of target medical resources when allocating different types of target medical resources, multiple object allocation queues can be set according to different types of target medical resources, and the number of objects in each object allocation queue can be set at the beginning. The order of enjoying different types of target medical resources can be arranged by staggering the allocation method.
[0039] Specifically, the implementation process of this staggered allocation method can be as follows: For example, there are 10 types of target medical resources that need to be allocated to 100 people who have made reservations. These 100 people include 10 different object types, and each object type has 10 people. One person can be randomly selected from each object type to form an object allocation queue for a certain type of target medical resource, forming a total of 10 object allocation queues. Each object allocation queue contains objects of 10 different object types, so that the 10 object allocation queues can stagger their use of different types of target medical resources. For example, within the same preset time period, the first object allocation queue is assigned to the first type of target medical resource, the second object allocation queue is assigned to the second type of target medical resource, and so on. When the first object allocation queue has used up the first type of target medical resource, it can be assigned to the second type of target medical resource or other types of target medical resources. The other object allocation queues are the same, until all objects of different object types in all object allocation queues are assigned to all the appropriate types of target medical resources. Because there are multiple types of target medical resources, and resource allocation needs to be performed on target medical objects of multiple object types, each target medical object must successively enjoy multiple or all types of target medical resources. To improve resource utilization efficiency and avoid idle resources of a certain type during the allocation process, the above example can be used to allocate different types of target medical resources to each target medical object sequentially. Specifically, the number of objects allocated to each type of target medical resource within a preset time period should be kept equal or close. This can be achieved by assigning all objects to different queues, with each queue containing an equal or close number of objects, and then assigning each type of target medical resource to a separate queue. This allows objects in each queue to be allocated a particular type of target medical resource first. After objects in a queue have used up one type of target medical resource, other types of target medical resources are then allocated to objects in that queue, thus avoiding time conflicts between different types of resources and effectively improving resource utilization efficiency. In the above examples, the number of allocation objects for each queue can also be determined based on the resource capacity or allocable quantity of different types of target medical resources within a preset time period, which will not be elaborated further here.
[0040] Furthermore, when allocating target medical resources to objects of different object types in various object allocation queues, resource allocation / distribution can be based on the urgency, priority, or priority allocation weight of each object type. For example, all objects can be divided into batches to receive target medical resources according to their priority allocation weights, such as two batches. The first batch consists of multiple objects with a higher priority allocation weight or a preset weight threshold, and the second batch consists of multiple objects with a lower priority allocation weight than the preset weight threshold. The objects from the first batch are then allocated to multiple queues, the number of which can be the number of target medical resource types. The resource allocation method for the first batch of queues can refer to the aforementioned resource allocation example. After all objects in the first batch of queues have been allocated the required target medical resources, resources are then allocated to the objects in the second batch of queues, and the resource allocation method for the second batch of queues is consistent with that of the first batch. Furthermore, when determining the number of objects in the first batch, it can also be based on the available allocation quantity of the target medical resources within a preset time period. For example, if resources need to be allocated to 150 objects, and the available allocation quantity of the target medical resources within the preset time period is 50, then all objects are sorted by their priority allocation weight. The top 50 objects with the highest priority allocation weights are designated as the first batch, and the remaining objects are designated as the second and third batches, without any specific restrictions. It should be noted that the higher the priority allocation weight of an object, the earlier its resource allocation time within the preset time period, and thus the higher the resource utilization efficiency within the preset time period.
[0041] The above exemplary implementation method can determine the initial number of objects for different types of target medical resources, and based on the initial number of objects for different types of target medical resources, allocate multiple types of target medical resources to objects of different object types to maximize the avoidance of delays.
[0042] It should be noted that the delay rate and advance rate of objects of different types when being allocated or arranged to a certain type of target medical resource are complementary. The delay rate is set to... The advance rate is And this latency rate This relates to the number of objects in the initial object allocation queue for each type of target medical resource; the number of these medical objects is... The latency rate exhibits a piecewise linear relationship with the number of objects in the initial object allocation queue for each type of target medical resource, and there exists a threshold value q. Beyond this threshold, the latency rate increases linearly with increasing q. Here, the latency rate... express Function join method, represent A linear combination of these. The piecewise linear relationship of this delay rate is as follows: Figure 2 As shown.
[0043] Furthermore, latency The resource benefit prediction model is then expressed as follows:
[0044]
[0045] To determine the quantity of resources to allocate, constraints can be imposed based on the resource's capacity; this can be achieved by introducing a capacity constraint factor. As a conditional constraint, the resource capacity constraint is expressed as follows:
[0046]
[0047] To achieve a balanced allocation of resources among different types of medical objects, an allocation balance constraint can be introduced, where Q represents capacity. For example, this allocation balance constraint can be set to the number of 5 objects. The allocation balance constraint can be specifically defined as follows:
[0048]
[0049] Furthermore, to avoid excessive initial allocation of various types of target medical resources to different types of medical subjects, which could cause excessive delays in receiving these resources and reduce their efficiency, a delay rate limit or threshold can be set. For example, a maximum allowed delay rate of 5% could be set. Therefore, the target medical resources can be expanded based on the maximum latency rate and the number of allocable target medical resources within a preset time period, or the number of allocable objects in the object allocation queue can be determined.
[0050] This application provides a method for allocating medical resources, which can be executed by a terminal or a server, or by the terminal and the server respectively or jointly.
[0051] Take the execution of this medical resource allocation method by the server as an example.
[0052] For details, see Figure 1 , Figure 1This is a schematic diagram of a resource allocation system provided in this application embodiment, comprising two parts: a backend server and a terminal. The server can be a single server or a server cluster consisting of multiple servers, or it can be a server providing specific data services. The terminal can enjoy the resource reservation service provided by the server. The reservation data generated on the terminal needs to be uploaded to the server for data processing, management, and storage. It should be noted that in this embodiment, the terminal can be any individual terminal, such as a mobile phone or computer; it can enable a single terminal to send resource reservation information to the resource management server, or multiple terminals to send resource reservation information to the resource management server simultaneously.
[0053] The implementation method for the terminal to send resource request or reservation information to the server can be as follows: Log in to the target medical resource management page of the server through a browser on the terminal, input or select relevant information on the target medical resource management page to establish and save the reservation information for the target medical resource; alternatively, input or select relevant target medical resource information through a target medical resource application installed on the terminal to generate reservation information for the target medical resource; furthermore, reservation information for the target medical resource can be generated using the terminal's voice function, SMS function, or other reservation methods. The terminal then sends the reservation information generated in the above manner to the server, so that the server corresponding to the target medical resource receives the reservation information for storage, data processing, and resource allocation.
[0054] Upon receiving reservation information, the server of the resource supply platform corresponding to the target medical resource can directly obtain the reservation information of the target medical object, or retrieve the reservation information of the target medical object from the server's storage space after a preset time has elapsed, in order to perform relevant data processing according to the corresponding data processing strategy. In this embodiment, the server's data processing process can be specifically as follows: obtaining a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight; determining the number of objects occupying the target medical resource within a preset time period; generating an object allocation queue for the target medical resource based on the number of objects occupied and the object type; when it is detected that the allocation quantity in the object allocation queue is greater than the total resource quantity of the target medical resource, expanding the target medical resource according to preset resource expansion information; and allocating the expanded target medical resource to the target medical object based on the priority allocation weight.
[0055] It should be noted that, Figure 1The schematic diagram of the resource allocation system of the terminal shown is merely an example. The resource allocation system and scenario described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of resource allocation systems and the emergence of new business scenarios, the technical solutions provided in this application embodiment are also applicable to similar technical problems.
[0056] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0057] This application provides a method for allocating medical resources, which can be executed by a terminal or a server, or by both a terminal and a server.
[0058] This application uses the example of a medical resource allocation method executed by a server to illustrate the following embodiments.
[0059] like Figure 3 As shown, Figure 3 The flowchart provided in this application embodiment illustrates a medical resource allocation method. When the processor on the server executes the program corresponding to the medical resource allocation method, the specific flow of the medical resource allocation method can be as follows:
[0060] Step 210: Obtain the resource allocation request. The resource allocation request includes the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0061] The target medical client can be an individual or a group, such as an individual, enterprise, collective, community, or organization. It should be noted that when the target medical client is a group consisting of multiple individuals, operations are conducted on a group-by-group basis, such as applying for or reserving resources. It is understandable that when resources are applied for or reserved on a group-by-group basis, the demand for reserved resources is usually quite high.
[0062] The reservation information refers to the resource reservation or material request information sent by the target medical patient to the server of the resource provider or resource distributor. This reservation information includes, but is not limited to, the target medical resource, the reservation time, the resource demand level, the number of resources reserved, the target medical patient's identity information, and the target medical patient's tag information; these are not limited here. Specifically, the target medical resource refers to the resource reserved or requested by the target medical patient, such as medical resources, supplies, or shared resources. The resource demand level refers to the target medical patient's level of need for the target medical resource. This level can be set by the target medical patient themselves, or it can be generated by the resource management platform based on the user's input of resource demand level information. It can also be generated based on the target medical patient's credit weight combined with the user's input information. This resource demand level reflects the timeliness of the target medical patient's reservation of the target medical resource. The target medical patient's tag information can be information about the target medical patient's historical reservations of target medical resources or other resources with the platform or resource provider. This tag information can also reflect the target medical patient's resource usage and / or the efficiency of resource usage. Furthermore, it is understandable that the appointment time for this resource can be the time when the target medical individual makes an appointment for the target medical resource.
[0063] In some implementations, obtaining a resource allocation request includes: receiving resource application information from a target medical object; parsing the resource application information to obtain the target medical resource requested by the target medical object, the object type of the target medical object, the time limit for resource demand, and the appointment time; obtaining the priority allocation weight corresponding to the time limit for resource demand and the appointment time; and generating a resource allocation request for the target medical object based on the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0064] Specifically, when a target medical individual requests resources from a resource provider or supply platform, they typically do so by filling out resource application or reservation information. Since resources may include one or more types, to expedite resource allocation, the target medical individual can independently select the relevant type of target medical resource when applying for or reserving it. It should be noted that this resource demand timeframe refers to the timeframe requested by the target medical individual when reserving the resource, reflecting the urgency of their need for the resource. For example, the target medical individual can choose to set this timeframe to 1 hour, 5 hours, 1 day, or 5 days, etc., without specific limitations here. The reservation time can be the time when the target medical individual applies for or reserves the target medical resource. Furthermore, based on the resource reservation timeframe and reservation time, a priority allocation weight is generated when allocating the target medical resource to the target medical individual. This priority allocation weight determines the degree of priority or priority reflected in the allocation of the target medical resource to the target medical individual.
[0065] The object type of the target medical object can be set according to the resource demand or urgency level of the target medical object, such as high urgency, medium urgency, and non-urgency. Alternatively, the object type can be set as a / b / c / d / ...p, where each object type represents urgency or the demand for different types of target medical resources. For example, each target medical object needs different types of target medical resources, and the resource demand level varies for each target medical object type. If the target medical object's object type is type a, a preset list of object types and demand levels can be consulted to obtain the demand levels for different types of target medical resources corresponding to type a. In some implementations, the target medical object's demand level for target medical resources can be obtained, and the object type of the target medical object can be determined based on this demand level. Another implementation method is to obtain the resource demand level of the target medical object for different types of target medical resources, and determine the object type of the target medical object based on the resource demand level corresponding to different types of target medical resources.
[0066] In some implementations, obtaining a resource allocation request includes: receiving resource application information from a target medical subject; the resource application information includes the target medical resource requested by the target medical subject, the timeliness of the resource demand, and the identity information of the target medical subject; determining the credit weight value of the target medical subject based on the identity information; determining the object type of the target medical subject based on the credit weight value and the timeliness of the resource demand; generating a priority allocation weight for the target medical subject based on the object type; and obtaining the resource allocation request of the target medical subject based on the target medical resource, the object type of the target medical subject, and the priority allocation weight.
[0067] It should be noted that this credit weight reflects the target medical individual's credit on the platform supplying the target medical resources, or their credit in various social activities, such as credit for loans, applications for supplies, and rentals of resources. Specifically, the credit weight is generated from the target medical individual's credit record when applying for target medical resources on the resource supply platform. This credit weight, combined with the timeliness of resource reservations, determines the target medical individual's resource needs. This effectively prevents individuals from maliciously occupying target medical resources or subjectively setting timeliness for resource requests to prioritize access, leading to inaccurate resource allocation and affecting the resource allocation progress for others with urgent needs, thus hindering resource management.
[0068] In some implementations, obtaining a resource allocation request includes: receiving resource application information from a target medical patient; parsing the resource application information to obtain the target medical resource requested by the target medical patient, the object type of the target medical patient, the timeliness of the resource demand, and the resource reservation time; determining the time priority coefficient of the target medical patient when allocating the target medical resource based on the resource reservation time; obtaining the demand priority coefficient of the target medical patient based on the degree of resource demand; generating a priority allocation weight for the target medical patient when allocating the target medical resource based on the time priority coefficient and the demand priority coefficient; and obtaining the resource allocation request of the target medical patient based on the target medical resource, the object type of the target medical patient, and the priority allocation weight.
[0069] In this embodiment, the time priority coefficient of the target medical patient is determined based on the resource reservation time in the reservation information. This is mainly determined by the order of the resource reservation times. For example, the resource reservation time of the target medical patient is compared with the resource reservation times of other patients for the same target, thus determining the reservation order of the target medical patient relative to the other patients. This sorts the resource allocation of the target medical patient based on the resource reservation time, ensuring fairness in resource allocation by implementing a first-come, first-served system. Furthermore, a demand priority coefficient corresponding to the target medical patient can be obtained based on the degree of resource demand. For example, a preset resource demand priority coefficient table can be consulted to obtain the demand priority coefficient; or the resource demand degree of the target medical patient is compared with the resource demand degree of other patients for the same target, thus determining the timeliness of the target medical patient's resource demand relative to the other patients, thereby obtaining the demand priority coefficient for the other patients. Further, a priority allocation weight is generated by combining the time priority coefficient and the demand priority coefficient of the target medical patient.
[0070] In some implementations, obtaining the appointment information of the target medical object includes: receiving resource application information corresponding to the target medical object; parsing the resource application information to obtain the target medical resource, resource appointment time, resource demand timeliness, and tag information of the target medical object, wherein the tag information of the target medical object is the resource usage record information of the target medical object in historical time; determining the resource timeliness adjustment parameters of the target medical object based on the target medical resource and the tag information of the target medical object; determining the priority allocation weight of the target medical object based on the resource timeliness adjustment parameters and the resource demand timeliness; and obtaining the resource allocation request of the target medical object based on the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0071] Specifically, when a target medical individual makes a reservation for resources from a resource provider or resource supply platform, they typically do so by filling out resource application or reservation information. Since resources may include one or more types, to expedite resource allocation, the target medical individual can independently select the relevant type of target medical resource when applying for or reserving it.
[0072] It should be noted that the resource demand timeliness refers to the timeliness of resource allocation requested by the target medical individual when booking the target medical resource, reflecting the urgency of the target medical individual's need for the target medical resource. The target medical individual's tag information refers to their historical resource usage records. It should be noted that this resource usage record information can be the usage record of the target medical resource, or it can be the usage record of other resources. Through this target medical individual's tag information, the corresponding resource timeliness adjustment parameters can be determined, thus determining the target medical individual's resource demand level.
[0073] Specifically, in some implementations, the tag information of the target medical patient can be obtained. Based on the tag information, the resource usage record of the target medical patient can be determined. Based on the resource usage record, the resource availability adjustment parameters of the target medical patient can be evaluated. For example, when a target medical patient makes an appointment for medical resources, the corresponding medical resource usage record can be obtained based on the target medical patient's tag information. Based on this medical resource usage record, the target medical patient's medical resource consumption status over a historical period can be determined, such as whether the type of resource booked by the target medical patient in a historical period is the same as the target medical resource. On the one hand, if it is determined that the type of resource booked by the target medical patient in a historical period is the same as the target medical resource, the target medical patient's physical condition can also be inferred based on the medical resource consumption status. For example, based on the appointment interval, it can be determined whether the target medical patient has recovered or whether it is an urgent follow-up visit, so as to generate a correlation coefficient between the medical resource consumption status and the target medical resource. On the other hand, if it is determined that the type of resource booked by the target medical patient in a historical period is different from the target medical resource, the correlation between the medical resource consumption status and the target medical resource is determined, so as to generate a correlation coefficient. Furthermore, based on the correlation coefficient, corresponding resource timeliness adjustment parameters are generated, and the corresponding priority allocation weights are determined according to the resource timeliness adjustment parameters and the resource demand timeliness independently input by the target medical object.
[0074] In other implementations, the tag information of the target medical patient is obtained, and the resource usage record of the target medical patient is determined based on the tag information. The resource timeliness adjustment parameter of the target medical patient is then evaluated based on the resource usage record. For example, when the target medical patient makes an appointment for medical resources, the corresponding medical resource usage record can be obtained based on the target medical patient's tag information. When a usage record for a target medical resource is detected in the target medical patient's resource usage record, or when a usage record for the same resource as the target medical resource is detected in the target medical patient's resource usage record, the resource demand level of the target medical resource corresponding to the target medical resource is obtained, indicating that the target medical patient has a relatively strict timeliness requirement for the target medical resource. Therefore, the resource timeliness adjustment parameter of the target medical patient is determined. This resource timeliness adjustment parameter is typically used to accelerate the efficiency of resource allocation to the target medical patient. Furthermore, the current priority allocation weight of the target medical patient is determined based on the resource timeliness adjustment parameter and the resource demand timeliness.
[0075] It should be noted that the level of resource demand can also be determined by directly selecting the target medical subjects, or by other methods that are equivalent to or similar to the above implementation methods.
[0076] Step 220: Determine the number of objects occupying the target medical resources within the preset time period.
[0077] This allocation quantity refers to the number of objects for which the target medical resources need to be allocated within a preset time period, based on the resource allocation requests of the target medical patients. The allocation quantity of these target medical resources allows for the allocation of resources to the target medical patients.
[0078] In some implementations, step 220 may specifically include: extracting the priority allocation weight from the resource allocation request corresponding to each target medical object; sorting the priority allocation weights corresponding to the target medical objects to obtain the priority allocation weight sorting result; pre-allocating the target medical resources within a preset time period to the target medical objects based on the priority allocation weight sorting result; and determining the number of objects occupying the target medical resources within the preset time period.
[0079] Specifically, the priority allocation weight values of target medical objects are used to sort them, resulting in a priority allocation weight ranking. This ranking determines the position of each object in the weight ranking, reflecting its relative weight order to other objects. Based on this weight order, the priority order of each object in resource allocation can be determined. Specifically, during the pre-allocation of target medical resources, objects to be allocated in the priority allocation weight ranking are determined based on a preset allocation weight threshold. This can be achieved by: acquiring objects to be allocated that meet the preset allocation weight threshold from the priority allocation weight ranking, designating these objects as target medical objects, and pre-allocating target medical resources for a preset time period to these objects; and determining the number of objects occupying target medical resources within the preset time period. By determining the number of objects occupying target medical resources using the above method, the required quantity of target medical resources can be estimated, providing reference data or standards for subsequent resource expansion and improving resource supervision.
[0080] Step 230: Generate an object allocation queue for the target medical resources based on the quantity occupied and the object type.
[0081] This object allocation queue is the allocation queue for objects that need to be allocated to the target medical resource. It includes multiple objects at the start of the target medical resource allocation process. When generating the object allocation queue for the target medical resource, it can be based on the number of target medical resources occupied and the object types of the target medical objects, resulting in the object allocation queue containing multiple objects of different types, multiple objects of the same type, or a combination of multiple objects of the same type and different types.
[0082] In some implementations, step 230 specifically includes: obtaining a preset resource allocation ratio corresponding to the target medical resources within a preset time period; setting the object quantity ratio of different object types in the target medical resources according to the preset resource allocation ratio, the number of objects occupied, and the object type; and generating an object allocation queue for the target medical resources according to the object quantity ratio of different object types in the target medical resources.
[0083] Specifically, within a preset time period, to achieve equitable or as fair as possible allocation of target medical resources among different object types, a resource allocation ratio can be pre-set. This ratio can be the proportion of the number of objects of different object types in the target medical resource allocation. In implementation, the proportion of different object types within the target medical resources is set based on this resource allocation ratio, the quantity of target medical resources occupied, and the object types, thus generating an object allocation queue for the target medical resources. It should be noted that when setting the resource allocation ratio, the resource supply platform can set different resource allocation ratios for different time periods. When setting this ratio, the platform can obtain the proportion of different object types in the preset time period corresponding to the historical allocation records of the target medical resources, thereby generating the resource allocation ratio within the preset time period based on the proportion of different object types. Furthermore, the platform can obtain the proportion of different object types in the preset time period corresponding to the historical allocation records of the target medical resources, identifying resource allocation ratios with better resource utilization efficiency within the historical allocation records. Generating the object allocation queue for the target medical resources in this way ensures fairness in resource allocation among different object types in subsequent resource allocations and achieves greater resource utilization efficiency.
[0084] In some implementations, step 230 specifically includes: estimating the number of objects of different object types included in the target medical resource based on the occupied quantity and object type; comparing the estimated number of objects of different object types to obtain a comparison result; when the difference between the number of objects of different object types in the comparison result is greater than a preset object number threshold, adjusting the number of target medical objects of different types according to the preset object number threshold until the difference between the number of objects of different object types in the comparison result is no longer greater than the preset object number threshold, obtaining the adjusted number of objects of different object types; and generating an object allocation queue for the target medical resource based on the adjusted number of objects of different object types.
[0085] Specifically, the number of objects of different object types within the target medical resources to be allocated is estimated. The number of objects of any two different object types is compared, and the difference between the number of objects of these two different object types is checked to see if it exceeds a preset threshold. If the threshold is 5, then the difference between the number of objects of any two different object types in the target medical resources allocated must not exceed 5. This implementation method maximizes resource utilization efficiency while ensuring fairness in resource allocation among different object types, thus meeting the resource needs of different object types.
[0086] In some implementations, step 230 specifically includes: obtaining the priority allocation weights corresponding to target medical objects of different object types; sorting the priority allocation weights of target medical objects of the same object type to obtain the priority allocation weight sorting results corresponding to different object types; and generating an object allocation queue for target medical resources based on the number of target medical resources occupied and the priority allocation weight sorting results corresponding to different object types.
[0087] Specifically, the occupied quantity of the target medical resource is the available quantity of the target medical resource within a preset time period. Since the number of objects awaiting allocation of the target medical resource may exceed the available quantity of resources within the preset time period, the priority allocation weights corresponding to each object type can be sorted by size to obtain priority allocation weight ranking results for different object types. Based on the available quantity of the target medical resource within the preset time period, multiple target medical objects are obtained from the priority allocation weight ranking results for different object types. For example, target medical objects with higher priority allocation weights of the same object type are selected as objects awaiting allocation. An object allocation queue for the target medical resource is generated based on these multiple objects awaiting allocation. Through the above implementation method, a balanced allocation of the target medical resource among objects of different object types can be achieved, ensuring fairness in the allocation of target medical resource capacity.
[0088] Step 240: When it is detected that the number of objects allocated in the allocation queue is greater than the total amount of target medical resources, the target medical resources are expanded according to the preset resource expansion information.
[0089] The total amount of the target medical resource is the resource capacity or allocable quantity of the target medical resource within a preset time period. Within the preset time period, each unit of resource can be allocated to one target medical subject. For example, taking the field of medical resources as an example, an examination item within medical resources can be considered as the target medical resource. This examination item can be performed by medical personnel or medical devices. If the maximum number of times the medical device for this examination item can be used within one hour is 20, and the examination cycle for each use of the medical device is 3 minutes, then the resource capacity of this examination item is 20 units of resource. This means that within one hour, medical personnel can examine 20 target medical subjects using the medical device, and the total amount of the target medical resource is 20 allocable quantities. Furthermore, this examination item can also have multiple identical or equivalent medical devices to examine different subjects simultaneously, increasing the allocable quantity of resources within the preset time period.
[0090] By obtaining the allocation quantity of objects in the object allocation queue, this allocation quantity is compared with the total amount of target medical resources within a preset time period. If the comparison result indicates that the allocation quantity in the object allocation queue exceeds the total amount of target medical resources, the target medical resources are expanded according to preset resource expansion information. This preset resource expansion information may include the expandable quantity of the target medical resources, the equivalent resources corresponding to the target medical resources, and the expandable quantity of the equivalent resources corresponding to the target medical resources.
[0091] In some implementations, step 240 may specifically include: obtaining preset resource expansion information corresponding to the target medical resource; searching for resources identical to the target medical resource based on the preset resource expansion information; and expanding the target medical resource based on the found resources identical to the target medical resource.
[0092] Specifically, when the number of allocations in the object allocation queue is detected to be greater than the total amount of target medical resources, an emergency strategy can be adopted. This emergency strategy can be to call other mitigation resources or to increase other channels for target medical resources. For ease of understanding, the target medical resources are taken as the first resource path, and calling other mitigation resources or other channels for target medical resources are taken as the second resource path for target medical resources. The second resource path can be used to alleviate the resource allocation pressure on the first resource path when resource allocation is delayed. In the above implementation, the resources that are the same as the target medical resources belong to the resources of the second resource path. By obtaining the preset resource expansion information, the resources that are the same as the target medical resources corresponding to the second resource path are found, so as to expand the target medical resources according to the resources that are the same as the target medical resources.
[0093] The above implementation method of this embodiment is only an exemplary case, and other equivalent or similar technical solutions are still within the protection scope of this embodiment.
[0094] Step 250: Allocate the expanded target medical resources to the target medical recipients based on priority allocation weights.
[0095] In this embodiment, when allocating target medical resources, the allocation order of the target medical resources can be determined according to the priority allocation weight of the target medical objects, so as to ensure that objects with higher priority allocation weights are allocated to the target medical resources and improve the utilization efficiency after resource allocation.
[0096] In some implementations, step 250 may specifically include: calculating the total amount of expanded target medical resources; comparing the total amount of expanded target medical resources with the allocation quantity in the object allocation queue; and when the total amount of expanded target medical resources is less than the allocation quantity in the object allocation queue, allocating the expanded target medical resources to a portion of the target medical objects in the object allocation queue according to the priority allocation weight.
[0097] Specifically, after expanding the target medical resources, the number of available resources within the preset time period remains limited. When the number of individuals requiring allocation is large, the expanded resources may not be sufficient for all. In this case, the allocation order of the target medical resources can be determined based on the priority allocation weight of each individual, and the resources can be allocated accordingly. This approach ensures that individuals with higher priority allocation weights are assigned to the target medical resources, thus improving resource utilization efficiency after allocation.
[0098] In step 250, the above implementation method is used to allocate target medical resources to target medical subjects, which can meet the needs of subjects with different priority allocation weights for target medical resources, improve the control of resources, enhance the efficiency of resource utilization, and has reliability.
[0099] As can be seen from the above, the embodiments of this application can obtain resource allocation requests, which include target medical resources, object types of target medical objects, and priority allocation weights; determine the number of objects occupying target medical resources within a preset time period; generate an object allocation queue for target medical resources based on the number of objects occupied and the object types; when it is detected that the allocation quantity in the object allocation queue is greater than the total amount of target medical resources, expand the target medical resources according to preset resource expansion information; and allocate the expanded target medical resources to target medical objects based on the priority allocation weights. This scheme generates an object allocation queue by using the number of objects occupying target medical resources and the object types within a preset time period. When the total amount of target medical resources cannot meet the allocation quantity in the object allocation queue, it expands the preset resource quantity corresponding to the target medical resource to increase the investment of target medical resources. Based on the priority allocation weights, it allocates the expanded target medical resources to meet the user's urgent need for target medical resources, improves the efficiency of resource utilization, and has reliability.
[0100] Based on the methods described in the above embodiments, the following examples will provide further detailed explanations.
[0101] In this embodiment, a method for allocating medical resources is provided. This method can be executed by a terminal or a server, or by both a terminal and a server. This embodiment will illustrate the method by example, where the method is executed by a server.
[0102] like Figure 4 As shown, Figure 4This is another flowchart illustrating the medical resource allocation method provided in this application embodiment. When the processor on the server executes the program corresponding to the medical resource allocation method, the specific flow of the medical resource allocation method can be as follows:
[0103] For ease of understanding, this embodiment uses a medical resource allocation method as an example. In this embodiment, the target medical object can be an individual patient or a group that needs medical resources, and the target medical resources can be medical resource items such as physical examinations, disease diagnosis, and preoperative examinations.
[0104] Step 301: Receive the resource application information corresponding to the target medical patient.
[0105] When individual patients or groups have a need for medical resources, they can make reservations for medical resources through terminal devices. This includes, but is not limited to, filling in resource application information on the terminal device, such as the medical resource item, the time of reservation, the time required for the medical resource, the personal information of the medical resource user, and the resource user's resource usage history.
[0106] The terminal device sends the resource request information corresponding to the target medical object, and the server of the medical resource platform receives the resource request information.
[0107] Step 302: Parse the resource application information to obtain the target medical resources, resource appointment time, resource demand timeliness, and tag information of the target medical subjects.
[0108] Because resource application information is relatively large, and to prevent garbled characters or information tampering during transmission, the application information is usually encrypted or its security is improved by converting the data format, such as using hash code algorithms. After receiving the resource application information, the server of the medical resource platform needs to parse it to obtain relevant data, such as the target medical resource, the appointment time of the target medical resource, the timeliness of the demand for the target medical resource, and the tag information of the target medical patient. The tag information of the target medical patient includes their historical medical resource usage records, such as their medical records or records of medical resource usage.
[0109] Step 303: Determine the resource timeliness adjustment parameters for the target medical object based on the tag information of the target medical resources and the target medical object.
[0110] By obtaining the target medical patient's tag information, historical medical resource usage records can be obtained. These records provide access to the target medical patient's medical history or past medical resource usage. The relevance of this historical record to the target medical patient's current application for a specific medical resource can be determined, such as whether it is related to a resource in the usage record. Based on this relevance, it can be determined whether the target medical patient is returning for a follow-up visit, experiencing symptom recurrence, or whether there is a treatment strategy relationship between the current application and the previous symptom. Finally, by combining the determined relevance of the target medical resource with the target medical resource application, resource validity adjustment parameters for that specific medical resource are generated.
[0111] Step 304: Determine the priority allocation weight of the target medical resources for the target medical subjects based on the resource timeliness adjustment parameters and resource demand timeliness.
[0112] The resource demand timeliness of the target medical object is adjusted by using the resource timeliness adjustment parameters of the target medical object. The priority allocation weight of the target medical object for the target medical resources is determined based on the adjusted resource demand timeliness. This priority allocation weight can reflect whether the medical resource supply platform confirms that the target medical object has a real-time requirement or urgent need for the target medical resources within a preset time period, thereby determining the resource allocation priority of the target medical object.
[0113] Step 305: Based on the target medical resources, the object type of the target medical object, and the priority allocation weight, obtain the resource allocation request of the target medical object.
[0114] It should be noted that, in order to facilitate the management of resource application information, the medical resource platform can integrate various types of information to form appointment information. This appointment information includes the target medical resources booked by the target medical patient, the type of the target medical patient, and the priority allocation weight, and generates a resource allocation request corresponding to the appointment information.
[0115] Step 306: Determine the number of objects occupying the target medical resources within the preset time period.
[0116] Specifically, the number of target medical resources occupied is the number of target medical resources available for occupancy within a preset time period, but it is not limited to this. The number of target medical resources occupied may also be defined as covered by other embodiments of this application.
[0117] Step 307: Obtain the priority allocation weights corresponding to target medical objects of different object types.
[0118] Step 308: Sort the priority allocation weights of target medical objects of the same object type to obtain the priority allocation weight sorting results corresponding to different object types.
[0119] Specifically, the resource allocation priority of a target medical individual relative to other individuals is determined based on the patient's priority allocation weight. When determining the resource allocation priority of a target medical individual, it can be sorted according to the weight distribution, which is not limited to high, medium, and low weights, but can also be based on a demand level, such as first-level, second-level, third-level, and fifth-level weights. It can also be a priority allocation weight value, which is not limited here. To determine the weight priority, the corresponding priority allocation weight table can be consulted based on the patient's priority allocation weight to obtain the target medical individual's weight priority. Alternatively, the target medical individual's priority allocation weight can be compared with the priority allocation weights of other individuals to obtain the target medical individual's weight priority. For example, the priority allocation weights corresponding to each individual type can be sorted by size to obtain a ranking result of priority allocation weights for different individual types. The weight priority of the target medical individual can be determined based on the weight ranking result.
[0120] Step 309: Generate an object allocation queue for the target medical resources based on the number of target medical resources occupied and the priority allocation weights of different object types.
[0121] Specifically, based on the available quantity of medical resources within a preset time period, multiple target medical objects are obtained from the priority allocation weight ranking results corresponding to different patient types. For example, patients with higher priority allocation weights for the same patient type are selected as objects to be allocated. An object allocation queue for target medical resources is generated based on multiple patients of different object types. Through the above implementation method, a balanced allocation of medical resources among objects of different object types can be achieved, ensuring fairness in the allocation of medical resource capacity.
[0122] Step 310: When it is detected that the number of objects allocated in the allocation queue is greater than the total amount of target medical resources, expand the target medical resources according to the preset resource expansion information.
[0123] The server of the medical resource platform obtains the preset resource expansion information corresponding to the target medical resource, searches for resources that are the same as the target medical resource based on the preset resource expansion information, and expands the medical resource based on other medical resources that are the same as the target medical resource found.
[0124] Step 311: Allocate the expanded target medical resources to the target medical recipients based on priority allocation weights.
[0125] Specifically, the expanded medical resources are allocated to patients based on their priority allocation weight in the target medical resource allocation process. It should be noted that after expanding the target medical resources, the number of available resources within the preset time period remains limited. When the number of patients awaiting allocation is large, the expanded resources may not be sufficient for all patients. In this case, the allocation order can be determined based on the priority allocation weight of the target patients, and the resources can be allocated according to this order. This implementation method ensures that patients with higher priority allocation weights are allocated target medical resources, i.e., those with an urgent need for target medical resources are allocated them, thus improving the utilization efficiency of the allocated resources.
[0126] The description of the medical resource allocation method in this embodiment is consistent with that in the previous embodiments, and can be referred to the previous embodiments for details, which will not be repeated here. In addition, the medical resource allocation methods for physical examinations, disease diagnosis, prenatal examinations, etc., listed in this embodiment are the same as or similar to the medical resource allocation methods for preoperative examinations. The implementation of the medical resource allocation methods for physical examinations, disease diagnosis, prenatal examinations, etc., can be referred to this embodiment.
[0127] To facilitate better implementation of the above methods, this application also provides a medical resource allocation device, which can be specifically integrated into a terminal. The meanings of the terms used are the same as in the above-described medical resource allocation method, and specific implementation details can be found in the descriptions within the method embodiments.
[0128] For example, such as Figure 5a As shown, Figure 5a This is a schematic diagram of the structure of a first embodiment of the medical resource allocation device provided in this application. The medical resource allocation device may include an acquisition unit 510, a determination unit 520, a generation unit 530, an expansion unit 540, and an allocation unit 550, as follows:
[0129] The acquisition unit 510 is used to acquire resource allocation requests, which include target medical resources, the object type of the target medical object, and priority allocation weights; the determination unit 520 is used to determine the number of objects occupying the target medical resources within a preset time period; the generation unit 530 is used to generate an object allocation queue for the target medical resources based on the number of objects occupied and the object type; the expansion unit 540 is used to expand the target medical resources according to preset resource expansion information when it is detected that the number of objects allocated in the object allocation queue is greater than the total amount of target medical resources; and the allocation unit 550 is used to allocate the expanded target medical resources to the target medical objects based on the priority allocation weights.
[0130] In some embodiments, the acquisition unit 510 may include: a receiving subunit for receiving resource application information of a target medical object; a parsing subunit for parsing the resource application information to obtain the target medical resource requested by the target medical object, the object type of the target medical object, the time limit for resource demand, and the appointment time; an acquisition subunit for acquiring the priority allocation weight corresponding to the time limit for resource demand and the appointment time; and a generation subunit for generating a resource allocation request for the target medical object based on the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0131] In some embodiments, reference Figure 5b The acquisition unit 510 may include: a receiving subunit 511, used to receive resource application information of the target medical object; the resource application information includes the target medical resources requested by the target medical object, the timeliness of the resource demand, and the identity information of the target medical object; a first determining subunit 512, used to determine the credit weight value of the target medical object based on the identity information of the target medical object; a judging subunit 513, used to determine the object type of the target medical object based on the credit weight value and the timeliness of the resource demand; a first generating subunit 514, used to generate the priority allocation weight of the target medical object based on the object type of the target medical object; and a first acquisition subunit 515, used to acquire the resource allocation request of the target medical object based on the target medical resources, the object type of the target medical object, and the priority allocation weight.
[0132] In some embodiments, the acquisition unit 510 is further configured to: receive resource application information of the target medical object; parse the resource application information to obtain the target medical resource requested by the target medical object, the object type of the target medical object, the timeliness of the resource demand, and the resource reservation time; determine the time priority coefficient of the target medical object when allocating the target medical resource based on the resource reservation time; obtain the demand priority coefficient of the target medical object based on the degree of resource demand; generate the priority allocation weight of the target medical object when allocating the target medical resource based on the time priority coefficient and the demand priority coefficient; and obtain the resource allocation request of the target medical object based on the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0133] In some embodiments, the acquisition unit 510 further includes: a receiving subunit for receiving resource application information corresponding to the target medical object; a parsing subunit for parsing the resource application information to obtain the target medical resource, resource appointment time, resource demand timeliness, and tag information of the target medical object, wherein the tag information of the target medical object is the resource usage record information of the target medical object in historical time; a generating subunit for generating resource timeliness adjustment parameters for the target medical object based on the target medical resource and the tag information of the target medical object; a determining subunit for determining the priority allocation weight of the target medical object based on the resource timeliness adjustment parameters and resource demand timeliness; and an acquisition subunit for acquiring the resource allocation request of the target medical object based on the target medical resource, the object type of the target medical object, and the priority allocation weight.
[0134] In some embodiments, reference Figure 5c The determining unit 520 includes: an extraction subunit 521, used to extract the priority allocation weights from the resource allocation requests corresponding to each target medical object; a sorting subunit 522, used to sort the priority allocation weights corresponding to the target medical objects to obtain a priority allocation weight sorting result; a pre-allocation subunit 523, used to pre-allocate the target medical resources within a preset time period to the target medical objects based on the priority allocation weight sorting result; and a second determining subunit 524, used to determine the number of objects occupying the target medical resources within the preset time period.
[0135] In some embodiments, reference Figure 5d The generation unit 530 includes: a second acquisition subunit 531, used to acquire a preset resource allocation ratio corresponding to the target medical resources within a preset time period; a setting subunit 532, used to set the object quantity ratio of different object types in the target medical resources according to the preset resource allocation ratio, the number of objects occupied and the object type; and a second generation subunit 533, used to generate an object allocation queue for the target medical resources according to the object quantity ratio of different object types in the target medical resources.
[0136] In some embodiments, the generation unit 530 may further include: an estimation subunit, configured to estimate the number of objects of different object types contained in the target medical resource based on the occupied quantity and object type; to compare the estimated number of objects of different object types by the comparison subunit to obtain a comparison result; an adjustment subunit, configured to adjust the number of target medical objects of different types according to the preset object number threshold when the difference between the number of objects of different object types in the comparison result is greater than the preset object number threshold, until the difference between the number of objects of different object types in the comparison result is no longer greater than the preset object number threshold, thereby obtaining the adjusted number of objects of different object types; and a generation subunit, configured to generate an object allocation queue for the target medical resource based on the adjusted number of objects of different object types.
[0137] In some embodiments, the generation unit 530 may further include: an acquisition subunit, used to acquire priority allocation weights corresponding to target medical objects of different object types; a sorting subunit, used to sort the priority allocation weights of target medical objects of the same object type to obtain priority allocation weight sorting results corresponding to different object types; and a generation subunit, used to generate an object allocation queue for target medical resources based on the number of target medical resources occupied and the priority allocation weight sorting results corresponding to different object types.
[0138] In some embodiments, see Figure 5e The expansion unit 540 may include: a third acquisition subunit 541, used to acquire preset resource expansion information corresponding to the target medical resource; a search subunit 542, used to search for resources that are the same as the target medical resource according to the preset resource expansion information; and an expansion subunit 543, used to expand the target medical resource according to the resources that are the same as the target medical resource found.
[0139] In some embodiments, see Figure 5f The allocation unit 550 may include: a calculation subunit 551, used to calculate the total amount of expanded target medical resources; a comparison subunit 552, used to compare the total amount of expanded target medical resources with the allocation quantity of the object allocation queue; and an allocation subunit 553, used to allocate the expanded target medical resources to a portion of the target medical objects in the object allocation queue according to the priority allocation weight when the total amount of expanded target medical resources is less than the allocation quantity of the object allocation queue.
[0140] As can be seen from the above, the embodiments of this application can obtain resource allocation requests through the acquisition unit 510, which includes target medical resources, object types of target medical objects, and priority allocation weights; determine the number of objects occupying target medical resources within a preset time period through the determination unit 520; generate an object allocation queue for target medical resources based on the number of objects occupied and the object types through the generation unit 530; expand the target medical resources according to preset resource expansion information when the allocation quantity in the object allocation queue is detected to be greater than the total amount of target medical resources; and allocate the expanded target medical resources to target medical objects based on the priority allocation weights. This scheme generates an object allocation queue based on the number of objects occupying target medical resources and the object types within a preset time period. When the total amount of target medical resources cannot meet the allocation quantity in the object allocation queue, the preset resource quantity corresponding to the target medical resources is expanded to increase the investment of target medical resources. Based on the priority allocation weights, the expanded target medical resources are allocated to meet the user's urgent needs for target medical resources, improve the efficiency of resource utilization, and have reliability.
[0141] The specific implementation of each of the above units can be found in the previous embodiments, and will not be repeated here.
[0142] This application provides a computer device, as detailed in the embodiments below. Figure 6 It shows a schematic diagram of the structure of the computer device involved in the embodiments of this application, and the specific structure of the computer device is as follows:
[0143] The computer device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0144] The processor 601 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines. By running or executing software programs and / or units stored in the memory 602, and by calling data stored in the memory 602, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the computer device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0145] The memory 602 can be used to store software programs and units. The processor 601 executes various functional applications and data processing by running the software programs and units stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, video playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0146] The computer device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0147] The computer device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0148] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602 to realize various functions, as follows:
[0149] When the computer device is a server, the processor 601 can perform the following actions: obtaining a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight; determining the number of objects occupying the target medical resource within a preset time period; generating an object allocation queue for the target medical resource based on the number of objects occupied and the object type; when it is detected that the number of objects allocated in the object allocation queue is greater than the total amount of the target medical resource, expanding the target medical resource according to preset resource expansion information; and allocating the expanded target medical resource to the target medical object based on the priority allocation weight.
[0150] For details of each of the above operations, please refer to the previous embodiments, which will not be repeated here.
[0151] This application also provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the medical resource allocation method provided in the various optional implementations of the above embodiments.
[0152] This application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute steps in any of the medical resource allocation methods provided in this application. For example, the computer program can execute the following steps:
[0153] The system retrieves resource allocation requests, which include the target medical resource, the object type of the target medical object, and the priority allocation weight. It then determines the number of objects occupying the target medical resource within a preset time period. Based on the number of objects and their types, it generates an object allocation queue for the target medical resource. When it detects that the number of objects in the allocation queue exceeds the total amount of the target medical resource, it expands the target medical resource according to preset resource expansion information. Finally, it allocates the expanded target medical resource to the target medical object based on the priority allocation weight.
[0154] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0155] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the medical resource allocation methods provided in the embodiments of this application, the beneficial effects that any of the medical resource allocation methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0156] The foregoing has provided a detailed description of a medical resource allocation method, apparatus, computer device, computer-readable storage medium, and system provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for allocating medical resources, characterized in that, include: Obtain a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight; Determine the number of objects occupying the target medical resources within a preset time period; Based on the quantity occupied and the object type, an object allocation queue for the target medical resource is generated; When it is detected that the number of allocations in the object allocation queue is greater than the total amount of the target medical resources, the target medical resources are expanded according to the preset resource expansion information to expand the preset number of resources corresponding to the target medical resources and increase the investment of the target medical resources. Based on the aforementioned priority allocation weights, the expanded target medical resources are allocated to the target medical recipients; The step of generating the object allocation queue for the target medical resource based on the occupied quantity and object type includes: Obtain the preset resource allocation ratio corresponding to the target medical resources within the preset time period; The proportion of objects of different object types in the target medical resources is set according to the preset resource allocation ratio, the number of objects occupied, and the object type. An object allocation queue for the target medical resource is generated based on the proportion of objects of different object types in the target medical resource.
2. The method according to claim 1, characterized in that, The request to obtain resource allocation includes: Receive resource request information from the target medical patients; The resource request information is parsed to obtain the target medical resources requested by the target medical patient, the target medical patient's object type, the time limit for resource demand, and the appointment time. Obtain the priority allocation weights corresponding to the timeliness and reservation time of the resource demand; Based on the target medical resources, the object type of the target medical object, and the priority allocation weight, a resource allocation request for the target medical object is generated.
3. The method according to claim 1, characterized in that, The request to obtain resource allocation includes: Receive resource request information from the target medical patient, the resource request information including the target medical resource requested by the target medical patient, the time limit for resource demand, and the identity information of the target medical patient; Based on the identity information of the target medical patient, determine the credit weight value of the target medical patient; The object type of the target medical object is determined based on the credit weight value and the timeliness of the resource demand. Generate a priority allocation weight for the target medical object based on its object type; Based on the target medical resources, the object type of the target medical object, and the priority allocation weight, the resource allocation request of the target medical object is obtained.
4. The method according to claim 1, characterized in that, Determining the number of objects occupying the target medical resources within a preset time period includes: Extract the priority allocation weight from the resource allocation request corresponding to each target medical object; The priority allocation weights corresponding to the target medical objects are sorted to obtain the priority allocation weight sorting results. Based on the priority allocation weight ranking result, the target medical resources within the preset time period are pre-allocated to the target medical objects; Determine the number of objects occupying the target medical resources within a preset time period.
5. The method according to any one of claims 1-4, characterized in that, The process of expanding target medical resources according to preset resource expansion information includes: Obtain the preset resource expansion information corresponding to the target medical resource; Based on the preset resource expansion information, search for resources that are identical to the target medical resource; Expand the target medical resource based on the resources found that are identical to the target medical resource.
6. The method according to claim 5, characterized in that, The process of allocating the expanded target medical resources to the target medical recipients based on the priority allocation weight includes: Calculate the total amount of the target medical resources after expansion; Compare the total amount of the expanded target medical resources with the number of allocations in the object allocation queue; When the total amount of the expanded target medical resources is less than the allocation quantity of the object allocation queue, the expanded target medical resources are allocated to a portion of the target medical objects in the object allocation queue according to the priority allocation weight.
7. A method for allocating medical resources, characterized in that, include: Obtain a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight; Determine the number of objects occupying the target medical resources within a preset time period; Based on the quantity occupied and the object type, an object allocation queue for the target medical resource is generated; When it is detected that the number of allocations in the object allocation queue is greater than the total amount of the target medical resources, the target medical resources are expanded according to the preset resource expansion information to expand the preset number of resources corresponding to the target medical resources and increase the investment of the target medical resources. Based on the aforementioned priority allocation weights, the expanded target medical resources are allocated to the target medical recipients; The step of generating the object allocation queue for the target medical resource based on the occupied quantity and object type includes: Estimate the number of objects of different object types contained in the target medical resource based on the occupied quantity and object type; The estimated number of objects of the different object types is compared with each other to obtain the comparison results; When the difference between the number of objects of different object types in the comparison results is greater than the preset object number threshold, the corresponding number of objects of different object types is adjusted according to the preset object number threshold until there is no difference between the number of objects of different object types in the comparison results that is greater than the preset object number threshold, and the adjusted number of objects of different object types is obtained. The target medical resource object allocation queue is generated based on the adjusted number of objects of different object types.
8. The method according to claim 7, characterized in that, The request to obtain resource allocation includes: Receive resource request information from the target medical patients; The resource request information is parsed to obtain the target medical resources requested by the target medical patient, the target medical patient's object type, the time limit for resource demand, and the appointment time. Obtain the priority allocation weights corresponding to the timeliness and reservation time of the resource demand; Based on the target medical resources, the object type of the target medical object, and the priority allocation weight, a resource allocation request for the target medical object is generated.
9. The method according to claim 7, characterized in that, The request to obtain resource allocation includes: Receive resource request information from the target medical patient, the resource request information including the target medical resource requested by the target medical patient, the time limit for resource demand, and the identity information of the target medical patient; Based on the identity information of the target medical patient, determine the credit weight value of the target medical patient; The object type of the target medical object is determined based on the credit weight value and the timeliness of the resource demand. Generate a priority allocation weight for the target medical object based on its object type; Based on the target medical resources, the object type of the target medical object, and the priority allocation weight, the resource allocation request of the target medical object is obtained.
10. The method according to claim 7, characterized in that, Determining the number of objects occupying the target medical resources within a preset time period includes: Extract the priority allocation weight from the resource allocation request corresponding to each target medical object; The priority allocation weights corresponding to the target medical objects are sorted to obtain the priority allocation weight sorting results. Based on the priority allocation weight ranking result, the target medical resources within the preset time period are pre-allocated to the target medical objects; Determine the number of objects occupying the target medical resources within a preset time period.
11. The method according to any one of claims 7-10, characterized in that, The process of expanding target medical resources according to preset resource expansion information includes: Obtain the preset resource expansion information corresponding to the target medical resource; Based on the preset resource expansion information, search for resources that are identical to the target medical resource; Expand the target medical resource based on the resources found that are identical to the target medical resource.
12. The method according to claim 11, characterized in that, The process of allocating the expanded target medical resources to the target medical recipients based on the priority allocation weight includes: Calculate the total amount of the target medical resources after expansion; Compare the total amount of the expanded target medical resources with the number of allocations in the object allocation queue; When the total amount of the expanded target medical resources is less than the allocation quantity of the object allocation queue, the expanded target medical resources are allocated to a portion of the target medical objects in the object allocation queue according to the priority allocation weight.
13. A medical resource allocation device, characterized in that, include: The acquisition unit is used to acquire a resource allocation request, which includes the target medical resource, the object type of the target medical object, and the priority allocation weight. A determining unit is used to determine the number of objects occupying the target medical resources within a preset time period; A generation unit is used to generate an object allocation queue for the target medical resources based on the quantity occupied and the object type. An expansion unit is used to expand the target medical resources according to preset resource expansion information when it is detected that the number of allocations in the object allocation queue is greater than the total amount of resources of the target medical resources, so as to expand the preset number of resources corresponding to the target medical resources and increase the investment of the target medical resources. An allocation unit is used to allocate the expanded target medical resources to the target medical object based on the priority allocation weight; The generation unit includes: a second acquisition subunit, used to acquire a preset resource allocation ratio corresponding to the target medical resources within a preset time period; a setting subunit, used to set the object quantity ratio of different object types in the target medical resources according to the preset resource allocation ratio, the number of objects occupied and the object type; and a second generation subunit, used to generate an object allocation queue for the target medical resources according to the object quantity ratio of different object types in the target medical resources. Alternatively, the generation unit includes: an estimation subunit, used to estimate the number of objects of different object types contained in the target medical resource based on the occupied quantity and object type; a comparison subunit, used to compare the estimated number of objects of different object types with each other to obtain a comparison result; an adjustment subunit, used to adjust the number of objects of different object types according to the preset object number threshold when the difference between the number of objects of different object types in the comparison result is greater than the preset object number threshold, until there is no longer a difference between the number of objects of different object types in the comparison result that is greater than the preset object number threshold, to obtain the adjusted number of objects of different object types; and a generation subunit, used to generate an object allocation queue for the target medical resource based on the adjusted number of objects of different object types.
14. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-6 or 7-12.