Cotton supervising and tracing method and device based on multi-source data
Through the integration analysis of multi -source data and the vague judgment of the traceability trajectory, the traceability matching of cotton planting and processing was solved, and fine monitoring of cotton ecology and traits was achieved, and the fine management capabilities of cotton supervision were improved.
Patent Information
- Application Number
- CN202411444288.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-10-16
AI Technical Summary
It is difficult for the existing technology to accurately extract the correlation relationship between cotton planting quality and processing quality through multi-source data integration analysis, and it is impossible to rely on multi-source data to monitor cotton ecology and traits, which makes it difficult to solve the problem of traceability matching between cotton planting and processing.
The traceability method of cotton supervision based on multi -source data is adopted, analyzing the source correction module, traceability node analysis module, image recognition module, and traceability evaluation module, etc., based on the traceability initial node and ending node vague judgment of the trace trajectory of cotton. The evaluation value of the traceability node, whether the decision -making processing steps meet the conditions, and adjust the processing trajectory or the revision of the frequency of traceability.
The accurate extraction of the relationship between cotton planting quality processing quality is achieved, and the polygonal data monitor the cotton ecology and traits, which solves the problem of traceability matching of cotton planting and processing, and improves the refined management capabilities of cotton supervision.
Smart Images

Figure CN119378874A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data monitoring technology, and in particular to a cotton supervision and traceability method and device based on multi-source data. Background Art
[0002] At present, in cotton planting, the health status and processing compliance of cotton are usually judged by experienced personnel through visual inspection or with the assistance of simple instruments. The main problem with manual monitoring is that it is difficult to monitor continuously for a long time, and the judgment of the health status and processing compliance of cotton is closely related to the experience and sense of responsibility of the personnel. The professional skills required of cotton growers are high, which is not conducive to the refined management and development of the cotton planting industry.
[0003] Intelligent monitoring, information management and remote monitoring technologies based on computer technology and sensor technology provide effective means for the quantitative collection, processing integration and intelligent management of breeding environment data. However, in the existing technology, there is a lack of integrated analysis of cotton planting data and processing data, and it is impossible to accurately extract the correlation between cotton planting quality and processing quality. It is impossible to rely on multi-source data to monitor cotton ecology and cotton traits, and it is difficult to solve the problem of traceability matching of cotton planting and processing. Summary of the invention
[0004] To achieve the above objectives, this application provides the following technical solutions:
[0005] According to the first aspect of the present invention, the present invention claims a cotton supervision and traceability method based on multi-source data, comprising:
[0006] Step A001: The traceability correction module uses the finished product data as the traceability end node and the stage of the cotton to be traced collected by the traceability tracking module as the traceability initial node. The traceability correction module fuzzily determines the traceability trajectory of the cotton to be traced based on the traceability initial node and the traceability end node.
[0007] Step A002: during the planting and processing of the cotton to be traced, the traceability node analysis module analyzes the multiple traceability nodes deployed in the traceability map and obtains the evaluation value, which is sent to the traceability evaluation module. The traceability evaluation module decides whether the planting and processing process of the cotton to be traced meets the conditions for the planting and processing steps in the traceability map according to the collected evaluation value in the traceability map.
[0008] Step A003, when the planting and processing step in the traceability map is determined not to meet the condition, the traceability evaluation module determines whether the traceability of the planting and processing process is hindered by pollution based on the input image of the cotton to be traced collected by the image recognition module, or determines the type of the planting and processing step in the planting and processing process that does not meet the condition based on the collected evaluation value;
[0009] Step A004, when the traceability evaluation module completes the judgment of the type of the planting and processing process that does not meet the conditions of the planting and processing steps of the traceability map, it synchronizes the grade-planting and processing parameter association relationship of the cotton to be traced according to the judged type to decide whether to adjust the planting and processing trajectory of the cotton to be traced according to the synchronized curve, or to correct the traceability frequency of the planting and processing process;
[0010] Step A005, after completing the synchronization of the planting and processing trajectory of the cotton to be traced or the correction of the traceability frequency of the planting and processing process, the traceability evaluation module re-collects the traceability nodes in the traceability map and repeats steps A003 to A004 when the planting and processing process for the cotton to be traced still does not meet the conditions according to the collected traceability nodes until the planting and processing process meets the conditions for the planting and processing steps in the traceability map;
[0011] Step A006, when the cotton to be traced reaches the traceability end node, the traceability evaluation module uploads the data, decision results and corresponding instructions collected during the planting and processing of the cotton to be traced to the cloud storage platform in sequence, and completes the judgment of the planting and processing trajectory of the cotton to be traced based on the uploaded data when the cotton to be traced is planted and processed next time.
[0012] Further, in the step A001, when the traceability correction module completes the fuzzy judgment on the planting and processing trajectory of the cotton to be traced, it receives the grade data of the cotton to be traced collected by the grade statistics module and substitutes it into the grade-planting and processing parameter association relationship to judge the total trajectory length that needs to be traced for the cotton to be traced, and when the collected total trajectory length is less than the actual planting and processing trajectory length of the cotton to be traced, it judges whether to synchronize the planting and processing trajectory according to the difference between the actual planting and processing trajectory length and the total trajectory length, wherein the traceability correction module regards the obtained difference as the trajectory difference:
[0013] If the trajectory difference is not greater than the first threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the first threshold condition weight to correct each threshold traceability node used to decide whether the planting and processing process meets the conditions for the planting and processing steps in the traceability map;
[0014] If the trajectory difference is greater than the first threshold trajectory difference and not greater than the second threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the second threshold condition weight to correct each threshold traceability node;
[0015] If the trajectory difference is greater than the second threshold trajectory difference, the traceability correction module decides that the cotton to be traced cannot be directly planted and processed. The traceability correction module collects the stage data of multiple transportation nodes whose straight-line distance to the traceability initial node is less than the threshold distance based on the total trajectory length, and synchronizes the planting and processing trajectory of the cotton to be traced based on each transportation node.
[0016] Furthermore, the method by which the traceability correction module synchronizes the planting and processing trajectory of the cotton to be traced according to each transportation node includes:
[0017] According to the total trajectory length, a plurality of the transport nodes whose straight-line distances to the tracing initial node are less than a threshold distance are collected, and a corresponding number of transport nodes are screened out according to a threshold ratio, and the screened transport nodes are used as candidate transport nodes;
[0018] The candidate transport node closest to the traceability initial node is selected and used as a waypoint, and the planting and processing trajectory of the cotton to be traced is re-determined based on the traceability initial node, the waypoint and the traceability end node.
[0019] Furthermore, the relationship between the grade and the planting and processing parameters is as follows:
[0020] L=G×η×I / F
[0021] Wherein, L is the total track length that needs to be traced for the cotton to be traced, G is the current grade of the cotton to be traced, η is the comprehensive finished product forming index of the cotton to be traced, including the index of forming as a cotton fabric for warmth preservation and the index of forming as a planting and processing process, I is the impurity rate of the cotton to be traced, F is the comprehensive traceability frequency of the cotton to be traced, and F=F1+F2 is set, F1 is the traceability frequency of the server in the cotton to be traced, and F2 is the traceability frequency of the planting and processing process in the cotton to be traced;
[0022] For the comprehensive finished product forming index η, it is collected by the following formula:
[0023] η=α×ηa+β×c / ηb
[0024] Among them, α is the first index weight, set α = 0.45, ηa is the index of the finished cotton product to be traced being formed into a qualified product, β is the second index weight, set β = 0.55, c is the planting and processing step index conversion constant, c = 1.45, ηb is the forming index of the finished cotton product to be traced into the seed clear in the planting and processing process.
[0025] Furthermore, in step A002, the traceability evaluation module sequentially collects the average values of the traceability nodes obtained by analyzing each traceability node in the corresponding time period, and draws a time-traceability node curve based on the average values collected in different time periods. The traceability evaluation module decides whether the planting process meets the conditions for the planting process steps in the traceability map based on the absolute value of the difference between the average traceability node in the starting time period and the average traceability node in the ending time period within the threshold period:
[0026] If the difference is not greater than the first threshold difference deployed in the traceability evaluation module, the traceability evaluation module determines that the planting and processing process meets the conditions for the planting and processing steps in the traceability map, and continuously monitors the environment in the traceability map based on the collected evaluation value;
[0027] If the difference is greater than the first threshold difference and not greater than the second threshold difference deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision on whether the implantation process meets the conditions of the implantation process step in the traceability map based on the fiber reflection collected by the image recognition module within the threshold period;
[0028] If the difference is greater than the second threshold difference, the traceability evaluation module decides that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value.
[0029] Furthermore, the process of the traceability evaluation module making a secondary decision when the planting and processing steps in the traceability map meet the conditions includes:
[0030] The traceability evaluation module collects the fiber reflection data collected by the image recognition module at multiple time periods in the threshold period, and calculates the average value of the stable quality of the cotton to be traced within the threshold period based on the collected fiber reflection values;
[0031] The traceability evaluation module makes a secondary decision on whether the planting and processing steps in the planting and processing process meet the conditions in the traceability map according to the collected average value of the stable quality of the cotton;
[0032] If the average value of the stable quality of the cotton is not greater than the threshold average value deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value.
[0033] If the average value of the stable quality of the cotton is greater than the threshold average value, the traceability evaluation module makes a second decision that the planting and processing environment of the cotton to be traced does not meet the conditions, and controls the trajectory module to re-judge the traceability trajectory of the cotton to be traced with pollution as the judgment priority.
[0034] Furthermore, when the traceability evaluation module determines that the planting process does not meet the conditions for the planting process steps in the traceability map, the coordinates at each time period in the time-traceability node curve are derived and the maximum value of the deviation value obtained is used as the fitting deviation value. The traceability evaluation module determines the type of planting process that does not meet the conditions for the planting process steps in the traceability map based on the fitting deviation value, wherein:
[0035] If the fitting deviation value is greater than or equal to the threshold deviation value deployed in the traceability evaluation module, the traceability evaluation module determines that the type of the planting process that does not meet the conditions for the planting process steps in the traceability map is a leakage of the traceability map, and the traceability evaluation module determines the traceability frequency of the planting process according to the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period;
[0036] If the fitting deviation value is less than the threshold deviation value, the traceability evaluation module decides that the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map is aging of the cotton to be traced. The traceability evaluation module determines the grade raw material quantity of the cotton to be traced within the threshold period recorded by the grade statistics module, and judges the comprehensive finished product forming index according to the collected raw material grade. The traceability evaluation module re-judges the total trajectory length of the cotton to be traced based on the current grade based on the re-judged comprehensive finished product forming index, and re-judges the planting and processing trajectory of the cotton to be traced based on the collected total trajectory length.
[0037] Furthermore, the traceability evaluation module takes the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period as a reference traceability node. The traceability evaluation module is provided with multiple correction methods for the traceability frequency of the planting and processing process based on the reference traceability node, and each correction method has a different correction amplitude for the traceability frequency of the planting and processing process.
[0038] Furthermore, the traceability evaluation module is provided with a plurality of correction methods for the comprehensive finished product forming index according to the grade raw material quantity of the cotton to be traced within the threshold period recorded by the grade statistics module, and the correction range of each correction method for the comprehensive finished product forming index is different;
[0039] The traceability evaluation module re-collects the total track length of the cotton to be traced according to the revised comprehensive finished product forming index after the correction of the comprehensive finished product forming index is completed, and repeats step A001;
[0040] When the traceability evaluation module completes the correction of the traceability frequency F2 for the planting and processing process, a plurality of correction methods for the threshold ratio are provided according to the amount of grade raw materials of the cotton to be traced within the threshold period recorded by the collected grade statistics module, and the correction amplitude of each correction method for the threshold ratio is different.
[0041] According to the second aspect of the present invention, the present invention seeks protection for a cotton supervision and traceability device based on multi-source data, comprising:
[0042] one or more processors;
[0043] A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the cotton supervision and traceability method based on multi-source data.
[0044] The present application relates to the field of data monitoring technology, and in particular to a cotton supervision and traceability method and device based on multi-source data, which fuzzily judges the traceability track of the cotton to be traced according to the traceability initial node and the traceability end node; decides whether the planting and processing process of the cotton to be traced meets the conditions for the planting and processing steps in the traceability map according to the evaluation value obtained by analyzing the multiple traceability nodes deployed in the traceability map when the cotton to be traced is planted and processed; when the cotton to be traced reaches the traceability end node, the data, decision results and corresponding instructions collected during the planting and processing of the cotton to be traced are uploaded to the cloud storage platform in sequence, and the judgment of the planting and processing track of the cotton to be traced is completed according to the uploaded data when the cotton to be traced is planted and processed next time. The present invention can accurately extract the correlation between the planting quality and processing quality of cotton, monitor the ecology and traits of cotton by relying on multi-source data, and solve the problem of traceability matching of cotton planting and processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A structural diagram of a cotton supervision and traceability device based on multi-source data as claimed in an embodiment of the present application;
[0046] Figure 2 A workflow diagram of a cotton supervision and traceability method based on multi-source data for which protection is requested in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field without creative work based on the embodiments in the present application are within the scope of protection of this application.
[0048] The terms "first", "second" and "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of this application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative phase relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally also includes steps or modules that are not listed, or optionally also includes other steps or modules inherent to these processes, methods, products or devices.
[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase at various stages in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternate embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0050] See also Figure 1 As shown, it is a structural diagram of a cotton supervision and traceability device based on multi-source data using the present invention, including:
[0051] The traceability module is deployed on the cotton to be traced to determine the stage of the cotton to be traced in real time;
[0052] A grade statistics module, which is connected to the cotton to be traced, and is used to detect and record the remaining grades of the cotton to be traced in real time;
[0053] A traceability correction module is deployed on the cotton to be traced and is connected to the traceability tracking module and the grade statistics module respectively, and is used to determine the planting and processing trajectory of the cotton to be traced according to the traceability end node of the received trajectory end point and the traceability initial node of the trajectory starting point output by the traceability tracking module; the traceability correction module is also used to determine whether to synchronize the planting and processing trajectory according to the transportation node according to the grade data of the planting and processing process output by the grade statistics module, wherein the transportation node is a finished product with a transportation pile marked on the map by the traceability correction module;
[0054] A traceability node analysis module, comprising a plurality of traceability nodes deployed in the traceability map of the cotton to be traced to detect traceability nodes inside the traceability map;
[0055] An image recognition module, which is deployed on the cotton to be traced and is used to detect an input image of the cotton to be traced;
[0056] A traceability evaluation module, which is respectively connected to the traceability correction module, the traceability node analysis module, and the image recognition module, and is used to judge the state of the planting and processing steps in the traceability map according to the evaluation values obtained by analyzing each of the first traceability nodes during the warm-keeping process of the cotton to be traced, and, when the state of the planting and processing steps in the decision traceability map does not meet the conditions, decide whether to adjust the planting and processing route according to the type of the planting and processing step state in the traceability map that does not meet the conditions; the traceability evaluation module is also used to re-judge the trajectory judgment method of the cotton to be traced in the subsequent planting and processing process according to the judged type;
[0057] A cloud storage module is connected to the traceability evaluation module and is used to store various types of data and decision results received by the traceability evaluation module, wherein the received data includes the remaining grade of the cotton to be traced obtained by the grade statistics module, the traceability nodes in the traceability map obtained by the analysis of each traceability node, and the input image of the cotton to be traced obtained by the image recognition module.
[0058] See also Figure 2 As shown, it is a flowchart of the steps of the cotton supervision and traceability method based on multi-source data of the present invention, and the method includes:
[0059] Step A001: The traceability correction module uses the finished product data as the traceability end node and the stage of the cotton to be traced collected by the traceability tracking module as the traceability initial node. The traceability correction module fuzzily determines the traceability trajectory of the cotton to be traced based on the traceability initial node and the traceability end node.
[0060] Step A002: When the cotton to be traced is planted and processed, the traceability node analysis module analyzes the multiple traceability nodes deployed in the traceability map and obtains the evaluation value, which is sent to the traceability evaluation module. The traceability evaluation module decides whether the planting and processing process of the cotton to be traced meets the conditions for the planting and processing steps in the traceability map according to the collected evaluation value in the traceability map.
[0061] Step A003, when the planting and processing steps in the traceability map of the decision-making planting and processing process do not meet the conditions, the traceability evaluation module determines whether the traceability of the planting and processing process is hindered by pollution based on the input image of the cotton to be traced collected by the image recognition module, or determines the type of planting and processing steps in the planting and processing process that do not meet the conditions based on the collected evaluation value;
[0062] Step A004, when the traceability evaluation module completes the judgment of the type of planting and processing steps that do not meet the conditions of the traceability map during the planting and processing process, it synchronizes the grade-planting and processing parameter association relationship of the cotton to be traced according to the judged type to decide whether to adjust the planting and processing trajectory of the cotton to be traced according to the synchronized curve, or to correct the traceability frequency of the planting and processing process;
[0063] Step A005, after completing the synchronization of the planting and processing trajectory of the cotton to be traced or the correction of the traceability frequency of the planting and processing process, the traceability evaluation module re-collects the traceability nodes in the traceability map and repeats steps A003 to A004 when the planting and processing process still does not meet the conditions for the planting and processing steps of the cotton to be traced according to the collected traceability nodes until the planting and processing process meets the conditions for the planting and processing steps in the traceability map;
[0064] Step A006: When the cotton to be traced reaches the traceability end node, the traceability evaluation module uploads the data, decision results and corresponding instructions collected during the planting and processing of the cotton to be traced to the cloud storage platform in sequence, and completes the judgment of the planting and processing trajectory of the cotton to be traced based on the uploaded data when the cotton to be traced is planted and processed next time.
[0065] Specifically, in step A001, when the traceability correction module completes the fuzzy judgment of the planting and processing trajectory of the cotton to be traced, it receives the grade data of the cotton to be traced collected by the grade statistics module and substitutes it into the grade-planting and processing parameter association relationship to judge the total trajectory length that needs to be traced for the cotton to be traced, and when the collected total trajectory length is less than the actual planting and processing trajectory length of the cotton to be traced, it judges whether to synchronize the planting and processing trajectory according to the difference between the actual planting and processing trajectory length and the total trajectory length, wherein the traceability correction module regards the obtained difference as the trajectory difference:
[0066] If the trajectory difference is not greater than the first threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the first threshold condition weight to correct each threshold traceability node used to decide whether the planting and processing process meets the conditions for the planting and processing steps in the traceability map;
[0067] If the trajectory difference is greater than the first threshold trajectory difference and not greater than the second threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the second threshold condition weight to correct each threshold traceability node;
[0068] If the trajectory difference is greater than the second threshold trajectory difference, the traceability correction module decides that the cotton to be traced cannot be directly planted and processed. The traceability correction module collects the stage data of multiple transportation nodes whose straight-line distance to the traceability initial node is less than the threshold distance based on the total trajectory length, and synchronizes the planting and processing trajectory of the cotton to be traced based on each transportation node.
[0069] According to the actual situation of the total trajectory length that needs to be traced of the cotton to be traced and the actual planting and processing trajectory length, the planting and processing trajectory, the traceability frequency of the planting and processing process and each threshold traceability node are judged specifically; when the total trajectory length collected is less than the actual planting and processing trajectory length of the cotton to be traced, the corresponding processing method is judged specifically according to the trajectory difference. When the trajectory difference is not greater than the first threshold trajectory difference, the current level of the cotton to be traced in the current warm state is close to the traceability end node. The traceability frequency of the planting and processing process is slightly lowered to optimize the endurance planting and processing parameters. In this case, each threshold traceability node is increased to reduce the planting and processing process. After the traceability frequency of the process is increased, the traceability nodes in the traceability map will inevitably be optimized. In order to ensure timely planting and processing, the conditions for traceability nodes need to be relatively relaxed, and each threshold traceability node is slightly increased; when the trajectory difference is greater than the first threshold trajectory difference and not greater than the second threshold trajectory difference, the traceability frequency of the planting and processing process is moderately lowered, and each threshold traceability node is moderately increased; when the trajectory difference is greater than the second threshold trajectory difference, the current level cannot support the completion of planting and processing, and the planting and processing routes are synchronized, and the trajectory of the traceable cotton is judged in real time in detail, and the traceability frequency of the planting and processing process is judged, which effectively improves the utilization rate of energy and thus effectively improves the planting and processing index of logistics.
[0070] Specifically, the method in which the traceability correction module synchronizes the planting and processing trajectory of the cotton to be traced according to each transportation node includes:
[0071] According to the total trajectory length, a plurality of the transport nodes whose straight-line distances to the tracing initial node are less than a threshold distance are collected, and a corresponding number of transport nodes are screened out according to a threshold ratio, and the screened transport nodes are used as candidate transport nodes;
[0072] The candidate transport node closest to the traceability initial node is selected and used as a waypoint, and the planting and processing trajectory of the cotton to be traced is re-determined based on the traceability initial node, the waypoint and the traceability end node.
[0073] Set the threshold ratio to 0.2.
[0074] Specifically, the relationship between the grade and the planting and processing parameters is as follows:
[0075] L=G×η×I / F
[0076] Wherein, L is the total track length that needs to be traced of the cotton to be traced, G is the current grade of the cotton to be traced, η is the comprehensive finished product forming index of the cotton to be traced, I is the impurity rate of the cotton to be traced, F is the comprehensive traceability frequency of the cotton to be traced, and F=F1+F2 is set, F1 is the traceability frequency of the server in the cotton to be traced, and F2 is the traceability frequency of the planting and processing process of the cotton to be traced;
[0077] For the comprehensive finished product forming index η, it is collected by the following formula:
[0078] η=α×ηa+β×c / ηb
[0079] Among them, α is the first index weight, set α = 0.45, ηa is the index of the finished cotton product to be traced being formed into a qualified product, β is the second index weight, set β = 0.55, c is the planting and processing step index conversion constant, c = 1.45, ηb is the forming index of the finished cotton product to be traced into the seed clear in the planting and processing process.
[0080] The total trajectory length that needs to be traced for the cotton to be traced is determined by the relationship between grade and planting and processing parameters. ηb is between 1.5 and 5, so in order to shape it into a constant between 0 and 1, c is deployed. ηa is between 0.75 and 0.85. The total trajectory length that needs to be traced for the cotton to be traced is the remaining grade multiplied by the comprehensive finished product shaping index multiplied by the ratio of the impurity rate of the cotton to be traced to the comprehensive traceability frequency of the cotton to be traced; the comprehensive finished product shaping index includes the shaping index for warmth preservation of cotton fabrics and the shaping index for the planting and processing process; the total trajectory length is collected according to the actual situation of the cotton to be traced through formulaic calculation to determine the corresponding route selection in real time, and the planting and processing index is effectively improved through detailed judgment of the trajectory.
[0081] Specifically, in step A002, the traceability evaluation module sequentially collects the average values of the traceability nodes obtained by analyzing each traceability node in the corresponding time period, and draws a time-traceability node curve based on the average values collected in different time periods. The traceability evaluation module decides whether the planting process meets the conditions for the planting process steps in the traceability map based on the absolute value of the difference between the average traceability node in the starting time period and the average traceability node in the ending time period within the threshold period:
[0082] If the absolute value is not greater than the first threshold difference value deployed in the traceability evaluation module, the traceability evaluation module determines that the planting and processing process meets the conditions for the planting and processing steps in the traceability map, and continuously monitors the environment in the traceability map based on the collected evaluation value;
[0083] If the absolute value is greater than the first threshold difference and not greater than the second threshold difference deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision on whether the implantation process meets the conditions of the implantation process step in the traceability map based on the fiber reflection collected by the image recognition module within the threshold period;
[0084] If the absolute value is greater than the second threshold difference, the traceability evaluation module decides that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value.
[0085] Specifically, the process of the traceability evaluation module making a secondary decision when the planting and processing steps in the traceability map meet the conditions includes:
[0086] The traceability evaluation module collects the fiber reflection data collected by the image recognition module at multiple time periods in the threshold period, and calculates the average value of the stable quality of the cotton to be traced within the threshold period based on the collected fiber reflection values;
[0087] The traceability evaluation module makes a secondary decision on whether the planting and processing steps in the planting and processing process meet the conditions in the traceability map according to the collected average value of the stable quality of the cotton;
[0088] If the average value of the stable quality of the cotton is not greater than the threshold average value deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value.
[0089] If the average value of the stable quality of the cotton is greater than the threshold average value, the traceability evaluation module makes a second decision that the planting and processing environment of the cotton to be traced does not meet the conditions, and controls the trajectory module to re-judge the traceability trajectory of the cotton to be traced with pollution as the judgment priority.
[0090] When the difference is greater than the second threshold difference, the traceability node changes too much, and the abnormal planting and processing steps in the traceability map need to be further judged in detail. The type of abnormality and corresponding processing measures need to be taken; when the difference is greater than the first threshold difference but not greater than the second threshold difference, the specific situation of the fiber reflection value is collected. When the average value of the stable quality of cotton is greater than the threshold average value, the warmth retention speed of the cotton fabric is unstable, which hinders the planting and processing steps of the planting and processing process. By replacing the planting and processing trajectory with better pollution, the optimization of grade raw materials caused by frequent start and stop of the cotton to be traced can be avoided, thereby ensuring the stable output of the finished cotton to be traced, and enabling the planting and processing process to be stably traced. The planting and processing route is adjusted according to the actual pollution, which effectively improves the judgment index of planting and processing.
[0091] Specifically, when the traceability evaluation module determines that the planting process does not meet the conditions for the planting process steps in the traceability map, the coordinates at each time period in the time-traceability node curve are derived and the maximum value of the deviation value obtained is used as the fitting deviation value. The traceability evaluation module determines the type of the planting process that does not meet the conditions for the planting process steps in the traceability map based on the fitting deviation value, wherein:
[0092] If the fitting deviation value is greater than or equal to the threshold deviation value deployed in the traceability evaluation module, the traceability evaluation module determines that the type of the planting process that does not meet the conditions for the planting process steps in the traceability map is a leakage of the traceability map, and the traceability evaluation module determines the traceability frequency of the planting process according to the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period;
[0093] If the fitting deviation value is less than the threshold deviation value, the traceability evaluation module decides that the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map is aging of the cotton to be traced. The traceability evaluation module determines the grade raw material quantity of the cotton to be traced within the threshold period recorded by the grade statistics module, and judges the comprehensive finished product forming index according to the collected raw material grade. The traceability evaluation module re-judges the total trajectory length of the cotton to be traced based on the current grade based on the re-judged comprehensive finished product forming index, and re-judges the planting and processing trajectory of the cotton to be traced based on the collected total trajectory length.
[0094] Set the threshold deviation value to 0.7.
[0095] The critical value is collected. When the fitting deviation value is greater than or equal to the threshold deviation value, the traceability node changes significantly. In this case, the traceability frequency of the planting and processing process is increased first to find the maintenance point or transportation as soon as possible; when the fitting deviation value is less than the threshold deviation value, the traceability node increases smoothly. In this case, the type of planting and processing steps that do not meet the conditions is the aging of the cotton to be traced. The traceability evaluation module re-judges the total planting and processing parameters; the total trajectory length is judged in a directional manner according to the actual situation of the cotton to be traced, which effectively improves the judgment index of planting and processing.
[0096] Specifically, the traceability evaluation module uses the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period as the reference traceability node, and the traceability evaluation module corrects the traceability frequency F2 of the planting process to the corresponding value according to the reference traceability node E. The traceability evaluation module is provided with a first threshold reference traceability node E1, a second threshold reference traceability node E2, a first threshold planting process step weight Y1, a second threshold planting process step weight Y2 and a third threshold planting process step weight Y3, wherein E1<E2, 1.1<Y1<Y1<Y1<1.3;
[0097] If E≤E1, the traceability evaluation module uses the first threshold planting process step weight Y1 to correct the traceability frequency F2 of the planting process to the corresponding value;
[0098] If E1<E≤E2, the traceability evaluation module uses the second threshold planting process step weight Y2 to correct the traceability frequency F2 of the planting process to a corresponding value;
[0099] If E>E2, the traceability evaluation module uses the third threshold planting process step weight Y3 to correct the traceability frequency F2 of the planting process to the corresponding value;
[0100] Under the condition that the trajectory difference is not greater than the first threshold trajectory difference, the traceability evaluation module uses the first threshold planting process step weight Y1 to correct the traceability frequency F2 of the planting process to the corresponding value;
[0101] Under the condition that the trajectory difference is greater than the first threshold trajectory difference and not greater than the second threshold trajectory difference, the traceability evaluation module uses the second threshold planting process step weight Y2 to correct the traceability frequency F2 of the planting process to the corresponding value;
[0102] The traceability evaluation module uses the traceability frequency of the planting and processing process corrected by Ye as F2', where e = 1, 2, 3, and sets F2' = F2 × Ye;
[0103] Specifically, the traceability evaluation module corrects the comprehensive finished product forming index η to a corresponding value according to the grade raw material quantity N of the cotton to be traced within the threshold period recorded by the grade statistics module. The traceability evaluation module is provided with a first threshold raw material quantity N1, a second threshold raw material quantity N2, a first threshold forming weight Q1, a second threshold forming weight Q2 and a third threshold forming weight Q3, wherein N1<N2, 0.95>Q1>Q2>Q3>0.7;
[0104] If N≤N1, the traceability evaluation module uses the first threshold molding weight Q1 to correct the comprehensive finished product molding index η to the corresponding value;
[0105] If N1<N≤N2, the traceability evaluation module uses the second threshold forming weight Q2 to correct the comprehensive finished product forming index η to the corresponding value;
[0106] If N>N2, the traceability evaluation module uses the third threshold forming weight Q3 to correct the comprehensive finished product forming index η to the corresponding value;
[0107] The traceability evaluation module uses the comprehensive finished product forming index corrected by Qu as η', where u = 1, 2, 3, and sets η' = η × Qu;
[0108] The traceability evaluation module re-collects the total track length of the cotton to be traced according to the corrected comprehensive finished product forming index η' after completing the correction of the comprehensive finished product forming index η, and repeats step A001.
[0109] Specifically, when the traceability evaluation module completes the correction of the traceability frequency F2 for the planting and processing process, the threshold ratio N is corrected to the corresponding value according to the grade raw material quantity N of the cotton to be traced within the threshold period recorded by the collected grade statistics module. The traceability evaluation module is provided with a third threshold raw material quantity N3, a fourth threshold raw material quantity N4, a first threshold ratio weight K1 and a second threshold ratio weight K2, wherein N3<N1<N2<N4, 1<K1<K2<1.29;
[0110] If N≤N3, the traceability evaluation module continues to use the current threshold ratio N as the screening condition for candidate transportation nodes;
[0111] If N3<N≤N4, the traceability evaluation module uses the first threshold ratio weight K1 to correct the threshold ratio N to the corresponding value;
[0112] If N>N4, the traceability evaluation module uses the second threshold ratio weight K2 to correct the threshold ratio N to the corresponding value;
[0113] The traceability evaluation module uses the threshold ratio corrected by Kq as N', where q = 1, 2, 3, and sets N' = N × Kq.
[0114] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0115] According to another embodiment of the present invention, the present invention seeks protection for a cotton supervision and traceability device based on multi-source data, comprising:
[0116] one or more processors;
[0117] A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the cotton supervision and traceability method based on multi-source data.
[0118] Example:
[0119] The traceability correction module fuzzily judges the traceability trajectory of the cotton to be traced based on the traceability initial node and the traceability end node, and judges that the straight-line distance between the traceability initial node and the traceability end node is 25m (the distance between adjacent nodes is normalized to 1m). The traceability correction module judges that the actual planting and processing trajectory length of the cotton to be traced is 13m based on the traceability initial node and the judged traceability end node;
[0120] The grade data of the cotton to be traced collected by the grade statistics module received by the traceability correction module is 5 (50% excellent, 50% good), the impurity rate of the cotton to be traced is 25%, the traceability frequency of the server in the cotton to be traced is 2 (h / time), the traceability frequency of the planting and processing process in the cotton to be traced is 0.5 (h / time), and the comprehensive finished product forming index of the cotton to be traced is 7. Substituting the above parameters into the grade-planting and processing parameter association relationship, the total trajectory length of the cotton to be traced that needs to be traced is 3.5m, and the total trajectory length is less than the actual planting and processing trajectory length of 13m. Select a candidate transport node, select the candidate transport node closest to the traceability initial node, and use it as a waypoint, and re-judge the planting and processing trajectory of the cotton to be traced based on the traceability initial node, the waypoint and the traceability end node.
[0121] According to the threshold ratio of 0.2, the nearest transport nodes are selected as candidate transport nodes. After rounding up, 4 transport nodes are selected as candidate transport nodes. The candidate transport node closest to the traceability initial node is selected and used as the waypoint. The planting and processing trajectory of the cotton to be traced is re-determined based on the traceability initial node, the waypoint and the traceability end node.
[0122] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0123] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
[0124] The specific implementation methods of the invention are described in detail above, but they are only examples, and the present application is not limited to the specific implementation methods described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application, and therefore, the equalization, modification, and improvement made without departing from the spirit and principle of the present application should be included in the scope of the present application.
Claims
1. A cotton supervision and traceability method based on multi-source data, characterized in that: include: Step A001: The traceability correction module uses the finished product data as the traceability end node and the stage of the cotton to be traced collected by the traceability tracking module as the traceability initial node. The traceability correction module fuzzily determines the traceability trajectory of the cotton to be traced based on the traceability initial node and the traceability end node. Step A002: during the planting and processing of the cotton to be traced, the traceability node analysis module analyzes the multiple traceability nodes deployed in the traceability map and obtains the evaluation value, which is sent to the traceability evaluation module. The traceability evaluation module decides whether the planting and processing process of the cotton to be traced meets the conditions for the planting and processing steps in the traceability map according to the collected evaluation value in the traceability map. Step A003, when the planting and processing step in the traceability map is determined not to meet the condition, the traceability evaluation module determines whether the traceability of the planting and processing process is hindered by pollution based on the input image of the cotton to be traced collected by the image recognition module, or determines the type of the planting and processing step in the planting and processing process that does not meet the condition based on the collected evaluation value; Step A004, when the traceability evaluation module completes the judgment of the type of the planting and processing process that does not meet the conditions of the planting and processing steps of the traceability map, it synchronizes the grade-planting and processing parameter association relationship of the cotton to be traced according to the judged type to decide whether to adjust the planting and processing trajectory of the cotton to be traced according to the synchronized curve, or to correct the traceability frequency of the planting and processing process; Step A005, after completing the synchronization of the planting and processing trajectory of the cotton to be traced or the correction of the traceability frequency of the planting and processing process, the traceability evaluation module re-collects the traceability nodes in the traceability map and repeats steps A003 to A004 when the planting and processing process for the cotton to be traced still does not meet the conditions according to the collected traceability nodes until the planting and processing process meets the conditions for the planting and processing steps in the traceability map; Step A006, when the cotton to be traced reaches the traceability end node, the traceability evaluation module uploads the data, decision results and corresponding instructions collected during the planting and processing of the cotton to be traced to the cloud storage platform in sequence, and completes the judgment of the planting and processing trajectory of the cotton to be traced based on the uploaded data when the cotton to be traced is planted and processed next time.
2. The cotton supervision and traceability method based on multi-source data according to claim 1, characterized in that: In the step A001, when the traceability correction module completes the fuzzy judgment of the planting and processing trajectory of the cotton to be traced, it receives the grade data of the cotton to be traced collected by the grade statistics module and substitutes it into the grade-planting and processing parameter association relationship to judge the total trajectory length that needs to be traced for the cotton to be traced, and when the collected total trajectory length is less than the actual planting and processing trajectory length of the cotton to be traced, it judges whether to synchronize the planting and processing trajectory according to the difference between the actual planting and processing trajectory length and the total trajectory length, wherein the traceability correction module regards the obtained difference as the trajectory difference: If the trajectory difference is not greater than the first threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the first threshold condition weight to correct each threshold traceability node used to decide whether the planting and processing process meets the conditions for the planting and processing steps in the traceability map; If the trajectory difference is greater than the first threshold trajectory difference and not greater than the second threshold trajectory difference deployed in the traceability correction module, the traceability correction module decides to optimize the sustainable planting and processing parameters of the cotton to be traced by reducing the traceability frequency of the planting and processing process, and the traceability correction module uses the second threshold condition weight to correct each threshold traceability node; If the trajectory difference is greater than the second threshold trajectory difference, the traceability correction module decides that the cotton to be traced cannot be directly planted and processed. The traceability correction module collects the stage data of multiple transportation nodes whose straight-line distance to the traceability initial node is less than the threshold distance based on the total trajectory length, and synchronizes the planting and processing trajectory of the cotton to be traced based on each transportation node.
3. The cotton supervision and traceability method based on multi-source data according to claim 2, characterized in that: The method for the traceability correction module to synchronize the planting and processing trajectory of the cotton to be traced according to each transportation node includes: According to the total trajectory length, a plurality of the transport nodes whose straight-line distances to the tracing initial node are less than a threshold distance are collected, and a corresponding number of transport nodes are screened out according to a threshold ratio, and the screened transport nodes are used as candidate transport nodes; The candidate transport node closest to the traceability initial node is selected and used as a waypoint, and the planting and processing trajectory of the cotton to be traced is re-determined based on the traceability initial node, the waypoint and the traceability end node.
4. The cotton supervision and traceability method based on multi-source data according to claim 3 is characterized in that: The relationship between the grade and the planting and processing parameters is as follows: L=G×η×I / F Wherein, L is the total track length that needs to be traced for the cotton to be traced, G is the current grade of the cotton to be traced, η is the comprehensive finished product forming index of the cotton to be traced, including the index of forming as a cotton fabric for warmth preservation and the index of forming as a planting and processing process, I is the impurity rate of the cotton to be traced, F is the comprehensive traceability frequency of the cotton to be traced, and F=F1+F2 is set, F1 is the traceability frequency of the server in the cotton to be traced, and F2 is the traceability frequency of the planting and processing process in the cotton to be traced; For the comprehensive finished product forming index η, it is collected by the following formula: η=α×ηa+β×c / ηb Among them, α is the first index weight, set α = 0.45, ηa is the index of the finished cotton product to be traced being formed into a qualified product, β is the second index weight, set β = 0.55, c is the planting and processing step index conversion constant, c = 1.45, ηb is the forming index of the finished cotton product to be traced into the seed clear in the planting and processing process.
5. The cotton supervision and traceability method based on multi-source data according to claim 4, characterized in that: In step A002, the traceability evaluation module sequentially collects the average values of the traceability nodes obtained by analyzing each traceability node in the corresponding time period, and draws a time-traceability node curve based on the average values collected in different time periods. The traceability evaluation module decides whether the planting process meets the conditions for the planting process steps in the traceability map based on the absolute value of the difference between the average traceability node in the starting time period and the average traceability node in the ending time period within the threshold period: If the difference is not greater than the first threshold difference deployed in the traceability evaluation module, the traceability evaluation module determines that the planting and processing process meets the conditions for the planting and processing steps in the traceability map, and continuously monitors the environment in the traceability map based on the collected evaluation value; If the difference is greater than the first threshold difference and not greater than the second threshold difference deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision on whether the implantation process meets the conditions of the implantation process step in the traceability map based on the fiber reflection collected by the image recognition module within the threshold period; If the difference is greater than the second threshold difference, the traceability evaluation module decides that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value.
6. The cotton supervision and traceability method based on multi-source data according to claim 5, characterized in that: The process of the traceability evaluation module making a secondary decision when the planting and processing steps in the traceability map meet the conditions includes: The traceability evaluation module collects the fiber reflection data collected by the image recognition module at multiple time periods in the threshold period, and calculates the average value of the stable quality of the cotton to be traced within the threshold period based on the collected fiber reflection values; The traceability evaluation module makes a secondary decision on whether the planting and processing steps in the planting and processing process meet the conditions in the traceability map according to the collected average value of the stable quality of the cotton; If the average value of the stable quality of the cotton is not greater than the threshold average value deployed in the traceability evaluation module, the traceability evaluation module makes a secondary decision that the planting and processing process does not meet the conditions for the planting and processing steps in the traceability map, and determines the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map based on the collected evaluation value. If the average value of the stable quality of the cotton is greater than the threshold average value, the traceability evaluation module makes a second decision that the planting and processing environment of the cotton to be traced does not meet the conditions, and controls the trajectory module to re-judge the traceability trajectory of the cotton to be traced with pollution as the judgment priority.
7. The cotton supervision and traceability method based on multi-source data according to claim 6, characterized in that: When the traceability evaluation module determines that the planting process does not meet the conditions for the planting process steps in the traceability map, the coordinates at each time period in the time-traceability node curve are derived and the maximum value of the deviation value obtained is used as the fitting deviation value. The traceability evaluation module determines the type of planting process that does not meet the conditions for the planting process steps in the traceability map based on the fitting deviation value, wherein: If the fitting deviation value is greater than or equal to the threshold deviation value deployed in the traceability evaluation module, the traceability evaluation module determines that the type of the planting process that does not meet the conditions for the planting process steps in the traceability map is a leakage of the traceability map, and the traceability evaluation module determines the traceability frequency of the planting process according to the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period; If the fitting deviation value is less than the threshold deviation value, the traceability evaluation module decides that the type of the planting and processing process that does not meet the conditions for the planting and processing steps in the traceability map is aging of the cotton to be traced. The traceability evaluation module determines the grade raw material quantity of the cotton to be traced within the threshold period recorded by the grade statistics module, and judges the comprehensive finished product forming index according to the collected raw material grade. The traceability evaluation module re-judges the total trajectory length of the cotton to be traced based on the current grade based on the re-judged comprehensive finished product forming index, and re-judges the planting and processing trajectory of the cotton to be traced based on the collected total trajectory length.
8. The cotton supervision and traceability method based on multi-source data according to claim 7, characterized in that: The traceability evaluation module takes the maximum value of the average traceability node obtained by analyzing the traceability node within the threshold period as the reference traceability node. The traceability evaluation module is equipped with multiple correction methods for the traceability frequency of the planting and processing process based on the reference traceability node, and the correction amplitude of the traceability frequency of the planting and processing process for each correction method is different.
9. The cotton supervision and traceability method based on multi-source data according to claim 8, characterized in that: The traceability evaluation module is provided with a plurality of correction methods for the comprehensive finished product forming index according to the grade raw material quantity of the cotton to be traced within the threshold period recorded by the grade statistics module, and the correction range of each correction method for the comprehensive finished product forming index is different; The traceability evaluation module re-collects the total track length of the cotton to be traced according to the revised comprehensive finished product forming index after the correction of the comprehensive finished product forming index is completed, and repeats step A001; When the traceability evaluation module completes the correction of the traceability frequency F2 for the planting and processing process, a plurality of correction methods for the threshold ratio are provided according to the grade raw material quantity of the cotton to be traced within the threshold period recorded by the collected grade statistics module, and the correction amplitude of each correction method for the threshold ratio is different.
10. A cotton supervision and traceability device based on multi-source data, characterized in that: include: one or more processors; A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a cotton supervision and traceability method based on multi-source data according to any one of claims 1 to 9.
Citation Information
Patent Citations
A novel intelligent greenhouse system based on traceability technology
CN109003092A
Cotton quality tracing system
CN112862506A
Product quality analyzing and tracing system based on industry 4.0
CN113537834A
Agricultural product traceability system based on multi-source data
CN117035810A