A toci full-spectrum anion true value monitoring method, system, device and medium

By acquiring and analyzing the response signal of full-spectrum anions, calculating the peak shape parameter difference value and performing feature correction, and reconstructing the true response peak, the accuracy problem of monitoring low-concentration anions under high-concentration background is solved, and accurate detection under high background interference is achieved.

CN120853708BActive Publication Date: 2026-03-17KECHUANG STARLIGHT (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-25
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In the presence of high-concentration background anions, existing technologies struggle to accurately monitor low-concentration target anions, leading to decreased detection accuracy.

Method used

By acquiring the full-spectrum response signal of anions, the background and target response peaks are plotted, the peak shape parameter difference is calculated, feature correction command compensation is performed, the true response peak is reconstructed, and the target anion concentration is calculated in combination with the background suppression effect.

Benefits of technology

It significantly improves the accuracy of target anion detection under high background interference, avoids the problem of incomplete pretreatment and separation in traditional technologies, and achieves accurate monitoring of low-concentration anions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120853708B_ABST
    Figure CN120853708B_ABST
Patent Text Reader

Abstract

The application discloses a Toci full-spectrum anion true value monitoring method, system, device and medium, and relates to the technical field of chemical analysis. The method comprises the following steps: acquiring a response signal in a target water sample; taking time as a horizontal coordinate axis and the response signal as a vertical coordinate axis; drawing a background response peak and a target response peak; acquiring a peak shape parameter of the background response peak; calculating a difference value between the peak shape parameter and a preset reference peak shape parameter; converting the difference value into a feature correction instruction; compensating the target response peak based on the feature correction instruction to obtain a true response peak; calculating a first peak area of the true response peak; obtaining an initial concentration of a target anion according to the first peak area; acquiring a background concentration of a background anion; calculating a concentration adjustment coefficient according to the background concentration; multiplying the initial concentration and the concentration adjustment coefficient to obtain a target concentration of the target anion. The technical scheme provided by the application can improve the accuracy of monitoring the target anion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of chemical analysis, specifically to a method, system, device, and medium for monitoring the true value of Toci full-spectrum anions. Background Technology

[0002] TOCi is a comprehensive index representing the total amount of organic matter in water. It measures all anions and carbon-containing substances in the water, including heteroatoms such as halogens and sulfur, all of which are reflected in the TOCi value. Therefore, it is often used to evaluate the degree of trace organic pollution in water bodies. When organic matter enters a thermal system, it decomposes under high temperature and pressure, increasing the uniform hydrogen conductivity. The main products are carboxylic acids, carbon dioxide, and water. Common degradation products include formic acid and acetic acid, which leads to a decrease in the pH of the steam in the thermal system. A low pH can exacerbate corrosion in the thermal system and promote green-induced stress corrosion of turbine blades. To prevent scaling and corrosion in the boiler and poor steam quality, and for the protection of thermal power unit equipment, higher requirements have been placed on monitoring indicators.

[0003] Currently, the system separates different anions using a separation column, acquires response signals using a conductivity detector, and establishes a standard working curve. Analysts first fully equilibrate the system using a mobile phase, then measure a series of standard solutions of known concentrations, recording the response signals of each component and establishing the correlation between the response signal and concentration. In actual sample analysis, the measured response signals are directly substituted into the standard curve equation to calculate the concentration value of the target analyte.

[0004] However, because ion analysis is an interconnected and dynamic system, the presence of each component in the sample affects the entire separation process. Especially in the presence of high concentrations of background anions, the system's response characteristics change significantly, and the detector output signal actually contains the superposition of multiple effects. For example, high concentrations of background anions affect the ion exchange balance of the separation system, altering the retention of target anions; they also occupy a large number of active sites, reducing the system's response sensitivity to low concentrations of target anions. This method of directly using the superimposed signal for quantitative analysis reduces the accuracy of target anion monitoring. Summary of the Invention

[0005] This application provides a method, system, device, and medium for monitoring the true value of Toci full-spectrum anions, which can achieve accurate monitoring of low-concentration target anions in the presence of high-concentration background anions.

[0006] The first aspect of this application provides a method for monitoring the true value of Toci full-spectrum anions, specifically including:

[0007] The response signal of full-spectrum anions in the target water sample is obtained, wherein the full-spectrum anions include background anions and target anions, and the response signal includes the background response signal of background anions and the target response signal of target anions;

[0008] With time as the horizontal axis and the response signal as the vertical axis, plot the background response peak corresponding to the background response signal and the target response peak corresponding to the target response signal.

[0009] Obtain the peak shape parameters of the background response peak, and calculate the difference between the peak shape parameters and the preset reference peak shape parameters;

[0010] The difference value is converted into a feature correction instruction, and the target response peak is compensated based on the feature correction instruction to obtain the true response peak;

[0011] Calculate the first peak area of ​​the true response peak, and obtain the initial concentration of the target anion based on the first peak area;

[0012] The background concentration of the background anions is obtained, and the degree of inhibition of the target anions by the background anions is calculated based on the background concentration to obtain the concentration adjustment coefficient;

[0013] The target concentration of the target anion is obtained by multiplying the initial concentration by the concentration adjustment coefficient.

[0014] By employing the above technical solution, a complete signal analysis foundation encompassing both background and target anions is first established by acquiring the full-spectrum anion response signal in the water sample. Then, by measuring the peak shape parameters of the background response peak and comparing them with benchmark parameters, the influence of background anions on the detection system is quantified. Next, the target response peak is reconstructed using feature correction instructions, effectively eliminating peak shape distortion caused by background interference. Finally, by calculating the true response peak area and combining it with background suppression compensation, the actual concentration of the target anion is accurately obtained. This measurement method based on peak shape feature analysis and signal reconstruction avoids the problem of incomplete preprocessing separation in traditional techniques and establishes a synergistic mechanism between response signal processing, peak shape reconstruction, and concentration correction, thereby significantly improving the accuracy of target anion detection under high background interference.

[0015] Optionally, the peak shape parameters include peak height, peak width, and asymmetry. The step of obtaining the peak shape parameters of the background response peak and calculating the difference between the peak shape parameters and a preset reference peak shape parameter includes:

[0016] The retention time of the highest value of the background response peak and the reference retention time in the reference peak shape parameters are obtained. The difference between the retention time and the reference retention time is used as the peak position shift. The reference retention time is the retention time of the background anion obtained when measured in a pure solvent without interference.

[0017] Obtain the half-width at half maximum (WHM) of the background response peak and the reference half-width at half maximum (WHM) in the reference peak shape parameters, and use the ratio between the WHM and the reference WHM as the peak width factor.

[0018] The asymmetry is obtained by calculating the ratio between the width of the second half and the width of the first half at the preset peak height ratio. The reference asymmetry in the reference peak shape parameters is obtained, and the difference between the asymmetry and the reference asymmetry is taken as the asymmetry change.

[0019] Calculate the weighted sum of squares of the peak position shift, the peak width factor, and the asymmetry change, and then take the square root of the weighted sum of squares to obtain the difference between the peak shape parameter and the preset reference peak shape parameter.

[0020] By employing the aforementioned technical solution and extracting features across three dimensions—retention time, full width at half maximum (FWHM), and asymmetry—the morphological characteristics of the background response peak were comprehensively characterized. A calculation method combining ratios and differences accurately quantified the degree of variation in each parameter. Finally, through weighted sum-of-squares mathematical processing, multiple feature quantities were organically combined to obtain more representative difference values. This multi-dimensional peak shape feature analysis method provides a reliable data foundation for subsequent peak shape correction and significantly improves the accuracy of the analysis.

[0021] Optionally, the step of compensating the target response peak based on the feature correction instruction to obtain the true response peak includes:

[0022] The feature correction instruction is parsed into a set of inverse operation parameters and at least one signal gain factor. The inverse operation parameters are used to counteract the peak distortion characterized by the difference value, and the signal gain factor is used to compensate for the suppression of the target response signal indirectly indicated by the difference value.

[0023] The target response peak is transformed according to the inverse operation parameters to obtain the intermediate target response peak.

[0024] The response signal corresponding to the intermediate target response peak on the vertical axis is taken as the intermediate target response signal. The intermediate target response signal is multiplied by the signal gain factor to obtain the true response signal, and the peak shape formed by the true response signal is taken as the true response peak.

[0025] By employing the above technical solution, the correction process is decomposed into two independent but complementary steps: shape correction and intensity compensation. This addresses the key issues of peak distortion and signal suppression. The introduction of inverse operating parameters ensures the accuracy of peak correction, while the use of a signal gain factor guarantees accurate signal intensity restoration. This reconstruction method based on two-dimensional correction not only improves the accuracy of the analysis but also enhances the method's adaptability and reliability.

[0026] Optionally, the inverse operation parameters include translation, scaling factor, and shearing ratio. The step of performing coordinate transformation on the target response peak based on the inverse operation parameters to obtain the intermediate target response peak includes:

[0027] The first target response peak is obtained by adding the abscissa of each data point on the target response peak to the translation amount;

[0028] Obtain the abscissa of the peak corresponding to the highest peak of the first target response peak, multiply the difference between the abscissa of each first data point of the first target response peak and the abscissa of the peak by the scaling factor, and then add it to the abscissa of the peak to obtain the second target response peak.

[0029] The shear displacement is obtained by multiplying the ordinate of each second data point of the second target response peak by the shear ratio, and then adding each shear displacement to the abscissa of each second data point of the second target response peak to obtain the intermediate target response peak.

[0030] By employing the above-mentioned technical solution, this method achieves comprehensive adjustment of the peak shape of the target response through an ordered combination of three basic geometric transformations: translation, scaling, and shearing. Translation addresses the retention time shift issue, scaling handles peak width variations, and shearing corrects peak asymmetry. This correction method based on multi-step geometric transformations offers advantages such as a clear and controllable transformation process, simple and stable computation, reliable and accurate transformation results, and universal applicability. Through this precise mathematical transformation sequence, a peak shape closer to reality is ultimately obtained, laying a reliable foundation for subsequent quantitative analysis.

[0031] Optionally, calculating the first peak area of ​​the true response peak to obtain the initial concentration of the target anion includes:

[0032] Determine the start and end points of the true response peak on the horizontal axis, and use the interval between the start and end points as the integration interval;

[0033] The area of ​​the first peak is obtained by integrating the region between the true response peak and the preset baseline within the integration interval.

[0034] The first peak area is converted into the initial concentration of the target anion.

[0035] By employing the above technical solution, this approach first avoids integration errors that may arise from blurred peak boundaries by precisely defining the integration interval; secondly, it improves the accuracy of quantitative analysis by considering the influence of the baseline during area calculation; and finally, it achieves a reliable conversion from response signal to concentration by establishing a mapping relationship between peak area and concentration. This method, based on precise integration and mapping conversion, not only ensures the accuracy of area calculation but also establishes a quantitative relationship between area and concentration, providing a reliable basis for obtaining the true concentration of the target anion.

[0036] Optionally, converting the first peak area into the initial concentration of the target anion includes:

[0037] Obtain the preset functional relationship between the concentration and peak area of ​​the target anion, and obtain the reference background peak area of ​​the background anion in an interference-free pure solvent.

[0038] Calculate the actual background peak area of ​​the background response peak, and divide the reference background peak area by the actual background peak area to obtain the response correction multiplier;

[0039] Substituting the area of ​​the first peak into the function correspondence, we obtain the preliminary concentration;

[0040] The initial concentration of the target anion is obtained by multiplying the preliminary concentration by the response correction multiplier.

[0041] By employing the above technical solution, this method quantifies the relationship between the concentration and peak area of ​​the target anion. The introduction of a response correction multiplier ensures the linear accuracy of the concentration calculation. Through the calculation of the actual background peak area and the correction of the response correction multiplier, a precise conversion from response to concentration is ultimately achieved. This linear quantitative method is not only computationally simple but also yields reliable results, providing an effective guarantee for the accurate quantification of target anions.

[0042] Optionally, the step of calculating the inhibition degree of the background anion on the target anion based on the background concentration to obtain the concentration adjustment coefficient includes:

[0043] An equation is constructed between a first ratio and a second ratio. The theoretical peak area is calculated based on the equation. The first ratio is the ratio of the theoretical peak area to the background concentration. The second ratio is the ratio of the baseline background peak area of ​​the background anion in an interference-free pure solvent to the background anion concentration in the interference-free environment.

[0044] The area of ​​the second peak is obtained by integrating the background response peak based on the background response signal.

[0045] The difference between the theoretical peak area and the second peak area is calculated to obtain the signal deviation, and the signal deviation is divided by the theoretical peak area to obtain the deviation rate.

[0046] The concentration adjustment coefficient is obtained by summing the first power of the deviation rate and the second power of the deviation rate, and then adding 1.

[0047] By employing the above technical solution, a standard response benchmark under interference-free conditions is first established through the calculation of the theoretical peak area. Then, the degree of signal suppression caused by background ions is quantified by comparing the actual measured values ​​with the theoretical values. Introducing a combination of first-order and second-order terms of the deviation rate not only considers the linear suppression effect but also includes potential nonlinear interference. This compensation method based on polynomial correction can more comprehensively and accurately characterize the interference effect of background anions, providing a reliable correction basis for the precise determination of target ion concentration. The final concentration adjustment coefficient can effectively eliminate the interference effect of background ions, significantly improving the accuracy of target ion determination in complex matrices.

[0048] A second aspect of this application provides a Toci full-spectrum anion truth value monitoring system, specifically comprising:

[0049] The data acquisition module is used to acquire the response signal of full-spectrum anions in the target water sample. The full-spectrum anions include background anions and target anions. The response signal includes the background response signal of background anions and the target response signal of target anions.

[0050] The drawing module is used to draw the background response peak corresponding to the background response signal and the target response peak corresponding to the target response signal, with time as the horizontal axis and the response signal as the vertical axis.

[0051] The difference value calculation module is used to obtain the peak shape parameters of the background response peak and calculate the difference value between the peak shape parameters and the preset reference peak shape parameters.

[0052] The reconstruction module is used to convert the difference value into a feature correction instruction, and to compensate the target response peak based on the feature correction instruction to obtain the true response peak;

[0053] The initial concentration calculation module is used to calculate the first peak area of ​​the true response peak and obtain the initial concentration of the target anion based on the first peak area.

[0054] The adjustment coefficient calculation module is used to obtain the background concentration of the background anions, calculate the degree of inhibition of the target anions by the background anions based on the background concentration, and obtain the concentration adjustment coefficient.

[0055] The target concentration calculation module is used to multiply the initial concentration by the concentration adjustment coefficient to obtain the target concentration of the target anion.

[0056] By employing the above technical solution, a complete signal analysis foundation encompassing both background and target anions is first established by acquiring the full-spectrum anion response signal in the water sample. Then, by measuring the peak shape parameters of the background response peak and comparing them with benchmark parameters, the influence of background anions on the detection system is quantified. Next, the target response peak is reconstructed using feature correction instructions, effectively eliminating peak shape distortion caused by background interference. Finally, by calculating the true response peak area and combining it with background suppression compensation, the actual concentration of the target anion is accurately obtained. This measurement method based on peak shape feature analysis and signal reconstruction avoids the problem of incomplete preprocessing separation in traditional techniques and establishes a synergistic mechanism between response signal processing, peak shape reconstruction, and concentration correction, thereby significantly improving the accuracy of target anion detection under high background interference.

[0057] A third aspect of this application provides an electronic device including a processor, a memory, a user interface, and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any of the foregoing.

[0058] A fourth aspect of this application provides a computer-readable storage medium storing instructions that, when executed, perform the method described in any of the preceding descriptions. Attached Figure Description

[0059] Figure 1 This is a schematic diagram of the architecture of a Toci full-spectrum anion truth value monitoring system provided in an embodiment of this application;

[0060] Figure 2 This is a flowchart illustrating a method for monitoring the true value of Toci full-spectrum anions provided in an embodiment of this application;

[0061] Figure 3 yes Figure 2 A flowchart illustrating a sub-step of step S103;

[0062] Figure 4 yes Figure 2 A flowchart illustrating a sub-step of step S104;

[0063] Figure 5 yes Figure 4 A flowchart illustrating a sub-step of step S1042;

[0064] Figure 6 yes Figure 2 A flowchart illustrating a sub-step of step S105;

[0065] Figure 7 yes Figure 6 A flowchart illustrating a sub-step of step S1053;

[0066] Figure 8 yes Figure 2 A flowchart illustrating a sub-step of step S106;

[0067] Figure 9 This is a schematic diagram of the structure of a Toci full-spectrum anion truth value monitoring system provided in an embodiment of this application;

[0068] Figure 10 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.

[0069] Explanation of reference numerals in the attached figures: 901, processor; 902, communication bus; 903, user interface; 904, network interface; 905, memory. Detailed Implementation

[0070] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0071] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.

[0072] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0073] Figure 1An architecture for a Toci full-spectrum anion truth value monitoring system is shown 010.

[0074] like Figure 1 As shown, the system architecture 010 may include a detection device 011, a network 012, and an electronic device 013. The network 012 is used to provide a data transmission link between the detection device 011 and the electronic device 013. The network 012 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0075] The detection device 011 can transmit the collected full-spectrum anion response signal to the electronic device 013 via network 012. The detection device 011 is mainly responsible for collecting the response signal of full-spectrum anions in the target water sample, including the background response signal of background anions and the target response signal of target anions.

[0076] The detection device 011 is hardware, which can be an intelligent detection device with ion analysis function, including but not limited to basic components such as ion exchange column, conductivity detector and signal acquisition device.

[0077] Electronic device 013 is responsible for comprehensively analyzing and processing the received response signal, including peak shape feature extraction, signal reconstruction analysis, concentration assessment, and correction. Electronic device 013 can calculate the difference value based on the peak shape parameters of the background response peak, compensate for the target response peak through feature correction commands, and ultimately obtain the true concentration of the target anion. These data processing and analysis results can be used for subsequent monitoring and control decisions.

[0078] It should be noted that a server can be either hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software programs or software modules (e.g., multiple software programs or software modules used to provide distributed services), or as a single software program or software module. No specific limitations are made here.

[0079] It should be understood that Figure 1 The number of detection devices 011, network 012, and electronic devices 013 shown is merely illustrative. Depending on implementation needs, there can be any number of detection devices 011, network 012, and electronic devices 013. In particular, if the target data does not need to be acquired remotely, the above system architecture may exclude network 012 and include only detection devices 011 or electronic devices 013.

[0080] The following description uses an electronic device as an example to illustrate a method for monitoring the true value of Toci full-spectrum anions provided in this application.

[0081] This application provides a method for monitoring the true value of Toci full-spectrum anions, referencing... Figure 2 , Figure 2 This is a flowchart illustrating a Toci full-spectrum anion truth value monitoring method provided in this application embodiment, including steps S101 to S107, as follows:

[0082] S101: Obtain the response signal of full-spectrum anions in the target water sample. The full-spectrum anions include background anions and target anions. The response signal includes the background response signal of background anions and the target response signal of target anions.

[0083] In this embodiment, the target water sample refers to an aqueous solution sample containing multiple ions to be detected. The aqueous solution sample can be industrial wastewater, environmental water, or drinking water, etc. Full-spectrum anions refer to all full-spectrum anions in the target water sample that can be detected by the ion system, including background anions and target anions. Background anions refer to the major anions with high concentrations in the target water sample, such as chloride ions and sulfate ions, which typically have a significant impact on the detection system. Target anions refer to low-concentration anions that require focused monitoring, such as cyanide ions and nitrite ions. The response signal refers to the electrical signal generated when full-spectrum ions pass through the conductivity detector. The background response signal reflects the concentration change characteristics of background anions, while the target response signal corresponds to the concentration information of the target anions.

[0084] Specifically, the electronic device first receives raw conductivity detection data transmitted from the detection device. This data records the changes in the intensity of electrical signals generated by various anions in the target water sample as they pass through the detection device over time. Then, the electronic device preprocesses the raw data, including signal smoothing and baseline correction, to improve data quality. Finally, the electronic device classifies the preprocessed data according to the retention time of different full-spectrum anions, labeling the signals of background anions in the full-spectrum anions as background response signals and the signals of target anions as target response signals.

[0085] S102: Plot the background response peak corresponding to the background response signal and the target response peak corresponding to the target response signal with time as the horizontal axis and the response signal as the vertical axis.

[0086] In this embodiment, the horizontal axis represents the time axis of ions passing through the detector, used to record the retention time characteristics of various ions. The vertical axis refers to the intensity axis of the response signal, used to represent the magnitude of the electrical signal output by the detector. The background response peak refers to the peak-shaped curve formed by the background response signal in the coordinate system, reflecting the changing trend of the background anion concentration over time, while the target response peak refers to the peak-shaped curve formed by the target response signal in the coordinate system, showing the changing trend of the target anion concentration over time.

[0087] Specifically, the electronic device first establishes a two-dimensional coordinate system, setting time as the horizontal axis and the response signal as the vertical axis. Then, the electronic device maps the data points of the background response signal onto the two-dimensional coordinate system in chronological order, and obtains the background response peak by fitting the data points. Simultaneously, the electronic device maps the data points of the target response signal onto the two-dimensional coordinate system in the same manner, and fits the data to form the target response peak.

[0088] S103: Obtain the peak shape parameters of the background response peak and calculate the difference between the peak shape parameters and the preset reference peak shape parameters.

[0089] In this embodiment, peak shape parameters represent quantitative indicators used to describe peak morphology characteristics, including parameters such as peak height, peak width, and asymmetry. Peak height refers to the vertical distance from the baseline to the highest point of the response peak, used to characterize signal intensity; peak width represents the time span of the response peak at a specific height, reflecting the separation effect; and asymmetry describes the degree of deviation of the response peak shape. Reference peak shape parameters refer to standard peak shape characteristic values ​​obtained under ideal conditions; these parameters are derived from data measured in a pure solvent without interference. There will be differences between the peak shape parameters and the reference peak shape parameters; the difference indicates the degree to which the actual peak shape parameters deviate from the standard state, with a larger difference indicating more severe peak distortion.

[0090] Specifically, the electronic device first extracts peak shape parameters from the background response peak, including measuring the maximum peak height, calculating the half-width at half-maximum (WHM), and analyzing the peak symmetry. Then, it retrieves the corresponding reference peak shape parameters from a pre-stored database. These reference parameters reflect the standard peak shape characteristics of background anions under ideal conditions. Next, the electronic device calculates the difference between the measured retention time and the reference retention time to obtain the peak position shift, the ratio of the measured WHM to the reference WHM to obtain the peak width factor, and the difference between the measured asymmetry and the reference asymmetry to obtain the asymmetry change. Finally, the electronic device performs weighted square processing on the peak position shift, peak width factor, and asymmetry change, sums these weighted squares, and takes the square root to obtain the difference value characterizing the overall peak shape variation.

[0091] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating a sub-step of step S103 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, step S103: obtaining the peak shape parameters of the background response peak and calculating the difference between the peak shape parameters and the preset reference peak shape parameters, may specifically include the following steps:

[0092] S1031: Obtain the retention time of the highest value of the background response peak and the reference retention time in the reference peak shape parameter. Use the difference between the retention time and the reference retention time as the peak position shift. The reference retention time is the retention time obtained when the background anion is measured in a pure solvent without interference.

[0093] In the embodiments of this application, the peak position shift is used to represent the degree of deviation of the retention time under actual measurement conditions relative to standard conditions, which can reflect the degree of interference to the separation system.

[0094] Specifically, the electronic device first locates the highest peak height on the background response peak and records the corresponding x-coordinate value as the retention time. Then, the electronic device reads the reference retention time of the corresponding background anion, which is a standard value measured in a pure solvent without interference. Finally, the electronic device subtracts the reference retention time from the current retention time to obtain the peak shift, which characterizes the degree of peak position shift.

[0095] S1032: Obtain the half-width at half maximum (WHM) of the background response peak and the reference half-width at half maximum (WHM) in the reference peak shape parameters, and use the ratio between the WHM and the reference half-width at half maximum (WHM) as the peak width factor.

[0096] In the embodiments of this application, the peak width factor represents the ratio between the actual half-peak width and the reference half-peak width, and is used to quantify the degree of change in peak broadening. The greater the deviation from 1, the more severe the peak distortion.

[0097] Specifically, the electronic device first locates the maximum peak height on the background response peak and calculates the 50% height position of the maximum peak height. Then, at the 50% height position, the electronic device measures the time span of the background response peak to obtain the half-width at half-maximum (HWHM). Next, the electronic device retrieves the corresponding baseline HWHM from the baseline peak shape parameters; this baseline HWHM reflects the standard HWHM characteristics under ideal conditions. Finally, the electronic device divides the measured HWHM by the baseline HWHM to obtain the peak width factor, which characterizes the degree of peak broadening.

[0098] S1033: Calculate the ratio between the width of the second half and the width of the first half at the preset peak height ratio to obtain the asymmetry, obtain the reference asymmetry in the reference peak shape parameters, and use the difference between the asymmetry and the reference asymmetry as the asymmetry change.

[0099] In the embodiments of this application, the asymmetry change is used to represent the degree of deviation of the asymmetry from the standard state under actual measurement conditions.

[0100] Specifically, the electronic device first locates the peak position on the background response peak and divides the response peak into two parts at a preset peak height ratio. Then, the electronic device measures the width of the first half and the width of the second half respectively, and calculates their ratio to obtain the asymmetry. Next, the electronic device reads the corresponding reference asymmetry value from the reference peak shape parameters; this reference asymmetry reflects the peak shape symmetry characteristics under standard conditions. Finally, the electronic device subtracts the reference asymmetry from the measured asymmetry to obtain the asymmetry change, which characterizes the degree of change in peak shape symmetry.

[0101] S1034: Calculate the weighted sum of squares of peak position shift, peak width factor, and asymmetry change, and then take the square root of the weighted sum of squares to obtain the difference between the peak shape parameter and the preset reference peak shape parameter.

[0102] Specifically, the electronic device first weights and squares the peak position shift, reflecting the influence of retention time shift on peak shape. Then, it weights and squares the peak width factor, quantifying the contribution of peak broadening variation. Next, it weights and squares the asymmetry variation, reflecting the impact of peak shape symmetry variation. Afterward, the electronic device sums these three weighted squared values ​​to obtain a weighted sum of squares. Finally, it performs a square root operation on the weighted sum of squares to obtain the difference between the peak shape parameters and the preset baseline peak shape parameters.

[0103] S104: Convert the difference value into a feature correction instruction, and compensate the target response peak based on the feature correction instruction to obtain the true response peak.

[0104] In this embodiment, the feature correction command represents a digital operation command used to correct peak distortion, and the specific correction parameters are determined based on the magnitude and type of the difference value. The true response peak obtained after compensation by the feature correction command is a peak that is closer to the actual concentration distribution, and can more accurately reflect the concentration information of the target anion.

[0105] Specifically, the electronic device first determines the correction coefficient based on the numerical range of the difference value: a linear correction coefficient is used when the difference value is less than a first threshold; a quadratic correction coefficient is used when the difference value is between the first and second thresholds; and an exponential correction coefficient is used when the difference value is greater than the second threshold. The correction coefficient is multiplied by the difference value to generate a characteristic correction instruction containing the correction type and magnitude. Then, the electronic device identifies regions in the target response peak that are distorted by background interference; these regions typically exhibit peak asymmetry or peak position shift. Next, the electronic device performs mathematical processing on the target response peak according to the parameters in the characteristic correction instruction, including peak position calibration, peak shape reconstruction, and baseline correction. Finally, the electronic device completes the compensation process to obtain a more accurate true response peak reflecting the target anion concentration distribution.

[0106] Please refer to Figure 4 , Figure 4 This is a flowchart illustrating a sub-step of step S104 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, S104: the step of compensating the target response peak based on feature correction instructions to obtain the true response peak may specifically include the following steps:

[0107] S1041: The feature correction instruction is parsed into a set of inverse operation parameters and at least one signal gain factor. The inverse operation parameters are used to counteract the peak distortion characterized by the difference value, and the signal gain factor is used to compensate for the suppression of the target response signal indirectly indicated by the difference value.

[0108] In this embodiment, the feature correction instruction is parsed into a set of inverse operation parameters and at least one signal gain factor. The inverse operation parameters represent a set of numerical parameters used to correct peak distortion. These parameters are opposite in direction to the peak distortion characterized by the difference value, and are used to counteract peak distortion. The signal gain factor is a correction coefficient used to compensate for signal intensity loss, which can enhance the target response signal suppressed by background anion interference.

[0109] Specifically, the electronic device first decomposes the feature correction command into a peak shape correction part and a signal strength correction part. Then, the electronic device extracts inverse operation parameters from the peak shape correction part, including a time parameter for correcting peak offset, a width parameter for correcting peak broadening, and a shape parameter for adjusting asymmetry. Next, the electronic device extracts a signal gain factor from the signal strength correction part; its magnitude is positively correlated with the difference value, with a larger difference value indicating more severe signal suppression and a larger corresponding signal gain factor. Finally, the electronic device completes the parsing of the feature correction command, obtaining a set of inverse operation parameters and at least one signal gain factor.

[0110] S1042: Perform coordinate transformation calculation on the target response peak according to the inverse operation parameters to obtain the intermediate target response peak.

[0111] In the embodiments of this application, the intermediate target response peak refers to the transitional response curve obtained after coordinate transformation, which has completed peak shape correction but has not yet undergone signal strength compensation.

[0112] Specifically, the electronic device first represents each data point of the target response peak as a time coordinate and a response signal coordinate. Then, based on the time transformation coefficients in the inverse operation parameters, the electronic device performs a nonlinear transformation on the time coordinate of each data point to correct peak position shift and peak broadening. Next, the electronic device uses the response signal transformation coefficients in the inverse operation parameters to reconstruct the response signal coordinates of each data point, correcting peak shape asymmetry. Finally, the electronic device reconnects all the transformed data points to obtain the intermediate target response peak with its corrected peak shape.

[0113] Please refer to Figure 5 , Figure 5 This is a flowchart illustrating a sub-step of step S1042 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, S1042: the step of performing coordinate transformation calculations on the target response peak according to the inverse operation parameters to obtain the intermediate target response peak may specifically include the following steps:

[0114] S10421: Add the abscissa of each data point on the target response peak to the translation amount to obtain the first target response peak.

[0115] In this embodiment, the first target response peak represents the response curve after horizontal axis translation correction, thus completing the retention time correction.

[0116] Specifically, the electronic device first identifies all data points on the target response peak, each with a specific abscissa value. Then, it adds the shift amount determined in the inverse operation parameters to the abscissa of each data point, causing all data points to move synchronously along the time axis. Next, the electronic device keeps the ordinate values ​​of each data point unchanged, ensuring that the response signal strength is unaffected by the shift process. Finally, the electronic device reconnects all the shifted data points according to the new abscissas to obtain the first target response peak after retention time correction.

[0117] S10422: Obtain the abscissa of the highest peak of the first target response peak, multiply the difference between the abscissa of each first data point of the first target response peak and the abscissa of the peak by the scaling factor, and then add it to the abscissa of the peak to obtain the second target response peak.

[0118] In the embodiments of this application, the second target response peak refers to the response curve after peak width adjustment, which completes the dual correction of retention time and peak broadening.

[0119] Specifically, the electronic device first scans all response signals on the first target response peak to determine the location of the strongest signal and obtains the corresponding peak-top abscissa. Then, the electronic device calculates the difference between the abscissa of each first data point on the first target response peak and the peak-top abscissa; these differences reflect the time distance from each point to the peak-top. Next, the electronic device multiplies each difference by the scaling factor in the inverse operation parameters to obtain the adjusted time distance. Finally, the electronic device adds the adjusted time distance to the peak-top abscissa to obtain the new abscissa of each data point, and reconnects all data points according to the new abscissa to form the second target response peak after broadening correction.

[0120] S10423: Multiply the ordinate of each second data point of the second target response peak by the shear ratio to obtain each shear displacement, and add each shear displacement to the abscissa of each second data point of the second target response peak to obtain the intermediate target response peak.

[0121] In the embodiments of this application, the third target response peak represents the response curve after asymmetry correction, which completes the triple correction of retention time, peak broadening and peak shape asymmetry.

[0122] Specifically, the electronic device first acquires the ordinate value of each second data point on the second target response peak; these values ​​reflect the response signal at different times. Then, the electronic device multiplies the ordinate of each second data point by the shear ratio in the inverse operation parameters to obtain the corresponding shear displacement. Next, the electronic device adds each shear displacement to the abscissa of the corresponding second data point, achieving a non-uniform lateral shift based on the response signal. Finally, the electronic device reconnects all the shear-corrected data points to obtain the intermediate target response peak after asymmetry correction.

[0123] S1043: The response signal corresponding to the intermediate target response peak on the vertical axis is taken as the intermediate target response signal. The intermediate target response signal is multiplied by the signal gain factor to obtain the true response signal, and the peak shape formed by the true response signal is taken as the true response peak.

[0124] Specifically, the electronic device first extracts the response signal on the vertical axis from the intermediate target response peak, using it as the intermediate target response signal. Then, it multiplies this intermediate target response signal by the signal gain factor in the inverse operation parameters to compensate for signal suppression caused by background interference. Next, the electronic device uses the compensated signal as the true response signal, which more accurately reflects the concentration level of the target analyte. Finally, the electronic device reconstructs the peak shape of the true response signal in chronological order to obtain the true response peak after complete correction.

[0125] S105: Calculate the area of ​​the first peak of the true response peak and obtain the initial concentration of the target anion based on the area of ​​the first peak.

[0126] In this embodiment, the first peak area refers to the area enclosed between the actual response peak and the preset baseline, which is obtained by integrating the response signal over time.

[0127] Specifically, the electronic device first performs numerical integration on the true response peak, converting the response signal's change over time into a quantitative area value to obtain the first peak area. Then, the electronic device calls a pre-established standard working curve equation and, by measuring the peak areas of a series of standard solutions with known concentrations, uses the least squares method to fit a linear equation relating peak area to concentration. Next, the electronic device substitutes the calculated first peak area into the standard working curve equation to obtain the initial concentration of the target anion corresponding to the first peak area.

[0128] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating a sub-step of step S105 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, S105: calculating the first peak area of ​​the true response peak and obtaining the initial concentration of the target anion based on the first peak area, may specifically include the following steps:

[0129] S1051: Determine the starting and ending points of the true response peak on the horizontal axis, and use the interval between the starting and ending points as the integration interval.

[0130] Specifically, the electronic device first scans the response signal of the true response peak along the horizontal axis, observing the degree of deviation of the signal from the baseline. Then, the electronic device determines the starting point at the location where the response signal begins to deviate from the baseline; the starting point is the time marker of the target entering the detector. Next, the electronic device continues scanning until it finds the location where the response signal returns to the baseline, and determines this as the ending point. Finally, the electronic device defines the time range between the starting and ending points as the integration interval.

[0131] S1052: Perform integration on the region between the true response peak and the preset baseline within the integration interval to obtain the area of ​​the first peak.

[0132] Specifically, the electronic device first establishes a preset baseline within a defined integration interval, the height of which is determined by the response signal levels at both ends of the interval. Then, the electronic device determines the region between the true response peak curve and the preset baseline; this region contains all valid signals required for integration. Next, the electronic device uses a numerical integration method to divide the region into several smaller intervals and accumulates the area values ​​between each interval. Finally, the electronic device sums the areas of all the smaller intervals to obtain the area of ​​the first peak characterizing the content of the target substance.

[0133] S1053: Convert the area of ​​the first peak into the initial concentration of the target anion.

[0134] Specifically, the electronic device first invokes a pre-established standard working curve equation relating peak area to concentration, which is a linear equation obtained by measuring standard solutions of different concentrations. Then, the electronic device substitutes the calculated first peak area into the independent variable position of the standard working equation. Next, the electronic device performs calculations using the standard working equation to convert the first peak area into the corresponding concentration value, thus obtaining the initial concentration of the target anion.

[0135] Please refer to Figure 7 , Figure 7 This is a flowchart illustrating a sub-step of step S1053 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, S1053: the step of converting the first peak area into the initial concentration of the target anion, may specifically include the following steps:

[0136] S10531: Obtain the functional relationship between the concentration and peak area of ​​the preset target anion, and obtain the baseline background peak area of ​​the background anion in a pure solvent without interference.

[0137] Specifically, the electronic device first measures a series of target anion standard solutions of known concentrations to obtain a one-to-one functional correspondence between the peak area and concentration of the target anion. Then, the electronic device analyzes the target anion standard solutions and records the response peaks of background anions. Finally, the electronic device calculates the baseline background peak area of ​​the background anions through integration.

[0138] S10532: Calculate the actual background peak area of ​​the background response peak, and divide the reference background peak area by the actual background peak area to obtain the response correction multiplier.

[0139] In the embodiments of this application, the response correction multiplier refers to the ratio of the reference background peak area to the actual background peak area, which is used to evaluate and correct the degree of signal suppression caused by background interference.

[0140] Specifically, the electronic device first performs an integral calculation on the background response peak in the sample under test to obtain the actual background peak area, which reflects the actual response intensity. Then, the electronic device uses the pre-obtained reference background peak area as the dividend and the actual background peak area as the divisor to perform a division operation to obtain the response correction multiplier, which characterizes the degree of signal suppression.

[0141] S10533: Substitute the area of ​​the first peak into the function correspondence to obtain the preliminary concentration.

[0142] Specifically, the electronic device first calls the pre-established function correspondence, and then substitutes the calculated first peak area into the independent variable position in the function correspondence to convert the first peak area into a preliminary concentration.

[0143] S10534: Multiply the initial concentration by the response correction multiplier to obtain the initial concentration of the target anion.

[0144] In the embodiments of this application, the initial concentration refers to the actual concentration of the target anion after background interference correction, which more accurately reflects the true content of the target anion in the sample.

[0145] Specifically, the electronic device first confirms the calculated preliminary concentration value and the response correction multiplier value. Then, the electronic device uses the preliminary concentration as the multiplicand and the response correction multiplier as the multiplier to perform a multiplication operation to obtain the initial concentration of the target anion.

[0146] S106: Obtain the background concentration of background anions, calculate the degree of inhibition of target anions by background anions based on the background concentration, and obtain the concentration adjustment coefficient.

[0147] In the embodiments of this application, the concentration adjustment coefficient refers to the correction factor used to correct the background inhibition effect, which is obtained based on the calculation results of the inhibition degree.

[0148] Specifically, the electronic device first analyzes and measures the background concentration of background anions in the sample to reflect the intensity level of background interference. Then, it calculates the difference between the theoretical peak area and the actual peak area, and divides this difference by the theoretical peak area to obtain the deviation rate, which characterizes the degree of suppression. Next, the electronic device substitutes the deviation rate into a polynomial calculation formula to obtain the sum of the deviation rate polynomials. Finally, the electronic device calculates the concentration adjustment coefficient by adding 1 to the sum of the deviation rate polynomials.

[0149] Please refer to Figure 8 , Figure 8 This is a flowchart illustrating a sub-step of step S106 provided in an embodiment of this application. Based on the above embodiment, as an optional embodiment, S106: obtaining the background concentration of background anions, calculating the degree of inhibition of the target anion by the background anions based on the background concentration, and obtaining the concentration adjustment coefficient—this step may specifically include the following steps:

[0150] S1061: Construct an equation for the first ratio and the second ratio, and calculate the theoretical peak area based on the equation. The first ratio is the ratio of the theoretical peak area to the background concentration, and the second ratio is the ratio of the baseline background peak area of ​​the background anion in the uninterrupted pure solvent to the background anion concentration in the uninterrupted environment.

[0151] Specifically, the electronic device first confirms the known background concentration value and the peak area of ​​the pure solvent measured under interference-free conditions, along with the corresponding background anion concentration. Then, the electronic device calculates the ratio of the peak area of ​​the pure solvent to the background anion concentration under interference-free conditions, obtaining a second ratio. Next, the electronic device constructs an equation, setting the first ratio of the unknown theoretical peak area to the background anion concentration equal to the second ratio. Finally, the electronic device obtains the theoretical peak area by solving the equation.

[0152] S1062: Based on the background response signal, perform an integral operation on the background response peak to obtain the area of ​​the second peak.

[0153] In this embodiment, the area of ​​the second peak represents the actual area of ​​the background response peak obtained by integration, reflecting the actual response intensity of the background anions.

[0154] Specifically, the electronic device first acquires the background response signal recorded during the analysis. Then, it identifies and determines the start and end points of the background response peaks on the graph to ensure the accuracy of the integration interval. Next, the electronic device performs integration on the background response peaks within the defined interval, converting the area under the curve into a numerical value to obtain the area of ​​the second peak, which characterizes the intensity of the background response.

[0155] S1063: Calculate the difference between the theoretical peak area and the second peak area to obtain the signal deviation, and divide the signal deviation by the theoretical peak area to obtain the deviation rate.

[0156] Specifically, the electronic device first uses the pre-calculated theoretical peak area as the minuend and the second peak area as the subtrahend. Then, it performs a subtraction operation to calculate the difference between the two peak areas, obtaining the signal deviation characterizing the response deviation. Next, it uses the obtained signal deviation as the dividend and the theoretical peak area as the divisor to perform a division operation. Finally, the electronic device obtains the deviation rate, reflecting the degree of relative deviation.

[0157] S1064: Summing the first power of the deviation rate and the second power of the deviation rate, and adding 1, yields the concentration adjustment coefficient.

[0158] Specifically, the electronic device first calculates the first and second power values ​​of the deviation rate. Then, it adds the calculated first and second power values ​​to obtain a summation result reflecting the overall impact. Next, it adds a constant of 1 to the summation result to obtain the concentration adjustment coefficient.

[0159] S107: Multiply the initial concentration by the concentration adjustment coefficient to obtain the target concentration of the target anion.

[0160] Specifically, the electronic device first determines the initial concentration of the target anion. Then, the electronic device uses the initial concentration as the multiplicand and the concentration adjustment coefficient as the multiplier to perform a multiplication operation to obtain the target concentration.

[0161] refer to Figure 9 This application also provides a Toci full-spectrum anion truth value monitoring system, specifically including:

[0162] The data acquisition module is used to acquire the response signal of full-spectrum anions in the target water sample. The full-spectrum anions include background anions and target anions. The response signal includes the background response signal of background anions and the target response signal of target anions.

[0163] The drawing module is used to draw the background response peak corresponding to the background response signal and the target response peak corresponding to the target response signal, with time as the horizontal axis and the response signal as the vertical axis.

[0164] The difference value calculation module is used to obtain the peak shape parameters of the background response peak and calculate the difference value between the peak shape parameters and the preset reference peak shape parameters.

[0165] The reconstruction module is used to convert the difference value into a feature correction instruction, and to compensate the target response peak based on the feature correction instruction to obtain the true response peak;

[0166] The initial concentration calculation module is used to calculate the first peak area of ​​the true response peak and obtain the initial concentration of the target anion based on the first peak area.

[0167] The adjustment coefficient calculation module is used to obtain the background concentration of the background anions, calculate the degree of inhibition of the target anions by the background anions based on the background concentration, and obtain the concentration adjustment coefficient.

[0168] The target concentration calculation module is used to multiply the initial concentration by the concentration adjustment coefficient to obtain the target concentration of the target anion.

[0169] Optionally, the difference value calculation module is further specifically used for:

[0170] The retention time of the highest value of the background response peak and the reference retention time in the reference peak shape parameters are obtained. The difference between the retention time and the reference retention time is used as the peak position shift. The reference retention time is the retention time of the background anion obtained when measured in a pure solvent without interference.

[0171] Obtain the half-width at half maximum (WHM) of the background response peak and the reference half-width at half maximum (WHM) in the reference peak shape parameters, and use the ratio between the WHM and the reference WHM as the peak width factor.

[0172] The asymmetry is obtained by calculating the ratio between the width of the second half and the width of the first half at the preset peak height ratio. The reference asymmetry in the reference peak shape parameters is obtained, and the difference between the asymmetry and the reference asymmetry is taken as the asymmetry change.

[0173] Calculate the weighted sum of squares of the peak position shift, the peak width factor, and the asymmetry change, and then take the square root of the weighted sum of squares to obtain the difference between the peak shape parameter and the preset reference peak shape parameter.

[0174] Optionally, the reconstruction module is specifically used for:

[0175] The feature correction instruction is parsed into a set of inverse operation parameters and at least one signal gain factor. The inverse operation parameters are used to counteract the peak distortion characterized by the difference value, and the signal gain factor is used to compensate for the suppression of the target response signal indirectly indicated by the difference value.

[0176] The target response peak is transformed according to the inverse operation parameters to obtain the intermediate target response peak.

[0177] The response signal corresponding to the intermediate target response peak on the vertical axis is taken as the intermediate target response signal. The intermediate target response signal is multiplied by the signal gain factor to obtain the true response signal, and the peak shape formed by the true response signal is taken as the true response peak.

[0178] Optionally, the reconstruction module is further specifically used for:

[0179] The first target response peak is obtained by adding the abscissa of each data point on the target response peak to the translation amount;

[0180] Obtain the abscissa of the peak corresponding to the highest peak of the first target response peak, multiply the difference between the abscissa of each first data point of the first target response peak and the abscissa of the peak by the scaling factor, and then add it to the abscissa of the peak to obtain the second target response peak.

[0181] The shear displacement is obtained by multiplying the ordinate of each second data point of the second target response peak by the shear ratio, and then adding each shear displacement to the abscissa of each second data point of the second target response peak to obtain the intermediate target response peak.

[0182] Optionally, the initial concentration calculation module is specifically used for:

[0183] Determine the start and end points of the true response peak on the horizontal axis, and use the interval between the start and end points as the integration interval;

[0184] The area of ​​the first peak is obtained by integrating the region between the true response peak and the preset baseline within the integration interval.

[0185] The first peak area is converted into the initial concentration of the target anion.

[0186] Optionally, the initial concentration calculation module is further specifically used for:

[0187] Obtain the preset functional relationship between the concentration and peak area of ​​the target anion, and obtain the reference background peak area of ​​the background anion in an interference-free pure solvent.

[0188] Calculate the actual background peak area of ​​the background response peak, and divide the reference background peak area by the actual background peak area to obtain the response correction multiplier;

[0189] Substituting the area of ​​the first peak into the function correspondence, we obtain the preliminary concentration;

[0190] The initial concentration of the target anion is obtained by multiplying the preliminary concentration by the response correction multiplier.

[0191] Optionally, the adjustment coefficient calculation module is specifically used for:

[0192] An equation is constructed between a first ratio and a second ratio, and the theoretical peak area is calculated based on the equation. The first ratio is the ratio of the theoretical peak area to the background concentration, and the second ratio is the ratio of the reference background peak area in a pure solvent containing background anions under interference-free conditions to the background anion concentration under interference-free conditions.

[0193] The area of ​​the second peak is obtained by integrating the background response peak based on the background response signal.

[0194] The difference between the theoretical peak area and the second peak area is calculated to obtain the signal deviation, and the signal deviation is divided by the theoretical peak area to obtain the deviation rate.

[0195] The concentration adjustment coefficient is obtained by summing the first power of the deviation rate and the second power of the deviation rate, and then adding 1.

[0196] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0197] This embodiment also discloses an electronic device, as shown in the reference. Figure 10 , Figure 10 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 013 may include: at least one processor 901, at least one communication bus 902, a user interface 903, a network interface 904, and at least one memory 905.

[0198] The communication bus 902 is used to enable communication between these components.

[0199] The user interface 903 may include a display screen, and optionally, the user interface 903 may also include a standard wired interface or a wireless interface.

[0200] The network interface 904 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0201] The processor 901 may include one or more processing cores. The processor 901 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 905, and by calling data stored in the memory 905. Optionally, the processor 901 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array. The processor 901 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 901 and may be implemented as a separate chip.

[0202] The memory 905 may include random access memory (RAM) or read-only memory. Optionally, the memory 905 may include a non-transitory computer-readable storage medium. The memory 905 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 905 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 905 may also be at least one storage device located remotely from the aforementioned processor 901. (See reference...) Figure 10 The memory 905, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a Toci full-spectrum anion truth value monitoring method.

[0203] exist Figure 10In the electronic device shown, the user interface 903 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 901 can be used to call an application program stored in the memory 905 for a Toci full-spectrum anion truth value monitoring method. When executed by one or more processors 901, the electronic device 013 executes one or more methods as described in the above embodiments.

[0204] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0205] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0206] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings or direct couplings or communication connections may be through some service interfaces; indirect couplings or communication connections between apparatuses or units may be electrical or other forms.

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

[0208] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0209] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0210] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will be readily apparent to those skilled in the art upon consideration of the disclosure in this specification. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.

Claims

1. A Toci full-spectrum anion true value monitoring method, characterized in that, The method is applied to an electronic device, and comprises: Obtaining a response signal of a full-spectrum anion in a target water sample, the full-spectrum anion comprising a background anion and a target anion, the response signal comprising a background response signal of the background anion and a target response signal of the target anion; Drawing a background response peak corresponding to the background response signal and a target response peak corresponding to the target response signal on a time axis and a response signal axis; Obtaining a peak shape parameter of the background response peak and calculating a difference value between the peak shape parameter and a preset reference peak shape parameter; Converting the difference value into a feature correction instruction, and parsing the feature correction instruction into a set of reverse operation parameters and at least one signal gain factor, the reverse operation parameters being used to offset a peak shape distortion represented by the difference value, and the signal gain factor being used to compensate for suppression of the target response signal indirectly indicated by the difference value; Performing coordinate transformation operation on the target response peak according to the reverse operation parameters to obtain an intermediate target response peak; Taking a response signal corresponding to the intermediate target response peak on a vertical coordinate axis as an intermediate target response signal, multiplying the intermediate target response signal by the signal gain factor to obtain a true response signal, and taking a peak shape formed by the true response signal as a true response peak; Calculating a first peak area of the true response peak, and obtaining an initial concentration of the target anion according to the first peak area; Obtaining a background concentration of the background anion, constructing an equation of a first ratio and a second ratio, and calculating a theoretical peak area according to the equation, the first ratio being a ratio of the theoretical peak area to the background concentration, and the second ratio being a ratio of a reference background peak area of the background anion in a pure solvent without interference to a background anion concentration in an interference-free environment; Integrating the background response peak according to the background response signal to obtain a second peak area; Calculating a difference value between the theoretical peak area and the second peak area to obtain a signal deviation, and dividing the signal deviation by the theoretical peak area to obtain a deviation rate; Summing a first power of the deviation rate and a second power of the deviation rate and adding 1 to obtain a concentration adjustment coefficient; Multiplying the initial concentration by the concentration adjustment coefficient to obtain a target concentration of the target anion.

2. The method of claim 1, wherein, The peak shape parameter comprises a peak height, a peak width, and an asymmetry degree, and the obtaining of the peak shape parameter of the background response peak and the calculation of a difference value between the peak shape parameter and a preset reference peak shape parameter comprise: Obtaining a retention time of a highest value of the peak height of the background response peak and a reference retention time in the reference peak shape parameter, taking a difference value between the retention time and the reference retention time as a peak position drift amount, and the reference retention time being a retention time obtained when the background anion is measured in a pure solvent without interference; Obtaining a half-peak width of the background response peak and a reference half-peak width in the reference peak shape parameter, and taking a ratio between the half-peak width and the reference half-peak width as a peak width factor. The asymmetry is calculated by calculating a ratio between a back half width and a front half width at a preset peak height ratio, a reference asymmetry in the reference peak shape parameter is obtained, and a difference between the asymmetry and the reference asymmetry is taken as an asymmetry change amount; A weighted square sum of the peak position shift amount, the peak width factor, and the asymmetry change amount is calculated, and a square root of the weighted square sum is taken to obtain a difference value between the peak shape parameter and a preset reference peak shape parameter.

3. The method of claim 1, wherein, The inverse operation parameters include a translation amount, a scaling factor, and a shearing ratio, and the coordinate transformation operation on the target response peak according to the inverse operation parameters to obtain an intermediate target response peak includes: Adding the horizontal coordinates of each data point on the target response peak to the translation amount to obtain a first target response peak; Obtaining a peak top horizontal coordinate corresponding to a highest peak of the first target response peak, multiplying a difference between the horizontal coordinates of each first data point of the first target response peak and the peak top horizontal coordinate by the scaling factor, and then adding the peak top horizontal coordinate to obtain a second target response peak; Multiplying the vertical coordinates of each second data point of the second target response peak by the shearing ratio to obtain each shearing displacement amount, and adding each shearing displacement amount to the horizontal coordinates of each second data point of the second target response peak to obtain an intermediate target response peak.

4. The method of claim 1, wherein, The first peak area of the real response peak is calculated, and an initial concentration of the target anion is obtained according to the first peak area, including: Determining a starting point and an ending point of the real response peak on a horizontal coordinate axis, and taking an interval between the starting point and the ending point as an integral interval; Performing an integral operation on a region between the real response peak and a preset baseline in the integral interval to obtain a first peak area; Converting the first peak area into the initial concentration of the target anion.

5. The method of claim 4, wherein, The conversion of the first peak area into the initial concentration of the target anion includes: Obtaining a preset function corresponding relationship between the concentration and the peak area of the target anion, and obtaining a reference background peak area of the background anion in a pure solvent without interference; Calculating an actual background peak area of the background response peak, and dividing the reference background peak area by the actual background peak area to obtain a response correction multiplier; Substituting the first peak area into the function corresponding relationship to obtain a preliminary concentration; Multiplying the preliminary concentration by the response correction multiplier to obtain the initial concentration of the target anion.

6. A Toci full-spectrum anion true value monitoring system, characterized in that, The Toci full spectrum anion true value monitoring method of claim 1 is applied to an electronic device, and the system includes: A data acquisition module configured to acquire a response signal of a full spectrum anion in a target water sample, the full spectrum anion including a background anion and a target anion, and the response signal including a background response signal of the background anion and a target response signal of the target anion; A drawing module configured to draw a background response peak corresponding to the background response signal and a target response peak corresponding to the target response signal with time as a horizontal coordinate axis and the response signal as a vertical coordinate axis. The difference value calculation module is configured to obtain a peak shape parameter of the background response peak, and calculate a difference value between the peak shape parameter and a preset reference peak shape parameter; The reconstruction module is configured to convert the difference value into a feature correction instruction, and compensate the target response peak based on the feature correction instruction to obtain a real response peak; The initial concentration calculation module is configured to calculate a first peak area of the real response peak, and obtain an initial concentration of the target anion according to the first peak area; The adjustment coefficient calculation module is configured to obtain a background concentration of the background anion, calculate an inhibition degree of the background anion to the target anion according to the background concentration, and obtain a concentration adjustment coefficient; The target concentration calculation module is configured to multiply the initial concentration by the concentration adjustment coefficient to obtain a target concentration of the target anion.

7. An electronic device, comprising: An electronic device includes a processor, a memory, a user interface, and a network interface. The memory is configured to store instructions. The user interface and the network interface are both configured to communicate with other devices. The processor is configured to execute the instructions stored in the memory to cause the electronic device to perform the method of any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method of any one of claims 1-5.

Citation Information

Patent Citations

  • Method for measuring concentration of hydrocarbon gas mixture

    CN118392978A

  • Method for testing anions in electronic grade carbon dioxide

    CN118671217A

  • Method and device for measuring chloride ion peak area based on ion chromatography

    CN119619364A