A hospital parking reservation method, device, equipment and readable storage medium
By predicting the number of vehicles arriving in real time and dynamically allocating parking spaces, combined with the appointment information and disease severity of patients, the problem of wasted and scarce parking resources in hospital parking management has been solved, improving the efficiency of parking procedures and medical services.
Patent Information
- Application Number
- CN202510807088.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2045-06-17
AI Technical Summary
The existing hospital parking management system cannot detect changes in patient flow in real time, resulting in a coexistence of parking shortages during peak hours and idle resources during off-peak hours. The fixed parking quota mechanism is prone to increasing the appointment failure rate, which affects the efficiency of patients' medical treatment.
By acquiring vehicle prediction results, available parking space information, and appointment information of patients for the current time period, an LSTM neural network model is used to predict the number of vehicles arriving, dynamically allocate parking space quotas, and determine parking priorities based on patients' appointment time, disease level, and historical appointment status, thereby achieving scientific allocation of parking spaces.
The parking process has been optimized, reducing patient waiting time, improving the efficiency of medical services, ensuring the parking rights of emergency vehicles and high-priority users, and achieving efficient utilization of parking resources.
Smart Images

Figure CN120783563B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of medical management, and in particular to a hospital parking reservation method, apparatus, equipment, and readable storage medium. Background Technology
[0002] Hospital parking management is a crucial aspect of urban traffic management, especially in areas with concentrated medical resources. An efficient and orderly parking system is of great significance for improving patients' medical experience and ensuring unobstructed access to emergency services.
[0003] In existing technologies, methods to solve the parking problem in hospitals typically include fixed-time reservations, manual dispatching, and simple guidance on nearby parking lots. For example, some hospitals implement a time-slot reservation system, dividing parking time into two main segments, morning and afternoon, requiring drivers to select the corresponding time slot in advance for reservation.
[0004] However, existing methods cannot detect changes in patient flow in real time, resulting in a situation where parking spaces are scarce during peak hours and idle during off-peak hours. Especially during public health emergencies or special peak periods for medical visits, fixed parking quota mechanisms can easily lead to increased appointment failure rates, affecting patients' medical efficiency. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a hospital parking reservation method, apparatus, equipment and readable storage medium, thereby solving at least one of the above-mentioned technical problems.
[0006] The technical solution of the present invention to solve the above-mentioned technical problems is as follows:
[0007] Firstly, this application provides a hospital parking reservation method, employing the following technical solution:
[0008] A hospital parking reservation method includes:
[0009] The system obtains the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's condition level, and historical appointment information.
[0010] Based on the vehicle prediction results, the available parking space information is divided to obtain the hospital's parking space quota information for the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents a parking space with a parking duration of a first duration, the second parking space represents a parking space with a parking duration of a second duration, and the first duration is longer than the second duration. The third parking space represents a parking space for vehicles that are emergency vehicles.
[0011] Based on each patient's appointment information, determine the parking priority for each patient;
[0012] Based on the parking priority, available parking space information, and parking space quota information of each patient, a parking space is allocated to each patient to obtain the parking space allocation result.
[0013] The beneficial effects of this invention are as follows: First, by predicting the number of vehicles arriving at the hospital during the current time period and combining this with available parking space information and patient appointment information, a scientific allocation of parking space quotas is achieved, ensuring that users with different parking needs can obtain reasonable parking space arrangements. Second, parking priorities are determined based on patient appointment times, disease levels, and historical appointment information, protecting the parking rights of emergency vehicles and high-priority users, and improving the efficiency of medical services. Finally, precise parking space allocation by comprehensively considering parking priorities, available parking space information, and parking space quota information not only optimizes the parking process but also reduces patient waiting time, significantly alleviating the problem of parking difficulties at hospitals.
[0014] Based on the above technical solution, the present invention can be further improved as follows.
[0015] Furthermore, obtaining the hospital's vehicle prediction results for the current time period includes:
[0016] Obtain the hospital's historical parking information, which includes the number of parking spaces in each time period;
[0017] A vehicle quantity prediction model is obtained by training an LSTM neural network model based on historical parking information.
[0018] Based on the vehicle quantity prediction model, the number of vehicles arriving at the hospital in the current time period is predicted, and the vehicle prediction result is obtained.
[0019] The beneficial effect of adopting the above-mentioned further solution is that, based on historical parking information, the LSTM neural network model can accurately predict the number of vehicles arriving at the hospital in the current time period.
[0020] Furthermore, based on the vehicle prediction results, the available parking space information is divided to obtain the hospital's parking space quota information for the current time period, including:
[0021] Based on the vehicle prediction results and the set parking space quantity range, the first time period type of the current time period is determined, which is any one of low-peak time period, off-peak time period and peak time period.
[0022] Get real-time data on hospital emergency room visits during the current time period;
[0023] Based on the emergency room visit volume, a second time period type is determined for the current time period, which represents the magnitude of the emergency room visit volume in the current time period.
[0024] Based on the first time period type and the second time period type of the current time period, determine the allocation ratio of each parking space type;
[0025] Based on the allocation ratio of each parking space type, the total number of parking spaces, and the available parking space information, the hospital's parking space quota information for the current time period is determined.
[0026] The beneficial effects of adopting the above-mentioned further scheme are as follows: by combining the vehicle prediction results and the set parking space threshold to determine the first time period type, the emergency room visit volume is obtained in real time and the second time period type is determined accordingly, and the allocation ratio of parking space types is determined by combining the first time period type and the second time period type. This allows for reasonable adjustment of parking space quotas according to the characteristics of vehicle flow in different time periods, improving parking space utilization efficiency and achieving a dynamic balance between ordinary parking spaces and emergency parking spaces. This satisfies daily parking needs while reserving sufficient resources for emergencies.
[0027] Furthermore, the available parking space information includes the first parking space usage information, and the method further includes:
[0028] The utilization rate of the first parking space is calculated in real time based on the usage information of the first parking space, the parking space quota information, and the total number of parking spaces for the current time period.
[0029] Determine whether the utilization rate of the first parking space is greater than the set threshold for the first parking space;
[0030] If the utilization rate of the first parking space is greater than the set threshold for the first vehicle's utilization, then the second parking space will be used as the first parking space.
[0031] The beneficial effects of adopting the above-mentioned further solution are: real-time calculation of the utilization rate of the first parking space helps to understand the usage status of long-term parking spaces during the current period. When the utilization rate of the first parking space exceeds a preset threshold, the second parking space, originally used for short-term parking, is converted into a first parking space, which can effectively alleviate the pressure of long-term parking demand and avoid resource waste caused by fixed parking space types. By flexibly adjusting the parking space functions, it ensures that more patients are provided with suitable parking options during peak hours, while reducing waiting time and traffic congestion caused by insufficient parking spaces.
[0032] Furthermore, determining the parking priority for each patient based on their appointment information includes:
[0033] For each of the aforementioned patients, a first priority is determined based on the patient's appointment time;
[0034] For each of the patients, a second priority is determined based on the severity of the patient's condition.
[0035] For each of the aforementioned patients, a third priority is determined based on the patient's historical appointment history;
[0036] For each of the patients, the parking priority is calculated based on the patient's first priority, second priority, third priority and preset weight allocation rules.
[0037] The beneficial effects of adopting the above-mentioned further scheme are: by combining the first priority, the second priority, and the third priority, and combining them with the preset weight allocation rules to calculate the final parking priority, a fair and efficient parking space allocation can be achieved, thereby improving the overall parking space utilization rate.
[0038] Furthermore, the appointment information also includes the location of the appointment, the appointment duration, and the vehicle type. The process of allocating parking spaces to each patient based on their parking priority, available parking space information, and parking space quota information, to obtain the parking space allocation result, includes:
[0039] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period.
[0040] If the number of available parking spaces at the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period, then among all patients during the current time period, the patient with the highest parking priority is selected as the target user. Based on the target user's location, appointment duration, available parking space information, and parking space quota information, it is determined whether there are available parking spaces that are associated with the location and meet the appointment duration.
[0041] If there are multiple available parking spaces associated with the medical treatment location and meeting the appointment duration, a target available parking space is determined based on the vehicle type and the parking space type of the available parking space, and the target available parking space is allocated to the target user. The parking space type of the available parking space includes accessible parking space type, charging pile parking space type and ordinary parking space type. The ordinary parking space type represents a parking space type that is compatible with all vehicle types.
[0042] If there is an available parking space associated with the location of the visit and that meets the appointment duration, then the available parking space will be assigned to the target user.
[0043] If there are no available parking spaces associated with the location of the visit, then select the available parking space closest to the location of the visit from the available parking spaces that meet the reservation duration of the target user and allocate it to the target user;
[0044] Based on the allocated parking spaces, new available parking space information and new parking space quota information are determined. Among all patients in the current time period, the patient with the highest parking priority is selected as the new target user. Parking spaces are allocated based on the new target user's location, appointment duration, new available parking space information, and new parking space quota information until parking spaces are allocated to all patients in the current time period.
[0045] The beneficial effects of adopting the above-mentioned further solutions are: parking space allocation based on parking priority prioritizes the parking needs of high-priority users, especially the rapid passage of emergency vehicles, thereby improving the medical emergency response capability; by introducing multi-dimensional information such as the location of the visit, the appointment time, and the vehicle type, the accuracy of parking space allocation is improved, ensuring the best match between user needs and parking space resources.
[0046] Furthermore, the method also includes:
[0047] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period is less than the set parking space number threshold.
[0048] If the number of available parking spaces at the hospital is less than the set threshold for the number of parking spaces in the current time period, then obtain the available parking space information of the target parking lot, which is the parking lot associated with the hospital.
[0049] Based on the hospital's available parking space information, parking space quota information, the available parking space information of the target parking lot, and the parking priority of each patient, a parking space is allocated to each patient, resulting in a parking space allocation result.
[0050] The beneficial effects of adopting the above-mentioned further solution are as follows: when the number of available parking spaces at the hospital is insufficient for the current time period, the system can automatically obtain available parking space information from target parking lots associated with the hospital, and combine this information with the hospital's parking quota information and the parking priority of patients to allocate suitable parking spaces to them. This approach effectively alleviates the problem of parking resource shortages at hospitals, avoids excessively long waiting times for patients due to insufficient parking spaces, improves the overall resource utilization rate of the hospital and its surrounding parking lots, and ensures the efficient operation of the parking reservation system.
[0051] Secondly, this application provides a hospital parking reservation device, which adopts the following technical solution:
[0052] A hospital parking reservation device includes:
[0053] The acquisition module acquires the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's disease level, and historical appointment information.
[0054] The parking time period segmentation module is used to segment the available parking space information based on the vehicle prediction results to obtain the parking space quota information of the hospital in the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents the parking space with a parking time of a first duration, the second parking space represents the parking space with a parking time of a second duration, the first duration is longer than the second duration, and the third parking space represents the parking space for vehicles that are emergency vehicles.
[0055] The dynamic priority module is used to determine the parking priority of each patient based on their appointment information.
[0056] The allocation module is used to allocate parking spaces to each of the patients based on their parking priority, available parking space information, and parking space quota information, thereby obtaining the parking space allocation result.
[0057] Thirdly, this application provides an electronic device that adopts the following technical solution:
[0058] An electronic device includes a memory and a processor, wherein the memory stores a computer program capable of being loaded by the processor and executing the hospital parking reservation method according to any one of the first aspects.
[0059] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0060] A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the hospital parking reservation method according to any one of the first aspects.
[0061] Additional aspects and advantages of this application will be set forth in part in the description which follows, and will become apparent from the description or may be learned by practice of this application. Attached Figure Description
[0062] Figure 1 This is a flowchart illustrating a hospital parking reservation method according to an embodiment of the present invention.
[0063] Figure 2 This is a schematic diagram of the structure of a hospital parking reservation device according to an embodiment of the present invention;
[0064] Figure 3This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0065] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the appendices in the embodiments of this application will be described below. Figure 1 To be continued Figure 3 The technical solutions in the embodiments of this application are clearly and completely described. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0066] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0067] This application provides a hospital parking reservation method, which can be executed by an electronic device, which can be a server or a mobile terminal device. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The mobile terminal device can be a laptop computer, a desktop computer, etc., but is not limited to these.
[0068] like Figure 1 As shown, a hospital parking reservation method includes steps S101 to S104:
[0069] Step S101: Obtain the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's disease level, and historical appointment information.
[0070] In this embodiment, the available parking space information includes unreserved and unoccupied parking spaces in the hospital parking lot. The parking status of each parking space in the hospital is obtained in real time through a geomagnetic sensor to obtain the available parking space information of the hospital in the current time period. The parking space status is either occupied or unoccupied.
[0071] When a user needs to reserve a parking space, they can select the department and appointment time through the front-end APP and send the appointment time to this electronic device; the disease level of each patient in the hospital during the current time period can be obtained from the registration data of the hospital's HIS system.
[0072] In this embodiment of the application, obtaining the predicted vehicle traffic for the hospital in the current time period includes:
[0073] Obtain the hospital's historical parking information, which includes the number of parking spaces in each time period;
[0074] A vehicle quantity prediction model is obtained by training an LSTM neural network model based on historical parking information.
[0075] Based on the vehicle quantity prediction model, the number of vehicles arriving at the hospital in the current time period is predicted, and the vehicle prediction result is obtained.
[0076] In this embodiment, the parking status of each parking space in the hospital is acquired in real time using a geomagnetic sensor to obtain the hospital's historical parking information. Then, feature extraction is performed on the historical parking information. For example, the average number of vehicles in each time period is calculated by grouping by weekday, weekend, and holiday, resulting in feature data. This feature data is then input into an LSTM neural network model for training to obtain a vehicle quantity prediction model.
[0077] The LSTM neural network model consists of an input layer, multiple LSTM hidden layers, and an output layer. The input layer receives processed feature data, the hidden layers learn time-series patterns in the data, and the output layer outputs predictions of vehicle arrival distribution for different time periods. For activation function selection, the Sigmoid function is used to control the flow and output of information. The trained model is continuously evaluated against actual data. For example, to predict the number of vehicles arriving at a hospital at 8 AM on Monday, the accuracy can be calculated by comparing the trained LSTM model with the actual number of vehicles entering the hospital. Based on the accuracy feedback, the prediction accuracy of vehicle arrival distribution is continuously improved by increasing training data and adjusting model evaluation metrics.
[0078] Step S102: Based on the vehicle prediction results, the available parking space information is divided to obtain the hospital's parking space quota information for the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents a parking space with a parking duration of a first duration, the second parking space represents a parking space with a parking duration of a second duration, the first duration being longer than the second duration, and the third parking space represents a parking space for vehicles that are emergency vehicles.
[0079] For example, the first parking space is for a parking period of 1 hour, and the second parking space is for a parking period of half an hour. If the vehicle is temporarily dropping off or picking up passengers for medical treatment and only needs to park for a short time, the second parking space can be applied for. If the vehicle needs to park for a long time, the first parking space can be applied for. Multiple combinations of first parking spaces for different time periods can be applied for based on the actual parking needs.
[0080] In this embodiment of the application, step S102 specifically includes:
[0081] Based on the vehicle prediction results and the set parking space quantity range, the first time period type of the current time period is determined. The first time period type represents any one of the following: low-peak period, off-peak period, and peak period.
[0082] Get real-time data on hospital emergency room visits during the current time period;
[0083] Based on the emergency room visit volume, a second time period type is determined for the current time period, which represents the magnitude of the emergency room visit volume in the current time period.
[0084] Based on the first time period type and the second time period type of the current time period, the allocation ratio of each parking space type is determined. The first time period type and the second time period type represent the type of the current time period.
[0085] Based on the allocation ratio of each parking space type, the total number of parking spaces, and the available parking space information, the hospital's parking space quota information for the current time period is determined.
[0086] In this embodiment of the application, it is assumed that the current time period is 1 hour, and the set time threshold is low peak < 50 vehicles / hour, off-peak 50-100 vehicles / hour, and peak > 100 vehicles / hour. The first time period type of the current time period is determined according to the above judgment conditions.
[0087] Based on real-time data from the hospital's HIS system and the number of times emergency ambulances arrive at the hospital, the number of emergency visits is determined. Based on the number of emergency visits and the set emergency threshold, the second time period type for the current time period is determined.
[0088] Assume the predicted number of vehicles arriving in the current time period is N, the total number of parking spaces is M, the emergency room reservation ratio is α, and the adjustment coefficients are a and b. The emergency room reservation ratio α is adjusted according to the second time period type, and the adjustment coefficients a and b are adjusted according to the first time period type.
[0089] The formula for calculating the first parking space quota is: X = (1-α)*M*max(a, min(b, N / M)); the formula for calculating the second parking space quota is: Y = (1-α)*M–X; and the formula for calculating the third parking space quota is: Z = α*M. The calculation of the hospital's parking space quota for the current time period is not limited to these formulas.
[0090] By combining vehicle prediction results and set parking space thresholds to determine the first time period type, and obtaining real-time emergency patient volume to determine the second time period type, the allocation ratio of parking space types is determined by combining the first and second time period types. This allows for reasonable adjustment of parking space quotas based on the characteristics of vehicle flow in different time periods, improving parking space utilization efficiency and achieving a dynamic balance between ordinary parking spaces and emergency parking spaces. This satisfies daily parking needs while reserving sufficient resources for emergencies.
[0091] In this embodiment of the application, the available parking space information includes the first parking space usage information, and the method further includes:
[0092] The utilization rate of the first parking space is calculated in real time based on the usage information of the first parking space, the parking space quota information, and the total number of parking spaces for the current time period.
[0093] Determine whether the utilization rate of the first parking space is greater than the set threshold for the first parking space;
[0094] If the utilization rate of the first parking space is greater than the set threshold for the first vehicle's utilization, then the second parking space will be used as the first parking space.
[0095] In this embodiment, priority is given to adjusting the second parking space that is not occupied.
[0096] Real-time calculation of the utilization rate of the first parking space helps to understand the usage status of long-term parking spaces during the current period. When the utilization rate of the first parking space exceeds a preset threshold, the second parking space, which was originally used for short-term parking, is converted into the first parking space, which can effectively alleviate the pressure of long-term parking demand and avoid resource waste caused by fixed parking space types.
[0097] Step S103: Determine the parking priority for each patient based on their appointment information;
[0098] In this embodiment of the application, determining the parking priority of each patient based on their appointment information includes:
[0099] For each of the aforementioned patients, a first priority is determined based on the patient's appointment time;
[0100] For each of the patients, a second priority is determined based on the severity of the patient's condition.
[0101] For each of the aforementioned patients, a third priority is determined based on the patient's historical appointment history;
[0102] For each of the patients, the parking priority is calculated based on the patient's first priority, second priority, third priority and preset weight allocation rules.
[0103] By combining the first, second, and third priorities with preset weighting rules to calculate the final parking priority, parking spaces are allocated to patients with the highest parking priority, achieving fair and efficient parking space allocation and improving the overall parking space utilization rate.
[0104] Step S104: Based on the parking priority, available parking space information and parking space quota information of each patient, a parking space is allocated to each patient to obtain the parking space allocation result.
[0105] In this embodiment of the application, the appointment information also includes the location of the appointment, the appointment duration, and the vehicle type. The location of the appointment represents the location of the department where the patient is seeking medical treatment.
[0106] The process of allocating parking spaces to each patient based on their parking priority, available parking space information, and parking space quota information, and obtaining parking space allocation results, includes:
[0107] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period.
[0108] If the number of available parking spaces at the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period, then among all patients during the current time period, the patient with the highest parking priority is selected as the target user. Based on the target user's location, appointment duration, available parking space information, and parking space quota information, it is determined whether there are available parking spaces that are associated with the location and meet the appointment duration.
[0109] If there are multiple available parking spaces associated with the medical treatment location and meeting the appointment duration, a target available parking space is determined based on the vehicle type and the parking space type of the available parking space, and the target available parking space is allocated to the target user. The parking space type of the available parking space includes accessible parking space type, charging pile parking space type and ordinary parking space type. The ordinary parking space type represents a parking space type that is compatible with all vehicle types.
[0110] If there is an available parking space associated with the location of the visit and that meets the appointment duration, then the available parking space will be assigned to the target user.
[0111] If there are no available parking spaces associated with the location of the visit, then select the available parking space closest to the location of the visit from the available parking spaces that meet the reservation duration of the target user and allocate it to the target user;
[0112] Based on the allocated parking spaces, new available parking space information and new parking space quota information are determined. Among all patients in the current time period, the patient with the highest parking priority is selected as the new target user. Parking spaces are allocated based on the new target user's location, appointment duration, new available parking space information, and new parking space quota information until parking spaces are allocated to all patients in the current time period.
[0113] In this embodiment of the application, for example, if there are enough parking spaces, and there are three users in the current time period, the parking priorities of these three users are as follows: user A's parking priority is higher than user B's parking priority, and user B's parking priority is higher than user C's parking priority. Then, parking spaces are allocated to user A, user B, and user C in turn.
[0114] Parking space allocation is based on parking priority, prioritizing the parking needs of high-priority users, especially ensuring the rapid passage of emergency vehicles, thereby improving medical emergency response capabilities. By incorporating multi-dimensional information such as patient location, appointment duration, and vehicle type, the accuracy of parking space allocation is improved, ensuring the best match between user needs and parking resources.
[0115] As an optional implementation of this application, the method further includes:
[0116] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period is less than the set parking space number threshold.
[0117] If the number of available parking spaces at the hospital is less than the set threshold for the number of parking spaces in the current time period, then obtain the available parking space information of the target parking lot, which is the parking lot associated with the hospital.
[0118] Based on the hospital's available parking space information, parking space quota information, the available parking space information of the target parking lot, and the parking priority of each patient, a parking space is allocated to each patient, resulting in a parking space allocation result.
[0119] In this embodiment of the application, the number of parking space reservations required by all patients in the current time period is obtained and compared with the total number of available parking spaces in the hospital. If the number of available parking spaces is not less than the number of reservations, parking spaces are allocated to each patient based on their parking priority, available parking space information, and parking space quota information. This will not be elaborated further here.
[0120] If the number of available parking spaces is less than the demand, after allocating the hospital's available parking spaces, available parking spaces in nearby parking lots will be recommended according to the parking priority of patients.
[0121] Specifically, the appointment information of patients also includes vehicle type, information of accompanying persons, price range, parking preferences, etc. Based on the appointment information, user profiles are built. For example, users whose profiles include words such as "accompanying children" and "price sensitive" are given priority in parking spaces in low-cost and safe parking lots. Users whose profiles include words such as "new energy vehicles" and "time priority" are given priority in parking spaces in parking lots with charging stations that are nearby.
[0122] As an optional implementation of this application, the method further includes:
[0123] Electronic devices acquire real-time status information of parking spaces allocated to patients and determine whether a patient is late based on their appointment time.
[0124] If the patient is late, after the set time threshold for lateness, the patient's reserved parking space will be updated to an available parking space, and the patient's breach of contract will be recorded.
[0125] By using the methods described above to monitor parking space status in real time, dynamically adjust parking space allocation, and record user default behavior, the utilization rate of parking space resources and user experience are improved.
[0126] As an optional implementation of this application, the method further includes: when a vehicle enters the hospital, identifying the vehicle's license plate and determining whether the license plate is an emergency license plate. If the license plate is an emergency license plate and the third parking space is full, then automatically releasing a non-emergency parking space that is about to expire within the most recent preset time period. Specifically, firstly, non-emergency parking spaces that are about to expire within the most recent preset time period are selected. Then, they are sorted by their distance from the third parking space area, and the nearest parking space is selected for release. The status of the parking space is changed from "occupied" to "unoccupied," and the patient is notified via SMS, voice prompts, or other means. This achieves a balance between emergency priority and resource utilization.
[0127] This method predicts the number of vehicles arriving at the hospital during the current time period and combines this with available parking space information and patient appointment information to achieve a scientific allocation of parking spaces, ensuring that users with different parking needs can obtain reasonable parking arrangements. Secondly, it determines parking priorities based on patient appointment times, disease severity, and historical appointment history, protecting the parking rights of emergency vehicles and high-priority users, thus improving the efficiency of medical services. Finally, by comprehensively considering parking priorities, available parking space information, and parking space quota information, it performs precise parking space allocation, not only optimizing the parking process but also reducing patient waiting time, significantly alleviating the problem of parking difficulties at hospitals.
[0128] Figure 2 A schematic diagram of a hospital parking reservation device 200 is shown.
[0129] like Figure 2 As shown, a hospital parking reservation device 200 mainly includes:
[0130] The acquisition module 201 acquires the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's disease level, and historical appointment information.
[0131] The parking time period segmentation module 202 is used to segment the available parking space information based on the vehicle prediction results to obtain the parking space quota information of the hospital in the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents the parking space with a parking time of a first duration, the second parking space represents the parking space with a parking time of a second duration, the first duration is longer than the second duration, and the third parking space represents the parking space for vehicles that are emergency vehicles.
[0132] The dynamic priority module 203 is used to determine the parking priority of each patient based on the appointment information of each patient.
[0133] The allocation module 204 is used to allocate a parking space to each of the patients based on their parking priority, available parking space information and parking space quota information, and to obtain a parking space allocation result.
[0134] Optionally, module 201 is used specifically for:
[0135] Obtain the hospital's historical parking information, which includes the number of parking spaces in each time period;
[0136] A vehicle quantity prediction model is obtained by training an LSTM neural network model based on historical parking information.
[0137] Based on the vehicle quantity prediction model, the number of vehicles arriving at the hospital in the current time period is predicted, and the vehicle prediction result is obtained.
[0138] Optional, the parking time period segmentation module 202 is specifically used for:
[0139] Based on the vehicle prediction results and the set parking space threshold, the time period type of the current time period is determined, which is any one of off-peak time period, off-peak time period, and peak time period;
[0140] Get real-time data on hospital emergency room visits during the current time period;
[0141] Based on the number of emergency visits, a second time period type is determined for the current time period, and the second time period type represents the degree of emergency visits.
[0142] Based on the first time period type and the second time period type of the current time period, determine the allocation ratio of each parking space type;
[0143] Based on the allocation ratio of each parking space type, the total number of parking spaces, and the available parking space information, the hospital's parking space quota information for the current time period is determined. Based on the vehicle prediction results and the set parking space quantity range, the first time period type for the current time period is determined, which indicates that the current time period is any one of low-peak, off-peak, and peak periods.
[0144] Get real-time data on hospital emergency room visits during the current time period;
[0145] Based on the emergency room visit volume, a second time period type is determined for the current time period, and the second time period type represents the degree of emergency room visit volume in the current time period.
[0146] Based on the first time period type and the second time period type of the current time period, determine the allocation ratio of each parking space type;
[0147] Based on the allocation ratio of each parking space type, the total number of parking spaces, and the available parking space information, the hospital's parking space quota information for the current time period is determined.
[0148] Optionally, the available parking space information includes the first parking space usage information. A hospital parking reservation device 200 also includes a parking space adjustment module, which is specifically used for:
[0149] The utilization rate of the first parking space is calculated in real time based on the usage information of the first parking space, the parking space quota information, and the total number of parking spaces for the current time period.
[0150] Determine whether the utilization rate of the first parking space is greater than the set threshold for the first parking space;
[0151] If the utilization rate of the first parking space is greater than the set threshold for the first vehicle's utilization, then the second parking space will be used as the first parking space.
[0152] Optional, dynamic priority module 203, specifically used for:
[0153] For each of the aforementioned patients, a first priority is determined based on the patient's appointment time;
[0154] For each of the patients, a second priority is determined based on the severity of the patient's condition.
[0155] For each of the aforementioned patients, a third priority is determined based on the patient's historical appointment history;
[0156] For each of the patients, the parking priority is calculated based on the patient's first priority, second priority, third priority and preset weight allocation rules.
[0157] Optionally, module 204 is allocated, specifically for:
[0158] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period.
[0159] If the number of available parking spaces at the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period, then among all patients during the current time period, the patient with the highest parking priority is selected as the target user. Based on the target user's location, appointment duration, available parking space information, and parking space quota information, it is determined whether there are available parking spaces that are associated with the location and meet the appointment duration.
[0160] If there are multiple available parking spaces associated with the medical treatment location and meeting the appointment duration, a target available parking space is determined based on the vehicle type and the parking space type of the available parking space, and the target available parking space is allocated to the target user. The parking space type of the available parking space includes accessible parking space type, charging pile parking space type and ordinary parking space type. The ordinary parking space type represents a parking space type that is compatible with all vehicle types.
[0161] If there is an available parking space associated with the location of the visit and that meets the appointment duration, then the available parking space will be assigned to the target user.
[0162] If there are no available parking spaces associated with the location of the visit, then select the available parking space closest to the location of the visit from the available parking spaces that meet the reservation duration of the target user and allocate it to the target user;
[0163] Based on the allocated parking spaces, new available parking space information and new parking space quota information are determined. Among all patients in the current time period, the patient with the highest parking priority is selected as the new target user. Parking spaces are allocated based on the new target user's location, appointment duration, new available parking space information, and new parking space quota information until parking spaces are allocated to all patients in the current time period.
[0164] Optionally, a hospital parking reservation device 200 may also include a parking lot linkage module, which is specifically used for:
[0165] Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period is less than the set parking space number threshold.
[0166] If the number of available parking spaces at the hospital is less than the set threshold for the number of parking spaces in the current time period, then obtain the available parking space information of the target parking lot, which is the parking lot associated with the hospital.
[0167] Based on the hospital's available parking space information, parking space quota information, the available parking space information of the target parking lot, and the parking priority of each patient, a parking space is allocated to each patient, resulting in a parking space allocation result.
[0168] In one example, the module in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0169] For example, when modules in a device can be implemented via a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling programs. Alternatively, these modules can be integrated together as a system-on-a-chip (SOC).
[0170] In this application, various objects such as messages / information / devices / network elements / systems / apparatus / actions / operations / processes / concepts may be named. It is understood that these specific names do not constitute a limitation on the relevant objects. The names may be changed depending on the scenario, context, or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from their functions and technical effects embodied / performed in the technical solution.
[0171] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0172] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0173] Figure 3 This is a structural block diagram of an electronic device 300 according to an embodiment of this application.
[0174] like Figure 3 As shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.
[0175] The processor 301 controls the overall operation of the electronic device 300 to complete all or part of the steps in the hospital parking reservation method described above. The memory 302 stores various types of data to support the operation of the electronic device 300. This data may include, for example, instructions for any application or method operating on the electronic device 300, as well as application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as one or more of Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0176] I / O interface 303 provides an interface between processor 301 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 304 is used to test wired or wireless communication between electronic device 300 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 304 may include a Wi-Fi component, a Bluetooth component, and an NFC component.
[0177] The communication bus 305 may include a path for transmitting information between the aforementioned components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 may be divided into an address bus, a data bus, a control bus, etc.
[0178] The electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the hospital parking reservation method given in the above embodiments.
[0179] The following describes the computer-readable storage medium provided in the embodiments of this application. The computer-readable storage medium described below can be referred to in correspondence with the hospital parking reservation method described above.
[0180] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the hospital parking reservation method described above.
[0181] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0182] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0183] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing application concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions claimed in this application.
Claims
1. A hospital parking reservation method, characterized in that, include: The system obtains the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's condition level, and historical appointment information. Based on the vehicle prediction results, the available parking space information is divided to obtain the hospital's parking space quota information for the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents a parking space with a parking duration of a first duration, the second parking space represents a parking space with a parking duration of a second duration, and the first duration is longer than the second duration. The third parking space represents a parking space for vehicles that are emergency vehicles. Based on each patient's appointment information, determine the parking priority for each patient; Based on the parking priority, available parking space information, and parking space quota information of each patient, a parking space is allocated to each patient to obtain the parking space allocation result; The process of determining the parking priority for each patient based on their appointment information includes: For each of the aforementioned patients, a first priority is determined based on the patient's appointment time; For each of the aforementioned patients, a second priority is determined based on the severity of the patient's condition. For each of the aforementioned patients, a third priority is determined based on the patient's historical appointment history; For each of the patients, the parking priority of the patient is calculated based on the patient's first priority, second priority, third priority and preset weight allocation rules; The appointment information also includes the location of the appointment, the appointment duration, and the vehicle type. The process of allocating parking spaces to each user based on their parking priority, available parking space information, and parking space quota information yields the following parking space allocation results: Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period. If the number of available parking spaces at the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period, then among all patients during the current time period, the patient with the highest parking priority is selected as the target user. Based on the target user's location, appointment duration, available parking space information, and parking space quota information, it is determined whether there are available parking spaces that are associated with the location and meet the appointment duration. If there are multiple available parking spaces associated with the medical treatment location and meeting the appointment duration, a target available parking space is determined based on the vehicle type and the parking space type of the available parking space, and the target available parking space is allocated to the target user. The parking space type of the available parking space includes accessible parking space type, charging pile parking space type and ordinary parking space type. The ordinary parking space type represents a parking space type that is compatible with all vehicle types. If there is an available parking space associated with the medical appointment location and meeting the appointment duration, then the available parking space will be assigned to the target user. If there are no available parking spaces associated with the location of the visit, then select the available parking space closest to the location of the visit from the available parking spaces that meet the reservation duration of the target user and allocate it to the target user; Based on the allocated parking spaces, new available parking space information and new parking space quota information are determined. Among all patients in the current time period, the patient with the highest parking priority is selected as the new target user. Parking spaces are allocated based on the new target user's location, appointment duration, new available parking space information, and new parking space quota information until parking spaces are allocated to all patients in the current time period.
2. The hospital parking reservation method according to claim 1, characterized in that, The process of obtaining the hospital's vehicle prediction results for the current time period includes: Obtain the hospital's historical parking information, which includes the number of parking spaces in each time period; A vehicle quantity prediction model is obtained by training an LSTM neural network model based on historical parking information. Based on the vehicle quantity prediction model, the number of vehicles arriving at the hospital in the current time period is predicted, and the vehicle prediction result is obtained.
3. The hospital parking reservation method according to claim 2, characterized in that, The step of dividing the available parking space information based on the vehicle prediction results to obtain the hospital's parking space quota information for the current time period includes: Based on the vehicle prediction results and the set parking space quantity range, the first time period type of the current time period is determined. The first time period type represents any one of the following: low-peak period, off-peak period, and peak period. Get real-time data on hospital emergency room visits during the current time period; Based on the emergency room visit volume, a second time period type is determined for the current time period, which represents the magnitude of the emergency room visit volume in the current time period. Based on the first time period type and the second time period type of the current time period, determine the allocation ratio of each parking space type; Based on the allocation ratio of each parking space type, the total number of parking spaces, and the available parking space information, the hospital's parking space quota information for the current time period is determined.
4. The hospital parking reservation method according to claim 3, characterized in that, The available parking space information includes the first parking space usage information, and the method further includes: The utilization rate of the first parking space is calculated in real time based on the usage information of the first parking space, the parking space quota information, and the total number of parking spaces for the current time period. Determine whether the utilization rate of the first parking space is greater than the set threshold for the first parking space; If the utilization rate of the first parking space is greater than the set threshold for the first vehicle's utilization, then the second parking space will be used as the first parking space.
5. A hospital parking reservation method according to claim 1, characterized in that, Also includes: Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period is less than the set parking space number threshold; If the number of available parking spaces at the hospital is less than the set threshold for the number of parking spaces in the current time period, then obtain the available parking space information of the target parking lot, which is the parking lot associated with the hospital. Based on the hospital's available parking space information, parking space quota information, the available parking space information of the target parking lot, and the parking priority of each patient, a parking space is allocated to each patient, resulting in a parking space allocation result.
6. A hospital parking reservation device, characterized in that, include: The acquisition module acquires the hospital's vehicle prediction results, available parking space information, and appointment information for each patient during the current time period. The vehicle prediction results represent the predicted number of vehicles arriving at the hospital during the current time period, and the appointment information includes the appointment time, the patient's disease level, and historical appointment information. The parking time period segmentation module is used to segment the available parking space information based on the vehicle prediction results to obtain the parking space quota information of the hospital in the current time period. The parking space quota information includes the number of first parking spaces, the number of second parking spaces, and the number of third parking spaces. The first parking space represents the parking space with a parking time of a first duration, the second parking space represents the parking space with a parking time of a second duration, the first duration is longer than the second duration, and the third parking space represents the parking space for vehicles that are emergency vehicles. The dynamic priority module is used to determine the parking priority of each patient based on their appointment information. The allocation module is used to allocate parking spaces to each of the patients based on their parking priority, available parking space information, and parking space quota information, and to obtain the parking space allocation result. The dynamic priority module is specifically used for: For each of the aforementioned patients, a first priority is determined based on the patient's appointment time; For each of the aforementioned patients, a second priority is determined based on the severity of the patient's condition. For each of the aforementioned patients, a third priority is determined based on the patient's historical appointment history; For each of the patients, the parking priority of the patient is calculated based on the patient's first priority, second priority, third priority and preset weight allocation rules; The appointment information also includes the location of the appointment, the appointment duration, and the vehicle type. A dynamic priority module is used to allocate parking spaces to each user based on their parking priority, available parking space information, and parking space quota information. When obtaining the parking space allocation result, it is specifically used for: Based on the available parking space information, determine whether the number of available parking spaces in the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period. If the number of available parking spaces at the hospital during the current time period meets the number of parking spaces allocated to multiple patients during the current time period, then among all patients during the current time period, the patient with the highest parking priority is selected as the target user. Based on the target user's location, appointment duration, available parking space information, and parking space quota information, it is determined whether there are available parking spaces that are associated with the location and meet the appointment duration. If there are multiple available parking spaces associated with the medical treatment location and meeting the appointment duration, a target available parking space is determined based on the vehicle type and the parking space type of the available parking space, and the target available parking space is allocated to the target user. The parking space type of the available parking space includes accessible parking space type, charging pile parking space type and ordinary parking space type. The ordinary parking space type represents a parking space type that is compatible with all vehicle types. If there is an available parking space associated with the medical appointment location and meeting the appointment duration, then the available parking space will be assigned to the target user. If there are no available parking spaces associated with the location of the visit, then select the available parking space closest to the location of the visit from the available parking spaces that meet the reservation duration of the target user and allocate it to the target user; Based on the allocated parking spaces, new available parking space information and new parking space quota information are determined. Among all patients in the current time period, the patient with the highest parking priority is selected as the new target user. Parking spaces are allocated based on the new target user's location, appointment duration, new available parking space information, and new parking space quota information until parking spaces are allocated to all patients in the current time period.
7. An electronic device, characterized in that, Includes a processor, which is coupled to a memory; The processor is configured to execute a computer program stored in the memory, causing the electronic device to perform the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, Includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Hospital vehicle parking scheduling method, system and equipment
CN117953718A