A method and system for detecting bacterial resistance
By analyzing the completeness and timeliness of historical detection records, calculating the value of bacterial resistance data, solving the problems of completeness and timeliness of bacterial resistance data in the database, providing detection suggestions for different regions, and improving the Efficiency of application of data in public health monitoring.
Patent Information
- Application Number
- CN202411273356.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-09-12
AI Technical Summary
When bacterial resistance data are stored and analyzed in the database, there are problems with data integrity and timeliness, which affect the effectiveness of public health monitoring.
By obtaining historical detection records, analyzing detection integrity and aging data, calculating detection value, and outputting detection suggestions, ensuring the effectiveness and aging of bacterial resistance data.
It improves the analysis accuracy and timeliness of bacterial resistance data, provides testing recommendations for different regions, and ensures the effective application of data in the medical and public health fields.
Smart Images

Figure CN118796868B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection technology, and in particular to a method and system for detecting bacterial resistance. Background Art
[0002] The importance of bacterial resistance data for antimicrobial drugs is self-evident; the standards for bacterial resistance data in different regions are different, so the bacterial resistance data obtained after performing bacterial resistance tests will be stored in the local database for subsequent analysis and processing of the data; in the database, the bacterial resistance data obtained from each test will be presented in the form of a template, and one test data contains multiple sets of data, and the multiple sets of data contain different test methods based on different sub-regions in the area bound to the database, and bacterial resistance data obtained from bacterial resistance tests performed on different test samples; based on the bacterial resistance data, a series of data analyses can be performed to achieve public health monitoring; therefore, it is very important to ensure the validity of bacterial resistance data. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a method and system for detecting bacterial resistance.
[0004] In a first aspect, the present application provides a method for detecting bacterial drug resistance. The method comprises:
[0005] Acquire multiple historical detection records; the historical detection records contain multiple groups of historical detection data; the historical detection data contain data content corresponding to multiple data items; the data items include detection time, detection area and detection sample;
[0006] Analyzing the detection completeness data according to the number of data items in the historical detection records and the preset standard template; the detection completeness data is associated with the number of data items included in the historical detection records;
[0007] Filtering target detection records within a preset sampling period according to the detection time, and calculating detection time validity data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period;
[0008] The detection value data is determined according to the detection completeness data and the detection timeliness data, and the detection suggestion data is output according to the detection value data.
[0009] Further, the analyzing the detection integrity data according to the number of historical detection records and preset standard template data items includes:
[0010] Determine the number of data items included in each set of historical detection data, and calculate the total number of data items and the average number of data items corresponding to each historical detection record based on the number of data items;
[0011] Calculating first sub-integrity data according to the number of data items, the total number of data items and the average number of data items of the preset standard template; the first sub-integrity data is associated with the total number of data items and the average number of data items;
[0012] Obtaining a preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered;
[0013] Determine, according to the historical detection records, a set of detection areas corresponding to each historical detection record;
[0014] Calculating second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set;
[0015] The integrity data is analyzed and detected according to the first sub-integrity data and the second sub-integrity data.
[0016] Furthermore, the calculation method of the detection integrity data includes:
[0017] Assume that there are n historical detection records in the preset sampling period, and the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ;
[0018] ;
[0019] in, ; ;
[0020] In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
[0021] Furthermore, the step of screening target detection records within a preset sampling period according to the detection time, and calculating detection time validity data according to the detection time of the target detection records includes:
[0022] Determine the time interval between the detection time of the most recent detection from the current time and the current time according to the target detection record;
[0023] Calculating a data update frequency based on the target detection record;
[0024] Calculating an average update time based on the detection time of the target detection record;
[0025] The detection time validity data is calculated according to the time interval value, the data update frequency and the average update time.
[0026] Furthermore, the calculation method of the detection time validity data includes:
[0027] Assume that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ;
[0028] ;
[0029] In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
[0030] In a second aspect, the present application provides a bacterial resistance detection system, the system comprising:
[0031] An acquisition module, used to acquire multiple historical detection records; the historical detection records contain multiple groups of historical detection data; the historical detection data contain data content corresponding to multiple data items; the data items include detection time, detection area and detection sample;
[0032] An analysis module, configured to analyze the detection integrity data according to the historical detection records and the number of data items in the preset standard template; the detection integrity data is associated with the number of data items included in the historical detection records;
[0033] A calculation module, used to filter target detection records within a preset sampling period according to the detection time, and calculate detection time validity data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period;
[0034] A determination module is used to determine detection value data based on the detection completeness data and the detection timeliness data, and output detection suggestion data based on the detection value data.
[0035] Furthermore, the analysis module is further configured to analyze the detection integrity data according to the number of historical detection records and preset standard template data items, including:
[0036] Determine the number of data items included in each set of historical detection data, and calculate the total number of data items and the average number of data items corresponding to each historical detection record based on the number of data items;
[0037] Calculating first sub-integrity data according to the number of data items, the total number of data items and the average number of data items of the preset standard template; the first sub-integrity data is associated with the total number of data items and the average number of data items;
[0038] Obtaining a preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered;
[0039] Determine, according to the historical detection records, a set of detection areas corresponding to each historical detection record;
[0040] Calculating second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set;
[0041] The integrity data is analyzed and detected according to the first sub-integrity data and the second sub-integrity data.
[0042] Furthermore, the analysis module is further configured such that the calculation method of the detection integrity data includes:
[0043] Assume that there are n historical detection records in the preset sampling period, and the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ;
[0044] ;
[0045] in, ; ;
[0046] In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
[0047] Furthermore, the calculation module is further configured to filter the target detection records within the preset sampling period according to the detection time, and calculate the detection time validity data according to the detection time of the target detection record, including:
[0048] Determine the time interval between the detection time of the most recent detection from the current time and the current time according to the target detection record;
[0049] Calculating a data update frequency based on the target detection record;
[0050] Calculating an average update time based on the detection time of the target detection record;
[0051] The detection time validity data is calculated according to the time interval value, the data update frequency and the average update time.
[0052] Furthermore, the calculation module is further configured such that the calculation method of the detection time validity data includes:
[0053] Assume that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ;
[0054] ;
[0055] In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
[0056] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0058] Figure 1 A flow chart of a bacterial resistance detection method in an embodiment of the present application is shown;
[0059] Figure 2 A block diagram of a bacterial resistance detection system in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0062] The present application provides a bacterial resistance detection method and system, which can calculate and determine the value of data based on the completeness and timeliness of resistance detection data within a preset sampling time in a database, thereby determining bacterial resistance detection recommendations for the area bound to the database.
[0063] In a first aspect, the present application provides a method for detecting bacterial resistance. Figure 1 The specific steps included in the method are as follows.
[0064] Step S110: Acquire multiple historical detection records; the historical detection records contain multiple groups of historical detection data; the historical detection data contain data content corresponding to multiple data items; the data items include detection time, detection area and detection sample.
[0065] In an embodiment of the present application, a plurality of historical detection records are recorded in a database, and the database corresponds to a plurality of local areas, and the detection data recorded in the database is the bacterial resistance detection data for the area corresponding to the database; and the area set corresponding to the database binding contains a plurality of areas, and each time a bacterial resistance test is performed, one or more of the areas will be tested; the data items here refer to different types of data contained in the test data, such as the test time is the time when the test starts, the test area is the area of the test corresponding to the test data, and the test samples are generally collected from hospitals in the current area or specific types of areas, etc.; in addition, the data items will also include the source of the bacteria, the patient's information, etc.; a standard template is stored in the database and presented in the form of a table, and when each bacterial resistance test is performed, a historical detection record contains multiple groups of historical detection data, and each group of historical detection data has a table, in which the data obtained from each test is zoned by the number of tests or the test time, and the corresponding data is entered according to the data items in the table header.
[0066] Step S120: analyzing the detection completeness data according to the number of data items in the historical detection records and the preset standard template; the detection completeness data is associated with the number of data items included in the historical detection records.
[0067] In an embodiment of the present application, analyzing the detection integrity data according to the number of data items in the historical detection records and the preset standard template data items specifically includes: determining the number of data items contained in each group of historical detection data, and calculating the total number of data items and the average number of data items corresponding to each historical detection record according to the number of data items; calculating the first sub-integrity data according to the number of data items in the preset standard template, the total number of data items and the average number of data items; the first sub-integrity data is associated with the total number of data items and the average number of data items; obtaining the preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered; determining the detection area set corresponding to each historical detection record according to the historical detection records; calculating the second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set; analyzing the detection integrity data according to the first sub-integrity data and the second sub-integrity data.
[0068] The calculation method of the detection integrity data includes:
[0069] Assume that there are n historical detection records in the preset sampling period, and the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ;
[0070] ;
[0071] in, ; ;
[0072] In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
[0073] It is understandable that the above formula is calculated for the historical detection data within the preset sampling period; for the actual dynamic changes of bacteria, the historical detection data within the preset time period close to the current time is generally analyzed, and the historical data far from the current time is generally of no reference value; is the total number of data items, which refers to the sum of the number of data items of the historical detection data of all groups in the i-th historical detection record; and is the total number of standard data items obtained based on the number of preset standard template data items, that is, the number of preset standard template data items * the number of groups of historical test data in the i-th historical test record; It is the average number of data items, which refers to the average number of data items of historical detection data of all groups in the i-th historical detection record.
[0074] It can be understood that the preset standard detection coverage area set here includes multiple areas to be covered, which refers to the multiple local areas corresponding to the database mentioned in the above step S110.
[0075] It can be understood that, generally, the first preset weight and the second preset weight are both set to 0.5.
[0076] Step S130: Filter target detection records within a preset sampling period according to the detection time, and calculate detection timeliness data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period.
[0077] In an embodiment of the present application, target detection records within a preset sampling period are filtered according to the detection time, and detection timeliness data is calculated according to the detection time of the target detection record, specifically including: determining the time interval value between the detection time of the most recent detection from the current time and the current time according to the target detection record; calculating the data update frequency according to the target detection record; calculating the average update time according to the detection time of the target detection record; and calculating the detection timeliness data according to the time interval value, the data update frequency and the average update time.
[0078] It can be understood that the data update frequency is calculated as follows: in the target detection record, the number of groups of historical detection data of all groups is divided by the length of the preset sampling period to obtain the data update frequency; the average update time here is to calculate the update interval time in each group of historical detection data, and then calculate the number of updates of the historical detection data of all groups in the target detection record, and divide the total update interval time by the total number of updates to obtain the average update time; it can be understood that when calculating the average update time, the number of the first detection data in each group of historical detection data will be subtracted, and the number of updates will be calculated starting from the second detection data.
[0079] It can be understood that, as mentioned above, each historical detection record contains multiple groups of historical detection data, the target detection record here also contains multiple groups of target detection data. The target detection data here refers to the historical detection data whose detection time is within the preset sampling period; and in the historical detection data, the actual detection may be multiple detections for one sample, or multiple detections for one area, so each group of historical detection data will contain multiple single detection data; for example, historical detection record A contains three groups of historical detection data, of which the first group of historical detection data contains two detections, the first detection is on the first day, and the second detection is on the second day, and the two detections are control detections controlled by time variables performed on the same detection sample.
[0080] Specifically, the calculation method of the detection time validity data includes:
[0081] Assume that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ;
[0082] ;
[0083] In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
[0084] It is understandable that the preset interval threshold here is based on the theoretical minimum value analyzed from all historical detection data. In this solution, by default, all time interval values Both are greater than the preset interval threshold , The bigger, and The greater the difference, The smaller the test time, the better the test time The smaller it is, the more time-effective the drug resistance detection data is.
[0085] Generally, the preset third weight and the preset fourth weight are both 0.5.
[0086] It should be noted that the preset time conversion coefficient L here is only a coefficient set for the convenience of calculation.
[0087] Step S140: Determine detection value data according to the detection completeness data and the detection timeliness data, and output detection suggestion data according to the detection value data.
[0088] After obtaining the detection completeness data and detection timeliness data, the detection value data is calculated, and the detection value data = detection completeness data * preset fifth weight + detection timeliness data * preset sixth weight; generally, the preset fifth weight and the preset sixth weight are both 0.5.
[0089] After the detection value data is calculated, the detection value data is compared with the preset value comparison table. The preset value comparison table contains the correspondence between the detection value data and the degree of necessity of detection. The degree of necessity of detection is reflected in the form of detection necessity levels, including the first level, the second level, the third level, the fourth level and the fifth level; from the first level to the fifth level, the degree of necessity of detection increases successively; thus, the detection recommendation data can be obtained. The higher the level, the more priority is needed for detection, which means that the bacterial resistance data in the database of this area is less timely and cannot bring any help to medical and public health.
[0090] During the actual calculation process, the number of detections in each of the multiple local areas bound to the database is also recorded and sorted in ascending order according to the number of detections. The higher the ranking position, the more it indicates that the bacterial resistance detection data of the area needs to be updated.
[0091] It can be understood that the method in this scheme is actually a machine learning model, which aims to realize the timeliness feedback of the bacterial resistance detection data in the database by calculating the detection value data multiple times, wherein multiple parameters can be trained in the process of calculating the detection value data, such as the preset time conversion coefficient, the preset first weight, the preset second weight, the preset third weight, the preset fourth weight, the preset fifth weight, the preset sixth weight, the preset value comparison table, the preset interval threshold, etc.; through the training of the above parameters, the method can calculate the detection value data of the bacterial resistance data in the database more accurately, and can more accurately reflect the value and role of the bacterial resistance data, and give corresponding new detection suggestions based on the results, so as to help the corresponding local areas to update the bacterial resistance data, so that the bacterial resistance data can provide greater help in medical and public health.
[0092] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0093] In a second aspect, the present application provides a bacterial resistance detection system. Figure 2 As shown, the system includes an acquisition module 210, which is used to acquire multiple historical detection records; the historical detection records contain multiple groups of historical detection data; the historical detection data contain data content corresponding to multiple data items; the data items include detection time, detection area and detection sample; an analysis module 220, which is used to analyze the detection integrity data according to the historical detection records and the number of preset standard template data items; the detection integrity data is associated with the number of data items contained in the historical detection records; a calculation module 230, which is used to filter the target detection records within a preset sampling period according to the detection time, and calculate the detection timeliness data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period; a determination module 240, which is used to determine the detection value data according to the detection integrity data and the detection timeliness data, and output the detection recommendation data according to the detection value data.
[0094] The analysis module 220 is further configured as follows: the analysis of the detection integrity data according to the historical detection records and the number of preset standard template data items includes: determining the number of data items contained in each group of historical detection data, and calculating the total number of data items and the average number of data items corresponding to each historical detection record according to the number of data items; calculating the first sub-integrity data according to the number of preset standard template data items, the total number of data items and the average number of data items; the first sub-integrity data is associated with the total number of data items and the average number of data items; obtaining the preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered; determining the detection area set corresponding to each historical detection record according to the historical detection records; calculating the second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set; analyzing the detection integrity data according to the first sub-integrity data and the second sub-integrity data.
[0095] The calculation method of the detection integrity data includes: assuming that there are n historical detection records in the preset sampling period, the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ;
[0096] ;
[0097] in, ; ;
[0098] In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
[0099] The calculation module 230 is further configured to filter the target detection records within a preset sampling period according to the detection time, and calculate the detection timeliness data according to the detection time of the target detection record, including: determining the time interval value between the detection time of the most recent detection from the current time and the current time according to the target detection record; calculating the data update frequency according to the target detection record; calculating the average update time according to the detection time of the target detection record; and calculating the detection timeliness data according to the time interval value, the data update frequency and the average update time.
[0100] The calculation method of the detection time validity data includes: assuming that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ;
[0101] ;
[0102] In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described device can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0104] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for detecting bacterial resistance, It is characterized in that include: Acquire multiple historical detection records; the historical detection records contain multiple groups of historical detection data; the historical detection data contain data content corresponding to multiple data items; The data items include detection time, detection area and detection sample; Analyze the test integrity data based on the historical test records and the number of preset standard template data items; The detection completeness data is associated with the number of data items included in the historical detection record; Filtering target detection records within a preset sampling period according to the detection time, and calculating detection time validity data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period; Determine detection value data according to the detection completeness data and the detection timeliness data, and output detection suggestion data according to the detection value data; The analysis of the detection integrity data according to the number of historical detection records and preset standard template data items includes: Determine the number of data items included in each set of historical detection data, and calculate the total number of data items and the average number of data items corresponding to each historical detection record based on the number of data items; Calculating first sub-integrity data according to the number of data items, the total number of data items and the average number of data items of the preset standard template; the first sub-integrity data is associated with the total number of data items and the average number of data items; Obtaining a preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered; Determine, according to the historical detection records, a set of detection areas corresponding to each historical detection record; Calculating second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set; analyzing and detecting integrity data according to the first sub-integrity data and the second sub-integrity data; The step of screening target detection records within a preset sampling period according to the detection time, and calculating detection time validity data according to the detection time of the target detection records includes: Determine the time interval between the detection time of the most recent detection from the current time and the current time according to the target detection record; Calculating a data update frequency based on the target detection record; Calculating an average update time based on the detection time of the target detection record; Calculate detection time validity data according to the time interval value, the data update frequency and the average update time; The data update frequency is calculated as follows: in the target detection record, the number of groups of historical detection data of all groups is divided by the length of the preset sampling period to obtain the data update frequency; The average update time is: calculate the update interval time in each group of historical detection data, then calculate the number of updates of the historical detection data of all groups in the target detection record, and divide the total update interval time by the total number of updates to get the average update time.
2. The method for detecting bacterial resistance according to claim 1, It is characterized in that The calculation method of the detection integrity data includes: Assume that there are n historical detection records in the preset sampling period, and the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ; ; in, ; ; In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
3. The method for detecting bacterial drug resistance according to claim 1, It is characterized in that The calculation method of the detection time validity data includes: Assume that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ; ; In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
4. A bacterial resistance detection system, It is characterized in that include: An acquisition module (210) is used to acquire a plurality of historical detection records; the historical detection records include a plurality of groups of historical detection data; the historical detection data include data content corresponding to a plurality of data items; the data items include detection time, detection area and detection sample; An analysis module (220), configured to analyze the detection integrity data according to the historical detection records and the number of preset standard template data items; The detection completeness data is associated with the number of data items included in the historical detection record; A calculation module (230), configured to filter target detection records within a preset sampling period according to the detection time, and calculate detection time validity data according to the detection time of the target detection record; the target detection record is a historical detection record whose detection time is within the preset sampling period; A determination module (240), configured to determine detection value data according to the detection completeness data and the detection timeliness data, and output detection suggestion data according to the detection value data; The analysis module (220) is further configured to analyze the detection integrity data according to the historical detection records and the number of preset standard template data items, including: Determine the number of data items included in each set of historical detection data, and calculate the total number of data items and the average number of data items corresponding to each historical detection record based on the number of data items; Calculating first sub-integrity data according to the number of data items, the total number of data items and the average number of data items of the preset standard template; the first sub-integrity data is associated with the total number of data items and the average number of data items; Obtaining a preset standard detection coverage area set corresponding to each historical detection record; the preset standard detection coverage area set includes multiple areas to be covered; Determine, according to the historical detection records, a set of detection areas corresponding to each historical detection record; Calculating second sub-integrity data according to the preset standard detection coverage area set and the detection area set; the second sub-integrity data is associated with the number of detection areas in the detection area set; analyzing and detecting integrity data according to the first sub-integrity data and the second sub-integrity data; The calculation module (230) is further configured to filter the target detection records within a preset sampling period according to the detection time, and calculate the detection time validity data according to the detection time of the target detection record, including: Determine the time interval between the detection time of the most recent detection from the current time and the current time according to the target detection record; Calculating a data update frequency based on the target detection record; Calculating an average update time based on the detection time of the target detection record; Calculate detection time validity data according to the time interval value, the data update frequency and the average update time; The system is further configured such that the data update frequency is calculated as follows: in the target detection record, the number of groups of historical detection data of all groups is divided by the length of the preset sampling period to obtain the data update frequency; The average update time is: calculate the update interval time in each group of historical detection data, then calculate the number of updates of the historical detection data of all groups in the target detection record, and divide the total update interval time by the total number of updates to get the average update time.
5. The bacterial resistance detection system according to claim 4, It is characterized in that The analysis module (220) is further configured such that the method for calculating the detection integrity data comprises: Assume that there are n historical detection records in the preset sampling period, and the first sub-integrity data of the i-th historical detection record is , the second sub-integrity data of the i-th historical detection record is ; ; in, ; ; In the formula, To detect completeness data; is the total number of data items, is the total number of standard data items obtained based on the preset number of standard template data items; is the average number of data items, is the number of the preset standard template data items; is the number of detection areas in the detection area set, Detecting the number of areas to be covered in the coverage area set according to a preset standard; are respectively a preset first weight and a preset second weight, and .
6. The bacterial resistance detection system according to claim 4, It is characterized in that The calculation module (230) is further configured such that the calculation method of the detection time validity data includes: Assume that there are m historical detection records in the preset sampling period, and the time interval value of the jth historical detection record is , the data update frequency of the jth historical detection record is , the average update time of the jth historical detection record is ; ; In the formula, To test the validity data; is the preset time conversion factor; is the preset interval threshold; are respectively a preset third weight and a preset fourth weight, and .
Citation Information
Patent Citations
Experimental video system based on teaching outline and using method thereof
CN110377788A
Rental object information management method and device, electronic equipment and storage medium
CN112184164A
