Algae identification data management method and platform
Through the automatic identification and storage functions of the algae identification data management platform, the time-consuming and labor-intensive problem of traditional methods is solved, accurate identification and real-time monitoring of algae types are achieved, and large-scale water environment monitoring is supported.
Patent Information
- Application Number
- CN202410726375.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Traditional artificial algae identification methods are time-consuming and labor-intensive and difficult to meet the needs of large-scale, real-time monitoring. Moreover, there are many types of algae with different shapes, making it difficult to effectively monitor the environmental quality of water bodies and provide early warning of harmful algal bloom events.
Provide an algae identification data management method and platform that obtains algae sample information through the data interaction layer, uses preset convolutional neural networks for feature extraction and identification, and combines living environment parameters to automatically identify algae types and store them in the database for real-time monitoring and send exception information.
It achieves accurate identification and effective storage of algae type information, improves monitoring efficiency, can respond to changes in water environment in real time, and supports large-scale monitoring and data management.
Smart Images

Figure CN118298385B
Abstract
Description
Technical Field
[0001] The present application relates to data processing technology, and in particular to an algae identification data management method and platform. Background Art
[0002] With the increasing impact of global environmental changes and human activities, eutrophication of water bodies has become an increasingly serious environmental problem, leading to excessive reproduction of algae, which not only affects the ecological balance of water bodies, but also threatens drinking water safety and the sustainable development of aquaculture.
[0003] As a key technology for monitoring water quality and warning of harmful algal blooms, algae identification is becoming increasingly important. However, algae are of various types and shapes. Traditional manual identification methods are not only time-consuming and laborious, but also limited by expert experience, making it difficult to meet the needs of large-scale, real-time monitoring. Summary of the invention
[0004] The present application provides an algae identification data management method and platform for realizing automatic identification of algae type information, and effective storage and management of algae identification information.
[0005] In a first aspect, the present application provides an algae identification data management method, which is applied to an algae identification data management platform, wherein the algae identification data management platform includes a data interaction layer, a data processing layer, and an algae database, wherein the data processing layer is connected to the data interaction layer and the algae database, respectively; the method includes:
[0006] Acquire the algae sample information of the algae to be identified through the data acquisition interface of the data interaction layer, and transmit the algae sample information to the data processing layer, wherein the algae sample information includes an image of the algae to be identified and living environment parameters;
[0007] The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model;
[0008] The data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information.
[0009] Optionally, the data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model, including:
[0010] Using a preset algae type annotation database to train a preset convolutional neural network to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information, and algae type;
[0011] The data processing layer extracts features of the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set;
[0012] The data processing layer performs feature extraction on the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels;
[0013] The data processing layer determines the algae type information according to the algae image feature set, the living environment feature vector set and the recognition neural network.
[0014] Optionally, before the preset convolutional neural network is trained using the preset algae type annotation database to obtain the recognition neural network, the method further includes:
[0015] Using the preset algae type annotation database Determine the algae growth environment data set And the corresponding algae type set , wherein the environmental parameter set The Algae growth environment data , The preset algae type is marked in the database Algae type annotation data, for The algae growth environment data in for Types of algae, for Middle algae growth environment parameters, is the number of algae type annotation data in the preset algae type annotation database, is the number of algae growth environment parameters in the algae growth environment data;
[0016] Using formula (1), and according to the algae growth environment data set and the algae type set Determine the correlation between each algae growth environment parameter and algae type in the algae growth environment data , the formula (1) is:
[0017] (1)
[0018] According to the correlation Determine the corresponding algae growth environment parameters The corresponding living environment feature vector has an initial weight value in the preset convolutional neural network, and the degree of association is positively correlated with the initial weight value.
[0019] Optionally, after acquiring the to-be-identified algae sample information of the to-be-identified algae through the data acquisition interface of the data interaction layer, the method further includes:
[0020] The data processing layer acquires an algae monitoring data set within a preset time range from the algae database, wherein the algae monitoring data in the algae monitoring data set includes the algae type information and the algae sample information to be identified;
[0021] If the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds a preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
[0022] Optionally, the algae monitoring abnormality information includes the algae monitoring data set; after the algae identification data management platform sends the algae monitoring abnormality information to the monitoring terminal, it also includes:
[0023] Displaying the algae monitoring abnormality information on the monitoring terminal;
[0024] In response to the algae type information adjustment instruction on the monitoring terminal, modify the algae type information to be adjusted of the algae monitoring data to be adjusted in the algae monitoring data set to generate target algae monitoring data, wherein the target algae monitoring data includes target algae image information, target algae growth environment data information and target algae type information;
[0025] The target algae monitoring data is added to the preset algae type annotation database to generate an updated algae type annotation database, and the updated algae type annotation database is used to iteratively update the recognition neural network.
[0026] Optionally, before adding the target algae monitoring data to the preset algae type annotation database, the method further includes:
[0027] Using formula (2), and according to the target algae type information and the algae type information to be adjusted, determine the algae type information deviation characteristic value , the formula (2) is:
[0028] φ=-[Rlog R ̂ +(1-R)log(1- R ̂ )] (2)
[0029] in, is the characteristic quantity corresponding to the target algae type information, is the characteristic value corresponding to the algae type information to be adjusted;
[0030] Determine the algae type information deviation characteristic value Greater than the preset deviation characteristic threshold.
[0031] Optionally, the data processing layer obtains a set of algae monitoring data within a preset time range from the algae database, including:
[0032] The data processing layer obtains a preset time range from the algae database Each time point Algae monitoring data , to generate the algae monitoring data set , wherein the algae monitoring data Included in the time node All algae monitoring data under is the number of time nodes in the preset time range;
[0033] Correspondingly, if the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds the preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal, including:
[0034] The data processing layer collects the algae monitoring data Determine each algae monitoring data in turn The data ratio of the algae monitoring data that meets the preset algae type condition is used to form a data ratio set ,in, For time node The following data ratio:
[0035] The data processing layer uses formula (3) and sets the data ratio according to Determine the characteristic values of abnormal algae growth , the formula (3) is:
[0036] (3)
[0037] in, is the number of time nodes in the preset time range;
[0038] If the data processing layer determines the abnormal algae growth characteristic value If the value is greater than a preset abnormal algae growth characteristic threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
[0039] In a second aspect, the present application provides an algae identification data management platform, comprising: a data interaction layer, a data processing layer and an algae database, wherein the data processing layer is connected to the data interaction layer and the algae database respectively;
[0040] Acquire the algae sample information of the algae to be identified through the data acquisition interface of the data interaction layer, and transmit the algae sample information to the data processing layer, wherein the algae sample information includes an image of the algae to be identified and living environment parameters;
[0041] The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model;
[0042] The data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information.
[0043] Optionally, a preset convolutional neural network is trained using a preset algae type annotation database to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information, and algae type;
[0044] The data processing layer extracts features of the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set;
[0045] The data processing layer performs feature extraction on the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels;
[0046] The data processing layer determines the algae type information according to the algae image feature set, the living environment feature vector set and the recognition neural network.
[0047] Optionally, the preset algae type annotation database is used Determine the algae growth environment data set And the corresponding algae type set , wherein the environmental parameter set The Algae growth environment data , The preset algae type is marked in the database Algae type annotation data, for The algae growth environment data in for Types of algae, for Middle algae growth environment parameters, is the number of algae type annotation data in the preset algae type annotation database, is the number of algae growth environment parameters in the algae growth environment data;
[0048] Using formula (1), and according to the algae growth environment data set and the algae type set Determine the correlation between each algae growth environment parameter and algae type in the algae growth environment data , the formula (1) is:
[0049] (1)
[0050] According to the correlation Determine the corresponding algae growth environment parameters The corresponding living environment feature vector has an initial weight value in the preset convolutional neural network, and the degree of association is positively correlated with the initial weight value.
[0051] Optionally, the data processing layer obtains an algae monitoring data set within a preset time range from the algae database, wherein the algae monitoring data in the algae monitoring data set includes the algae type information and the algae sample information to be identified;
[0052] If the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds a preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
[0053] Optionally, the algae monitoring abnormality information is displayed on the monitoring terminal;
[0054] In response to the algae type information adjustment instruction on the monitoring terminal, modify the algae type information to be adjusted of the algae monitoring data to be adjusted in the algae monitoring data set to generate target algae monitoring data, wherein the target algae monitoring data includes target algae image information, target algae growth environment data information and target algae type information;
[0055] The target algae monitoring data is added to the preset algae type annotation database to generate an updated algae type annotation database, and the updated algae type annotation database is used to iteratively update the recognition neural network.
[0056] Optionally, using formula (2), the algae type information deviation characteristic value is determined according to the target algae type information and the algae type information to be adjusted. , the formula (2) is:
[0057] φ=-[Rlog R ̂ +(1-R)log(1- R ̂ )] (2)
[0058] in, is the characteristic quantity corresponding to the target algae type information, is the characteristic value corresponding to the algae type information to be adjusted;
[0059] Determine the algae type information deviation characteristic value Greater than the preset deviation characteristic threshold.
[0060] Optionally, the data processing layer obtains a preset time range from the algae database Each time point Algae monitoring data , to generate the algae monitoring data set , wherein the algae monitoring data Included in the time node All algae monitoring data under is the number of time nodes in the preset time range;
[0061] Correspondingly, if the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds the preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal, including:
[0062] The data processing layer collects the algae monitoring data Determine each algae monitoring data in turn The data ratio of the algae monitoring data that meets the preset algae type condition is used to form a data ratio set ,in, For time node The following data ratio:
[0063] The data processing layer uses formula (3) and sets the data ratio according to Determine the characteristic values of abnormal algae growth , the formula (3) is:
[0064] (3)
[0065] in, is the number of time nodes in the preset time range;
[0066] If the data processing layer determines the abnormal algae growth characteristic value If the value is greater than a preset abnormal algae growth characteristic threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
[0067] In a third aspect, the present application provides an electronic device, including:
[0068] processor; and,
[0069] A memory, configured to store executable instructions of the processor;
[0070] The processor is configured to perform any possible method described in the first aspect by executing the executable instructions.
[0071] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any possible method described in the first aspect.
[0072] The algae identification data management method and platform provided in the present application obtain the algae sample information to be identified of the algae to be identified through the data acquisition interface of the data interaction layer, and transmit the algae sample information to be identified to the data processing layer, so that the data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model, and then stores the algae sample information to be identified in the algae database according to the algae type information, thereby realizing multi-dimensional feature considerations based on algae images and living environment parameters, so as to improve the accuracy of algae type information identification, and realize effective storage and management of algae identification data. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0074] Figure 1 is a flowchart of an algae identification data management method according to an example embodiment of the present application;
[0075] Figure 2is a flowchart of an algae identification data management method according to another exemplary embodiment of the present application;
[0076] Figure 3 is a schematic diagram of the structure of an algae identification data management platform according to an exemplary embodiment of the present application;
[0077] Figure 4 It is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application.
[0078] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0079] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0080] Figure 1 FIG. 1 is a flow chart of an algae identification data management method according to an exemplary embodiment of the present application. Figure 1 As shown, the method provided in this embodiment includes:
[0081] S101 , obtaining the to-be-identified algae sample information of the to-be-identified algae through the data acquisition interface of the data interaction layer, and transmitting the to-be-identified algae sample information to the data processing layer.
[0082] The algae identification data management method provided in this embodiment can be applied to an algae identification data management platform. The algae identification data management platform includes a data interaction layer, a data processing layer and an algae database, and the data processing layer is connected to the data interaction layer and the algae database respectively. The algae identification data management platform can be set on a cloud server.
[0083] In this step, the algae sample information of the algae to be identified can be obtained through the data acquisition interface of the data interaction layer, and the algae sample information to be identified is transmitted to the data processing layer, and the algae sample information to be identified includes the algae image to be identified and the living environment parameters. Among them, the algae image to be identified can be the information of the algae to be identified after being magnified, and the living environment parameters can be the environmental parameters of the area where the algae to be identified live, that is, the sampling area, for example, can include environmental temperature, pH, oxygen content and salt content.
[0084] S102: The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model.
[0085] Optionally, a preset convolutional neural network may be first trained using a preset algae type annotation database to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information and algae type.
[0086] Then, the data processing layer performs feature extraction on the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set.
[0087] The data processing layer extracts features of the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels.
[0088] The data processing layer determines the algae type information based on the algae image feature set, the living environment feature vector set and the recognition neural network.
[0089] S103: The data processing layer stores the information of the algae sample to be identified in the algae database according to the algae type information.
[0090] In this step, the data processing layer may store the information of the algae sample to be identified in the algae database according to the algae type information.
[0091] Optionally, for the above algae database, a distributed storage architecture can be adopted to ensure efficient access and management of a large amount of algae sample information. In addition, the input images and environmental parameters can be converted and standardized in a unified format to facilitate comparison and analysis across data sources, and a time series data management function is also configured to support tracking and analysis of algae data collected in the same area at different time points to evaluate the dynamic changes of algae populations.
[0092] In this embodiment, the algae sample information to be identified of the algae to be identified is obtained through the data acquisition interface of the data interaction layer, and the algae sample information to be identified is passed to the data processing layer, so that the data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model, and then stores the algae sample information to be identified in the algae database according to the algae type information, thereby realizing multi-dimensional feature considerations based on algae images and living environment parameters, so as to improve the accuracy of algae type information identification, and realize effective storage and management of algae identification data.
[0093] Figure 2 FIG. 1 is a flow chart of an algae identification data management method according to another exemplary embodiment of the present application. Figure 2 As shown, the algae identification data management method provided in this embodiment includes:
[0094] S201 , obtaining the to-be-identified algae sample information of the to-be-identified algae through the data acquisition interface of the data interaction layer, and transmitting the to-be-identified algae sample information to the data processing layer.
[0095] In this step, the algae sample information of the algae to be identified can be obtained through the data acquisition interface of the data interaction layer, and the algae sample information to be identified is transmitted to the data processing layer, and the algae sample information to be identified includes the algae image to be identified and the living environment parameters. Among them, the algae image to be identified can be the information of the algae to be identified after being magnified, and the living environment parameters can be the environmental parameters of the area where the algae to be identified live, that is, the sampling area, for example, can include environmental temperature, pH, oxygen content and salt content.
[0096] S202: The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model.
[0097] Optionally, a preset convolutional neural network may be first trained using a preset algae type annotation database to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information and algae type.
[0098] Then, the data processing layer performs feature extraction on the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set.
[0099] The data processing layer extracts features of the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels.
[0100] The data processing layer determines the algae type information based on the algae image feature set, the living environment feature vector set and the recognition neural network.
[0101] In order to improve the convergence speed of the above-mentioned training of the preset convolutional neural network using the preset algae type annotation database, so as to improve the training efficiency and make the recognition neural network have more accurate recognition ability, before the preset convolutional neural network is trained using the preset algae type annotation database to obtain the recognition neural network, the preset algae type annotation database can be used to train the preset convolutional neural network. Determine the algae growth environment data set And the corresponding algae type set , where the environmental parameter set The Algae growth environment data , Label the first algae type in the database Algae type annotation data, for The algae growth environment data in for Types of algae, for Middle algae growth environment parameters, The number of algae type annotation data in the preset algae type annotation database, is the number of algae growth environment parameters in the algae growth environment data.
[0102] Then, using formula (1), and based on the algae growth environment data set and algae type collections Determine the correlation between each algae growth environment parameter and algae type in the algae growth environment data , formula (1) is:
[0103] (1)
[0104] According to the degree of relevance Determine the corresponding algae growth environment parameters The initial weight value of the corresponding living environment feature vector in the preset convolutional neural network, and the correlation degree are positively correlated with the initial weight value.
[0105] S203: The data processing layer stores the information of the algae sample to be identified in the algae database according to the algae type information.
[0106] In this step, the data processing layer may store the information of the algae sample to be identified in the algae database according to the algae type information.
[0107] Optionally, for the above algae database, a distributed storage architecture can be adopted to ensure efficient access and management of a large amount of algae sample information. In addition, the input images and environmental parameters can be converted and standardized in a unified format to facilitate comparison and analysis across data sources, and a time series data management function is also configured to support tracking and analysis of algae data collected in the same area at different time points to evaluate the dynamic changes of algae populations.
[0108] S204: The data processing layer obtains a set of algae monitoring data within a preset time range from the algae database.
[0109] In this step, the data processing layer obtains an algae monitoring data set within a preset time range from the algae database, wherein the algae monitoring data in the algae monitoring data set includes algae type information and algae sample information to be identified.
[0110] S205. The algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
[0111] Specifically, if the data processing layer determines that the data ratio of the algae monitoring data that meets the preset algae type condition in the algae monitoring data set exceeds the preset ratio threshold, the algae identification data management platform can send algae monitoring abnormality information to the monitoring terminal. Among them, the above-mentioned preset algae type condition can be a harmful algae type. Through the above steps, when harmful algae are detected and the harmful algae cannot be naturally optimized by the breeding environment, the algae monitoring abnormality information can be sent to the monitoring terminal to remind the monitoring personnel to intervene.
[0112] Furthermore, the algae monitoring abnormality information may also include an algae monitoring data set. After the algae identification data management platform sends the algae monitoring abnormality information to the monitoring terminal, the algae monitoring abnormality information may be displayed on the monitoring terminal.
[0113] In response to the algae type information adjustment instruction on the monitoring terminal, the algae type information to be adjusted of the algae monitoring data to be adjusted in the algae monitoring data set is modified to generate target algae monitoring data, and the target algae monitoring data includes target algae image information, target algae growth environment data information and target algae type information. The target algae monitoring data is added to the preset algae type annotation database to generate an updated algae type annotation database, and the updated algae type annotation database is used to iteratively update the recognition neural network. It is worth noting that by adding the modified target algae monitoring data to the preset algae type annotation database to generate an updated algae type annotation database, and iteratively updating the recognition neural network using the updated algae type annotation database, it is possible to use manual confirmation and modification on the monitoring terminal to obtain training data that the current recognition neural network fails to accurately identify, thereby achieving the above-mentioned accurate and targeted training data to continuously improve the recognition accuracy of the recognition neural network without adding additional annotation work.
[0114] Furthermore, before adding the target algae monitoring data to the preset algae type annotation database, formula (2) can also be used to determine the algae type information deviation characteristic value according to the target algae type information and the algae type information to be adjusted. , formula (2) is:
[0115] φ=-[Rlog R ̂ +(1-R)log(1- R ̂ )] (2)
[0116] in, is the characteristic quantity corresponding to the target algae type information, is the characteristic value corresponding to the algae type information to be adjusted. Determine the characteristic value of the algae type information deviation is greater than the preset deviation characteristic threshold, and then the deviation characteristic value of the algae type information is Target algae monitoring data that is greater than a preset deviation feature threshold is preferentially added to a preset algae type annotation database, thereby being able to quickly improve the recognition accuracy of the recognition neural network in the next round of iterative training.
[0117] Based on the above embodiment, the data processing layer obtains the algae monitoring data set within a preset time range from the algae database, which can be the data processing layer obtaining the algae monitoring data set within a preset time range from the algae database. Each time point Algae monitoring data , to generate an algae monitoring data set , among which, algae monitoring data Included in the time node All algae monitoring data under The number of time nodes in the preset time range.
[0118] Then, the data processing layer collects data based on the algae monitoring data Determine each algae monitoring data in turn The data proportion of algae monitoring data that meets the preset algae type conditions is used to form a data proportion set ,in, For time node The following data ratio.
[0119] The data processing layer uses formula (3) and sets the data according to the data ratio Determine the characteristic values of abnormal algae growth , formula (3) is:
[0120] (3)
[0121] in, is the number of time nodes in the preset time range;
[0122] If the data processing layer determines the abnormal algae growth characteristic value If the value is greater than the preset abnormal algae growth characteristic threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal. It is worth noting that through the above steps, it can be determined that algae that meet the preset algae type conditions, such as harmful algae, continue to grow in the breeding environment, and cannot be optimized through the natural metabolism of the breeding environment. Therefore, the algae identification data management platform can send algae monitoring abnormality information to the monitoring terminal to achieve artificial intervention to achieve disease prevention and control of the breeding environment.
[0123] Figure 3 FIG. 1 is a schematic diagram of the structure of an algae identification data management platform according to an exemplary embodiment of the present application. Figure 3 As shown, the algae identification data management platform 300 provided in this embodiment includes: a data interaction layer 310, a data processing layer 320 and an algae database 330, wherein the data processing layer 320 is connected to the data interaction layer 310 and the algae database 330 respectively;
[0124] Acquire the algae sample information of the algae to be identified through the data acquisition interface of the data interaction layer 310, and transmit the algae sample information to the data processing layer 320, wherein the algae sample information includes the algae image to be identified and the living environment parameters;
[0125] The data processing layer 320 determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model;
[0126] The data processing layer 320 stores the to-be-identified algae sample information in the algae database 330 according to the algae type information.
[0127] Optionally, a preset convolutional neural network is trained using a preset algae type annotation database to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information, and algae type;
[0128] The data processing layer 320 extracts features of the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set;
[0129] The data processing layer 320 performs feature extraction on the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels;
[0130] The data processing layer 320 determines the algae type information according to the algae image feature set, the living environment feature vector set and the recognition neural network.
[0131] Optionally, the preset algae type annotation database is used Determine the algae growth environment data set And the corresponding algae type set , wherein the environmental parameter set The Algae growth environment data , The preset algae type is marked in the database Algae type annotation data, for The algae growth environment data in for Types of algae, for Middle algae growth environment parameters, is the number of algae type annotation data in the preset algae type annotation database, is the number of algae growth environment parameters in the algae growth environment data;
[0132] Using formula (1), and according to the algae growth environment data set and the algae type set Determine the correlation between each algae growth environment parameter and algae type in the algae growth environment data , the formula (1) is:
[0133] (1)
[0134] According to the correlation Determine the corresponding algae growth environment parameters The corresponding living environment feature vector has an initial weight value in the preset convolutional neural network, and the degree of association is positively correlated with the initial weight value.
[0135] Optionally, the data processing layer 320 obtains an algae monitoring data set within a preset time range from the algae database 330, wherein the algae monitoring data in the algae monitoring data set includes the algae type information and the algae sample information to be identified;
[0136] If the data processing layer 320 determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds a preset ratio threshold, the algae identification data management platform 300 sends algae monitoring abnormality information to the monitoring terminal.
[0137] Optionally, the algae monitoring abnormality information is displayed on the monitoring terminal;
[0138] In response to the algae type information adjustment instruction on the monitoring terminal, modify the algae type information to be adjusted of the algae monitoring data to be adjusted in the algae monitoring data set to generate target algae monitoring data, wherein the target algae monitoring data includes target algae image information, target algae growth environment data information and target algae type information;
[0139] The target algae monitoring data is added to the preset algae type annotation database to generate an updated algae type annotation database, and the updated algae type annotation database is used to iteratively update the recognition neural network.
[0140] Optionally, using formula (2), the algae type information deviation characteristic value is determined according to the target algae type information and the algae type information to be adjusted. , the formula (2) is:
[0141] φ=-[Rlog R ̂ +(1-R)log(1- R ̂ )] (2)
[0142] in, is the characteristic quantity corresponding to the target algae type information, is the characteristic value corresponding to the algae type information to be adjusted;
[0143] Determine the algae type information deviation characteristic value Greater than the preset deviation characteristic threshold.
[0144] Optionally, the data processing layer 320 obtains a preset time range from the algae database 330 Each time point Algae monitoring data , to generate the algae monitoring data set , wherein the algae monitoring data Included in the time node All algae monitoring data under is the number of time nodes in the preset time range;
[0145] Correspondingly, if the data processing layer 320 determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds the preset ratio threshold, the algae identification data management platform 300 sends algae monitoring abnormality information to the monitoring terminal, including:
[0146] The data processing layer 320 collects the algae monitoring data Determine each algae monitoring data in turn The data ratio of the algae monitoring data that meets the preset algae type condition is used to form a data ratio set ,in, For time node The following data ratio:
[0147] The data processing layer 320 uses formula (3) and sets the data ratio according to Determine the characteristic values of abnormal algae growth , the formula (3) is:
[0148] (3)
[0149] in, is the number of time nodes in the preset time range;
[0150] If the data processing layer 320 determines the abnormal algae growth characteristic value If the value is greater than a preset abnormal algae growth characteristic threshold, the algae identification data management platform 300 sends algae monitoring abnormality information to the monitoring terminal.
[0151] Figure 4 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. Figure 4 As shown, an electronic device 400 provided in this embodiment includes: a processor 401 and a memory 402; wherein:
[0152] The memory 402 is used to store computer programs, and the memory may also be a flash memory.
[0153] The processor 401 is used to execute the execution instructions stored in the memory to implement each step in the above method. For details, please refer to the relevant description in the above method embodiment.
[0154] Optionally, the memory 402 may be independent or integrated with the processor 401 .
[0155] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:
[0156] The bus 403 is used to connect the memory 402 and the processor 401 .
[0157] This embodiment further provides a readable storage medium, in which a computer program is stored. When at least one processor of an electronic device executes the computer program, the electronic device executes the methods provided in the above-mentioned various implementation modes.
[0158] This embodiment also provides a program product, which includes a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device implements the methods provided in the above various embodiments.
[0159] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0160] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for managing algae identification data, characterized in that: Applied to an algae identification data management platform, the algae identification data management platform includes a data interaction layer, a data processing layer and an algae database, the data processing layer is connected to the data interaction layer and the algae database respectively; the method includes: Acquire the algae sample information of the algae to be identified through the data acquisition interface of the data interaction layer, and transmit the algae sample information to the data processing layer, wherein the algae sample information includes an image of the algae to be identified and living environment parameters; The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model; The data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information; The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model, including: Using a preset algae type annotation database to train a preset convolutional neural network to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information, and algae type; The data processing layer extracts features of the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set; The data processing layer performs feature extraction on the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels; The data processing layer determines the algae type information according to the algae image feature set, the living environment feature vector set and the recognition neural network; Before the preset convolutional neural network is trained using the preset algae type annotation database to obtain the recognition neural network, the method further includes: Determine an algae growth environment data set and a corresponding algae type set using the preset algae type annotation database; Determining the correlation between each algae growth environment parameter in the algae growth environment data and the algae type according to the algae growth environment data set and the algae type set; Determine, according to the correlation degree, an initial weight value of a living environment feature vector corresponding to a corresponding algae growth environment parameter in the preset convolutional neural network, wherein the correlation degree is positively correlated with the initial weight value; After the data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information, the method further includes: The data processing layer acquires an algae monitoring data set within a preset time range from the algae database, wherein the algae monitoring data in the algae monitoring data set includes the algae type information and the algae sample information to be identified; If the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds a preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
2. The algae identification data management method according to claim 1, characterized in that: The algae monitoring abnormal information includes the algae monitoring data set; After the algae identification data management platform sends the algae monitoring abnormality information to the monitoring terminal, the method further includes: Displaying the algae monitoring abnormality information on the monitoring terminal; In response to the algae type information adjustment instruction on the monitoring terminal, modify the algae type information to be adjusted of the algae monitoring data to be adjusted in the algae monitoring data set to generate target algae monitoring data, wherein the target algae monitoring data includes target algae image information, target algae growth environment data information and target algae type information; The target algae monitoring data is added to the preset algae type annotation database to generate an updated algae type annotation database, and the updated algae type annotation database is used to iteratively update the recognition neural network.
3. The algae identification data management method according to claim 2, characterized in that: Before adding the target algae monitoring data to the preset algae type annotation database, the method further includes: Determining an algae type information deviation characteristic value according to the target algae type information and the algae type information to be adjusted; It is determined that the deviation characteristic value of the algae type information is greater than a preset deviation characteristic threshold.
4. The algae identification data management method according to claim 1, characterized in that: The data processing layer obtains a set of algae monitoring data within a preset time range from the algae database, including: The data processing layer obtains the algae monitoring data at each time node in a preset time range from the algae database to generate the algae monitoring data set, wherein the algae monitoring data includes all algae monitoring data at the corresponding time node, which is the number of time nodes in the preset time range; Correspondingly, if the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds the preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal, including: The data processing layer sequentially determines the data proportion of the algae monitoring data that meets the preset algae type condition in each algae monitoring data according to the algae monitoring data set to form a data proportion set; The data processing layer determines the abnormal algae growth characteristic value according to the data ratio set; If the data processing layer determines that the abnormal algae growth characteristic value is greater than a preset abnormal algae growth characteristic threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
5. An algae identification data management platform, characterized in that: include: A data interaction layer, a data processing layer and an algae database, wherein the data processing layer is connected to the data interaction layer and the algae database respectively; Acquire the algae sample information of the algae to be identified through the data acquisition interface of the data interaction layer, and transmit the algae sample information to the data processing layer, wherein the algae sample information includes an image of the algae to be identified and living environment parameters; The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model; The data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information; The data processing layer determines the algae type information of the algae to be identified according to the algae sample information to be identified and a preset algae identification model, including: Using a preset algae type annotation database to train a preset convolutional neural network to obtain a recognition neural network, wherein each algae type annotation data in the preset algae type annotation database includes algae image information, algae growth environment data information, and algae type; The data processing layer extracts features of the algae image to be identified through the first feature extraction channel of the preset algae identification model to generate an algae image feature set; The data processing layer performs feature extraction on the living environment parameters through the second feature extraction channel of the preset algae recognition model to generate a set of living environment feature vectors, wherein the first feature extraction channel and the second feature extraction channel are parallel channels; The data processing layer determines the algae type information according to the algae image feature set, the living environment feature vector set and the recognition neural network; Before the preset convolutional neural network is trained using the preset algae type annotation database to obtain the recognition neural network, the method further includes: Determine an algae growth environment data set and a corresponding algae type set using the preset algae type annotation database; Determining the correlation between each algae growth environment parameter in the algae growth environment data and the algae type according to the algae growth environment data set and the algae type set; Determine, according to the correlation degree, an initial weight value of a living environment feature vector corresponding to a corresponding algae growth environment parameter in the preset convolutional neural network, wherein the correlation degree is positively correlated with the initial weight value; After the data processing layer stores the to-be-identified algae sample information in the algae database according to the algae type information, the method further includes: The data processing layer acquires an algae monitoring data set within a preset time range from the algae database, wherein the algae monitoring data in the algae monitoring data set includes the algae type information and the algae sample information to be identified; If the data processing layer determines that the data ratio of the algae monitoring data satisfying the preset algae type condition in the algae monitoring data set exceeds a preset ratio threshold, the algae identification data management platform sends algae monitoring abnormality information to the monitoring terminal.
6. An electronic device, characterized in that: include: processor; as well as, A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 4 by executing the executable instructions.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 4 when executed by a processor.
