CN114295798A - Fish tank water quality monitoring method, device and equipment and readable storage medium - Google Patents

Fish tank water quality monitoring method, device and equipment and readable storage medium Download PDF

Info

Publication number
CN114295798A
CN114295798A CN202111679188.3A CN202111679188A CN114295798A CN 114295798 A CN114295798 A CN 114295798A CN 202111679188 A CN202111679188 A CN 202111679188A CN 114295798 A CN114295798 A CN 114295798A
Authority
CN
China
Prior art keywords
water body
type
median
body parameter
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111679188.3A
Other languages
Chinese (zh)
Inventor
叶锦均
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yitong Intelligent Technology Co ltd
Original Assignee
Guangzhou Yitong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yitong Intelligent Technology Co ltd filed Critical Guangzhou Yitong Intelligent Technology Co ltd
Priority to CN202111679188.3A priority Critical patent/CN114295798A/en
Publication of CN114295798A publication Critical patent/CN114295798A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Farming Of Fish And Shellfish (AREA)

Abstract

The application discloses a method, a device and equipment for monitoring water quality of a fish tank and a readable storage medium, wherein the method comprises the following steps: acquiring a plurality of sampling values of a plurality of types of water body parameters collected by a sensor on a water body in the fish tank; determining the median of a plurality of sampling values corresponding to the water body parameters aiming at each type of water body parameters, and determining whether the type of water body parameters are abnormal or not based on the median of the water body parameters and a preset threshold; and regarding the water body parameters determined to be of the abnormal type, taking the median as a final sampling value, and reporting the water body parameters of the abnormal type and the corresponding final sampling value to the user terminal together. Obviously, the sampling values of various types of water body parameters of the fish tank water body can be acquired in a set period, the abnormal sampling values can be reported to the user terminal, the user does not need to manually detect and record various water body parameters of the fish tank water body, the efficiency of monitoring the water body quality is improved, and the user can timely master the change conditions of the water body parameters.

Description

Fish tank water quality monitoring method, device and equipment and readable storage medium
Technical Field
The application relates to the technical field of water quality monitoring, in particular to a method, a device and equipment for monitoring water quality of a fish tank and a readable storage medium.
Background
With the improvement of the quality of life, the fish tank is used for culturing various fishes, which is a common phenomenon. In order to provide a healthy and safe water body environment for fishes in the fish tank, people generally monitor various parameters of the water body, and when the water body parameters are found to have abnormal conditions, the filtering material of the water body can be replaced, or the water body can be directly replaced.
However, the existing fish tank water body monitoring technology has certain disadvantages, for example, in the prior art, various parameters of the fish tank water body are generally sampled manually and actively, then sampling data are recorded manually, if the water body parameters are abnormal, the filtering material or the water body is replaced, however, whether the water body after the filtering material is replaced or the replaced new water body reaches the health standard of the cultured fish can not be determined, the water body needs to be sampled again, and the efficiency of sampling and monitoring is not high.
Therefore, how to let people master the change condition of each parameter of the fish tank water body in time and realize the high-efficiency monitoring of the quality of the fish tank water body is a problem worthy of research.
Disclosure of Invention
In view of this, the application provides a method, an apparatus, a device and a readable storage medium for monitoring water quality of a fish tank, which are used for enabling people to timely grasp the change conditions of various parameters of the water body of the fish tank and realizing efficient monitoring of the water quality of the fish tank.
In order to achieve the above object, the following solutions are proposed:
a method for monitoring the quality of a water body in a fish tank comprises the following steps:
acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in a fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values;
determining the median of a plurality of sampling values corresponding to each type of water body parameter;
determining whether the water body parameters of each type are abnormal or not based on the median of the water body parameters of the type and a preset threshold value;
and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
Preferably, the method further comprises the following steps:
judging whether the final sampling value of the second water body parameter reported last time is abnormal or not for the second water body parameter determined to be of the normal type;
if so, taking the median corresponding to the second water body parameter as a final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to a user terminal;
and if not, and the time from the last reporting of the final sampling value of the second water body parameter of the normal type reaches a set time interval, taking the median corresponding to the second water body parameter as the final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to the user terminal together.
Preferably, the acquiring sensor acquires a plurality of sampling values of a plurality of types of water body parameters acquired by the water body in the fish tank in a set period, and the acquiring sensor comprises:
controlling a water taking device to collect water in the fish tank as sample water bodies in a set period, wherein a plurality of sample water bodies are arranged;
and acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor for each sample water body.
Preferably, for each type of water body parameter, determining a median of a plurality of sampling values corresponding to the type of water body parameter includes:
for each type of water body parameter:
for each sample water body, determining the sampling median of a plurality of sampling values corresponding to the sample water body;
and counting the average value of the sampling median of each sample water body, wherein the average value is used as the median of the water body parameters of the type.
Preferably, the first and second electrodes are formed of a metal,
regarding the preset threshold value of each type of water body parameter, taking the final sampling value which is closest to the sampling time and is normal as the preset threshold value;
for each type of water body parameter, determining whether the type of water body parameter is abnormal or not based on the median of the type of water body parameter and a preset threshold, wherein the determining comprises the following steps:
determining whether the difference value between the median of the water body parameters of each type and a preset threshold value is within a set difference value range or not according to the water body parameters of each type;
if so, judging the water body parameters of the type corresponding to the median as normal; if not, judging the water body parameter of the type corresponding to the median as abnormal.
Preferably, the method further comprises the following steps:
acquiring a final sampling value and sampling time thereof which are reported in a set time period and marked as abnormal according to the water body parameters of each type in a set period;
and determining the reason causing the abnormality according to the occurrence frequency and the sampling time of the final sampling value of the water body parameter of each abnormal type.
Preferably, the method further comprises the following steps:
and for any final sampling value, if the final sampling value reaches the set alarm value of the water body parameter of the corresponding type, reporting alarm information to a user side, wherein the alarm information comprises a function of reminding a user to replace the filtering material or the water body of the fish tank.
A fish bowl water quality monitoring device includes:
the sampling value acquisition unit is used for acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor to the water body in the fish tank in a set period, wherein each type of water body parameter corresponds to the plurality of sampling values;
the median determining unit is used for determining the median of a plurality of sampling values corresponding to each type of water body parameter;
the abnormality judgment unit is used for determining whether the water body parameters of the types are abnormal or not according to the median of the water body parameters of the types and a preset threshold value;
and the sampling value reporting unit is used for taking the median of the first water body parameter determined as the abnormal type as a final sampling value and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
A fish tank water quality monitoring device comprises a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program and realizing the steps of the fish tank water body quality monitoring method.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-mentioned fish tank water quality monitoring method.
According to the scheme, the method for monitoring the water quality of the fish tank comprises the following steps: acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in a fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values; determining the median of a plurality of sampling values corresponding to each type of water body parameter; determining whether the water body parameters of each type are abnormal or not based on the median of the water body parameters of the type and a preset threshold value; and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal. Obviously, the sampling values of the water body parameters of all types of the fish tank water body can be acquired in a set period, the abnormal sampling values can be reported to the user terminal, the user does not need to manually detect and record the water body parameters of the fish tank water body, the efficiency of monitoring the water body quality is improved, and the user can timely master the change condition of the water body parameters.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for monitoring water quality of a fish tank according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a fish tank water quality monitoring device disclosed in the embodiment of the present application;
fig. 3 is a block diagram of a hardware structure of a fish tank water quality monitoring device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for monitoring water quality of a fish tank provided in an embodiment of the present application, where the method includes:
step S100: the method comprises the steps of acquiring a plurality of sampling values of a plurality of types of water body parameters collected by a sensor on a water body in the fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values.
Specifically, different sensors can collect different types of water parameters of the water in the fish tank, for example, the water parameters collected by the sensors may include: temperature, PH, TDS (Total dissolved solids), ORP (Oxidation-Reduction Potential), etc. of the water in the aquarium. Wherein, the collecting process of the ORP can comprise the following steps: the concentration of nitrobacteria in the water body in the fish tank is collected, and the ORP is determined according to the collected concentration of the nitrobacteria.
In addition, to ensure that the collected data is valid and reduce errors, multiple sample values may be collected for each type of water parameter.
Step S110: and determining the median of a plurality of sampling values corresponding to the water body parameters of each type aiming at the water body parameters of each type.
Specifically, the median of the plurality of sampling values corresponding to each type of water body parameter may be determined.
Step S120: and determining whether the water body parameters of the types are abnormal or not according to the median of the water body parameters of the types and a preset threshold value.
Specifically, for each type of water body parameter, the median of the type of water body parameter may be compared with a preset threshold, and whether the type of water body parameter is abnormal or not may be determined according to the comparison result.
Step S130: and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
Specifically, the water body parameter judged to be of the abnormal type can be used as a first water body parameter, the median of the first water body parameter can be used as a final sampling value, and the first water body parameter of the abnormal type and the corresponding final sampling value can be reported to the user terminal together.
Taking the water body parameter of the abnormal type as the temperature as an example, the median of a plurality of sampling values corresponding to the temperature can be used as the final sampling value of the temperature, and the temperature abnormality and the abnormal final sampling value are reported to the user terminal.
According to the scheme, the sampling values of various types of water body parameters of the fish tank water body can be obtained in a set period, the abnormal sampling values can be reported to the user terminal, the user does not need to manually detect and record various water body parameters of the fish tank water body, the efficiency of monitoring the water body quality is improved, and the user can timely master the change conditions of the water body parameters.
In order to enable a user to master the condition of water body parameters in the fish tank in time, the method can also be additionally provided with a process of reporting a normal sampling value to a user terminal.
Specifically, the process may include the steps of:
and S1, judging whether the final sampling value of the second water body parameter reported last time is abnormal or not for the second water body parameter determined to be in the normal type, if so, executing the step S2, and if not, executing the step S3.
Specifically, the water body parameter judged to be of the normal type may be used as the second water body parameter, and it is further determined whether the final sampling value reported last time by the second water body parameter is abnormal.
And S2, taking the median corresponding to the second water body parameter as a final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to a user terminal together.
Specifically, the last reported final sampling value is abnormal, and the current final sampling value is normal, which indicates that the water body parameter has changed, and at this time, the second water body parameter of the normal type and the corresponding final sampling value can be reported to the user terminal together, so as to notify the user of the change of the water body parameter.
And S3, when the time from the last reporting of the final sampling value of the second water body parameter of the normal type reaches a set time interval, taking the median corresponding to the second water body parameter as the final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to the user terminal.
Specifically, the last reported final sampling value is normal, and the time from the last reporting of the final sampling value of the normal type of second water body parameter reaches a set time interval, at this time, the median corresponding to the second water body parameter can be used as the final sampling value, and then the normal type of second water body parameter and the corresponding final sampling value are reported to the user terminal together.
Taking the set time interval as one hour as an example, if the last sampling value reported last time of a certain type of water body parameter is normal, the current last sampling value is also normal, and the time from the last reporting reaches one hour, then the second water body parameter of the normal type and the corresponding last sampling value can be reported to the user terminal together.
According to the scheme, when the second water body parameters judged to be of the normal type meet the set reporting time interval or change, the second water body parameters of the normal type and the corresponding sampling values can be reported to the user terminal together, so that the user can master the conditions of the water body parameters in time.
In some embodiments of the present application, the process of obtaining a plurality of sampling values of a plurality of types of water parameters collected by a sensor for a set period of a water body in an aquarium in step S100 is described, and the process will be further described below.
Specifically, the process may include the steps of:
and S1, controlling the water taking device to collect water in the fish tank as sample water bodies in a set period, wherein the number of the sample water bodies is multiple.
Specifically, can control the water intaking ware and gather a plurality of sample waters of the internal water of fish bowl in order to set for the cycle in succession, wherein, the water intaking process can include: and controlling the water taking device to continuously collect a plurality of sample water bodies of the water body in the fish tank through the drainage tube.
And S2, acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor for each sample water body.
Specifically, after a plurality of sample water bodies are continuously collected, each type of sensor can collect a plurality of sampling values of water body parameters for each sample water body, and then can acquire the collected plurality of sampling values.
Next, the above-described process of collecting a plurality of sample values will be described with a specific example.
Specifically, use the water parameter of gathering as temperature, pH value, TDS and ORP for example, can control the water intaking ware and gather a plurality of sample water with set period, use 5 sample water of every continuous collection as the example here, to the temperature, the sensor can be to 10 sampling values of every sample water collection, can gather the sampling value of 5 group's temperatures this moment, and every group has 10 sampling values, the sampling value of 50 temperatures in total.
In addition, the pH value, TDS and ORP can refer to the process of collecting temperature sampling values, and 50 sampling values can be collected respectively.
Therefore, through sampling 5 sample water this time in succession, can acquire 50 sampling values that temperature, PH value, TDS and ORP correspond respectively. After a set period, the sampling process can be referred to, and corresponding groups of sampling values can be obtained.
According to the scheme, the sampling values of various types of water body parameters can be acquired, so that the effectiveness of sampling data is ensured, and errors are reduced.
In some embodiments of the present application, the process of determining the median of the plurality of sampling values corresponding to each type of water body parameter in step S110 is described, and the process is further described below.
Specifically, for each type of water body parameter, the process may include the steps of:
and S1, determining the sampling median of a plurality of sampling values corresponding to the sample water body for each sample water body.
Specifically, a plurality of sampling values acquired by the same sample water body can be used as a group of sampling values, the maximum value and the minimum value in each group of sampling values can be eliminated, and the median of the group of sampling values is determined from the rest sampling values.
The median of each group of sampling values can be obtained by referring to the above process, so that a plurality of medias corresponding to the plurality of groups of sampling values can be obtained.
And S2, counting the average value of the sampling median of each sample water body, wherein the average value is used as the median of the water body parameter of the type.
Specifically, the plurality of medians obtained in step S1 may be averaged, and the obtained average may be used as the median of the water body parameter of the type.
According to the scheme, the median of a plurality of groups of sampling values is obtained, the average value of the plurality of medias is obtained to serve as the median of the type, and the finally obtained median can accurately represent the real numerical value of the sampling.
In some embodiments of the present application, the above step S120 is introduced, and a process of determining whether the type of water body parameter is abnormal or not is performed for each type of water body parameter based on the median of the type of water body parameter and a preset threshold, which will be further described below.
Specifically, the process may include the steps of:
and determining whether the difference value between the median of the water body parameters of each type and a preset threshold value is within a set difference value range or not according to the water body parameters of each type.
If so, judging the water body parameters of the type corresponding to the median as normal; if not, judging the water body parameter of the type corresponding to the median as abnormal.
Specifically, for each type of preset threshold value of the water body parameter, the final sampling value with the closest and normal sampling time may be used as the preset threshold value.
Then, for the median of each type of water body parameter, a difference value between a preset threshold and the median can be compared, if the difference value is within a set difference value range, the type of water body parameter can be judged to be normal, and if the difference value is outside the set difference value range, the type of water body parameter can be judged to be abnormal.
The set difference range described above may be set according to actual conditions, for example, the difference range may be set to be 10% lower than a preset threshold to 10% higher than the preset threshold, and all differences that are not within the difference range may be determined as abnormal.
According to the scheme, the normal final sampling value with the closest sampling time is used as the preset threshold value, and the sampling value at this time is compared with the preset threshold value, so that the real-time change condition of the water body in the fish tank can be mastered in time.
In order to determine the cause of the abnormality, the embodiment of the application may further add a process of counting abnormal sampling values and determining the cause of the abnormality.
Specifically, the process may include the steps of:
and S1, acquiring the final sampling value and the sampling time thereof which are reported in the set time period and marked as abnormal according to the water body parameter of each type in the set period.
Specifically, the specific time of the set time period may be freely set by the user according to the actual situation, for example: the time within the last hour can be used as a set time period, and then the abnormal final sampling value and the sampling time of each type of water body parameter within the set time period can be obtained.
And S2, determining the reason causing the abnormity according to the occurrence frequency and sampling time of the final sampling value of the water body parameter of each abnormity type.
Specifically, for the final sampling value of the water body parameter of each abnormal type, the occurrence frequency and each sampling time of the water body parameter can be counted.
Then, the frequency of occurrence of the anomaly may be determined according to the interval of the sampling time of the anomaly final sample value, such as: the amplitude change of two abnormal final sampling values within 10 continuous minutes is within a set range, such as 20%, and can be recorded as 1 continuous abnormality, if the amplitude change exceeds 20%, the amplitude change can be recorded as multiple continuous abnormalities, and finally, the frequency of the occurrence of the abnormality can be determined according to the number of the continuous abnormalities within each hour. Furthermore, the frequency level of anomalies may also be determined based on the number of consecutive anomalies per hour, examples being: less than 3 times may be determined as infrequent, 3-6 times may be determined as generally frequent, 6-9 times may be determined as more frequent, and greater than 9 times may be determined as severely frequent.
Further, the cause of the abnormality may be determined according to the frequency level, such as: reaching a certain frequent level can indicate that the content of certain microorganism in the water body in the fish tank is insufficient, or the water body in the fish tank is not changed for a long time, and the like.
According to the scheme, the reason causing the abnormity can be determined by counting the final sampling value of the abnormity, so that a user can conveniently eliminate the abnormal condition according to the reason of the abnormity.
In consideration of the fact that the condition of the water body in the fish tank may change greatly, the embodiment of the application can also add a process of reporting the alarm information.
Specifically, the process may include the steps of:
and for any final sampling value, if the final sampling value reaches the set alarm value of the water body parameter of the corresponding type, reporting alarm information to a user side, wherein the alarm information comprises a function of reminding a user to replace the filtering material or the water body of the fish tank.
Specifically, each type of water body parameter may have a corresponding alarm value, and if the final sampling value of the reported water body parameter of a certain type reaches the corresponding alarm value, alarm information may be reported to the user terminal, where the alarm information may include an alarm value that triggers to remind the user of performing a corresponding operation, examples of which are as follows: the filtering material or the water body in the fish tank is replaced.
According to the scheme, the final sampling value of any type of water body parameter reaches the alarm value, and the reminding information can be reported to the user terminal, so that the user can maintain the water body in the fish tank in time.
The following describes the fish tank water quality monitoring device provided by the embodiment of the application, and the fish tank water quality monitoring device described below and the fish tank water quality monitoring method described above can be referred to correspondingly.
First, referring to fig. 2, a device for monitoring water quality in an aquarium will be described, as shown in fig. 2, the device for monitoring water quality in an aquarium may include:
the sampling value acquisition unit 100 is used for acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in the fish tank in a set period, wherein each type of water body parameter corresponds to the plurality of sampling values;
a median determination unit 110, configured to determine, for each type of water body parameter, a median of multiple sampling values corresponding to the type of water body parameter;
an anomaly determination unit 120, configured to determine, for each type of water body parameter, whether the type of water body parameter is abnormal based on a median of the type of water body parameter and a preset threshold;
and the sampling value reporting unit 130 is configured to, for the first water body parameter determined to be of the abnormal type, take the median thereof as a final sampling value, and report the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal together.
Optionally, the fish tank water quality monitoring device may further include:
the historical sampling value judging unit is used for judging whether the final sampling value of the second water body parameter reported last time is abnormal or not for the second water body parameter determined to be of the normal type;
a sampling value change reporting unit, configured to, if the last sampling value of the second water parameter reported last time is abnormal, take a median corresponding to the second water parameter as a final sampling value, and report the normal type of the second water parameter and the corresponding final sampling value to a user terminal together;
and if the last time of reporting the second water body parameter is normal and the time from the last time of reporting the second water body parameter of the normal type to the last time of reporting the second water body parameter of the normal type reaches a set time interval, the normal sampling value reporting unit takes the median corresponding to the second water body parameter as the final sampling value and reports the second water body parameter of the normal type and the corresponding final sampling value to the user terminal together.
Optionally, the sampling value obtaining unit 100 may include:
the water taking control unit is used for controlling the water taking device to collect water in the fish tank as sample water bodies in a set period, and the number of the sample water bodies is multiple;
and the multi-sampling value acquisition unit is used for acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor for each sample water body.
Optionally, the median determining unit 110 may include:
for each type of water body parameter:
the first median determining subunit is configured to determine, for each sample water body, a sampling median of a plurality of sampling values corresponding to the sample water body;
and the second median determining subunit is used for counting the average value of the sampling median of each sample water body, and the average value is used as the median of the type of water body parameters.
Optionally, for the preset threshold of each type of water body parameter, the final sampling value with the closest and normal sampling time is used as the preset threshold;
the abnormality determination unit 120 may include:
and the abnormality judgment subunit is used for judging whether the water body parameters of the type corresponding to the median are abnormal or not according to the water body parameters of each type and on the basis of whether the difference value between the median of the water body parameters of the type and a preset threshold is within a set difference value range or not.
Optionally, the fish tank water quality monitoring device may further include:
the abnormal sampling value acquisition unit is used for acquiring a final sampling value and sampling time thereof which are reported in a set time period and marked as abnormal according to each type of water body parameter in a set period;
and the abnormal cause determining unit is used for determining the cause of the abnormality according to the occurrence frequency and the sampling time of the final sampling value of the water body parameter of each abnormal type.
Optionally, the fish tank water quality monitoring device may further include:
and the alarm information reporting unit is used for reporting the alarm information to the user side aiming at any one final sampling value if the final sampling value reaches the set alarm value of the water body parameter of the corresponding type, wherein the alarm information comprises a function of reminding the user to replace the filtering material or the water body of the fish tank.
The fish tank water quality monitoring device provided by the embodiment of the application can be applied to fish tank water quality monitoring equipment. Fig. 3 is a block diagram illustrating a hardware structure of the fish tank water quality monitoring device, and referring to fig. 3, the hardware structure of the fish tank water quality monitoring device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program and the processor can call the program stored in the memory, the program for:
acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in a fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values;
determining the median of a plurality of sampling values corresponding to each type of water body parameter;
determining whether the water body parameters of each type are abnormal or not based on the median of the water body parameters of the type and a preset threshold value;
and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in a fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values;
determining the median of a plurality of sampling values corresponding to each type of water body parameter;
determining whether the water body parameters of each type are abnormal or not based on the median of the water body parameters of the type and a preset threshold value;
and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
Alternatively, the detailed function and the extended function of the program may be as described above.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for monitoring the water quality of a fish tank is characterized by comprising the following steps:
acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by a sensor for a water body in a fish tank in a set period, wherein each type of water body parameter corresponds to a plurality of sampling values;
determining the median of a plurality of sampling values corresponding to each type of water body parameter;
determining whether the water body parameters of each type are abnormal or not based on the median of the water body parameters of the type and a preset threshold value;
and regarding the first water body parameter determined as the abnormal type, taking the digit thereof as a final sampling value, and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
2. The method of claim 1, further comprising:
judging whether the final sampling value of the second water body parameter reported last time is abnormal or not for the second water body parameter determined to be of the normal type;
if so, taking the median corresponding to the second water body parameter as a final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to a user terminal;
and if not, and the time from the last reporting of the final sampling value of the second water body parameter of the normal type reaches a set time interval, taking the median corresponding to the second water body parameter as the final sampling value, and reporting the second water body parameter of the normal type and the corresponding final sampling value to the user terminal together.
3. The method as claimed in claim 1, wherein the obtaining of the plurality of sampled values of the plurality of types of water parameters collected by the sensor for the water in the aquarium at the set period comprises:
controlling a water taking device to collect water in the fish tank as sample water bodies in a set period, wherein a plurality of sample water bodies are arranged;
and acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor for each sample water body.
4. The method of claim 3, wherein the determining, for each type of water body parameter, a median of the plurality of sample values corresponding to the type of water body parameter comprises:
for each type of water body parameter:
for each sample water body, determining the sampling median of a plurality of sampling values corresponding to the sample water body;
and counting the average value of the sampling median of each sample water body, wherein the average value is used as the median of the water body parameters of the type.
5. The method of claim 1,
regarding the preset threshold value of each type of water body parameter, taking the final sampling value which is closest to the sampling time and is normal as the preset threshold value;
for each type of water body parameter, determining whether the type of water body parameter is abnormal or not based on the median of the type of water body parameter and a preset threshold, wherein the determining comprises the following steps:
determining whether the difference value between the median of the water body parameters of each type and a preset threshold value is within a set difference value range or not according to the water body parameters of each type;
if so, judging the water body parameters of the type corresponding to the median as normal; if not, judging the water body parameter of the type corresponding to the median as abnormal.
6. The method of claim 1, further comprising:
acquiring a final sampling value and sampling time thereof which are reported in a set time period and marked as abnormal according to the water body parameters of each type in a set period;
and determining the reason causing the abnormality according to the occurrence frequency and the sampling time of the final sampling value of the water body parameter of each abnormal type.
7. The method of any one of claims 1-6, further comprising:
and for any final sampling value, if the final sampling value reaches the set alarm value of the water body parameter of the corresponding type, reporting alarm information to a user side, wherein the alarm information comprises a function of reminding a user to replace the filtering material or the water body of the fish tank.
8. The utility model provides a fish bowl water quality monitoring devices which characterized in that includes:
the sampling value acquisition unit is used for acquiring a plurality of sampling values of a plurality of types of water body parameters acquired by the sensor to the water body in the fish tank in a set period, wherein each type of water body parameter corresponds to the plurality of sampling values;
the median determining unit is used for determining the median of a plurality of sampling values corresponding to each type of water body parameter;
the abnormality judgment unit is used for determining whether the water body parameters of the types are abnormal or not according to the median of the water body parameters of the types and a preset threshold value;
and the sampling value reporting unit is used for taking the median of the first water body parameter determined as the abnormal type as a final sampling value and reporting the first water body parameter of the abnormal type and the corresponding final sampling value to the user terminal.
9. A fish tank water quality monitoring device is characterized by comprising a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program to realize the steps of the fish tank water quality monitoring method according to any one of claims 1 to 7.
10. A readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for monitoring water quality in a fish tank as claimed in any one of claims 1-7.
CN202111679188.3A 2021-12-31 2021-12-31 Fish tank water quality monitoring method, device and equipment and readable storage medium Pending CN114295798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111679188.3A CN114295798A (en) 2021-12-31 2021-12-31 Fish tank water quality monitoring method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111679188.3A CN114295798A (en) 2021-12-31 2021-12-31 Fish tank water quality monitoring method, device and equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114295798A true CN114295798A (en) 2022-04-08

Family

ID=80976315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111679188.3A Pending CN114295798A (en) 2021-12-31 2021-12-31 Fish tank water quality monitoring method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114295798A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115684516A (en) * 2022-08-29 2023-02-03 邯郸市亿润工程咨询有限公司 Hydraulic engineering sewage treatment detection method and device, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113504A (en) * 1995-10-24 1997-05-02 Nissin Electric Co Ltd Water quality instrument abnormality diagnostic method for water purifying plant
CN107037192A (en) * 2017-06-15 2017-08-11 梧州市兴能农业科技有限公司 A kind of effective multi objective Water Quality Evaluation system
CN108064065A (en) * 2017-12-25 2018-05-22 陈剑桃 A kind of long-distance water quality monitoring system based on wireless sensor network
CN108828181A (en) * 2018-09-13 2018-11-16 韩婕 A kind of surface water quality monitoring system and monitoring method
CN110850051A (en) * 2019-11-29 2020-02-28 广西华投检测技术有限公司 Water quality environment monitoring method
CN113325153A (en) * 2021-06-18 2021-08-31 军事科学院军事医学研究院环境医学与作业医学研究所 Water quality multi-parameter monitoring comprehensive information management system
CN113671142A (en) * 2021-08-19 2021-11-19 深圳市慧航星科技有限公司 Multi-parameter water quality monitoring and analyzing method and system for sewage and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113504A (en) * 1995-10-24 1997-05-02 Nissin Electric Co Ltd Water quality instrument abnormality diagnostic method for water purifying plant
CN107037192A (en) * 2017-06-15 2017-08-11 梧州市兴能农业科技有限公司 A kind of effective multi objective Water Quality Evaluation system
CN108064065A (en) * 2017-12-25 2018-05-22 陈剑桃 A kind of long-distance water quality monitoring system based on wireless sensor network
CN108828181A (en) * 2018-09-13 2018-11-16 韩婕 A kind of surface water quality monitoring system and monitoring method
CN110850051A (en) * 2019-11-29 2020-02-28 广西华投检测技术有限公司 Water quality environment monitoring method
CN113325153A (en) * 2021-06-18 2021-08-31 军事科学院军事医学研究院环境医学与作业医学研究所 Water quality multi-parameter monitoring comprehensive information management system
CN113671142A (en) * 2021-08-19 2021-11-19 深圳市慧航星科技有限公司 Multi-parameter water quality monitoring and analyzing method and system for sewage and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵锐;贾予平;张屹;沈凡;: "游泳池水质自动监测与人工监测结果的比较", 中国卫生检验杂志, no. 24, pages 4311 - 4313 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115684516A (en) * 2022-08-29 2023-02-03 邯郸市亿润工程咨询有限公司 Hydraulic engineering sewage treatment detection method and device, electronic equipment and medium
CN115684516B (en) * 2022-08-29 2024-03-26 邯郸市亿润工程咨询有限公司 Hydraulic engineering sewage treatment detection method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN105962896A (en) heart rate and sleep monitoring system and monitoring method
CN111920379B (en) Sleep detection method and device, electronic equipment and storage medium
CN111898068B (en) Anomaly detection method based on PERT algorithm and instrument usage analysis
CN104523265A (en) Judging method and device for abnormal electrocardio data
CN114295798A (en) Fish tank water quality monitoring method, device and equipment and readable storage medium
CN111406213B (en) Improved detection and characterization of anomalies in a continuum of water
CN111259334A (en) Monitoring and early warning method for water use abnormity of large users of industrial enterprises
CN109850961B (en) Method, device and system for judging residual life of filter element of water purifier
CN205191775U (en) Intelligent air purifier who possesses control filter screen cleanliness factor function
CN104754710B (en) A kind of equipment electricity saving method and equipment
CN111928491B (en) Electric water heater intelligent detection system based on big data
CN106452931A (en) Monitoring index, domain value discovery method, domain value adjusting method and automatic monitoring system
CN104188652A (en) Real-time control method and system for electrocardiogram data quality
CN105030225A (en) Reminding method and apparatus based on human metabolite detection
CN106940363A (en) A kind of marine pollution method for early warning based on marine organisms behavior reaction
CN110554161B (en) Water quality monitoring method based on fish behavior signals
CN116990479A (en) Water quality monitoring method, system, equipment and medium based on Zigbee technology
CN204260739U (en) Electrocardiographic quality of data real-time control system
CN108281182B (en) User health monitoring data alarming method and device
CN112075930B (en) Analysis early warning device, method and system based on scatter diagram and electronic equipment
CN111956065B (en) Cleaning reminding method and device, electric kettle and storage medium
CN115508528A (en) River and lake water quality-hydrodynamics online intelligent monitoring system and method
CN114330136A (en) Water meter based water living condition monitoring method, system, device and storage medium
CN113908600A (en) Filter element replacement detection method and device, water purification equipment and storage medium
CN111681388A (en) Intelligent management system for household old people

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination