Disclosure of Invention
The object of the present invention is to solve at least one of the technical drawbacks.
Therefore, the invention aims to provide a recommended analysis method for corn and wheat varieties.
In order to achieve the above object, an embodiment of the present invention provides a recommended analysis method for corn and wheat varieties, including the steps of:
step S1, acquiring a corn and wheat main-cultivated variety basic data table, and respectively storing variety information data in the corn and wheat main-cultivated variety basic data table in grids according to a preset administrative region storage granularity;
step S2, primarily selecting main varieties of corn and wheat, wherein the method comprises the following steps: matching the data in the corn and wheat main-cultivated variety basic data network according to the result of the type of the easily-occurring plant diseases and insect pests in the early-warning basic data of the corn and wheat plant disease and insect pests, and deleting the variety when recording the result if the result of the type of the easily-occurring plant diseases and insect pests appears in the easily-occurring plant diseases and insect pests;
step S3, sorting main varieties of corn and wheat, wherein the sorting step comprises the following steps: sorting the plant diseases and insect pests resistance dimension according to the plant diseases and insect pests resistance type data in the corn and wheat main cultivation variety basic data table, sorting the yield dimension according to the production yield expression in the corn and wheat main cultivation variety basic data table, sorting and summing the two dimensions to obtain sorting results of corn and wheat varieties,
calculating according to the disease and pest resistant variety data and the pest resistant variety data of the corn variety to obtain a disease and pest resistant dimension sorting result of the corn variety, calculating according to a main-cultivated variety basic data table of the corn to obtain a yield dimension sorting result of the corn, and summing the disease and pest resistant dimension sorting result of the corn variety and the yield dimension sorting result of the corn to obtain a primary selection and sorting result of the corn variety;
calculating according to the disease and pest resistant type data and the pest resistant type data of the wheat varieties to obtain the disease and pest resistant dimension sorting result of the wheat varieties, calculating the yield dimension sorting result of the wheat according to the main-cultivated variety basic data table of the wheat, and summing the disease and pest dimension sorting result of the wheat varieties and the yield dimension sorting result of the wheat to obtain the primary selection and sorting result of the wheat varieties.
Further, searching for a county level administrative unit at first, and then storing corresponding variety information data by using grid data in the same county area; secondly, searching administrative units of the district-level city except the existing county-level data, and storing corresponding variety information data in grids without data in the same district-level city, wherein the data in each grid are the same; and finally, searching provincial administrative units except the existing county-level and city-level data, and storing corresponding variety information data in grids without data in the same province, wherein the data in each grid are the same.
Further, in the step S2, the obtaining the primarily selected corn and wheat main variety basic data according to the corn and wheat main variety basic data sorted in the step S1 includes:
according to the pre-stored early warning basic data of corn and wheat diseases and insect pests, the result of the easily-occurring diseases and insect pests in the grid obtained in the crop disease and insect pest type table, and matching the data in the basic data grids of the main cultivated varieties of the corn and the wheat by utilizing the result of the type of the easily-occurring plant diseases and insect pests in the grids, and deleting the variety when the result is recorded if the result of the type of the easily-occurring plant diseases and insect pests appears in the type of the easily-occurring plant diseases and insect pests. The result of the easily-occurring plant diseases and insect pests in the plant disease and insect pests type table is the easily-occurring plant diseases and insect pests type in all growth periods of corn and wheat in the grid.
Further, in the step S3, a result of primary selection and sorting of corn varieties is obtained, including the steps of:
for the corn main cultivated varieties obtained after the judgment according to the plant diseases and insect pests, searching the disease-resistant varieties and the insect-resistant varieties in the basic data of the corn main cultivated varieties according to the plant diseases and insect pests, arranging the varieties with a plurality of disease-resistant varieties in front, and arranging the varieties again according to the quantity of the varieties in sequence backwards; and then sequencing the results again according to whether the lodging resistance results are generated, recording the sequenced results, giving a sequence result value, sequencing varieties which are susceptible to diseases and insect pests according to the production yield expression data size from high to low, sequencing the sequenced result values according to the yield attribute values, adding the two sequenced result values according to the result value, sequencing the varieties, and sequencing the varieties with high values according to the result value size.
Further, in the step S3, a primary selection and sorting result of the wheat variety is obtained, including the steps of:
for the wheat main cultivated varieties obtained after the judgment according to the plant diseases and insect pests, the varieties of the same crop type in the basic data of the wheat main cultivated varieties are searched according to the plant diseases and insect pests types, the varieties with a plurality of plant diseases and insect pests types are arranged in front, and the varieties are arranged backwards in sequence according to the quantity; and sorting the varieties according to the high-resistance and medium-resistance information again, wherein the high-resistance is ranked in front, the medium-resistance is ranked at the last, the high-resistance or medium-resistance information is not ranked at the last, the result after sorting is recorded, and a ranking sequence result value is given, meanwhile, the varieties of the same crop type with the susceptible plant diseases and insect pests removed are also sorted according to the production yield expression data from high to low, the ranking result value is obtained according to the yield attribute value, finally, the two ranking result values are added, the ranking is carried out according to the result value, and the ranking with high value is in front.
According to the recommendation analysis method for corn and wheat varieties, which is disclosed by the embodiment of the invention, the latitude of the yield and the latitude of diseases and insect pests are comprehensively considered when the varieties of crops are recommended, and the varieties are ranked by combining the two, so that the accuracy is improved. In the aspect of plant diseases and insect pests latitude, not only is the variety screening firstly carried out through the susceptible plant diseases and insect pests, but also the variety sorting is carried out according to the plant diseases and insect pests capable of being controlled, so that the accuracy is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
As shown in fig. 1 and 2, the recommended analysis method for corn and wheat varieties according to the embodiment of the invention comprises the following steps:
step S1, obtaining a corn and wheat main cultivation variety basic data table, and respectively storing variety information data in the corn and wheat main cultivation variety basic data table in grids according to a preset administrative region storage granularity.
Specifically, since the administrative division storage granularity is inconsistent in the current 'corn and wheat main cultivation variety basic data table', the administrative division storage granularity is up to the county level, the city level and the provincial level, so that the data is firstly searched for county level administrative units during storage, and then the grid data in the same county and the region are stored with corresponding variety information data; secondly, searching administrative units of the district-level city except the existing county-level data, and storing corresponding variety information data in grids without data in the same district-level city, wherein the data in each grid are the same; and finally, searching provincial administrative units except the existing county-level and city-level data, and storing corresponding variety information data in grids without data in the same province, wherein the data in each grid are the same. When data exists in each grid, the following data operation flow is performed.
Step S2, primarily selecting main varieties of corn and wheat, wherein the method comprises the following steps: matching the data in the corn and wheat main-cultivated variety basic data network according to the result of the type of the easily-occurring plant diseases and insect pests in the early-warning basic data of the corn and wheat plant disease and insect pests, and deleting the variety when recording the result if the result of the type of the easily-occurring plant diseases and insect pests appears in the easily-occurring plant diseases and insect pests;
step S3, sorting main varieties of corn and wheat, wherein the sorting step comprises the following steps: sorting the plant diseases and insect pests resistance dimension according to the plant diseases and insect pests resistance type data in the corn and wheat main cultivation variety basic data table, sorting the yield dimension according to the production yield expression in the corn and wheat main cultivation variety basic data table, sorting and summing the two dimensions to obtain sorting results of corn and wheat varieties,
according to the pre-stored early warning basic data of corn and wheat diseases and insect pests, the result of the easily-occurring diseases and insect pests in the grid obtained in the crop disease and insect pest type table, matching the data in the basic data grid of the main cultivated varieties of the corn and the wheat by utilizing the result of the type of the easily-generated plant diseases and insect pests in the grid, and deleting the variety when recording the result if the result of the type of the easily-generated plant diseases and insect pests appears in the type of the easily-generated plant diseases and insect pests. The result of the easily-occurring plant diseases and insect pests in the plant disease and insect pests type table is the easily-occurring plant diseases and insect pests type in all growth periods of corn and wheat in the grid.
And then calculating according to the disease and pest resistant type data and the pest resistant type data of the corn varieties to obtain the disease and pest resistant dimension sorting result of the corn varieties, calculating the yield dimension sorting result of the corn according to the main-cultivated variety basic data table of the corn, and summing the disease and pest resistant dimension sorting result of the corn varieties and the yield dimension sorting result of the corn to obtain the primary selection and sorting result of the corn varieties.
Specifically, the initial selection and sequencing result of the corn variety is obtained, which comprises the following steps:
for the corn main cultivated varieties obtained after the judgment according to the plant diseases and insect pests, searching the varieties capable of resisting diseases and insect pests and the varieties capable of resisting insect pests in the basic data of the corn main cultivated varieties according to the varieties of the crop diseases and insect pests, arranging the varieties with a plurality of varieties capable of resisting insect pests in front, and arranging the varieties again according to the quantity of varieties which are sequentially and backwards arranged.
And then sequencing the results again according to the lodging-resistant result, recording the sequenced results, and giving a sequencing result value. For example, the varieties of which the susceptible plant diseases and insect pests are removed have X varieties, the first-ranked variety is assigned X, the second name is X-1, and so on. Meanwhile, the varieties with the susceptible plant diseases and insect pests removed are also ordered according to the data size of production yield expression from high to low. For example, if the varieties of the susceptible plant diseases and insect pests are removed, the varieties ranked first are assigned as X, the second as X-1, and so on, and the sorting result value obtained according to the yield attribute value is obtained. And finally, adding the two obtained result values of each variety, and sorting according to the result values, wherein the high value is arranged in the front. The final item recommended results are shown as "suitable item recommended: jade 335, nonghua 101, … … … ".
Calculating according to the disease and pest resistant type data and the pest resistant type data of the wheat varieties to obtain the disease and pest resistant dimension sorting result of the wheat varieties, calculating the yield dimension sorting result of the wheat according to the main-cultivated variety basic data table of the wheat, and summing the disease and pest dimension sorting result of the wheat varieties and the yield dimension sorting result of the wheat to obtain the primary selection and sorting result of the wheat varieties.
Specifically, the initial selection and sequencing result of the wheat variety is obtained, which comprises the following steps:
for the wheat main cultivated varieties obtained after the judgment according to the disease and pest conditions, the varieties of the same crop type in the basic data of the wheat main cultivated varieties are searched for the varieties which can resist disease and pest and are more in quantity in the basic data of the wheat main cultivated varieties according to the varieties of the crop and pest, the varieties which can resist disease and pest and are more in quantity are arranged in front, and the varieties are arranged backwards in sequence according to the quantity.
And (3) sorting varieties again according to the information of high resistance and medium resistance, wherein the number of the disease and insect resistant varieties is the same, the high resistance is ranked in front, the medium resistance is ranked at the second, no high resistance or medium resistance information is ranked at the last, the ordered results are recorded, and the ranking sequence result value is given. For example, if the varieties of the susceptible plant diseases and insect pests are removed, the varieties ranked first are assigned as X, the second as X-1, and so on, and the ranking result value is obtained according to the plant diseases and insect pests resistance attribute value.
Meanwhile, the same crop type varieties with the susceptible plant diseases and insect pests removed are also ordered according to the data size of production yield expression. For example, if the varieties of the susceptible plant diseases and insect pests are removed, the varieties ranked first are assigned as X, the second as X-1, and so on, and the sorting result value obtained according to the yield attribute value is obtained. And finally, adding the two obtained result values of each variety, and sorting according to the result values, wherein the high value is arranged in the front. The final variety recommended results are shown as "weak spring winter wheat: flower culture No. 1, zhou Mai No. 1, XX, … … … "," semi winter wheat: dan Mai 15, XX, … … ", etc.
According to the recommendation analysis method for corn and wheat varieties, which is disclosed by the embodiment of the invention, the latitude of the yield and the latitude of diseases and insect pests are comprehensively considered when the varieties of crops are recommended, and the varieties are ranked by combining the two, so that the accuracy is improved. In the aspect of plant diseases and insect pests latitude, not only is the variety screening firstly carried out through the susceptible plant diseases and insect pests, but also the variety sorting is carried out according to the plant diseases and insect pests capable of being controlled, so that the accuracy is improved.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives, and variations may be made in the above embodiments by those skilled in the art without departing from the spirit and principles of the invention. The scope of the invention is defined by the appended claims and their equivalents.