A water quality analysis method and system based on big data

By matching the data sets in the latest water quality database in real time for water quality analysis, it solves the problem of untimely data updates of water quality analyzers and improves the accuracy and efficiency of analysis.

CN118395329BActive Publication Date: 2024-09-06JIANGXI SHUITOUJIANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410815242.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-06
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The water quality data in existing water quality analyzers is not updated in a timely manner, resulting in the inability to detect new water quality problems in a timely manner and reducing the accuracy of analysis.

Method used

By detecting the collection location of water samples in real time, matching the target analysis data set in the latest water quality database, replacing the initial data set, and conducting water quality analysis according to preset rules to generate analysis results.

Benefits of technology

The accuracy and work efficiency of water quality analysis are improved, and new water quality problems can be discovered in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118395329B
    Figure CN118395329B
Patent Text Reader

Abstract

The present invention provides a water quality analysis method and system based on big data, the method comprising: when it is detected in real time that a user puts a water sample into a water quality analyzer, water body information corresponding to the water sample is detected in real time, the water body information includes the collection location of the water sample; a target analysis data set corresponding to the water sample is matched in real time in a preset water quality database according to the collection location, the preset water quality database contains the latest research data corresponding to various water bodies; an initial analysis data set contained in the water quality analyzer is detected in real time, and the initial analysis data set is replaced with a target analysis data set; based on preset rules, a corresponding water quality analysis is performed on the water sample according to the target analysis data set, and a corresponding analysis result is generated. The present invention can accurately complete water quality analysis, and correspondingly improves work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a water quality analysis method and system based on big data. Background Art

[0002] With the development of society, people pay more and more attention to the protection of the natural environment in order to improve people's living environment.

[0003] Among them, in the process of protecting the environment, existing lakes, rivers and oceans are all important objects of protection. Furthermore, most of the existing technologies collect samples from lakes, rivers and oceans, and further conduct corresponding water quality analysis. According to the analysis results, the corresponding degree of pollution can be determined, so as to make corresponding protection measures according to the degree of pollution.

[0004] Furthermore, in the process of water quality analysis in the prior art, most of the collected water samples are placed into the existing water quality analyzer, and further corresponding water quality analysis is performed on the current water sample based on the standard water quality data pre-stored in the water quality analyzer. However, since the water quality data already stored in the water quality analyzer cannot be updated in a timely and effective manner, the water quality analysis method of the prior art can only detect water quality problems that have occurred in the past in the current water quality sample, but cannot detect water quality problems that have not occurred in the past in a timely manner, thereby correspondingly reducing the accuracy of the water quality analysis. Summary of the invention

[0005] Based on this, the purpose of the present invention is to provide a water quality analysis method and system based on big data, so as to solve the problem that the water quality data in the water quality analyzer in the prior art cannot be updated in a timely and effective manner, resulting in the inability to timely discover water quality problems that have not occurred in the past, which correspondingly reduces the accuracy of water quality analysis.

[0006] The first aspect of the embodiment of the present invention proposes:

[0007] A water quality analysis method based on big data, wherein the method comprises:

[0008] When it is detected in real time that a user puts a water sample into the water quality analyzer, water body information corresponding to the water sample is detected in real time, and the water body information includes the collection location of the water sample;

[0009] According to the collection location, a target analysis data set corresponding to the water body sample is matched in real time in a preset water quality database, wherein the preset water quality database contains the latest research data corresponding to various water bodies;

[0010] detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set;

[0011] Based on preset rules, corresponding water quality analysis is performed on the water body sample according to the target analysis data set, and corresponding analysis results are generated.

[0012] The beneficial effect of the present invention is that by detecting the water body information corresponding to the water body sample in real time, the water body type corresponding to the current water body sample can be obtained. Based on this, in order to be able to analyze the current water body sample according to the latest data, the required target analysis data set will be further matched at this time, so as to finally complete the analysis of the current water body sample according to the target analysis data set, thereby correspondingly improving the accuracy of water quality analysis and improving work efficiency.

[0013] Furthermore, the step of matching a target analysis data set corresponding to the water sample in a preset water quality database in real time according to the collection location includes:

[0014] When the collection location corresponding to the water sample is detected in real time, the type of water corresponding to the water sample is determined in real time according to the collection location, the type of water including sea water, lake water and river water;

[0015] According to the water body type, the corresponding target research data is matched in real time in the preset water quality database, and according to the target research data, a target analysis data set corresponding to the water body sample is generated in real time, and the water body type is unique.

[0016] Furthermore, the step of generating a target analysis data set corresponding to the water sample in real time according to the target research data includes:

[0017] When the target research data is acquired in real time, the target research data is fully scanned to correspondingly identify the data columns and result columns respectively contained in the target research data;

[0018] Detecting in real time a number of analysis chains contained in the data column, and correspondingly extracting in the result column a number of analysis results respectively generated by the analysis chains;

[0019] The target analysis data set is correspondingly generated according to the plurality of analysis chains and the plurality of analysis results, and each of the analysis chains and each of the analysis results are unique.

[0020] Furthermore, the step of generating the target analysis data set according to the plurality of analysis chains and the plurality of analysis results includes:

[0021] Adding a corresponding target identifier to each of the analysis chains, and detecting the analysis results corresponding to each of the analysis chains one by one based on the target identifier, wherein each of the analysis chains includes at least one analysis factor;

[0022] Constructing a mapping relationship between each of the analysis chains and each of the analysis results one by one, and integrating each of the analysis chains into a corresponding analysis set, and integrating each of the analysis results into a corresponding result set;

[0023] The analysis set and the result set are integrated according to the mapping relationship to correspondingly generate the target analysis data set, and the target analysis data set is unique.

[0024] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the target analysis data set based on preset rules includes:

[0025] When the water sample is acquired in real time, the water quality analyzer performs water quality component analysis on the water sample to detect several actual water quality factors contained in the water sample in real time;

[0026] The actual water quality factors are set as actual analysis factors corresponding to the water body sample, and corresponding water quality analysis is performed on the water body sample according to the actual analysis factors and the target analysis data set.

[0027] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the plurality of actual analysis factors and the target analysis data set includes:

[0028] When a number of the actual analysis factors are obtained, a corresponding actual analysis chain is constructed according to the number of the actual analysis factors, and the actual analysis chain is unique;

[0029] The water quality analysis of the water body sample is performed accordingly according to the actual analysis chain and the target analysis data set.

[0030] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the actual analysis chain and the target analysis data set includes:

[0031] When the actual analysis chain is acquired in real time, the analysis set is called out in the target analysis data set, and a target analysis chain corresponding to the actual analysis chain is matched in real time in the analysis set;

[0032] When the target analysis chain is acquired, the result set is called out in the target analysis data set, and the target analysis result corresponding to the target analysis chain is matched in real time in the result set to complete the water quality analysis of the water sample.

[0033] The second aspect of the embodiment of the present invention proposes:

[0034] A water quality analysis system based on big data, wherein the system comprises:

[0035] A detection module, for detecting in real time when it is detected that a user puts a water sample into the water quality analyzer, water information corresponding to the water sample is detected in real time, wherein the water information includes a collection location of the water sample;

[0036] A matching module, used to match the target analysis data set corresponding to the water body sample in a preset water quality database in real time according to the collection location, wherein the preset water quality database contains the latest research data corresponding to various water bodies;

[0037] A processing module, used for detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set;

[0038] The analysis module is used to perform corresponding water quality analysis on the water body sample according to the target analysis data set based on preset rules and generate corresponding analysis results.

[0039] Furthermore, the matching module is specifically used for:

[0040] When the collection location corresponding to the water sample is detected in real time, the type of water corresponding to the water sample is determined in real time according to the collection location, the type of water including sea water, lake water and river water;

[0041] According to the water body type, the corresponding target research data is matched in real time in the preset water quality database, and according to the target research data, a target analysis data set corresponding to the water body sample is generated in real time, and the water body type is unique.

[0042] Furthermore, the matching module is specifically used for:

[0043] When the target research data is acquired in real time, the target research data is fully scanned to correspondingly identify the data columns and result columns respectively contained in the target research data;

[0044] Detecting in real time a number of analysis chains contained in the data column, and correspondingly extracting in the result column a number of analysis results respectively generated by the analysis chains;

[0045] The target analysis data set is correspondingly generated according to the plurality of analysis chains and the plurality of analysis results, and each of the analysis chains and each of the analysis results are unique.

[0046] Furthermore, the matching module is specifically used for:

[0047] Adding a corresponding target identifier to each of the analysis chains, and detecting the analysis results corresponding to each of the analysis chains one by one based on the target identifier, wherein each of the analysis chains includes at least one analysis factor;

[0048] Constructing a mapping relationship between each of the analysis chains and each of the analysis results one by one, and integrating each of the analysis chains into a corresponding analysis set, and integrating each of the analysis results into a corresponding result set;

[0049] The analysis set and the result set are integrated according to the mapping relationship to correspondingly generate the target analysis data set, and the target analysis data set is unique.

[0050] Furthermore, the analysis module is specifically used for:

[0051] When the water sample is acquired in real time, the water quality analyzer performs water quality component analysis on the water sample to detect several actual water quality factors contained in the water sample in real time;

[0052] The actual water quality factors are set as actual analysis factors corresponding to the water body sample, and corresponding water quality analysis is performed on the water body sample according to the actual analysis factors and the target analysis data set.

[0053] Furthermore, the analysis module is specifically used for:

[0054] When a number of the actual analysis factors are obtained, a corresponding actual analysis chain is constructed according to the number of the actual analysis factors, and the actual analysis chain is unique;

[0055] The water quality analysis of the water body sample is performed accordingly according to the actual analysis chain and the target analysis data set.

[0056] Furthermore, the analysis module is specifically used for:

[0057] When the actual analysis chain is acquired in real time, the analysis set is called out in the target analysis data set, and a target analysis chain corresponding to the actual analysis chain is matched in real time in the analysis set;

[0058] When the target analysis chain is acquired, the result set is called out in the target analysis data set, and the target analysis result corresponding to the target analysis chain is matched in real time in the result set to complete the water quality analysis of the water sample.

[0059] The third aspect of the embodiment of the present invention proposes:

[0060] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the water quality analysis method based on big data as described above is implemented.

[0061] The fourth aspect of the embodiments of the present invention proposes:

[0062] A readable storage medium stores a computer program, wherein when the program is executed by a processor, the water quality analysis method based on big data as described above is implemented.

[0063] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A flow chart of a water quality analysis method based on big data provided by the first embodiment of the present invention;

[0065] Figure 2 This is a structural block diagram of a water quality analysis system based on big data provided in the sixth embodiment of the present invention.

[0066] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0067] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0068] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0070] See also Figure 1 , shown is a water quality analysis method based on big data provided by the first embodiment of the present invention. The water quality analysis method based on big data provided by this embodiment can ultimately complete the analysis of the current water sample according to the target analysis data set, thereby improving the accuracy of water analysis and correspondingly improving work efficiency.

[0071] Specifically, this embodiment provides:

[0072] A water quality analysis method based on big data specifically includes the following steps:

[0073] Step S10, when it is detected in real time that the user puts a water sample into the water quality analyzer, water body information corresponding to the water sample is detected in real time, and the water body information includes the collection location of the water sample;

[0074] Step S20, matching a target analysis data set corresponding to the water body sample in a preset water quality database in real time according to the collection location, wherein the preset water quality database contains the latest research data corresponding to various water bodies;

[0075] Step S30, detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set;

[0076] Step S40: performing corresponding water quality analysis on the water sample according to the target analysis data set based on preset rules, and generating corresponding analysis results.

[0077] Specifically, in this embodiment, it should be noted that in order to analyze the water quality objectively and accurately, it is necessary to first obtain the latest research materials or data related to various water qualities, so as to analyze the latest problems that may occur in water quality, rather than just staying on the problems that occurred in the past. In addition, it should be pointed out that the water quality analysis method based on big data is implemented on the basis of the existing water quality analyzer. Specifically, the water quality analyzer can analyze various water qualities in real time according to the data stored in it, and further obtain the required analysis results. Based on this, in the actual application process, the user needs to put the water sample collected in real time into the above-mentioned water quality analyzer. At the same time, the server set in the background can synchronously detect the current water sample, and can further detect the water information corresponding to the current water sample in real time. Specifically, according to the water information, it can be understood that the current water sample is lake water, river water and sea water, and the corresponding collection location can be determined. Specifically, the collection location can be, for example, a lake or a river.

[0078] Further, after obtaining the required collection location in real time through the above steps, the above server will call out the water quality database pre-set in its internal storage, wherein it should be noted that the preset water quality database stores the latest research data corresponding to various existing water bodies. Based on this, the target analysis data set corresponding to the above water body sample can be further matched in real time in the current preset water quality database according to the above collection location. Specifically, the target analysis data set contains the latest research data corresponding to the type of the current water body sample. On this basis, it is also necessary to detect the initial analysis data set that has been stored in the current water quality analyzer. At the same time, the initial analysis data set is replaced with the target analysis data set, so that the data update of the current water quality analyzer can be completed. Based on this, the current water quality analyzer can perform corresponding water quality analysis on the current water body sample through the latest water quality research data, and can obtain the corresponding analysis results, so that various problems that may occur in the water quality sample can be detected in a timely and accurate manner to improve work efficiency.

[0079] Second embodiment

[0080] Furthermore, the step of matching a target analysis data set corresponding to the water sample in a preset water quality database in real time according to the collection location includes:

[0081] When the collection location corresponding to the water sample is detected in real time, the type of water corresponding to the water sample is determined in real time according to the collection location, the type of water including sea water, lake water and river water;

[0082] According to the water body type, the corresponding target research data is matched in real time in the preset water quality database, and according to the target research data, a target analysis data set corresponding to the water body sample is generated in real time, and the water body type is unique.

[0083] Specifically, in the present embodiment, it should be noted that after the collection location of the current water sample is obtained in real time through the above steps, in order to be able to objectively and accurately extract the target analysis data set corresponding to the current water sample in the above preset water quality database, it is necessary to first determine a corresponding retrieval target, that is, it is necessary to determine the water type of the above water sample in real time according to the current collection location.

[0084] Furthermore, taking the current water body type as the search object, the target research data corresponding to the current water body sample is further matched in real time in the above-mentioned preset water quality database, and the above-mentioned target analysis data set is generated accordingly based on the current target research data to facilitate subsequent processing.

[0085] Furthermore, the step of generating a target analysis data set corresponding to the water sample in real time according to the target research data includes:

[0086] When the target research data is acquired in real time, the target research data is fully scanned to correspondingly identify the data columns and result columns respectively contained in the target research data;

[0087] Detecting in real time a number of analysis chains contained in the data column, and correspondingly extracting in the result column a number of analysis results respectively generated by the analysis chains;

[0088] The target analysis data set is correspondingly generated according to the plurality of analysis chains and the plurality of analysis results, and each of the analysis chains and each of the analysis results are unique.

[0089] Specifically, in this embodiment, it should be noted that after further acquiring the required target research data through the above steps, in order to accurately acquire the corresponding content contained in the current target research data, it is necessary to first perform a full scan of the current target research data, and at the same time, the data columns and result columns respectively contained in the current target research data can be scanned accordingly. Further, the current data column can be parsed at this time, and the several analysis chains respectively contained in the current data column can be detected accordingly. Correspondingly, an analysis result corresponding to each current analysis chain can be matched one by one in the current result column. Specifically, for ease of understanding, for example, the analysis chain acquired in real time can be "transparency value-pH value-chemical element-bacterial species", and correspondingly, the analysis result corresponding to the analysis chain can be "the acidity of the water body is too high, and there is a certain amount of chemical pollution". Based on this, the above-mentioned target analysis data set can be further generated according to the current several analysis chains and several analysis results, so as to facilitate subsequent processing.

[0090] Third embodiment

[0091] Furthermore, the step of generating the target analysis data set according to the plurality of analysis chains and the plurality of analysis results includes:

[0092] Adding a corresponding target identifier to each of the analysis chains, and detecting the analysis results corresponding to each of the analysis chains one by one based on the target identifier, wherein each of the analysis chains includes at least one analysis factor;

[0093] Constructing a mapping relationship between each of the analysis chains and each of the analysis results one by one, and integrating each of the analysis chains into a corresponding analysis set, and integrating each of the analysis results into a corresponding result set;

[0094] The analysis set and the result set are integrated according to the mapping relationship to correspondingly generate the target analysis data set, and the target analysis data set is unique.

[0095] In addition, in this embodiment, it should be noted that after obtaining the required analysis chains and analysis results through the above steps, corresponding integration processing is required. Specifically, the corresponding target identifier will be added to each current analysis chain, and at the same time, the analysis results corresponding to each current analysis chain will be detected one by one according to the order of the current target identifiers, and the mapping relationship between the two can be constructed at the same time.

[0096] Furthermore, in order to facilitate subsequent retrieval and matching, each current analysis chain can be integrated into a corresponding analysis set, and correspondingly, each current analysis result can be integrated into a corresponding result set. Based on this, on the basis of the above-mentioned mapping relationship, the current analysis set and the result set are integrated to generate the above-mentioned target analysis data set for subsequent processing.

[0097] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the target analysis data set based on preset rules includes:

[0098] When the water sample is acquired in real time, the water quality analyzer performs water quality component analysis on the water sample to detect several actual water quality factors contained in the water sample in real time;

[0099] The actual water quality factors are set as actual analysis factors corresponding to the water body sample, and corresponding water quality analysis is performed on the water body sample according to the actual analysis factors and the target analysis data set.

[0100] In addition, in the present embodiment, it is also necessary to explain that after the required target analysis data set is obtained in real time through the above steps, the subsequent water quality analysis can be carried out at this time. Specifically, it is necessary to first obtain the components of the current water sample. Preferably, the above-mentioned water quality analyzer can detect in real time the several actual water quality factors contained in the current water sample. At the same time, it is necessary to synchronously set the current several actual water quality factors to the several actual analysis factors corresponding to the current water sample, and further carry out the subsequent water quality analysis based on the current several actual analysis factors. Preferably, for ease of understanding, for example, the several actual water quality factors contained in the current water sample can be "turbidity, transparency, microbial content and bacterial content", so that subsequent analysis can be carried out to facilitate subsequent processing.

[0101] Fourth embodiment

[0102] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the plurality of actual analysis factors and the target analysis data set includes:

[0103] When a number of the actual analysis factors are obtained, a corresponding actual analysis chain is constructed according to the number of the actual analysis factors, and the actual analysis chain is unique;

[0104] The water quality analysis of the water body sample is performed accordingly according to the actual analysis chain and the target analysis data set.

[0105] Among them, in this embodiment, it should be pointed out that after further obtaining the required several actual analysis factors through the above steps, the current several actual analysis factors can be directly combined together at this time, and the corresponding actual analysis chain can be generated. At the same time, the current actual analysis chain is used as the corresponding analysis target to perform water quality analysis for subsequent processing.

[0106] Fifth embodiment

[0107] Furthermore, the step of performing corresponding water quality analysis on the water sample according to the actual analysis chain and the target analysis data set includes:

[0108] When the actual analysis chain is acquired in real time, the analysis set is called out in the target analysis data set, and a target analysis chain corresponding to the actual analysis chain is matched in real time in the analysis set;

[0109] When the target analysis chain is acquired, the result set is called out in the target analysis data set, and the target analysis result corresponding to the target analysis chain is matched in real time in the result set to complete the water quality analysis of the water sample.

[0110] Among them, in this embodiment, it should be pointed out that after further acquiring the required actual analysis chain through the above steps, the required analysis set can be synchronously called out in the above target analysis data set. At the same time, the target analysis chain corresponding to the current actual analysis chain can be matched in real time in the current analysis set.

[0111] Furthermore, after obtaining the target analysis chain, it is necessary to synchronously call out the required result set in the above-mentioned target analysis data set, and finally match the target analysis results corresponding to the current target analysis chain in the result set in real time, so as to objectively and comprehensively complete the water quality analysis of the current water sample for subsequent processing.

[0112] See also Figure 2 , the sixth embodiment of the present invention provides:

[0113] A water quality analysis system based on big data, wherein the system comprises:

[0114] A detection module, for detecting in real time when it is detected that a user puts a water sample into the water quality analyzer, water information corresponding to the water sample is detected in real time, wherein the water information includes a collection location of the water sample;

[0115] A matching module, used to match the target analysis data set corresponding to the water body sample in a preset water quality database in real time according to the collection location, wherein the preset water quality database contains the latest research data corresponding to various water bodies;

[0116] A processing module, used for detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set;

[0117] The analysis module is used to perform corresponding water quality analysis on the water body sample according to the target analysis data set based on preset rules and generate corresponding analysis results.

[0118] Furthermore, the matching module is specifically used for:

[0119] When the collection location corresponding to the water sample is detected in real time, the type of water corresponding to the water sample is determined in real time according to the collection location, the type of water including sea water, lake water and river water;

[0120] According to the water body type, the corresponding target research data is matched in real time in the preset water quality database, and according to the target research data, a target analysis data set corresponding to the water body sample is generated in real time, and the water body type is unique.

[0121] Furthermore, the matching module is specifically used for:

[0122] When the target research data is acquired in real time, the target research data is fully scanned to correspondingly identify the data columns and result columns respectively contained in the target research data;

[0123] Detecting in real time a number of analysis chains contained in the data column, and correspondingly extracting in the result column a number of analysis results respectively generated by the analysis chains;

[0124] The target analysis data set is correspondingly generated according to the plurality of analysis chains and the plurality of analysis results, and each of the analysis chains and each of the analysis results are unique.

[0125] Furthermore, the matching module is specifically used for:

[0126] Adding a corresponding target identifier to each of the analysis chains, and detecting the analysis results corresponding to each of the analysis chains one by one based on the target identifier, wherein each of the analysis chains includes at least one analysis factor;

[0127] Constructing a mapping relationship between each of the analysis chains and each of the analysis results one by one, and integrating each of the analysis chains into a corresponding analysis set, and integrating each of the analysis results into a corresponding result set;

[0128] The analysis set and the result set are integrated according to the mapping relationship to correspondingly generate the target analysis data set, and the target analysis data set is unique.

[0129] Furthermore, the analysis module is specifically used for:

[0130] When the water sample is acquired in real time, the water quality analyzer performs water quality component analysis on the water sample to detect several actual water quality factors contained in the water sample in real time;

[0131] The actual water quality factors are set as actual analysis factors corresponding to the water body sample, and corresponding water quality analysis is performed on the water body sample according to the actual analysis factors and the target analysis data set.

[0132] Furthermore, the analysis module is specifically used for:

[0133] When a number of the actual analysis factors are obtained, a corresponding actual analysis chain is constructed according to the number of the actual analysis factors, and the actual analysis chain is unique;

[0134] The water quality analysis of the water body sample is performed accordingly according to the actual analysis chain and the target analysis data set.

[0135] Furthermore, the analysis module is specifically used for:

[0136] When the actual analysis chain is acquired in real time, the analysis set is called out in the target analysis data set, and a target analysis chain corresponding to the actual analysis chain is matched in real time in the analysis set;

[0137] When the target analysis chain is acquired, the result set is called out in the target analysis data set, and the target analysis result corresponding to the target analysis chain is matched in real time in the result set to complete the water quality analysis of the water sample.

[0138] The seventh embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the water quality analysis method based on big data as described above is implemented.

[0139] An eighth embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the water quality analysis method based on big data as described above is implemented.

[0140] In summary, the big data-based water quality analysis method and system provided in the above embodiments of the present invention can complete the analysis of the current water sample according to the latest target analysis data set, thereby improving the accuracy of water quality analysis while improving work efficiency.

[0141] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0142] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0143] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0144] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0145] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0146] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A water quality analysis method based on big data, characterized in that: The method comprises: When it is detected in real time that a user puts a water sample into the water quality analyzer, water body information corresponding to the water sample is detected in real time, and the water body information includes the collection location of the water sample; According to the collection location, a target analysis data set corresponding to the water body sample is matched in real time in a preset water quality database, wherein the preset water quality database contains the latest research data corresponding to various water bodies; detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set; Performing corresponding water quality analysis on the water sample according to the target analysis data set based on preset rules, and generating corresponding analysis results; The step of matching the target analysis data set corresponding to the water sample in real time in the preset water quality database according to the collection location includes: When the collection location corresponding to the water sample is detected in real time, the type of water corresponding to the water sample is determined in real time according to the collection location, the type of water including sea water, lake water and river water; According to the water body type, the corresponding target research data is matched in the preset water quality database in real time, and a target analysis data set corresponding to the water body sample is generated in real time according to the target research data, and the water body type is unique; The step of generating a target analysis data set corresponding to the water body sample in real time according to the target research data comprises: When the target research data is acquired in real time, the target research data is fully scanned to correspondingly identify the data columns and result columns respectively contained in the target research data; Detecting in real time a number of analysis chains contained in the data column, and correspondingly extracting in the result column a number of analysis results respectively generated by the analysis chains; Generate the target analysis data set according to the plurality of analysis chains and the plurality of analysis results, each of the analysis chains and each of the analysis results are unique; The step of generating the target analysis data set according to the plurality of analysis chains and the plurality of analysis results comprises: Adding a corresponding target identifier to each of the analysis chains, and detecting the analysis results corresponding to each of the analysis chains one by one based on the target identifier, wherein each of the analysis chains includes at least one analysis factor; Constructing a mapping relationship between each of the analysis chains and each of the analysis results one by one, and integrating each of the analysis chains into a corresponding analysis set, and integrating each of the analysis results into a corresponding result set; The analysis set and the result set are integrated according to the mapping relationship to correspondingly generate the target analysis data set, and the target analysis data set is unique.

2. The water quality analysis method based on big data according to claim 1, characterized in that: The step of performing corresponding water quality analysis on the water sample according to the target analysis data set based on preset rules includes: When the water sample is acquired in real time, the water quality analyzer performs water quality component analysis on the water sample to detect several actual water quality factors contained in the water sample in real time; The actual water quality factors are set as actual analysis factors corresponding to the water body sample, and corresponding water quality analysis is performed on the water body sample according to the actual analysis factors and the target analysis data set.

3. The water quality analysis method based on big data according to claim 2 is characterized in that: The step of performing corresponding water quality analysis on the water sample according to the actual analysis factors and the target analysis data set comprises: When a number of the actual analysis factors are obtained, a corresponding actual analysis chain is constructed according to the number of the actual analysis factors, and the actual analysis chain is unique; The water quality analysis of the water body sample is performed accordingly according to the actual analysis chain and the target analysis data set.

4. The water quality analysis method based on big data according to claim 3 is characterized in that: The step of performing corresponding water quality analysis on the water sample according to the actual analysis chain and the target analysis data set comprises: When the actual analysis chain is acquired in real time, the analysis set is called out in the target analysis data set, and a target analysis chain corresponding to the actual analysis chain is matched in real time in the analysis set; When the target analysis chain is acquired, the result set is called out in the target analysis data set, and the target analysis result corresponding to the target analysis chain is matched in real time in the result set to complete the water quality analysis of the water sample.

5. A water quality analysis system based on big data, characterized in that: Used to implement the water quality analysis method based on big data as described in any one of claims 1 to 4, the system comprises: A detection module, for detecting in real time when it is detected that a user puts a water sample into the water quality analyzer, water information corresponding to the water sample is detected in real time, wherein the water information includes a collection location of the water sample; A matching module, used to match the target analysis data set corresponding to the water body sample in a preset water quality database in real time according to the collection location, wherein the preset water quality database contains the latest research data corresponding to various water bodies; A processing module, used for detecting in real time an initial analysis data set contained in the water quality analyzer, and replacing the initial analysis data set with the target analysis data set; The analysis module is used to perform corresponding water quality analysis on the water body sample according to the target analysis data set based on preset rules and generate corresponding analysis results.

6. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the water quality analysis method based on big data as described in any one of claims 1 to 4 is implemented.

7. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the water quality analysis method based on big data as described in any one of claims 1 to 4 is implemented.