A classification method for drug terminal market

By obtaining the names of drug sales terminals and drug information on sale, combined with neural network training, it solves the problem of difficulty in segmenting the drug market in the existing system, achieves accurate classification of drug terminals and markets, and supports in-depth analysis and understanding of drug sales data. .

CN118171206BActive Publication Date: 2024-09-17GUANGZHOU BIAODIAN MEDICAL INFORMATION CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410453806.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-09-17
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

The existing pharmaceutical sales analysis system is difficult to segment the pharmaceutical market, making it difficult to reflect the sales characteristics of different terminals of pharmaceuticals, which is not conducive to the industry's understanding of the pharmaceutical terminal market.

Method used

By obtaining the names of drug sales terminals and drug information on sale, combined with neural network training, the name of the sales terminal and the number of drug categories are analyzed, and refined classification of terminals and markets is carried out, including details of public hospital terminals, retail pharmacy terminals and public primary medical terminals. point.

Benefits of technology

It achieves accurate classification of drug terminals and markets, reduces training samples, improves classification accuracy and segmentation, and supports in-depth analysis of drug sales data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118171206B
    Figure CN118171206B
Patent Text Reader

Abstract

The present invention relates to the technical field of drug market classification, and in particular to a drug terminal market classification method, which realizes accurate classification of drug sales terminals through the suffix of the sales terminal name, the regional type, and the category and sales volume of the drugs on sale. By parsing the geographical location and suffix information in the sales terminal name by preset string length, and classifying and weighting the drugs on sale by disease field, it is possible to accurately divide the drug sales terminals into public hospital terminals, retail pharmacy terminals and primary medical terminals. By using neural networks to learn the names of drug sales terminals, the regional types to which the drug sales terminals belong, and the service objects of the drug sales terminals and the market associations of the drug sales terminals, the accuracy and efficiency of market automation classification are improved. This solution not only improves the automation and intelligence level of drug sales terminal classification, but also realizes accurate classification of drug terminals and markets on the basis of reducing training samples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drug market classification, and in particular to a drug terminal market classification method. Background Art

[0002] The terminal refers to the last place or sales link that the patient (consumer) directly contacts. The ultimate goal of drug research and development and production is to help patients solve their pain problems, but from the manufacturer to the hands of patients (consumers), it is necessary to rely on intermediate sales channels and sales venues. There are many channels for patients to obtain drugs. In 2022, there will be more than 1.033 million medical institutions, 623,300 physical pharmacies, and more than 600 online pharmacies. Drug sales channels are divided into hospitals and primary medical institutions according to medical attributes, physical pharmacies and online pharmacies with drug sales attributes, CDCs with public health attributes (sales channels for vaccines), supermarkets, convenience stores, and gas stations with convenience attributes (sales channels for OTC Class B), etc. In order to better understand the characteristics and development laws of drug flows at each terminal and better allocate and layout drug sales resources, it is necessary to conduct in-depth analysis of drug sales data at each terminal. Drug sales data is a resource valued by all parties in the pharmaceutical industry. Therefore, the terminal division method is crucial to promoting the rapid and healthy development of the industry and meeting the needs of all parties in the industry for drug terminal data.

[0003] Most existing drug sales analysis systems only divide the overall drug market into medical market and retail market data, making it difficult to further automatically classify the terminals and markets for drugs. As a result, the classified data is difficult to reflect the sales characteristics of different drug terminals, which is not conducive to the understanding of the drug terminal market by all parties in the industry. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a drug terminal market classification method.

[0005] To achieve the above object, the technical solution adopted by the present invention is:

[0006] A method for classifying a drug terminal market comprises the following steps:

[0007] Obtain the name of the drug sales terminal, the category of drugs on sale, and the sales information of drugs on sale;

[0008] Determine the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale, wherein the terminal classification includes public hospital terminals, retail pharmacy terminals and public primary care terminals;

[0009] Based on the drug sales terminal, the market classification of the drug sales terminal is determined according to the drug sales terminal name and the sales information of the drugs on sale. The public hospital terminal includes the urban public hospital market and the county-level public hospital market, the retail drugstore terminal includes the physical drugstore market and the online drugstore market, and the public primary medical terminal includes the urban community health service center market and the township health center market;

[0010] Determining the market classification of the drug sales terminal according to the drug sales terminal name and the sales information of the drugs on sale includes the following steps:

[0011] Determine the region type to which the drug sales terminal belongs based on the name of the drug sales terminal;

[0012] Determine the service objects of the drug sales end according to the sales information of the drugs on sale;

[0013] The name of the drug sales outlet, the type of region the drug sales outlet belongs to, and the service objects of the drug sales outlet are associated with the market classification of the drug sales outlet, and a neural network training is performed. The market classification of the drug sales outlet is judged based on the trained neural network.

[0014] Further, the determining of the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale includes the following steps:

[0015] Parse the suffix of the drug sales name;

[0016] Calculate the first score of the terminal classification based on the suffix of the drug's marketing name;

[0017] Calculating a second score for the terminal classification based on the number of drug categories on sale;

[0018] The first score and the second score are weighted to determine the terminal where the drug is sold.

[0019] Furthermore, the parsing of the suffix of the drug sales name includes the following steps:

[0020] Preset the string length for suffix extraction;

[0021] Starting from the end of the drug sales terminal name, a character string of corresponding length is extracted forward according to a preset character string length as a potential suffix;

[0022] The extracted potential suffix is ​​verified to determine whether it matches any item in the defined suffix list and confirm the valid suffix.

[0023] Further, the first score of the terminal classification is calculated based on the suffix of the drug sales name, including:

[0024] Constructing a historical drug sales terminal name data set, wherein the historical drug sales terminal name data set includes a number of sales terminal names and their verified associated terminals;

[0025] The similarity score between the suffix in the drug sales end name and the known suffix in the historical data set is calculated by cosine similarity;

[0026] The similarity scores are added according to the terminals to which they are associated to obtain the first score of the suffix of the drug sales name in each terminal.

[0027] Further, the calculating of the second score of the terminal classification based on the number of drug categories on sale includes:

[0028] Setting a predefined weight value for each category of drugs on sale based on different terminals, the categories of drugs on sale including prescription drugs, over-the-counter drugs, special-purpose drugs and traditional Chinese medicines;

[0029] Count the number of each drug category on sale at the drug sales end, then multiply each number by the weight of its corresponding drug category to calculate the weighted score for each category;

[0030] The weighted scores of all drug categories are added up to obtain the second score of the drug sales end relative to each terminal.

[0031] Furthermore, the step of weighting the first score and the second score to determine the terminal for selling the drug includes:

[0032] Performing weighted calculation on the first score and the second score to obtain a terminal judgment score;

[0033] Set score ranges for different terminals;

[0034] The terminal where the medicine is sold is determined based on the judgment score and the score range of the terminal.

[0035] Furthermore, the determining of the region type to which the drug sales terminal belongs according to the name of the drug sales terminal includes:

[0036] Parse the geographical location information contained in the names of drug sales terminals, including city names, county names, and township names;

[0037] For drug sales terminals that contain region names, they are directly classified into the corresponding region types;

[0038] For drug sales outlets whose names do not directly contain geographic location information, use a geographic information system database or geocoding to traverse their geographic locations and classify the region types based on the geographic locations.

[0039] Furthermore, the determining of the service objects of the drug sales terminal according to the sales information of the drugs on sale includes:

[0040] Calculate the sales volume of each drug on sale at the drug sales end;

[0041] Classify the disease areas of the drugs on sale, including grouping the drugs according to their main therapeutic indications or indications;

[0042] Add the sales volume data and the disease area classification of the drug to obtain the sales volume of the drug in each disease area;

[0043] Determine several disease area service targets at the sales end based on the sales volume of drugs in each disease area.

[0044] Further, the neural network includes an input layer, a plurality of hidden layers and an output layer;

[0045] The input layer is used for receiving the encoded suffix of the sales end name, the region type and the service object matrix;

[0046] The hidden layer is connected through a plurality of neurons, each connection has a weight, and the relationship between the input data and the prediction result is learned by adjusting the weight;

[0047] The output layer outputs the market classification of the drug sales end based on the learning of the hidden layer.

[0048] The beneficial effects of the present invention are as follows: the present invention obtains the name of a drug sales terminal, the categories of drugs on sale and the sales information of the drugs on sale, and then determines the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of categories of drugs on sale, and classifies the terminals into public hospital terminals, retail pharmacy terminals and public primary medical terminals, and further classifies them into urban public hospital markets and county-level public hospital markets, physical pharmacy markets and online pharmacy markets, urban community health service center markets and township health center markets, thereby achieving refined market segmentation, and then calculating the score of the terminal classification corresponding to the drug sales terminal by the suffix of the drug sales name and the number of categories of drugs on sale, and weighting the score to which the drug sales terminal belongs, and then associating the name of the drug sales terminal, the type of region to which the drug sales terminal belongs and the service object of the drug sales terminal with the market classification of the drug sales terminal, and performing neural network training and market classification of the drug sales terminal based on the terminal classification, thereby achieving accurate classification of drug terminals and markets on the basis of reducing training samples. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flowchart of the steps of determining the market classification of a drug sales terminal according to the name of the drug sales terminal and the sales information of the drugs on sale in the present invention.

[0050] Figure 2It is a flowchart of the steps of determining the terminal classification of a drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale in the present invention.

[0051] Figure 3 It is a flow chart of the steps of calculating the first score of the terminal classification based on the suffix of the drug sales name in the present invention.

[0052] Figure 4 This is a flowchart of the steps of calculating the second score of the terminal classification based on the number of drug categories on sale in the present invention. DETAILED DESCRIPTION

[0053] See also Figure 1-4 As shown, the present invention relates to a drug terminal market classification method, comprising the following steps:

[0054] Obtain the name of the drug sales terminal, the category of drugs on sale, and the sales information of drugs on sale;

[0055] Determine the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale, wherein the terminal classification includes public hospital terminals, retail pharmacy terminals and public primary care terminals;

[0056] Based on the drug sales terminal, the market classification of the drug sales terminal is determined according to the drug sales terminal name and the sales information of the drugs on sale. The public hospital terminal includes the urban public hospital market and the county-level public hospital market, the retail drugstore terminal includes the physical drugstore market and the online drugstore market, and the public primary medical terminal includes the urban community health service center market and the township health center market;

[0057] Determining the market classification of the drug sales terminal according to the drug sales terminal name and the sales information of the drugs on sale includes the following steps:

[0058] Determine the region type to which the drug sales terminal belongs based on the name of the drug sales terminal;

[0059] Determine the service objects of the drug sales end according to the sales information of the drugs on sale;

[0060] The name of the drug sales outlet, the type of region the drug sales outlet belongs to, and the service objects of the drug sales outlet are associated with the market classification of the drug sales outlet, and a neural network training is performed. The market classification of the drug sales outlet is judged based on the trained neural network.

[0061] Specifically, when implementing the drug terminal market classification method, key input data is first collected: the specific name of the drug sales terminal, the types of drugs they currently sell, and the sales-related information of these drugs. This step is the basis of the entire classification method and ensures that there is sufficient data support for the subsequent analysis and classification process. Next, this data is used to refine the terminal classification of the drug sales terminal. For example, by analyzing whether the sales terminal name contains keywords such as "hospital", "drug store" or "health service center", as well as the number of types of drugs on sale, it is possible to preliminarily distinguish whether the sales terminal may belong to a public hospital terminal, a retail pharmacy terminal or a public primary care terminal. The key to this step is to comprehensively consider the naming habits of the sales terminal and the diversity of drug sales to achieve a preliminary terminal classification. In order to determine the market classification of the drug sales terminal, a more in-depth analysis of the collected data is required. First, by parsing the geographical location information in the sales terminal name, such as identifying whether the sales terminal is located in a city, county or township, the type of region to which the sales terminal belongs is determined. For example, if the sales terminal name contains "Shanghai", "county" or "township", it can be classified as an urban public hospital market, a county-level public hospital market or a township health center market accordingly. By analyzing the sales information of the drugs on sale, the service objects of the drug sales end can be further subdivided. For example, if the sales volume of antihypertensive drugs and diabetes drugs sold by a pharmacy is much higher than that of other drugs, it can be inferred that this pharmacy mainly serves patients with hypertension and diabetes, and thus it can be classified as a retail pharmacy market focusing on patients with chronic diseases.

[0062] Further, the determining of the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale includes the following steps:

[0063] Parse the suffix of the drug sales name;

[0064] Calculate the first score of the terminal classification based on the suffix of the drug's marketing name;

[0065] Calculating a second score for the terminal classification based on the number of drug categories on sale;

[0066] The first score and the second score are weighted to determine the terminal where the drug is sold.

[0067] Furthermore, the parsing of the suffix of the drug sales name includes the following steps:

[0068] Preset the string length for suffix extraction;

[0069] Starting from the end of the drug sales terminal name, a character string of corresponding length is extracted forward according to a preset character string length as a potential suffix;

[0070] The extracted potential suffix is ​​verified to determine whether it matches any item in the defined suffix list and confirm the valid suffix.

[0071] In some embodiments, it is first necessary to preset a suitable string length for suffix extraction. This length should be sufficient to cover common suffix types, such as "drug store", "hospital", "health service center", etc., without being too long to contain unnecessary information. Usually, this length is determined based on the statistical analysis of the suffixes of the existing drug sales terminal names to ensure that it can adapt to various sales terminal name formats. Next, starting from the end of the drug sales terminal name, a string of corresponding length is extracted forward according to the preset string length as a potential suffix. For example, if the preset suffix length is 4 characters, for the sales terminal name "city center drug store", 4 characters will be counted forward from the end of the name to extract "drug store" as a potential suffix. This step is automatically performed by the program, which can efficiently process a large number of sales terminal names and quickly extract potential suffix information. Then, the extracted potential suffix is ​​verified to determine whether it meets any of the defined suffix lists. This verification process is completed by matching the potential suffix with a preset suffix list. The suffix list contains common drug sales terminal suffixes on the market, and each suffix is ​​associated with a specific terminal type. For example, if the potential suffix "drugstore" is in the suffix list and is associated with a retail drugstore terminal type, "drugstore" can be confirmed as a valid suffix and the corresponding sales end can be preliminarily classified as a retail drugstore terminal. This suffix-based parsing method optimizes the preliminary classification process of drug sales ends and improves the level of automation and initial accuracy of classification. By accurately identifying key suffix information in the sales end name, this step provides a solid foundation for further segmentation and market analysis, ensuring the effectiveness and reliability of the entire classification method. In addition, the flexibility and scalability of this method also means that the suffix list can be adjusted accordingly based on market changes and the emergence of new sales end types, ensuring that the classification system is updated at any time to adapt to market developments.

[0072] Further, the first score of the terminal classification is calculated based on the suffix of the drug sales name, including:

[0073] Constructing a historical drug sales terminal name data set, wherein the historical drug sales terminal name data set includes a number of sales terminal names and their verified associated terminals;

[0074] The similarity score between the suffix in the drug sales end name and the known suffix in the historical data set is calculated by cosine similarity;

[0075] The similarity scores are added according to the terminals to which they are associated to obtain the first score of the suffix of the drug sales name in each terminal.

[0076] In some embodiments, a historical drug sales terminal name dataset containing multiple sales terminal names and their corresponding verified terminal classifications is constructed. This dataset is used as a basis to store a large number of sales terminal names and the terminal types to which they belong, such as public hospitals, retail pharmacies, or public primary medical terminals, etc., providing a reference for subsequent similarity calculation and classification. Based on this historical dataset, the method uses a cosine similarity algorithm to calculate the similarity between the suffix in the name of the drug sales terminal to be classified and the known suffix in the dataset. Cosine similarity is a commonly used similarity measurement method that evaluates their similarity by measuring the cosine value of the angle between two vectors. The closer the value is to 1, the higher the similarity. In this scenario, the suffix of each sales terminal name is converted into a vector form and compared with the suffix vector in the historical dataset to calculate a similarity score. For example, if the name of the sales terminal to be classified is "Downtown Pharmacy", and the historical dataset contains a retail pharmacy terminal with the suffix of "Pharmacy", then the similarity between the suffix of "Downtown Pharmacy" and the suffix of "Pharmacy" in the dataset will be calculated. Next, this similarity score is weighted according to the terminal type to which it corresponds. Specifically, if a suffix has a high similarity score with the suffixes of multiple terminal types, these scores will be weighted and accumulated according to the relevance of the respective terminal types to form a comprehensive score for each terminal type. This process ensures that the characteristics of different terminal types are effectively considered and reflected in the final first score. Finally, the first score calculated in this way for the suffix of the drug sales terminal name provides a quantitative assessment of the possibility that the sales terminal belongs to each terminal type. The level of this score directly affects the final terminal classification of the drug sales terminal, making the classification process more accurate and targeted. For example, if the suffix of "City Center Pharmacy" obtains the highest first score in the retail pharmacy terminal type, this indicates that it is very likely to be classified as a retail pharmacy terminal.

[0077] Further, the calculating of the second score of the terminal classification based on the number of drug categories on sale includes:

[0078] Setting a predefined weight value for each category of drugs on sale based on different terminals, the categories of drugs on sale including prescription drugs, over-the-counter drugs, special-purpose drugs and traditional Chinese medicines;

[0079] Count the number of each drug category on sale at the drug sales end, then multiply each number by the weight of its corresponding drug category to calculate the weighted score for each category;

[0080] The weighted scores of all drug categories are added up to obtain the second score of the drug sales end relative to each terminal.

[0081] In some embodiments, first, a predefined weight value is set for each type of drug on sale according to the characteristics of the drug sales end and market demand. These weight values ​​reflect the relative importance of different types of drugs in a specific sales end type. For example, at a public hospital terminal, prescription drugs may be given a higher weight due to their core role in patient treatment; while at a retail pharmacy terminal, over-the-counter drugs (OTC) and special-purpose drugs may have a higher weight because these locations are often used as convenient service points to meet daily health needs. Subsequently, a weighted score is calculated for each drug category by counting the number of various drugs currently on sale at the drug sales end and multiplying these numbers by the corresponding drug category weights. This calculation process takes into account the actual composition of drugs on sale at the sales end, and reflects the importance of different drug categories in a specific sales end type through weight adjustment. For example, if a pharmacy sells a large number of over-the-counter drugs and the weight of over-the-counter drugs in the retail pharmacy terminal is high, the weighted score of the pharmacy in the over-the-counter drug category will be relatively high. Finally, the weighted scores of all drug categories are added up to obtain a comprehensive second score for each terminal type at the drug sales end. This total score takes into account the types and quantities of drugs sold at the sales outlet, as well as the relative importance of these types in a specific terminal type, providing a quantitative evaluation indicator for terminal classification. For example, if a pharmacy scores high in the over-the-counter and special-purpose drug categories, reflecting its characteristics as a retail pharmacy terminal, this will help further confirm its classification as a retail pharmacy terminal.

[0082] Furthermore, the step of weighting the first score and the second score to determine the terminal for selling the drug includes:

[0083] Performing weighted calculation on the first score and the second score to obtain a terminal judgment score;

[0084] Set score ranges for different terminals;

[0085] The terminal where the medicine is sold is determined based on the judgment score and the score range of the terminal.

[0086] In some embodiments, first, according to actual market research and sales terminal characteristics analysis, corresponding weights are set for the first score and the second score. The setting of these weights reflects the relative importance of suffix analysis and drug category analysis in terminal classification decisions. For example, for those sales terminal types (such as retail pharmacies) where the diversity of drug types is more important, the second score may be given a higher weight; while for sales terminal types (such as specific types of hospitals) where the name suffix is ​​more indicative, the first score may occupy a larger weight. Subsequently, the two scores are weighted and calculated according to their weights to obtain the terminal judgment score of each drug sales terminal. This score comprehensively considers the naming habits of the sales terminal and the actual composition of the drugs on sale, and provides a quantitative evaluation indicator for the final terminal type. In order to complete the accurate determination of the terminal type, it is necessary to set the score range for different terminals. These score ranges are determined based on historical data and reflect the typical distribution of different terminal types in terminal judgment scores. For example, retail pharmacies may be set to be within a certain score range, while public hospital terminals correspond to another different score range. Finally, by comparing the terminal judgment score of the drug sales terminal with the preset score range, the terminal type that best matches the sales terminal can be determined. If the terminal judgment score of a drug sales terminal falls within the score range of retail pharmacies, it can be judged that the sales terminal belongs to a retail pharmacy terminal; similarly, if the score of another sales terminal is within the score range of public hospitals, the sales terminal will be classified as a public hospital terminal.

[0087] Furthermore, the determining of the region type to which the drug sales terminal belongs according to the name of the drug sales terminal includes:

[0088] Parse the geographical location information contained in the names of drug sales terminals, including city names, county names, and township names;

[0089] For drug sales terminals that contain region names, they are directly classified into the corresponding region types;

[0090] For drug sales outlets whose names do not directly contain geographic location information, use a geographic information system database or geocoding to traverse their geographic locations and classify the region types based on the geographic locations.

[0091] In some embodiments, first, the name of the drug sales terminal is parsed to extract the geographical location information contained therein. This process requires analyzing elements such as city names, county names, and township names in the sales terminal name. For example, a sales terminal named "Dongcheng District People's Hospital" is obviously located in Dongcheng District, while "Pharmacy in Taiyuan City, Shanxi Province" indicates that the pharmacy is located in Taiyuan City, Shanxi Province. This method based on name resolution is simple and direct, and can quickly determine the basic regional affiliation for most drug sales terminals. For drug sales terminals whose names directly contain regional names, the type of region to which they belong can be directly determined based on the geographical information contained therein. In this case, the geographical affiliation of the drug sales terminal is relatively clear and can be directly classified without further verification. However, not all drug sales terminal names directly contain clear geographical location information. For these sales terminals, a more complex method is required to determine their geographical location. Specifically, a geographic information system (GIS) database or geocoding technology can be used to track and classify the locations of these sales terminals. This process may involve converting the address information of the sales terminal into geographical coordinates, and then determining the type of region such as the city, county, or township where it is located by coordinate matching. For example, through geocoding technology, a sales-end name such as "Zhongshan Road Pharmacy" can be associated with a specific street location, thereby inferring its specific regional type.

[0092] Furthermore, the determining of the service objects of the drug sales terminal according to the sales information of the drugs on sale includes:

[0093] Calculate the sales volume of each drug on sale at the drug sales end;

[0094] Classify the disease areas of the drugs on sale, including grouping the drugs according to their main therapeutic indications or indications;

[0095] Add the sales volume data and the disease area classification of the drug to obtain the sales volume of the drug in each disease area;

[0096] Determine several disease area service targets at the sales end based on the sales volume of drugs in each disease area.

[0097] In some embodiments, first, the sales volume of each drug on sale at the drug sales end is calculated. This step involves the collection and processing of sales data to ensure that the sales of each drug can be accurately recorded. For example, for a pharmacy located in the city center, its sales data may show that the sales volume of drugs for the treatment of cardiovascular and cerebrovascular diseases accounts for a large proportion, while the sales volume of over-the-counter drugs for the treatment of colds is also relatively high. Next, the drugs on sale are classified by disease area. This step requires grouping the drugs into corresponding disease areas based on the main therapeutic indicators or indications of the drugs. This classification is not only based on the pharmacological effects of the drugs, but may also take into account the frequency of use of the drugs and the universality of the treatment. For example, drugs can be divided into multiple disease areas such as cardiovascular and cerebrovascular drugs, respiratory system drugs, and digestive system drugs. Subsequently, the above sales volume data is combined with the disease area classification of the drugs to calculate the total sales volume of drugs in each disease area. This calculation process reveals which drugs in which disease areas are more popular at a specific sales end, thereby reflecting the service focus of the sales end. For example, if the sales volume of cardiovascular and cerebrovascular drugs and respiratory system drugs in a pharmacy is much higher than that in other areas, this indicates that the main service objects of the pharmacy may be patients with cardiovascular and cerebrovascular diseases and respiratory diseases. Finally, based on the sales volume of drugs in each disease area, the service objects of the drug sales end can be determined. This not only involves identifying the main disease areas served by the sales end, but also includes further clarifying the market positioning of the sales end. For example, if a pharmacy performs well in the sales of cardiovascular and cerebrovascular diseases and diabetes drugs, it may indicate that it focuses on serving the market segment of patients with these two types of chronic diseases.

[0098] Further, the neural network includes an input layer, a plurality of hidden layers and an output layer;

[0099] The input layer is used for receiving the encoded suffix of the sales end name, the region type and the service object matrix;

[0100] The hidden layer is connected through a plurality of neurons, each connection has a weight, and the relationship between the input data and the prediction result is learned by adjusting the weight;

[0101] The output layer outputs the market classification of the drug sales end based on the learning of the hidden layer.

[0102] In some embodiments, the input layer receives processed data as input to the neural network. At this stage, information such as the suffix of the drug sales end name, the region type, and the service object is converted into a format suitable for neural network processing, usually an encoded digital matrix. For example, the suffixes of the sales end name "drugstore", "hospital", etc. will be converted into a series of digital codes. Similarly, regional types such as "city", "county", "township", etc. are also encoded into specific numerical values. Service object information, such as the main service disease area, is also converted into digital form through encoding. This step ensures that the network can effectively process various types of input information. The hidden layer is located between the input layer and the output layer. It is the core part of the neural network. It consists of multiple levels and a large number of neurons, each of which is connected to other neurons through weights. Here, the data is further processed and analyzed. By adjusting the weights between the connected neurons, the neural network can learn the complex nonlinear relationship between the input data and the predicted results. During the training process, these weights are optimized according to the error back propagation algorithm to reduce the difference between the actual output and the expected output, and gradually improve the prediction accuracy of the model. For example, if the network predicts that a sales outlet with the suffix "pharmacy" that is located in an urban area and mainly sells cardiovascular and cerebrovascular drugs belongs to a retail pharmacy terminal, but it is actually a pharmacy of a specialized hospital, then during the training process, the relevant weights will be adjusted to correct this classification error. The output layer is the last layer of the neural network and is responsible for generating the final prediction results. Based on the processing and analysis of the hidden layer, the output layer will show the market terminal classification that each drug sales outlet is most likely to belong to. This layer converts the complex data of the hidden layer into specific classification results, such as classifying a drug sales outlet as "urban public hospital market", "retail pharmacy market" or "township health center market". These results provide important decision-making support for the formulation of drug sales strategies and market analysis.

[0103] The above implementation modes are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary engineering and technical personnel in the field shall fall within the protection scope determined by the claims of the present invention.

Claims

1. A drug terminal market classification method, characterized in that: The following steps are involved: Obtain the name of the drug sales terminal, the category of drugs on sale, and the sales information of drugs on sale; Determine the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale, wherein the terminal classification includes public hospital terminals, retail pharmacy terminals and public primary care terminals; Based on the drug sales terminal, the market classification of the drug sales terminal is determined according to the drug sales terminal name and the sales information of the drugs on sale. The public hospital terminal includes the urban public hospital market and the county-level public hospital market, the retail drugstore terminal includes the physical drugstore market and the online drugstore market, and the public primary medical terminal includes the urban community health service center market and the township health center market; Determining the market classification of the drug sales terminal according to the drug sales terminal name and the sales information of the drugs on sale includes the following steps: Determine the region type to which the drug sales terminal belongs based on the name of the drug sales terminal; Determine the service objects of the drug sales end according to the sales information of the drugs on sale; Associating the name of the drug sales terminal, the type of region to which the drug sales terminal belongs, and the service objects of the drug sales terminal with the market classification of the drug sales terminal, performing neural network training, and judging the market classification of the drug sales terminal based on the trained neural network; Determining the terminal classification of the drug sales terminal based on the name of the drug sales terminal and the number of drug categories on sale includes the following steps: Parse the suffix of the drug sales name; Calculate the first score of the terminal classification based on the suffix of the drug's marketing name; Calculating a second score for the terminal classification based on the number of drug categories on sale; The first score and the second score are weighted to determine the terminal where the drug is sold; The parsing of the suffix of the drug sales name includes the following steps: Preset the string length for suffix extraction; Starting from the end of the drug sales terminal name, a character string of corresponding length is extracted forward according to a preset character string length as a potential suffix; Verify the extracted potential suffix to determine whether it matches any item in the defined suffix list and confirm the valid suffix; The first score of the terminal classification is calculated based on the suffix of the drug sales name, including: Constructing a historical drug sales terminal name data set, wherein the historical drug sales terminal name data set includes a number of sales terminal names and their verified associated terminals; The similarity score between the suffix in the drug sales name and the known suffix in the historical data set is calculated by cosine similarity; Add the similarity scores according to the terminals to which they are associated to obtain the first score of the suffix of the drug sales name in each terminal; The second score of the terminal classification is calculated based on the number of drug categories on sale, including: Setting a predefined weight value for each category of drugs on sale based on different terminals, the categories of drugs on sale including prescription drugs, over-the-counter drugs, special-purpose drugs and traditional Chinese medicines; Count the number of each drug category on sale at the drug sales end, then multiply each number by the weight of its corresponding drug category to calculate the weighted score for each category; The weighted scores of all drug categories are accumulated to obtain the second score of the drug sales terminal relative to each terminal; The terminal for determining the drug sales terminal by weighting the first score and the second score includes: Performing weighted calculation on the first score and the second score to obtain a terminal judgment score; Set score ranges for different terminals; The terminal where the drug is sold is determined based on the judgment score and the score range of the terminal.

2. A drug terminal market classification method according to claim 1, characterized in that: Determining the region type to which the drug sales terminal belongs according to the name of the drug sales terminal includes: Parse the geographical location information contained in the names of drug sales terminals, including city names, county names, and township names; For drug sales terminals that contain region names, they are directly classified into the corresponding region types; For drug sales outlets whose names do not directly contain geographic location information, use a geographic information system database or geocoding to traverse their geographic locations and classify the region types based on the geographic locations.

3. A drug terminal market classification method according to claim 1, characterized in that: The service object of the drug sales terminal determined according to the sales information of the drugs on sale includes: Calculate the sales volume of each drug on sale at the drug sales end; Classify the disease areas of the drugs on sale, including grouping the drugs according to their main therapeutic indications or indications; Add the sales volume data and the disease area classification of the drug to obtain the sales volume of the drug in each disease area; Determine several disease area service targets at the sales end based on the sales volume of drugs in each disease area.

4. A drug terminal market classification method according to claim 3, characterized in that: The neural network includes an input layer, a plurality of hidden layers and an output layer; The input layer is used for receiving the encoded suffix of the sales end name, the region type and the service object matrix; The hidden layer is connected through a plurality of neurons, each connection has a weight, and the relationship between the input data and the prediction result is learned by adjusting the weight; The output layer outputs the market classification of the drug sales end based on the learning of the hidden layer.

Citation Information

Patent Citations

  • Medicine sales data processing method and device, electronic equipment and storage medium

    CN112561605A

  • New retail terminal sales prediction method and system based on machine learning and advanced classification

    CN114240483A

  • Layering and grading amplification method based on offline medicine retail market

    CN116681461A

  • Apparatus and method for supporting pharmaceutical sales

    KR1020130141029A