Water sample material detection method and device, terminal equipment and storage medium
By converting the water sample of the circulating water system into gas phase and comparing it with the preset standard sample gas phase characteristic spectrum and concentration model, the problem of inaccurate detection of the online probe is solved, and the high accuracy of the detection of water sample of the circulating water system is achieved and the ability to quickly locate the leakage position is achieved.
Patent Information
- Application Number
- CN202411445170.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, the water sample detection of circulating water systems can only be carried out through an online probe, and the online probe is prone to contamination, resulting in inaccurate detection results.
The material type and concentration are determined by converting the water sample to be measured into a gas phase, obtaining the gas phase characteristic spectrum, and comparing it with the preset standard gas phase characteristic spectrum and concentration model.
The accuracy of water sample detection in the circulating water system is achieved, the problem of easy contamination of online probes is avoided, and the location of material leakage can be quickly positioned to ensure stable water quality and long-term operation of the equipment.
Smart Images

Figure CN119510606A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of spraying process technology, and in particular to a material detection method, device, terminal equipment and storage medium for water samples. Background Art
[0002] The circulating cooling water system is a very important public engineering project for refining and chemical enterprises, and its operation effect directly affects the long-term operation of industrial production and production equipment. Major petrochemical enterprises have begun to pay attention to the processing and production of inferior crude oil. Due to the poor quality of inferior crude oil itself, the corrosion effect on heat exchange equipment is getting stronger and stronger, which increases the probability of equipment operation failure and the frequency of material leakage. Water coolers generally have different degrees of process material leakage, especially in the later stage of device operation, not only frequent leakage, but also large leakage. Leaked materials entering the circulating cooling water will cause a large number of biological slime to grow, serious equipment corrosion and a significant decrease in heat exchange effect. Therefore, it is necessary to conduct water sampling of the circulating water system to find out whether there is leaked material in the water sample, so as to quickly locate the location of material leakage in the heat exchange equipment, eliminate material leakage in time, avoid the deterioration of the water quality of circulating cooling water, and ensure the long-term operation of heat exchange equipment.
[0003] In the prior art, when testing water samples in a circulating water system, the water samples can only be tested through an online probe. However, the online probe is easily contaminated, and the material test results will be inaccurate after running for 2-3 months. Summary of the invention
[0004] The embodiments of the present invention provide a material detection method, device, terminal device and storage medium for water samples, which can effectively solve the problem that water samples can only be detected through online probes in the prior art, but the online probes are easily contaminated, and the material detection results will be inaccurate after running for 2-3 months.
[0005] An embodiment of the present invention provides a material detection method for a water sample, comprising:
[0006] Obtaining a gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in a gas phase state;
[0007] Compare the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determine the type of the material to be tested in the water sample to be tested according to the comparison result; wherein the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum;
[0008] According to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model, the concentration value corresponding to the material to be tested in the water sample to be tested is determined; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material of the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
[0009] Furthermore, comparing the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectra of each standard sample, and determining the type of the material to be tested in the water sample to be tested according to the comparison result, specifically includes:
[0010] Calculating the difference between the height of the gas phase characteristic spectrum corresponding to the material to be tested in the water sample to be tested and the height of the gas phase characteristic spectrum of each standard sample to obtain a number of distance differences;
[0011] The gas phase characteristic spectrum of the standard sample corresponding to the smallest distance difference is used as the gas phase characteristic spectrum of the target standard sample;
[0012] Determine the material type of the material to be tested in the water sample according to the gas phase characteristic spectrum of the target standard sample.
[0013] Furthermore, when the standard sample material of the standard water sample is in a gas phase state, each standard sample material is detected by an infrared spectrometer to generate a standard sample gas phase infrared spectrum corresponding to each standard sample material.
[0014] Further, generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum specifically includes:
[0015] Each gas phase infrared spectrum is transformed according to Fourier transform infrared spectroscopy to generate a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum.
[0016] Furthermore, generating a preset concentration model according to each standard sample gas phase characteristic spectrum and the corresponding concentration value includes:
[0017] Determine the height of the gas phase characteristic spectrum of each standard sample;
[0018] The concentration values of the standard materials corresponding to each height are fitted by the least squares method to generate a preset concentration model.
[0019] Based on the above method embodiments, the present invention provides corresponding device embodiments.
[0020] An embodiment of the present invention provides a material detection device for water samples, comprising: a spectrum acquisition module, a material type acquisition module and a material concentration acquisition module;
[0021] The spectrum acquisition module is used to obtain the gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in the gas phase state;
[0022] The material type acquisition module is used to compare the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determine the type of the material to be tested in the water sample to be tested according to the comparison result; wherein, the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum;
[0023] The material concentration acquisition module is used to determine the concentration value corresponding to the material to be tested in the water sample to be tested according to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material of the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
[0024] Based on the above method embodiments, the present invention provides corresponding terminal device embodiments.
[0025] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the material detection method of a water sample described in the above-mentioned embodiment of the invention is implemented.
[0026] Based on the above method embodiments, the present invention provides corresponding storage medium item embodiments.
[0027] Another embodiment of the present invention provides a method in which the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a material detection method for water samples as described in the above-mentioned embodiment of the invention.
[0028] The following beneficial effects are achieved by implementing the present invention:
[0029] The embodiment of the present invention provides a material detection method, device, terminal device and storage medium for water samples. The material detection method for water samples is to obtain several gas phase characteristic spectra after converting the material to be tested in the water sample to be tested into a gas phase, compare the several gas phase characteristic spectra of the water sample to be tested with a preset qualitative recognition model, and obtain several material types of the water sample to be tested; and compare the characteristic spectra of the water sample to be tested with a preset quantitative recognition model to obtain the concentration values corresponding to the several material types. Compared with the prior art, the present invention is based on obtaining several gas phase characteristic spectra after the water sample to be tested is converted into a gas phase, and analyzing the several gas phase characteristic spectra with a preset qualitative recognition model and a preset quantitative recognition model to obtain the materials and material concentrations contained in the water sample to be tested, thereby realizing the detection of water samples in a circulating water system and obtaining the materials and concentrations that may be leaked, without using a traditional online probe to detect the water sample, so there is no problem that the online probe is easily contaminated, resulting in the problem that the detection structure is not accurate enough when the water sample is detected, so that the final detection result of the water sample is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 The figure is a flow chart of a material detection method for a water sample provided by an embodiment of the present invention.
[0031] Figure 2 It is a schematic structural diagram of a material detection device for water samples provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] like Figure 1 FIG. 1 is a flow chart of a material detection method for a water sample provided by an embodiment of the present invention.
[0034] An embodiment of the present invention provides a method for detecting materials in water samples, comprising:
[0035] Step S1: obtaining a gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in a gas phase state;
[0036] Step S2: comparing the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determining the type of the material to be tested in the water sample to be tested according to the comparison result; wherein the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum;
[0037] Step S3: Determine the concentration value corresponding to the material to be tested in the water sample to be tested according to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material in the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
[0038] For step S1, in a preferred embodiment, obtaining a gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in a gas phase state specifically includes:
[0039] The gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in the gas phase state is obtained by transforming the gas phase infrared spectrum of the material to be tested obtained by detecting the material to be tested of the water sample to be tested in the gas phase state by the infrared spectrometer. That is, by transforming the gas phase infrared spectrum of each material to be tested by Fourier infrared spectroscopy, the gas phase characteristic spectrum of the material to be tested corresponding to each gas phase infrared spectrum of the material to be tested can be generated.
[0040] It should be noted that the materials to be tested are various materials contained in the water sample to be tested; that is, it is necessary to obtain the gas phase characteristic spectrum corresponding to each material to be tested in the water sample to be tested.
[0041] For step S2, in a preferred embodiment, the gas phase characteristic spectrum corresponding to the material to be tested is compared with the gas phase characteristic spectrum of each standard sample, and the type of the material to be tested in the water sample to be tested is determined according to the comparison result, specifically including:
[0042] Calculating the difference between the height of the gas phase characteristic spectrum corresponding to the material to be tested in the water sample to be tested and the height of the gas phase characteristic spectrum of each standard sample to obtain a number of distance differences;
[0043] The gas phase characteristic spectrum of the standard sample corresponding to the smallest distance difference is used as the gas phase characteristic spectrum of the target standard sample;
[0044] Determine the material type of the material to be tested in the water sample according to the gas phase characteristic spectrum of the target standard sample.
[0045] It should be noted that, because there are multiple materials to be tested in the water sample to be tested, for the gas phase characteristic spectrum corresponding to each material to be tested, the corresponding target standard gas phase characteristic spectrum needs to be calculated to determine the material type of different materials to be tested.
[0046] Schematically, in a preferred embodiment, the establishment of the gas phase characteristic spectrum of each standard sample includes:
[0047] Taking a standard water sample of a preset concentration; wherein the standard water sample includes a plurality of standard materials of a preset concentration;
[0048] The standard sample materials in the standard sample water sample are transferred to the gas phase according to the gas lift separation technology, and each material of the standard sample water sample is detected by an infrared spectrometer when it is in the gas phase state, and a standard sample gas phase infrared spectrum corresponding to each standard sample material is obtained;
[0049] The standard sample gas phase infrared spectrum corresponding to each standard sample material is obtained when the standard sample water sample is in the gas phase state, and each gas phase infrared spectrum is transformed according to Fourier transform infrared spectroscopy to generate a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum.
[0050] In one embodiment of the present invention, the water sample to be tested and the standard water sample are converted into gas phase by gas lift separation technology, and then the gas phase infrared spectrum corresponding to each material in the gas phase is collected by an infrared spectrometer, which can avoid the problem that the online probe is easily contaminated and cannot accurately detect the water sample. That is, in one embodiment of the present invention, the corresponding gas phase characteristic spectrum is obtained by converting the water sample into gas phase and then detecting it, so that the final detection result of the water sample is more accurate.
[0051] Among them, the concentration of materials in the gas phase can be quickly detected by infrared spectroscopy, and the gas lift separation technology can make the speed of converting the water sample into the gas phase meet the rapid detection of infrared spectroscopy. That is, the use of this embodiment of the present invention can reduce the manpower requirements for detecting water samples and improve the efficiency of water sample detection. The area where the leaked material is located can also be quickly located through the detection results.
[0052] For step S3, in a preferred embodiment, according to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model, determining the concentration value corresponding to the material to be tested in the water sample to be tested specifically includes:
[0053] The establishment of the preset concentration model includes:
[0054] Obtain the concentration value corresponding to each standard material of the standard water sample;
[0055] Obtaining a standard sample gas phase characteristic spectrum corresponding to each standard sample material when the standard sample water sample is in a gas phase state;
[0056] Generate a preset concentration model according to each standard sample gas phase characteristic spectrum and the corresponding concentration value;
[0057] Specifically, in a preferred embodiment, generating a preset concentration model according to each standard sample gas phase characteristic spectrum and the corresponding concentration value specifically includes:
[0058] Determine the height of the gas phase characteristic spectrum of each standard sample;
[0059] The concentration values of the standard materials corresponding to each height are fitted by the least squares method to generate a preset concentration model.
[0060] Specifically, in a preferred embodiment, the height of the standard sample gas phase characteristic spectrum corresponding to each standard sample material is proportional to the concentration value corresponding to each standard sample material. That is, after comparing the gas phase characteristic spectrum corresponding to the material to be tested with the preset concentration model, the concentration of the material to be tested in the water sample to be tested can be directly obtained through the gas phase characteristic spectrum corresponding to the material to be tested.
[0061] An embodiment of the present invention compares the gas phase characteristic spectrum corresponding to the material to be tested in the water sample to be tested with the preset gas phase characteristic spectra of each standard sample and the preset concentration model, thereby determining the type and concentration of each material to be tested, so that the result of water sample detection is more accurate; the location of material leakage in the heat exchange equipment can also be determined through the detection result of the water sample, that is, by obtaining the type and concentration of the material in the water sample, to avoid water quality deterioration, thereby ensuring long-term operation of the heat exchange equipment.
[0062] like Figure 2 As shown, based on the above-mentioned embodiments of the material detection method of various water samples, the present invention provides corresponding device embodiments;
[0063] An embodiment of the present invention provides a material detection device for water samples, comprising: a spectrum acquisition module, a material type acquisition module and a material concentration acquisition module;
[0064] The spectrum acquisition module is used to obtain the gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in the gas phase state;
[0065] The material type acquisition module is used to compare the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determine the type of the material to be tested in the water sample to be tested according to the comparison result; wherein, the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum;
[0066] The material concentration acquisition module is used to determine the concentration value corresponding to the material to be tested in the water sample to be tested according to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material of the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
[0067] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0068] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0069] Based on the above-mentioned embodiments of the material detection method for various water samples, the present invention provides corresponding embodiments of terminal equipment items.
[0070] An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a material detection method for water samples described in any method embodiment of the present invention is implemented.
[0071] The terminal device may be a computing terminal device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0072] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0073] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0074] Based on the above-mentioned embodiments of the material detection method for various water samples, the present invention provides corresponding storage medium item embodiments.
[0075] An embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a material detection method for water samples described in any method embodiment of the present invention.
[0076] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0077] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A material detection method for water samples, characterized in that: include: Obtaining a gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in a gas phase state; Compare the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determine the type of the material to be tested in the water sample to be tested according to the comparison result; wherein the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum; According to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model, the concentration value corresponding to the material to be tested in the water sample to be tested is determined; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material of the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
2. A material detection method for water samples as claimed in claim 1, characterized in that: The step of comparing the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectra of each standard sample, and determining the type of the material to be tested in the water sample to be tested according to the comparison result, specifically includes: Calculating the difference between the height of the gas phase characteristic spectrum corresponding to the material to be tested in the water sample to be tested and the height of the gas phase characteristic spectrum of each standard sample to obtain a number of distance differences; The gas phase characteristic spectrum of the standard sample corresponding to the smallest distance difference is used as the gas phase characteristic spectrum of the target standard sample; Determine the material type of the material to be tested in the water sample according to the gas phase characteristic spectrum of the target standard sample.
3. A material detection method for water samples as claimed in claim 1, characterized in that: When the standard sample material of the standard water sample is in a gas phase state, each standard sample material is detected by an infrared spectrometer to generate a standard sample gas phase infrared spectrum corresponding to each standard sample material.
4. A material detection method for water samples as claimed in claim 1, characterized in that: The step of generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum specifically includes: Each gas phase infrared spectrum is transformed according to Fourier transform infrared spectroscopy to generate a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum.
5. A material detection method for water samples as claimed in claim 1, characterized in that: The generating of a preset concentration model according to each standard sample gas phase characteristic spectrum and the corresponding concentration value comprises: Determine the height of the gas phase characteristic spectrum of each standard sample; The concentration values of the standard materials corresponding to each height are fitted by the least squares method to generate a preset concentration model.
6. A material detection device for water samples, characterized in that: include: Spectrum acquisition module, material type acquisition module and material concentration acquisition module; The spectrum acquisition module is used to obtain the gas phase characteristic spectrum corresponding to the material to be tested when the water sample to be tested is in the gas phase state; The material type acquisition module is used to compare the gas phase characteristic spectrum corresponding to the material to be tested with the gas phase characteristic spectrum of each standard sample, and determine the type of the material to be tested in the water sample to be tested according to the comparison result; wherein, the establishment of each standard sample gas phase characteristic spectrum includes: obtaining a standard sample gas phase infrared spectrum corresponding to each standard sample material when the standard water sample is in a gas phase state; generating a standard sample gas phase characteristic spectrum corresponding to each standard sample gas phase infrared spectrum according to each standard sample gas phase infrared spectrum; The material concentration acquisition module is used to determine the concentration value corresponding to the material to be tested in the water sample to be tested according to the gas phase characteristic spectrum corresponding to the material to be tested and the preset concentration model; wherein, the establishment of the preset concentration model includes: obtaining the concentration value corresponding to each standard material of the standard water sample; obtaining the standard gas phase characteristic spectrum corresponding to each standard material when the standard water sample is in the gas phase state; generating the preset concentration model according to each standard gas phase characteristic spectrum and the corresponding concentration value.
7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a material detection method for a water sample as described in any one of claims 1 to 5 is implemented.
8. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute a material detection method for a water sample as described in any one of claims 1 to 5.