Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an internet-based water quality monitoring system for detecting the influence of water in an aquarium on coral stone, which comprises:
a water quality data collecting device for collecting water quality data every day;
the image acquisition device is used for acquiring observation data of the coral;
the data transmitting device is used for transmitting the information of the image acquisition device and the water quality data collection device through the Internet;
and the data receiving device is used for receiving the information of the data sending device and processing, associating and displaying the observation data of the stonewort and the water quality data.
Preferably, the observation data is image information of a middle point of a strongest light time period acquired continuously for multiple days every day;
the observation data processing method comprises the steps of selecting a target area image of a part where the observed coral is located, and identifying the colors of all pixel points in the target area image and the number of pixel points corresponding to each color.
In any of the above schemes, preferably, the correlation method is to calculate a change rate of the water quality data, calculate a change rate of the number of pixels of different colors, and calculate and judge a similarity between each water quality data and the change rate of the number of pixels of each color, so as to determine an influence of a certain water quality data on the coral color.
In any of the above schemes, preferably, the data receiving device is capable of presetting a ratio of the number of the pixel points of the plurality of colors to the total number of the pixel points and judging whether the coral color meets the requirement.
In any of the above schemes, preferably, the observation data is image information of an intermediate point of a strongest period of light collected every day for a plurality of consecutive days;
the processing method of the observation data is to preset a brightness value, judge the type of the pixel points in the image information according to the brightness value, and take the pixel points larger than the brightness value as effective pixel points.
In any of the above schemes, preferably, the correlation method is to calculate a change rate of the water quality data, calculate a change rate of the number of effective pixels, and display the change rate of the number of effective pixels and the change rate of the water quality data on the data receiving device to determine the influence of certain water quality data on the growth of the coral.
In any of the above schemes, preferably, the data receiving device is a notebook computer, a tablet computer or a smart phone.
The invention has the beneficial effects that: according to the water quality monitoring system based on the Internet, the influence of water quality data on the growth and color development of the coral is visually displayed by acquiring the image data and the water quality data of the coral in the fish tank, and a user can check the influence at any time to determine the adjustment of the water quality of the fish tank and finally achieve the ideal state of the coral.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as specifically described herein, and it will be appreciated by those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the present invention and that the present invention is not limited by the specific embodiments disclosed below.
The invention provides a water quality monitoring system based on the Internet, which is used for detecting the influence of water in an aquarium on coral stone, and comprises:
the water quality data collection device is used for collecting water quality data every day, and the water quality data comprises calcium and magnesium ions, nitrate radicals, phosphate radicals and the like;
the image acquisition device is used for acquiring observation data of the coral at regular time;
the data transmitting device is used for transmitting the information of the image acquisition device and the water quality data collection device through the Internet;
and the data receiving device is used for receiving the information of the data sending device and processing and correlating the observation data of the stonecrop and the water quality data.
The working principle of the coral monitoring system is that information is collected through the water quality data collecting device and the image collecting device, the data sending device is used for transmitting the data to the data receiving device through the Internet, the data receiving device collects the information, analyzes the image and the water quality data, and displays the image and the water quality data on the data receiving device, so that a user can roughly judge the influence of each water quality data on the coral in a corresponding time period, and the coral monitoring system is adjusted to achieve the optimal state.
Example one
The technical scheme provided by the embodiment is used for monitoring the color development condition of the stonecrop, and the specific method comprises the following steps:
1. acquiring observation data, wherein the observation data is image information of an intermediate point of a strongest light period acquired every day for multiple continuous days, the intermediate point is directly acquired if the light intensity is consistent in the whole period, the intermediate point is acquired when the light intensity is changed in time periods, for example, the light intensity is strongest from 12 hours to 18 hours every day, the intermediate point is acquired at 15 hours, and the data acquisition time is performed after the coral enters the jar for 15 days;
the method for processing the observation data comprises the steps of selecting an image of a part where the coral to be observed is located, wherein the coral is generally fixed to a fixed position in an aquarium, and therefore only an image of a corresponding area is collected when the data are collected.
2. The water quality data is collected by using the water quality data collecting device, and in the embodiment, the data of nitrate radical and phosphate radical are collected at fixed time every day and are sent to the data receiving device through the data sending device.
3. The data receiving device calculates the change rate of the nitrate radical and the phosphate radical and the change rate of the number of pixel points with different colors;
and then, the similarity of the change rate of the pixel number of each water quality data and each color is judged, the color with high similarity of the change rate is associated with the water quality data to determine the influence of certain water quality data on the color of the coral, and the water quality data is displayed to a user through a screen of a data receiving device to serve as a reference for water quality adjustment.
The nitrate radical change rate was calculated by taking the average concentration from the start of monitoring day (first day) to the current day as A n First day of the dayHas a nitrate concentration of S n The nitrate radical change rate is R n Then R is n =(A n -S n )/S n *100%
The phosphate radical change rate was calculated by taking the average concentration from the start day (first day) to the current day of monitoring as A p The phosphate radical concentration on the first day is S p The rate of change of phosphate radical is R p Then R is p =(A p -S p )/ S p *100%
The calculation method of the change rate of the pixel points A is to take the average number of the pixel points A from the monitoring start day (the first day) to the current day as A a The number of the pixels A on the first day is S a (if the situation that the pixel point A is not observed in the monitoring process is calculated according to 1), the change rate of the pixel point A is R a Then R is a =(A a -P a )/P a *100%。
Then calculating R respectively a And R p And R n The lower the absolute value of the difference is, the higher the correlation between the color and certain water quality data is.
Therefore, the influence of certain water quality data on the coral color development can be visually displayed, so that the raising personnel can adjust the water quality more conveniently to control the coral color development.
The number of the pixels may be multiple, such as pixel a, pixel B, and pixel C, and the pixels are calculated respectively.
One display mode on the data receiving device is to vertically list different colors (namely pixel points A, B and C), arrange different water quality data according to the relevance degree from high to low after each color, and more intuitively display the influence of each water quality data on the color development of the coral.
Example two
The difference from the first embodiment is that the data receiving device can also preset the number of pixels with a plurality of colors and determine whether the coral color meets the requirement.
The method comprises the steps of obtaining initial image data, selecting image data of a target area, judging the number of pixel points with different colors, displaying the percentage of the pixel points with various colors to the total number of the pixel points on a data receiving device, manually setting the percentage number of the pixel points with ideal colors by a user, adjusting through the relation between water quality data and different colors to change the color of coral, and comparing the percentage of the pixel points with the preset percentage of the ideal colors in the image data to visually judge whether the ideal coral color development is achieved.
EXAMPLE III
In this embodiment, the system is used to monitor coral growth and water quality data, and the specific method is as follows:
1. acquiring observation data, wherein the observation data is image information of an intermediate point of strongest lamplight time period acquired every day for a plurality of continuous days, the intermediate point is directly taken if the lamplight intensity is consistent in the whole time period, the intermediate point is taken when the lamplight intensity is strongest in time period change, such as 12-18 hours a day, and the observation data is acquired when 15 days later than 15 days later for coral entering the jar;
the method for processing the observation data comprises the steps of selecting an image of a part where the observed coral is located, and only acquiring an image of a corresponding area when acquiring the data, wherein the specific method comprises the steps of facing a camera to the front side of the aquarium, determining a target area for acquiring the observation data, wherein the area comprises all images of the target coral, and extracting the image of the target area after acquiring the images;
generally, the coral with a high-brightness fluorescence effect under blue light is considered to have the aquarium culture value, so a brightness value can be preset, the type of pixel points in image information is judged according to the brightness value, background pixel points do not have the fluorescence effect, pixel points larger than the brightness value are effective pixel points, the effective pixel points are sent to a data receiving device, in order to avoid the situation that the effective pixel points are judged by mistake, the coral stone is placed on a dark matrix, such as a black plastic grid plate, the background of the coral stone is dark when image data are collected, such as the background of the aquarium is pasted with black background paper, wherein it needs to be explained that if the coral stone is fixedly planted on the landscaping stone, the landscaping stone does not influence whether the pixel points are judged effectively.
2. The water quality data is collected by using the water quality data collecting device, and the concentration data of calcium ions, magnesium ions and carbonate ions are collected at fixed time every day in the embodiment and are sent to the data receiving device through the data sending device.
3. The data receiving device calculates the change rate of the concentrations of calcium ions, magnesium ions and nitrate ions and the change rate of the number of effective pixels;
and then, the similarity of the quantity change rate of each water quality data and each effective pixel point is judged to determine the influence of certain water quality data on the growth speed of the coral, and the influence is displayed to a user through a screen of a data receiving device.
The calcium ion change rate is calculated by taking the average concentration from the start day (first day) to the current day of monitoring as A c Calcium ion concentration on day one is S c The rate of change of calcium ion is R c Then R is c =(A c -S c )/S c *100%。
The magnesium ion change rate is calculated by taking the average concentration from the start day (first day) to the current day of monitoring as A m The magnesium ion concentration on the first day is S m The rate of change of magnesium ion is R m Then R is m =(A m -P m )/P m *100%。
The carbonate ion change rate was calculated by monitoring the average concentration from the start date (first day) to the current day as A k The carbonate ion concentration on the first day is S k The rate of change of carbonate ion is R k Then R is k =(A k -P k )/P k *100%。
The effective pixel point change rate (growth rate) is calculated by the following method R g =[(G 2 -G 1 )+……+(G m -G m-1 )]M, wherein G 1 To monitor the number of first-day significant pixels, G m For monitoring the number of effective pixel points on the day, m is the total number of days, R g The effective pixel point change rate (growth rate).
During the monitoring process, preferably, only one of the water quality data is adjusted, and the rest of the water quality data is kept in a relatively stable rangeIn-wall, i.e. if it is desired to monitor the effect of calcium ion concentration on coral growth rate, R should be maintained k And R m Less than 10%, and mixing R k 、R m 、R g And R c The influence of calcium ions on the growth rate of the coral in the monitoring process can be visually seen when the monitoring device is displayed on a data receiving device.
It should be noted that the stabilization and concentration adjustment of various ions can be realized by a dedicated titration pump, and the real-time or timing monitoring equipment for each water quality data is the prior art.
And the kind of the water quality data is not limited to the kind of the water quality data in the embodiment.
In other embodiments, the various water quality data, growth rates, and different color data are displayed together on the data receiving device.
It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.