Poisonous organism identification method, device and server
By configuring multiple candidate identification modes and target identification algorithms on the server, users can select the identification mode online and upload information for toxic biological identification, solving the problem of cumbersome and inefficient toxic biological identification process in the prior art, and achieving efficient and accurate identification results.
Patent Information
- Application Number
- CN202111358902.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-11-17
AI Technical Summary
In the prior art, the toxic biological identification process has problems such as cumbersome processes and inefficient efficiency.
Provide a method, device and server for identifying toxic organisms. Through the server, multiple candidate identification modes are configured, users can select the target identification mode and upload the information to be identified, and use the target identification algorithm to be used to identify toxic organisms.
The identification efficiency of toxic organisms has been significantly improved and efficient and accurate identification of toxic organisms has been achieved.
Smart Images

Figure CN114023380B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of identification technology, and in particular to a method, device and server for identifying poisonous organisms. Background Art
[0002] There are many kinds of organisms living in nature, many of which are poisonous and may cause poisoning to humans. Currently, if a user has an image or DNA (deoxyribo Nucleic Acid) sequence of a certain poisonous organism, he or she needs to go to a professional toxic organism identification agency and submit an identification application to the agency. After the application is approved, the agency will conduct the toxic organism identification. The toxic organism identification process has problems such as cumbersome procedures and low efficiency. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a method, device and server for identifying poisonous organisms, which can efficiently and accurately identify poisonous organisms and significantly improve the efficiency of identifying poisonous organisms.
[0004] In a first aspect, an embodiment of the present invention provides a method for identifying poisonous organisms, the method being applied to a server, the server being configured with multiple candidate identification modes, the method comprising: in response to a first selection operation for the candidate identification mode, determining a target identification mode and a target information type and a target identification algorithm corresponding to the target identification mode; obtaining information to be identified corresponding to the target information type; performing poisonous organism identification on the information to be identified using the target identification algorithm, and obtaining a poisonous organism identification result corresponding to the information to be identified.
[0005] In one embodiment, the target identification mode includes a DNA identification mode, the target information type corresponding to the DNA identification mode includes a sequence type, and the target identification algorithm corresponding to the DNA identification mode includes a sequence identification algorithm; before the step of obtaining the information to be identified corresponding to the target information type, the method also includes: responding to a second selection operation for at least one candidate identification object corresponding to the DNA identification mode, determining the target identification object; responding to a third selection operation for at least one candidate identification database corresponding to the target identification object, determining the target identification database; responding to a fourth selection operation for at least one candidate identification condition corresponding to the target identification object, determining the target identification condition; wherein the candidate identification condition includes a time condition.
[0006] In one embodiment, the step of using the target identification algorithm to conduct toxic organism identification on the information to be identified to obtain the toxic organism identification result corresponding to the information to be identified includes: using a designated interface to call the sequence identification algorithm, and determining the toxic organism identification result that matches the target identification condition from the target identification database based on the information to be identified; wherein the target identification database includes multiple candidate genus databases.
[0007] In one embodiment, the step of determining the toxic organism identification result that matches the target identification condition from the target identification database based on the information to be identified includes: fielding the information to be identified to obtain the field to be identified; comparing the field to be identified with the genus classification level field set to obtain a comparison difference value; determining the target genus database from the candidate genus database based on the comparison difference value and a first scoring table corresponding to the comparison difference value; and determining the toxic organism identification result according to the target genus database and a second scoring table corresponding to a preset base difference value.
[0008] In one embodiment, the method further includes: obtaining a preconfigured result display template; wherein the result display template includes multiple display areas; parsing the toxic organism identification results to obtain parsing results corresponding to each of the display areas; writing each of the parsing results into the display areas corresponding to each of the parsing results to obtain a result display interface; and displaying the toxic organism identification results through the result display interface.
[0009] In one embodiment, the target identification mode includes an image identification mode, the target information type corresponding to the image identification mode includes an image type, and the target identification algorithm corresponding to the image identification mode includes an image recognition algorithm; the step of using the target identification algorithm to perform poisonous organism identification on the information to be identified to obtain a poisonous organism identification result corresponding to the information to be identified includes: using the image recognition algorithm to identify the target poisonous organism contained in the information to be identified; searching for the species information of the target poisonous organism in a pre-configured poisonous organism database, and using the target poisonous organism and the species information as the poisonous organism identification result.
[0010] In one embodiment, the step of using the image recognition algorithm to identify the target poisonous organisms contained in the information to be identified includes: inputting the information to be identified into a pre-trained image recognition model, and identifying the target poisonous organisms contained in the information to be identified through the image recognition model.
[0011] In a second aspect, an embodiment of the present invention further provides a device for identifying poisonous organisms, which is applied to a server, and the server is configured with multiple candidate identification modes. The device includes: a determination module, which is used to respond to a first selection operation for the candidate identification mode, determine a target identification mode and a target information type and a target identification algorithm corresponding to the target identification mode; an information acquisition module, which is used to obtain information to be identified corresponding to the target information type; and an identification module, which is used to perform poisonous organism identification on the information to be identified using the target identification algorithm, and obtain a poisonous organism identification result corresponding to the information to be identified.
[0012] In a third aspect, an embodiment of the present invention further provides a server, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0014] The embodiment of the present invention provides a method, device and server for identifying poisonous organisms. The method first responds to the first selection operation for the candidate identification mode, determines the target identification mode and the target information type and target identification algorithm corresponding to the target identification mode, and obtains the information to be identified corresponding to the target information type, thereby using the target identification algorithm to perform poisonous organism identification on the information to be identified, and obtains the poisonous organism identification result corresponding to the information to be identified. The above method provides users with a variety of online poisonous organism identification modes, from which users can select the required identification mode and upload the corresponding type of information to be identified under the identification mode, so that the identification algorithm under the identification mode can be used to efficiently and accurately obtain the identification of poisonous organisms, which significantly improves the identification efficiency of poisonous organisms.
[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A schematic diagram of a flow chart of a method for identifying poisonous organisms provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of an information acquisition interface provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of a sequence identification algorithm provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of a result display template provided by an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of the structure of a device for identifying poisonous organisms provided by an embodiment of the present invention;
[0023] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] At present, the existing technology has problems such as complicated procedures and low efficiency in the identification process of poisonous organisms. Based on this, the present invention implements a method, device and server for identifying poisonous organisms, which can identify poisonous organisms efficiently and accurately, and significantly improve the identification efficiency of poisonous organisms.
[0026] To facilitate understanding of this embodiment, a method for identifying poisonous organisms disclosed in an embodiment of the present invention is first introduced in detail. The method is applied to a server, and the server is configured with multiple candidate identification modes. The candidate identification modes may include a DNA identification mode and an image identification mode. Figure 1 The flowchart of a method for identifying poisonous organisms shown in FIG. 1 mainly includes the following steps S102 to S106:
[0027] Step S102, in response to the first selection operation for the candidate identification mode, determine the target identification mode and the target information type and target identification algorithm corresponding to the target identification mode. The first selection operation may be a click operation, the target information type corresponding to the DNA identification mode is the sequence type, and the corresponding target identification algorithm is the sequence identification algorithm, the target information type corresponding to the image identification mode is the image type, and the corresponding target identification algorithm is the image recognition algorithm. In one embodiment, the information type and identification algorithm corresponding to each candidate identification mode are pre-configured, and the controls corresponding to each candidate identification mode are displayed through a graphical user interface in subsequent applications, and the user can determine the target identification mode and the corresponding target information type and target identification algorithm by clicking the control.
[0028] Step S104, obtaining the information to be identified corresponding to the target information type. If the target information type is a sequence type, the information to be identified is a DNA sequence to be identified; if the target information is an image type, the information to be identified is an image to be identified. In one embodiment, after the target identification mode is determined, a corresponding information upload control can be provided through a graphical user interface, so that the user can upload the corresponding type of information to be identified to the server through the information upload control.
[0029] Step S106, use the target identification algorithm to perform poisonous organism identification on the information to be identified, and obtain the poisonous organism identification results corresponding to the information to be identified. Among them, the poisonous organism identification results may include the types and species information of poisonous organisms, etc., and may also include one or more of matching results, coverage, similarity, data tables, and tree diagrams. In one embodiment, if the target identification mode is a DNA identification mode, a pre-configured sequence identification algorithm can be called using a specified interface, so as to determine the poisonous organism identification results corresponding to the DNA sequence through the sequence identification algorithm; if the target identification mode is an image identification mode, an image recognition algorithm can be used to identify the poisonous organisms contained in the image, and the species information corresponding to the poisonous organisms can be found. Optionally, an image recognition algorithm based on deep learning can be used to identify the poisonous organisms contained in the image.
[0030] The above-mentioned poisonous organism identification method provided by the embodiment of the present invention provides users with a variety of online poisonous organism identification modes. Users can select the required identification mode from them and upload the corresponding type of information to be identified in the identification mode. The identification algorithm in the identification mode can be used to efficiently and accurately obtain the identification of poisonous organisms, which significantly improves the identification efficiency of poisonous organisms.
[0031] For ease of understanding, the embodiment of the present invention takes the target identification mode as the DNA identification mode as an example, and provides an application example of the identification method of poisonous organisms. When the target identification mode is the DNA identification mode, it can be determined that the target information type includes the sequence type, and the target identification algorithm includes the sequence identification algorithm, and then the corresponding information acquisition interface is rendered by the client, such as Figure 2 A schematic diagram of an information acquisition interface is shown in Figure 2 Based on this, see steps 1 to 9 as follows:
[0032] Step 1, in response to a second selection operation for at least one candidate identification object corresponding to the DNA identification mode, determining a target identification object. The second selection operation may also be a click operation. Figure 2 As shown, candidate identification objects may include animals, fungi, plants, etc. It can also be understood that the DNA identification mode includes multiple identification functions such as animal identification, fungal identification, and plant identification. The information acquisition interface may also include a functional description corresponding to each identification function. For example, when the user clicks on animal identification, the animal can be determined as the target identification object, and the relevant content of animal identification is described in the information acquisition interface.
[0033] Step 2, in response to a third selection operation for at least one candidate identification database corresponding to the target identification object, determine the target identification database. In one embodiment, each identification function may be configured with multiple identification databases, for example, Figure 2 As shown, animal identification includes three identification databases (including database 1, database 2 and database 3) and the database description corresponding to each identification database. Assuming that the user clicks on database 1, that is, database 1 is the target database, when the sequence identification algorithm is applied to the DNA sequence for poisonous organism identification, the poisonous organism matching the DNA sequence will be determined from database 1.
[0034] Step 3, in response to a fourth selection operation of at least one candidate identification condition corresponding to the target identification object, the target identification condition is determined. The candidate identification condition includes a time condition, and the time condition is used to limit the search time. Optionally, a plurality of optional time points can be provided for the user, and the user configures the time condition by clicking the time point, or a time input box can be provided for the user, and the user can customize the time condition through the time input box.
[0035] Step 4: Obtain the DNA sequence to be identified. Figure 2 As shown, the information acquisition interface may be configured with a sequence number input box, through which the user may upload the DNA barcode sequence information (ie, the above-mentioned DNA sequence).
[0036] Step 5, using the designated interface to call the sequence identification algorithm, based on the information to be identified, determine the toxic organism identification results that match the target identification conditions from the target identification database. The target identification database includes multiple candidate genus databases. The designated interface is an API interface. In one embodiment, an API (Application Programming Interface) interface can be called to invoke a pre-configured sequence identification algorithm in the server to identify the DNA barcode sequence information through the sequence identification algorithm, find the toxic organism identification results that match the DNA barcode sequence information and meet the target identification conditions from the target sequence database, and obtain the toxic organism identification results fed back by the sequence identification algorithm through the API interface. The toxic organism identification results are saved in the form of a TXT (text format) file.
[0037] The embodiment of the present invention provides an implementation method for determining a toxic organism identification result that matches a target identification condition from a target identification database based on information to be identified: (1) fielding the information to be identified to obtain a field to be identified; (2) comparing the field to be identified with a genus classification level field set to obtain a comparison difference value; (3) determining a target genus database from a candidate genus database based on the comparison difference value and a first scoring table corresponding to the comparison difference value, the first scoring table being used to score the candidate genus database based on the comparison difference value, and determining the target genus database from the candidate genus database based on the scoring result; (4) determining a toxic organism identification result based on a second scoring table corresponding to the target genus database and a preset base difference value, the second scoring table being used to score the species information stored in the target genus database based on the preset base difference value, thereby determining a target species that matches a DNA sequence from the species information based on the scoring result, and the target species is the above-mentioned toxic organism identification result.
[0038] For ease of understanding, the embodiments of the present invention provide Figure 3 A schematic diagram of a sequence identification algorithm is shown, see steps a to f below:
[0039] Step a, database fieldization: cut the reference sequence of length L in the database into strings containing k bases, the number of strings is (L-k)+1, k is an odd number, and the length of k is between 33-77.
[0040] Step b, database redundancy removal: after the database is fieldized, redundant fields in the database can be removed. For example, duplicate fields can be removed, and if a species already has a unique field, fields shared by multiple species can be removed.
[0041] Step c, database indexing: index the de-redundant fields, that is, use the field as the key, the value is the Latin name of the species, and non-specific fields belonging to multiple species are connected with a specified character. Optionally, the specified character can be a semicolon ";".
[0042] Step d, establishment of specialized string set at genus classification level and distributed deployment of database: extracting string set specific at genus classification level to construct genus classification level database index, after testing, the string set at genus classification level contains 1 to 21 strings; deploying the database in a distributed manner based on genus, i.e. cutting and storing the database in genus unit, and obtaining multiple genus sub-databases (referred to as genus sub-databases).
[0043] Step e, scoring table establishment: To avoid the delay of online scoring comparison, a scoring table with a difference of n bases from the field in the database is established in advance. The current value of n is 0-3.
[0044] Step f, database query of unknown sequence: (f1) set the base difference value at the genus classification level and the species level; (f2) fieldize the query sequence (i.e., the above-mentioned DNA sequence), and then first compare it with the field set at the genus classification level in pairs, call the corresponding scoring table for calculation based on the difference value to determine the genus sub-database; (f3) compare it with the genus sub-database field set in pairs, call the corresponding scoring table for calculation based on the base difference value of the species to determine the comparison result of the species.
[0045] Step 6: Obtain a pre-configured result display template. The result display template includes multiple display areas, including one or more of a matching result display area, a coverage display area, a similarity display area, a data table display area, and a tree diagram display area. Figure 4 A schematic diagram of a result display template is shown.
[0046] Step 7: parse the toxic organism identification results to obtain the analysis results corresponding to each display area. In one embodiment, the toxic organism identification results are in TXT format, so the content contained in the toxic organism identification results can be directly read to obtain the analysis results.
[0047] Step 8, write each analysis result into the display area corresponding to each analysis result to obtain a result display interface.
[0048] Step 9: Display the results of toxic organism identification through the result display interface.
[0049] The above-mentioned identification method of poisonous organisms provided in the embodiment of the present invention pre-configures multiple databases, and users can select the required database for identification and analysis, so that the obtained identification results are more sufficient and reliable, and better meet user needs. In addition, the system can call a professional DNA barcode sequence identification algorithm (that is, the above-mentioned sequence identification algorithm) through an interface, and can automatically and accurately identify species quickly, so that the identification time can be compressed to less than 5 minutes.
[0050] For ease of understanding, the embodiment of the present invention takes the target identification mode as an image identification mode as an example, and provides an application example of another method for identifying poisonous organisms. When the target identification mode is the image identification mode, it can be determined that the target information type includes the image type, and the target identification algorithm includes the image recognition algorithm, and then the corresponding information acquisition interface is rendered by the client, see the following (1) to (2):
[0051] (1) Using an image recognition algorithm to identify target toxic organisms contained in the information to be identified. Optionally, an image recognition algorithm based on deep learning can be used. For example, the information to be identified is input into a pre-trained image recognition model, and the target toxic organisms contained in the information to be identified are identified through the image recognition model. Taking the image recognition algorithm based on deep learning as an example, the image to be identified is input into a pre-trained image recognition model, so that the image to be identified is identified as a species through the image recognition model, and the species of the toxic organism corresponding to the image to be identified is output.
[0052] The process of training the image recognition model is as follows: obtain the poisonous organism images in the poisonous organism database, and mark the species of the organisms in the poisonous organism images, use the poisonous organism images as the input of the image recognition model, use the marked species of organisms as training labels, and train the image recognition model so that the image recognition model learns the mapping relationship between poisonous organism images and species of organisms until the loss function of the image recognition model converges.
[0053] (2) Searching for species information of the target poisonous organism in a pre-configured poisonous organism database, and using the target poisonous organism and species information as the poisonous organism identification result. In one embodiment, the poisonous organism database may store species information of multiple poisonous organisms. After the poisonous organism contained in the image is determined using the image recognition network, the poisonous organism database may be searched based on the species of the poisonous organism, and the species information corresponding to the poisonous organism may be retrieved, thereby using the species and species information of the poisonous organism as the poisonous organism identification result.
[0054] The above-mentioned method for identifying poisonous organisms provided by an embodiment of the present invention utilizes a deep learning algorithm to identify poisonous organisms contained in image-based information to be identified, thereby being able to efficiently and accurately determine the identification results of poisonous organisms.
[0055] For the identification method of poisonous organisms provided in the above-mentioned embodiment, an embodiment of the present invention provides an identification device of poisonous organisms, which is applied to a server, and the server is configured with multiple candidate identification modes, see Figure 5 The schematic diagram of the structure of a device for identifying poisonous organisms is shown, and the device mainly includes the following parts:
[0056] A determination module 502, configured to determine a target identification mode and a target information type and a target identification algorithm corresponding to the target identification mode in response to a first selection operation for a candidate identification mode;
[0057] The information acquisition module 504 is used to acquire the information to be identified corresponding to the target information type;
[0058] The identification module 506 is used to perform toxic organism identification on the information to be identified using a target identification algorithm to obtain a toxic organism identification result corresponding to the information to be identified.
[0059] The above-mentioned poisonous organism identification device provided by the embodiment of the present invention provides users with a variety of online poisonous organism identification modes. Users can select the required identification mode and upload the corresponding type of information to be identified in the identification mode. The identification algorithm in the identification mode can be used to efficiently and accurately obtain the identification of poisonous organisms, which significantly improves the identification efficiency of poisonous organisms.
[0060] In one embodiment, the target identification mode includes a DNA identification mode, the target information type corresponding to the DNA identification mode includes a sequence type, and the target identification algorithm corresponding to the DNA identification mode includes a sequence identification algorithm; the above-mentioned device also includes a configuration module, which is used to: determine the target identification object in response to a second selection operation for at least one candidate identification object corresponding to the DNA identification mode; determine the target identification database in response to a third selection operation for at least one candidate identification database corresponding to the target identification object; determine the target identification condition in response to a fourth selection operation for at least one candidate identification condition corresponding to the target identification object; wherein the candidate identification condition includes a time condition.
[0061] In one embodiment, the identification module 506 is also used to: use a specified interface to call a sequence identification algorithm, and determine a toxic organism identification result that matches the target identification condition from a target identification database based on the information to be identified; wherein the target identification database includes multiple candidate genus databases.
[0062] In one embodiment, the identification module 506 is also used to: perform field processing on the information to be identified to obtain the field to be identified; compare the field to be identified with the genus classification level field set to obtain the comparison difference value; determine the target genus database from the candidate genus database based on the comparison difference value and the first scoring table corresponding to the comparison difference value; determine the toxic organism identification result according to the target genus database and the second scoring table corresponding to the preset base difference value.
[0063] In one embodiment, the above-mentioned device also includes a display module, which is used to: obtain a pre-configured result display template; wherein the result display template includes multiple display areas; parse the toxic organism identification results to obtain the analysis results corresponding to each display area; write each analysis result into the display area corresponding to each analysis result to obtain a result display interface; and display the toxic organism identification results through the result display interface.
[0064] In one embodiment, the target identification mode includes an image identification mode, the target information type corresponding to the image identification mode includes an image type, and the target identification algorithm corresponding to the image identification mode includes an image recognition algorithm; the identification module 506 is also used to: use the image recognition algorithm to identify the target poisonous organisms contained in the information to be identified; search for the species information of the target poisonous organisms in a pre-configured poisonous organism database, and use the target poisonous organisms and species information as the poisonous organism identification results.
[0065] In one embodiment, the identification module 506 is further used to: input the information to be identified into a pre-trained image recognition model, and identify the target poisonous organisms contained in the information to be identified through the image recognition model.
[0066] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0067] An embodiment of the present invention provides a server. Specifically, the server includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the method described in any one of the above embodiments is executed.
[0068] Figure 6 A structural diagram of a server provided in an embodiment of the present invention, the server 100 includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.
[0069] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0070] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0071] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.
[0072] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.
[0073] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.
[0074] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0075] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for identifying poisonous organisms, characterized in that: The method is applied to a server, the server is configured with a plurality of candidate identification modes, and the method comprises: In response to a first selection operation for the candidate identification mode, determining a target identification mode and a target information type and a target identification algorithm corresponding to the target identification mode; the target identification mode includes a DNA identification mode, the target information type corresponding to the DNA identification mode includes a sequence type, and the target identification algorithm corresponding to the DNA identification mode includes a sequence identification algorithm; In response to a second selection operation for at least one candidate identification object corresponding to the DNA identification pattern, determining a target identification object; In response to a third selection operation on at least one candidate identification database corresponding to the target identification object, determining a target identification database; In response to a fourth selection operation of at least one candidate identification condition corresponding to the target identification object, determining the target identification condition; wherein the candidate identification condition includes a time condition; Obtaining information to be identified corresponding to the target information type; Using the target identification algorithm to perform toxic organism identification on the information to be identified, and obtaining a toxic organism identification result corresponding to the information to be identified; The step of using the target identification algorithm to identify poisonous organisms on the information to be identified to obtain a poisonous organism identification result corresponding to the information to be identified includes: Using a designated interface to call the sequence identification algorithm, based on the information to be identified, determining a toxic organism identification result matching the target identification condition from the target identification database; wherein the target identification database includes a plurality of candidate genus sub-databases; The step of determining the toxic organism identification result matching the target identification condition from the target identification database based on the information to be identified includes: Field processing is performed on the information to be identified to obtain fields to be identified; Comparing the field to be identified with the field set at the genus classification level to obtain a comparison difference value; Determining a target genus database from the candidate genus database based on the comparison difference value and a first scoring table corresponding to the comparison difference value; The toxic organism identification result is determined according to the target genus database and a second scoring table corresponding to the preset base difference value.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining a pre-configured result display template; wherein the result display template includes a plurality of display areas; Analyze the toxic organism identification results to obtain analysis results corresponding to each of the display areas; Writing each of the analysis results into the display area corresponding to each of the analysis results to obtain a result display interface; The toxic organism identification result is displayed through the result display interface.
3. The method according to claim 1, characterized in that The target identification mode includes an image identification mode, the target information type corresponding to the image identification mode includes an image type, and the target identification algorithm corresponding to the image identification mode includes an image recognition algorithm; The step of using the target identification algorithm to identify poisonous organisms on the information to be identified to obtain a poisonous organism identification result corresponding to the information to be identified includes: Using the image recognition algorithm to identify target poisonous organisms contained in the information to be identified; The species information of the target poisonous organism is searched in a pre-configured poisonous organism database, and the target poisonous organism and the species information are used as the poisonous organism identification result.
4. The method according to claim 3, characterized in that The step of using the image recognition algorithm to identify the target poisonous organisms contained in the information to be identified includes: The information to be identified is input into a pre-trained image recognition model, and the target poisonous organisms contained in the information to be identified are identified by the image recognition model.
5. A device for identifying poisonous organisms, characterized in that: The device is applied to a server, the server is configured with a plurality of candidate identification modes, and the device comprises: A determination module, configured to determine a target identification mode and a target information type and a target identification algorithm corresponding to the target identification mode in response to a first selection operation for the candidate identification mode; An information acquisition module, used to acquire the information to be identified corresponding to the target information type; The identification module is used to use the target identification algorithm to perform toxic organism identification on the information to be identified, and obtain the toxic organism identification result corresponding to the information to be identified.
6. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Portable campus plant species recognition system based on plant leaf image information
CN103617430A
Method and equipment for identifying plant species based on ITS2
CN110111847A