A circulation management method and system for medical supplies

Through the text parsing library and drug recommendation model, it solves the problem that the existing system cannot match the fuzzy input information, realizes rapid query and personalized recommendation of drug information, and improves the convenience and efficiency of the medical item circulation management system.

CN118380126BActive Publication Date: 2024-09-10WUHAN FEIYU YIKE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410823785.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-10
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

The existing medical item circulation management system cannot effectively query and display matching results when users input fuzzy or incomplete matching information, resulting in inconvenience.

Method used

After filling in the text in the information input control, use the text parsing library to parse the matching text combination, generate parsing features, and compare it with the preset database information chain to determine whether it contains feature recognition objects, such as the packaging pattern of medicines and Advertising slogans generate feature recognition object display areas to facilitate user confirmation. At the same time, it records user search behavior, analyzes preferences, optimizes the sorting of query results, and provides personalized recommendations through the drug recommendation model.

Benefits of technology

It realizes the matching and display of fuzzy or incomplete matching information, improves the convenience and accuracy of finding drug information, optimizes user preference analysis, provides personalized drug recommendations, and improves the system usage experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118380126B
    Figure CN118380126B
Patent Text Reader

Abstract

The present application relates to a circulation management method and system for medical goods, and to the technical field of medical goods. The method comprises: after at least one of a plurality of information input boxes is filled with text and a search button is clicked, a text combination to be matched is obtained based on all the filled-in text; each string feature in the text combination to be matched is parsed based on a text parsing library; the parsed features are sequentially compared with information chains in a preset database to determine whether they are in at least one information chain; it is determined whether the drug information corresponding to the compared information chain contains a feature recognition object; the feature recognition object includes at least one of a packaging pattern and an advertising slogan of the drug; the drug information corresponding to at least one compared information chain is sequentially displayed in a display control, and a feature recognition object display area is generated next to the information chain containing the feature recognition object to display the feature recognition object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical supplies, and in particular to a circulation management method and system for medical supplies. Background Art

[0002] In the modern medical system, the circulation management of medical supplies is a very important part. These items include but are not limited to medical devices, medicines, medical consumables, etc. Their circulation involves multiple links, such as procurement, storage, distribution, and use. In order to effectively manage these medical supplies, an efficient and accurate circulation management system is required. Due to the particularity of medical supplies, the requirements for the circulation management system are also higher. For example, it is necessary to be able to quickly query the information of the items, such as name, approval number, specification, manufacturer, prescription classification, etc.

[0003] The existing medical goods circulation management system requires users to enter the accurate information of the goods to be queried in the information input box, and then click the search button. The system will search the database based on the accurate information entered, and display the search results in the display control. When the information entered by the user does not match completely, the matching results cannot be displayed, which is not convenient for ordinary users to use and identify. Summary of the invention

[0004] In order to at least partially solve the above technical problems, the present application provides a circulation management method and system for medical supplies.

[0005] In a first aspect, the present application provides a circulation management method for medical supplies adopting the following technical solution.

[0006] A circulation management method for medical goods is applied to a medical goods circulation management system, wherein the medical goods circulation management system comprises an information input control and an information display control; the information input control comprises a plurality of information input boxes and a search button, and the method comprises:

[0007] After at least one of the plurality of information input boxes is filled with text and the search button is clicked, a text combination to be matched is obtained based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification;

[0008] Parse each string feature in the matching text combination based on the text parsing library, obtain the corresponding parsing feature for the parsable string feature, and save the corresponding filled text for the unparsable string feature;

[0009] Comparing the parsed features with the information chains in the preset database in turn to determine whether they are in at least one information chain; the information chain consists of the name, approval number, specification, manufacturer and standard name of prescription classification;

[0010] Determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of a packaging pattern and an advertising slogan of the drug;

[0011] The drug information corresponding to at least one information chain obtained by comparison is sequentially displayed in the display control, and a feature recognition object display area is generated next to the information chain containing the feature recognition object to display the feature recognition object.

[0012] By adopting the above technical solution, it is possible to match the ambiguous information that cannot be completely matched input by the user, thereby facilitating the user to search for drug information; by generating a feature object display area to display the drug information with feature recognition objects, it is convenient for system users to quickly confirm the drugs.

[0013] Optionally, the method also includes: when there is an unparseable string feature and it matches at least one information chain, the filled-in text and the information chain corresponding to the unparseable text string feature are saved to the management page of the text parsing library managed by the medical goods circulation management system; the management page is used for the administrator to manage the text parsing library; in the management page, the administrator determines whether the filled-in text matches a part of the information chain, and if so, after the confirmation add button of the management page is clicked, the filled-in text is pre-processed and added to the text parsing library as a matching feature of the text parsing library; the matching feature is mapped to a part of the information chain.

[0014] Optionally, the method further includes:

[0015] Record each search action of the login account; the search action includes the text entered in the information input box and the click status of the drug information obtained by the search;

[0016] Analyze the user's preferences based on the search action, parsing features, and the information chain displayed in the display control to analyze the login account's preferences for drug types, brands, and specifications;

[0017] Next time when the parsed features are compared with the information chains in the preset database and it is determined that there are at least two information chains, the information chains displayed in the display control are sorted based on the user preference analysis results to give priority to displaying the information chains that meet the user preferences.

[0018] Optionally, the medical goods circulation management system further includes a data collection page; the circulation management method further includes: after the data collection page is clicked, the data collection page is displayed; the horizontal columns of the data collection page display a data source box, a description box, a number of matched codes, a number of unmatched codes, and a total number of entries; the number series of the data collection page is used to display a sequence number; the horizontal columns of the data collection page also include: a button for adding to a marketing catalog and a button for exporting matching results;

[0019] After the Add to Marketing Catalog button is clicked, the drug information in the corresponding horizontal column is added to the marketing catalog;

[0020] Click the button to export the matching result, and jump to the first result display page; the first result display page is used to display the matching result.

[0021] Optionally, after displaying the drug information corresponding to at least one information chain obtained by comparison in sequence in the display control, the method further includes:

[0022] After the drug information corresponding to one of the information links is clicked, a drug recommendation list matching the clicked drug information is generated through the trained drug recommendation model;

[0023] The training method of the drug recommendation model includes:

[0024] S1. Collect data on drug combination use based on historical prescription records and clinical drug guidelines;

[0025] S2. Select the FP-Growth algorithm and set the confidence level of the model.

[0026] S3. The initial drug recommendation model is trained using the collected data. When the confidence of the trained model is greater than the set confidence, the drug recommendation model is obtained.

[0027] Optionally, the medical goods circulation management system further includes a login verification module, which is used to perform verification when the user logs in; the circulation management method further includes a login verification step; the login verification step includes:

[0028] When the account and password verification is passed on the login interface and the device information and network address information of the login account are detected to have changed;

[0029] Determine account risk level based on device information and network address information;

[0030] Based on the information verification method corresponding to the account risk level; the risk level includes at least the first level, the second level and the third level from large to small;

[0031] When the risk level is the first level, a first control is generated in the login interface; the first control includes a plurality of selection objects; at least one selection object is pre-set for the corresponding device account, which is recorded as a pre-configured object; when the pre-configured object in the first control is selected and the non-pre-configured object is not selected, the secondary verification of the login account is completed, and the medical goods circulation management system is entered;

[0032] When the risk level is the second level, a second control is generated in the login interface; the second control is a sliding verification control; when the slider of the second control moves to a preset area and its sliding track conforms to the track algorithm, the secondary verification of the login account is completed and the medical goods circulation management system is entered;

[0033] When the risk level is the third level, a third control is generated in the login interface; the third control includes several selection objects and question text boxes; one of the selection objects is inconsistent with the answer in the question text box and is a preset configuration, which is recorded as a confusing object; when only the confusing object is selected, the secondary verification of the login account is completed and the medical goods circulation management system is entered; the pre-configured objects are multiple; when the number of times the third control is regenerated for verification exceeds the preset number, the login account is locked.

[0034] Optionally, determining the account risk level based on the device information and the network address information includes:

[0035] Based on the login request sent by the device through account and password verification on the login interface, identify the device identity code and device network address in the login request;

[0036] Determine whether the device network address matches the common address: If not, the first abnormal condition is obtained

[0037] Determine whether the identity identification code is one of the ones in the whitelist; if not, obtain a second abnormal condition;

[0038] When only the first abnormal condition exists, the risk level is determined to be the first level;

[0039] When only the second abnormal condition exists, the risk level is determined to be the second level;

[0040] When both the first abnormal condition and the second abnormal condition exist, the risk level is determined to be the third level.

[0041] In the second aspect, the present application provides a medical supplies circulation management system that adopts the following technical solution.

[0042] A medical goods circulation management system, comprising an information input control and an information display control; the information input control comprises a plurality of information input boxes and a search button; the system further comprises:

[0043] The first processing module is used for: after at least one of the information input boxes is filled with text and the search button is clicked, obtaining a text combination to be matched based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification;

[0044] The second processing module is used to: parse each string feature in the matching text combination based on the text parsing library, obtain corresponding parsing features for parsable string features, and save corresponding filled text for unparsable string features;

[0045] The third processing module is used to: sequentially compare the parsed features with the information chains in the preset database to determine whether they are in at least one information chain; the information chain consists of the name, approval number, specification, manufacturer and standard name of prescription classification;

[0046] The fourth processing module is used to determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of a drug packaging pattern and an advertising slogan;

[0047] The fifth processing module is used to: display the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence and generate a feature recognition object display area next to the information chain containing the feature recognition object to display the feature recognition object.

[0048] In a third aspect, the present application discloses an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that is loaded by the processor and executes any of the above methods.

[0049] In a fourth aspect, the present application discloses a computer-readable storage medium storing a computer program that can be loaded by a processor and execute any of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of a circulation management method of medical supplies in an embodiment of the present application;

[0051] Figure 2 It is a system block diagram of a circulation management method of medical supplies in an embodiment of the present application;

[0052] Figure 3 It is a structural schematic diagram of the electronic device created by the present invention;

[0053] In the figure, 201 is a first processing module; 202 is a second processing module; 203 is a third processing module; 204 is a fourth processing module; 205 is a fifth processing module. DETAILED DESCRIPTION

[0054] The following is combined with Figure 1-3 The present application is further described with specific embodiments:

[0055] First of all, it should be noted that in the description of this application, if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside" and other directional words appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of this application; in addition, if the terms "first", "second", "third" and other numerical quantifiers appear, they are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in this application, unless otherwise clearly specified and limited, if the terms "installed", "connected", and "connected" appear, they should be understood in a broad sense, for example, it can be a fixed connection, or a detachable connection, a limited connection such as an interference fit, a transition fit, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium; therefore, for ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific circumstances.

[0056] The present application embodiment discloses a circulation management method for medical supplies. Figure 1 , as an implementation of a circulation management method for medical goods, applied to a medical goods circulation management system, the medical goods circulation management system includes an information input control and an information display control; the information input control includes a plurality of information input boxes and a search button; a circulation management method for medical goods includes the following steps:

[0057] Step 101. After at least one of the information input boxes is filled with text and the search button is clicked, a text combination to be matched is obtained based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification.

[0058] Specifically, the information input control includes several information input boxes, which are used to receive text information input by an information input device (such as a keyboard). The information input box includes the name, approval number, specification, manufacturer and prescription classification. The user can fill in the text in one of the information input boxes, or fill in the text in multiple information input boxes. Generally speaking, the more information input boxes are filled with text and the filled-in text can be identified and confirmed, the fewer search results are obtained and the more matching the results are. For example, if the drug name is "AA", the approval name is "BB", the approval number is "CC", the specification is "500ML", the manufacturer is "DD" and the prescription classification is "over-the-counter", if the filled-in text can be identified and matched, the number of displayed results will be basically unique; when only the drug name "AA" is entered, the number of displayed results will increase a lot compared to the former.

[0059] After the user clicks the search button, the system obtains a combination of characters to be matched based on all the characters entered. In one embodiment, the system combines each string (a text segment) of the entered characters according to the set order or number order of the information input boxes, and leaves the information input boxes without characters entered blank.

[0060] Step 102: parse each string feature in the matching text combination based on the text parsing library, obtain corresponding parsing features for the string features that can be parsed, and save the corresponding filled text for the string features that cannot be parsed.

[0061] Specifically, the text parsing library is pre-configured by the system, and the text parsing library can be dynamically updated through the management background; when the user enters information in the information input box, the text entered may be vague and unclear due to lack of understanding of the specific information. If the vague or wrong field cannot be identified at all, it is easy to cause the drug to exist in the system but cannot be searched. In one embodiment of the present system, there is a mapping relationship in the text parsing library, and A1, A2...An are all mapped to an information determined in the drug information, such as the manufacturer name; A1 can be the correct manufacturer name, A2 can be the abbreviation of the manufacturer name, A3 is the homophonic name that interferes when the manufacturer name is input by the input method, and A4 is the common name of the manufacturer name. Each string feature in the matching text combination is parsed based on the text parsing library, and the corresponding parsing feature is obtained for the parsable string feature. For the string features that cannot be parsed, the corresponding filled-in text is saved. These string features cannot be identified. At this time, they are assigned blanks, and the identification and matching is not performed through the unparsable string features.

[0062] Step 103, sequentially comparing the parsed features with the information chains in a preset database to determine whether they are in at least one information chain; the information chain consists of a name, approval number, specification, manufacturer, and standard name of a prescription classification.

[0063] Specifically, the system sequentially compares the analytical features with the information chains in a preset database to make a judgment, that is, sequentially matches the analytical features to obtain the information chains.

[0064] Step 104: determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of the drug packaging pattern and advertising slogan.

[0065] Step 105: Display the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence and generate a feature recognition object display area next to the information chain containing the feature recognition object to display the feature recognition object.

[0066] Specifically, the system displays the medicine corresponding to at least one information chain in the display control, so that by processing the input information, it can be more convenient for users to search, without the need for users to remember every feature of the medicine and can search for medicine information more quickly.

[0067] As a specific implementation of a medical goods circulation management method, the method also includes: when there is an unparseable string feature and it matches at least one information chain, the filled-in text and the information chain corresponding to the unparseable text string feature are saved to a management page of a text parsing library managed by the medical goods circulation management system; the management page is used for an administrator to manage the text parsing library; in the management page, the administrator determines whether the filled-in text matches a part of the information chain, and if so, after the confirm add button on the management page is clicked, the filled-in text is added to the text parsing library.

[0068] Specifically, when there are string features that cannot be parsed, these features will be saved in the text parsing library of the medical supplies circulation management system. The management page provides administrators with the function of managing the text parsing library. The administrator can determine whether the filled-in text matches a part of the information chain in the management page. If it matches, then after the confirmation add button is clicked, the filled-in text will be added to the text parsing library. Through the management page of the text parsing library, administrators can easily view and update the text parsing library, improving the parsing ability of the text parsing library.

[0069] Each string feature in the matching text combination is parsed based on the text parsing library, including:

[0070] S1, remove punctuation marks and special characters in the string features;

[0071] S2, split the string features into individual words;

[0072] S3, mapping non-standard vocabulary to standard vocabulary;

[0073] The string features are processed based on S1, S2 and S3 to obtain a segment to be matched;

[0074] The paragraph to be matched is sorted based on similarity and the top five matching features in the text parsing library are selected for matching; if there is a complete match, parsing can be performed;

[0075] Based on the matched matching features, corresponding information in the information chain is obtained.

[0076] The information input control also includes a matching button; the flow management method also includes: after the matching button is clicked, matching is performed based on the matching information collected by the data collection page.

[0077] As a specific implementation of a circulation management method for medical supplies, the method further includes:

[0078] Record each search action of the login account; the search action includes the text entered in the information input box and the click status of the drug information obtained by the search;

[0079] Analyze the user's preferences based on the search action, parsing features, and the information chain displayed in the display control to analyze the login account's preferences for drug types, brands, and specifications;

[0080] Next time when the parsed features are compared with the information chains in the preset database and it is determined that there are at least two information chains, the information chains displayed in the display control are sorted based on the user preference analysis results to give priority to displaying the information chains that meet the user preferences.

[0081] Specifically, the system records every search action of a logged-in account. The user's preferences will be analyzed based on the user's search actions, including the input text and the clicked drug information, the parsing features and the information chain displayed in the display control. The purpose of the analysis is to determine the login account's preferences for drug types, brands and specifications. In the next search, the system will compare the parsing features with the information chains in the preset database in turn. When there are no less than two information chains, the system will sort the information chains displayed in the display control based on the user's preference analysis results to give priority to displaying the information chains that meet the user's preferences. The following is a simple implementation example: the user logs in to the system and searches for drugs, and enters "antibiotics" as the search term. The system records the user's search terms and tracks the user's click behavior on different drug information in the search results. By analyzing the user's click behavior, the system identifies that the user has a higher click frequency on "XX brand" antibiotics. The next time the user searches for "antibiotics", the system will rank the relevant drug information of "XX brand" at the top of the search results.

[0082] As a specific implementation of a circulation management method for medical goods, the circulation management system for medical goods also includes a data collection page; the circulation management method also includes: after the data collection page is clicked, the data collection page is displayed; the horizontal columns of the data collection page display a data source box, a description box, a number of matched codes, a number of unmatched codes, and a total number of entries; the number column of the data collection page is used to display a sequence number; the horizontal columns of the data collection page also include: a button for adding to a marketing catalog and a button for exporting matching results;

[0083] After the Add to Marketing Catalog button is clicked, the drug information in the corresponding horizontal column is added to the marketing catalog;

[0084] Click the button to export the matching result, and jump to the first result display page; the first result display page is used to display the matching result.

[0085] As one implementation of a circulation management method for medical products, after displaying the drug information corresponding to at least one information chain obtained by comparison in sequence in the display control, the method further includes:

[0086] After the drug information corresponding to one of the information links is clicked, a drug recommendation list matching the clicked drug information is generated through the trained drug recommendation model;

[0087] The training method of the drug recommendation model includes:

[0088] S1. Collect data on drug combination use based on historical prescription records and clinical drug guidelines;

[0089] S2. Select the FP-Growth algorithm and set the confidence level of the model.

[0090] S3. Training the initial drug recommendation model with the collected data, and when the confidence of the trained model is greater than the set confidence, obtaining the drug recommendation model;

[0091] Among them, the FP-Growth algorithm in S2 includes:

[0092] Create an empty FP-Tree and head pointer table;

[0093] Each prescription record and a recommended prescription in the clinical drug guide is regarded as a transaction, and the drug combination is regarded as the item set in the transaction; each transaction is traversed, the items in the transaction are sorted by frequency, and the initial FP-Tree is constructed;

[0094] For each frequent item in the FP-Tree, create a set of transactions ending with that item;

[0095] Frequent itemsets are recursively mined from the conditional pattern base until a minimum support threshold is met.

[0096] Specifically, during the model training phase, data is collected based on historical prescription records and clinical drug guidelines, including which drugs are often used in combination and which drug combinations are commonly recommended in clinical practice. The FP-Growth algorithm is good at identifying frequently occurring patterns in massive data, namely the combined use of drugs, and revealing the direct compatibility relationship between drugs. During the training process, the model parameters are continuously adjusted to optimize the accuracy of its predictions. By evaluating the confidence of the model, it is ensured that when it exceeds the set threshold, the model can provide accurate drug recommendations. This enables the system to automatically generate a personalized drug recommendation list for user convenience.

[0097] As one implementation of a circulation management method for medical supplies, the initial drug recommendation model is trained through the collected data, including:

[0098] Remove noise data and fill missing data in the data in S1;

[0099] The initial drug recommendation model has an input layer: receiving drug information and historical prescription information; an embedding layer: converting drug information and historical prescription information into low-dimensional vectors; an interaction layer: using attention mechanism or matrix decomposition to capture the potential relationship between drugs; and an output layer: predicting the confidence of drug combinations.

[0100] Select the data after removing noise data and filling missing data to input into the initial drug recommendation model, and minimize the loss function through the optimizer;

[0101] Calculate the F1 score; where F1 Score= ; Among them, P is the precision rate, which represents the proportion of samples predicted to be positive that are actually positive; P = (true positive examples) ÷ (true positive examples + false positive examples); R is the recall rate, which represents the proportion of samples that are actually positive that are predicted to be positive; R = (true positive examples) ÷ (true positive examples + false negative examples); true positive examples are the number of samples predicted by the model to be positive and actually positive; true negative examples: samples predicted by the model to be negative and actually negative; false positive examples: samples predicted by the model to be positive but actually negative; false negative examples: samples predicted by the model to be negative but actually positive;

[0102] The confidence of the model is obtained through the F1 score.

[0103] Specifically, by identifying and removing outliers or irrelevant data, data quality is improved and interference in the model training process is reduced. By filling in missing values, the integrity of the data is ensured, allowing the model to learn the characteristics of the data more comprehensively. The input layer receives drug information and historical prescription information, providing the necessary input data for the model. The embedding layer converts drug information and historical prescription information into low-dimensional vectors, reducing the dimensionality of the data while retaining key information, which helps to improve the computational efficiency and generalization ability of the model. The interaction layer uses attention mechanisms or matrix decomposition to capture the potential relationships between drugs, which helps the model understand the complexity and interactions of different drug combinations.

[0104] The output layer predicts the confidence of the drug combination, providing a quantitative evaluation standard for drug recommendations.

[0105] The model parameters are adjusted through optimizers (such as SGD, Adam, etc.) to make the model's prediction results as close to the actual situation as possible, thereby improving the accuracy of the model. The F1 score takes into account both precision and recall, providing a balanced evaluation metric for the model, which helps to evaluate the overall performance of the model on positive and negative samples. The F1 score can be used to obtain the confidence of the model, that is, the reliability of the model's prediction. A high F1 score means that the model performs well in terms of precision and recall, and the recommendation results are more reliable.

[0106] As one implementation of a circulation management method for medical supplies, the medical supplies circulation management system further includes a login verification module, which is used to perform verification when a user logs in; the circulation management method further includes a login verification step; the login verification step includes:

[0107] When the account and password verification is passed on the login interface and the device information and network address information of the login account are detected to have changed;

[0108] Determine account risk level based on device information and network address information;

[0109] Based on the information verification method corresponding to the account risk level; the risk level includes at least the first level, the second level and the third level from large to small;

[0110] When the risk level is the first level, a first control is generated in the login interface; the first control includes a plurality of selection objects; at least one selection object is pre-set for the corresponding device account, which is recorded as a pre-configured object; when the pre-configured object in the first control is selected and the non-pre-configured object is not selected, the secondary verification of the login account is completed, and the medical goods circulation management system is entered;

[0111] When the risk level is the second level, a second control is generated in the login interface; the second control is a sliding verification control; when the slider of the second control moves to a preset area and its sliding track conforms to the track algorithm, the secondary verification of the login account is completed and the medical goods circulation management system is entered;

[0112] When the risk level is the third level, a third control is generated in the login interface; the third control includes several selection objects and question text boxes; one of the selection objects is inconsistent with the answer in the question text box and is a preset configuration, which is recorded as a confusing object; when only the confusing object is selected, the secondary verification of the login account is completed and the medical goods circulation management system is entered; the pre-configured objects are multiple; when the number of times the third control is regenerated for verification exceeds the preset number, the login account is locked.

[0113] Specifically, through the login verification module, the system performs verification when the user logs in, including account password verification and detection of device information and network address information. This helps prevent malicious users from performing illegal operations by impersonating legitimate users, thereby improving the security of the system. The account risk level is determined based on the device information and network address information, and the corresponding information verification method is matched according to the risk level. This enables the system to take different secondary verification measures according to users of different risk levels, thereby improving the security of the login account. When the risk level is the first level, the system generates a first control in the login interface, which includes several selection objects, at least one of which is a pre-configured object. When the user selects a pre-configured object and does not select a non-pre-configured object, the secondary verification can be completed and the medical goods circulation management system can be entered. When the risk level is the second level, the system generates a second control in the login interface, which is a sliding verification control. The user needs to move the slider to the preset area range and its sliding trajectory conforms to the trajectory algorithm before the secondary verification can be completed and the medical goods circulation management system can be entered. When the risk level is the third level, the system generates a third control in the login interface, which includes a selection object and a question text box. The user needs to select only the confusing object and answer correctly to complete the secondary verification and enter the medical goods circulation management system. When the number of times the third control is regenerated for verification exceeds the preset number, the system will lock the login account. This helps prevent malicious users from frequently trying to crack the verification method to obtain improper benefits or perform other malicious behaviors. The above settings improve user login security, take different verification measures according to different risk levels, provide multiple verification methods, and limit malicious behaviors, thereby ensuring the security of the system.

[0114] As one implementation of a circulation management method for medical supplies, determining the account risk level based on device information and network address information includes:

[0115] Based on the login request sent by the device through account and password verification on the login interface, identify the device identity code and device network address in the login request;

[0116] Determine whether the device network address matches the common address: If not, the first abnormal condition is obtained

[0117] Determine whether the identity identification code is one of the ones in the whitelist; if not, obtain a second abnormal condition;

[0118] When only the first abnormal condition exists, the risk level is determined to be the first level;

[0119] When only the second abnormal condition exists, the risk level is determined to be the second level;

[0120] When both the first abnormal condition and the second abnormal condition exist, the risk level is determined to be the third level.

[0121] The present application also provides a circulation management system for medical supplies, as one implementation of a circulation management method for medical supplies, including an information input control and an information display control; the information input control includes a plurality of information input boxes and a search button; the system also includes:

[0122] The first processing module 201 is used to: after at least one of the information input boxes is filled with text and the search button is clicked, obtain a text combination to be matched based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification;

[0123] The second processing module 202 is used to: parse each string feature in the matching text combination based on the text parsing library, obtain corresponding parsing features for the parsable string features, and save the corresponding filled text for the unparsable string features;

[0124] The third processing module 203 is used to: sequentially compare the parsed features with the information chains in the preset database to determine whether they are in at least one information chain; the information chain consists of the name, approval number, specification, manufacturer and standard name of prescription classification;

[0125] The fourth processing module 204 is used to determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of a drug packaging pattern and an advertising slogan;

[0126] The fifth processing module 205 is used to: display the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence and generate a feature recognition object display area next to the information chain containing the feature recognition object to display the feature recognition object.

[0127] The embodiments of the present invention also provide a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiments of the present invention.

[0128] The embodiments of the present invention further provide a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiments of the present invention.

[0129] The embodiment of the invention also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to enable the electronic device to perform the method of the embodiment of the invention when executed by the at least one processor.

[0130] refer to Figure 3 , a block diagram of an electronic device that can be used as a server or client of an embodiment of the invention will now be described, which is an example of hardware devices that can be applied to various aspects of the invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or required herein.

[0131] like Figure 3 As shown, the electronic device includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 to a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the electronic device can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0132] Multiple components in the electronic device are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device that can input information to the electronic device, and the input unit 406 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 407 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 408 can include but is not limited to a disk, an optical disk. The communication unit 409 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, and / or a wireless communication transceiver, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0133] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the method embodiments created by the present invention may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 402 and / or communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above-described method in any other appropriate manner (e.g., by means of firmware).

[0134] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the computer program, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0135] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, or infrared systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0136] It should be noted that the term "including" and its variations used in the embodiments of the present invention are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present invention are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0137] The various steps described in the method implementation methods provided by the embodiments of the present invention can be performed in different orders and / or in parallel. In addition, the method implementation methods may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.

[0138] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the invention. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same and similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.

[0139] The above-described embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of protection. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the attached claims.

Claims

1. A circulation management method for medical supplies, applied to a medical supplies circulation management system, wherein the medical supplies circulation management system comprises an information input control and an information display control; the information input control comprises a plurality of information input boxes and a search button; characterized in that: The method comprises: After at least one of the plurality of information input boxes is filled with text and the search button is clicked, a text combination to be matched is obtained based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification; Parse each string feature in the matching text combination based on the text parsing library, obtain the corresponding parsing feature for the parsable string feature, and save the corresponding filled text for the unparsable string feature; Comparing the parsed features with the information chains in the preset database in turn to determine whether they are in at least one information chain; the information chain consists of the name, approval number, specification, manufacturer and standard name of prescription classification; Determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of a packaging pattern and an advertising slogan of the drug; Displaying the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence and generating a feature recognition object display area next to the information chain containing the feature recognition object to display the feature recognition object; After displaying the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence, the method further includes: After the drug information corresponding to one of the information links is clicked, a drug recommendation list matching the clicked drug information is generated through the trained drug recommendation model; The training method of the drug recommendation model includes: S1. Collect data on drug combination use based on historical prescription records and clinical drug guidelines; S2. Select the FP-Growth algorithm and set the confidence level of the model. S3. Training the initial drug recommendation model with the collected data, and when the confidence of the trained model is greater than the set confidence, obtaining the drug recommendation model; Among them, the FP-Growth algorithm in S2 includes: Create an empty FP-Tree and head pointer table; Each prescription record and a recommended prescription in the clinical drug guide is regarded as a transaction, and the drug combination is regarded as the item set in the transaction; each transaction is traversed, the items in the transaction are sorted by frequency, and the initial FP-Tree is constructed; For each frequent item in the FP-Tree, create a set of transactions ending with that item; Recursively mine frequent itemsets from the conditional pattern base until the minimum support threshold is met; The initial drug recommendation model is trained using the collected data, including: Remove noise data and fill missing data in the data in S1; The initial drug recommendation model has an input layer: receiving drug information and historical prescription information; an embedding layer: converting drug information and historical prescription information into low-dimensional vectors; an interaction layer: using attention mechanism or matrix decomposition to capture the potential relationship between drugs; and an output layer: predicting the confidence of drug combinations. Select the data after removing noise data and filling missing data to input into the initial drug recommendation model, and minimize the loss function through the optimizer; Calculate the F1 score; where F1 Score= ; Among them, P is the precision rate, which represents the proportion of samples predicted to be positive that are actually positive; P = (true positive examples) ÷ (true positive examples + false positive examples); R is the recall rate, which represents the proportion of samples that are actually positive that are predicted to be positive; R = (true positive examples) ÷ (true positive examples + false negative examples); true positive examples are the number of samples predicted by the model to be positive and actually positive; true negative examples: samples predicted by the model to be negative and actually negative; false positive examples: samples predicted by the model to be positive but actually negative; False negatives: samples that the model predicts are negative but are actually positive; The confidence of the model is obtained through the F1 score.

2. A circulation management method for medical supplies according to claim 1, characterized in that: The method also includes: when there is an unparseable string feature and it matches at least one information chain, the filled-in text and the information chain corresponding to the unparseable text string feature are saved to the management page of the text parsing library managed by the medical goods circulation management system; the management page is used for the administrator to manage the text parsing library; in the management page, the administrator determines whether the filled-in text matches a part of the information chain, and if so, after the confirmation add button of the management page is clicked, the filled-in text is pre-processed and added to the text parsing library as a matching feature of the text parsing library; the matching feature is mapped to a part of the information chain.

3. A circulation management method for medical supplies according to claim 2, characterized in that: The method further comprises: Record each search action of the login account; the search action includes the text entered in the information input box and the click status of the drug information obtained by the search; Analyze the user's preferences based on the search action, parsing features, and the information chain displayed in the display control to analyze the login account's preferences for drug types, brands, and specifications; Next time when the parsed features are compared with the information chains in the preset database and it is determined that there are at least two information chains, the information chains displayed in the display control are sorted based on the user preference analysis results to give priority to displaying the information chains that meet the user preferences.

4. A circulation management method for medical supplies according to claim 3, characterized in that: The medical goods circulation management system also includes a data collection page; the circulation management method also includes: after the data collection page is clicked, the data collection page is displayed; the horizontal column of the data collection page displays a data source box, a description box, a number of matched codes, a number of unmatched codes, and a total number of entries; the number column of the data collection page is used to display a sequence number; the horizontal column of the data collection page also includes: a button for adding to a marketing catalog and a button for exporting matching results; After the Add to Marketing Catalog button is clicked, the drug information in the corresponding horizontal column is added to the marketing catalog; Click the button to export the matching result, and jump to the first result display page; the first result display page is used to display the matching result.

5. A circulation management method for medical supplies according to claim 4, characterized in that: The medical goods circulation management system further includes a login verification module, which is used to perform verification when a user logs in; the circulation management method further includes a login verification step; The login verification step includes: When the account and password verification is passed on the login interface and the device information and network address information of the login account are detected to have changed; Determine account risk level based on device information and network address information; Based on the information verification method corresponding to the account risk level; the risk level includes at least the first level, the second level and the third level from large to small; When the risk level is the first level, a first control is generated in the login interface; the first control includes a plurality of selection objects; at least one selection object is pre-set for the corresponding device account, which is recorded as a pre-configured object; when the pre-configured object in the first control is selected and the non-pre-configured object is not selected, the secondary verification of the login account is completed, and the medical goods circulation management system is entered; When the risk level is the second level, a second control is generated in the login interface; the second control is a sliding verification control; when the slider of the second control moves to a preset area and its sliding track conforms to the track algorithm, the secondary verification of the login account is completed and the medical goods circulation management system is entered; When the risk level is the third level, a third control is generated in the login interface; the third control includes several selection objects and question text boxes; one of the selection objects is inconsistent with the answer in the question text box and is a preset configuration, which is recorded as a confusing object; when only the confusing object is selected, the secondary verification of the login account is completed and the medical goods circulation management system is entered; the pre-configured objects are multiple; when the number of times the third control is regenerated for verification exceeds the preset number, the login account is locked.

6. A medical supplies circulation management system, characterized in that: It includes an information input control and an information display control; the information input control includes a plurality of information input boxes and a search button; the system also includes: The first processing module is used for: after at least one of the information input boxes is filled with text and the search button is clicked, obtaining a text combination to be matched based on all the filled-in text; the filled-in text in each of the information input boxes corresponds to a string feature of the text combination to be matched; the information input box includes a name, approval number, specification, manufacturer and prescription classification; The second processing module is used to: parse each string feature in the matching text combination based on the text parsing library, obtain corresponding parsing features for parsable string features, and save corresponding filled text for unparsable string features; The third processing module is used to: sequentially compare the parsed features with the information chains in the preset database to determine whether they are in at least one information chain; the information chain consists of the name, approval number, specification, manufacturer and standard name of prescription classification; The fourth processing module is used to determine whether the drug information corresponding to the information chain obtained by comparison contains a feature recognition object; the feature recognition object includes at least one of a drug packaging pattern and an advertising slogan; A fifth processing module, configured to: sequentially display the drug information corresponding to at least one information chain obtained by comparison in the display control and generate a feature recognition object display area next to the information chain containing the feature recognition object to display the feature recognition object; After displaying the drug information corresponding to at least one information chain obtained by comparison in the display control in sequence, the method further includes: After the drug information corresponding to one of the information links is clicked, a drug recommendation list matching the clicked drug information is generated through the trained drug recommendation model; The training method of the drug recommendation model includes: S1. Collect data on drug combination use based on historical prescription records and clinical drug guidelines; S2. Select the FP-Growth algorithm and set the confidence level of the model. S3. Training the initial drug recommendation model with the collected data, and when the confidence of the trained model is greater than the set confidence, obtaining the drug recommendation model; Among them, the FP-Growth algorithm in S2 includes: Create an empty FP-Tree and head pointer table; Each prescription record and a recommended prescription in the clinical drug guide is regarded as a transaction, and the drug combination is regarded as the item set in the transaction; each transaction is traversed, the items in the transaction are sorted by frequency, and the initial FP-Tree is constructed; For each frequent item in the FP-Tree, create a set of transactions ending with that item; Recursively mine frequent itemsets from the conditional pattern base until the minimum support threshold is met; The initial drug recommendation model is trained using the collected data, including: Remove noise data and fill missing data in the data in S1; The initial drug recommendation model has an input layer: receiving drug information and historical prescription information; an embedding layer: converting drug information and historical prescription information into low-dimensional vectors; an interaction layer: using attention mechanism or matrix decomposition to capture the potential relationship between drugs; and an output layer: predicting the confidence of drug combinations. Select the data after removing noise data and filling missing data to input into the initial drug recommendation model, and minimize the loss function through the optimizer; Calculate the F1 score; where F1 Score= ; Among them, P is the precision rate, which represents the proportion of samples predicted to be positive that are actually positive; P = (true positive examples) ÷ (true positive examples + false positive examples); R is the recall rate, which represents the proportion of samples that are actually positive that are predicted to be positive; R = (true positive examples) ÷ (true positive examples + false negative examples); true positive examples are the number of samples predicted by the model to be positive and actually positive; true negative examples: samples predicted by the model to be negative and actually negative; false positive examples: samples predicted by the model to be positive but actually negative; False negatives: samples that the model predicts are negative but are actually positive; The confidence of the model is obtained through the F1 score.

7. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program according to any one of the methods of claims 1 to 5 which is loaded and executed by the processor.

8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Artificial intelligence-assisted medical reference system and method

    CN102483818A

  • Medical information feedback method and device, equipment and readable storage medium

    CN111813946A

  • Package type medicine purchasing anomaly detection method based on FP-growth and graph network

    CN112991075A

  • Drug searching method and device, storage medium and computer equipment

    CN117112772A

  • Artificial intelligence-assisted medical reference system and method

    US20120209625A1