Plant seed data processing system, method and device
The data processing system, which automates comparison and format conversion, has solved the problems of writing errors and non-standardization in plant seed data collection, and improved the accuracy and recording efficiency of the data.
Patent Information
- Application Number
- CN202310943276.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-07-28
AI Technical Summary
Existing technologies for collecting and recording plant seed data suffer from errors and non-standard practices, resulting in low data quality and hindering subsequent development and utilization.
It employs data acquisition, inspection, name processing, place name processing, latitude and longitude processing, and time processing modules to improve data accuracy and efficiency through automated comparison and format conversion.
It enables automatic and accurate recording of plant seed data, reduces writing errors, and improves data quality and recording efficiency.
Smart Images

Figure CN116991926B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a plant seed data processing system, method and device. Background Technology
[0002] Plant seed data is usually collected manually and recorded in paper documents or entered into electronic files for storage. Due to various subjective and objective reasons, errors or non-standard writing of the relevant data are easily caused, resulting in low data quality and greatly affecting the subsequent development and utilization of plant seed data. Summary of the Invention
[0003] The purpose of this invention is to provide a plant seed data processing system, method, and device to achieve automatic and accurate recording of plant seed data, thereby improving the recording efficiency and accuracy of plant seed data.
[0004] To achieve the above objectives, embodiments of the present invention provide the following solutions:
[0005] A plant seed data processing system, comprising:
[0006] The data acquisition module is used to collect plant seed data;
[0007] A data inspection module, connected to the data acquisition module, is used to inspect the plant seed data and obtain inspection results; the inspection includes at least: uniqueness inspection, null value inspection, numeric inspection, non-numeric inspection, threshold inspection, time and date inspection, and longitude and latitude inspection;
[0008] The name processing module, connected to the data inspection module, is used to compare the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; if the comparison is successful, it is marked as "name correct" and recorded in the name comparison results; if the comparison is unsuccessful, it is marked as "name incorrect" and the most similar plant name is recorded in the name comparison results.
[0009] The place name processing module, connected to the name processing module, is used to compare the name comparison result with the place names in the preset comparison place name database line by line to obtain the place name comparison result; if the comparison is successful, it is marked as "place name is correct" and recorded in the place name comparison result; if the comparison is unsuccessful, it is marked as "place name is incorrect" and the most similar place name is recorded in the place name comparison result.
[0010] The latitude and longitude processing module, connected to the place name processing module, is used to convert the format of the latitude and longitude data in the place name comparison result into a preset latitude and longitude format to obtain the preset latitude and longitude result;
[0011] A time processing module, connected to the latitude and longitude processing module, is used to convert the format of the time and date data in the preset latitude and longitude result into a preset time format to obtain a preset time result;
[0012] The data download module, connected to the time processing module, is used to download the plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results according to a preset download format.
[0013] Optionally, it also includes:
[0014] The system settings module is connected to the name processing module, the place name processing module, the latitude and longitude processing module, the time processing module, and the data download module, respectively, and is used to set the preset comparison plant list database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format.
[0015] Optionally, the name processing module includes:
[0016] The first precise comparison unit, connected to the data inspection module, is used to compare the plant names in the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; the plant names include at least: Chinese family name, Latin family name, Chinese species name, and Latin species name;
[0017] The first determination unit, connected to the first precise comparison unit, is used to determine whether the similarity of the name comparison result is greater than a first threshold. If the similarity of the name comparison result is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison result. If the similarity of the name comparison result is less than or equal to the first threshold, the comparison is unsuccessful, marked as "name incorrect" and the most similar plant name is recorded in the name comparison result.
[0018] Optionally, the place name processing module includes:
[0019] The second precise comparison unit, connected to the first determination unit, is used to compare the place names in the name comparison result with the plant seed place names in the preset comparison place name database line by line to obtain the place name comparison result;
[0020] The second determination unit, connected to the second precise comparison unit, is used to determine whether the similarity of the place name comparison result is greater than the second threshold. If the similarity of the place name comparison result is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison result. If the similarity of the place name comparison result is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name" and the most similar place name is recorded in the place name comparison result.
[0021] To achieve the above objectives, embodiments of the present invention also provide the following solutions:
[0022] A method for processing plant seed data includes:
[0023] Obtain plant seed data;
[0024] The plant seed data is checked to obtain the check results; the check includes at least: uniqueness check, null value check, numeric check, non-numeric check, threshold check, time and date check, and longitude and latitude check;
[0025] The inspection results are compared line by line with the plant seed names in the preset comparison plant list database to obtain the name comparison results; if the comparison is successful, it is marked as "name correct" and recorded in the name comparison results; if the comparison is unsuccessful, it is marked as "name incorrect" and the most similar plant name is recorded in the name comparison results.
[0026] The name comparison results are compared line by line with the place names in the preset comparison place name database to obtain the place name comparison results; if the comparison is successful, it is marked as "place name is correct" and recorded in the place name comparison results; if the comparison is unsuccessful, it is marked as "place name is incorrect" and the most similar place name is recorded in the place name comparison results.
[0027] The format of the longitude and latitude data in the place name comparison results is converted into a preset longitude and latitude format to obtain the preset longitude and latitude results;
[0028] Convert the format of the time and date data in the preset latitude and longitude results to a preset time format to obtain the preset time results;
[0029] The plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results are downloaded according to the preset download format.
[0030] Optionally, it also includes:
[0031] Before acquiring plant seed data, the preset comparison plant directory database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format are set.
[0032] Optionally, if the comparison is successful, it is marked as "name correct" and recorded in the name comparison results; if the comparison fails, it is marked as "name incorrect" and the name of the most similar plant is recorded in the name comparison results, specifically including:
[0033] Determine whether the similarity of the name comparison results is greater than a first threshold;
[0034] If the similarity of the name comparison results is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison results;
[0035] If the similarity of the name comparison results is less than or equal to the first threshold, the comparison is unsuccessful, marked as "incorrect name", and the most similar plant name is recorded in the name comparison results.
[0036] The plant name shall include at least: Chinese name of family, Latin name of family, Chinese name of species, and Latin name of species.
[0037] Optionally, if the comparison is successful, it is marked as "correct place name" and recorded in the place name comparison results; if the comparison fails, it is marked as "incorrect place name" and the most similar place name is recorded in the place name comparison results, specifically including:
[0038] Determine whether the similarity of the place name comparison results is greater than the second threshold;
[0039] If the similarity of the place name comparison results is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison results;
[0040] If the similarity of the place name comparison results is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name", and the most similar place name is recorded in the place name comparison results.
[0041] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the plant seed data processing method.
[0042] A non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed, implements the plant seed data processing method described above.
[0043] In this embodiment of the invention, the data inspection module inspects the plant seed data and obtains the inspection results, thereby reducing writing errors or non-standardization in the plant seed data.
[0044] The name processing module compares the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; the place name processing module compares the name comparison results with the place names in the preset comparison place name database line by line to obtain the place name comparison results; these two modules correct and supplement the names and place names of plant seed data, improving data quality and accuracy.
[0045] The latitude and longitude processing module converts the latitude and longitude data in the place name comparison results into a preset latitude and longitude format, obtaining the preset latitude and longitude results; the time processing module converts the date and time data in the preset latitude and longitude results into a preset time format, obtaining the preset time results; the data download module downloads the data according to the preset download format. The cooperation of these three modules enables format conversion between data, improving the efficiency and convenience of recording plant seed data. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a schematic diagram of the structure of the plant seed data processing system provided in an embodiment of the present invention;
[0048] Figure 2 This is a flowchart illustrating the plant seed data processing method provided in an embodiment of the present invention.
[0049] Symbol explanation:
[0050] Data acquisition module-1, data inspection module-2, name processing module-3, place name processing module-4, latitude and longitude processing module-5, time processing module-6, data download module-7. Detailed Implementation
[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] The purpose of this invention is to provide a plant seed data processing system, method, and device to solve the problems of time-consuming and labor-intensive manual recording of plant seed data, low recording efficiency, and low accuracy of plant seed data.
[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0054] Figure 1 An exemplary structure of the aforementioned plant seed data processing system is shown. The modules are described in detail below.
[0055] Data acquisition module 1 is used to collect plant seed data;
[0056] In one example, data acquisition module 1 can specifically be a camera. The camera acquires plant seed data that needs to be processed. The plant seed data includes, but is not limited to, the following core data columns: acquisition number, acquisition time, family name (Chinese), family name (Latin), species name (Chinese), species name (Latin), identification date, country, province / autonomous region, region, county, specific location, latitude, longitude, altitude, number of sampled plants, fruit-bearing population ratio, number of plants found or plant height, etc.
[0057] In another example, data acquisition module 1 can also be a storage module. The plant seed acquisition data uploaded by the user, along with column names (such as "acquisition number"), is stored in the storage module.
[0058] The data inspection module 2 is connected to the data acquisition module 1. The data inspection module 2 is used to inspect the plant seed data and obtain inspection results. The inspection includes at least: uniqueness inspection, null value inspection, null value inspection, non-null value inspection, threshold inspection, time and date inspection, and longitude and latitude inspection.
[0059] In one example, the data inspection module 2 includes, but is not limited to, the following core inspection tasks: uniqueness check, null value check, numeric check, non-numeric check, threshold check, date and time check, and latitude and longitude check, etc. The data inspection module 2 operates according to the data inspection tasks set by the user for each data column in the data acquisition module 1. For example, if the user sets the inspection task for the "Collection Number" column in the data acquisition module 1 to "uniqueness check," this module will check whether there are duplicate values in the "Collection Number" column of each uploaded row of data, determine whether each row of data meets the uniqueness requirement in this column, and store the result information (whether the check passed or failed) in the result file.
[0060] In another example, the data inspection module 2 performs data inspections on the relevant data columns row by row according to the inspection tasks set by the user (such as: uniqueness check, null value check, numeric check, non-numeric check, threshold check, time and date check, and longitude and latitude check, etc. If a row or column passes the inspection, it is marked as "passed"; if the inspection fails, it is marked as "failed".
[0061] The name processing module 3 is connected to the data inspection module 2. The name processing module 3 is used to compare the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results. If the comparison is successful, it is marked as "name correct" and recorded in the name comparison results. If the comparison is unsuccessful, it is marked as "name incorrect" and the most similar plant name is recorded in the name comparison results.
[0062] The name processing module 3 includes: a first precise comparison unit and a first determination unit.
[0063] The first precise comparison unit, connected to the data inspection module, is used to compare the plant names in the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; the plant names include at least: Chinese family name, Latin family name, Chinese species name, and Latin species name;
[0064] The first determination unit, connected to the first precise comparison unit, is used to determine whether the similarity of the name comparison result is greater than a first threshold. If the similarity of the name comparison result is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison result. If the similarity of the name comparison result is less than or equal to the first threshold, the comparison is unsuccessful, marked as "name incorrect" and the most similar plant name is recorded in the name comparison result.
[0065] In one example, the name processing module 3 compares the Chinese name of the family, the Latin name of the family, the Chinese name of the species, and the Latin name of the species in the inspection results row by row according to the preset comparison plant catalog database selected by the user. Successful comparisons are marked as "name correct", while unsuccessful comparisons display the plant name most similar to the name.
[0066] In a specific example of the plant name comparison process, the Latin name of the species being compared, Pristoti violascen Bleeker, 1848, is used as an example:
[0067] First, the plant names (Chinese family name, Latin family name, Chinese species name, and Latin species name) in the inspection results are precisely compared with the plant seed names in the user-selected preset comparison plant directory. If the comparison is successful, it is marked as "Name Correct," and this operation ends. If the comparison fails, proceed to the next step.
[0068] Plant names are segmented into words. Latin names are segmented using spaces (the segmentation result for the above species Latin names is: Pristoti+violascen+Bleeker+1848). Chinese names do not require segmentation. Then, a fuzzy search is performed on the plant names using the Solr search engine, built based on a pre-defined comparison plant directory database (Solr search query: species Latin name: Pristoti~2AND; species Latin name: violascen~2AND; species Latin name: Bleeker~2AND; species Latin name: 1848~2). The result with the highest similarity returned by the Solr search engine is compared with the plant name using string similarity calculation. If the similarity is greater than a first threshold, the result is considered valid and can be recommended as a corrected name for the compared plant name; this operation ends. If the similarity is less than the first threshold, the result is considered invalid, and the compared plant name is marked as "incorrect name".
[0069] Those skilled in the art can flexibly design the value of the first threshold, such as 70%, 80%, 80%, etc., which will not be elaborated here.
[0070] The place name processing module 4 is connected to the name processing module 3. The place name processing module 4 is used to compare the name comparison result with the place names in the preset comparison place name database line by line to obtain the place name comparison result. If the comparison is successful, it is marked as "place name is correct" and recorded in the place name comparison result. If the comparison is unsuccessful, it is marked as "place name is incorrect" and the most similar place name is recorded in the place name comparison result.
[0071] The place name processing module includes four components: a second precise comparison unit and a second determination unit.
[0072] The second precise comparison unit, connected to the first determination unit, is used to compare the place names in the name comparison result with the plant seed place names in the preset comparison place name database line by line to obtain the place name comparison result;
[0073] The second determination unit, connected to the second precise comparison unit, is used to determine whether the similarity of the place name comparison result is greater than the second threshold. If the similarity of the place name comparison result is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison result. If the similarity of the place name comparison result is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name" and the most similar place name is recorded in the place name comparison result.
[0074] In one example, the place name processing module 4 compares the country, province, autonomous region, region, district / county, and specific location columns in the name comparison results row by row according to the preset comparison place name database selected by the user. Successful comparisons are marked as "correct place name", while unsuccessful comparisons display the place name most similar to the given place name.
[0075] First, the country, province / autonomous region, region, and county in the name comparison results are precisely compared with the user-selected place name database. Successful comparisons are marked as "Place Name Correct" (e.g., Yunnan Province), and this operation ends. If the comparison fails (e.g., Yunnan), proceed to the next step.
[0076] In another example, the country, province / autonomous region, region, and county in the plant seed collection data are precisely compared with the place names in the user-selected place name database after deleting keywords such as "province," "autonomous region," "city," "district," "county," "township," and "town." Successful comparisons are marked as "correct place name" (e.g., Yunnan), and this operation ends. Unsuccessful comparisons are marked as "incorrect place name," and this operation ends.
[0077] In a specific embodiment, the specific location in the plant seed collection data (e.g., comparing the specific location: Ciba Street, Wuhua District, Kunming City, Yunnan Province).
[0078] First, a precise comparison is performed, comparing the location with specific place names in the user-selected place name database. Successful comparisons are marked as "Correct Place Name," and the operation ends. For unsuccessful comparisons, a fuzzy search is performed: the specific location is segmented using keywords such as "province," "autonomous region," "city," "district," "county," "township," and "town" (because the Solr search engine stores specific locations and their corresponding segmented words; the segmented result for the above specific location is: Yunnan + Kunming City + Wuhua District + Ciba Street). Then, a fuzzy search is performed on the specific location using the Solr search engine built on the place name database (Solr search query: specific location: Yunnan or specific location: Kunming City or specific location: Wuhua District or specific location: Ciba Street). The Solr search engine returns the result with the highest similarity: "Yunnan Province, Kunming City, Panlong District, Ciba Street." A string similarity calculation is performed between this and the compared specific location. If the similarity is greater than 80%, the result is considered valid and can be recommended as a corrected place name for the compared specific location, and the operation ends. If the similarity is less than 80%, the result is considered invalid, and the specific location being compared will be marked as "incorrect place name".
[0079] The latitude and longitude processing module 5 is connected to the place name processing module 4. The latitude and longitude processing module 5 is used to convert the format of the latitude and longitude data in the place name comparison result into a preset latitude and longitude format to obtain the preset latitude and longitude result; and store the preset latitude and longitude result in the plant seed data.
[0080] The time processing module 6 is connected to the latitude and longitude processing module 5. The time processing module 6 is used to convert the format of the time and date data in the preset latitude and longitude result into a preset time format to obtain a preset time result; and to store the preset time result in the plant seed data.
[0081] The name processing module 3, place name processing module 4, latitude and longitude processing module 5, and time processing module 6 process the data columns such as plant seed name, place name, latitude and longitude, and time row by row according to the set processing parameters and data processing tasks.
[0082] For example, when comparing the plant seed name "Acer caudatum", a match is marked as "correct"; if comparing the plant seed name "Acer caudatua", a fuzzy search technique is used to recommend the plant name "Acer caudatum" with the highest similarity if no match is found. Similarly, when comparing the plant collection location "Panlong District, Kunming City, Yunnan Province", a match is marked as "correct"; if comparing the plant collection location "Qinglong District, Kunming City, Yunnan Province", a fuzzy search technique is used to recommend the location name "Panlong District, Kunming City, Yunnan Province" with the highest similarity if no match is found. If the output format for longitude and latitude in a column is set to numeric, all longitude and latitude data in that column will be converted to numeric format. Similarly, if the output format for date and time in a column is set to year-month-day, all date and time data in that column will be converted to year-month-day format.
[0083] The data download module 7 is connected to the time processing module 6. The data download module 7 is used to download the plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results according to the preset download format.
[0084] In one example, the data download module 7 generates a corresponding format of the processing result file based on the processing result file format set by the user in the system settings module. The user can then download the file and open it to see the system's processing result information for the seed collection data. Once the plant seed collection data processing is complete, the data download module 7 returns the processing result information for the plant seed data.
[0085] In other embodiments of the present invention, the plant seed data processing system further includes a system settings module.
[0086] The system settings module is connected to the name processing module 3, the place name processing module 4, the latitude and longitude processing module 5, the time processing module 6, and the data download module 7, respectively. The system settings module is used to set the preset comparison plant list database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format.
[0087] In one example, the system settings module can configure the plant directory database for comparing plant seed names, the place name database for collecting place names for comparison, the output format of longitude and latitude, the output format of time and date, and the file format of the processing results.
[0088] The system settings module uses default processing parameters (e.g., the plant catalog database defaults to the *Flora of China*, the place name database defaults to the *National Place Names Information Database of China*, the latitude and longitude output format defaults to numeric format such as latitude 25.7742, the time and date output format defaults to year-month-day, such as June 8, 2023, and the file format of the processing results defaults to CSV), or users can customize other processing parameters. This module can read uploaded seed collection data and column names, and can set corresponding data checks or data processing tasks for any column. It can also set corresponding data checks (e.g., setting "uniqueness check" for the "collection number" column) or data processing tasks (e.g., setting a comparison with the species Latin name in the *Flora of China* for the "species Latin name" column).
[0089] In summary, in this embodiment of the invention, the data inspection module checks the plant seed data and obtains the inspection results, thereby reducing writing errors or non-standardization in the plant seed data.
[0090] The name processing module compares the inspection results with the plant seed names in the preset comparison plant catalog line by line to obtain the name comparison results; the place name processing module compares the name comparison results with the place names in the preset comparison place name catalog line by line to obtain the place name comparison results, correcting and supplementing the names and place names of plant seed data, thus improving data quality and accuracy.
[0091] The latitude and longitude processing module converts the latitude and longitude data in the place name comparison results into a preset latitude and longitude format to obtain the preset latitude and longitude results; the time processing module converts the date and time data in the preset latitude and longitude results into a preset time format to obtain the preset time results; the data download module downloads data according to the preset download format, realizing the format conversion between data and improving the efficiency and convenience of recording plant seed data.
[0092] Traditional plant seed collection data processing typically requires manual verification of large amounts of data and querying massive amounts of plant name or place name databases, which is inefficient and prone to errors. This system uses computer technology to quickly and automatically compare plant names and place names in plant seed collection data. It can efficiently determine whether plant names and place names are spelled correctly or in accordance with regulations. For data that cannot be matched, it uses fuzzy search technology to recommend plant names and place names with the highest similarity. Furthermore, the system can quickly complete data checks based on user-defined check tasks for relevant data columns and convert data into the format required by the user, thereby effectively improving the accuracy and quality of plant seed collection data.
[0093] To achieve the above objectives, embodiments of the present invention also provide the following solutions:
[0094] Please see Figure 2 A method for processing plant seed data, comprising:
[0095] Step 1: Obtain plant seed data;
[0096] Step 2: Check the plant seed data and obtain the check results; the check includes at least: uniqueness check, null value check, numeric check, non-numeric check, threshold check, time and date check, and longitude and latitude check;
[0097] Step 3: Compare the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; if the comparison is successful, mark it as "name correct" and record it in the name comparison results; if the comparison is unsuccessful, mark it as "name incorrect" and record the most similar plant name in the name comparison results; specifically including:
[0098] Step 31: Determine whether the similarity of the name comparison results is greater than the first threshold;
[0099] Step 32: If the similarity of the name comparison result is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison result;
[0100] Step 33: If the similarity of the name comparison results is less than or equal to the first threshold, the comparison is unsuccessful, marked as "incorrect name", and the most similar plant name is recorded in the name comparison results;
[0101] The plant name shall include at least: Chinese name of family, Latin name of family, Chinese name of species, and Latin name of species.
[0102] Step 4: Compare the name comparison results with the place names in the preset comparison place name database line by line to obtain the place name comparison results; if the comparison is successful, mark it as "Place name correct" and record it in the place name comparison results; if the comparison is unsuccessful, mark it as "Place name incorrect" and record the most similar place name in the place name comparison results; specifically including:
[0103] Step 41: Determine whether the similarity of the place name comparison results is greater than the second threshold;
[0104] Step 42: If the similarity of the place name comparison result is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison result;
[0105] Step 43: If the similarity of the place name comparison results is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name", and the most similar place name is recorded in the place name comparison results.
[0106] Step 5: Convert the format of the longitude and latitude data in the place name comparison results to a preset longitude and latitude format to obtain the preset longitude and latitude results;
[0107] Step 6: Convert the format of the time and date data in the preset latitude and longitude results to a preset time format to obtain the preset time results;
[0108] Step 7: Download the plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results according to the preset download format.
[0109] In other embodiments of the present invention, a plant seed data processing method further includes:
[0110] Step 8: Before acquiring plant seed data, set the preset comparison plant list database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format.
[0111] Furthermore, the present invention also provides an electronic device, which may include: a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other via the communication bus. The processor can call a computer program stored in the memory to execute the plant seed data processing method described above.
[0112] Furthermore, when the computer program in the aforementioned memory is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0113] Furthermore, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the plant seed data processing method described above.
[0114] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.
[0115] This document uses specific examples to illustrate the principles and implementation methods of the embodiments of the present invention. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of the embodiments of the present invention. At the same time, for those skilled in the art, there will be changes in specific implementation methods and application scope based on the ideas of the embodiments of the present invention. In summary, the content of this specification should not be construed as a limitation on the embodiments of the present invention.
Claims
1. A plant seed data processing system, characterized in that, include: The data acquisition module is used to collect plant seed data; A data inspection module, connected to the data acquisition module, is used to inspect the plant seed data and obtain inspection results; the inspection includes at least: uniqueness inspection, null value inspection, numeric inspection, non-numeric inspection, threshold inspection, time and date inspection, and longitude and latitude inspection; The name processing module, connected to the data inspection module, is used to compare the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; if the comparison is successful, it is marked as "name correct" and recorded in the name comparison results; if the comparison is unsuccessful, it is marked as "name incorrect" and the most similar plant name is recorded in the name comparison results. The place name processing module, connected to the name processing module, is used to compare the name comparison result with the place names in the preset comparison place name database line by line to obtain the place name comparison result; if the comparison is successful, it is marked as "place name is correct" and recorded in the place name comparison result; if the comparison is unsuccessful, it is marked as "place name is incorrect" and the most similar place name is recorded in the place name comparison result. The latitude and longitude processing module, connected to the place name processing module, is used to convert the format of the latitude and longitude data in the place name comparison result into a preset latitude and longitude format to obtain the preset latitude and longitude result; A time processing module, connected to the latitude and longitude processing module, is used to convert the format of the time and date data in the preset latitude and longitude result into a preset time format to obtain a preset time result; The data download module, connected to the time processing module, is used to download the plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results according to a preset download format; The system settings module is connected to the name processing module, the place name processing module, the latitude and longitude processing module, the time processing module, and the data download module, respectively, and is used to set the preset comparison plant list database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format.
2. The plant seed data processing system according to claim 1, characterized in that, The name processing module includes: The first precise comparison unit, connected to the data inspection module, is used to compare the plant names in the inspection results with the plant seed names in the preset comparison plant list database line by line to obtain the name comparison results; the plant names include at least: Chinese family name, Latin family name, Chinese species name, and Latin species name; The first determination unit, connected to the first precise comparison unit, is used to determine whether the similarity of the name comparison result is greater than a first threshold. If the similarity of the name comparison result is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison result. If the similarity of the name comparison result is less than or equal to the first threshold, the comparison is unsuccessful, marked as "name incorrect" and the most similar plant name is recorded in the name comparison result.
3. The plant seed data processing system according to claim 2, characterized in that, The place name processing module includes: The second precise comparison unit, connected to the first determination unit, is used to compare the place names in the name comparison result with the plant seed place names in the preset comparison place name database line by line to obtain the place name comparison result; The second determination unit, connected to the second precise comparison unit, is used to determine whether the similarity of the place name comparison result is greater than the second threshold. If the similarity of the place name comparison result is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison result. If the similarity of the place name comparison result is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name" and the most similar place name is recorded in the place name comparison result.
4. A method for processing plant seed data, characterized in that, include: Obtain plant seed data; The plant seed data was examined, and the examination results were obtained. The checks include at least: uniqueness check, null value check, numeric check, non-numeric check, threshold check, date and time check, and latitude and longitude check; The inspection results are compared line by line with the plant seed names in the preset comparison plant list database to obtain the name comparison results; if the comparison is successful, it is marked as "name correct" and recorded in the name comparison results; if the comparison is unsuccessful, it is marked as "name incorrect" and the most similar plant name is recorded in the name comparison results. The name comparison results are compared line by line with the place names in the preset comparison place name database to obtain the place name comparison results; if the comparison is successful, it is marked as "place name is correct" and recorded in the place name comparison results; if the comparison is unsuccessful, it is marked as "place name is incorrect" and the most similar place name is recorded in the place name comparison results. The format of the longitude and latitude data in the place name comparison results is converted into a preset longitude and latitude format to obtain the preset longitude and latitude results; Convert the format of the time and date data in the preset latitude and longitude results to a preset time format to obtain the preset time results; Download the plant seed data, the inspection results, the name comparison results, the place name comparison results, the preset latitude and longitude results, and the preset time results according to the preset download format; Before acquiring plant seed data, the preset comparison plant directory database, the preset comparison place name database, the preset latitude and longitude format, the preset time format, and the preset download format are set.
5. The plant seed data processing method according to claim 4, characterized in that, If the comparison is successful, it is marked as "Name Correct" and recorded in the name comparison results; if the comparison is unsuccessful, it is marked as "Name Incorrect" and the name of the most similar plant is recorded in the name comparison results, specifically including: Determine whether the similarity of the name comparison results is greater than a first threshold; If the similarity of the name comparison results is greater than the first threshold, the comparison is successful, marked as "name correct" and recorded in the name comparison results; If the similarity of the name comparison results is less than or equal to the first threshold, the comparison is unsuccessful, marked as "incorrect name", and the most similar plant name is recorded in the name comparison results. The plant name shall include at least: Chinese name of family, Latin name of family, Chinese name of species, and Latin name of species.
6. The plant seed data processing method according to claim 5, characterized in that, If the comparison is successful, it is marked as "Correct Place Name" and recorded in the place name comparison results; if the comparison fails, it is marked as "Incorrect Place Name" and the most similar place name is recorded in the place name comparison results, specifically including: Determine whether the similarity of the place name comparison results is greater than the second threshold; If the similarity of the place name comparison results is greater than the second threshold, the comparison is successful, marked as "correct place name" and recorded in the place name comparison results; If the similarity of the place name comparison results is less than or equal to the second threshold, the comparison is unsuccessful, marked as "incorrect place name", and the most similar place name is recorded in the place name comparison results.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the plant seed data processing method as described in any one of claims 4-6.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the plant seed data processing method as described in any one of claims 4-6.
Citation Information
Patent Citations
Web crawler-based geographical name database maintenance method
CN102253972A
Field inspection or law enforcement method and system for whole-course paperless agriculture
CN110472427A