Leukocyte signal interference identification method, sample analyzer and related device
By acquiring and analyzing signals in the white blood cell channel to determine white blood cell signal interference, the problem of inaccurate counting caused by signal interference in the existing technology is solved, and the accuracy and repeatability of white blood cell counting are improved.
Patent Information
- Application Number
- CN202410281833.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology lacks white blood cell channel signal interference detection, resulting in inaccurate white blood cell calculation results and affecting the accuracy and repeatability of counting.
By acquiring the signal within the preset period of time in the white blood cell channel, counting particle information, dividing data pairs, calculating the average number of particles, judging signal interference, using threshold and differential analysis to determine whether the signal is interfered, and issuing an alarm.
It can effectively determine whether the white blood cell signal is interfered, improve the accuracy of white blood cell counting, and ensure the reliability of test results.
Smart Images

Figure CN118730863A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a leukocyte signal interference recognition method, a sample analyzer and related devices. Background Art
[0002] The white blood cell channel only has white blood cell channel abnormality detection and white blood cell channel blockage detection, and there is no white blood cell channel signal interference detection. Since there is no white blood cell channel signal interference detection, when the white blood cell channel is interfered with by the signal, the white blood cell count result is higher than the normal count result, which will affect the accuracy and repeatability of the white blood cell count test. In order to improve the accuracy of the white blood cell count result, the white blood cell channel signal interference detection is required. Summary of the invention
[0003] The main purpose of the present invention is to provide a method, device, sample analyzer, computer equipment and storage medium for identifying leukocyte signal interference, which can solve the problem of leukocyte channel signal interference detection in the prior art.
[0004] To achieve the above object, the present invention provides a method for identifying leukocyte signal interference in a first aspect, the method comprising:
[0005] Acquire a leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information;
[0006] Arrange each time stamp and the corresponding particle number into a data pair to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair sets include multiple consecutive data pairs in the data column;
[0007] The average number of particles in each data pair is calculated respectively to obtain the number means corresponding to the N sets of data pairs, and whether the white blood cell signal is interfered is determined based on the deviation between the number means of the N sets of data pairs.
[0008] In combination with the first aspect, in a possible implementation, judging whether the white blood cell signal is interfered with based on the deviation between the number means of the N groups of data pair sets includes: grouping the number means of the N groups of data pair sets into a first initial set, calculating a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; deleting the maximum value in the number means of the first initial set to obtain a first target set, calculating a second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set; calculating a first difference between the first target value and the second target value, and calculating a first first-order difference and a first first-order difference corresponding to the first initial set. ; If the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold, it is determined that the white blood cell signal is not interfered with; if the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, the set of data pairs corresponding to the deleted maximum value is determined as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, the first target set is taken as the first initial set, and the step of deleting the maximum value in the number means of the first initial set to obtain the first target set is returned until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold; based on the number of the first set, it is determined whether the white blood cell signal is interfered with.
[0009] In combination with the first aspect, in a possible implementation, judging whether the white blood cell signal is interfered with based on the first set number includes: if the first set number is less than or equal to a preset number, determining that the white blood cell signal is interfered with; if the first set number is greater than the preset number, determining that the white blood cell signal is not interfered with.
[0010] In combination with the first aspect, in a possible implementation, the method further includes: if the number of first sets is less than a number threshold, determining the data pairs in the first set as data for the interfered period; if the number of first sets is greater than or equal to the number threshold, arranging the first sets according to the sequence numbers of the first sets in the data column to obtain a set sequence, and calculating the difference in data column sequence numbers between adjacent first sets in the set sequence; if the difference in data column sequence numbers is not equal to a third threshold, determining the data pairs in the first set as data for the interfered period; if the difference in data column sequence numbers is equal to the third threshold, dividing the data pairs corresponding to the adjacent first sets into K groups of data pair sets, and determining the data for the interfered period based on the K groups of data pair sets.
[0011] In combination with the first aspect, in a possible implementation, the data of the interfered time period determined based on the K groups of data pair sets includes: respectively calculating the number means corresponding to the K groups of data pair sets, grouping the number means corresponding to the K groups of data pair sets into a second initial set, calculating a third target value between the number means in the second initial set, wherein the third target value represents the deviation between the number means in the second initial set; deleting the maximum value in the number means of the second initial set to obtain a second target set, calculating a fourth target value between the number means in the second target set, wherein the fourth target value represents the deviation between the number means in the second target set; calculating a second target value between the third target value and the fourth target value. difference, and calculate the second first-order difference sum corresponding to the second initial set; if the second difference is greater than the fourth threshold, or the second first-order difference sum is greater than the fifth threshold, then the data pair set corresponding to the deleted maximum value is determined as the second set, if the number of number means contained in the second target set is greater than or equal to the number threshold, then the second target set is taken as the second initial set, and the step of returning to delete the maximum value in the number means of the second initial set to obtain the second target set is performed until the second difference is less than or equal to the fourth threshold and the second first-order difference sum is less than or equal to the fifth threshold or until the number of number means contained in the second target set is less than the number threshold; the data pairs in the second set are determined as the data of the interfered period.
[0012] In combination with the first aspect, in a possible implementation manner, after determining that the white blood cell signal is interfered with, the method includes: issuing an alarm for the interference with the white blood cell signal based on the alarm information.
[0013] To achieve the above object, the second aspect of the present invention provides a leukocyte signal interference identification device, the device comprising:
[0014] Acquisition module: used to acquire the leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect the particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information;
[0015] A partitioning module is used to respectively group each time stamp and the corresponding particle number into data pairs to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair sets include a plurality of continuous data pairs in the data column;
[0016] Judgment module: used to calculate the average number of particles in each data pair, obtain the number means corresponding to the N sets of data pairs, and judge whether the white blood cell signal is interfered according to the deviation between the number means of the N sets of data pairs.
[0017] In combination with the second aspect, in a possible design, the above-mentioned judgment module is also used to group the number means of the N groups of data pairs into a first initial set, calculate a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; delete the maximum value in the number means of the first initial set to obtain the first target set, calculate the second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set; calculate a first difference between the first target value and the second target value, and calculate a first first-order difference sum corresponding to the first initial set; if the first difference is less than or equal to a first threshold and the If the first first-order difference sum is less than or equal to the second threshold, it is determined that the white blood cell signal is not interfered with; if the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, the set of data pairs corresponding to the deleted maximum value is determined as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, the first target set is taken as the first initial set, and the step of deleting the maximum value in the number means of the first initial set to obtain the first target set is returned until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold; based on the number of the first set, it is determined whether the white blood cell signal is interfered with.
[0018] To achieve the above-mentioned object, the present invention provides a sample analyzer according to a third aspect. The sample analyzer includes a processor and an output device;
[0019] The processor is used to execute the method for identifying leukocyte signal interference according to the first aspect;
[0020] The output device is used to output the judgment result of whether the white blood cell signal is interfered.
[0021] To achieve the above object, the fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0022] Acquire a leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information;
[0023] Each timestamp and the corresponding particle number are grouped into a data pair to obtain Q data pairs, the Q data pairs are arranged according to time to obtain a data column, and the Q data pairs in the data column are divided into N data pair sets, wherein the data pair set includes a plurality of continuous data pairs in the data column; the average number of particles in each data pair is calculated to obtain the number mean corresponding to the N data pair sets, and whether the white blood cell signal is interfered with is determined according to the deviation between the number means of the N data pair sets.
[0024] To achieve the above object, a fifth aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0025] Acquire a leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information;
[0026] Arrange each time stamp and the corresponding particle number into a data pair to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair sets include multiple consecutive data pairs in the data column;
[0027] The average number of particles in each data pair is calculated respectively to obtain the number means corresponding to the N sets of data pairs, and whether the white blood cell signal is interfered is determined based on the deviation between the number means of the N sets of data pairs.
[0028] The embodiments of the present invention have the following beneficial effects:
[0029] The present invention provides a method for identifying interference of leukocyte signals, which obtains leukocyte signals within a preset time period when a substance to be tested passes through a leukocyte channel, collects particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signals, and counts the number of particles collected at the same timestamp according to the particle information, groups each timestamp and the corresponding number of particles into data pairs, obtains Q data pairs, arranges the Q data pairs according to time, obtains a data column, divides the Q data pairs in the data column into N groups of data pair sets, wherein the data pair set includes a plurality of continuous data pairs in the data column, calculates the average number of particles in each data pair, obtains the number mean corresponding to the N groups of data pair sets, and judges whether the leukocyte signal is interfered with according to the deviation between the number means of the N groups of data pair sets. The technical solution can effectively achieve the purpose of judging whether the leukocyte signal is interfered with. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] in:
[0032] Figure 1 This is a schematic diagram of a leukocyte channel in an embodiment of the present invention;
[0033] Figure 2 A schematic diagram of a flow chart of a method for identifying leukocyte signal interference in an embodiment of the present invention;
[0034] Figure 3 It is a structural block diagram of a leukocyte signal interference identification device in an embodiment of the present invention;
[0035] Figure 4 is a structural block diagram of a sample analyzer in an embodiment of the present invention;
[0036] Figure 5 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Reference Figure 1 , Figure 1 A schematic diagram of a leukocyte channel provided by an embodiment of the present invention, such as Figure 1 As shown, the leukocyte channel is formed based on the Coulter principle. Figure 1 It can also be a Coulter schematic diagram. The blood sample suspension diluted with an isotonic electrolyte solution (blood cell diluent) is placed in a non-conductive container (sample cup), and the pinhole tube (detector) is inserted into the electrolyte solution. There is an electrode inside and outside the pinhole tube, and the current can flow from the anode (internal electrode) to the cathode (external electrode) through the small holes (micropores) on the wall of the pinhole tube. The inside of the pinhole tube is in a negative pressure state, so the liquid outside the tube will flow into the tube. When measuring, the particles are dispersed in the liquid, and the particles flow with the liquid. When it passes through the pinhole, the cross-sectional area of the pinhole becomes smaller, the resistance between the two electrodes increases, the voltage increases, and a voltage pulse is generated. When the power supply is a constant current source, it can be proved that the peak value of the pulse is proportional to the particle volume within a certain range. As long as the instrument accurately measures the peak value of each pulse, the size of each particle can be obtained and the distribution of particle size can be statistically calculated. Because it belongs to the measurement of individual particles and three-dimensional measurement, it can not only accurately measure the particle size distribution of particles, but also measure the absolute number and concentration of particles. The particles mentioned above are blood cells, and the types of blood cells include white blood cells, red blood cells, etc. White blood cell counting is achieved based on the above principle diagram.
[0039] When the white blood cell channel is interfered by the signal, the white blood cell counting result is higher than the normal counting result, thereby affecting the accuracy of the white blood cell counting. The embodiment of the present invention provides a method for identifying white blood cell signal interference, wherein the white blood cell signal can be a signal output by the white blood cell channel. The method is used in any scenario of white blood cell signal interference identification. The method can be applied to products for white blood cell counting, such as a blood cell analyzer, which is also called a blood cell analyzer, a blood cell meter, a blood cell counter, etc. Figure 2 , Figure 2 A schematic diagram of a flow chart of a method for identifying leukocyte signal interference provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method is specifically shown in steps S101 to S103:
[0040] Step S101, obtaining a leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collecting particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and counting the number of particles collected at the same timestamp according to the particle information.
[0041] The substance to be tested may be a substance containing blood cells, such as a blood sample. The method is executed by a terminal device, which may be a communication device such as a computer or a tablet, or an intelligent product such as a blood cell analyzer.
[0042] The terminal device collects the leukocyte signal when the substance to be tested passes through the leukocyte channel, and collects the particles generated by the substance to be tested passing through the leukocyte channel according to the leukocyte signal. In this embodiment, the leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel can be obtained, and the particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period is obtained according to the leukocyte signal, and the particle information collected by the terminal device carries a timestamp, and the terminal device counts the number of particles with the same timestamp according to the timestamp of the collected particles.
[0043] Step S102: Arrange each time stamp and the corresponding particle number into a data pair to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N data pair sets.
[0044] Each timestamp and the corresponding number of particles are grouped as data pairs. For example, the collected particles are particle A, particle B, particle C, particle D and particle E, and the timestamps corresponding to particles A, particle B, particle C, particle D and particle E are time 1, time 1, time 1, time 2 and time 2 respectively. Then the timestamps of particles A, particle B and particle C are all time 1, and the timestamps of particles D and particle E are all time 2. Then the number of particles corresponding to time 1 is 3, and the number of particles corresponding to time 2 is 2, and the data pairs are time 1-3 and time 2-2 respectively.
[0045] Arrange the data pairs in the order of their timestamps to obtain data columns.
[0046] The data pairs in the data column are divided into N groups of data pair sets, where the data pair sets include a plurality of consecutive data pairs in the data column.
[0047] In a possible implementation, the data pairs in the data column are evenly distributed to N data pair sets as much as possible, so the total number of data pairs Q in the data column is as much as possible an integer multiple of N. For example, when the total number of data pairs Q in the data column is 100, N is 10, and each data pair set includes 10 data pairs. For example, when N is 3, the data column includes 12 data pairs, and each data pair set may include 4 data pairs, specifically, the first data pair set includes data pairs with sequence numbers 1-4 in the data column, the second data pair set includes data pairs with sequence numbers 5-8 in the data column, and the third data pair set includes data pairs with sequence numbers 9-12 in the data column.
[0048] In another possible implementation, if Q is 123 and N is 10, it is impossible to distribute them evenly. Then, the remainder of Q and N can be taken, that is, the remainder r of Q divided by N can be calculated. Any remainder data pair sets in the N data pair sets can be selected, which is one more than the number of data pairs contained in other data pair sets, that is, any r data pair sets in the N data pair sets can be selected, which is one more than the number of data pairs contained in other data pair sets. It can be understood that the quotient of Q divided by N is rounded, that is, the maximum integer Z that does not exceed the quotient of Q divided by N is obtained, and the number of data pairs contained in any r data pair sets in the N data pair sets is selected as Z+1, and the number of data pairs contained in the other Nr data pair sets is Z. For example, the data pairs in the data column are (time 1, 3), (time 2, 2), (time 3, 4), (time 4, 1), and (time 5, 3), and time 1 < time 2 < time 3 < time 4 < time 5. If Q = 5 and N = 3, the remainder of Q divided by N is 2, and the quotient of Q divided by N is rounded to 1. Then, among the three groups of data pair sets, two groups of data pair sets have one more number of data pairs than the other group of data pair sets. That is, the first group of data pair sets can be divided into (time 1, 3) and (time 2, 2), the second group of data pair sets can be divided into (time 3, 4) and (time 4, 1), and the third group of data pair sets can be divided into (time 5, 3).
[0049] Step S103, respectively calculating the average number of particles in each data pair to obtain the number means corresponding to the N sets of data pairs, and judging whether the white blood cell signal is interfered according to the deviation between the number means of the N sets of data pairs.
[0050] Calculate the number mean of each data pair set, where the number mean is the average value of the number of all particles included in the data pair set. For example, the first data pair set includes data pairs with sequence numbers 1-3 in the data column, and the numbers of particles corresponding to the data pairs with sequence numbers 1-3 are 1, 2, and 3 respectively, then the number mean of the first data pair set is 2. The second data pair set includes data pairs with sequence numbers 4-6 in the data column, and the numbers of particles corresponding to the data pairs with sequence numbers 4-6 are 2, 3, and 4 respectively, then the number mean of the second data pair set is 3. The third data pair set includes data pairs with sequence numbers 7-9 in the data column, and the numbers of particles corresponding to the data pairs with sequence numbers 7-9 are 3, 3, and 4 respectively, then the number mean of the third data pair set is 3.3.
[0051] When the leukocyte channel is disturbed, the total number of particles increases. Therefore, whether the leukocyte signal is disturbed is determined based on the fluctuation of the number of particles, as shown in steps S201 to S203:
[0052] Step S201, group the number means of the N groups of data pairs into a first initial set, calculate a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; delete the maximum value among the number means of the first initial set to obtain a first target set, and calculate a second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set.
[0053] Step S202, calculate the first difference between the first target value and the second target value, and calculate the first first-order difference sum corresponding to the first initial set; if the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold, determine that the white blood cell signal is not interfered with; if the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, determine the data pair set corresponding to the deleted maximum value as the first set, if the number of number means contained in the first target set is greater than or equal to the number threshold, make the first target set the first initial set, return to execute the step of deleting the maximum value in the number means of the first initial set to obtain the first target set, until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold.
[0054] Step S203: judging whether the white blood cell signal is interfered according to the first set number.
[0055] The number means of N sets of data pairs are grouped into a first initial set, and a first target value between the number means in the first initial set is calculated, that is, the first target value between the number means of the N sets of data pairs is calculated, wherein the first target value can represent the deviation between the number means in the first initial set. In a possible implementation, the first target value can be the coefficient of variation between the number means in the first initial set, specifically, the mean of the number means of the N sets of data pairs is calculated. and standard deviation s, according to the mean The coefficient of variation cv is calculated by the standard deviation s, where both the standard deviation s and the coefficient of variation cv reflect the degree of dispersion of the data. The calculation formula is as follows:
[0056]
[0057]
[0058]
[0059] Among them, y(i) represents the mean value of the number of data pairs in the i-th group, N is the total number of data pairs, and cv is the coefficient of variation. is the mean of the number means of N sets of data pairs, and s is the standard deviation of the number means of N sets of data pairs.
[0060] The maximum value among the number means in the first initial set is eliminated to obtain the first target set, and the second target value between the number means in the first target set is calculated, wherein the second target value represents the deviation between the number means in the first target set. In a possible implementation, the second target value may be the coefficient of variation between the number means in the first target set.
[0061] Calculate the first difference between the first target value and the second target value, and calculate the first first-order difference sum corresponding to the first initial set, wherein the first first-order difference sum is the sum of the first-order differences between the number means corresponding to each two adjacent data pair sets in the first initial set, and the first-order difference is the difference between the number means corresponding to each two adjacent data pair sets. In a possible implementation, the first-order difference can be the value of the number mean corresponding to the latter data pair set in each two adjacent data pair sets minus the number mean corresponding to the previous data pair set. For example, the number mean of the first group of data pair sets is 2, the number mean of the second group of data pair sets is 3, the number mean of the third group of data pair sets is 4, and the number mean of the fourth group of data pair sets is 5. The mean of the number is 3, then the first initial set includes the mean of the number of 2, 3, 4, 3, and the corresponding first-order differences are 3-2=1, 4-3=1, 3-4=-1. The first-order difference can also be the value of the mean of the number corresponding to the previous data pair set in each adjacent two data pair sets minus the mean of the number corresponding to the next data pair set. For example, the mean of the number of the first group of data pair sets is 2, the mean of the number of the second group of data pair sets is 3, the mean of the number of the third group of data pair sets is 4, and the mean of the number of the fourth group of data pair sets is 3. Then the first initial set includes the mean of the number of 2, 3, 4, 3, and the corresponding mean differences are 2-3=-1, 3-4=-1, 4-3=1.
[0062] Compare the size between the first difference and the first threshold, and the size between the first first-order difference sum and the second threshold. If the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold, determine that the white blood cell signal is not disturbed. If the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, determine the data pair set corresponding to the deleted maximum value as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, make the first target set the first initial set, return to execute the step of deleting the maximum value in the number means of the first initial set to obtain the first target set, until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold. In one possible implementation, the number threshold can be 3.
[0063] For example, N=4, the quantity threshold is 3, the mean number of the first group of data pairs is 2, the mean number of the second group of data pairs is 3, the mean number of the third group of data pairs is 4, and the mean number of the fourth group of data pairs is 5. At this time, the first initial set is (2, 3, 4, 5), the first target set is (2, 3, 4), the first target value M1 of the first initial set (2, 3, 4, 5) is calculated, and the second target value M2 of the first target set (2, 3, 4) is calculated. If the first difference D1 calculated according to the first target value M1 of the first initial set (2, 3, 4, 5) and the second target value M2 of the first target set (2, 3, 4) is greater than the first threshold, or the calculated first first-order difference sum H1 of the first initial set (2, 3, 4, 5) is greater than the second threshold, then The fourth group of data pairs is determined as the first set, and the first target set (2, 3, 4) is made the first initial set (2, 3, 4). The maximum value 4 in the first initial set (2, 3, 4) is deleted to obtain the first target set (2, 3) at this time. The second target value M3 of the first target set (2, 3) is calculated. If the first difference D2 calculated according to the first target value M2 of the first initial set (2, 3, 4) and the second target value M3 of the first target set (2, 3) is greater than the first threshold, or the calculated first first-order difference and H2 of the first initial set (2, 3, 4) is greater than the second threshold, then the third group of data pairs is also determined as the first set. Since the number of means contained in the first target set (2, 3) at this time is 2, and 2 is less than the number threshold 3, the loop is stopped.
[0064] The number of data pairs determined as the first set is counted to obtain the first set number, and a preset number is set. The preset number is a boundary value for determining whether the white blood cell signal is interfered with. In a possible implementation, the preset number may be 2. Specifically, if the first set number is less than or equal to the preset number, it is determined that the white blood cell signal is interfered with. If the first set number is greater than the preset number, it is determined that the white blood cell signal is not interfered with.
[0065] The above describes how to identify whether a white blood cell signal is interfered with. The following describes how to determine the interference data, as shown in steps S301 to S303:
[0066] Step S301: If the number of first sets is less than the number threshold, the data pairs in the first set are determined as the data of the interfered time period; if the number of first sets is greater than or equal to the number threshold, the first sets are arranged according to the sequence numbers of the first sets in the data column to obtain a set sequence, and the difference in data column sequence numbers between adjacent first sets in the set sequence is calculated.
[0067] Step S302: If the data column sequence number difference is not equal to the third threshold, the data pair in the first set corresponding to the data column sequence number difference is determined as the data in the interference period.
[0068] Step S303: if the data column sequence number difference is equal to the third threshold, the data pairs corresponding to the adjacent first sets are divided into K data pair sets, and the data of the interference period is determined based on the K data pair sets.
[0069] If the number of the first set is less than the number threshold, the data pairs in the first set are determined as the data of the interference period. If the number of the first set is greater than or equal to the number threshold, the first set is arranged according to the sequence number of the first set in the data column to obtain a set sequence, and the difference in the data column sequence numbers between adjacent first sets in the set sequence is calculated. In a possible implementation, the number threshold can be 2. For example, in a possible implementation, the first set includes the second group of data pair sets and the third group of data pair sets, then the set sequence is the second group of data pair sets and the third group of data pair sets, and the difference in the data column sequence number is 1. In another possible implementation, the first set includes the second group of data pair sets, the third group of data pair sets and the fifth group of data pair sets, then the set sequence is the second group of data pair sets, the third group of data pair sets and the fifth group of data pair sets, and the difference in the data column sequence numbers is 3-2=1 and 5-3=2 respectively.
[0070] The data column sequence number difference is compared with the third threshold value. If the data column sequence number difference is not equal to the third threshold value, the data pairs in the first set corresponding to the data column sequence number difference are determined as the data of the interference period. For example, the data column sequence number difference of the second data pair set and the third data pair set is 2, and the third threshold value is 1. Then, if the data column sequence number difference is not equal to the third threshold value, the data pairs of the second data pair set and the third data pair set are determined as the data of the interference period.
[0071] If the data column sequence number difference is equal to the third threshold, the data pairs corresponding to the adjacent first sets corresponding to the data column sequence number difference are divided into K groups of data pair sets, and the data of the interfered time period is determined based on the K groups of data pair sets, wherein the division method of the K groups of data pair sets may be similar to the division method of the N groups of data pair sets, for example, the data column sequence number difference of the second group of data pair sets and the third group of data pair sets is 1, and the third threshold is 1, then the data column sequence number difference is equal to the third threshold, then the data pairs of the second group of data pair sets and the third group of data pair sets are divided into K groups of data pair sets, if the second group of data pair sets includes data pairs with sequence numbers 4-6 in the data column, and the third group of data pair sets includes data pairs with sequence numbers 7-9 in the data column, K=3, then the data pairs with sequence numbers 4-6 and the data with sequence numbers 7-9 are divided into 3 groups of data pair sets.
[0072] In this embodiment, the data of the interference period is determined based on the K sets of data pairs as shown in steps S401 to S403:
[0073] Step S401, respectively calculate the number means corresponding to K groups of data pair sets, group the number means corresponding to the K groups of data pair sets into a second initial set, calculate a third target value between the number means in the second initial set, wherein the third target value represents the deviation between the number means in the second initial set; delete the maximum value among the number means of the second initial set to obtain a second target set, calculate a fourth target value between the number means in the second target set, wherein the fourth target value represents the deviation between the number means in the second target set.
[0074] Step S402, calculate the second difference between the third target value and the fourth target value, and calculate the second first-order difference sum corresponding to the second initial set; if the second difference is greater than the fourth threshold, or the second first-order difference sum is greater than the fifth threshold, then the data pair set corresponding to the deleted maximum value is determined as the second set, if the number of number means contained in the second target set is greater than or equal to the number threshold, then the second target set is used as the second initial set, and the step of deleting the maximum value in the number means of the second initial set to obtain the second target set is returned until the second difference is less than or equal to the fourth threshold and the second first-order difference sum is less than or equal to the fifth threshold or until the number of number means contained in the second target set is less than the number threshold.
[0075] Step S403: determine the data pairs in the second set as data in the interference period.
[0076] Calculate the number means corresponding to K groups of data pair sets respectively, group the number means of the K groups of data pair sets into a second initial set, calculate the third target value between the number means in the second initial set, that is, calculate the third target value between the number means of the K groups of data pair sets, wherein the third target value represents the deviation between the number means in the second initial set, and the third target value may be the coefficient of variation between the number means in the second initial set, delete the maximum value among the number means in the second initial set, obtain the second target set, and calculate the fourth target value between the number means of the second target set, wherein the fourth target value represents the deviation between the number means in the second target set, and the fourth target value may be the coefficient of variation between the number means of the second target set.
[0077] Calculate the second difference between the third target value and the fourth target value, and calculate the second first-order difference sum corresponding to the second initial set. If the second difference is greater than the fourth threshold, or the second first-order difference sum is greater than the fifth threshold, determine the set of data pairs corresponding to the deleted maximum value as the second set. If the number of number means contained in the second target set is greater than or equal to the number threshold, let the second target set be the second initial set, and return to execute the step of deleting the maximum value in the number means of the second initial set to obtain the second target set, until the second difference is less than or equal to the fourth threshold and the second first-order difference sum is less than or equal to the fifth threshold or until the number of number means contained in the second target set is less than the number threshold.
[0078] The data pairs in the second set are determined as the data in the interference period. Since the method for determining the second set is similar to the method for determining the first set, no examples are given here one by one.
[0079] Based on the above method, the data of the interference period can be determined so that the data of the interference period can be corrected later.
[0080] In a possible implementation, after it is determined that the white blood cell signal is disturbed, an alarm is issued based on the alarm information.
[0081] Based on the above method, the purpose of effectively judging whether the white blood cell signal is interfered with can be achieved, and an alarm can be issued when the white blood cell signal is interfered with.
[0082] In order to better implement the above method, the embodiment of the present invention provides a leukocyte signal interference identification device, referring to Figure 3 , Figure 3 A structural block diagram of a leukocyte signal interference identification device provided by an embodiment of the present invention, such as Figure 3 As shown, the device 30 specifically includes:
[0083] Acquisition module 301: used to acquire the leukocyte signal within a preset time period when the test substance passes through the leukocyte channel, collect particle information generated by the test substance passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information.
[0084] Division module 302: used to respectively group each timestamp and the corresponding particle number into data pairs to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair set includes multiple consecutive data pairs in the data column.
[0085] Judgment module 303: used to calculate the average number of particles in each data pair, obtain the number means corresponding to the N sets of data pairs, and judge whether the white blood cell signal is interfered according to the deviation between the number means of the N sets of data pairs.
[0086] In a possible design, the judgment module 303 is further used to group the number means of the N groups of data pairs into a first initial set, calculate a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; delete the maximum value in the number means of the first initial set to obtain the first target set, calculate a second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set; calculate a first difference between the first target value and the second target value, and calculate a first first-order difference sum corresponding to the first initial set; if the first difference is less than or equal to a first threshold and the first If the sum of the first-order differences is less than or equal to the second threshold, it is determined that the white blood cell signal is not interfered with; if the first difference is greater than the first threshold, or the first first-order difference is greater than the second threshold, the set of data pairs corresponding to the deleted maximum value is determined as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, the first target set is taken as the first initial set, and the step of deleting the maximum value in the number means of the first initial set to obtain the first target set is returned until the first difference is less than or equal to the first threshold and the first first-order difference is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold; based on the number of the first set, it is determined whether the white blood cell signal is interfered with.
[0087] In a possible design, the judgment module 303 is further configured to determine that the white blood cell signal is interfered with if the number of the first set is less than or equal to a preset number; and to determine that the white blood cell signal is not interfered with if the number of the first set is greater than the preset number.
[0088] In one possible design, the above-mentioned device 30 also includes an interference data identification module 304, which is used to determine the data pairs in the first set as data of the interfered time period if the number of the first sets is less than the number threshold; if the number of the first sets is greater than or equal to the number threshold, arrange the first sets according to the sequence numbers of the first sets in the data column to obtain a set sequence, and calculate the difference in data column sequence numbers between adjacent first sets in the set sequence; if the difference in data column sequence numbers is not equal to a third threshold, determine the data pairs in the first set as data of the interfered time period; if the difference in data column sequence numbers is equal to the third threshold, divide the data pairs corresponding to the adjacent first sets into K groups of data pair sets, and determine the data of the interfered time period based on the K groups of data pair sets.
[0089] In a possible design, the interference data identification module 304 is further used to respectively calculate the number means corresponding to the K groups of data pair sets, group the number means corresponding to the K groups of data pair sets into a second initial set, calculate a third target value between the number means in the second initial set, wherein the third target value represents the deviation between the number means in the second initial set; delete the maximum value in the number means of the second initial set to obtain a second target set, and calculate a fourth target value between the number means in the second target set, wherein the fourth target value represents the deviation between the number means in the second target set;
[0090] Calculate the second difference between the third target value and the fourth target value, and calculate the second first-order difference sum corresponding to the second initial set; if the second difference is greater than the fourth threshold, or the second first-order difference sum is greater than the fifth threshold, determine the data pair set corresponding to the deleted maximum value as the second set, if the number of number means contained in the second target set is greater than or equal to the number threshold, make the second target set as the second initial set, return to execute the step of deleting the maximum value in the number means of the second initial set to obtain the second target set, until the second difference is less than or equal to the fourth threshold and the second first-order difference sum is less than or equal to the fifth threshold or until the number of number means contained in the second target set is less than the number threshold; determine the data pairs in the second set as the data of the interfered period.
[0091] In a possible design, the device 30 further includes an alarm module, and the alarm module 305 is used to alarm when the white blood cell signal is disturbed based on the alarm information.
[0092] Based on the above device, the purpose of effectively judging whether the white blood cell signal is disturbed can be achieved, and an alarm can be issued when the white blood cell signal is disturbed.
[0093] In order to better implement the above method, the embodiment of the present invention further provides a sample analyzer, referring to Figure 4 , Figure 4 A structural block diagram of a sample analyzer provided by an embodiment of the present invention, such as Figure 4 As shown, the sample analyzer 40 includes a processor 401 and an output device 402. The processor 401 is used to execute all the steps in the above method, and the output device is used to output a judgment result of whether the white blood cell signal is interfered.
[0094] Based on the above sample analyzer, the purpose of effectively judging whether the white blood cell signal is interfered with can be achieved, and an alarm can be issued when the white blood cell signal is interfered with.
[0095] Figure 5FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 5 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0096] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes each step of the aforementioned method.
[0097] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes each step of the aforementioned method.
[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0099] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0100] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for identifying leukocyte signal interference, characterized in that: The method comprises: Acquire a leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information; Arrange each time stamp and the corresponding particle number into a data pair to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair sets include multiple consecutive data pairs in the data column; The average number of particles in each data pair is calculated respectively to obtain the number means corresponding to the N sets of data pairs, and whether the white blood cell signal is interfered is determined based on the deviation between the number means of the N sets of data pairs.
2. The method according to claim 1, characterized in that The step of judging whether the leukocyte signal is interfered with according to the deviation between the number means of the N groups of data pairs comprises: Grouping the number means of the N sets of data pairs into a first initial set, calculating a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; deleting the maximum value in the number means of the first initial set to obtain a first target set, calculating a second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set; Calculate a first difference between the first target value and the second target value, and calculate a first first-order difference sum corresponding to the first initial set; if the first difference is less than or equal to a first threshold and the first first-order difference sum is less than or equal to a second threshold, determine that the white blood cell signal is not disturbed; if the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, determine the set of data pairs corresponding to the deleted maximum value as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, make the first target set the first initial set, and return to execute the step of deleting the maximum value in the number means of the first initial set to obtain the first target set, until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold; According to the first set number, it is determined whether the white blood cell signal is interfered.
3. The method according to claim 2, characterized in that The step of judging whether the white blood cell signal is interfered with according to the first set number includes: If the number of the first set is less than or equal to the preset number, it is determined that the white blood cell signal is interfered; If the number of the first set is greater than the preset number, it is determined that the white blood cell signal is not disturbed.
4. The method according to claim 2, characterized in that: The method further comprises: If the number of first sets is less than the number threshold, the data pairs in the first set are determined as data in the interference period; if the number of first sets is greater than or equal to the number threshold, the first sets are arranged according to the sequence numbers of the first sets in the data column to obtain a set sequence, and the difference in the data column sequence numbers between adjacent first sets in the set sequence is calculated; If the data column sequence number difference is not equal to the third threshold, determining the data pair in the first set as data in the interference period; If the data column sequence number difference is equal to the third threshold, the data pairs corresponding to the adjacent first sets are divided into K data pair sets, and the data of the interference period is determined based on the K data pair sets.
5. The method according to claim 4, characterized in that The determining of data in the interference period based on the K sets of data pairs comprises: Calculate the number means corresponding to the K groups of data pair sets respectively, group the number means corresponding to the K groups of data pair sets into a second initial set, calculate a third target value between the number means in the second initial set, wherein the third target value represents the deviation between the number means in the second initial set; delete the maximum value in the number means of the second initial set to obtain a second target set, calculate a fourth target value between the number means in the second target set, wherein the fourth target value represents the deviation between the number means in the second target set; Calculate the second difference between the third target value and the fourth target value, and calculate the second first-order difference sum corresponding to the second initial set; if the second difference is greater than the fourth threshold, or the second first-order difference sum is greater than the fifth threshold, determine the data pair set corresponding to the deleted maximum value as the second set, if the number of number means contained in the second target set is greater than or equal to the number threshold, make the second target set as the second initial set, return to execute the step of deleting the maximum value in the number means of the second initial set to obtain the second target set, until the second difference is less than or equal to the fourth threshold and the second first-order difference sum is less than or equal to the fifth threshold or until the number of number means contained in the second target set is less than the number threshold; The data pairs in the second set are determined as data of the interference period.
6. The method according to claim 1, characterized in that After determining that the leukocyte signal is disturbed, the method further comprises: Based on the alarm information, an alarm is issued when the white blood cell signal is disturbed.
7. A leukocyte signal interference identification device, characterized in that: The device comprises: Acquisition module: used to acquire the leukocyte signal within a preset time period when the substance to be tested passes through the leukocyte channel, collect the particle information generated by the substance to be tested passing through the leukocyte channel within the preset time period according to the leukocyte signal; and count the number of particles collected at the same timestamp according to the particle information; A partitioning module is used to respectively group each time stamp and the corresponding particle number into data pairs to obtain Q data pairs, arrange the Q data pairs according to time to obtain a data column, and divide the Q data pairs in the data column into N groups of data pair sets, wherein the data pair sets include a plurality of continuous data pairs in the data column; Judgment module: used to calculate the average number of particles in each data pair, obtain the number means corresponding to the N sets of data pairs, and judge whether the white blood cell signal is interfered according to the deviation between the number means of the N sets of data pairs.
8. The device according to claim 6, characterized in that The judgment module is also used to group the number means of the N groups of data pairs into a first initial set, calculate a first target value between the number means in the first initial set, wherein the first target value represents the deviation between the number means in the first initial set; delete the maximum value in the number means of the first initial set to obtain the first target set, calculate a second target value between the number means in the first target set, wherein the second target value represents the deviation between the number means in the first target set; calculate a first difference between the first target value and the second target value, and calculate a first first-order difference sum corresponding to the first initial set; if the first difference is less than or equal to a first threshold and the first first-order difference sum If the first difference is less than or equal to the second threshold, it is determined that the white blood cell signal is not interfered with; if the first difference is greater than the first threshold, or the first first-order difference sum is greater than the second threshold, the set of data pairs corresponding to the deleted maximum value is determined as the first set, and if the number of number means contained in the first target set is greater than or equal to the number threshold, the first target set is taken as the first initial set, and the step of deleting the maximum value in the number means of the first initial set to obtain the first target set is returned until the first difference is less than or equal to the first threshold and the first first-order difference sum is less than or equal to the second threshold or until the number of number means contained in the first target set is less than the number threshold; according to the number of the first set, it is determined whether the white blood cell signal is interfered with.
9. A sample analyzer, characterized in that: The sample analyzer includes a processor and an output device; The processor is used to execute the leukocyte signal interference identification method according to any one of claims 1 to 6; The output device is used to determine whether the white blood cell signal is interfered with.
10. A computer-readable storage medium, comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.
