Inventory analysis and management optimization method of smart pharmacy management system
By calculating pharmacy inventory weights, distribution cost factors, and demand coefficients, an outbound and inbound plan is developed to optimize pharmacy inventory management, solving the problem of low drug supply efficiency in multi-pharmacies collaborative operations and achieving inventory balance and cost minimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUNAN SPACE FOLDING INTERNET TECH CO LTD
- Filing Date
- 2026-01-20
- Publication Date
- 2026-05-15
AI Technical Summary
Traditional pharmacy management systems suffer from low drug supply efficiency and both shortages and stockpiles of similar drugs in multi-pharmacies collaborative operations, lacking networked collaboration and dynamic adjustment capabilities.
By acquiring current orders, historical orders, pharmacy inventory levels and location data, we can calculate inventory weights, delivery cost factors, demand coefficients, and inbound adjustment coefficients to formulate outbound and inbound plans and optimize pharmacy inventory management.
It has achieved inventory balance and minimized distribution costs in a multi-pharmacies network, solved the problem of regional shortages and backlogs of medicines, and improved the efficiency of medicine supply.
Smart Images

Figure CN121544184B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of inventory management technology, specifically to a method for inventory analysis and management optimization in a smart pharmacy management system. Background Technology
[0002] As the pharmaceutical retail industry develops towards chain operations and networking, the inventory management model of a single pharmacy is no longer sufficient to meet the actual needs of collaborative operations among multiple pharmacies. Currently, the core of most pharmacy management systems in the industry is an inventory management module based on purchase, sales, and inventory records, enabling the recording of drug receipts, sales, and inventory status within a single pharmacy. However, current pharmacy management systems primarily make isolated inbound and outbound decisions based on the historical sales of individual pharmacies. When outbound, orders are often allocated using a simple proximity principle, failing to comprehensively consider the pharmacy's real-time inventory and the delivery routes of order clusters. When receiving drugs, each pharmacy replenishes independently, lacking networked collaboration. This results in both stockouts and overstocking of the same drugs in different pharmacies, and the fragmented inbound and outbound processes prevent dynamic adjustments to inbound strategies based on actual outbound consumption, leading to overall low drug supply efficiency. Summary of the Invention
[0003] This invention provides an inventory analysis and management optimization method for a smart pharmacy management system to solve the existing problem: the traditional pharmacy management system has low drug supply efficiency.
[0004] The inventory analysis and management optimization method of the smart pharmacy management system of the present invention adopts the following technical solution:
[0005] Includes the following steps:
[0006] Retrieve several current orders, several orders within a historical time range, the inventory of various medicines in the pharmacy, and the location of the pharmacy;
[0007] Based on the inventory of various medicines in the pharmacy and the demand for various medicines in the current order, obtain the inventory weight of the pharmacy for the current order. Combine the distance between each pharmacy and each current order, as well as the distance between each current order, to obtain the delivery cost factor of each pharmacy for each current order.
[0008] The system acquires several city regions through a network. Based on the number of orders fulfilled by each pharmacy within a city region over a historical period, and combined with the sales volume of various drugs within the city region, it obtains the demand coefficient for each drug in each pharmacy, and then determines the initial target inventory level for each drug in the pharmacy. Based on the difference between the number of orders fulfilled by each pharmacy within a city region over a historical period and the sales volume of various drugs in each city region during adjacent time periods, it obtains the inventory adjustment coefficient for each drug in each pharmacy. Combined with the initial target inventory level for each drug in the pharmacy, it determines the revised target inventory level for each drug in the pharmacy. Based on the demand coefficient and inventory level of each drug in each pharmacy, it obtains the outbound service level for each drug in each pharmacy. Combined with the revised target inventory level for each drug in the pharmacy, it determines the inbound quantity for each drug in each pharmacy.
[0009] Based on the delivery cost factors of each pharmacy for each current order and the inventory of each medicine in each pharmacy, develop an inventory plan for each medicine in each pharmacy.
[0010] Preferably, the specific method for obtaining the pharmacy's inventory weight for the current order based on the pharmacy's inventory of various medicines and the demand for various medicines in the current order includes:
[0011] For the The pharmacy and the first The first of the current orders The first type of medicine, will be the first The first of the current orders The demand for this type of medicine is higher than that of the previous one. The first of the current orders The drug in the The ratio obtained from the inventory of each pharmacy is used as the first... The pharmacy has the first The first of the current orders Inventory weighting factors for various drugs;
[0012] For the The pharmacy has the first The average of the inventory weight factors for all types of medicines in the current order is used for weight normalization, and the normalized result is taken as the weight normalization result. The pharmacy has the first Inventory weight of each current order.
[0013] Preferably, the specific method for obtaining the delivery cost factor of each pharmacy for each current order includes:
[0014]
[0015] In the formula, Indicates the first The pharmacy has the first The delivery cost factor for each current order; Indicates the number of pharmacies; Indicates the quantity of the current order; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The order and the first The distance between orders; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight of each current order.
[0016] Preferably, the method for obtaining the demand coefficients of various medicines in each pharmacy based on the number of orders fulfilled by each pharmacy within a city area during a historical time period, combined with the sales volume of various medicines in the city area, includes the following specific methods:
[0017] For any urban area and the first The pharmacy will be the first in the historical time frame. The ratio of the number of orders fulfilled by a pharmacy within the city area to the total number of orders fulfilled within the historical time frame is used as the [number]. The performance weight of each pharmacy in the aforementioned urban area;
[0018] For the This type of medicine, to obtain the first The sales volume of this drug in the urban area will be the first Sales of this drug in the urban area increased compared to the previous year. The ratio of the total sales of a certain drug across all urban areas, as the [number]th [drug name]... The demand intensity of a certain type of drug in the urban area; the first The demand density of a certain drug in the urban area multiplied by the first The product of the fulfillment weights of each pharmacy for the urban area is used as the first... The pharmacy in the aforementioned urban area is the first The supply factor of the first drug; The pharmacy serves all urban areas. The sum of the supply factors of each drug, as the first... The first pharmacy Demand coefficient for a certain type of medicine.
[0019] Preferably, the method for obtaining the inventory adjustment coefficients for various medicines in each pharmacy based on the number of orders fulfilled by each pharmacy within a city region during a historical time period and the sales differences of various medicines in each city region during adjacent time periods includes:
[0020] Preset a historical time period length Divide the historical time range into several equal parts, each with a length of [missing information]. The historical time period of the day; for the first The pharmacy and the first The drug, based on the first [number]th ... The differences in sales volume of this drug in various urban areas, combined with the first The fulfillment weight of each pharmacy in each city area is used to obtain the first... The first pharmacy Adjustment coefficient for the entry of certain drugs into the warehouse.
[0021] Preferably, the acquisition of the first The first pharmacy The specific methods for adjusting the warehousing coefficient for this type of medicine are as follows:
[0022]
[0023] In the formula, Indicates the first The first pharmacy Adjustment coefficient for the entry of certain drugs into inventory; Indicates the number of historical time periods; Indicates the number of urban areas; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The temporal distance between a historical time period and the current moment; Indicates the first The pharmacy has the first The performance weight of each city region; This indicates a function that maps results to the range of -1 to 1.
[0024] Preferably, the specific method for obtaining the corrected target inventory of various medicines in the pharmacy includes:
[0025] For the The pharmacy and the first The first type of medicine, will be the first The first pharmacy The sum of the warehousing adjustment factor for each type of drug and 1, multiplied by the first... The first pharmacy The product of the initial target inventory level of each drug is used as the first... The first pharmacy The revised target inventory level for this type of drug.
[0026] Preferably, the method for obtaining the outbound service level of various medicines in each pharmacy based on the demand coefficient and inventory of various medicines in each pharmacy includes:
[0027] For the The pharmacy and the first The first type of medicine, will be the first The first pharmacy The inventory of this type of medicine and the first The first pharmacy The product of the demand coefficients of each drug is mapped to a range of -1 to 1, and the mapping result is used as the first... The first pharmacy The level of outbound service for this type of medicine.
[0028] Preferably, the specific method for obtaining the quantity of each medicine in each pharmacy is as follows:
[0029]
[0030] In the formula, Indicates the first The first pharmacy The amount of each type of medicine received into the warehouse; Indicates the first The first pharmacy The revised target inventory level for this type of drug; Indicates the first The first pharmacy Inventory levels of certain medicines; Indicates the first The first pharmacy The level of outbound service for this type of medicine; This represents the function that takes the maximum value. This indicates the rounding up operation.
[0031] Preferably, the specific method for formulating an inbound and outbound plan for various medicines in each pharmacy based on the delivery cost factor of each current order and the inventory of each medicine in each pharmacy includes:
[0032] For the For each current order, obtain the order number for each pharmacy. The delivery cost factor for the current order is used to determine the pharmacy with the minimum delivery cost factor. The system identifies the pharmacies delivering current orders; it then obtains the current orders delivered by each pharmacy and, based on the demand for each type of medicine in each pharmacy's current orders, develops an outbound plan for each pharmacy.
[0033] Based on the quantity of each medicine received in each pharmacy, an inventory plan is developed for each pharmacy.
[0034] The beneficial effects of the technical solution of this invention are as follows: This application formulates an outbound and inbound plan for various medicines in a pharmacy by obtaining several current orders, several orders within a historical time range, the inventory of various medicines in the pharmacy, and the location of the pharmacy. Formulating an outbound plan for various medicines in a pharmacy refers to allocating orders to each pharmacy. To avoid shortages and stockpiles of the same medicine in different pharmacies, when allocating orders to each pharmacy, it is necessary to analyze the inventory of various medicines in the pharmacy and the demand for each medicine in the current order to obtain the inventory weight of the pharmacy for the current order. Furthermore, by combining the distance between the pharmacy and the current order, and the distance between different current orders, the delivery cost factor of the pharmacy for the current order is obtained.
[0035] Further analysis of orders at various locations within a historical timeframe yields demand coefficients for various medicines in each pharmacy. This information is used to establish a preliminary inventory level indicator for each medicine, resulting in an initial target inventory level. Next, combining sales trends of various medicines at different locations, an inbound adjustment coefficient is obtained to correct the initial target inventory level, resulting in a revised target inventory level. Then, by analyzing the demand coefficients and inventory levels of various medicines in each pharmacy, the outbound service level is determined. Combined with the revised target inventory level, the inbound quantity of each medicine in each pharmacy is calculated. Finally, based on the delivery cost factor for current orders and the inbound quantity of each medicine in each pharmacy, an inbound plan is developed for each pharmacy. This achieves inventory balance and minimizes delivery costs within a multi-pharmacy network, resolving the coexistence of regional drug shortages and overstocking, and improving drug supply efficiency. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating the steps of the inventory analysis and management optimization method in the intelligent pharmacy management system of the present invention. Detailed Implementation
[0038] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of the inventory analysis and management optimization method for the intelligent pharmacy management system proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0040] The following description, in conjunction with the accompanying drawings, details the specific scheme of the inventory analysis and management optimization method of the smart pharmacy management system provided by this invention.
[0041] Please see Figure 1 The diagram illustrates a flowchart of the inventory analysis and management optimization method for a smart pharmacy management system according to an embodiment of the present invention. The method includes the following steps:
[0042] Step S001: Obtain several current orders, several orders within a historical time range, the inventory of various medicines in the pharmacy, and the location of the pharmacy.
[0043] It should be noted that the specific scenario in this embodiment is that after a user places an order for various medicines through a user terminal, each pharmacy delivers the required medicines to each order the next day. However, the traditional method for pharmacies to allocate orders is to allocate orders to each pharmacy based on proximity, without taking into account the demand for various medicines from users in different geographical locations, as well as the inventory of various medicines in the pharmacy, which leads to low medicine supply efficiency. Therefore, this embodiment proposes an inventory analysis and management optimization method for a smart pharmacy management system. Thus, it is first necessary to obtain the current orders, several orders within a historical time range, the inventory of various medicines in the pharmacy, and the location of the pharmacy.
[0044] Specifically, the system records the orders placed by users on the current date as the current order, and retrieves the inventory of various medicines in each pharmacy and the location of each pharmacy from the database; a historical time range is preset. The The specific value can be set according to the actual situation. This embodiment does not make a hard requirement. In this embodiment, it is used as... Let's take the most recent example as an example; Using days as the historical time range, all orders within that historical time range are retrieved from the database, and the pharmacies that delivered each order within that historical time range are identified.
[0045] Step S002: Based on the inventory of various medicines in the pharmacy and the demand for various medicines in the current order, obtain the inventory weight of the pharmacy for the current order. Combine the distance between each pharmacy and each current order, as well as the distance between each current order, to obtain the delivery cost factor of each pharmacy for each current order.
[0046] It should be noted that this embodiment, as an inventory analysis and management optimization method for a smart pharmacy management system, specifically refers to the formulation of outbound and inbound plans for various medicines in a pharmacy. Formulating outbound plans for various medicines in a pharmacy means allocating orders to each pharmacy. To avoid stockouts and overstocking of the same medicine in different pharmacies, when allocating orders to each pharmacy, it is necessary to analyze the inventory levels of various medicines in the pharmacy and the demand for each medicine in the current order to obtain the inventory weight of the pharmacy for the current order. Furthermore, by combining the distance between the pharmacy and the current order, and the distance between different current orders, the delivery cost factor of the pharmacy for the current order is obtained to quantify the delivery cost of each pharmacy for each order. This serves as the basis for allocating orders to each pharmacy, thereby improving the efficiency of medicine supply.
[0047] Preferably, in a specific embodiment of the present invention, for the first The pharmacy and the first The first of the current orders The first type of medicine, will be the first The first of the current orders The demand for this type of medicine is higher than that of the previous one. The first of the current orders The drug in the The ratio obtained from the inventory of each pharmacy is used as the first... The pharmacy has the first The first of the current orders Inventory weighting factors for various drugs;
[0048] Furthermore, regarding the first The pharmacy has the first The average inventory weighting factor of all types of medicines in the current order is used for weight normalization (the specific normalization range is the average inventory weighting factor of all types of medicines in each current order for each pharmacy), and the normalized result is used as the weight normalization result. The pharmacy has the first Inventory weight of each current order.
[0049] As an example, obtaining the first The pharmacy has the first The specific formula for calculating the inventory weight of a current order is as follows:
[0050]
[0051] In the formula, Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The number of different types of medicines in the current order; Indicates the first The first of the current orders The demand for this type of medicine; Indicates the first The first of the current orders The drug in the The inventory of each pharmacy; This represents the weight normalization function.
[0052] It should be noted that the pharmacy's inventory weight for the current order represents the degree to which the pharmacy is unable to deliver the medicines in the order. The higher the value, the more difficult it is for the pharmacy to deliver the medicines in the current order. In this case, if the pharmacy is forced to deliver the medicines in the current order, it is more likely to cause an inventory crisis. That is, the higher the pharmacy's inventory weight for the current order, the higher the cost of the pharmacy to deliver the current order. Therefore, this weight is used to weight the subsequent evaluation of the pharmacy's delivery cost factor for the current order, so as to accurately assess the cost of the pharmacy to deliver the current order.
[0053] Preferably, in a specific embodiment of the present invention, for the first The pharmacy and the first For each current order, based on the inventory weight of each pharmacy for each current order and the distance between them, combined with the distance between different orders, the 1st order is obtained. The pharmacy has the first The specific formula for calculating the delivery cost factor of a current order is as follows:
[0054]
[0055] In the formula; Indicates the first The pharmacy has the first The delivery cost factor for each current order; Indicates the number of pharmacies; Indicates the quantity of the current order; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The order and the first The distance between orders; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight of each current order.
[0056] It should be noted that the pharmacy's delivery cost factor for the current order represents the pharmacy's delivery cost for the current order. The greater the distance between the pharmacy and the current order, the higher the cost of delivering the current order. This is further combined with the pharmacy's inventory weight for the current order to accurately assess the pharmacy's delivery cost for the current order. Furthermore, since the pharmacy does not return to the pharmacy after each delivery of a current order to deliver other current orders, but rather proceeds directly to the next current order after completing one, the distance between current orders also needs to be considered. The closer the distance between two current orders, the less cost the pharmacy can incur in completing the delivery of the other current order while fulfilling one. The smaller the value, the more it indicates the first The pharmacy has the first The lower the delivery cost of the current order, the more likely it is to make the next order a success. The first pharmacy delivery If the current order is [number], then if the [number]th [order] is [number]... The current order and the first The smaller the distance between the current orders, the better. The first pharmacy delivery After the first order, for the... The lower the delivery cost of the current order, the more accurate the pharmacy's delivery cost factor for the current order can be obtained.
[0057] This gives us the pharmacy's delivery cost factor for the current order.
[0058] Step S003: Obtain several city regions through a network. Based on the number of orders fulfilled by each pharmacy within a city region over a historical timeframe, and combined with the sales volume of various drugs within the city region, obtain the demand coefficient for each drug in each pharmacy, and then obtain the initial target inventory level for each drug in the pharmacy. Based on the difference between the number of orders fulfilled by each pharmacy within a city region over a historical timeframe and the sales volume of various drugs in each city region during adjacent time periods, obtain the inventory adjustment coefficient for each drug in each pharmacy. Combined with the initial target inventory level for each drug in the pharmacy, obtain the revised target inventory level for each drug in the pharmacy. Based on the demand coefficient and inventory level of each drug in each pharmacy, obtain the outbound service level for each drug in each pharmacy. Combined with the revised target inventory level for each drug in the pharmacy, obtain the inbound quantity for each drug in each pharmacy.
[0059] It should be noted that the pharmacy's delivery cost factor for the current order obtained in step S002 is used as the basis for formulating outbound plans for various medicines in the pharmacy. However, in order to formulate inbound plans for various medicines in the pharmacy, it is also necessary to analyze orders at various locations within a historical time range to obtain the demand coefficients for various medicines in each pharmacy. This allows for the formulation of a preliminary inventory level indicator for various medicines in each pharmacy, resulting in the initial target inventory level for various medicines in the pharmacy. Furthermore, by combining the sales trends of various medicines at various locations, the inbound adjustment coefficients for various medicines in the pharmacy are obtained, thereby correcting the initial target inventory level for various medicines in the pharmacy, resulting in the corrected target inventory level for various medicines in the pharmacy. Then, by combining the demand coefficients and inventory levels of various medicines in each pharmacy, the outbound service level of various medicines in each pharmacy is obtained. Combined with the corrected target inventory level of various medicines in each pharmacy, the inbound quantity of each medicine in each pharmacy is obtained, thus formulating an inbound plan for various medicines in the pharmacy.
[0060] Preferably, in a specific embodiment of the present invention, the city is processed into a grid to obtain several urban areas. Since grid processing is a well-known prior art, it will not be described in detail in this embodiment; for any urban area and the first The pharmacy will be the first in the historical time frame. The ratio of the number of orders fulfilled by a pharmacy within the city area to the total number of orders fulfilled within the historical time frame is used as the [number]. The performance weight of each pharmacy in the aforementioned urban area;
[0061] Furthermore, regarding the first This type of medicine, to obtain the first The sales volume of this drug in the urban area will be the first Sales of this drug in the urban area increased compared to the previous year. The ratio of the total sales of a certain drug across all urban areas, as the [number]th [drug name]... The demand intensity of a certain type of drug in the urban area; the first The demand density of a certain drug in the urban area multiplied by the first The product of the fulfillment weights of each pharmacy for the urban area is used as the first... The pharmacy in the aforementioned urban area is the first The supply factor of the first drug; The pharmacy serves all urban areas. The sum of the supply factors of each drug, as the first... The first pharmacy Demand coefficient for a certain type of medicine.
[0062] It should be noted that the greater the fulfillment weight of a pharmacy for a certain city area, the more the pharmacy has historically tended to serve users in that city area. In this case, the pharmacy is more likely to fulfill future drug orders in that city area. Therefore, this weight is used when calculating the demand coefficient of various drugs in the pharmacy to accurately obtain the demand density of each drug in the city area. Based on this, a preliminary inventory index is formulated for each drug in the pharmacy, resulting in the initial target inventory of each drug in the pharmacy.
[0063] Preferably, in a specific embodiment of the present invention, a sales warning threshold is preset. The The specific value can be set according to the actual situation. This embodiment does not make a hard requirement. In this embodiment, it is used as... Taking the first example as an example, for the first The pharmacy and the first The first type of medicine, will be the first The first pharmacy The demand coefficient of a certain drug and The product of , as the first The first pharmacy The initial target inventory level for this type of medicine.
[0064] It should be noted that the initial target inventory level of various medicines in the pharmacy represents a preliminary inventory level indicator for each medicine in each pharmacy. In order to formulate a better inventory level indicator for each medicine in each pharmacy, it is necessary to further analyze the sales trend of various medicines at each location, obtain the warehousing adjustment coefficient of medicines in the pharmacy, and capture the dynamic change trend of drug demand to revise the initial target inventory level of various medicines in the pharmacy, thus obtaining the revised target inventory level of various medicines in the pharmacy.
[0065] Preferably, in a specific embodiment of the present invention, a historical time period length is preset. The The specific value can be set according to the actual situation. This embodiment does not make a hard requirement. In this embodiment, it is used as... Taking this as an example, the historical timeframe is divided into several equal parts, each with a length of [missing information]. The historical time period of the day; for the first The pharmacy and the first The drug, based on the first [number]th ... The differences in sales volume of this drug in various urban areas, combined with the first The fulfillment weight of each pharmacy in each city area is used to obtain the first... The first pharmacy The specific formula for calculating the warehousing adjustment factor for this type of medicine is as follows:
[0066]
[0067] In the formula, Indicates the first The first pharmacy Adjustment coefficient for the entry of certain drugs into inventory; Indicates the number of historical time periods; Indicates the number of urban areas; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The temporal distance between a historical time period and the current moment; Indicates the first The pharmacy has the first The performance weight of each city region; This indicates a function that maps results to the range of -1 to 1.
[0068] It should be noted that, It indicates the first The drug in the The sales trend within each city region is analyzed by assigning a higher weight to historical time periods closer to the current moment in order to accurately obtain the sales trend of the current time period. The drug in the The sales trend within a city region; the larger the value, the more significant the trend. The drug in the The faster the sales growth within a city region, the more sensitive a pharmacy should be to the demand trends in that region, given its frequent fulfillment of orders for that region in its historical business. This means the pharmacy needs to respond to changes in demand in that region by adjusting its inventory levels accordingly, thereby obtaining the inventory adjustment coefficients for various medicines in the pharmacy. Based on this, the initial target inventory levels for various medicines in the pharmacy can be adjusted, resulting in the adjusted target inventory levels for various medicines in the pharmacy.
[0069] Preferably, in a specific embodiment of the present invention, for the first The pharmacy and the first The first type of medicine, will be the first The first pharmacy The sum of the warehousing adjustment factor for each type of drug and 1, multiplied by the first... The first pharmacy The product of the initial target inventory level of each drug is used as the first... The first pharmacy The revised target inventory level for this type of drug.
[0070] It should be noted that after obtaining the corrected target inventory of various medicines in each pharmacy, the outbound service level of various medicines in each pharmacy can be obtained by using the demand coefficient and inventory of various medicines in each pharmacy. Combined with the corrected target inventory of various medicines in each pharmacy, the inbound quantity of each medicine in each pharmacy can be obtained.
[0071] Preferably, in a specific embodiment of the present invention, for the first The pharmacy and the first The first type of medicine, will be the first The first pharmacy The demand coefficient of the first drug and the second The first pharmacy The ratio of the inventory levels of each drug is mapped to a range of -1 to 1, and the mapping result is used as the first... The first pharmacy The level of outbound service for this type of medicine.
[0072] Furthermore, according to the first The first pharmacy The level of outbound service for this type of medicine, combined with the first The first pharmacy The revised target inventory level of the drug and the first The first pharmacy The inventory of the drug, to obtain the first The first pharmacy The specific formula for calculating the quantity of a certain type of medicine entering the warehouse is as follows:
[0073]
[0074] In the formula, Indicates the first The first pharmacy The amount of each type of medicine received into the warehouse; Indicates the first The first pharmacy The revised target inventory level for this type of drug; Indicates the first The first pharmacy Inventory levels of certain medicines; Indicates the first The first pharmacy The level of outbound service for this type of medicine; This represents the function that takes the maximum value. This indicates the rounding up operation.
[0075] It should be noted that the outbound service level of various medicines in a pharmacy indicates whether the inventory status of various medicines in the pharmacy is "surplus" or "shortage" relative to their demand. The higher the value, the more "shortage" the various medicines in the pharmacy are relative to their demand. When formulating the subsequent warehousing plan, the warehousing quantity of the corresponding medicines should be reduced to obtain the warehousing quantity of each medicine in each pharmacy.
[0076] This gives us the inventory quantity of each medicine in each pharmacy.
[0077] Step S004: Based on the delivery cost factor of each pharmacy for each current order and the inventory of each medicine in each pharmacy, formulate an inventory plan for each medicine in each pharmacy.
[0078] It should be noted that after obtaining the delivery cost factor of each pharmacy for each current order and the inventory quantity of each medicine in each pharmacy through steps S002 and S003 respectively, a reasonable outbound plan for various medicines in the pharmacy can be formulated based on the delivery cost factor of each pharmacy for each current order and the inventory quantity of each medicine in each pharmacy. This avoids the phenomenon of shortages and backlogs of the same medicines in different pharmacies and improves the supply efficiency of medicines.
[0079] Specifically, for the first For each current order, obtain the order number for each pharmacy. The delivery cost factor for the current order is used to determine the pharmacy with the minimum delivery cost factor. The system identifies the pharmacies delivering current orders; it then obtains the current orders delivered by each pharmacy and, based on the demand for each type of medicine in each pharmacy's current orders, develops an outbound plan for each pharmacy.
[0080] Furthermore, based on the inbound quantity of each medicine in each pharmacy, an inbound plan is formulated for each pharmacy; according to the outbound service level of each medicine in each pharmacy, the outbound quantity of medicines in the assigned orders of each pharmacy is dynamically and weighted to generate an outbound operation detail sheet to guide picking; then, based on the inbound adjustment coefficient of each medicine in each pharmacy, the replenishment quantity of that pharmacy in the current period is calculated, and the replenishment quantity is added to the existing inventory to form the target inventory quantity, finally forming the inbound detail sheet for the current period; finally, the outbound detail sheet and the inbound detail sheet of each pharmacy are combined to obtain the comprehensive inventory operation plan for each pharmacy, and based on this, specific outbound instructions and replenishment plans are generated to achieve scientific management of the inventory of each pharmacy.
[0081] It should be noted that this embodiment constructs a delivery cost factor that integrates inventory tightness and spatial distance by acquiring data such as pharmacy inventory, order demand, geographical location, and historical sales. It dynamically allocates the optimal delivery pharmacy for each order to formulate an outbound plan. At the same time, it calculates the demand coefficient of each pharmacy through grid analysis and derives the inbound adjustment coefficient by combining it with sales trends. Then, it uses the outbound service level that reflects inventory shortage to accurately calculate the inbound quantity of each medicine to formulate an inbound plan. Ultimately, it achieves inventory balance and minimizes delivery costs under a multi-pharmacyr network, solves the problem of regional shortages and backlogs of medicines, and improves the efficiency of medicine supply.
[0082] This concludes the embodiment.
[0083] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the principles of the present invention should be included within the protection scope of the present invention.
Claims
1. An inventory analysis and management optimization method for a smart pharmacy management system, characterized in that, The method includes the following steps: Retrieve several current orders, several orders within a historical time range, the inventory of various medicines in the pharmacy, and the location of the pharmacy; Based on the inventory of various medicines in the pharmacy and the demand for various medicines in the current order, obtain the inventory weight of the pharmacy for the current order. Combine the distance between each pharmacy and each current order, as well as the distance between each current order, to obtain the delivery cost factor of each pharmacy for each current order. The system acquires several city regions through a network. Based on the number of orders fulfilled by each pharmacy within a city region over a historical period, and combined with the sales volume of various drugs within the city region, it obtains the demand coefficient for each drug in each pharmacy, and then determines the initial target inventory level for each drug in the pharmacy. Based on the difference between the number of orders fulfilled by each pharmacy within a city region over a historical period and the sales volume of various drugs in each city region during adjacent time periods, it obtains the inventory adjustment coefficient for each drug in each pharmacy. Combined with the initial target inventory level for each drug in the pharmacy, it determines the revised target inventory level for each drug in the pharmacy. Based on the demand coefficient and inventory level of each drug in each pharmacy, it obtains the outbound service level for each drug in each pharmacy. Combined with the revised target inventory level for each drug in the pharmacy, it determines the inbound quantity for each drug in each pharmacy. Based on the delivery cost factors of each pharmacy for each current order and the inventory of each medicine in each pharmacy, develop an inventory plan for each medicine in each pharmacy. The method for obtaining the pharmacy's inventory weight for the current order based on the pharmacy's inventory of various medicines and the demand for various medicines in the current order includes the following specific methods: For the The pharmacy and the first The first of the current orders The first type of medicine, will be the first The first of the current orders The demand for this type of medicine is higher than that of the previous one. The first of the current orders The drug in the The ratio obtained from the inventory of each pharmacy is used as the first... The pharmacy has the first The first of the current orders Inventory weighting factors for various drugs; For the The pharmacy has the first The average of the inventory weight factors for all types of medicines in the current order is used for weight normalization, and the normalized result is taken as the weight normalization result. The pharmacy has the first Inventory weight for each current order; The specific method for obtaining the delivery cost factor for each pharmacy for each current order is as follows: In the formula, Indicates the first The pharmacy has the first The delivery cost factor for each current order; Indicates the number of pharmacies; Indicates the quantity of the current order; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The pharmacy and the first The distance between orders; Indicates the first The order and the first The distance between orders; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight for each current order; Indicates the first The pharmacy has the first Inventory weight for each current order; The method for obtaining the outbound service level of various medicines in each pharmacy based on the demand coefficient and inventory of various medicines in each pharmacy includes the following specific methods: For the The pharmacy and the first The first type of medicine, will be the first The first pharmacy The inventory of this type of medicine and the first The first pharmacy The product of the demand coefficients of each drug is mapped to a range of -1 to 1, and the mapping result is used as the first... The first pharmacy The level of outbound service for this type of medicine.
2. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 1, characterized in that, The method for obtaining the demand coefficients for various medicines in each pharmacy based on the number of orders fulfilled by each pharmacy within a city area over a historical time period, combined with the sales volume of various medicines in the city area, includes the following specific methods: For any urban area and the first The pharmacy will be the first in the historical time frame. The ratio of the number of orders fulfilled by a pharmacy within the city area to the total number of orders fulfilled within the historical time frame is used as the [number]. The performance weight of each pharmacy in the aforementioned urban area; For the This type of medicine, to obtain the first The sales volume of this drug in the urban area will be the first Sales of this drug in the urban area increased compared to the previous year. The ratio of the total sales of a certain drug across all urban areas, as the [number]th [drug name]... The demand intensity of a certain type of drug in the urban area; the first The demand density of a certain drug in the urban area multiplied by the first The product of the fulfillment weights of each pharmacy for the urban area is used as the first... The pharmacy in the aforementioned urban area is the first The supply factor of the first drug; The pharmacy serves all urban areas. The sum of the supply factors of each drug, as the first... The first pharmacy Demand coefficient for a certain type of medicine.
3. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 2, characterized in that, The method for obtaining the inventory adjustment coefficients for various medicines in each pharmacy based on the number of orders fulfilled by each pharmacy within a city region within a historical time range and the sales differences of various medicines in each city region during adjacent time periods includes the following specific methods: Preset a historical time period length Divide the historical time range into several equal parts, each with a length of [missing information]. The historical time period of the day; for the first The pharmacy and the first The drug, based on the first [number]th ... The differences in sales volume of this drug in various urban areas, combined with the first The fulfillment weight of each pharmacy in each city area is used to obtain the first... The first pharmacy Adjustment coefficient for the entry of certain drugs into the warehouse.
4. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 3, characterized in that, The acquisition of the first The first pharmacy The specific methods for adjusting the warehousing coefficient for this type of medicine are as follows: In the formula, Indicates the first The first pharmacy Adjustment coefficient for the entry of certain drugs into inventory; Indicates the number of historical time periods; Indicates the number of urban areas; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The drug in the The first historical period Sales volume within a city region; Indicates the first The temporal distance between a historical time period and the current moment; Indicates the first The pharmacy has the first The performance weight of each city region; This indicates a function that maps results to the range of -1 to 1.
5. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 1, characterized in that, The specific methods for obtaining the corrected target inventory of various medicines in the pharmacy include: For the The pharmacy and the first The first type of medicine, will be the first The first pharmacy The sum of the warehousing adjustment factor for each type of drug and 1, multiplied by the first... The first pharmacy The product of the initial target inventory level of each drug is used as the first... The first pharmacy The revised target inventory level for this type of drug.
6. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 1, characterized in that, The specific methods for obtaining the inventory quantity of each medicine in each pharmacy are as follows: In the formula, Indicates the first The first pharmacy The amount of each type of medicine received into the warehouse; Indicates the first The first pharmacy The revised target inventory level for this type of drug; Indicates the first The first pharmacy Inventory levels of certain medicines; Indicates the first The first pharmacy The level of outbound service for this type of medicine; This represents the function that takes the maximum value. This indicates the rounding up operation.
7. The inventory analysis and management optimization method of the smart pharmacy management system according to claim 1, characterized in that, The method for developing an inbound and outbound plan for various medicines in each pharmacy based on the delivery cost factor for each current order and the inventory of each medicine in each pharmacy includes the following specific methods: For the For each current order, obtain the order number for each pharmacy. The delivery cost factor for the current order is used to determine the pharmacy with the minimum delivery cost factor. The system identifies the pharmacies delivering current orders; it then obtains the current orders delivered by each pharmacy and, based on the demand for each type of medicine in each pharmacy's current orders, develops an outbound plan for each pharmacy. Based on the quantity of each medicine received in each pharmacy, an inventory plan is developed for each pharmacy.