Urine detection method, urine detection device and computer readable storage medium

By counting the counting category frequency values ​​in images captured by the urine detection device and the preset model, the tracking performance of the urine detection device is evaluated, and the inaccuracy of the analysis results caused by equipment failure is solved, and the analysis accuracy and operation efficiency are improved. .

CN112710590BActive Publication Date: 2024-11-01SHENZHEN MINDRAY BIO MEDICAL ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911023599.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-25
Publication Date
2024-11-01
Estimated Expiration
2040-02-17

AI Technical Summary

Technical Problem

The tracking performance failure of the urine detection device leads to abnormal images captured, affecting the accuracy of urine sample analysis results.

Method used

The image acquisition device and processor obtain the preset number of captured images of urine samples, count the frequency values ​​of each counting category, determine the status of the urine detection device based on the frequency values ​​and preset models, evaluate the tracking performance, and prompt if abnormal Users can make timely adjustments.

Benefits of technology

Improves the accuracy of urine sample analysis results, simplifies the operation process, saves time and eliminates the need for additional operations by the user.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112710590B_ABST
    Figure CN112710590B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a urine detection method, a urine detection device, and a computer-readable storage medium. The urine detection method includes controlling an image acquisition device to shoot a urine sample in a counting pool, obtaining a preset number of captured images corresponding to the urine sample; obtaining the counting information of the formed components contained in the preset number of captured images; counting the number of captured images contained in each counting category, and obtaining the frequency value of each counting category, wherein different counting information corresponds to different counting categories; and determining the state of the urine detection device based on the frequency value of each counting category. The embodiments of the present application determine the state or tracking performance of the urine detection device based on the frequency value of each counting category and a preset model, so that the user can perform the analysis operation of the urine sample when the state or tracking performance of the urine detection device is normal, which is conducive to improving the accuracy of the analysis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of medical technology, and in particular to a urine testing method, a urine testing device, and a computer-readable storage medium. Background Art

[0002] Urine testing equipment (such as urine formed component analyzer) can analyze the formed components (collectively referred to as particles) in urine samples by microscopic tracking. For example, the image obtained after photographing the urine sample through a microscope is tracked and analyzed. However, when photographing and tracking through a microscope, if the tracking performance of the urine testing equipment fails, it may cause the image obtained by the shooting to be abnormal (such as the image captured has a high probability of overlapping), thereby affecting the accuracy of the subsequent analysis results of the urine sample. Summary of the invention

[0003] The embodiments of the present application provide a urine testing method, a urine testing device, and a computer-readable storage medium to determine the tracking performance of the urine testing device, thereby facilitating improving the accuracy of the analysis results of the urine sample.

[0004] A first aspect of an embodiment of the present application provides a urine testing device, comprising:

[0005] An image acquisition device, which photographs the urine sample in the counting pool through a first type of lens to obtain a first preset number of first photographed images corresponding to the urine sample;

[0006] A processor is connected to the image acquisition device, and is used to obtain counting information of tangible components contained in each first captured image, and count the number of first captured images contained in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories; the processor determines the state of the urine detection device under the first type of lens shooting based on the frequency value of each counting category corresponding to the first captured image and a first preset model.

[0007] A second aspect of an embodiment of the present application provides a urine testing device, comprising:

[0008] An image acquisition device, used to photograph the urine sample in the counting pool to obtain a preset number of photographed images corresponding to the urine sample;

[0009] A processor is connected to the image acquisition device, and the processor obtains the counting information of the tangible components contained in the preset number of captured images, and counts the number of captured images contained in each counting category to obtain the frequency value of each counting category, wherein different counting information corresponds to different counting categories, and the processor also determines the state of the urine detection device based on the frequency value of each counting category.

[0010] A third aspect of the present application embodiment provides a urine detection method, comprising:

[0011] Controlling the image acquisition device to photograph the urine sample in the counting pool to obtain a preset number of photographed images corresponding to the urine sample;

[0012] Obtaining counting information of tangible components contained in the preset number of captured images;

[0013] Counting the number of captured images included in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories;

[0014] The status of the urine testing device is determined based on the frequency value of each count category.

[0015] A fourth aspect of the present application provides a urine detection method, comprising:

[0016] performing a first evaluation operation on the tracking performance of the urine testing device based on the captured image obtained by the first type of lens;

[0017] determining whether the tracking performance of the urine testing device under the first evaluation operation is normal;

[0018] If the tracking performance of the urine testing device under the first evaluation operation is normal, performing a second evaluation operation on the tracking performance of the urine testing device based on the captured image obtained by the second type of lens;

[0019] determining whether the tracking performance of the urine testing device under the second evaluation operation is normal;

[0020] If the tracking performance of the urine testing device under the first evaluation operation and the second evaluation operation are both normal, determining that the tracking performance of the urine testing device is normal;

[0021] If the tracking performance of the urine testing device in at least one of the first evaluation operation and the second evaluation operation is abnormal, it is determined that the tracking performance of the urine testing device is abnormal.

[0022] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the third and fourth aspects of the embodiment of the present application.

[0023] The urine detection method, urine detection device, and computer-readable storage medium obtain the frequency value of each counting category after obtaining the counting information of the tangible components contained in the preset number of captured images, and determine the state or tracking performance of the urine detection device based on the frequency value of each counting category and the preset model, so that the user can perform the analysis operation of the urine sample when the state or tracking performance of the urine detection device is normal, which is conducive to improving the accuracy of the analysis result. In addition, the urine detection method can determine the tracking performance of the urine detection device through statistical laws, and the user does not need to perform other additional operations, which is conducive to simplifying the operation process and saving time. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 It is a flow chart of the steps of a urine detection method in one embodiment of the present application.

[0026] Figure 2 It is a hardware structure block diagram of a urine testing device in one embodiment of the present application.

[0027] Figure 3 It is a schematic diagram of a captured image in an embodiment of the present application.

[0028] Figure 4 This is a flow chart of the steps of a urine detection method in another embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the solution of the present application, 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 only 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.

[0030] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0032] The following is a detailed description of the embodiments of the present application.

[0033] See also Figure 1 , which is a flow chart of the steps of a urine detection method in an embodiment of the present application. The urine detection method comprises the following steps:

[0034] Step 100: Control the image acquisition device to photograph the urine sample in the counting pool to obtain a preset number of photographed images corresponding to the urine sample.

[0035] Please also read Figure 2 , which is a hardware structure block diagram of a urine detection device in an embodiment of the present application. The urine detection device 50 may include a storage device 502, a display screen 506, a microscope 514, and a processor 500 connected or controlled by a connection 516 to the storage device 502, the display screen 506, and the microscope 514. Among them, the microscope 514 includes a light source device 504, a counting pool 508, an image acquisition device 510, and an objective lens 512. The counting pool 508 can be arranged on a sample stage or a stage, and can be moved along a first direction, a second direction, or a third direction under the drive of a driving mechanism to adjust the position of the counting pool 508, so as to form different shooting positions on the counting pool 508, wherein the first direction is perpendicular to the second direction and is located in the same plane, and the third direction can be perpendicular to the plane where the first direction and the second direction are located.

[0036] The microscope 514 may also include different types of objective lenses 512 (such as high-power lenses and low-power lenses), and the objective lenses 512 are used to magnify the urine sample loaded in the counting pool 508; the image acquisition device 510 uses the objective lens 512 to shoot the urine sample in the counting pool 508. When shooting the liquid sample loaded in the counting pool 508, the processor 500 may control the light source device 504 to emit light to illuminate the urine sample loaded in the counting pool 508, and the processor 500 may control the driving mechanism to move the counting pool 508 to a preset shooting position.

[0037] Please also read Figure 3 , which is a schematic diagram of a captured image in an embodiment of the present application. In this embodiment, after the image acquisition device 510 performs a capture operation on the urine sample in the counting pool 508 through the objective lens 512, a preset number of captured images 530 may be generated, wherein each captured image may include a urine liquid 534 and one or more formed elements 532 located in the urine liquid 534, and the formed elements 532 may include but are not limited to red blood cells, white blood cells, bacteria, yeast, crystals, casts, and epithelial cells, etc., and the captured image 530 may not contain any formed elements 532. Since the counting pool 508 has a certain size and the field of view of the objective lens 512 of the microscope 514 is limited, it may not be possible to cover the entire urine sample or the space or shooting area where the counting pool 508 is located at one time. Therefore, in order to obtain an image that can cover the entire urine sample or the counting pool 508, the processor 500 may capture different shooting positions in the counting pool 508 multiple times through the microscope 514 to obtain multiple captured images 530. For example, the processor 500 can control the action of the driving mechanism to control the counting pool 508 to be located at different shooting positions, and then, when shooting at each shooting position, a shooting image 530 of the urine sample at the corresponding shooting position can be obtained. After multiple shootings, the processor 500 can obtain multiple shooting images 530 to cover the entire counting pool 508, which is conducive to improving the accuracy of subsequent analysis of formed components in the urine sample.

[0038] The processor 500 may control the counting pool 508 to move in the third direction so that the counting pool 508 matches the type of the objective lens 512 used. For example, when the image acquisition device 510 performs a photographing operation on the urine sample in the counting pool 508 through a first type of objective lens (such as a low-power lens), the processor 500 may control the driving mechanism to move the counting pool 508 to a first position in the third direction, and a first preset number of first photographed images may be obtained during the photographing operation. When the image acquisition device 510 performs a photographing operation on the urine sample in the counting pool 508 through a second type of objective lens (such as a high-power lens), the processor 500 may control the driving mechanism to move the counting pool 508 to a second position in the third direction, and a second preset number of second photographed images may be obtained during the photographing operation.

[0039] Step 102: Obtain counting information of tangible components contained in the preset number of captured images.

[0040] Among the preset number of captured images 530, there may be some captured images 530 that do not contain any tangible components, there may be some captured images 530 that contain a small number of tangible components, and there may be some captured images 530 that contain a large number of tangible components. If the tracking characteristics of the urine detection device 50 are normal (or the state is normal), the distribution of the number of tangible components in the preset number of captured images 530 obtained may have certain distribution characteristics. For example, when the number of particles of the tangible components is small (such as negative samples), the distribution of the number of tangible components in the captured images obtained conforms to the Poisson distribution; when the number of particles of the tangible components is moderate, the distribution of the number of tangible components in the captured images obtained can be regarded as a normal distribution; when the number of particles of the tangible components is high, the distribution of the number of tangible components in the captured images obtained can approach the mean distribution. Therefore, in order to determine whether the tracking characteristics of the urine detection device 50 are normal, the processor 500 can determine whether the distribution of the number of tangible components in the preset number of captured images 530 conforms to the preset distribution characteristics based on the distribution of the number of tangible components in the preset number of captured images 530. If it meets the above distribution characteristics (including but not limited to Poisson distribution, normal distribution, mean distribution, etc.), it can be determined that the tracking characteristics of the urine testing device 50 are normal, and thus the accuracy of the analysis results of the urine sample through the urine testing device 50 is guaranteed to a certain extent.

[0041] In this embodiment, the processor 500 may obtain the count information k of the tangible components contained in each captured image. n , where n=0,…,X, and X is the preset number.

[0042] For example, the processor 500 may perform image recognition on each of the preset number of captured images 530 to obtain the count information (or quantity) of the tangible components in each captured image 530, wherein the image recognition may realize the statistics of the count information of the tangible components based on relevant image recognition, image segmentation and other algorithms. For example, the preset number of captured images 530 may include captured image A, captured image B, captured image C, captured image D, etc. (in other embodiments, the preset number of captured images may also include other captured images), and the processor 500 may obtain the number of tangible components contained in captured image A as 30, the number of tangible components contained in captured image B as 20, the number of tangible components contained in captured image C as 30, and the number of tangible components contained in captured image D as 10 through image recognition, that is, the count information of captured image A is 30, the count information of captured image B is 20, the count information of captured image C is 30, and the count information of captured image D is 10. In other embodiments, the preset number of captured images may also include other numbers of shaped components, including but not limited to captured images containing 0 shaped components or 100 shaped components.

[0043] Step 104 , counting the number of captured images included in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories.

[0044] When determining the distribution characteristics of the formed components in the preset number of captured images, the processor 500 may obtain the frequency value f(m) of the captured images included in each counting category, wherein different counting information corresponds to different counting categories, and the calculation formula of the frequency value may be expressed as:

[0045]

[0046] Where m represents the count category or the number of shaped components in a captured image, and m∈[0,max(k n )]∩N, N represents a natural number, max(k n ) represents the number having the most tangible components, and f(m) is represented as the sum of the numbers of captured images having the same count information m in a preset number X.

[0047] For example, the counting category with the counting information of 30 mentioned above includes the photographed image A and the photographed image C, and the frequency value of the counting information of 30 is 2, which can also be expressed as f(30)=2; the counting category with the counting information of 20 mentioned above includes the photographed image B, and the frequency value of the counting information of 20 is 1, which can also be expressed as f(20)=1; the counting category with the counting information of 10 mentioned above includes the photographed image D, and the frequency value of the counting information of 10 is 1, which can also be expressed as f(10)=1.

[0048] Step 104: determining the status of the urine testing device based on the frequency value of each counting category.

[0049] The processor 500 can determine whether the frequency value of each counting category conforms to a preset model, wherein the preset model can be a Poisson distribution model, a normal distribution model, a mean distribution model, or the like, which can characterize the distribution characteristics of the tangible components in the captured image when the tracking performance of the urine detection device is normal.

[0050] In this embodiment, the processor 500 can determine whether the frequency value of each count category conforms to the Poisson distribution model. When the distribution characteristics of the formed components conform to the Poisson distribution model, the processor 500 can determine that the state of the urine detection device is normal; when the distribution characteristics of the formed components do not conform to the Poisson distribution model, the processor 500 can determine that the state of the urine detection device is abnormal.

[0051] In this embodiment, the processor 500 can determine whether the frequency value of each counting category conforms to the Poisson distribution model based on the chi-square test. The processor 500 can obtain the expected value g(m) of the Poisson distribution model corresponding to each counting category, where the expected value g(m) of the Poisson distribution model corresponding to each counting category can be expressed as;

[0052]

[0053] Where μ is expressed as:

[0054]

[0055] The processor 500 can determine the degree of deviation between the frequency value of each counting category and the corresponding expected value through a chi-square test to determine whether the frequency value of each counting category conforms to the preset model, wherein the degree of deviation between the frequency value of each counting category and the corresponding expected value can be expressed as a chi-square value χ 2 , where the chi-square value χ 2 It can be expressed as:

[0056]

[0057] The processor 500 also obtains the chi-square value χ according to the chi-square table and the calculated chi-square value χ 2 The corresponding chi-square critical value And based on the chi-square value χ 2 Critical value Determine the tracking performance of urine testing equipment:

[0058] like Indicates that the chi-square test fails. At this time, the processor 500 may determine that the tracking performance of the urine detection device is abnormal, and the processor 500 may also output a prompt message that the tracking performance of the urine detection device is abnormal;

[0059] like It indicates that the chi-square test has passed. At this time, the processor 500 can determine that the tracking performance of the urine detection device is normal. The processor 500 can also output a prompt message that the tracking performance of the urine detection device is normal, and then the user can perform urine sample detection or analysis based on the urine detection device.

[0060] In other embodiments, the processor 500 may also determine the degree of deviation between the frequency value of each counting category and the corresponding expected value based on the P value ratio method of the chi-square test.

[0061] In other embodiments, the processor 500 may also use other testing methods to determine whether the distribution characteristics of the shaped components conform to the preset model, including but not limited to based on the KS test. The specific KS test can refer to the relevant testing methods.

[0062] In other embodiments, the preset model can also select the corresponding preset model according to the particles of the formed components in the urine sample. For example, the processor 500 can count the total number of particles of the formed components of each captured image in the preset number, and determine the preset conditions satisfied by the total number of particles to select the Poisson distribution model, the normal distribution model or the mean distribution model. For example, if the total number of particles is within the first preset range, the processor 500 can determine the tracking performance of the urine detection device based on the Poisson distribution model (such as the first preset model); if the total number of particles is within the second preset range, the processor 500 can determine the tracking performance of the urine detection device based on the normal distribution model (such as the second preset model); if the total number of particles is within the third preset range, the processor 500 can determine the tracking performance of the urine detection device based on the mean distribution model (such as the third preset model).

[0063] In other embodiments, since the formed elements include red blood cells, white blood cells, bacteria, yeasts, crystals, casts and epithelial cells, the processor 500 can also obtain the counting information of a type of formed elements (such as white blood cells) contained in a preset number of captured images, and count the number of captured images contained in each counting category to obtain the frequency value of each counting category, wherein different counting information corresponds to different counting categories of the type of formed elements; the processor 500 can also determine the state of the urine detection device based on the frequency values ​​of each counting category corresponding to the type of formed elements, and the specific determination process is similar to the above, so it is not repeated here.

[0064] The above-mentioned urine detection method obtains the frequency value of each counting category after obtaining the counting information of the tangible components contained in the preset number of captured images, and determines the state or tracking performance of the urine detection device based on the frequency value of each counting category and the preset model, so that the user can perform the analysis operation of the urine sample when the state or tracking performance of the urine detection device is normal, which is conducive to improving the accuracy of the analysis result. In addition, the urine detection method can determine the tracking performance of the urine detection device through statistical laws, and the user does not need to perform other additional operations, which is conducive to simplifying the operation process and saving time.

[0065] See also Figure 4 , which is a flow chart of the steps of a urine detection method in another embodiment of the present application. The urine detection method comprises the following steps:

[0066] Step 402: Perform a first evaluation operation on the tracking performance of the urine testing device based on the captured image obtained by the first type of lens.

[0067] In this embodiment, a general urine detection device 50 will analyze the urine sample through different types of lenses 512. Therefore, the processor 500 can determine the tracking performance of the urine detection device based on the captured images obtained under each type of lens, and when the tracking performance of the urine detection device determined by the captured images obtained under each type of lens is normal, it means that the user can perform urine detection and analysis through the urine detection device 50, and the accuracy of the obtained analysis results is guaranteed to a certain extent; when the tracking performance of the urine detection device determined by the captured images obtained under at least one type of lens is abnormal, a prompt message of the abnormal tracking performance of the urine detection device can be output.

[0068] In this embodiment, the first type of lens may be a low-power lens, and the image acquisition device 510 may process the urine sample based on the low-power lens to obtain a first preset number of first captured images. In one embodiment, the processor 500 selectively uses the first type of lens to sample and capture part of the shooting positions of the counting pool through the image acquisition device 510 to obtain the first preset number of first captured images.

[0069] Step 404 , determining whether the tracking performance of the urine testing device under the first evaluation operation is normal; if normal, executing step 408 ; if abnormal, executing step 406 .

[0070] The processor 500 may obtain the count information of the tangible components contained in each first captured image, and count the number of first captured images contained in each count category to obtain the frequency value of each count category, wherein different count information corresponds to different count categories, and the processor 500 may also determine the evaluation result of the first evaluation operation based on the frequency value of each count category corresponding to the first captured image and the first preset model, such as determining whether the state of the urine detection device under the first type of lens shooting is normal or abnormal. For example, the processor 500 may obtain the count information of the tangible components contained in each first captured image, such as the processor 500 may obtain the number or count information of the tangible components in each first captured image based on image recognition. The processor 500 also determines whether the frequency value of each count category of the first captured image conforms to the first preset model. If it conforms to the second preset model (such as the Poisson distribution model), it indicates that the tracking performance of the urine detection device under the first evaluation operation is normal. Otherwise, it does not conform to the preset model (such as the Poisson distribution model), indicating that the tracking performance of the urine detection device under the first evaluation operation is abnormal.

[0071] In this embodiment, the processor 500 can obtain the expected value of each counting category corresponding to the first captured image in the first preset model, and determine the state of the urine detection device under the first type of lens shooting based on the degree of deviation between the frequency value of each counting category corresponding to the first captured image and the corresponding expected value, wherein the expected value of a counting category is the theoretical value of the corresponding counting category in the Poisson distribution model. The processor 500 determines the degree of deviation between the frequency value of each counting category and the corresponding expected value through a chi-square test. For example, the processor 500 determines whether the frequency value of each counting category corresponding to the first captured image and the corresponding expected value pass the chi-square test; when the chi-square test is passed, the processor 500 determines that the tracking performance of the urine detection device under the first evaluation operation is normal; when the chi-square test is not passed, the processor 500 determines that the tracking performance of the urine detection device under the first evaluation operation is abnormal. The specific inspection process is similar to the above, so it will not be repeated here.

[0072] If it is determined that the tracking performance of the urine detection device under the first evaluation operation is normal, the processor 500 may execute step 408 to evaluate the tracking performance of the urine detection device based on the second type of lens.

[0073] Step 406: outputting prompt information indicating that the tracking characteristic of the urine testing device is abnormal.

[0074] In this embodiment, if it is determined that the tracking performance of the urine testing device under the first evaluation operation is abnormal, the processor 500 may output prompt information that the tracking performance of the testing device is abnormal, so that the user can promptly know the status or tracking performance of the urine testing device.

[0075] Step 408: Perform a second evaluation operation on the tracking performance of the urine testing device based on the captured image obtained by the second type of lens.

[0076] In this embodiment, when it is determined that the status of the urine testing device photographed by the first type of lens is normal, the processor 500 photographs the urine sample in the counting pool through the second type of lens to obtain a second preset number of second photographed images corresponding to the urine sample.

[0077] In this embodiment, the second type of lens may be a high-power lens, and the image acquisition device 510 may photograph and process the urine sample based on the high-power lens to obtain a second preset number of second photographed images. In one embodiment, the processor 500 selectively uses the second type of lens to sample and photograph part of the photographing positions of the counting pool through the image acquisition device 510 to obtain the second preset number of second photographed images.

[0078] Step 410 , determining whether the tracking performance of the urine testing device under the second type of lens is normal; if normal, executing step 412 ; if abnormal, executing step 406 .

[0079] The processor 500 may obtain the count information of the tangible components contained in each second captured image, and count the number of second captured images contained in each count category to obtain the frequency value of each count category, wherein different count information corresponds to different count categories, and the processor 500 may also determine the evaluation result of the second evaluation operation based on the frequency value of each count category corresponding to the second captured image and the second preset model, such as determining whether the state of the urine detection device under the second type of lens shooting is normal or abnormal. For example, the processor 500 may obtain the count information of the tangible components contained in each second captured image, such as the processor 500 may obtain the number or count information of the tangible components in each second captured image based on image recognition. The processor 500 also determines whether the frequency value of each count category of the second captured image conforms to the second preset model. If it conforms to the second preset model (such as the Poisson distribution model), it indicates that the tracking performance of the urine detection device under the second evaluation operation is normal. Otherwise, it does not conform to the preset model (such as the Poisson distribution model), indicating that the tracking performance of the urine detection device under the second evaluation operation is abnormal.

[0080] In this embodiment, the processor 500 can obtain the expected value of each counting category corresponding to the second captured image in the second preset model, and determine the state of the urine detection device under the second type of lens shooting based on the degree of deviation between the frequency value of each counting category corresponding to the second captured image and the corresponding expected value, wherein the expected value of a counting category is the theoretical value of the corresponding counting category in the Poisson distribution model. The processor 500 determines the degree of deviation between the frequency value of each counting category and the corresponding expected value through a chi-square test. For example, the processor 500 determines whether the frequency value of each counting category corresponding to the second captured image and the corresponding expected value pass the chi-square test; when the chi-square test is passed, the processor 500 determines that the tracking performance of the urine detection device under the second evaluation operation is normal; when the chi-square test is not passed, the processor 500 determines that the tracking performance of the urine detection device under the second evaluation operation is abnormal. The specific inspection process is similar to the above, so it will not be repeated here.

[0081] If it is determined that the tracking performance of the urine testing device under the second evaluation operation is normal, the processor 500 may execute step 412 to evaluate the tracking performance of the urine testing device based on the second type of lens.

[0082] In this embodiment, since the tracking performance of the urine detection device under the second evaluation operation is determined after the tracking performance of the urine detection device under the first evaluation operation is normal, if it is determined that the tracking performance of the urine detection device under the second evaluation operation is abnormal, the processor 500 can output prompt information that the tracking performance of the urine detection device is abnormal.

[0083] Step 412: outputting prompt information indicating that the tracking characteristic of the urine testing device is normal.

[0084] In this embodiment, since the tracking performance of the urine testing device under the second evaluation operation is determined after the tracking performance of the urine testing device under the first evaluation operation is normal, if it is determined that the tracking performance of the urine testing device under the second evaluation operation is also normal, the processor 500 can determine that the state of the urine testing device is normal or the tracking performance is normal.

[0085] In one embodiment, the processor 500 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, such as a microprocessor.

[0086] The storage device 502 can be used to store the computer program and / or module, and the processor 500 realizes various functions of the aforementioned urine detection method by running or executing the computer program and / or module stored in the storage device 502, and calling the data stored in the storage device 502. The storage device 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc. In addition, the storage device 302 can include a high-speed random access storage device, and can also include a non-volatile storage device, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0087] The display screen 506 can display a user interface (UI) or a graphical user interface (GUI). The display screen 304 can also be used as an input device and an output device. The display device may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) touch display, a flexible touch display, a three-dimensional (3D) touch display, an ink screen display, and the like.

[0088] The processor 500 runs a program corresponding to the executable program code by reading the executable program code stored in the storage device 502, so as to execute the urine detection method in any of the above embodiments.

[0089] The above-mentioned urine detection method determines the tracking performance of the urine detection device through the first evaluation operation and the second evaluation operation, and when the tracking performance of the urine detection device determined under the first evaluation operation and the second evaluation operation are both normal, the user can be prompted to perform a urine sample test through the urine detection device; when the tracking performance of the urine detection device determined by at least one of the first evaluation operation and the second evaluation operation is abnormal, the user can be prompted that the tracking performance of the urine detection device is abnormal, so as to facilitate the user to know the tracking performance of the urine detection device.

[0090] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0091] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0093] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A urine testing device, characterized in that: The urine testing device comprises: An image acquisition device, which photographs the urine sample in the counting pool through a first type of lens to obtain a first preset number of first photographed images corresponding to the urine sample; A processor connected to the image acquisition device, the processor is used to obtain counting information of the tangible components contained in each first captured image, and count the number of first captured images contained in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories; the processor determines the state of the urine detection device under the first type of lens shooting based on the frequency value of each counting category corresponding to the first captured image and a first preset model; The urine detection device also includes a second type of lens. When it is determined that the state of the urine detection device photographed by the first type of lens is normal, the image acquisition device photographs the urine sample in the counting pool through the second type of lens to obtain a second preset number of second photographed images corresponding to the urine sample. The processor is used to obtain counting information of tangible components contained in each second photographed image, and count the number of second photographed images contained in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories. The processor determines the state of the urine detection device under the photography of the second type of lens based on the frequency value of each counting category corresponding to the second photographed image and a second preset model. The magnification of the first type of lens and the second type of lens is different.

2. The urine testing device according to claim 1, characterized in that: When the status of the urine testing device under the first type of lens and under the second type of lens is normal, the processor determines that the status of the urine testing device is normal.

3. The urine testing device according to claim 1, characterized in that: When it is determined that the state of the urine detection device under the first type of lens photography is abnormal, the processor outputs first abnormal prompt information; when it is determined that the state of the urine detection device under the second type of lens photography is abnormal, the processor outputs second abnormal prompt information.

4. The urine testing device according to claim 1, characterized in that: The first type of lens is a low-power lens, and the second type of lens is a high-power lens.

5. The urine testing device according to claim 1, characterized in that: When determining the state of the urine testing device under the first type of lens shooting based on the frequency values ​​of each counting category corresponding to the first shot image and the first preset model: The processor obtains an expected value of each counting category corresponding to the first captured image in the first preset model, and determines a state of the urine testing device under the first type of lens capture based on a degree of deviation between a frequency value of each counting category corresponding to the first captured image and a corresponding expected value; When determining the state of the urine testing device under the second type of lens shooting based on the frequency value of each counting category corresponding to the second shot image and the second preset model: The processor obtains the expected value of each counting category corresponding to the second captured image in the second preset model, and determines the state of the urine testing device under the second type of lens shooting based on the degree of deviation between the frequency value of each counting category corresponding to the second captured image and the corresponding expected value.

6. The urine testing device according to claim 5, characterized in that: The expected value of each counting category is the theoretical value of the corresponding counting category in the Poisson distribution model. The processor determines the degree of deviation between the frequency value of each counting category and the corresponding expected value through a chi-square test to determine the state of the urine testing device under the first type of lens or the second type of lens.

7. The urine testing device according to any one of claims 1 to 6, characterized in that: The counting pool includes multiple shooting positions, and the image acquisition device selectively samples and shoots some of the shooting positions of the counting pool through the first type of lens to obtain the first preset number of first shot images; the image acquisition device selectively samples and shoots some of the shooting positions of the counting pool through the second type of lens to obtain the second preset number of second shot images.

8. A urine testing device, characterized in that: The urine testing device comprises: An image acquisition device, used to photograph the urine sample in the counting pool to obtain a preset number of photographed images corresponding to the urine sample; A processor connected to the image acquisition device, the processor obtains counting information of the tangible components contained in the preset number of captured images, and counts the number of captured images contained in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories, and the processor further determines the state of the urine detection device based on the frequency value of each counting category; When determining the state of the urine testing device based on the frequency value of each counting category, the processor is used to determine whether the frequency value of each counting category conforms to a preset model. When the frequency value of each counting category conforms to the preset model, the processor determines that the state of the urine testing device is normal; when the frequency value of each counting category does not conform to the preset model, the processor determines that the state of the urine testing device is abnormal.

9. The urine testing device according to claim 8, characterized in that: When determining whether the frequency value of each counting category conforms to the preset model, the processor obtains the expected value of each counting category in the preset model; the processor determines whether the frequency value of each counting category conforms to the preset model based on the degree of deviation between the frequency value of each counting category and the corresponding expected value.

10. The urine testing device according to claim 9, characterized in that: The preset value of each counting category is the theoretical value of the corresponding counting category in the Poisson distribution model, and the processor determines the degree of deviation between the frequency value of each counting category and the corresponding expected value through a chi-square test.

11. The urine testing device according to claim 8, characterized in that: The counting pool includes a plurality of shooting positions, and the image acquisition device selectively performs sampling shooting on some shooting positions of the counting pool to obtain the preset number of shooting images.

12. The urine testing device according to any one of claims 8 to 11, characterized in that: The processor also controls output of prompt information corresponding to the state of the urine testing device.

13. A urine detection method, characterized in that: The method comprises: Controlling the image acquisition device to photograph the urine sample in the counting pool to obtain a preset number of photographed images corresponding to the urine sample; Obtaining counting information of tangible components contained in the preset number of captured images; Counting the number of captured images included in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories; Determining the state of a urine testing device based on the frequency value of each counting category includes: determining whether the frequency value of each counting category conforms to a preset model; when the frequency value of each counting category conforms to the preset model, determining that the state of the urine testing device is normal; when the frequency value of each counting category does not conform to the preset model, determining that the state of the urine testing device is abnormal.

14. The urine detection method according to claim 13, characterized in that: Determining whether the frequency value of each counting category conforms to a preset model includes: Obtaining the expected value corresponding to each counting category in the preset model; Based on the degree of deviation between the frequency value of each counting category and the corresponding expected value, it is determined whether the frequency value of each counting category conforms to the preset model.

15. The urine detection method according to claim 14, characterized in that: The preset value of each counting category is the theoretical value of the corresponding counting category in the Poisson distribution model, and the method of determining whether the frequency value of each counting category conforms to the preset model based on the degree of deviation between the frequency value of each counting category and the corresponding expected value includes: Determine whether the frequency value of each counting category and the corresponding expected value pass the chi-square test; When the chi-square test is passed, it is determined that the tracking performance of the urine testing device is normal; When the chi-square test is not passed, it is determined that the tracking performance of the urine testing device is abnormal.

16. The urine detection method according to claim 13, characterized in that: The counting pool includes a plurality of shooting positions, and obtaining a preset number of shooting images corresponding to the urine sample includes: The image acquisition device selectively performs sampling photography on some shooting positions of the counting pool to obtain the preset number of photographed images.

17. The urine detection method according to any one of claims 13 to 16, characterized in that: The method further comprises: Controlling output of prompt information corresponding to the state of the urine testing device.

18. A urine detection method, characterized in that: The method comprises: The method includes performing a first evaluation operation on the tracking performance of the urine detection device based on the captured image obtained by the first type of lens, including: performing a first evaluation operation on the tracking performance of the urine detection device based on the distribution of the quantity of the formed components in the captured image obtained by the first type of lens and a preset first distribution feature; determining whether the tracking performance of the urine testing device under the first evaluation operation is normal; If the tracking performance of the urine detection device under the first evaluation operation is normal, performing a second evaluation operation on the tracking performance of the urine detection device based on the captured image obtained by the second type lens, including: if the tracking performance of the urine detection device under the first evaluation operation is normal, performing a second evaluation operation on the tracking performance of the urine detection device based on the distribution of the number of formed components in the captured image obtained by the second type lens and a preset second distribution feature, wherein the magnification of the first type lens and the second type lens are different; determining whether the tracking performance of the urine testing device under the second evaluation operation is normal; If the tracking performance of the urine testing device under the first evaluation operation and the second evaluation operation are both normal, determining that the tracking performance of the urine testing device is normal; If the tracking performance of the urine testing device in at least one of the first evaluation operation and the second evaluation operation is abnormal, it is determined that the tracking performance of the urine testing device is abnormal.

19. The urine detection method according to claim 18, characterized in that: The first evaluation operation of the tracking performance of the urine detection device based on the captured image obtained by the first type of lens includes: photographing the urine sample in the counting pool through a first type of lens to obtain a first preset number of first photographed images corresponding to the urine sample; Acquiring counting information of the tangible components contained in each first captured image; Counting the number of first captured images included in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories; The state of the urine testing device under the first type of lens shooting is determined based on the frequency value of each counting category corresponding to the first shot image and a first preset model.

20. The urine detection method according to claim 19, characterized in that: The determining whether the tracking performance of the urine testing device under the first evaluation operation is normal includes: Acquire an expected value of each counting category corresponding to the first captured image in the first preset model; The state of the urine testing device under the first type of lens shooting is determined based on the degree of deviation between the frequency value of each counting category corresponding to the first shot image and the corresponding expected value.

21. The urine detection method according to claim 20, characterized in that: The expected value of each counting category is the theoretical value of the corresponding counting category in the Poisson distribution model, and the state of the urine testing device captured by the first type of lens is determined based on the degree of deviation between the frequency value of each counting category corresponding to the first captured image and the corresponding expected value, including: Determine whether the frequency value of each counting category corresponding to the first captured image and the corresponding expected value pass the chi-square test; When the chi-square test is passed, it is determined that the tracking performance of the urine testing device under the first evaluation operation is normal; When the chi-square test is not passed, it is determined that the tracking performance of the urine testing device under the first evaluation operation is abnormal.

22. The urine detection method according to claim 18, characterized in that: The second evaluation operation of the tracking performance of the urine detection device based on the captured image obtained by the second type of lens includes: photographing the urine sample in the counting pool through a second type of lens to obtain a second preset number of second photographed images corresponding to the urine sample; Acquiring counting information of the formed components contained in each second captured image; Counting the number of second captured images included in each counting category to obtain a frequency value of each counting category, wherein different counting information corresponds to different counting categories; The state of the urine testing device under the second type of lens shooting is determined based on the frequency value of each counting category corresponding to the second shot image and a second preset model.

23. The urine detection method according to claim 22, characterized in that: The determining whether the tracking performance of the urine testing device under the second evaluation operation is normal includes: Obtaining an expected value of each counting category corresponding to the second captured image in the second preset model; The state of the urine testing device under the second type of lens shooting is determined based on the degree of deviation between the frequency value of each counting category corresponding to the second shot image and the corresponding expected value.

24. The urine detection method according to claim 23, characterized in that: The expected value of each counting category is the theoretical value of the corresponding counting category in the Poisson distribution model, and the state of the urine testing device under the second type of lens shooting is determined based on the degree of deviation between the frequency value of each counting category corresponding to the second captured image and the corresponding expected value, including: Determine whether the frequency value of each counting category corresponding to the second captured image and the corresponding expected value pass the chi-square test; When the chi-square test is passed, it is determined that the tracking performance of the urine testing device under the second evaluation operation is normal; When the chi-square test is not passed, it is determined that the tracking performance of the urine testing device under the second evaluation operation is abnormal.

25. The urine detection method according to claim 18, characterized in that: The first type of lens is a low-power lens, and the second type of lens is a high-power lens.

26. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by a processor, the urine detection method according to any one of claims 13 to 25 is implemented.