Pasture operation rating calculation method and device and electronic equipment
The method addresses inaccuracies in traditional ranch management evaluations by normalizing and weighting indicator data based on entry time and utilization rate, resulting in a reliable and comprehensive ranch management rating.
Patent Information
- Application Number
- CN202411114074.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional ranch management evaluation methods lack consideration for data timeliness and integrity, leading to inaccurate management rating judgments.
A method that calculates ranch management ratings by obtaining and normalizing indicator data, considering entry time and utilization rate, and performing weighted summation to determine a comprehensive score, using a preset weight database to assess ranch performance.
Provides an objective and accurate ranch management rating through quantitative analysis, enhancing the reliability and comprehensiveness of evaluation results.
Smart Images

Figure CN119067708A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and specifically to a method, device and electronic equipment for calculating a ranch management rating. Background Art
[0002] Ranch management involves many aspects such as feeding management, disease prevention and control, and production efficiency. How to conduct a comprehensive and objective assessment of the ranch's operating rating has become an important issue facing livestock managers.
[0003] At present, in the evaluation process of ranch management, timeliness and data integrity are of vital importance. Traditional management evaluation methods rely on historical data aggregation without considering the integrity and timeliness of the data, which may affect the accuracy of ranch management rating judgment.
[0004] Therefore, there is an urgent need for a ranch management rating calculation method, device and electronic equipment. Summary of the invention
[0005] The present application provides a ranch management rating calculation method, device and electronic equipment, which comprehensively consider the input time and utilization rate of indicator data, and improve the accuracy of ranch management rating prediction.
[0006] In a first aspect of the present application, a method for calculating a ranch management rating is provided, the method comprising: obtaining multiple groups of indicator data within an evaluation period, and calculating an average value of each group of the indicator data, the indicator data being one of milk production data, herd structure data, health data, breeding data, calf data or feeding data; comparing the average value with a corresponding ideal value range to obtain a basic score for each group of the indicator data, the ideal value range being a numerical range that each group of indicator data should reach under normal ranch management conditions; obtaining the entry time and utilization rate of each group of the indicator data, the utilization rate being the ratio of the actual number of recorded days to the theoretical number of recorded days of the indicator data within the evaluation period; determining a comprehensive score corresponding to the indicator data according to the entry time and utilization rate; performing weighted summation on the comprehensive scores of each group of the indicator data according to a preset weight database to obtain a corresponding ranch score; and determining a ranch management rating according to the ranch score.
[0007] By adopting the above technical solution, multiple groups of indicator data within the evaluation period are obtained and the average value is calculated. The average value is compared with the ideal value range to obtain a basic score, and the comprehensive score is determined by combining the entry time and utilization rate of the indicator data. The weighted sum is then performed according to the preset weights to obtain the ranch score. Finally, the ranch management rating is determined based on the ranch score, and a comprehensive evaluation of the ranch management rating is achieved. This method takes into account the actual value, entry timeliness and data integrity of the indicator data. Through quantitative analysis and weighted calculation, an objective and accurate ranch comprehensive score is obtained, and the overall operation status of the ranch is determined based on this, providing a comprehensive decision-making reference for ranch managers. This method comprehensively considers the entry time and utilization rate of the indicator data, and can evaluate the data quality from the two dimensions of time and integrity, obtain a more comprehensive and objective comprehensive score, and improve the accuracy of the ranch management rating prediction.
[0008] Optionally, the average value is compared with the corresponding ideal value range to obtain a basic score for each group of the indicator data, specifically including: normalizing the average value to obtain a normalized indicator value; comparing the normalized indicator value with the ideal value range to obtain an indicator deviation; determining a basic score corresponding to the indicator deviation in a preset indicator score mapping table, wherein the preset indicator score mapping table includes a correspondence between the indicator deviation and the basic score.
[0009] By adopting the above technical solution, the normalized index value is obtained by normalizing the average value, and compared with the ideal value range, the index deviation is calculated, and then the corresponding basic score is determined according to the preset index score mapping table. This method uses normalization to eliminate the dimensional differences of different index data, so that each group of index data can be compared and evaluated on a unified scale. By introducing the index deviation, the gap between the actual index data and the ideal value range is quantified, and the index deviation is converted into a specific basic score through the preset index score mapping table, making the scoring result more intuitive and easy to understand.
[0010] Optionally, the normalized index value is compared with the ideal value range to obtain the index deviation, specifically including: if it is determined that the index deviation is within the ideal value range, then the index deviation is determined to be zero; if it is determined that the index deviation is not within the ideal value range, then a first deviation and a second deviation are determined, the first deviation being the absolute value of the difference between the normalized index value and the upper limit of the ideal value range, and the second deviation being the absolute value of the difference between the normalized index value and the lower limit of the ideal value range; comparing the magnitude relationship between the first deviation and the second deviation; if it is determined that the first deviation is less than or equal to the second deviation, then the first deviation is used as the index deviation; if it is determined that the first deviation is greater than the second deviation, then the second deviation is used as the index deviation.
[0011] By adopting the above technical solution, by judging whether the indicator deviation is within the ideal value range, the situation within the ideal value range is assigned a zero deviation, indicating that the indicator performance is in line with expectations; for the situation beyond the ideal value range, the absolute value of the difference between the normalized indicator value and the upper and lower limits of the ideal value range is calculated respectively as the first deviation and the second deviation, and the two deviations are compared, and the smaller one is selected as the final indicator deviation. This calculation method fully considers the deviation of the indicator value on both sides of the ideal value range, selects the side closer to the ideal range as the evaluation basis, avoids excessive amplification or reduction of the degree of deviation, and makes the calculation of the deviation more reasonable and accurate.
[0012] Optionally, determining a comprehensive score corresponding to the indicator data based on the entry time and utilization rate specifically includes: comparing the entry time with a preset expiration time to obtain a time adjustment factor; multiplying the time adjustment factor by the utilization rate to obtain a comprehensive adjustment factor; multiplying the basic score by the comprehensive adjustment factor to obtain the comprehensive score.
[0013] By adopting the above technical solution, the time adjustment factor is obtained by comparing the entry time of the indicator data with the preset expiration time, and then the time adjustment factor is multiplied by the utilization rate to obtain the comprehensive adjustment factor. Finally, the basic score is multiplied by the comprehensive adjustment factor to obtain the comprehensive score. This method introduces the time adjustment factor, takes into account the impact of the timeliness of the indicator data on the basic score, gives a full score to the case where the entry time is earlier than the expiration time, and gives an exponentially decayed score to the case where the entry time is later than the expiration time, highlighting the importance of data timeliness. The utilization rate reflects the completeness of the indicator data during the evaluation period, and multiplies it with the time adjustment factor to obtain the comprehensive adjustment factor, which fully considers the joint impact of the timeliness and completeness of the data on the basic score. The basic score is multiplied by the comprehensive adjustment factor to obtain the final comprehensive score, which realizes the quantitative evaluation of the quality of the indicator data, promotes ranch managers to improve the timeliness and completeness of data entry, and provides a reliable data basis for the evaluation results.
[0014] Optionally, comparing the entry time with the preset expiration time to obtain the time adjustment factor specifically includes: determining whether the entry time is before the preset expiration time; if it is determined that the entry time is before the preset expiration time, recording the time adjustment factor as 1; if it is determined that the entry time is after the preset expiration time, calculating the time adjustment factor according to an exponential decay formula, and the exponential decay formula is a=e^(-λ(t-t0)); wherein a is the time adjustment factor, t is the entry time, t0 is the preset expiration time, and λ is a decay constant, which is used to control the degree of influence of time.
[0015] By adopting the above technical solution, by judging whether the entry time of the indicator data is before the preset expiration time, the time adjustment factor is directly assigned to the situation before the preset expiration time as 1, indicating that the data is completely valid; for the situation after the expiration time, the exponential decay formula is introduced to calculate the time adjustment factor, and the negative impact of time delay on data validity is characterized by exponential function modeling. As the delay time increases, the time adjustment factor shows an exponential decay trend, quantifying the degree of data failure. The decay constant in the exponential decay formula can be adjusted according to actual needs to control the intensity of time influence and provide flexible parameter settings.
[0016] Optionally, the management rating includes good and medium, and determining the management rating of the ranch based on the ranch score specifically includes: if it is determined that the ranch score is in a first score range, then determining that the ranch management rating is good; if it is determined that the ranch score is in a second score range, then determining that the ranch management rating is medium.
[0017] By adopting the above technical solution, by presetting two management ratings of good and medium, and setting corresponding score ranges, a hierarchical evaluation of management ratings is achieved. When the ranch score is in the first score range, the ranch management rating is judged to be good, indicating that the ranch management level and overall performance are excellent; when the ranch score is in the second score range, the ranch management rating is judged to be medium, indicating that the ranch management and performance still have room for improvement. This method provides clear judgment criteria, classifies ranch management ratings according to objective comprehensive scores, and makes the evaluation results more intuitive and easy to understand. By setting different score ranges, the good and medium standards can be adjusted according to actual needs, and flexibly adapt to different evaluation requirements.
[0018] Optionally, after determining the operating rating of the ranch based on the ranch score, the method further includes: generating a ranch operating rating report based on the operating rating, the ranch operating rating report including the assessment period, assessment indicators, and assessment score of the ranch; and presenting the ranch operating rating report to the user in the form of a data visualization chart.
[0019] By adopting the above technical solution, after determining the management rating of the ranch, a ranch management rating report is automatically generated. The ranch management rating report contains key information such as the ranch evaluation period, evaluation indicators and evaluation scores, and comprehensively presents the process and results of the ranch management rating evaluation. By displaying the report content in the form of data visualization charts, complex data is converted into an intuitive and easy-to-understand visual form, intuitively presenting the performance and comprehensive scores of the ranch in various indicators, so that managers can quickly grasp the key points of the evaluation results.
[0020] In a second aspect of the present application, a ranch management rating calculation device is provided, the device comprising an acquisition module and a processing module, wherein: the acquisition module is used to acquire multiple groups of indicator data within an evaluation period and calculate the average value of each group of the indicator data, the indicator data being one of milk production data, herd structure data, health data, breeding data, calf data or feeding data; the processing module is used to compare the average value with the corresponding ideal value range to obtain a basic score for each group of the indicator data, the ideal value range being the numerical interval that each group of indicator data should reach under normal ranch management conditions; the acquisition module is also used to acquire the entry time and utilization rate of each group of the indicator data, the utilization rate being the ratio of the actual number of recorded days of the indicator data within the evaluation period to the theoretical number of recorded days; the processing module is also used to determine the comprehensive score corresponding to the indicator data according to the entry time and utilization rate; the processing module is also used to perform weighted summation on the comprehensive scores of each group of the indicator data according to a preset weight database to obtain a corresponding ranch score; the processing module is also used to determine the ranch management rating according to the ranch score.
[0021] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.
[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.
[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. By obtaining multiple groups of indicator data within the evaluation period and calculating the average value, the basic score is obtained by comparing the average value with the ideal value range, and the comprehensive score is determined by combining the input time and utilization rate of the indicator data, and then the weighted sum is performed according to the preset weights to obtain the ranch score. Finally, the ranch management rating is determined based on the ranch score, realizing a comprehensive evaluation of the ranch management rating. This method takes into account the actual value, input timeliness and data integrity of the indicator data, and obtains an objective and accurate ranch comprehensive score through quantitative analysis and weighted calculation, and judges the overall operation status of the ranch based on this, providing a comprehensive decision-making reference for ranch managers.
[0024] 2. By judging whether the indicator deviation is within the ideal value range, zero deviation is assigned to the situation within the ideal value range, indicating that the indicator performance is in line with expectations; for the situation beyond the ideal value range, the absolute value of the difference between the normalized indicator value and the upper and lower limits of the ideal value range is calculated as the first deviation and the second deviation, and the two deviations are compared, and the smaller one is selected as the final indicator deviation. This calculation method fully considers the deviation of the indicator value on both sides of the ideal value range, selects the side closer to the ideal range as the evaluation basis, avoids excessive amplification or reduction of the degree of deviation, and makes the calculation of the deviation more reasonable and accurate.
[0025] 3. By comparing the entry time of the indicator data with the preset expiration time, the time adjustment factor is obtained, and then the time adjustment factor is multiplied by the utilization rate to obtain the comprehensive adjustment factor. Finally, the basic score is multiplied by the comprehensive adjustment factor to obtain the comprehensive score. This method introduces the time adjustment factor, takes into account the impact of the timeliness of the indicator data on the basic score, gives a full score to the case where the entry time is earlier than the expiration time, and gives an exponentially decayed score to the case where the entry time is later than the expiration time, highlighting the importance of data timeliness. The utilization rate reflects the completeness of the indicator data during the evaluation period, and multiplies it with the time adjustment factor to obtain the comprehensive adjustment factor, which fully considers the joint impact of the timeliness and completeness of the data on the basic score. Multiplying the basic score with the comprehensive adjustment factor to obtain the final comprehensive score realizes the quantitative evaluation of the quality of the indicator data, promotes ranch managers to improve the timeliness and completeness of data entry, and provides a reliable data basis for the evaluation results. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flowchart of a ranch management rating calculation method disclosed in an embodiment of the present application; Figure 2 It is a module schematic diagram of a ranch management rating calculation device disclosed in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0027] Explanation of the reference numerals: 201, acquisition module; 202, processing module; 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION
[0028] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0029] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0030] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0031] This application provides a method for calculating ranch management rating, referring to Figure 1 , Figure 1 1 is a flow chart of a method for calculating a ranch management rating provided in an embodiment of the present application. The method is applied to a server and includes steps S101 to S107, which are as follows: Step S101: obtaining multiple groups of indicator data within an evaluation period, and calculating the average value of each group of indicator data, the indicator data being one of milk production data, herd structure data, health data, breeding data, calf data or feeding data.
[0032] In step S101, the server automatically obtains multiple groups of indicator data within the evaluation period by connecting with the data management system of the ranch. Each group of indicator data is a group of data in milk production data, herd structure data, health data, breeding data, calf data and feeding data; milk production data includes daily milk production, milk fat rate and milk protein rate of cattle; herd structure data includes the number and age distribution of cattle; health data includes disease incidence, treatment rate and mortality rate; breeding data includes breeding rate, conception rate and calving interval; calf data may include birth weight, weaning weight and morbidity rate; feeding data may include feed type and dosage; the server calculates the average value of each group of indicator data. For example, for milk production data, the server calculates the average daily milk production, average milk fat rate and average milk protein rate of all cattle in the evaluation period; for health data, the server can calculate the average incidence rate and average treatment rate of diseases in the evaluation period. The server stores the calculated average values of each group of indicator data in the database, and associates them with the corresponding time stamp and ranch identification.
[0033] Step S102: Compare the average value with the corresponding ideal value range to obtain the basic score of each group of indicator data, where the ideal value range is the numerical interval that each group of indicator data should reach under normal ranch management conditions.
[0034] In step S102, the average value is normalized to obtain a normalized index value; the normalized index value is compared with the ideal value range to obtain the index deviation; the basic score corresponding to the index deviation is determined in the preset index score mapping table, and the preset index score mapping table includes the correspondence between the index deviation and the basic score.
[0035] Specifically, the server obtains the ideal value range for each indicator data. The ideal value range is pre-set based on industry standards, expert experience and historical data, and represents the optimal interval of the indicator data. For example, the ideal value range of milk fat percentage may be 3.6%-4.2%. Since the dimensions and numerical ranges of different indicators vary greatly, the server needs to normalize the calculated indicator averages and convert them into dimensionless standard values. The server uses a linear normalization method, and the server maps the indicator average to the interval [0, 1], with the formula: Normalized indicator value = (indicator average value - indicator minimum value) / (indicator maximum value - indicator minimum value). The server compares the normalized indicator average value with the corresponding ideal value range and calculates the indicator deviation.
[0036] In a possible implementation, the normalized index value is compared with the ideal value range to obtain the index deviation, specifically including: if it is determined that the index deviation is within the ideal value range, the index deviation is determined to be zero; if it is determined that the index deviation is not within the ideal value range, a first deviation and a second deviation are determined, the first deviation being the absolute value of the difference between the normalized index value and the upper limit of the ideal value range, and the second deviation being the absolute value of the difference between the normalized index value and the lower limit of the ideal value range; comparing the magnitude relationship between the first deviation and the second deviation; if it is determined that the first deviation is less than or equal to the second deviation, the first deviation is used as the index deviation; if it is determined that the first deviation is greater than the second deviation, the second deviation is used as the index deviation.
[0037] Specifically, the ideal value range includes an upper limit and a lower limit. The server determines whether the normalized index value is within the ideal value range. If the normalized index value is between the upper limit and the lower limit of the ideal value range, it is considered that the actual performance of the normalized index value is completely consistent with the optimal interval, and the index deviation is zero. At this time, the server directly records the index deviation as zero, and no subsequent calculation is required. If the normalized index value is not within the ideal value range, the index deviation needs to be further calculated. The server calculates the absolute value of the difference between the normalized index value and the upper and lower limits of the ideal value range, respectively, to obtain the first deviation and the second deviation. The first deviation = |normalized index value-ideal value range upper limit|; the second deviation = |normalized index value-ideal value range lower limit|; the server compares the first deviation and the second deviation, and selects the smaller one as the final indicator deviation. If the first deviation is less than or equal to the second deviation, the indicator deviation = the first deviation; if the first deviation is greater than the second deviation, the indicator deviation = the second deviation; the purpose of this is to select the side of the normalized indicator value that is closer to the boundary of the ideal value range as the indicator deviation, which more accurately reflects the degree of closeness of the actual performance of the indicator to the optimal interval.
[0038] Step S103: Obtain the entry time and utilization rate of each group of indicator data, where the utilization rate is the ratio of the actual recording days to the theoretical recording days of the indicator data within the evaluation period.
[0039] In step S103, the server obtains the entry time of each group of indicator data from the database. The entry time refers to the time point when the original indicator data is entered into the data management system or uploaded to the server. The entry time is accurate to date and time. The server obtains the entry time of each group of indicator data by querying the timestamp field associated with the indicator data in the database. At the same time, the server calculates the utilization of each group of indicator data according to the preset utilization calculation rules. The calculation method of utilization is as follows: the server first determines the start date and end date of the evaluation period. The evaluation period is usually a fixed time range, such as a month, a quarter or a year. The server can read the preset evaluation period from the configuration file, or dynamically determine the evaluation period according to user input. The server calculates the theoretical number of recorded days in the evaluation period according to the start date and end date of the evaluation period. The theoretical number of recorded days refers to the number of days that data should be recorded theoretically during the evaluation period. The server counts the actual number of recorded days for each group of indicator data during the evaluation period by querying the database. The actual number of recorded days refers to the number of days that a certain group of indicator data is actually recorded during the evaluation period. The server calculates the utilization of each group of indicator data according to the actual number of recorded days and the theoretical number of recorded days. The calculation formula of utilization rate is: = actual recording days / theoretical recording days × 100% The server stores the acquired entry time and the calculated utilization rate in a database, and associates them with the corresponding indicator data, time stamp and pasture identification.
[0040] For example, suppose that during the evaluation period of January 2024, the server of a ranch obtained the entry time of the following indicator data: milk production data: from 2023-01-01 to 2023-01-31, entered at 9:00 every day; herd structure data: 2023-01-01 and 2023-01-15, entered once every half month; the server calculated the utilization rate of each set of indicator data: milk production data utilization rate: 31 days of actual records / 31 days of theoretical records = 100%; herd structure data utilization rate: 2 days of actual records / 31 days of theoretical records = 6.4%.
[0041] Step S104: determining an adjustment score corresponding to the indicator data according to the input time and the utilization rate.
[0042] In step S104, the input time is compared with the preset expiration time to obtain a time adjustment factor; the time adjustment factor is multiplied by the utilization rate to obtain a comprehensive adjustment factor; the basic score is multiplied by the comprehensive adjustment factor to obtain an adjusted score.
[0043] In one possible implementation, the entry time is compared with the preset expiration time to obtain a time adjustment factor, specifically including: determining whether the entry time is before the preset expiration time; if it is determined that the entry time is before the preset expiration time, the time adjustment factor is recorded as 1; if it is determined that the entry time is after the preset expiration time, the time adjustment factor is calculated according to an exponential decay formula, and the exponential decay formula is a=e^(-λ(t-t0)); wherein a is the time adjustment factor, t is the entry time, t0 is the preset expiration time, and λ is a decay constant, which is used to control the degree of influence of time.
[0044] Specifically, the server obtains the preset expiration time from the configuration file or database. The preset expiration time is set according to the indicator type and data usage scenario, and indicates the deadline for data entry. Data entered beyond the preset expiration time is considered expired, and its timeliness and reliability will be significantly reduced. The setting of the preset expiration time should take into account factors such as the real-time requirements of the data, the time period for data processing and analysis, and this application does not limit this. For example, for indicator data required for daily production management decisions, such as daily milk production, the preset expiration time can be set to the end of the day; for periodic monitoring indicators, such as cattle breeding data, the preset expiration time may be set to the end of a week or a month.
[0045] The server compares the entry time of each set of indicator data with the preset expiration time to determine whether the entry time is before the preset expiration time. If the entry time is before the preset expiration time, it means that the data is entered in time, and the time adjustment factor is recorded as 1, indicating that the timeliness and reliability of the data are the highest. If the entry time is after the preset expiration time, it means that the data entry is delayed, and the time adjustment factor needs to be calculated according to the exponential decay formula. The exponential decay formula is: a=e^(-λ(t-t0)) Where a is the time adjustment factor, t is the input time, t0 is the preset expiration time, and λ is the decay constant. The exponential decay formula reflects the characteristic that the data quality decreases exponentially over time after the input time exceeds the preset expiration time. The decay constant λ controls the degree of influence of time on data quality. The larger the λ value, the faster the time adjustment factor decreases. The selection of the λ value should be adjusted according to the indicator type and data usage requirements to balance the timeliness and availability of the data. The server multiplies the time adjustment factor by the utilization rate to obtain the comprehensive adjustment factor. The comprehensive adjustment factor comprehensively considers the impact of the timeliness and completeness of data input on data quality. The utilization rate reflects the completeness and availability of the indicator data during the evaluation period and is another important dimension of data quality. The higher the utilization rate, the more complete the data record, the fewer missing or abnormal values, and the higher the reliability of the data. The calculation formula of the comprehensive adjustment factor is: comprehensive adjustment factor = time adjustment factor × utilization rate; the value range of the comprehensive adjustment factor is between 0 and 1, and the higher the value, the better the comprehensive quality of the data. The server multiplies the basic score by the comprehensive adjustment factor to obtain the comprehensive score. The comprehensive score is the final score obtained by taking into account the timeliness and completeness of data entry based on the basic score.
[0046] Step S105: According to the preset weight database, the comprehensive scores of each group of indicator data are weighted and summed to obtain the corresponding pasture score.
[0047] In step S105, the server obtains the corresponding indicator weight from the preset weight database, which includes the corresponding relationship between the indicator type and the indicator weight. The preset weight database is formulated based on expert knowledge, historical experience and management needs, and is used to quantify the importance of different indicators in the comprehensive evaluation of the pasture. In the preset weight database, each indicator type is assigned an indicator weight. The higher the weight value, the greater the impact of the indicator on the pasture management level, and the higher the proportion in the comprehensive score. The setting of the preset weight comprehensively considers factors such as the importance of the indicator, data quality, and the difficulty of data acquisition, and this application does not limit this. The server performs weighted summation on the comprehensive scores of each group of indicator data according to the preset weight database to obtain the comprehensive score of the pasture. The calculation formula for the weighted summation is: pasture comprehensive score = Σ (comprehensive score × indicator weight); wherein Σ represents the accumulation of the comprehensive scores and weights of all indicator types. The server multiplies the comprehensive score of each group of indicator data by its corresponding weight to obtain a weighted score, and then adds all the weighted scores to obtain the pasture score of the pasture.
[0048] Step S106: Determine the operation rating of the ranch according to the ranch score.
[0049] In step S106, the management rating includes good and medium, and the management rating of the ranch is determined according to the ranch score, specifically including: if it is determined that the ranch score is in the first score range, the management rating of the ranch is determined to be good; if it is determined that the ranch score is in the second score range, the management rating of the ranch is determined to be medium.
[0050] Specifically, the server obtains a preset score range from the database. The preset score range is obtained based on industry standards, expert experience and historical data statistics, and is used to divide the ranch scores into different levels or categories. The preset score range includes two parts: a first score range and a second score range. The first score range corresponds to a good management rating, indicating that the management level and data quality of the ranch are excellent; the second score range corresponds to a medium management rating, indicating that the management and data quality of the ranch need to be improved. The setting of the preset score range takes into account industry characteristics, evaluation purposes and data distribution. For example, the first score range can be set to 80 points or above, and the second score range can be set to below 80 points. The server obtains the ranch score calculated in step S105. The server compares the ranch score with the preset score range to determine which range the ranch score belongs to. If the ranch score is within the first score range, the server determines the ranch's management rating as good. This indicates that the ranch has a high management level, excellent performance in various indicators, reliable data quality, and healthy management conditions. If the ranch score is within the second score range, the server determines the ranch's management rating as medium. This shows that there is still room for improvement in the management level and data quality of the ranch, and some indicators may have shortcomings or deficiencies, which need further optimization and improvement.
[0051] In a possible implementation, after step S106, the method further includes: generating a ranch management rating report based on the management rating, the ranch management rating report including the assessment period, assessment indicators, and score level of the ranch; and presenting the ranch management rating report to the user in the form of a data visualization chart.
[0052] Specifically, the server obtains data related to the ranch management rating assessment from the database, including ranch identification, assessment period, assessment indicators, indicator scores, comprehensive scores and management ratings. The server automatically generates a ranch management rating report based on the acquired data. The server uses a predefined report template to fill the acquired data into the corresponding positions to generate the report content of a complete ranch management rating report. The server uses data visualization technology to convert the ranch management rating report into an intuitive and easy-to-understand chart form. At the same time, the server integrates the generated reports and visualization charts into an interactive interface or dashboard. Users can access the interface through a web browser or a dedicated application to view and analyze the ranch management rating report.
[0053] Reference Figure 2The present application also provides a ranch management rating calculation device, which is a server, and the server includes an acquisition module 201 and a processing module 202, wherein: the acquisition module 201 is used to acquire multiple groups of indicator data within an evaluation period and calculate the average value of each group of indicator data, wherein the indicator data is one of milk production data, herd structure data, health data, breeding data, calf data or feeding data; the processing module 202 is used to compare the average value with the corresponding ideal value range to obtain a basic score for each group of indicator data, wherein the ideal value range is a numerical range that each group of indicator data should reach under normal ranch management conditions; the acquisition module 201 is also used to acquire the entry time and utilization rate of each group of indicator data, wherein the utilization rate is the ratio of the actual number of recorded days of the indicator data within the evaluation period to the theoretical number of recorded days; the processing module 202 is also used to determine the comprehensive score corresponding to the indicator data according to the entry time and utilization rate; the processing module 202 is also used to perform weighted summation on the comprehensive scores of each group of indicator data according to a preset weight database to obtain the corresponding ranch score; the processing module 202 is also used to determine the ranch management rating according to the ranch score.
[0054] In a possible implementation, the processing module 202 compares the average value with the corresponding ideal value range to obtain a basic score for each group of indicator data, specifically including: the processing module 202 normalizes the average value to obtain a normalized indicator value; the processing module 202 compares the normalized indicator value with the ideal value range to obtain the indicator deviation; the processing module 202 determines the basic score corresponding to the indicator deviation in a preset indicator score mapping table, and the preset indicator score mapping table includes a correspondence between the indicator deviation and the basic score.
[0055] In a possible implementation, the processing module 202 compares the normalized index value with the ideal value range to obtain the index deviation, which specifically includes: if the processing module 202 determines that the index deviation is within the ideal value range, the index deviation is determined to be zero; if the processing module 202 determines that the index deviation is not within the ideal value range, a first deviation and a second deviation are determined, the first deviation being the absolute value of the difference between the normalized index value and the upper limit of the ideal value range, and the second deviation being the absolute value of the difference between the normalized index value and the lower limit of the ideal value range; the processing module 202 compares the magnitude relationship between the first deviation and the second deviation; if the processing module 202 determines that the first deviation is less than or equal to the second deviation, the first deviation is used as the index deviation; if the processing module 202 determines that the first deviation is greater than the second deviation, the second deviation is used as the index deviation.
[0056] In a possible implementation, the processing module 202 determines a comprehensive score corresponding to the indicator data based on the entry time and the utilization rate, specifically including: the processing module 202 compares the entry time with the preset expiration time to obtain a time adjustment factor; the processing module 202 multiplies the time adjustment factor by the utilization rate to obtain a comprehensive adjustment factor; the processing module 202 multiplies the basic score by the comprehensive adjustment factor to obtain a comprehensive score.
[0057] In one possible implementation, the processing module 202 compares the entry time with the preset expiration time to obtain a time adjustment factor, which specifically includes: the processing module 202 determines whether the entry time is before the preset expiration time; if the processing module 202 determines that the entry time is before the preset expiration time, the time adjustment factor is recorded as 1; if the processing module 202 determines that the entry time is after the preset expiration time, the time adjustment factor is calculated according to the exponential decay formula, and the exponential decay formula is a=e^(-λ(t-t0)); wherein a is the time adjustment factor, t is the entry time, t0 is the preset expiration time, and λ is the decay constant, which is used to control the degree of influence of time.
[0058] In one possible implementation, the management rating includes good and medium, and the processing module 202 determines the management rating of the ranch according to the ranch score, specifically including: if the processing module 202 determines that the ranch score is in a first score range, then the management rating of the ranch is determined to be good; if the processing module 202 determines that the ranch score is in a second score range, then the management rating of the ranch is determined to be medium.
[0059] In a possible implementation, after the processing module 202 determines the management rating of the ranch according to the ranch score, the method further includes: the processing module 202 generates a ranch management rating report according to the management rating, the ranch management rating report includes the assessment period, assessment indicators, and assessment score of the ranch; the processing module 202 displays the ranch management rating report to the user in the form of a data visualization chart.
[0060] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0061] The present application also provides an electronic device. Figure 3 , Figure 3The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
[0062] The communication bus 302 is used to realize the connection and communication between these components.
[0063] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0064] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0065] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0066] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a ranch management rating calculation method.
[0067] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call an application program storing a ranch management rating calculation method in the memory 305. When executed by one or more processors 301, the electronic device 300 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0068] The present application also provides a computer-readable storage medium, which stores instructions. When executed by one or more processors 301, the electronic device 300 executes one or more of the methods described in the above embodiments.
[0069] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0070] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0071] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0072] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0074] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0075] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for calculating a ranch management rating, characterized in that: The method comprises: Acquire multiple groups of indicator data within an evaluation period, and calculate the average value of each group of the indicator data, wherein the indicator data is one of milk production data, herd structure data, health data, breeding data, calf data or feeding data; The average value is compared with the corresponding ideal value range to obtain the basic score of each group of the indicator data, and the ideal value range is the numerical range that each group of indicator data should reach under normal ranch management conditions; Obtaining the input time and utilization rate of each group of the indicator data, wherein the utilization rate is the ratio of the actual number of days of recording the indicator data within the evaluation period to the theoretical number of days of recording; Determine a comprehensive score corresponding to the indicator data according to the input time and utilization rate; According to the preset weight database, the comprehensive scores of the indicator data of each group are weighted and summed to obtain the corresponding pasture score; A farm operation rating is determined based on the farm score.
2. The method according to claim 1, characterized in that The comparison of the average value with the corresponding ideal value range to obtain the basic score of each group of the indicator data specifically includes: Normalizing the average value to obtain a normalized index value; Comparing the normalized index value with the ideal value range to obtain an index deviation; The basic score corresponding to the indicator deviation is determined in a preset indicator scoring mapping table, wherein the preset indicator scoring mapping table includes a correspondence between the indicator deviation and the basic score.
3. The method according to claim 2, characterized in that The step of comparing the normalized index value with the ideal value range to obtain the index deviation specifically includes: If it is determined that the indicator deviation is within the ideal value range, then the indicator deviation is determined to be zero; If it is determined that the indicator deviation is not within the ideal value range, a first deviation and a second deviation are determined, wherein the first deviation is the absolute value of the difference between the normalized indicator value and the upper limit of the ideal value range, and the second deviation is the absolute value of the difference between the normalized indicator value and the lower limit of the ideal value range; comparing the magnitude relationship between the first deviation and the second deviation; If it is determined that the first deviation is less than or equal to the second deviation, the first deviation is used as the indicator deviation; If it is determined that the first deviation is greater than the second deviation, the second deviation is used as the indicator deviation.
4. The method according to claim 1, characterized in that: Determining the comprehensive score corresponding to the indicator data according to the input time and utilization rate specifically includes: Comparing the input time with the preset expiration time to obtain a time adjustment factor; Multiplying the time adjustment factor by the utilization rate to obtain a comprehensive adjustment factor; The basic score is multiplied by the comprehensive adjustment factor to obtain the comprehensive score.
5. The method according to claim 4, characterized in that The step of comparing the input time with the preset expiration time to obtain a time adjustment factor specifically includes: Determining whether the input time is before a preset expiration time; If it is determined that the input time is before the preset expiration time, the time adjustment factor is recorded as 1; If it is determined that the entry time is after the preset expiration time, the time adjustment factor is calculated according to the exponential decay formula, and the exponential decay formula is a=e^(-λ(t-t0)); wherein a is the time adjustment factor, t is the entry time, t0 is the preset expiration time, and λ is the decay constant, which is used to control the degree of influence of time.
6. The method according to claim 1, characterized in that The operation rating includes good and medium. The operation rating of the ranch is determined according to the ranch score, specifically including: If it is determined that the ranch score is within the first score range, then the operation rating of the ranch is determined to be good; If it is determined that the farm score is in the second score range, then the management rating of the farm is determined to be medium.
7. The method according to claim 1, characterized in that After determining the operation rating of the ranch according to the ranch score, the method further includes: Generate a ranch management rating report based on the management rating, wherein the ranch management rating report includes an assessment period, assessment indicators, and an assessment score of the ranch; The ranch management rating report is presented to the user in the form of a data visualization chart.
8. A ranch management rating calculation device, characterized in that: The device comprises an acquisition module (201) and a processing module (202), wherein: The acquisition module (201) is used to acquire multiple groups of indicator data within an evaluation period and calculate the average value of each group of the indicator data, wherein the indicator data is one of milk production data, herd structure data, health data, breeding data, calf data or feeding data; The processing module (202) is used to compare the average value with the corresponding ideal value range to obtain a basic score for each group of the indicator data, wherein the ideal value range is the numerical range that each group of indicator data should reach under normal ranch management conditions; The acquisition module (201) is further used to acquire the input time and utilization rate of each group of the indicator data, wherein the utilization rate is the ratio of the actual recording days of the indicator data in the evaluation period to the theoretical recording days; The processing module (202) is further used to determine the comprehensive score corresponding to the indicator data according to the input time and the utilization rate; The processing module (202) is further used to perform weighted summation on the comprehensive scores of each group of the indicator data according to a preset weight database to obtain a corresponding pasture score; The processing module (202) is further used to determine the operation rating of the ranch according to the ranch score.
9. An electronic device, characterized in that: The electronic device (300) comprises a processor (301), a memory (305), a user interface (303) and a network interface (304), wherein the memory (305) is used to store instructions, the user interface (303) and the network interface (304) are used to communicate with other devices, and the processor (301) is used to execute the instructions stored in the memory (305) so that the electronic device (300) executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Credit evaluation method, system, storage medium, and electronic apparatus for small and micro enterprises
CA3150588A1
Risk assessment method, electronic device and computer readable storage medium
CN110648045A
Operation index evaluation method and device based on artificial intelligence, equipment and medium
CN111754110A
Data quality evaluation method and device, electronic equipment and storage medium
CN114742417A
Experimental area sustainable development evaluation method and system
CN117808314A
