Boar semen traceability management system and method
By calculating the semen initial abnormality index and the boar physical abnormality index, the matching analysis of semen and boars is performed, which solves the problem that the semen traceability system in the existing technology cannot effectively match, and improves the accuracy and speed of traceability.
Patent Information
- Application Number
- CN202411083040.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The existing boar semen traceability management system cannot perform abnormal analysis on the semen starting situation and the boar's body constitution information at the time of semen collection, resulting in slow accuracy and slow semen traceability and inability to effectively match the semen with the boar's constitution.
By acquiring semen image data and storage environment data, the semen initial abnormality index is calculated, and combined with the boar's body constitution information, the matching analysis between semen and boars is performed, and the abnormality index and body mass index are used to conduct information correspondence analysis between semen and boars. .
It improves the accuracy and speed of semen traceability, can quickly and accurately find the source of semen, and ensures matching analysis of semen and boar physique.
Smart Images

Figure CN118626878B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of data analysis, and specifically relates to a boar semen traceability management system and method. Background Art
[0002] Boar semen traceability management refers to the process of comprehensively tracking and recording the production, storage, transportation and use of boar semen. By implementing semen traceability management, the quality and safety of semen can be ensured, reproductive efficiency can be improved, and questions related to sperm quality can be answered. When sperm quality problems occur, the source of the problem can be traced through traceability records and corresponding improvement measures can be taken. In addition, semen traceability management also helps to establish reliable breeding records and provide data support for genetic improvement and health management of pig farms;
[0003] In the process of boar semen traceability management, boar semen is usually stored for a period of time. During this period, one or more semen records may be lost. In this case, it is necessary to re-match the semen with the boar to trace the boar semen. The existing technology cannot perform abnormal analysis on the initial situation of the semen and the physical constitution information of all boars when the semen is collected, resulting in the inability to accurately match and analyze the semen situation and the boar's constitution, which leads to the low accuracy and speed of semen traceability. Most of the existing technologies have the above problems;
[0004] For example, a boar semen traceability management system and method is disclosed in a Chinese patent application with application publication number CN116228261A. The boar semen traceability management system includes a boar semen production information collection module, a boar semen traceability information generation module and an information storage module. The boar semen production information collection module is used to collect boar semen production information based on a first information carrier, the boar semen traceability information generation module is used to generate boar semen traceability information, and the information storage module is used to receive and store information. By fully recording all pigs and people involved in each link of boar semen production, all links of semen production can be fully traced; the information storage module can adopt a cloud platform solution, and each semen bag produced has a unique traceability code. All relevant information in the semen production process can be easily obtained by directly scanning the QR code through a mobile browser or WeChat;
[0005] The above patents all have the problems raised by this background technology. In order to solve the problems raised by this background technology, this application designs a boar semen traceability management system and method. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention proposes a boar semen traceability management system and method.
[0007] To achieve the above object, the present invention provides the following technical solution: a boar semen traceability management method, which comprises the following specific steps:
[0008] Obtain the semen image data that needs to be checked, and at the same time obtain the physical constitution information of all boars at the time of semen collection;
[0009] Importing the semen image data and storage environment data that need to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index;
[0010] Importing the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index;
[0011] The semen initial abnormality index and physical abnormality index are introduced into the semen and physical fitness matching analysis strategy to conduct semen and boar physical fitness matching analysis;
[0012] According to the matching results of semen and boar's physique, the information correspondence analysis of semen and boar is carried out.
[0013] It should be noted that as a preferred technical solution for the boar semen traceability management method, the specific steps of obtaining the semen image data that needs to be verified and obtaining the physical constitution information of all boars at the time of semen collection are:
[0014] S11, acquiring pig semen image data to be checked through an image acquisition terminal, and acquiring the number of sperm, sperm color, and sperm shape in the pig semen image;
[0015] S12, acquiring storage environment data and storage time data during the storage process through the environment storage collection terminal;
[0016] S13, collecting the physical constitution information of all boars during semen collection through the information retrieval terminal, and storing the obtained data in the storage module;
[0017] It should be noted that, as a preferred technical solution for the boar semen traceability management method, the method of importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index includes the following specific steps:
[0018] S21, obtaining the sperm quantity, sperm color and sperm shape state in the real-time pig semen image, and importing them into the real-time sperm abnormal value calculation formula to calculate the real-time sperm abnormal value, wherein the real-time sperm abnormal value calculation formula is: , where N is the number of sperm in the collected semen per unit volume, Nm is the standard number of sperm in the collected semen per unit volume, exp() is the power of the natural constant e, xi is the average pixel value of the i-th sperm image in the collected semen image, xm is the standard pixel value of the sperm, si is the shape data of the i-th sperm image, and sm is the standard image data of the sperm. is the pixel ratio, is the union of two sperm images at the same scale, It is the intersection of two sperm images at the same scale;
[0019] S22, obtaining storage environment data and storage time data during the storage process, and importing the obtained storage environment data and storage time data during the storage process into a storage abnormality value calculation formula to calculate the storage abnormality value, wherein the storage abnormality value calculation formula is: , where T is the standard storage time, m is the type of environmental data, zjt is the specific value of the jth environmental type at time t, zjm is the median of the safety range of the jth environmental type, and cj is the proportion coefficient of the jth environmental type. is the storage time of pig semen, zjmax is the maximum value of the safety range of the jth environmental category, zjmin is the minimum value of the safety range of the jth environmental category, and dt is the time integral;
[0020] It should be noted here that, as a preferred technical solution for the boar semen traceability management method, the method of importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index also includes the following specific steps:
[0021] S23, obtaining the calculated real-time sperm abnormality value and the stored abnormality value, and substituting them into the semen initial abnormality index calculation formula to calculate the semen initial abnormality index, wherein the semen initial abnormality index calculation formula is: .
[0022] The benefits of this treatment are: avoiding the impact of environmental changes on sperm evaluation and improving the accuracy of judgment;
[0023] It should be noted that as a preferred technical solution for the boar semen traceability management method, the method of importing the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index includes the following specific steps:
[0024] Obtain the physical constitution information of all boars at the time of semen collection, substitute the physical constitution information of all boars into the physical constitution abnormality index calculation formula to calculate the physical constitution abnormality index, wherein the physical constitution abnormality index calculation formula is: , where B is the number of constitution information types, hb is the proportion coefficient of the bth constitution information type, kb is the specific value of the bth constitution information type, kbm is the median value of the safety range of the bth constitution information type, kbmax is the maximum value of the safety range of the bth constitution information type, and kbmin is the minimum value of the safety range of the bth constitution information type;
[0025] It should be noted here that as a preferred technical solution for the boar semen traceability management method, the specific content of introducing the semen initial abnormality index and the physical abnormality index into the semen and physical fitness matching analysis strategy for semen and boar physical fitness matching analysis is:
[0026] Obtain the calculated semen initial abnormality index and all boars' physical abnormality index, substitute them into the physical matching value calculation formula to calculate the physical matching value of semen and all boars, where the physical matching value calculation formula is: ;
[0027] Subtract the calculated physical fitness matching value from the set physical fitness matching threshold to obtain the matching difference, take the absolute value of the matching difference to obtain the matching absolute difference, and set the boar corresponding to the smallest matching absolute difference as the matching boar for semen. If a matching error is found after detection, the boar corresponding to the second smallest matching absolute difference will be selected as the matching boar for semen, and so on, to select the matching boar for semen.
[0028] The boar semen traceability management system is implemented based on the above-mentioned boar semen traceability management method, and specifically includes a data acquisition module, a semen abnormality analysis module, a physical constitution abnormality analysis module, a physical constitution matching analysis module, an information correspondence analysis module and a control module, wherein the data acquisition module is used to obtain semen image data that needs to be verified, and at the same time obtain the physical constitution information of all boars when semen is collected, the semen abnormality analysis module is used to import the semen image data and storage environment data that need to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index, and the physical constitution abnormality analysis module is used to analyze the semen initial abnormality index. The block is used to import the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index. The physical constitution matching analysis module is used to import the semen initial abnormality index and the physical constitution abnormality index into the semen and physical constitution matching analysis strategy to perform semen and boar physical constitution matching analysis. The information correspondence analysis module is used to perform information correspondence analysis of semen and boar according to the semen and boar physical constitution matching results. The control module is used to control the operation of the data acquisition module, the semen abnormality analysis module, the physical constitution abnormality analysis module, the physical constitution matching analysis module and the information correspondence analysis module.
[0029] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;
[0030] The processor executes the above-mentioned boar semen traceability management method by calling the computer program stored in the memory.
[0031] A computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the boar semen traceability management method as described above.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] The present invention obtains semen image data that needs to be checked, and simultaneously obtains the physical constitution information of all boars when semen is collected, imports the semen image data that needs to be checked and storage environment data into a semen abnormality analysis model to analyze the semen initial abnormality index, imports the physical constitution information of all boars when semen is collected into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index, imports the semen initial abnormality index and the physical constitution abnormality index into a semen and physical constitution matching analysis strategy to perform semen and boar physical constitution matching analysis, performs information correspondence analysis of semen and boar according to the semen and boar physical constitution matching result, performs accurate matching analysis of semen conditions and boar physical constitution, performs rapid and accurate search for the semen source, and improves the accuracy and speed of semen tracing. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a schematic diagram of the overall process of the boar semen traceability management method of the present invention;
[0035] Figure 2 This is a schematic diagram of the overall framework of the boar semen traceability management system of the present invention; DETAILED DESCRIPTION
[0036] 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. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present application and its application or use.
[0037] Example 1
[0038] In order to solve the technical problems raised in the background technology, the present invention provides a preferred embodiment: Figure 1 As shown, the boar semen traceability management method includes the following specific steps:
[0039] S1. Obtain the semen image data that needs to be checked, and at the same time obtain the physical constitution information of all boars at the time of semen collection;
[0040] In this embodiment, it should be specifically explained that the specific steps of obtaining the semen image data to be verified and simultaneously obtaining the physical constitution information of all boars during semen collection are:
[0041] S11, acquiring pig semen image data to be checked through an image acquisition terminal, and acquiring the number of sperm, sperm color, and sperm shape in the pig semen image;
[0042] S12, acquiring storage environment data and storage time data during the storage process through the environment storage collection terminal;
[0043] S13, collecting the physical constitution information of all boars during semen collection through the information retrieval terminal, and storing the obtained data in the storage module;
[0044] The boar's physical characteristics related to sperm quality mainly include the following:
[0045] 1. Weight and body mass index (BMI): Weight and BMI are important indicators of pig physique. Studies have found that being overweight or underweight may affect the quality of boar sperm.
[0046] 2. Growth rate: Growth rate reflects the pig's physical condition and health. Slow growth rate may indicate that the pig's reproductive system is underdeveloped, thus affecting sperm quality.
[0047] 3. Feed intake: Feed intake is closely related to the nutritional status of pigs. Nutritional deficiency or excess may affect the quality and quantity of semen.
[0048] 4. Health issues: The health of the pig, including the presence of infectious diseases or parasites, may affect the quality of its sperm.
[0049] By collecting and analyzing these boar physical data, we can better understand the reproductive capacity of boars, identify potential problems, and take appropriate measures to improve sperm quality. In practical applications, veterinarians may recommend a comprehensive health examination of boars, including the determination of the above indicators, to assess their sperm quality and develop appropriate management plans;
[0050] S2, importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index;
[0051] In this embodiment, it should be specifically explained that the process of importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index includes the following specific steps:
[0052] S21, obtaining the sperm quantity, sperm color and sperm shape state in the real-time pig semen image, and importing them into the real-time sperm abnormal value calculation formula to calculate the real-time sperm abnormal value, wherein the real-time sperm abnormal value calculation formula is: , where N is the number of sperm in the collected semen per unit volume, Nm is the standard number of sperm in the collected semen per unit volume, exp() is the power of the natural constant e, xi is the average pixel value of the i-th sperm image in the collected semen image, xm is the standard pixel value of the sperm, si is the shape data of the i-th sperm image, and sm is the standard image data of the sperm. is the pixel ratio, is the union of two sperm images at the same scale, It is the intersection of two sperm images at the same scale;
[0053] S22, obtaining storage environment data and storage time data during the storage process, and importing the obtained storage environment data and storage time data during the storage process into a storage abnormality value calculation formula to calculate the storage abnormality value, wherein the storage abnormality value calculation formula is: Where T is the standard storage time, m is the type of environmental data, zjt is the specific value of the jth environmental type at time t, zjm is the median of the safety range of the jth environmental type, and cj is the proportion coefficient of the jth environmental type. is the storage time of pig semen, zjmax is the maximum value of the safety range of the jth environmental category, zjmin is the minimum value of the safety range of the jth environmental category, and dt is the time integral;
[0054] S23, obtaining the calculated real-time sperm abnormality value and the stored abnormality value, and substituting them into the semen initial abnormality index calculation formula to calculate the semen initial abnormality index, wherein the semen initial abnormality index calculation formula is: .
[0055] S3, importing the physical constitution information of all boars during semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index;
[0056] In this embodiment, it should be specifically explained that the physical constitution information of all boars during semen collection is imported into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index, which includes the following specific steps:
[0057] Obtain the physical constitution information of all boars at the time of semen collection, substitute the physical constitution information of all boars into the physical constitution abnormality index calculation formula to calculate the physical constitution abnormality index, wherein the physical constitution abnormality index calculation formula is: , where B is the number of constitution information types, hb is the proportion coefficient of the bth constitution information type, kb is the specific value of the bth constitution information type, kbm is the median value of the safety range of the bth constitution information type, kbmax is the maximum value of the safety range of the bth constitution information type, and kbmin is the minimum value of the safety range of the bth constitution information type;
[0058] S4, introducing the semen initial abnormality index and the physical abnormality index into the semen and physical fitness matching analysis strategy to perform semen and boar physical fitness matching analysis;
[0059] In this embodiment, it should be specifically explained that the specific contents of introducing the semen initial abnormality index and the physical abnormality index into the semen and physical matching analysis strategy for the semen and boar physical matching analysis are as follows:
[0060] Obtain the calculated semen initial abnormality index and all boars' physical abnormality index, substitute them into the physical matching value calculation formula to calculate the physical matching value of semen and all boars, where the physical matching value calculation formula is: ;
[0061] Subtract the calculated physical fitness matching value from the set physical fitness matching threshold to obtain the matching difference, take the absolute value of the matching difference to obtain the matching absolute difference, and set the boar corresponding to the smallest matching absolute difference as the matching boar for semen. If a matching error is found after detection, the boar corresponding to the second smallest matching absolute difference is selected as the matching boar for semen, and so on, to select the matching boar for semen;
[0062] S5. Perform information correspondence analysis on semen and boar based on the matching results of semen and boar physique.
[0063] It should be noted that in this embodiment, the proportion coefficient of the bth physical information type, the pixel proportion coefficient, the proportion coefficient of the jth environmental type and the physical matching threshold are determined in the following manner: at least 5000 groups of verified semen image data and the physical constitution information of all boars at the time of semen collection are obtained, and at the same time, the traceability judgment results of semen and boars are obtained; the verified semen image data and the physical constitution information of all boars at the time of semen collection are substituted into the physical matching value calculation formula to calculate the physical matching value of semen and all boars; the calculated physical matching value of semen and all boars and the traceability judgment results of semen and boars are substituted into the fitting software, and the proportion coefficient of the bth physical information type, the pixel proportion coefficient, the proportion coefficient of the jth environmental type and the physical matching threshold that meet the highest judgment accuracy are output.
[0064] It should be noted that in this embodiment, the advantages of this embodiment over the prior art are: obtaining semen image data that needs to be verified, and at the same time obtaining the physical constitution information of all boars at the time of semen collection, importing the semen image data that needs to be verified and the storage environment data into the semen abnormality analysis model to analyze the semen initial abnormality index, importing the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index, importing the semen initial abnormality index and the physical constitution abnormality index into the semen and constitution matching analysis strategy to perform semen and boar constitution matching analysis, performing semen and boar information correspondence analysis based on the semen and boar constitution matching results, performing accurate matching analysis on semen conditions and boar constitution, and quickly and accurately finding the source of semen, thereby improving the accuracy and speed of semen tracing.
[0065] Example 2
[0066] like Figure 2 As shown, a boar semen traceability management system is implemented based on the above-mentioned boar semen traceability management method, which specifically includes a data acquisition module, a semen abnormality analysis module, a physical constitution abnormality analysis module, a physical constitution matching analysis module, an information correspondence analysis module and a control module, wherein the data acquisition module is used to obtain semen image data that needs to be verified, and at the same time obtain the physical constitution information of all boars when semen is collected; the semen abnormality analysis module is used to import the semen image data and storage environment data that need to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index, the physical constitution abnormality analysis module, and the information corresponding analysis module. The analysis module is used to import the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index; the physical constitution matching analysis module is used to import the semen initial abnormality index and the physical constitution abnormality index into the semen and physical constitution matching analysis strategy to perform semen and boar physical constitution matching analysis; the information correspondence analysis module is used to perform information correspondence analysis of semen and boar according to the semen and boar physical constitution matching results; the control module is used to control the operation of the data acquisition module, the semen abnormality analysis module, the physical constitution abnormality analysis module, the physical constitution matching analysis module and the information correspondence analysis module.
[0067] Example 3
[0068] This embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;
[0069] The processor executes the above-mentioned boar semen traceability management method by calling the computer program stored in the memory.
[0070] The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) and one or more memories, wherein the memory stores at least one computer program, which is loaded and executed by the processor to implement the boar semen traceability management method provided in the above method embodiment. The electronic device may also include other components for implementing the functions of the device. This embodiment will not be described in detail here.
[0071] Example 4
[0072] This embodiment provides a computer-readable storage medium having a rewritable computer program stored thereon;
[0073] When the computer program runs on a computer device, the computer device executes the above-mentioned boar semen traceability management method.
[0074] For example, the computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0075] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through a wired network or / and a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
Claims
1. Boar semen traceability management method, It is characterized in that It includes the following specific steps: Obtain the semen image data that needs to be checked, and at the same time obtain the physical constitution information of all boars at the time of semen collection; Importing semen image data and storage environment data that need to be verified into a semen abnormality analysis model to analyze the semen initial abnormality index; Importing the physical constitution information of all boars at the time of semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index; The semen initial abnormality index and physical abnormality index are introduced into the semen and physical fitness matching analysis strategy to conduct semen and boar physical fitness matching analysis; According to the physical matching results of semen and boar, the information correspondence analysis between semen and boar is carried out; The step of importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index comprises the following specific steps: The sperm count, sperm color and sperm shape status in the real-time pig semen image are obtained and imported into the real-time sperm abnormal value calculation formula to calculate the real-time sperm abnormal value, where the real-time sperm abnormal value calculation formula is: , where N is the number of sperm in the collected semen per unit volume, Nm is the standard number of sperm in the collected semen per unit volume, exp() is the power of the natural constant e, xi is the average pixel value of the i-th sperm image in the collected semen image, xm is the standard pixel value of the sperm, si is the shape data of the i-th sperm image, and sm is the standard image data of the sperm. is the pixel ratio, is the union of two sperm images at the same scale, It is the intersection of two sperm images at the same scale; The storage environment data and storage time data in the storage process are obtained, and the storage environment data and storage time data in the storage process are imported into the storage abnormality value calculation formula to calculate the storage abnormality value, wherein the storage abnormality value calculation formula is: , where T is the standard storage time, m is the type of environmental data, zjt is the specific value of the jth environmental type at time t, zjm is the median of the safety range of the jth environmental type, and cj is the proportion coefficient of the jth environmental type. is the storage time of pig semen, zjmax is the maximum value of the safety range of the jth environmental category, zjmin is the minimum value of the safety range of the jth environmental category, and dt is the time integral; The step of importing the semen image data and storage environment data to be verified into the semen abnormality analysis model to analyze the semen initial abnormality index also includes the following specific steps: Obtain the calculated real-time sperm abnormality value and storage abnormality value and substitute them into the semen initial abnormality index calculation formula to calculate the semen initial abnormality index, wherein the semen initial abnormality index calculation formula is: ; The method of importing the physical constitution information of all boars during semen collection into the physical constitution abnormality analysis model to analyze the physical constitution abnormality index comprises the following specific steps: Obtain the physical constitution information of all boars at the time of semen collection, substitute the physical constitution information of all boars into the physical constitution abnormality index calculation formula to calculate the physical constitution abnormality index, wherein the physical constitution abnormality index calculation formula is: , where B is the number of constitution information types, hb is the proportion coefficient of the bth constitution information type, kb is the specific value of the bth constitution information type, kbm is the median value of the safety range of the bth constitution information type, kbmax is the maximum value of the safety range of the bth constitution information type, and kbmin is the minimum value of the safety range of the bth constitution information type; The specific contents of introducing the semen initial abnormal index and the physical abnormal index into the semen and physical matching analysis strategy to carry out the semen and boar physical matching analysis are as follows: Obtain the calculated semen initial abnormality index and all boars' physical abnormality index, substitute them into the physical matching value calculation formula to calculate the physical matching value of semen and all boars, where the physical matching value calculation formula is: ; Subtract the calculated physical fitness matching value from the set physical fitness matching threshold to obtain the matching difference, take the absolute value of the matching difference to obtain the matching absolute difference, and set the boar corresponding to the smallest matching absolute difference as the matching boar for semen. If a matching error is found after detection, the boar corresponding to the second smallest matching absolute difference will be selected as the matching boar for semen, and so on, to select the matching boar for semen.
2. The boar semen traceability management method according to claim 1, It is characterized in that The specific steps of obtaining the semen image data to be verified and simultaneously obtaining the physical constitution information of all boars during semen collection are: The pig semen image data to be checked is obtained through the image acquisition terminal, and the sperm quantity, sperm color and sperm shape state in the pig semen image are obtained; Acquire storage environment data and storage time data during the storage process through the environment storage collection terminal; The physical constitution information of all boars during semen extraction is collected through the information retrieval terminal, and the acquired data is stored in the storage module.
3. A boar semen traceability management system, which is implemented based on the boar semen traceability management method according to any one of claims 1-2, It is characterized in that It specifically includes a data acquisition module, a semen abnormality analysis module, a body constitution abnormality analysis module, a constitution matching analysis module, an information correspondence analysis module and a control module, wherein the data acquisition module is used to acquire semen image data that needs to be verified, and at the same time acquire the body constitution information of all boars when semen is collected; the semen abnormality analysis module is used to import the semen image data that needs to be verified and the storage environment data into the semen abnormality analysis model to analyze the semen initial abnormality index; the body constitution abnormality analysis module is used to import the body constitution information of all boars when semen is collected into the body constitution abnormality analysis model to analyze the constitution abnormality index; the constitution matching analysis module is used to import the semen initial abnormality index and the constitution abnormality index into the semen and constitution matching analysis strategy to perform semen and boar constitution matching analysis; the information correspondence analysis module is used to perform information correspondence analysis of semen and boar according to the semen and boar constitution matching result; and the control module is used to control the operation of the data acquisition module, the semen abnormality analysis module, the body constitution abnormality analysis module, the constitution matching analysis module and the information correspondence analysis module.
