Drug data management method and system based on data analysis
By adjusting the format and demand analysis of pharmaceutical data, the problems of inconsistent storage of pharmaceutical data and excessive inventory are solved, and the efficiency of data management and the reduction of property losses are achieved.
Patent Information
- Application Number
- CN202510005742.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN119398673A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pharmaceutical data management, and in particular to a pharmaceutical data management method and system based on data analysis. Background Art
[0002] After the sale of pharmaceuticals, the pharmaceutical data needs to be recorded. Due to the different sales channels of pharmaceuticals, the data format of pharmaceutical data may be different, resulting in the storage data of pharmaceuticals may appear in multiple formats. In addition, when the demand for pharmaceuticals decreases, the sales amount of pharmaceuticals will decrease. When there is too much inventory, it will lead to a large accumulation of pharmaceuticals, causing certain property losses. Summary of the invention
[0003] In order to solve the above technical problems, a pharmaceutical data management method and system based on data analysis are provided. The technical solution solves the problem that after the sale of pharmaceuticals proposed in the above background technology, the pharmaceutical data needs to be recorded. Due to different sales channels of pharmaceuticals, the data format of pharmaceutical data may be different, resulting in the storage data of pharmaceuticals may appear in multiple formats. In addition, when the demand for pharmaceuticals decreases, the sales amount of pharmaceuticals will decrease. When the inventory is too much, it will lead to a large accumulation of pharmaceuticals, causing certain property losses.
[0004] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0005] A pharmaceutical data management method based on data analysis, comprising:
[0006] Based on the storage device, transmit the pharmaceutical data to be analyzed to the main processor;
[0007] Based on the main processor, formatting the pharmaceutical data to be analyzed is performed to obtain pharmaceutical data in a unified format, wherein the pharmaceutical data in the unified format includes pharmaceutical inventory data and pharmaceutical sales data;
[0008] Based on the main processor, the pharmaceutical sales data is analyzed and processed to obtain the demand for pharmaceuticals;
[0009] The main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand and obtains the corrected pharmaceutical inventory data.
[0010] Preferably, the method of transmitting the pharmaceutical data to be analyzed to the main processor based on the storage device specifically comprises the following steps:
[0011] Based on the main processor, a data reading instruction is sent to the storage device to obtain the occupied space information of the pharmaceutical data to be analyzed;
[0012] Based on the main processor, the occupied space information of the pharmaceutical data to be analyzed is judged and processed;
[0013] If the occupied space information of the pharmaceutical data to be analyzed is greater than or equal to the remaining storage space information of the main processor, the main processor performs space cleaning. After the main processor space cleaning is completed, the main processor sends a data transmission instruction to the storage device, and the main processor receives the pharmaceutical data to be analyzed;
[0014] If the occupied space information of the to-be-analyzed pharmaceutical data is smaller than the remaining storage space information of the main processor, the main processor sends a data transmission instruction to the storage device, and the main processor receives the to-be-analyzed pharmaceutical data.
[0015] Preferably, the method of adjusting the format of the pharmaceutical data to be analyzed based on the main processor to obtain the pharmaceutical data in a unified format specifically includes the following steps:
[0016] Based on the main processor, format analysis and processing are performed on the pharmaceutical data to be analyzed to obtain format information of the pharmaceutical data to be analyzed;
[0017] Based on the main processor, the format information of the pharmaceutical data to be analyzed is analyzed and processed to determine the unified format of the pharmaceuticals;
[0018] The main processor adjusts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format to obtain the pharmaceutical data in a unified format.
[0019] Preferably, the main processor is used to analyze and process the format information of the pharmaceutical data to be analyzed, and determining the unified format of pharmaceuticals specifically comprises the following steps:
[0020] Based on the main processor, the format information of the pharmaceutical data to be analyzed is calculated to obtain the format ratio information;
[0021] Based on the main processor, the format proportion information is screened and processed to determine the format type corresponding to the maximum format proportion information;
[0022] Based on the main processor, the format type corresponding to the maximum format proportion information is predicted and analyzed to determine the unified format of pharmaceutical products;
[0023] The specific calculation formula for determining the maximum format ratio information is:
[0024]
[0025] In the formula, The maximum format ratio information; is the format ratio information; n is the number of format ratio information; max() is the maximum value function.
[0026] Preferably, the method of predicting and analyzing the format type corresponding to the maximum format proportion information based on the main processor to determine the unified format of pharmaceuticals specifically includes the following steps:
[0027] Based on the main processor, the format type corresponding to the maximum format proportion information is analyzed and processed to determine the format occupation space information;
[0028] The main processor performs memory calculation on the pharmaceutical data to be analyzed through the format occupied space information, and obtains the format conversion occupied space information;
[0029] Based on the main processor, the space occupied by the format conversion is judged and processed;
[0030] If the space occupied by the format conversion is greater than or equal to the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the main processor selects the format type corresponding to the information smaller than the maximum format occupation to perform memory calculation, and when the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the unified format of the pharmaceuticals is determined;
[0031] If the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, determining a unified format for the pharmaceuticals;
[0032] The specific calculation formula for obtaining the space occupied by format conversion is:
[0033]
[0034] In the formula, The space occupied by the format conversion information; The space occupied by the pharmaceutical data to be analyzed; The space occupied by the largest format information; Space occupied by the format information; The format occupation space information of the pharmaceutical data to be analyzed is different from the format type of the maximum format occupation information.
[0035] Preferably, the main processor adjusts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format, and obtaining the pharmaceutical data in a unified format specifically includes the following steps:
[0036] The main processor converts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format, and obtains the converted pharmaceutical data to be analyzed;
[0037] Based on the main processor, the converted pharmaceutical data to be analyzed is traversed and analyzed to determine abnormal data;
[0038] Based on the main processor, abnormal data is sent to the external display terminal. The staff corrects the abnormal data in the main processor and obtains pharmaceutical data in a unified format.
[0039] Preferably, the main processor is used to analyze and process the pharmaceutical sales data to obtain the pharmaceutical demand, which specifically includes the following steps:
[0040] Based on the main processor, a rectangular coordinate system is constructed according to the pharmaceutical sales data to obtain a rectangular coordinate system of the pharmaceutical sales data, wherein the X-axis parameter of the rectangular coordinate system of the pharmaceutical sales data is the year and the Y-axis parameter is the pharmaceutical sales quantity;
[0041] Based on the rectangular coordinate system of pharmaceutical sales data, the pharmaceutical sales data is plotted to obtain a pharmaceutical sales curve;
[0042] Based on the main processor, the pharmaceutical sales curve is analyzed and processed to obtain the pharmaceutical demand.
[0043] Preferably, the main processor is used to analyze and process the pharmaceutical sales curve to obtain the pharmaceutical demand, which specifically includes the following steps:
[0044] Based on the main processor, the pharmaceutical sales curves of adjacent years are calculated to obtain the pharmaceutical offset;
[0045] The main processor draws a curve according to the pharmaceutical offset and year to obtain a pharmaceutical offset curve;
[0046] Based on the main processor, the pharmaceutical product deviation curve is analyzed and processed to obtain the trend of the pharmaceutical product deviation curve;
[0047] Based on the main processor, the trend of the pharmaceutical deviation curve is analyzed and processed to determine the pharmaceutical demand, where the pharmaceutical demand is either increasing or decreasing.
[0048] Preferably, the main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand, and obtaining the corrected pharmaceutical inventory data specifically includes the following steps:
[0049] Based on the main processor, the pharmaceutical sales data of the previous year is extracted and processed to obtain the pharmaceutical sales volume of the previous year;
[0050] If the demand for pharmaceutical products is increasing or decreasing;
[0051] Based on the main processor, the pharmaceutical inventory data and the sales volume of pharmaceuticals in the previous year are judged;
[0052] If the pharmaceutical inventory data is greater than or equal to the pharmaceutical sales volume of the previous year, no pharmaceuticals will be replenished and the pharmaceutical inventory data will be the revised pharmaceutical inventory data;
[0053] If the pharmaceutical inventory data is less than the pharmaceutical sales volume of the previous year, replenish the pharmaceuticals and output the revised pharmaceutical inventory data.
[0054] Furthermore, a pharmaceutical data management system based on data analysis is proposed, which is used to implement the pharmaceutical data management method based on data analysis as described above, comprising:
[0055] A main processor, the main processor is used to adjust the format of the pharmaceutical data to be analyzed, the main processor performs data analysis on the pharmaceutical sales data to determine the pharmaceutical demand, and the main processor modifies the pharmaceutical inventory data according to the pharmaceutical demand;
[0056] A storage device, the storage device is used to store the pharmaceutical data to be analyzed;
[0057] An external display terminal, the external display terminal is used to display abnormal data and pharmaceutical related data;
[0058] The main processor internally integrates a control unit, a format adjustment unit, an instruction generation unit, a judgment unit, a data analysis unit, a data calculation unit, a data storage unit and a coordinate system construction unit.
[0059] Compared with the prior art, the present invention provides a pharmaceutical data management method and system based on data analysis, which has the following beneficial effects:
[0060] The present invention adjusts the format of the pharmaceutical data to be analyzed so that the formats of the stored pharmaceutical inventory data and pharmaceutical sales data are the same, which is convenient for staff to read better. In addition, the memory of the pharmaceutical inventory data and pharmaceutical sales data with adjusted formats is calculated to avoid insufficient storage memory. Finally, the pharmaceutical demand is determined by calculating and analyzing the pharmaceutical sales data, and the pharmaceutical inventory data is adjusted according to the pharmaceutical demand to avoid the accumulation of a large number of pharmaceuticals, thereby reducing property losses to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 This is a flow chart of steps S100-S400 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0062] Figure 2 This is a flow chart of steps S101-S104 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0063] Figure 3 This is a flow chart of steps S201-S203 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0064] Figure 4 This is a flow chart of steps S2021-S2023 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0065] Figure 5 This is a flow chart of steps S20231-S20235 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0066] Figure 6 This is a flow chart of steps S2031-S2033 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0067] Figure 7 This is a flow chart of steps S301-S303 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0068] Figure 8 This is a flow chart of steps S3031-S3034 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0069] Fig. 9 This is a flow chart of steps S401-S405 in a pharmaceutical data management method based on data analysis proposed by the present invention;
[0070] Fig.10 This is a structural block diagram of a pharmaceutical data management system based on data analysis proposed by the present invention. DETAILED DESCRIPTION
[0071] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0072] Reference Figure 1 As shown, a pharmaceutical data management method based on data analysis includes:
[0073] S100, transmitting the pharmaceutical data to be analyzed to the main processor based on the storage device;
[0074] S200, based on the main processor, adjusting the format of the pharmaceutical data to be analyzed to obtain pharmaceutical data in a unified format, wherein the pharmaceutical data in the unified format includes pharmaceutical inventory data and pharmaceutical sales data;
[0075] S300, based on the main processor, analyzing and processing the pharmaceutical sales data to obtain the pharmaceutical demand;
[0076] S400, the main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand, and obtains the revised pharmaceutical inventory data;
[0077] It is understandable to those skilled in the art that, due to different sales channels, the persons recording pharmaceutical data may be different, and different recorders may have different recording habits. Therefore, the format of pharmaceutical data may also be different. In order to make subsequent data reading more convenient, the format of pharmaceutical data is adjusted. In addition, the market demand for pharmaceuticals is dynamically changing. When market demand decreases, if there is a large inventory of pharmaceuticals, it will cause pharmaceutical accumulation and produce certain property losses. In order to reduce property losses, the pharmaceutical inventory data is adjusted through pharmaceutical sales data.
[0078] Reference Figure 2 As shown, based on the storage device, transmitting the pharmaceutical data to be analyzed to the main processor specifically includes the following steps:
[0079] S101, based on the main processor, sending a data reading instruction to the storage device to obtain the occupied space information of the pharmaceutical data to be analyzed;
[0080] S102, based on the main processor, determining and processing the occupied space information of the pharmaceutical data to be analyzed;
[0081] S103, if the occupied space information of the pharmaceutical data to be analyzed is greater than or equal to the remaining storage space information of the main processor, the main processor performs space cleaning, and after the main processor space cleaning is completed, the main processor sends a data transmission instruction to the storage device, and the main processor receives the pharmaceutical data to be analyzed;
[0082] S104, if the occupied space information of the to-be-analyzed pharmaceutical data is less than the remaining storage space information of the main processor, the main processor sends a data transmission instruction to the storage device, and the main processor receives the to-be-analyzed pharmaceutical data;
[0083] In this embodiment, in order to uniformly record pharmaceutical data, pharmaceutical data from different channels need to be transferred to the main processor, and the storage space of the main processor is limited. When the space occupied by the pharmaceutical data is larger than the remaining storage space of the main processor, the main processor cannot store and process the pharmaceutical data. Therefore, when the remaining storage space of the main processor is insufficient to store the pharmaceutical data, the main processor clears space so that it has enough storage space to store the pharmaceutical data.
[0084] Reference Figure 3As shown, based on the main processor, the format of the pharmaceutical data to be analyzed is adjusted to obtain the pharmaceutical data in a unified format, which specifically includes the following steps:
[0085] S201, based on the main processor, performing format analysis and processing on the pharmaceutical data to be analyzed, and obtaining format information of the pharmaceutical data to be analyzed;
[0086] S202, analyzing and processing the format information of the pharmaceutical data to be analyzed based on the main processor, and determining a unified format of the pharmaceuticals;
[0087] S203. The main processor adjusts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format to obtain pharmaceutical data in a unified format.
[0088] Reference Figure 4 As shown, based on the main processor, the format information of the pharmaceutical data to be analyzed is analyzed and processed, and the unified format of pharmaceuticals is determined, which specifically includes the following steps:
[0089] S2021. Based on the main processor, calculate the format information of the pharmaceutical data to be analyzed and obtain format ratio information;
[0090] S2022: Based on the main processor, filter and process the format proportion information to determine the format type corresponding to the maximum format proportion information;
[0091] S2023. Based on the main processor, predict and analyze the format type corresponding to the maximum format proportion information to determine a unified format for pharmaceutical products;
[0092] The specific calculation formula for determining the maximum format ratio information is:
[0093]
[0094] In the formula, The maximum format ratio information; is the format ratio information; n is the number of format ratio information; max() is the maximum value function.
[0095] Reference Figure 5 As shown, based on the main processor, the format type corresponding to the maximum format proportion information is predicted and analyzed, and the unified format of pharmaceuticals is determined, which specifically includes the following steps:
[0096] S20231. Analyze and process the format type corresponding to the maximum format proportion information based on the main processor to determine the format occupation space information;
[0097] S20232, the main processor performs memory calculation on the pharmaceutical data to be analyzed through the format occupied space information, and obtains the format conversion occupied space information;
[0098] S20233, based on the main processor, determining and processing the space occupied by the format conversion;
[0099] S20234. If the space occupied by the format conversion is greater than or equal to the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the main processor selects a format type corresponding to the information smaller than the maximum format occupation to perform memory calculation. When the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the unified format of the pharmaceuticals is determined;
[0100] S20235. If the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, determine a unified format for the pharmaceuticals;
[0101] The specific calculation formula for obtaining the space occupied by format conversion is:
[0102]
[0103] In the formula, The space occupied by the format conversion information; The space occupied by the pharmaceutical data to be analyzed; The space occupied by the largest format information; Space occupied by the format information; format occupation space information of the pharmaceutical data to be analyzed that is different in format type from the maximum format occupation information;
[0104] In this embodiment, in order to avoid large-scale changes in the format of pharmaceutical data, the formats of all pharmaceutical data are analyzed, and the most commonly used format in the pharmaceutical data is adjusted as a reference format. However, different data formats will occupy different spaces. Therefore, memory calculation is performed on the data that needs to be formatted. If the pharmaceutical data after the format change cannot be stored in the main processor, the data format is reselected for storage so that it can be stored in the main processor.
[0105] Reference Figure 6 As shown, the main processor adjusts the format of the pharmaceutical data to be analyzed in a unified pharmaceutical format, and obtaining the pharmaceutical data in a unified format specifically includes the following steps:
[0106] S2031, the main processor converts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format, and obtains the converted pharmaceutical data to be analyzed;
[0107] S2032, based on the main processor, traverse and analyze the converted pharmaceutical data to be analyzed to determine abnormal data;
[0108] S2033, based on the main processor, sending abnormal data to the external display terminal, the staff corrects the abnormal data in the main processor and obtains pharmaceutical data in a unified format;
[0109] In this embodiment, omissions or errors may occur in the recording of pharmaceutical data. Therefore, the pharmaceutical data is analyzed by the main processor to determine abnormal data. The abnormal data is specifically any one of omissions or errors. Therefore, after the main processor queries the abnormal data, it transmits the abnormal data to the staff who recorded the abnormal data and asks them to change the abnormal data, so that the subsequent adjustment results of the pharmaceutical inventory data are more accurate.
[0110] Reference Figure 7 As shown, based on the main processor, analyzing and processing the pharmaceutical sales data to obtain the pharmaceutical demand specifically includes the following steps:
[0111] S301, constructing a rectangular coordinate system based on the pharmaceutical sales data based on the main processor to obtain a rectangular coordinate system for the pharmaceutical sales data, wherein the X-axis parameter of the rectangular coordinate system for the pharmaceutical sales data is the year and the Y-axis parameter is the pharmaceutical sales quantity;
[0112] S302, based on the rectangular coordinate system of the pharmaceutical sales data, plotting the pharmaceutical sales data to obtain a pharmaceutical sales curve;
[0113] S303: Based on the main processor, analyze and process the pharmaceutical sales curve to obtain the pharmaceutical demand.
[0114] Reference Figure 8 As shown, based on the main processor, analyzing and processing the pharmaceutical sales curve to obtain the pharmaceutical demand specifically includes the following steps:
[0115] S3031. Based on the main processor, perform difference calculation on the pharmaceutical sales curves of adjacent years to obtain pharmaceutical offset;
[0116] S3032, the main processor draws a curve according to the pharmaceutical offset and year to obtain a pharmaceutical offset curve;
[0117] S3033, based on the main processor, analyzing and processing the pharmaceutical product deviation curve to obtain the pharmaceutical product deviation curve trend;
[0118] S3034, based on the main processor, analyzing and processing the trend of the pharmaceutical deviation curve to determine the pharmaceutical demand, where the pharmaceutical demand is either increasing or decreasing;
[0119] In this embodiment, the pharmaceutical sales curve is not a smooth straight line, but an undulating curve. Therefore, the pharmaceutical sales data of adjacent years are calculated to obtain the pharmaceutical sales difference of adjacent years, that is, the pharmaceutical offset. Then, the pharmaceutical offset is plotted into a pharmaceutical offset curve, and the rise or fall of the pharmaceutical offset curve represents the market demand for pharmaceuticals.
[0120] Reference Fig. 9 As shown, the main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand, and obtaining the corrected pharmaceutical inventory data specifically includes the following steps:
[0121] S401, extracting and processing the pharmaceutical sales data of the previous year based on the main processor to obtain the pharmaceutical sales volume of the previous year;
[0122] S402. If the demand for pharmaceutical products is increasing or decreasing;
[0123] S403, based on the main processor, judging the pharmaceutical inventory data and the pharmaceutical sales volume in the previous year;
[0124] S404. If the pharmaceutical inventory data is greater than or equal to the pharmaceutical sales volume of the previous year, pharmaceuticals are not replenished and the pharmaceutical inventory data is revised pharmaceutical inventory data;
[0125] S405. If the pharmaceutical inventory data is less than the pharmaceutical sales volume of the previous year, replenish pharmaceuticals and output the revised pharmaceutical inventory data;
[0126] In this embodiment, when the demand for medicines is determined, the medicine inventory data needs to be adjusted. If the market demand for medicines increases and the inventory of medicines is small, medicines are replenished to strive for more profits. When the market demand for medicines decreases, medicines are not replenished, and the inventory of medicines needs to be sold to reduce property losses.
[0127] Reference Fig.10 As shown, a pharmaceutical data management system based on data analysis is used to implement the pharmaceutical data management method based on data analysis as described above, comprising:
[0128] A main processor, the main processor is used to adjust the format of the pharmaceutical data to be analyzed, the main processor performs data analysis on the pharmaceutical sales data to determine the pharmaceutical demand, and the main processor modifies the pharmaceutical inventory data according to the pharmaceutical demand;
[0129] A storage device, the storage device is used to store the pharmaceutical data to be analyzed;
[0130] An external display terminal, the external display terminal is used to display abnormal data and pharmaceutical related data;
[0131] The main processor internally integrates a control unit, a format adjustment unit, an instruction generation unit, a judgment unit, a data analysis unit, a data calculation unit, a data storage unit and a coordinate system construction unit.
[0132] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A pharmaceutical data management method based on data analysis, characterized in that: include: Based on the storage device, transmit the pharmaceutical data to be analyzed to the main processor; Based on the main processor, formatting the pharmaceutical data to be analyzed is performed to obtain pharmaceutical data in a unified format, wherein the pharmaceutical data in the unified format includes pharmaceutical inventory data and pharmaceutical sales data; Based on the main processor, the pharmaceutical sales data is analyzed and processed to obtain the demand for pharmaceuticals; The main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand and obtains the corrected pharmaceutical inventory data.
2. A pharmaceutical data management method based on data analysis according to claim 1, characterized in that: The method of transmitting the to-be-analyzed pharmaceutical data to the main processor based on the storage device specifically includes the following steps: Based on the main processor, a data reading instruction is sent to the storage device to obtain the occupied space information of the pharmaceutical data to be analyzed; Based on the main processor, the occupied space information of the pharmaceutical data to be analyzed is judged and processed; If the occupied space information of the pharmaceutical data to be analyzed is greater than or equal to the remaining storage space information of the main processor, the main processor performs space cleaning. After the main processor space cleaning is completed, the main processor sends a data transmission instruction to the storage device, and the main processor receives the pharmaceutical data to be analyzed; If the occupied space information of the to-be-analyzed pharmaceutical data is smaller than the remaining storage space information of the main processor, the main processor sends a data transmission instruction to the storage device, and the main processor receives the to-be-analyzed pharmaceutical data.
3. A pharmaceutical data management method based on data analysis according to claim 1, characterized in that: The method of adjusting the format of the pharmaceutical data to be analyzed based on the main processor to obtain the pharmaceutical data in a unified format specifically includes the following steps: Based on the main processor, format analysis and processing are performed on the pharmaceutical data to be analyzed to obtain format information of the pharmaceutical data to be analyzed; Based on the main processor, the format information of the pharmaceutical data to be analyzed is analyzed and processed to determine the unified format of the pharmaceuticals; The main processor adjusts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format to obtain the pharmaceutical data in a unified format.
4. A pharmaceutical data management method based on data analysis according to claim 3, characterized in that: The main processor is used to analyze and process the format information of the pharmaceutical data to be analyzed, and determine the unified format of pharmaceuticals, which specifically includes the following steps: Based on the main processor, the format information of the pharmaceutical data to be analyzed is calculated to obtain the format ratio information; Based on the main processor, the format proportion information is screened and processed to determine the format type corresponding to the maximum format proportion information; Based on the main processor, predict and analyze the format type corresponding to the information of the largest format proportion, and determine the unified format of pharmaceutical products; The specific calculation formula for determining the maximum format ratio information is: In the formula, The maximum format ratio information; is the format ratio information; n is the number of format ratio information; max() is the maximum value function.
5. A pharmaceutical data management method based on data analysis according to claim 4, characterized in that: The method of predicting and analyzing the format type corresponding to the maximum format proportion information based on the main processor to determine the unified format of pharmaceuticals specifically includes the following steps: Based on the main processor, the format type corresponding to the maximum format proportion information is analyzed and processed to determine the format occupation space information; The main processor performs memory calculation on the pharmaceutical data to be analyzed through the format occupied space information, and obtains the format conversion occupied space information; Based on the main processor, the space occupied by the format conversion is judged and processed; If the space occupied by the format conversion is greater than or equal to the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the main processor selects the format type corresponding to the information smaller than the maximum format occupation to perform memory calculation, and when the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, the unified format of the pharmaceuticals is determined; If the space occupied by the format conversion is less than the sum of the remaining storage space information of the main processor and the space occupied by the pharmaceutical data to be analyzed, determining a unified format for the pharmaceuticals; The specific calculation formula for obtaining the space occupied by format conversion is: In the formula, The space occupied by the format conversion information; The space occupied by the pharmaceutical data to be analyzed; The space occupied by the largest format information; Space occupied by the format information; The format occupation space information of the pharmaceutical data to be analyzed is different from the format type of the maximum format occupation information.
6. A pharmaceutical data management method based on data analysis according to claim 4, characterized in that: The main processor adjusts the format of the pharmaceutical data to be analyzed using the pharmaceutical unified format, and obtaining the pharmaceutical data in the unified format specifically includes the following steps: The main processor converts the format of the pharmaceutical data to be analyzed using a unified pharmaceutical format, and obtains the converted pharmaceutical data to be analyzed; Based on the main processor, the converted pharmaceutical data to be analyzed is traversed and analyzed to determine abnormal data; Based on the main processor, abnormal data is sent to the external display terminal. The staff corrects the abnormal data in the main processor and obtains pharmaceutical data in a unified format.
7. The pharmaceutical data management method based on data analysis according to claim 1, characterized in that: The main processor is used to analyze and process the pharmaceutical sales data to obtain the pharmaceutical demand, which specifically includes the following steps: Based on the main processor, a rectangular coordinate system is constructed according to the pharmaceutical sales data to obtain a rectangular coordinate system of the pharmaceutical sales data, wherein the X-axis parameter of the rectangular coordinate system of the pharmaceutical sales data is the year and the Y-axis parameter is the pharmaceutical sales quantity; Based on the rectangular coordinate system of pharmaceutical sales data, the pharmaceutical sales data is plotted to obtain a pharmaceutical sales curve; Based on the main processor, the pharmaceutical sales curve is analyzed and processed to obtain the pharmaceutical demand.
8. A pharmaceutical data management method based on data analysis according to claim 7, characterized in that: The main processor is used to analyze and process the pharmaceutical sales curve to obtain the pharmaceutical demand, which specifically includes the following steps: Based on the main processor, the pharmaceutical sales curves of adjacent years are calculated to obtain the pharmaceutical offset; The main processor draws a curve according to the pharmaceutical offset and year to obtain a pharmaceutical offset curve; Based on the main processor, the pharmaceutical product deviation curve is analyzed and processed to obtain the trend of the pharmaceutical product deviation curve; Based on the main processor, the trend of the pharmaceutical deviation curve is analyzed and processed to determine the pharmaceutical demand, where the pharmaceutical demand is either increasing or decreasing.
9. The pharmaceutical data management method based on data analysis according to claim 1, characterized in that: The main processor adjusts the pharmaceutical inventory data according to the pharmaceutical demand, and obtaining the corrected pharmaceutical inventory data specifically includes the following steps: Based on the main processor, the pharmaceutical sales data of the previous year is extracted and processed to obtain the pharmaceutical sales volume of the previous year; If the demand for pharmaceutical products is increasing or decreasing; Based on the main processor, the pharmaceutical inventory data and the sales volume of pharmaceuticals in the previous year are judged; If the pharmaceutical inventory data is greater than or equal to the pharmaceutical sales volume of the previous year, no pharmaceuticals will be replenished and the pharmaceutical inventory data will be the revised pharmaceutical inventory data; If the pharmaceutical inventory data is less than the pharmaceutical sales volume of the previous year, replenish the pharmaceuticals and output the revised pharmaceutical inventory data.
10. A pharmaceutical data management system based on data analysis, used to implement a pharmaceutical data management method based on data analysis as claimed in any one of claims 1 to 9, characterized in that: include: A main processor, the main processor is used to adjust the format of the pharmaceutical data to be analyzed, the main processor performs data analysis on the pharmaceutical sales data to determine the pharmaceutical demand, and the main processor modifies the pharmaceutical inventory data according to the pharmaceutical demand; A storage device, the storage device is used to store the pharmaceutical data to be analyzed; An external display terminal, the external display terminal is used to display abnormal data and pharmaceutical related data; The main processor internally integrates a control unit, a format adjustment unit, an instruction generation unit, a judgment unit, a data analysis unit, a data calculation unit, a data storage unit and a coordinate system construction unit.
Citation Information
Patent Citations
Visualized purchase, sales and inventory management system and management method
CN102542426A
Data processing method and device of processor
CN103513956A
Tobacco data standardization method
CN114429305A
Intelligent medicine sales data management system
CN117273615A
Purchase service management method and device based on ERP (Enterprise Resource Planning), electronic equipment and medium
CN117557204A