Permanganate index analysis method, device, computer equipment and storage medium

By detecting the permanganate index on the stratified information of water samples and comparing the index values ​​of the upper and lower sample liquids, the problem of the inability to effectively feedback the distribution of impurities in the river in the existing technology is solved, and targeted support for river management is achieved. .

CN114002016BActive Publication Date: 2024-09-27SHANGHAI KEZE INTELLIGENCE ENVIRONMENT SCI-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111215833.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2024-09-27
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

The existing permanganate index analyzer can only measure the chemical oxygen demand in water samples, has a small scope of application, and cannot effectively feedback the distribution of impurities in the river, limiting the pertinence of river management.

Method used

By obtaining the stratification information of the water sample, the permanganate index of the upper and lower sample liquids is tested respectively, and the index values ​​​​of the two are compared to determine the distribution of impurities in the water sample, and the results are sent to the user terminal to provide targeted Governance plan.

Benefits of technology

It achieves accurate feedback on the distribution of impurities in the river under the condition of measuring the chemical oxygen demand of water samples, helping staff to formulate targeted treatment plans and improving the efficiency and effect of river treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114002016B
    Figure CN114002016B
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for analyzing a permanganate index, which comprises: obtaining water sample stratification information in a sample tube, wherein the water sample stratification information comprises an initial depth of a target upper layer sample liquid and an initial depth of a target lower layer sample liquid; extracting a target upper layer sample liquid from the water sample based on the water sample stratification information, detecting the target upper layer sample liquid and calculating a permanganate index I mn1 ; Extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2 ; The permanganate index of the target upper layer sample liquid is I mn1 The permanganate index I of the target lower layer sample solution mn2 Compare and determine the impurity distribution of the water sample; and send the impurity distribution of the water sample to the user end. The application solves the problem of low applicability of the permanganate analyzer in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water sample detection, and in particular to a permanganate index analysis method, device, computer equipment and storage medium. Background Art

[0002] Permanganate reagent is one of the commonly used reagents in water sample testing. Permanganate reagent can undergo redox reactions with organic pollutants and reducing inorganic substances in water bodies such as rivers. Under certain reaction conditions, permanganate reagent is added to the water sample. The permanganate reagent reacts with the organic pollutants and reducing inorganic substances in the water sample and consumes the permanganate reagent. The chemical oxygen demand (COD) of the water sample is reflected from the permanganate consumption. The permanganate consumption is called the permanganate index. The unit of the permanganate index is mg / L. The larger the permanganate index, the greater the degree of pollution of the water sample. The smaller the permanganate index, the smaller the degree of pollution of the water sample.

[0003] At present, in the laboratory, a permanganate analyzer is generally used to measure the permanganate index of water samples. The permanganate analyzer uses the ORP (Oxidation-Reduction Potential) electrode method to determine the consumption of permanganate and determine the titration endpoint. Then according to the formula: (Wherein, V is the consumption of potassium permanganate solution when titrating the water sample (ml); K is the correction factor (unit volume of potassium permanganate solution (1 / 5KMnO4) is equivalent to the volume of sodium oxalate standard solution (1 / 2Na2C2O4)); M is the concentration of sodium oxalate solution (mol / L); 8 refers to 1 / 4*the molar mass of oxygen (O2).) The permanganate index is calculated.

[0004] The above-mentioned prior art solutions have the following defects: the permanganate index analyzer can only measure the chemical oxygen demand in the water sample and has a small scope of application, so there is still room for improvement. Summary of the invention

[0005] The first purpose of this application is to provide a permanganate index analysis method, which can feedback the distribution of impurities in the river channel under the condition of measuring the chemical oxygen demand of the water sample, which is conducive to the later staff to manage the river channel according to the distribution of impurities in the river channel.

[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions:

[0007] A permanganate index analysis method comprising:

[0008] Acquire water sample stratification information in the sample tube, wherein the water sample stratification information includes an initial depth of a target upper layer sample liquid and an initial depth of a target lower layer sample liquid;

[0009] Extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ;

[0010] Extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2 ;

[0011] The permanganate index I of the target upper layer sample solution mn1 The permanganate index I of the target lower layer sample solution mn2 Comparing and determining the impurity distribution of the water sample;

[0012] The impurity distribution of the water sample is sent to the user end.

[0013] By adopting the above technical scheme, the water sample in the sample tube is divided into an upper layer and a lower layer according to the upper layer depth and the lower layer depth of the water sample, and the permanganate index I of the target upper layer sample liquid is obtained by detecting and calculating the target upper layer sample liquid and the target lower layer sample liquid respectively. mn1 and the permanganate index I of the target lower layer sample solution mn2 , Permanganate Index I mn1 It can reflect the chemical oxygen demand (COD) of impurities (organic pollutants and reducing inorganic substances) in the target upper layer sample liquid, and the permanganate index I mn2 It can reflect the chemical oxygen demand of impurities (organic pollutants and reducing inorganic substances) in the target lower layer sample liquid. mn1 Greater than I mn2 When I mn1 Less than I mn2 When the chemical oxygen demand of the target upper layer sample liquid is proved to be smaller than that of the target lower layer sample liquid, it is fed back that the distribution of impurities in the upper layer of the water sample is less than that in the lower layer. Therefore, the staff can make targeted treatment plans for river management according to the distribution of impurities in the water sample. Therefore, under the condition that the above steps can measure the chemical oxygen demand of the water sample, the distribution of impurities in the river can be fed back, which is conducive to the later staff to treat the river according to the distribution of impurities in the river.

[0014] Preferably, the target upper layer sample liquid in the water sample is extracted based on the water sample stratification information, the target upper layer sample liquid is detected and the permanganate index I is calculated. mn1 The steps include:

[0015] Extracting the target upper layer sample liquid from top to bottom based on the water sample stratification information, and obtaining the liquid level height of the target upper layer sample liquid in real time;

[0016] Based on the liquid level height of the target upper layer sample liquid, calculating the difference between the liquid level height of the target upper layer sample liquid and the initial liquid level height of the target lower layer sample liquid, the difference being a first difference;

[0017] When the first difference is greater than the first preset difference, continue to extract the target upper layer sample liquid;

[0018] When the first difference is less than a first preset difference, stopping extracting the target upper layer sample liquid;

[0019] Detect the extracted target upper layer sample and calculate the permanganate index I mn1 .

[0020] By adopting the above technical scheme, the target upper layer sample liquid is extracted from top to bottom, so that when the target upper layer sample liquid is extracted, the target upper layer sample liquid does not need to flow through the target lower layer sample liquid, which is conducive to more accurate extraction of the target upper layer sample liquid. During the process of extracting the target upper layer sample liquid, the liquid level height of the target upper layer sample liquid is obtained in real time. When the first difference between the liquid level height of the target upper layer sample liquid and the initial liquid level height of the target lower layer sample liquid is less than the first preset difference, it proves that the extraction of the target upper layer sample liquid has been nearly completed. At this time, the extraction of the target upper layer sample liquid is stopped. This setting is conducive to more accurate extraction of the target upper layer sample liquid.

[0021] Preferably, the target lower layer sample liquid in the water sample is extracted based on the water sample stratification information, the target lower layer sample liquid is detected and the permanganate index I is calculated. mn2 The steps include:

[0022] Extract the target lower layer sample liquid from bottom to top, and obtain the uppermost liquid level height of the target lower layer sample liquid in real time;

[0023] Based on the height of the uppermost liquid level of the target lower layer sample liquid, calculating the difference between the height of the uppermost liquid level of the target lower layer sample liquid and the bottom height of the sample tube, the difference being a second difference;

[0024] When the second difference is greater than the preset second difference, continue to extract the target lower layer sample liquid

[0025] When the second difference is less than the preset second difference, stopping extracting the target lower layer sample liquid;

[0026] Test the extracted target lower layer sample and calculate the permanganate index I mn2 .

[0027] By adopting the above technical solution, the target lower layer sample liquid is extracted from bottom to top, which is conducive to the target lower layer sample liquid to enter the liquid inlet tube more smoothly. At the same time, when the second difference between the uppermost liquid level height of the target lower layer sample liquid and the bottom height of the sample tube is less than the preset difference, it means that the extraction of the target lower layer sample liquid has been completed. At this time, the target lower layer sample liquid can be tested and the permanganate index I can be calculated. mn2 .

[0028] Preferably, the step of extracting the target upper layer sample liquid from top to bottom and obtaining the liquid level height of the target upper layer sample liquid in real time comprises:

[0029] Based on the water sample stratification information, a liquid level image of the target upper layer of sample liquid in the sample tube is acquired in real time;

[0030] Comparing the liquid level image with a reference liquid level image and obtaining a liquid level comparison result;

[0031] Based on the liquid level comparison result, the liquid level height of the target upper layer sample liquid is determined.

[0032] By adopting the above technical scheme, the depth range of the upper layer of sample liquid in the sample tube is determined based on the water sample stratification information, and then the liquid level image of the target upper layer of sample liquid in the sample tube is obtained in real time. The liquid level image is compared with the reference liquid level image to obtain the liquid level height of the target upper layer of sample liquid, and there is no need to install a liquid level sensor in the sample tube to detect the liquid level.

[0033] Preferably, before the step of acquiring the liquid level image of the target upper layer of the sample tube in real time based on the water sample stratification information, the step includes:

[0034] Real-time acquisition of the liquid surface image of the target upper layer of sample liquid in the sample tube;

[0035] Analyzing the liquid surface image to obtain the highest point and the lowest point of the liquid surface in the liquid surface image;

[0036] Calculating the liquid level difference between the highest point of the liquid level and the lowest point of the liquid level;

[0037] Based on the liquid level difference, determining whether to continue acquiring the liquid level image of the target upper layer of the sample liquid in the sample tube;

[0038] When the liquid level difference is greater than the preset liquid level difference, it is determined to stop acquiring the liquid level image of the target upper layer sample liquid of the sample tube and stop extracting the target upper layer sample liquid;

[0039] When the liquid level difference is less than the preset liquid level difference, it is determined to continue acquiring the liquid level image of the target upper layer of sample liquid in the sample tube.

[0040] By adopting the above technical scheme, the liquid surface image of the target upper layer sample liquid is obtained in real time. The next step is to analyze the liquid surface image and obtain the highest and lowest points of the liquid surface in the liquid surface image. The liquid surface difference in the liquid surface image is calculated by the highest and lowest points of the liquid surface. When the liquid surface difference is greater than the preset liquid surface difference, it indicates that the water sample is in a shaking state. At this time, the mutual flow rate of impurities in the target upper layer sample liquid and the target lower layer sample liquid is large, which is easy to affect the detection result of the impurity distribution in the water sample. Therefore, the extraction of the target upper layer sample liquid should be stopped at this time. When the liquid surface difference is less than the preset liquid surface difference, it indicates that the liquid surface of the water sample is in a calm state. At this time, the mutual flow rate of impurities in the target upper layer sample liquid and the target lower layer sample liquid is very small, which is not easy to affect the detection result of the impurity distribution in the water sample. Therefore, the next step can be performed to obtain the liquid level image of the extracted target upper layer sample liquid.

[0041] Preferably, the target upper layer sample liquid in the water sample is extracted based on the water sample stratification information, the target upper layer sample liquid is detected and the permanganate index I is calculated. mn1 The step of extracting the target lower layer sample liquid in the water sample based on the water sample stratification information, detecting the target lower layer sample liquid and calculating the permanganate index I mn2 The steps are performed synchronously.

[0042] By adopting the above-mentioned technical scheme, the target upper layer sample liquid and the target lower layer sample liquid are extracted synchronously, which is beneficial to further reduce the incidence of mutual flow between the target upper layer sample liquid and the target lower layer sample liquid, thereby further reducing the possibility of mutual interference between the target upper layer sample liquid and the target lower layer sample liquid when extracting the sample liquid.

[0043] The second purpose of this application is to provide a permanganate index analysis device that can provide feedback on the distribution of impurities in a river channel, which is beneficial for later staff to manage the river channel based on the distribution of impurities in the river channel.

[0044] The second object of the invention is achieved by the following technical solutions:

[0045] A permanganate index analysis device, comprising:

[0046] Acquisition module: acquires water sample stratification information in the sample tube, wherein the water sample stratification information includes the upper layer depth and the lower layer depth of the water sample;

[0047] Upper layer sample liquid detection and calculation module: used to extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ;

[0048] Lower layer sample liquid detection and calculation module: used to extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index Imn2 ;

[0049] Comparison module: used to compare the permanganate index I of the target upper layer sample solution mn1 The permanganate index I of the target lower layer sample solution mn2 Comparing and determining the impurity status of the water sample;

[0050] Execution module: used for sending the impurity distribution of the water sample to the user end.

[0051] By adopting the above technical solution, during the analysis of the water sample, the water sample layer information in the sample tube is first obtained to determine the depth of the target upper layer sample liquid and the depth of the target lower layer sample liquid. Since the depth of the target upper layer sample liquid is known, the target upper layer sample liquid can be extracted at this time. After the extraction is completed, the permanganate index I of the target upper layer sample liquid is detected and calculated. mn1 Then the target lower layer sample liquid is extracted, the target lower layer sample liquid is tested and the permanganate index I of the target upper layer sample liquid is calculated. mn2 The next step is to compare the permanganate index I mn1 and permanganate index I mn2 To obtain the size of the target upper layer sample liquid chemical oxygen demand and the target lower layer sample liquid chemical oxygen demand, so as to feedback the impurity distribution amount of the upper layer sample liquid and the impurity distribution amount of the lower layer sample liquid in the water sample. mn1 Less than I mn2 It is proved that the chemical oxygen demand of the target upper layer sample liquid is smaller than that of the target lower layer sample liquid. Therefore, the impurity distribution amount in the lower layer of the water sample is large. Therefore, the staff can make targeted treatment plans for river management according to the distribution amount of impurities in the water sample.

[0052] The third purpose of this application is to provide a computer device that can provide feedback on the distribution of impurities in a river channel, which is beneficial for later staff to manage the river channel based on the distribution of impurities in the river channel.

[0053] The third object of the invention is achieved by the following technical solutions:

[0054] A computer device comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute the above-mentioned permanganate index analysis method.

[0055] The fourth objective of this application is to provide a computer-readable storage medium that can store corresponding programs and has the characteristic of being able to easily feedback the distribution of impurities in the river channel.

[0056] The fourth object of the invention of this application is achieved through the following technical solutions:

[0057] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned permanganate index analysis methods.

[0058] The fifth objective of this application is to provide a permanganate index analyzer, which has the characteristic of being able to easily feedback the distribution of impurities in a river channel.

[0059] The fifth invention objective of the present application is achieved through the following technical solutions:

[0060] A permanganate index analyzer, comprising:

[0061] Image acquisition device: used to obtain the layering information of water samples in the sample tube;

[0062] Upper layer sample liquid detection and calculation device: used to extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ;

[0063] Lower layer sample liquid detection and calculation device: used to extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2

[0064] and a computer device as described in the above scheme,

[0065] The computer equipment is respectively connected to the image acquisition device, the upper layer sample liquid detection and calculation device and the lower layer sample liquid detection and calculation device.

[0066] In summary, the present application includes at least one of the following beneficial technical effects:

[0067] 1. Divide the water sample in the sample tube into an upper layer and a lower layer according to the upper layer depth and the lower layer depth of the water sample. Detect and calculate the target upper layer sample liquid and the target lower layer sample liquid respectively to obtain the permanganate index I of the target upper layer sample liquid. mn1 and the permanganate index I of the target lower layer sample solution mn2 , Permanganate Index I mn1 It can reflect the chemical oxygen demand of impurities in the target upper layer sample liquid, the permanganate index I mn2 It can reflect the chemical oxygen demand of impurities in the target lower layer sample liquid. mn1 Greater than I mn2 When I mn1 Less than I mn2When the chemical oxygen demand of the target upper layer sample liquid is proved to be smaller than that of the target lower layer sample liquid, it is fed back that the distribution of impurities in the upper layer of the water sample is less than that in the lower layer. Therefore, the staff can make targeted treatment plans for river management according to the distribution of impurities in the water sample. Therefore, under the condition that the above steps can measure the chemical oxygen demand of the water sample, the distribution of impurities in the river can be fed back, which is conducive to the later staff to treat the river according to the distribution of impurities in the river;

[0068] 2. Extracting the target lower layer sample liquid from bottom to top is conducive to the target lower layer sample liquid being able to enter the liquid inlet tube more smoothly. At the same time, when the second difference between the uppermost liquid level height of the target lower layer sample liquid and the bottom height of the sample tube is less than the preset difference, it means that the extraction of the target lower layer sample liquid has been completed. At this time, the target lower layer sample liquid can be tested and the permanganate index I can be calculated. mn2 ;

[0069] 3. Obtain the liquid surface image of the target upper layer sample liquid in real time. In the next step, analyze the liquid surface image and obtain the highest and lowest points of the liquid surface in the liquid surface image. Calculate the liquid surface difference in the liquid surface image through the highest and lowest points of the liquid surface. When the liquid surface difference is greater than the preset liquid surface difference, it indicates that the water sample is in a shaking state. At this time, the mutual flow rate of impurities in the target upper layer sample liquid and the target lower layer sample liquid is large, which is easy to affect the detection result of the impurity distribution in the water sample. Therefore, stop extracting the target upper layer sample liquid at this time. When the liquid surface difference is less than the preset liquid surface difference, it indicates that the liquid surface of the water sample is in a calm state. At this time, the mutual flow rate of impurities in the target upper layer sample liquid and the target lower layer sample liquid is very small, which is not easy to affect the detection result of the impurity distribution in the water sample. Therefore, the next step can be performed to obtain the liquid level image of the extracted target upper layer sample liquid. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 It is a schematic diagram of the connection relationship between the sample tube and the upper suction tube and the lower suction tube in one embodiment of the present application.

[0071] Figure 2 It is a schematic structural diagram of the bottom of a sample tube in one embodiment of the present application.

[0072] Figure 3 It is a schematic diagram of the process of the permanganate index analysis method according to one embodiment of the present application.

[0073] Figure 4 It is a specific flow chart of step S2 of one embodiment of the present application.

[0074] Figure 5 It is a specific flow chart of step S3 of one embodiment of the present application.

[0075] Figure 6It is a structural block diagram of a permanganate index analysis device in one embodiment of the present application.

[0076] Figure 7 It is a structural block diagram of a computer device in one embodiment of the present application.

[0077] In the figure, 1, sample tube; 11, upper suction tube; 12, lower suction tube; 13, rubber layer; 131, jack; 14, abutment plate; 15, protrusion; 16, sealing layer; 171, left inflation port; 172, right inflation port; 10, acquisition module; 20, upper layer sample liquid detection and calculation module; 30, lower layer sample liquid detection and calculation module; 40, comparison module; 50, first image acquisition module; 60, second image acquisition module; 70, execution module; 80, inflation module. DETAILED DESCRIPTION

[0078] The following is combined with Figure 1-7 The present application is further described in detail with reference to the accompanying drawings and embodiments.

[0079] The embodiment of the present application discloses a permanganate index analyzer, which is used to detect the chemical oxygen demand (COD) of water bodies such as drinking water, rivers, and water sources, and can provide feedback on the distribution of organic pollutants and reducing pollutants in the water samples to be detected. Organic pollutants and reducing pollutants are hereinafter referred to as impurities. The permanganate index analyzer includes a sample tube 1 containing a water sample, a cabinet, an image acquisition device, an upper layer sample liquid detection and calculation device, a lower layer sample liquid detection and calculation device, and a computer device. The computer device is electrically connected to the image acquisition device, the upper layer sample liquid detection and calculation device, and the lower layer sample liquid detection and calculation device, respectively. The upper layer sample liquid detection and calculation device, the lower layer sample liquid detection and calculation device, and the computer device are all installed at the cabinet, the sample tube 1 is arranged on one side of the cabinet, and the image acquisition device is arranged on one side of the sample tube 1.

[0080] See also Figure 1The sample tube 1 is made of plastic material. When the water sample is loaded, there may be a certain distance between the liquid surface of the water sample and the top of the inside of the sample tube 1, and the distance may be adjusted according to the actual detection requirements. An upper liquid inlet is provided at the top of the sample tube 1, and the staff pours the water sample from the upper liquid inlet at the top of the sample tube 1, thereby realizing the use of the sample tube 1 to hold the water sample. The side wall of the sample tube 1 is provided with scales along its own height direction, and the scale corresponding to the bottom of the sample tube 1 is 0 cm. When the sample tube 1 and the water sample in the sample tube 1 are in a static state, the water sample in the sample tube 1 is divided into a target upper layer sample liquid and a target lower layer sample liquid according to the depth of the water sample, for example: the scale on the sample tube 1 is divided into a target lower layer sample liquid in the 0cm-10cm area, and the scale on the sample tube 1 is divided into a target upper layer sample liquid in the 10cm-20cm area; or, the scale on the sample tube 1 is divided into a target lower layer sample liquid in the 0cm-10cm area, and the scale on the sample tube 1 is divided into a target upper layer sample liquid in the 12cm-22cm area, and the area on the sample tube 1 with a scale of 10cm-12cm is divided into a transition area. The division of the target upper layer sample liquid and the target lower layer sample liquid can be adjusted according to actual needs.

[0081] The upper sample liquid detection and calculation device is connected and communicated with the upper liquid inlet of the sample tube 1 through the upper suction tube 11. The permanganate index analyzer extracts the water sample in the sample tube 1 into the upper sample liquid detection and calculation device through the upper suction tube 11 and the peristaltic pump, so that the upper sample liquid of the water sample can be detected by the upper sample liquid detection and calculation device later.

[0082] The upper suction tube 11 is a hose, and in the actual detection process, the upper suction tube 11 can be moved toward the inside of the sample tube 1 by a driving mechanism. The driving mechanism can be a cylinder or an electric push rod, or other structures that can move the upper suction tube 11 into the sample tube 1, which will not be described in detail here.

[0083] See also Figure 2, the bottom of the sample tube 1 is provided with a bottom closed by a rubber layer 13. The provision of the rubber layer 13 plays a buffering role in the shaking of the sample liquid in the sample tube 1. The rubber layer 13 is formed by two semi-circular rubber sub-layers fixedly spliced ​​together, so that a plug hole 131 is formed at the center of the rubber layer 13. In this embodiment, the thickness of the rubber layer 13 is 3.5 mm. A sealing layer 16 is also provided at the bottom of the sample tube 1, and the side of the sealing layer 16 is sealed and fixedly connected to the hole wall of the plug hole 131. The thickness of the sealing layer 16 is equal to the thickness of the rubber layer 13, and the sealing layer 16 is made of rubber material. Before detecting the sample liquid in the sample tube 1, the sealing layer 16 is in a tight state for sealing the plug hole 131. The permanganate index analyzer also includes a lower suction tube 12, one end of which is used to insert the sealing layer 16 insertion end to achieve the connection and communication between the sample tube 1 and the lower layer sample liquid detection and calculation device. Since the sealing layer 16 is made of rubber material, and the side of the sealing layer 16 is sealed and fixedly connected to the hole wall of the insertion hole 131, after the insertion end of the lower suction tube 12 penetrates the sealing layer 16, the sealing layer 16 shrinks toward the hole wall of the insertion hole 131 to prevent the sealing layer 16 from falling into the sample tube 1. The permanganate index analyzer extracts the water sample in the sample tube 1 into the lower layer sample liquid detection and calculation device through the lower suction tube 12 and another peristaltic pump, so that the lower layer sample liquid of the water sample can be detected by the lower layer sample liquid detection and calculation device later.

[0084] like Figure 2 As shown, the rubber layer 13 is hollow so that the inside of the rubber layer 13 can be inflated. When there is no gas in the rubber layer, the thickness of the rubber layer 13 is in the range of 3mm-4mm, so that the rubber layer 13 itself can buffer the sample liquid in the sample tube 1; when the rubber layer 13 is inflated, the thickness of the rubber layer 13 is controlled within a certain range to ensure the structural stability of the rubber layer 13 after inflation. In order to further enable the elastic layer 13 to better adapt to the shaking of the sample liquid in the sample tube 1, the surfaces of the two rubber sub-layers facing away from the inside of the sample tube 1 are respectively provided with inflation ports. Specifically, for the convenience of understanding, Figure 2The left side of the central axis of the sample tube 1 is the left part, and the right side of the central axis of the sample tube 1 is the right part. The inflation port at the rubber sublayer at the left part of the sample tube 1 is the left inflation port 171, and the left inflation port 171 is connected to the inside of the rubber sublayer. The inflation port at the rubber sublayer at the right part of the sample tube 1 is the right inflation port 172, and the right inflation port 172 is connected to the inside of the rubber sublayer. The permanganate index analyzer also includes an inflation device (not shown in the figure), and the inflation device is connected to the computer device to realize that the computer device controls the inflation device to inflate the inside of the rubber layer 13. The outlet end of the inflation device is provided with a branch pipe, and the branch pipe is provided with at least two pipe openings, and each pipe opening of the branch pipe is individually provided with a valve, one of which is connected to the left inflation port 171 through an inflation pipe; the other is connected to the right inflation port 172 through an inflation pipe, so that the computer device can control the inflation device to inflate the left inflation port 171 and the right inflation port 172 respectively. Rubber plugs are provided at the left inflation port 171 and the right inflation port 172 . When inflation is not required, the staff can also use the rubber plugs to close the left inflation port 171 and the right inflation port 172 .

[0085] In other embodiments, a hollow rubber layer may be provided on the inner wall of the sample tube 1, and the interior of the rubber layer on the inner wall at the left part of the sample tube 1 is connected to the interior of the rubber sublayer on the left side; the interior of the rubber layer on the inner wall at the right part of the sample tube 1 is connected to the interior of the rubber sublayer on the right side.

[0086] In order to further ensure the stability of the connection position between the lower suction tube 12 and the sample tube 1, the side wall of the lower suction tube 12 near the insertion end is fixedly sleeved with an abutment plate 14. When the lower suction tube 12 is inserted into the sealing layer 16 at the bottom of the sample tube 1, the abutment plate 14 abuts against the rubber layer 13 on the side facing the rubber layer 13 to support the rubber layer 13. In addition, in order to further improve the sealing performance of the connection position between the lower suction tube 12 and the sample tube 1, the abutment plate 14 is used to abut against the side of the rubber layer 13. A plurality of semi-arc-shaped protrusions 15 are provided on the side of the rubber layer 13. When the lower suction tube 12 is inserted into the rubber layer 13 at the bottom of the sample tube 1, a plurality of protrusions 15 abut against the rubber layer 13 to meet the need to support the rubber layer 13, and at the same time, the sealing performance of the connection between the lower suction tube 12 and the rubber layer 13 at the bottom of the sample tube 1 can be improved.

[0087] It should be noted that when the side of the abutting plate 14 facing the rubber layer 13 abuts against the rubber layer 13 , the inflation port and the abutting plate 14 are offset from each other, so that the staff can connect the inflation tube to the inflation port.

[0088] The thickness of the abutting plate 14 is set to L, and the thickness L is between 6-8 mm to ensure the structural strength of the abutting plate 14. In this embodiment, the thickness L is set to 7 mm.

[0089] When actually testing water samples, the sample tube 1 is set on the ground with a support frame so that the bottom of the sample tube 1 is at a certain distance from the ground, so that the staff can insert the insertion end of the lower suction tube 12 into the sealing layer 16 at the bottom of the sample tube 1. After the staff inserts the insertion end of the lower suction tube 12 into the sample tube 1, the staff can use a bracket to fix and support the lower suction tube 12, so that the lower suction tube 12 is more stably connected to the sample tube 1.

[0090] The image acquisition device is used to obtain the layering information of the water sample in the sample tube 1. The image acquisition device can be a camera or any device that can acquire the image of the liquid surface in the sample tube 1. The image acquisition device acquires the image of the water sample in the sample tube 1 and the scale of the sample tube 1 and sends the image to the computer device. The image acquisition device is used to monitor the extraction of water samples in the sample tube 1, and there is no need to install a device (such as a liquid level sensor) for detecting water samples inside the sample tube 1. On the one hand, it can avoid the situation where the water sample corrodes the device. On the other hand, when the sample tube 1 needs to be replaced, there is no need to remove the device.

[0091] The upper sample liquid detection and calculation device performs permanganate index detection on the target upper sample liquid extracted from the sample tube 1. Specifically, the permanganate consumption and titration endpoint are determined by the ORP (Oxidation-Reduction Potential) electrode method. Then, according to the following formula:

[0092]

[0093] (Wherein, V is the consumption of potassium permanganate solution (ml) when titrating the water sample; K is the correction factor (unit volume of potassium permanganate solution (1 / 5*KMnO4) is equivalent to the volume of sodium oxalate standard solution (1 / 2Na2C2O4)); M is the concentration of sodium oxalate solution (mol / L); 8 refers to the molar mass of 1 / 4*oxygen (O2).) Calculate the permanganate index I mn1 , Permanganate Index I mn1 The unit is mg / L.

[0094] The working principle of the lower sample liquid detection and calculation device is the same as that of the upper sample liquid detection and calculation device. The difference between the lower sample liquid detection and calculation device and the upper sample liquid detection and calculation device is that the lower sample liquid detection and calculation device is used to detect the target lower sample liquid and calculate the permanganate index I mn2 , Permanganate Index I mn2 The unit is mg / L.

[0095] The computer device is equivalent to the control center of the permanganate analyzer. When testing the water sample, the image acquisition device obtains the image of the water sample in the sample tube 1 and sends the image to the computer device. The computer device analyzes the image and determines the area of ​​the upper layer sample liquid and the area of ​​the lower layer sample liquid. It can also determine the liquid level of the upper layer sample liquid and the liquid level of the lower layer sample liquid. When it is necessary to extract the upper layer sample liquid, the computer device controls the peristaltic pump associated with the upper suction tube 11 to suck the upper layer sample liquid and suck the upper layer sample liquid into the upper layer sample liquid detection and calculation device. The upper layer sample liquid detection and calculation device detects the upper layer sample liquid and calculates the permanganate index I mn1 Next, the computer device controls the peristaltic pump associated with the lower suction pipe 12 to suck the lower layer sample liquid and suck the lower layer sample liquid into the lower layer sample liquid detection and calculation device, and the lower layer sample liquid detection and calculation device detects the lower layer sample liquid and calculates the permanganate index I mn2 Next, the upper sample liquid detection and calculation device will measure the permanganate index I mn1 and the permanganate index I measured by the lower layer sample liquid detection and calculation device mn2 Sent to computer equipment, which records the permanganate index I mn1 and permanganate index I mn2 Permanganate Index I mn1 and permanganate index I mn2 By making comparisons and realizing synchronous judgment on the distribution of impurities in water samples, it is beneficial to feedback the distribution of impurities in the river channel and facilitate the later staff to manage the river channel according to the distribution of impurities in the river channel.

[0096] It is worth noting that, compared with the method in the related art in which a pipette is directly inserted from the top of the sample tube 1 to the bottom of the sample tube 1 to suck the water sample, the upper sample liquid and the lower sample liquid in the sample tube 1 are sucked respectively by the cooperation of the upper suction tube 11 and the lower suction tube 12, so that the upper suction tube 11 only extends into the upper sample liquid area and only sucks the upper sample liquid. The lower suction tube 12 extends from the bottom of the sample tube 1 and only sucks the lower sample liquid, which makes the mutual flow rate of impurities (organic pollutants or reducing pollutants) in the upper sample liquid and the lower sample liquid in the sample tube 1 very small, reduces the possibility of liquid flow interference when extracting the upper sample liquid and the lower sample liquid, and is not easy to affect the detection result of impurity distribution in the water sample. Furthermore, the lower sample liquid flows out from the lower suction tube 12 at the bottom of the sample tube 1, which is conducive to the lower sample liquid flowing into the lower suction tube 12 more smoothly.

[0097] The present application also provides a method for analyzing a permanganate index, which is performed based on the permanganate index analyzer in the above scheme. Figure 2 , the permanganate index analysis methods include:

[0098] S1. Acquire the water sample stratification information in the sample tube 1, where the water sample stratification information includes the initial depth of the target upper layer sample liquid and the initial depth of the target lower layer sample liquid.

[0099] The water sample layering information is set by the staff according to the actual test situation. For example, the staff presets the initial depth of the target upper layer sample liquid corresponding to the scale range of the sample tube 1 as 10cm-20cm, and the initial depth of the target lower layer sample liquid corresponding to the scale range of the sample tube 1 as 0-10cm. At this time, the initial maximum liquid level of the target upper layer sample liquid is 20cm, and the initial maximum liquid level of the target lower layer sample liquid is 10cm.

[0100] S2. Extract the target upper layer sample liquid from the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 .

[0101] Specifically, the depth of the upper suction tube 11 extending into the water sample is first determined according to the initial depth of the target upper layer sample liquid, and then the target upper layer sample liquid is extracted into the upper layer sample liquid detection and calculation device through the peristaltic pump associated with the upper suction tube 11, and the upper layer sample liquid detection and calculation device tests the target upper layer sample liquid for permanganate index I mn1 .

[0102] In order to achieve more accurate suction of the target upper layer sample liquid by the upper suction tube 11, see Figure 4 , step S2 further includes:

[0103] S21. Extract the target upper layer sample liquid from top to bottom, and obtain the liquid level height of the target upper layer sample liquid in real time.

[0104] The staff can use a liquid level sensor or other instrument for detecting liquid level to cooperate with a computer device to measure the liquid level height of the target upper layer sample liquid. In this embodiment, an image processing device is used to cooperate with a computer device to collect the liquid level height of the target upper layer sample liquid. The specific collection process includes:

[0105] S211 . Based on the water sample stratification information, a liquid level image of the target upper layer of the sample liquid in the sample tube 1 is acquired in real time.

[0106] Specifically, the upper suction tube 11 extends from top to bottom into the target upper layer sample liquid. Since the highest liquid level of the target upper layer sample liquid changes in real time during the suction process of the target upper layer sample liquid, the liquid level image of the target upper layer sample liquid is captured in real time by the image acquisition device. The image acquisition device sends the real-time captured liquid level image associated with the target upper layer sample liquid to the computer device.

[0107] S212: Compare the liquid level image with the reference liquid level image and obtain a liquid level comparison result.

[0108] The computer device analyzes the liquid level image and the reference liquid level image to obtain real-time liquid level information associated with the liquid level image and reference liquid level information associated with the reference liquid level image, and compares the real-time liquid level information with the reference liquid level information to obtain a liquid level comparison result. The reference liquid level image includes liquid level height information corresponding to each scale in the range of 0-20 cm, for example: the reference liquid level image includes liquid level height information with scales of 0, 1 cm, 1.5 cm, 2 cm, 2.5 cm...18.5 cm, 19 cm, 19.5 cm, 20 cm.

[0109] For example: the computer device parses the liquid level image and the reference liquid level image, and obtains the liquid level information and the reference liquid level information, and calculates the matching degree according to the distance between the scales corresponding to the liquid level information and the reference liquid level information: assuming that the liquid level information differs by 0.1 cm from the reference liquid level information corresponding to a scale of 15 cm, and the liquid level information differs by 0.9 cm from the reference liquid level information corresponding to a scale of 14 cm, then it is determined that the matching degree between the liquid level information and the reference liquid level information corresponding to a scale of 15 cm is 90%, while the matching degree between the liquid level information and the reference liquid level information corresponding to a scale of 14 cm is 10%. Therefore, the matching degree between the liquid level information and the reference liquid level information corresponding to a scale of 15 cm is the highest, and therefore the liquid level comparison result is 15 cm.

[0110] For another example, the computer device analyzes the liquid level image and the reference liquid level image, and obtains that the liquid level information matches the reference liquid level information corresponding to the scale of 15 cm by 90%, and the liquid level information matches the reference liquid level information corresponding to the scale of 15.5 cm by 98%. Therefore, the liquid level information matches the reference liquid level information corresponding to the scale of 15.5 cm by a high degree, and the liquid level comparison result is 15.5 cm.

[0111] S213. Determine the liquid level height of the target upper layer sample liquid based on the liquid level comparison result.

[0112] Based on the liquid level comparison result, it can be determined that the liquid level height of the target upper layer sample liquid in the sample tube 1 is 15 cm. The liquid level height of the target upper layer sample liquid at each moment is obtained in real time to accurately control the suction progress of the target upper layer sample liquid.

[0113] S22. Based on the liquid level height of the target upper layer sample liquid, calculate the difference between the liquid level height of the target upper layer sample liquid and the initial liquid level height of the target lower layer sample liquid, where the difference is a first difference.

[0114] After the liquid level height of the target upper layer sample liquid is determined, the difference between the liquid level height of the target upper layer sample liquid and the initial liquid level height of the target lower layer sample liquid is calculated, and the difference is used as the first difference.

[0115] For example:

[0116] Assuming that the target upper layer liquid level is 15 cm, and the target lower layer liquid initial level is 10 cm, the difference between the two is: target upper layer liquid level - target lower layer liquid initial level = 5 cm, and the first difference is 5 cm.

[0117] Specifically, the staff sets a first preset difference before the detection. For example, the first preset difference is 1 cm, 1.5 cm, 2 cm, etc. The first preset difference can be set according to actual detection requirements.

[0118] When the first difference is greater than the first preset difference, the target upper layer sample liquid continues to be extracted.

[0119] For example, when the first difference is 5 cm and the first preset difference is 1 cm, the target upper layer sample liquid continues to be extracted.

[0120] When the first difference is less than or equal to the first preset difference, the extraction of the target upper layer sample liquid is stopped.

[0121] For example, when the first difference is 1 cm and the first preset difference is 1 cm, the extraction of the target upper layer sample liquid is stopped.

[0122] Or: when the first difference is 0.8 cm and the first preset difference is 1 cm, the extraction of the target upper layer sample liquid is stopped.

[0123] S23, testing the extracted target upper layer sample liquid and calculating the permanganate index I mn1 .

[0124] The upper layer sample liquid detection and calculation device is used to detect the extracted target upper layer sample liquid and calculate the permanganate index I mn1 , Permanganate Index I mn1 Reflects the chemical oxygen demand of the target upper layer sample liquid. When the permanganate index I mn1 A higher value means that the target upper layer sample liquid contains more impurities.

[0125] S3, extracting the target lower layer sample liquid in the water sample based on the water sample stratification information, detecting the target lower layer sample liquid and calculating the permanganate index I mn2 .

[0126] First, the lower suction tube 12 is connected to the interior of the sample tube 1, and then the target lower layer sample liquid is extracted into the lower layer sample liquid detection and calculation device through the peristaltic pump associated with the lower suction tube 12, and the lower layer sample liquid detection and calculation device tests the target lower layer sample liquid for permanganate index I mn2 .

[0127] For step S3, see Figure 5 , specifically including:

[0128] S31, extracting the target lower layer sample liquid from bottom to top, and obtaining the uppermost liquid level height of the target lower layer sample liquid in real time.

[0129] Specifically, the insertion end of the lower suction tube 12 is first inserted into the sealing layer 16 at the bottom of the sample tube 1, so that the lower suction tube 12 is connected to the inside of the sample tube 1, and the protrusion 15 on the abutment plate 14 abuts against the rubber layer 13. The peristaltic pump associated with the lower suction tube 12 works and draws the target lower layer sample liquid from bottom to top into the lower suction tube 12.

[0130] Since the highest liquid level of the target lower layer sample liquid drops in real time during the process of sucking the target lower layer sample liquid, the liquid level image of the target lower layer sample liquid is collected in real time by the image acquisition device. The image acquisition device sends the real-time collected liquid level image associated with the target lower layer sample liquid to the computer device. The computer device analyzes the liquid level image and determines the liquid level height of the target lower layer sample liquid, so as to obtain the liquid level height of the target lower layer sample liquid at each moment in real time, so as to accurately control the suction progress of the target lower layer sample liquid.

[0131] S32. Based on the liquid level height of the uppermost layer of the target lower layer sample liquid, calculate the difference between the liquid level height of the uppermost layer of the target lower layer sample liquid and the bottom height of the sample tube 1, and the difference is a second difference.

[0132] For example:

[0133] Assuming that the topmost liquid level of the target lower layer sample liquid is 6 cm, and the bottom height of the sample tube 1 is 0, the difference between the two is: the liquid level of the target lower layer sample liquid - the bottom height of the sample tube 1 = 6 cm. The second difference is 6 cm.

[0134] When the second difference is greater than the preset second difference, the target lower layer sample liquid continues to be extracted.

[0135] Specifically, the staff sets the second preset difference before the detection. For example, the second preset difference is 1 cm, 0.8 cm, 0.5 cm, etc. The second preset difference can be set according to actual detection requirements.

[0136] For example, when the second difference is 6 cm and the second preset difference is 1 cm, the target lower layer sample liquid continues to be extracted.

[0137] When the second difference is less than the preset second difference, the extraction of the target lower layer sample liquid is stopped.

[0138] For example, when the second difference is 0.1 cm and the second preset difference is 0.5 cm, the extraction of the target lower layer sample liquid is stopped.

[0139] S33, testing the extracted target lower layer sample liquid and calculating the permanganate index I mn2 .

[0140] S4, the permanganate index of the target upper layer sample solution is I mn1 Permanganate index I mn2 Compare and determine the impurity profile of water samples.

[0141] When the permanganate index of the target upper layer sample solution is I mn1 Greater than the permanganate index I of the target lower layer sample solution mn2 When determining the impurities in the water sample, it is determined that the impurities in the water sample tend to be concentrated in the upper layer of the water sample.

[0142] For example: The permanganate index of the target upper layer sample solution is I mn1 The permanganate index of the target lower layer sample liquid is 26 mg / L. mn2 It is 20 mg / L, indicating that the chemical oxygen demand of the target upper layer sample liquid is greater than that of the target lower layer sample liquid. Therefore, the impurities in the feedback water sample are prone to be concentrated in the upper layer of the target water sample, which is beneficial to feedback the distribution of impurities in the river channel and is conducive to the later staff to manage the river channel according to the distribution of impurities in the river channel.

[0143] When the permanganate index of the target upper layer sample solution is I mn1 Less than the permanganate index I of the target lower layer sample solution mn2 When determining the impurities in the water sample, it is determined that they tend to be concentrated in the lower layer of the water sample.

[0144] For example: The permanganate index of the target upper layer sample solution is I mn1 The permanganate index of the target lower layer sample liquid is 15 mg / L. mn2 It is 20 mg / L, indicating that the chemical oxygen demand of the target upper layer sample liquid is smaller than that of the target lower layer sample liquid. Therefore, the impurities in the feedback water sample tend to be concentrated in the lower layer of the target water sample.

[0145] When the permanganate index of the target upper layer sample solution is I mn1 Permanganate index I mn2 When the difference is less than 0.5 mg / L, it is determined that the impurities in the water sample are easily evenly distributed in the water sample.

[0146] For example: The permanganate index of the target upper layer sample solution is I mn1 The permanganate index of the target lower layer sample liquid is 15.5 mg / L. mn2 It is 15.3 mg / L, indicating that the chemical oxygen demand of the target upper layer sample liquid is very close to the chemical oxygen demand of the target lower layer sample liquid. Therefore, the impurities in the water sample are easily evenly distributed in the water sample.

[0147] S5. Set the permanganate index of the target upper layer sample solution to I mn1 、Permanganate index I of target lower layer sample liquid mn2The distribution of impurities in the water sample is sent to the user end so that the staff can understand the distribution of impurities in the river.

[0148] In another embodiment, step S2 and step S3 are performed simultaneously.

[0149] The simultaneous extraction of the target upper layer sample liquid and the target lower layer sample liquid is beneficial to further reduce the incidence of mutual flow between the target upper layer sample liquid and the target lower layer sample liquid, thereby further reducing the possibility of mutual interference between the target upper layer sample liquid and the target lower layer sample liquid when extracting the sample liquid, which is beneficial to further improve the accuracy of detecting the distribution of impurities in the sample liquid.

[0150] In another embodiment, before step S211, the method further includes:

[0151] S2111 , acquiring a liquid surface image of the target upper layer of sample liquid in the sample tube 1 in real time.

[0152] An image acquisition device is used to acquire a liquid surface image of the target upper layer sample liquid, and the liquid surface image is sent to a computer device.

[0153] S2112. Analyze the liquid surface image to obtain the highest point and the lowest point of the liquid surface in the liquid surface image.

[0154] The computer device analyzes the liquid level image and identifies the scale corresponding to the highest point of the liquid level and the scale corresponding to the lowest point of the liquid level.

[0155] For example: the scale corresponding to the highest point of the liquid level is 15cm, and the scale corresponding to the lowest point of the liquid level is 10cm.

[0156] S2113. Calculate the liquid level difference between the highest point of the liquid level and the lowest point of the liquid level.

[0157] For example, when the scale corresponding to the highest point of the liquid surface is 15 cm and the scale corresponding to the lowest point of the liquid surface is 10 cm, the liquid level difference is: the scale corresponding to the highest point of the liquid surface - the scale corresponding to the lowest point of the liquid surface = 5 cm.

[0158] S2114 . Determine whether to continue acquiring the liquid level image of the target upper layer of the sample liquid in the sample tube 1 based on the liquid level difference.

[0159] The staff sets a preset liquid level difference before testing the water sample. The preset liquid level difference can be 0.1cm or 0.15cm, etc., and can be adjusted according to actual conditions.

[0160] When the liquid level difference is greater than the preset liquid level difference, it is determined to stop acquiring the liquid level image of the target upper layer sample liquid of the sample tube 1 and stop extracting the target upper layer sample liquid.

[0161] For example, when the liquid level difference is 5cm and the preset liquid level difference is 0.1cm, it means that the highest point of the liquid level in the water sample is much different from the lowest point of the liquid level, and the water sample is in a shaking state. At this time, the impurities in the target upper layer sample liquid and the target lower layer sample liquid have a large mutual flow rate, which is easy to affect the detection result of the impurity distribution in the water sample. Therefore, it is necessary to stop extracting the target upper layer sample liquid at this time. After the water sample is left to stand for 1 minute, re-extract the target upper layer water sample.

[0162] When the liquid level difference is less than the preset liquid level difference, it is determined to continue acquiring the liquid level image of the target upper layer of the sample liquid in the sample tube 1 .

[0163] For example: when the liquid level difference is 0.05cm and the preset liquid level difference is 0.1cm, it means that the difference between the highest point and the lowest point of the liquid level in the water sample is small, indicating that the liquid surface of the water sample is in a calm state. At this time, the mutual flow rate of impurities in the target upper layer sample liquid and the target lower layer sample liquid is very small, which is not easy to affect the detection result of the impurity distribution in the water sample. Therefore, the next step can be carried out to obtain the liquid level image of the extracted target upper layer sample liquid.

[0164] In another embodiment, when the liquid level difference is greater than the preset liquid level difference, after determining to stop acquiring the liquid level image of the target upper layer sample liquid of the sample tube 1 and stop extracting the target upper layer sample liquid, the method further includes:

[0165] (1) Obtain the target position of the sample tube 1 corresponding to the highest point of the liquid surface based on the liquid surface image.

[0166] The target position includes a left portion of the sample tube 1 and a right portion of the sample tube 1 .

[0167] For example, when the liquid surface image is analyzed and it is found that the highest point of the liquid surface is at the left part of the sample tube 1, the target position is determined to be the left part.

[0168] When the liquid surface image is analyzed and it is found that the highest point of the liquid surface is at the right part of the sample tube 1, the target position is determined to be the right part.

[0169] (2) Determine the inflation port associated with the target location.

[0170] When the target position is the left part of the sample tube 1 , the inflation port is determined to be the left inflation port 171 ; when the target position is the right part of the sample tube 1 , the inflation port is determined to be the right inflation port 172 .

[0171] (3) Activate the inflation device and open the valve associated with the inflation port to inflate the rubber sublayer associated with the inflation port.

[0172] Based on the inflation port determined in the previous step, the computer equipment controls the inflation device to start and open the valve at the branch pipe port associated with the inflation port, so that the inflation device can inflate the corresponding rubber sublayer. The inflation volume is 1-5ml, and the inflation volume can be adjusted by the staff according to actual conditions.

[0173] For example, when it is determined that the inflation port is the right inflation port 172, the branch pipe port valve associated with the right inflation port 172 is opened, and then the rubber sublayer associated with the right inflation port 172 is inflated through the inflation device.

[0174] When it is determined that the inflation port is the left inflation port 171 , the branch pipe port valve associated with the left inflation port 171 is opened, and then the rubber sublayer associated with the left inflation port 171 is inflated through the inflation device.

[0175] The target position is determined by identifying the position of the highest point of the liquid surface to find the source of the sample liquid shaking. At this time, the source of the shaking needs to be buffered, so the corresponding inflation port needs to be determined through the target position. After the position of the inflation port is determined, the inflation device is started and a certain amount of gas is filled into the rubber sublayer associated with the inflation port to increase the buffering effect of the rubber sublayer on the sample liquid, which is beneficial for the shaking sample liquid to quickly stop and improve the sample liquid detection efficiency.

[0176] In other embodiments, based on the condition that a rubber sublayer is provided on the inner wall of the sample tube 1, the left inflation port 171 or the right inflation port 172 can be inflated according to the above steps, and the gas is filled into the rubber sublayer at the inner wall of the sample tube 1 to further increase the buffering effect of the rubber sublayer at the inner wall of the sample tube 1 on the sample liquid.

[0177] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0178] The present application also provides a permanganate index analysis device, which corresponds one-to-one to the permanganate index analysis method in the above embodiment. Figure 6 As shown, the permanganate index analysis device includes the following modules, and each functional module is described in detail as follows:

[0179] The acquisition module 10 is used to acquire the stratification information of the water sample in the sample tube 1 , wherein the stratification information of the water sample includes the upper layer depth and the lower layer depth of the water sample.

[0180] Upper layer sample liquid detection and calculation module 20: used to extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index Imn1 .

[0181] Lower layer sample liquid detection and calculation module 30: used to extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2 .

[0182] Comparison module 40: used to compare the permanganate index I of the target upper layer sample solution mn1 Permanganate index I mn2 Compare and determine the impurities of water samples.

[0183] Execution module 70: used to send the impurity distribution of the water sample to the user end.

[0184] In another embodiment, the permanganate index analysis device further comprises:

[0185] The first image acquisition module 50 is used for acquiring the liquid level image of the target upper layer of the sample tube 1 in real time.

[0186] The second image acquisition module 60 is used to acquire the liquid surface image of the target upper layer sample liquid in the sample tube 1 in real time.

[0187] In another embodiment, the permanganate index analysis device further comprises:

[0188] Inflating module 80: used to inflate the rubber sublayer to provide a buffer for the sample liquid.

[0189] In the process of analyzing the water sample, the acquisition module 10 first acquires the water sample layer information in the sample tube 1, thereby determining the depth of the target upper layer sample liquid and the depth of the target lower layer sample liquid. Since the depth of the target upper layer sample liquid is known, the target upper layer sample liquid can be extracted at this time. After the extraction is completed, the upper layer sample liquid detection and calculation module 20 detects and calculates the permanganate index I of the target upper layer sample liquid. mn1 Then, the target lower layer sample liquid is extracted, and the target lower layer sample liquid detection and calculation module 30 is used to detect the target lower layer sample liquid and calculate the permanganate index I of the target upper layer sample liquid. mn2 In the process of extracting the sample liquid, if the sample liquid shakes, the rubber sublayer is inflated by the inflation module to quickly calm the shaking sample liquid. Next, the permanganate index I is compared by the comparison module 40. mn1 and permanganate index I mn2 The chemical oxygen demand of the target upper layer sample liquid and the target lower layer sample liquid are obtained, and the impurity distribution of the water sample is sent to the user end through the execution module 70, so that the impurity distribution of the upper layer sample liquid and the impurity distribution of the lower layer sample liquid in the water sample are fed back. mn1 Less than Imn2 It is proved that the chemical oxygen demand of the target upper layer sample liquid is smaller than that of the target lower layer sample liquid. Therefore, the impurity distribution amount in the lower layer of the water sample is large. Therefore, the staff can make targeted treatment plans for river management according to the distribution amount of impurities in the water sample.

[0190] For the specific definition of the permanganate index analysis device, please refer to the definition of the permanganate index analysis method above, which will not be repeated here. Each module in the above-mentioned permanganate index analysis device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0191] An embodiment of the present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned permanganate index analysis method.

[0192] S1. Obtaining water sample stratification information in the sample tube 1, where the water sample stratification information includes the upper layer depth and the lower layer depth of the water sample.

[0193] S2. Extract the target upper layer sample liquid from the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 .

[0194] S3, extracting the target lower layer sample liquid in the water sample based on the water sample stratification information, detecting the target lower layer sample liquid and calculating the permanganate index I mn2 .

[0195] S4, the permanganate index of the target upper layer sample solution is I mn1 Permanganate index I mn2 Compare and determine the impurity profile of water samples.

[0196] S5. Send the impurity distribution of the water sample to the user end.

[0197] In addition, the processor in the computer device executes all the steps of the above-mentioned permanganate index analysis method when executing the computer program.

[0198] Among them, the computer is a server, and its internal structure diagram can be shown as follows Figure 7As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store water sample stratification information, permanganate index I mn1 , Permanganate Index I mn2 , the distribution of impurities in the water sample, the highest point of the liquid level, and the lowest point of the liquid level. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a permanganate index analysis method is implemented.

[0199] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: S1. Acquire the water sample stratification information in the sample tube 1, the water sample stratification information includes the upper layer depth and the lower layer depth of the water sample. S2. Extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 S3. Extract the target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2 S4. Set the permanganate index of the target upper layer sample solution to mn1 Permanganate index I mn2 Compare and determine the impurity distribution of the water sample. S5. Send the impurity distribution of the water sample to the user end.

[0200] When the processor executes the computer program, it can also execute the steps of the permanganate index analysis method in any of the above embodiments.

[0201] 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 computer program can be stored in a non-volatile computer-readable storage medium. When the computer 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).

[0202] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0203] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for analyzing the permanganate index, characterized in that: The invention is applied to a permanganate index analyzer, the permanganate index analyzer comprises a sample tube (1) containing a water sample, an upper suction tube (11), a lower suction tube (12), a cabinet, an image acquisition device, an upper layer sample liquid detection and calculation device, a lower layer sample liquid detection and calculation device and a computer device, wherein the upper layer sample liquid detection and calculation device is connected and communicated with the upper liquid inlet of the sample tube (1) through the upper suction tube (11), a hollow rubber layer (13) is arranged at the bottom of the sample tube (1), the rubber layer (13) is formed by two semi-annular rubber sub-layers fixedly spliced ​​together, so that a plug hole (131) is formed at the center position of the rubber layer (13), and a sealing layer (16) is also arranged at the bottom of the sample tube (1), the side of the sealing layer (16) is sealed and fixedly connected to the hole wall of the plug hole (131), and the two The surfaces of the rubber sub-layers facing away from the interior of the sample tube (1) are respectively provided with inflation ports; one end of the lower suction tube (12) is an insertion end for inserting the sealing layer (16) so as to realize the connection and communication between the sample tube (1) and the lower layer sample liquid detection and calculation device; a side wall fixed sleeve of the lower suction tube (12) close to the insertion end is provided with an abutment plate (14); when the lower suction tube (12) is inserted into the sealing layer (16) at the bottom of the sample tube (1), the side of the abutment plate (14) facing the rubber layer (13) abuts against the rubber layer (13); the side of the abutment plate (14) for abutting against the rubber layer (13) is provided with a plurality of semi-arc-shaped protrusions (15); when the lower suction tube (12) is inserted into the rubber layer (13), the plurality of protrusions (15) abut against the rubber layer (13); The method comprises: Acquiring water sample stratification information in the sample tube (1), wherein the water sample stratification information includes an initial depth of a target upper layer sample liquid and an initial depth of a target lower layer sample liquid; Extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ; The target lower layer sample liquid is extracted from bottom to top, and the liquid level height of the uppermost layer of the target lower layer sample liquid is obtained in real time; specifically, the insertion end of the lower suction tube (12) is first inserted into the sealing layer (16) at the bottom of the sample tube (1), so that the lower suction tube (12) is connected with the inside of the sample tube (1), and at this time, the protrusion (15) on the abutting plate (14) abuts against the rubber layer (13), and the peristaltic pump associated with the lower suction tube (12) works and extracts the target lower layer sample liquid from bottom to top into the lower suction tube (12); Based on the height of the uppermost liquid level of the target lower layer sample liquid, calculating the difference between the height of the uppermost liquid level of the target lower layer sample liquid and the bottom height of the sample tube (1), the difference being a second difference; When the second difference is greater than the preset second difference, continue to extract the target lower layer sample liquid; When the second difference is less than the preset second difference, stopping extracting the target lower layer sample liquid; Test the extracted target lower layer sample and calculate the permanganate index I mn2 ; The permanganate index I of the target upper layer sample solution mn1 The permanganate index I of the target lower layer sample solution mn2 Comparing and determining the impurity distribution of the water sample; The impurity distribution of the water sample is sent to the user end.

2. The permanganate index analysis method according to claim 1, characterized in that: extracting a target upper layer sample liquid from the water sample based on the water sample stratification information, detecting the target upper layer sample liquid and calculating the permanganate index I mn1 The steps include: Extracting the target upper layer sample liquid from top to bottom based on the water sample stratification information, and obtaining the liquid level height of the target upper layer sample liquid in real time; Based on the liquid level height of the target upper layer sample liquid, calculating the difference between the liquid level height of the target upper layer sample liquid and the initial liquid level height of the target lower layer sample liquid, the difference being a first difference; When the first difference is greater than the first preset difference, continue to extract the target upper layer sample liquid; When the first difference is less than a first preset difference, stopping extracting the target upper layer sample liquid; Detect the extracted target upper layer sample and calculate the permanganate index I mn1 .

3. The permanganate index analysis method according to claim 2, characterized in that: The step of extracting the target upper layer sample liquid from top to bottom and obtaining the liquid level height of the target upper layer sample liquid in real time includes: Based on the water sample stratification information, a liquid level image of the target upper layer of the sample tube (1) is acquired in real time; Comparing the liquid level image with a reference liquid level image and obtaining a liquid level comparison result; Based on the liquid level comparison result, the liquid level height of the target upper layer sample liquid is determined.

4. The permanganate index analysis method according to claim 3, characterized in that: Before the step of acquiring the liquid level image of the target upper layer of the sample liquid in the sample tube (1) in real time based on the water sample stratification information, the method comprises: Acquiring a liquid surface image of a target upper layer of sample liquid in a sample tube (1) in real time; Analyzing the liquid surface image to obtain the highest point and the lowest point of the liquid surface in the liquid surface image; Calculating the highest point of the liquid level and the lowest point of the liquid level to obtain a liquid level difference; Based on the liquid level difference, determining whether to continue acquiring a liquid level image of the target upper layer of the sample liquid in the sample tube (1); When the liquid level difference is greater than a preset liquid level difference, it is determined to stop acquiring the liquid level image of the target upper layer sample liquid of the sample tube (1) and to stop extracting the target upper layer sample liquid; When the liquid level difference is less than the preset liquid level difference, it is determined to continue acquiring the liquid level image of the target upper layer of the sample liquid in the sample tube (1).

5. A permanganate index analysis device, characterized in that: The permanganate index analysis method according to any one of claims 1 to 4, include, An acquisition module (10) is configured to acquire water sample stratification information in the sample tube (1), wherein the water sample stratification information includes an upper layer depth and a lower layer depth of the water sample; The upper layer sample liquid detection and calculation module (20) is used to extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ; A lower layer sample liquid detection and calculation module (30) is used to extract a target lower layer sample liquid in the water sample based on the water sample stratification information, detect the target lower layer sample liquid and calculate the permanganate index I mn2 ; Comparison module (40): used to compare the permanganate index I of the target upper layer sample liquid mn1 The permanganate index I of the target lower layer sample solution mn2 Comparing and determining the impurity status of the water sample; Execution module (70): used for sending the impurity distribution of the water sample to the user end.

6. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the permanganate index analysis method according to any one of claims 1 to 4.

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

8. A permanganate index analyzer, characterized in that: The invention comprises a sample tube (1) containing a water sample, an upper suction tube (11), a lower suction tube (12), a cabinet, an image acquisition device, an upper layer sample liquid detection and calculation device, a lower layer sample liquid detection and calculation device and a computer device. The upper layer sample liquid detection and calculation device is connected and communicated with the upper liquid inlet of the sample tube (1) through the upper suction tube (11). A hollow rubber layer (13) is arranged at the bottom of the sample tube (1). The rubber layer (13) is formed by two semi-circular rubber sub-layers fixedly spliced ​​together so that a plug hole (131) is formed at the center of the rubber layer (13). A sealing layer (16) is also arranged at the bottom of the sample tube (1). The side of the sealing layer (16) is sealed and fixedly connected to the hole wall of the plug hole (131). The two rubber sub-layers are away from the sample tube (1). The inner surface is respectively provided with an inflation port. One end of the lower suction tube (12) is an insertion end for inserting the sealing layer (16) so as to realize the connection and communication between the sample tube (1) and the lower layer sample liquid detection and calculation device. The side wall of the lower suction tube (12) close to the insertion end is fixedly sleeved with an abutment plate (14). When the lower suction tube (12) is inserted into the sealing layer (16) at the bottom of the sample tube (1), the side of the abutment plate (14) facing the rubber layer (13) abuts against the rubber layer (13). The side of the abutment plate (14) for abutting against the rubber layer (13) is provided with a plurality of semi-arc-shaped protrusions (15). When the lower suction tube (12) is inserted into the rubber layer (13), the plurality of protrusions (15) abut against the rubber layer (13). The image acquisition device is used to obtain the layering information of the water sample in the sample tube (1); The upper layer sample liquid detection and calculation device is used to extract the target upper layer sample liquid in the water sample based on the water sample stratification information, detect the target upper layer sample liquid and calculate the permanganate index I mn1 ; The lower layer sample liquid detection and calculation device is used to extract the target lower layer sample liquid from bottom to top, and obtain the uppermost liquid level height of the target lower layer sample liquid in real time; specifically, the insertion end of the lower suction tube (12) is first inserted into the sealing layer (16) at the bottom of the sample tube (1), so that the lower suction tube (12) is connected with the inside of the sample tube (1), and at this time, the protrusion (15) on the abutment plate (14) abuts against the rubber layer (13), and the peristaltic pump associated with the lower suction tube (12) works and extracts the target lower layer sample liquid from bottom to top into the lower suction tube (12); based on the uppermost liquid level height of the target lower layer sample liquid, the difference between the uppermost liquid level height of the target lower layer sample liquid and the bottom height of the sample tube (1) is calculated, and the difference is a second difference; when the second difference is greater than the preset second difference, the target lower layer sample liquid continues to be extracted; When the second difference is less than the preset second difference, stopping extracting the target lower layer sample liquid; Test the extracted target lower layer sample and calculate the permanganate index I mn2 ; The computer device is a computer device as claimed in claim 6, The computer equipment is respectively connected to the image acquisition device, the upper layer sample liquid detection and calculation device and the lower layer sample liquid detection and calculation device.