A smart vaccine distribution method
Through the intelligent vaccine distribution method, weights are calculated and sorted based on vaccine information and reservation application information, which solves the problem that the existing vaccine reservation system cannot reasonably allocate vaccine resources and realizes the purpose of intelligent reservation for users.
Patent Information
- Application Number
- CN202210492530.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The existing vaccine appointment system cannot reasonably allocate vaccine resources, resulting in a large demand for a small number of vaccines, and the appointment process is too simple to consider the applicant's age, residence address and other factors, which has led many people to miss the vaccination opportunity.
An intelligent vaccine distribution method is adopted to receive reservation application information, store it in the queue by category, calculate weights based on vaccine information and reservation application information, sort, and finally distribute vaccines reasonably.
It achieves the effect of intelligent distribution and reasonable distribution of vaccines, solves the problem that vaccine reservations depend entirely on network speed and hand speed, and ensures that users can intelligently make vaccine reservations.
Smart Images

Figure CN114628014B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent vaccine distribution, and in particular to an intelligent vaccine distribution method. Background Art
[0002] Currently, more and more people are aware of the importance of vaccination. However, due to the small number of certain vaccines, the high demand, the age limit for vaccination, and the lack of information sharing and cooperation among vaccination institutions, the current practice of various vaccine appointment platforms is basically to release vaccines at a certain moment for applicants to grab them instantly. The appointment method is too simple and does not objectively consider the applicant's age, residential address and other factors. Many people whose age is on the edge of the vaccination limit miss the opportunity to get vaccinated because they cannot get the vaccine. This is because the current vaccine appointment system is not perfect, lacks a reasonable appointment mechanism, and cannot reasonably allocate existing vaccine resources. Summary of the invention
[0003] Therefore, the technical problem to be solved by the present invention is to overcome the defects in the prior art that vaccine appointments are completely dependent on network speed and hand speed and cannot be reasonably allocated, thereby providing an intelligent vaccine allocation method.
[0004] The present invention provides an intelligent vaccine distribution method, comprising:
[0005] S1: Receive appointment application information;
[0006] S2: Classify the appointment application information and store it in the corresponding queue;
[0007] S3: Read vaccine information from the local security database; obtain the weight of the appointment application information based on the vaccine information and the appointment application information;
[0008] S4: sorting the appointment application information in a corresponding queue according to the weight of the appointment application information;
[0009] S5: Allocate vaccines based on the ranking results.
[0010] Preferably, the appointment application information includes date of birth, vaccination status, residential address and appointment application time.
[0011] Preferably, in S2,
[0012] The vaccination status includes the i-th dose required and the completed vaccination status, where i represents the number of doses of the vaccine;
[0013] According to the status of needing the i-th dose in the vaccination status, the appointment application information with the status of needing the i-th dose is stored in the i-th dose vaccination queue.
[0014] Preferably, the vaccine information includes the vaccination institution number, the vaccination institution address, and the quantity of the i-th dose of vaccine.
[0015] Preferably, S3 also includes: pre-processing the appointment application information according to the vaccine information to obtain normalized data; the normalized data includes normalized available vaccination time, normalized vaccination time difference, normalized distance and normalized appointment time difference.
[0016] Preferably, the process of obtaining normalized data is:
[0017] According to the date of birth and the age limit of vaccination, the available time for vaccination is obtained, and the data of the available time for vaccination is normalized to obtain the normalized available time for vaccination;
[0018] According to the vaccination status, the vaccination time will be automatically generated, and the difference between the current time and the vaccination time will be calculated to obtain the vaccination time difference, and the vaccination time difference will be normalized to obtain the normalized vaccination time difference, which includes the normalized vaccination time difference of the i-th dose;
[0019] Calculate the distance between the vaccination institution address and the residential address, and normalize the data to obtain the normalized distance;
[0020] The difference between the current time and the appointment application time is calculated to obtain the appointment time difference, and the appointment time difference is normalized to obtain the normalized appointment time difference.
[0021] Preferably, in S3, the process of obtaining the weight of the appointment application information is: judging the weight of the appointment application information according to the available time for vaccination, when the available time for vaccination is less than the shortest time required to complete the vaccination, the weight of the appointment application information is 0;
[0022] When the available time for vaccination is greater than or equal to the shortest time required to complete vaccination, the weight of the appointment application information is judged according to the vaccination status. When the vaccination status is completed, the weight of the appointment application information is 0;
[0023] When the vaccination status is that the i-th dose is required, and i=1, the weight of the appointment application information in the first dose queue is calculated based on the normalized available vaccination time, the normalized distance, and the normalized appointment time difference;
[0024] When the vaccination status is that the i-th dose is required and i>1, the weight of the appointment application information in the i-th dose queue is calculated based on the normalized available vaccination time, the normalized time difference for the i-th dose, the normalized distance and the normalized appointment time difference.
[0025] Preferably, in S4, the appointment application information in the corresponding i-dose queue is sorted according to the weight of the appointment application information in the i-dose queue and in descending order of weight value.
[0026] Preferably, in S5, vaccines are allocated to applicants according to the sorting results, and a successful appointment notification is sent to the applicants who are allocated vaccines; at the same time, the number of the i-th dose of vaccine is reduced by 1, and the data is updated, and the updated data is sent to the blockchain for uploading.
[0027] Preferably, in S1, after receiving the appointment application information filled in by the applicant, the appointment application information is encrypted using the SHA-256 encryption method and stored in a secure database.
[0028] The technical solution of the present invention has the following advantages: by implementing the information filled in by the applicant and the vaccine information, the effect of intelligent and reasonable allocation of vaccines is achieved, thereby solving the problem that many people are currently rushing to make vaccine appointments at a certain moment and that making vaccine appointments depends entirely on the Internet speed and hand speed, thereby achieving the purpose of users being able to make intelligent appointments. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 A schematic diagram of a process of intelligent vaccine distribution method in the implementation of the present invention;
[0031] Figure 2 is a schematic diagram of the first dose cohort in the implementation of the present invention;
[0032] Figure 3 is a schematic diagram of the second dose cohort in the implementation of the present invention;
[0033] Figure 4 Schematic diagram of the third dose cohort in the implementation of the present invention. DETAILED DESCRIPTION
[0034] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0036] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0037] like Figure 1 As shown, this embodiment provides an intelligent vaccine distribution method. Taking HPV vaccine distribution as an example, the method includes the following steps:
[0038] S1: Receive appointment application information;
[0039] Specifically, the applicant selects the appointment platform recommended for use in the area, fills in the appointment application information, and then submits the appointment application. After receiving the appointment application information filled in by the applicant, the appointment application information is encrypted using the SHA-256 encryption method and stored in a secure database; since the blockchain has the security characteristics of decentralization, trustlessness, tamper-proofing, and anonymity, it solves the defects of the traditional centralized system architecture. Through the distributed storage of the blockchain, vaccination units in all regions of the country can obtain all vaccine information, update the data after the vaccine is distributed, and then store the data in the blockchain to ensure data consistency; the applicant's personal information is encrypted using an encryption algorithm to protect the applicant's personal privacy during the entire appointment process; therefore, in this embodiment, the blockchain is used for storage to protect the applicant's personal information security.
[0040] The appointment application information includes:
[0041] Date of birth, recorded as birth ; Vaccination status, recorded as status ; Residential address, recorded as addr ; Appointment application time, recorded as apply_time ; Vaccination status includes needing the first dose (i=1), needing the second dose (i=2), needing the third dose (i=3), and having completed vaccination (i=4).
[0042] S2: Classify the appointment application information and store it in a queue; in this embodiment, the queues are divided into three types, including a first dose queue, a second dose queue, and a third dose queue;
[0043] Specifically, Figure 2 , Figure 3 , Figure 4 As shown in the figure, R1-Rn represents the serial number of the appointment application information, ID represents the serial number of the vaccine dose (1-n), and N1-Nn represents the number of vaccines corresponding to the vaccine dose;
[0044] According to the first dose required status in the vaccination status, the appointment application information with the first dose required status is stored in the first dose vaccination queue (i=1);
[0045] According to the second dose required status in the vaccination status, the appointment application information with the second dose required is stored in the second dose vaccination queue (i=2);
[0046] According to the third dose required status in the vaccination status, the appointment application information with the third dose required is stored in the third dose vaccination queue (i=3). Only when all the appointment applications in a queue are processed, the subsequent queues will be processed.
[0047] S3: Read vaccine information from the local security database; obtain the weight of the appointment application information based on the vaccine information and the appointment application information stored in the queue;
[0048] Among them, vaccine information refers to the information that institutions with HPV vaccination qualifications need to upload, including:
[0049] Vaccination institution number, recorded as id ; Used to uniquely identify a vaccine qualification agency in a distributed database;
[0050] The address of the vaccination institution, denoted as org_location ; The distance between the applicant and each institution can be obtained by combining the residential address, and this distance is used in the weight calculation algorithm;
[0051] The number of the first dose of vaccine is recorded as N1; the number of the second dose of vaccine is recorded as N2; and the number of the third dose of vaccine is recorded as N3.
[0052] It also includes: pre-processing the appointment application information according to the vaccine information to obtain normalized data; the normalized data includes normalized available vaccination time, normalized vaccination time difference, normalized distance and normalized appointment time difference.
[0053] Specifically, the process of obtaining normalized data is:
[0054] According to the date of birth and the age limit of vaccination, the available time for vaccination is obtained, and the available time for vaccination is normalized to obtain the normalized available time for vaccination, which is recorded as Month_left ; The calculation formula is:
[0055] Month_left= 1 - ( deadline - ageUseMonth ) / Max ( deadline – ageUseMonth )
[0056] in, deadlineIndicates the age limit for vaccination (in months), ageUseMonth Indicates the applicant's age in months. ageUseMonth = SystemTime – birth ; Max ( deadline – ageUseMonth ) represents the available time for vaccination of the youngest person in the request queue, and birth represents the date of birth. In this embodiment, taking 26 years old as an example, deadline =26*12=312 (months), ageUseMonth = 300 (months); therefore, the available time for vaccination is deadline – ageUseMonth = 12 (months). Max ( deadline – ageUseMonth ) represents the number of months of available time corresponding to the appointment application request with the most available time in the queue. The available time for vaccination of each appointment application information in the queue is divided by this Max ( deadline – ageUseMonth ) value, normalize the weight value to [0,1]. Because the more disposable time for vaccination, the lower the urgency of the appointment application information, so the final Month_left The calculation formula is shown above.
[0057] The following are some examples:
[0058] Assume that there are 10 appointment application information in the queue, and the youngest one corresponds to ageUseMonth = 288 (months), Max ( deadline – ageUseMonth ) = 312-288 = 24 (months),
[0059] At this time, if a reservation application information in the queue ageUseMonth =300 (months), Max ( deadline – ageUseMonth ) = 312-300 = 12 (months), which means that the applicant corresponding to the appointment application information will be out of the vaccination period in 12 months and cannot be vaccinated; then Month_left = 1 – (312-300) / (312-288) = 0.5.
[0060] If another appointment request information in the queue ageUseMonth =306 (months), Max ( deadline – ageUseMonth) = 312-306 = 6 (months), which means that the applicant corresponding to the appointment application information will be over the vaccination period in 6 months and cannot be vaccinated, so the appointment application information Month_left The value should be larger. Month_left = 1 –(312-306) / (312-288)=0.75.
[0061] According to the vaccination status, the vaccination time will be automatically generated, and the vaccination time will be recorded as vacc_time i , where i is 1, 2, or 3; represents the time of the i-th vaccination; the difference between the current time and the vaccination time is calculated to obtain the vaccination time difference, and the vaccination time difference is normalized to obtain the normalized vaccination time difference. The vaccination time difference includes the first vaccination time difference and the second vaccination time difference. The normalized vaccination time difference includes the normalized first vaccination time difference and the normalized second vaccination time difference; where the first vaccination time difference is recorded as gap_days 1 ; The time difference of the second dose is recorded as gap_ days 2 ; Normalized first dose vaccination time difference, recorded as Gap_Time 1 ; Normalized second dose vaccination time difference, denoted as Gap_ Time 2 ;
[0062] The formula for calculating the vaccination time difference is:
[0063] gap_days i = ( SystemTime - vacc_time i )
[0064] Where i is 1 or 2; SystemTime Indicates the current time; vacc_time i Indicates the vaccination time;
[0065] The normalized inoculation time difference calculation formula is:
[0066] Gap_Time i =( SystemTime - vacc_time i ) / Max ( SystemTime - vacc_time i )
[0067] Where i is 1 or 2; SystemTime Indicates the current time; Max () represents the maximum value function; vacc_timei Indicates the vaccination time; the vaccination time difference is used to indicate the number of days between the current system time and the i-th vaccination time
[0068] Calculate the distance between the vaccination institution address and the residential address, and normalize the data to obtain the normalized distance, recorded as Dist ; The calculation formula is:
[0069] Dist = 1 - distance ( addr, org_location ) / Max ( distance ( addr, org_location ))
[0070] in, Max () represents the maximum value function; addr Indicates residential address; org_location Indicates the address of the vaccination facility; distance ( addr , org_location ) indicates the distance between the applicant’s residential address and each vaccination institution.
[0071] The difference between the current time and the appointment application time is calculated to obtain the appointment time difference, and the appointment time difference is normalized to obtain the normalized appointment time difference, which is recorded as Order ; The calculation formula is:
[0072] Order= ( SystemTime - apply_time ) / ( SystemTime - Min ( apply_time ))
[0073] in, Min () represents the minimum value function; SystemTime Indicates the current system time; apply_time Indicates the appointment application time.
[0074] Combining four types of spatiotemporal data, namely residential address, date of birth, vaccination time and appointment application time, the servers in each region start a scheduled task to calculate the priority weight of each applicant in the queue during that period every 30 minutes.
[0075] The process of obtaining the weight of the appointment application information is as follows:
[0076] The weight of the appointment application information is determined according to the available time for vaccination. When the available time for vaccination is less than 4 months, the weight of the appointment application information is 0 (indicating that the applicant cannot complete the vaccination before the prescribed age limit under the most optimistic circumstances); in this embodiment, the shortest time required to complete 3 doses of HPV vaccination is 4 months;
[0077] When the available time for vaccination is greater than 4 months, the weight of the appointment application information is determined based on the vaccination status. When the vaccination status is completed, the weight of the appointment application information is 0 (indicating that the applicant has completed all doses of vaccination);
[0078] When the vaccination status is that the first dose is required, the weight of the appointment application information in the first dose queue is calculated based on the normalized available vaccination time, normalized distance, and normalized appointment time difference; for eligible women with zero vaccination history, the normalized distance between the applicant and the vaccination institution is used when calculating the weight. Dist The applicant's date of birth is given greater weight and is divided into:
[0079] The weight of appointment application information and vaccination institutions in the region is calculated as follows:
[0080]
[0081] in, Represents the weight of the appointment application information in the first dose queue and the vaccination institution in the region, Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance;
[0082] The weight of appointment application information and non-local vaccination institutions is calculated as follows:
[0083]
[0084] in, Represents the weight of appointment application information and non-local vaccination institutions in the first dose queue, Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance;
[0085] It is not difficult to see that the weight given to the normalized distance between the appointment application information and the vaccination institution in the region is greater than the weight given to the appointment application information and the vaccination institution outside the region;
[0086] right and Take the maximum value, that is , get the weight of the appointment application information in the first dose queue.
[0087] When the vaccination status is that the second dose is required, for applicants who have received the first dose of the vaccine, the weight of the appointment application information needs to be judged based on the time difference of the first dose. When the time difference of the first dose is less than 30 days (i.e. gap_days1 <30), the weight of the appointment application information is 0 (indicating that the time interval is too short and no appointment will be arranged); otherwise, the weight of the appointment application information in the second dose queue is calculated based on the normalized available vaccination time, the normalized first dose vaccination time difference, the normalized distance, and the normalized appointment time difference; they are:
[0088]
[0089] in, Represents the weight of the appointment application information in the second dose queue and the vaccination institution in the region, Represents the weight of appointment application information and non-local vaccination institutions in the second dose queue; Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance, Gap_ Time 1 Indicates the normalized first dose vaccination time difference; used to calculate the weight of appointment application information and vaccination institutions in the region. When , the normalized distance is given Dist The coefficient is 15%, which is greater than 10% said they hoped to limit their selection of vaccination institutions in their region.
[0090] right and Take the maximum value, that is , get the weight of the appointment application information in the second dose queue.
[0091] When the vaccination status is that the third dose is required, for applicants who have received the second dose of the vaccine, the weight of the appointment application information needs to be judged based on the time difference of the second dose. When the time difference of the second dose is less than 90 days (i.e. gap_days 2 <90), the weight of the appointment application information is 0 (indicating that the time interval is too short and no appointment will be arranged); otherwise, the weight of the appointment application information in the third dose queue is calculated based on the normalized available vaccination time, the normalized second dose vaccination time difference, the normalized distance, and the normalized appointment time difference; divided into:
[0092]
[0093] in, Represents the weight of the appointment application information in the third dose queue and the vaccination institution in the region, Represents the weight of appointment application information and non-local vaccination institutions in the third dose queue; Order represents the normalized appointment time difference,Month_left represents the normalized available time for inoculation, Dist represents the normalized distance, Gap_ Time 2 represents the normalized second dose time difference;
[0094] right and Take the maximum value, that is , get the weight of the appointment application information in the third dose queue.
[0095] S4: sorting the appointment application information stored in the queue according to the weight of the appointment application information;
[0096] Specifically,
[0097] Arrange the appointment application information in the first dose queue according to the weight of the appointment application information in the first dose queue and in descending order of weight value;
[0098] Arrange the appointment application information in the second dose queue according to the weight of the appointment application information in the second dose queue and in descending order of weight value;
[0099] Arrange the appointment application information in the third dose queue according to the weight of the appointment application information in the third dose queue and in descending order of weight value;
[0100] Considering that there may be a large number of appointment application information with a large weight in the back queue, the server will calculate the weight of each appointment application information in all queues at a fixed time every day, and redistribute it into several queues according to the weight value, wherein the queues are arranged in descending order according to the weight value. In this embodiment, a time is set for the server as a fixed time every day.
[0101] S5: distribute vaccines according to the ranking results;
[0102] Specifically, according to the sorting results, the appointment application information with the largest weight in the same queue will be allocated vaccines (and then pointed to the applicant corresponding to the appointment application information with the largest weight value). Figure 2 In For example, it represents the appointment application information with the largest weight in the first dose queue, and Weight(Rn,1) represents the weight of the nth appointment application information for the first dose of vaccine;
[0103] A text message notifying the applicant of successful appointment will be sent to the applicant who has been assigned the vaccine. At the same time, the number of the first dose of vaccine, the second dose of vaccine, or the third dose of vaccine will be reduced by 1, and the data will be updated and sent to the blockchain for uploading.
[0104] The intelligent vaccine distribution method provided in this embodiment has the following beneficial effects:
[0105] By allocating vaccines intelligently and reasonably based on the information filled in by the applicant and the vaccine information, we have achieved the effect of allocating vaccines intelligently and reasonably, thereby solving the problem that many people are currently rushing to make vaccine appointments at a certain moment and that making vaccine appointments depends entirely on the Internet speed and hand speed, thus achieving the goal of enabling users to make intelligent appointments.
[0106] As long as the applicant fills in the appointment application information and uploads it to the server, the server will realize the purpose of intelligent vaccine classification based on the spatiotemporal data provided in the appointment application information, and notify the applicant via text message.
[0107] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. An intelligent vaccine distribution method, characterized in that: include: S1: Receive appointment application information; The appointment application information includes date of birth, vaccination status, residential address and appointment application time; S2: Classify the appointment application information and store it in the corresponding queue; The vaccination status includes the i-th dose required and the vaccination completed status, where i represents the dose of the vaccine; According to the i-th dose required status in the vaccination status, the appointment application information with the i-th dose required status is stored in the i-th dose vaccination queue; S3: Read vaccine information from the local security database; obtain the weight of the appointment application information based on the vaccine information and the appointment application information; The vaccine information includes the vaccination institution number, the vaccination institution address, and the number of the i-th dose of vaccine; Preprocessing the appointment application information according to the vaccine information to obtain normalized data; the normalized data includes normalized available vaccination time, normalized vaccination time difference, normalized distance and normalized appointment time difference; The process of obtaining the normalized data is: According to the date of birth and the age limit of vaccination, the available time for vaccination is obtained, and the data of the available time for vaccination is normalized to obtain the normalized available time for vaccination; According to the vaccination status, the vaccination time will be automatically generated, and the difference between the current time and the vaccination time will be calculated to obtain the vaccination time difference, and the vaccination time difference will be normalized to obtain the normalized vaccination time difference, which includes the normalized vaccination time difference of the i-th dose; Calculate the distance between the vaccination institution address and the residential address, and normalize the data to obtain the normalized distance; Calculate the difference between the current time and the appointment application time to obtain the appointment time difference, and normalize the appointment time difference to obtain the normalized appointment time difference; The process of obtaining the weight of the appointment application information is as follows: the weight of the appointment application information is determined according to the available time for vaccination. When the available time for vaccination is less than the shortest time required to complete the vaccination, the weight of the appointment application information is 0; When the available time for vaccination is greater than or equal to the shortest time required to complete vaccination, the weight of the appointment application information is judged according to the vaccination status. When the vaccination status is completed, the weight of the appointment application information is 0; When the vaccination status is that the first dose is required, the weight of the appointment application information in the first dose queue is calculated based on the normalized available vaccination time, normalized distance, and normalized appointment time difference; The weight of appointment application information and vaccination institutions in the region is calculated as follows: ; in, Represents the weight of the appointment application information in the first dose queue and the vaccination institution in the region, Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance; The weight of appointment application information and non-local vaccination institutions is calculated as follows: ; in, Represents the weight of appointment application information and non-local vaccination institutions in the first dose queue, Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance; right and Take the maximum value to obtain the weight of the appointment application information in the first dose queue; When the vaccination status is that the second dose is required, for applicants who have received the first dose of the vaccine, the weight of the appointment application information needs to be judged based on the time difference of the first dose. When the time difference of the first dose is less than 30 days, the weight of the appointment application information is 0, indicating that the time interval is too short and no appointment will be arranged; otherwise, the weight of the appointment application information in the second dose queue is calculated based on the normalized available vaccination time, the normalized first dose time difference, the normalized distance and the normalized appointment time difference; they are: ; ; in, Represents the weight of the appointment application information in the second dose queue and the vaccination institution in the region, Represents the weight of appointment application information and non-local vaccination institutions in the second dose queue; Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance, Gap_ Time 1 represents the normalized first dose time difference; right and Take the maximum value to obtain the weight of the appointment application information in the second dose queue; When the vaccination status is that the third dose is required, for applicants who have received the second dose of the vaccine, the weight of the appointment application information needs to be judged based on the time difference of the second dose. When the time difference of the second dose is less than 90 days, that is gap_ days 2 When <90, the weight of the appointment application information is 0, indicating that the time interval is too short and no appointment will be arranged; otherwise, the weight of the appointment application information in the third dose queue is calculated based on the normalized available vaccination time, the normalized second dose vaccination time difference, the normalized distance and the normalized appointment time difference; divided into: ; ; in, Represents the weight of the appointment application information in the third dose queue and the vaccination institution in the region, Represents the weight of appointment application information in the third dose queue and vaccination institutions outside the region; Order represents the normalized appointment time difference, Month_left represents the normalized available time for inoculation, Dist represents the normalized distance, Gap_ Time 2 represents the normalized second dose time difference; right and Take the maximum value to obtain the weight of the appointment application information in the third dose queue; S4: sorting the appointment application information in a corresponding queue according to the weight of the appointment application information; S5: Allocate vaccines based on the ranking results.
2. The intelligent vaccine distribution method according to claim 1, characterized in that: In S4, According to the weight of the appointment application information in the i-th dose queue, and in descending order of the weight value, the appointment application information in the corresponding i-th dose queue is sorted.
3. The intelligent vaccine distribution method according to claim 1, characterized in that: In S5, vaccines are allocated to applicants according to the sorting results, and a successful appointment notification is sent to the applicants who are allocated vaccines; at the same time, the quantity of the i-th dose of vaccine is reduced by 1, and the data is updated and sent to the blockchain for uploading.
4. The intelligent vaccine distribution method according to claim 1, characterized in that: In S1, after receiving the appointment application information filled in by the applicant, the appointment application information is encrypted using the SHA-256 encryption method and stored in a secure database.
Citation Information
Patent Citations
Health service reservation method and device thereof, terminal, server and storage medium
CN114078581A