Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention provide a method and a system for testing chick embryos, and a storage medium.
According to an aspect of an embodiment of the present invention, there is provided a method for testing chick embryos, the method including:
respectively allocating ID and test serial numbers to the chick embryos;
creating a test mapping table according to the ID and the test sequence number;
creating a test task information table in a database according to the test mapping table, wherein the test task information table stores chick embryo test tasks;
adjusting the test task information table according to the chick embryo test task and preset reference parameters to obtain a target test task information table;
and testing the chick embryo according to the target test task information table.
The embodiment of the invention provides that: the method comprises the steps of creating a test mapping table according to an allocated ID and a test serial number, creating a test task information table in a database according to the test mapping table, adjusting the test task information table according to chick embryo test tasks and reference parameters to obtain a target test task information table, so that the chick embryos are tested according to the target test task information table, on one hand, the technical defect that the flexibility of the test is low due to the fact that the set time and sequence cannot be changed in the prior art is avoided, and the flexibility of the test is improved; on the other hand, the cost is reduced, and the testing efficiency is improved.
Further, the adjusting the test task information table according to the chick embryo test task and a preset reference parameter to obtain the target test task information table specifically includes:
extracting test parameters in the chick embryo test task;
comparing the test parameter with the reference parameter, and when the test parameter is greater than the reference parameter, marking the test parameter as an adjustment item;
and adjusting the test task information table according to the adjustment item to obtain the target test task information table.
According to the technical scheme, the test parameters are compared with the basic parameters to determine the adjustment items, the test task information table is adjusted according to the adjustment items to obtain the target test task information table, the technical effect of adjusting the test task information table according to requirements is achieved, and therefore high efficiency and accuracy of testing are further achieved.
Further, when the method further comprises: calculating the difference between the test parameter corresponding to the adjustment item and the reference parameter, and when a parameter difference value is obtained, adjusting the test task information table according to the adjustment item to obtain the target test task information table, specifically including:
arranging the adjustment items according to the sequence of the parameter difference values from small to large to obtain an adjustment item list;
and adjusting the chick embryo test task in the test task information table according to the adjustment item list to obtain the target test task information table.
The embodiment provides that: the technical scheme includes that parameter difference values are obtained through calculation, adjustment items are arranged according to the parameter difference values to obtain an adjustment item list, chick embryo test tasks are adjusted according to the adjustment item list to obtain a target test task information table, the technical effect of obtaining the target test task information table fast and efficiently is achieved, and therefore high efficiency and accuracy of testing are further achieved.
Further, the testing the chick embryo according to the target testing task information table specifically includes:
distributing environment parameter information to the chick embryo test task according to the target test task information table;
testing the chick embryo according to the environmental parameter information;
wherein the environmental parameter information includes: potassium permanganate parameters, formalin parameters, temperature parameters and humidity parameters, wherein the potassium permanganate corresponding to each cubic meter of space is 12g-15g, the formalin used for each cubic meter of space is 28ml-30ml, the temperature is 38 ℃ to 40 ℃, and the humidity is 75% to 90%.
The embodiment provides that: according to the technical scheme, the environment parameter information is distributed to the chick embryo test task according to the target test task information table, so that the chick embryos are tested according to the environment parameter information, the influence of environment factors on test results is fully considered, and the test reliability is further realized.
Wherein the reference parameters include: reagent dispensing parameters, incubation parameters, and washing parameters.
According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium including instructions which, when executed on a computer, cause the computer to perform the method as described above.
According to another aspect of the embodiments of the present invention, there is provided a system for testing chick embryos, the system including: an allocation module, a creation module, an adjustment module, and a test module, wherein,
the allocation module is configured to: respectively allocating ID and test serial numbers to the chick embryos;
the creation module is to: creating a test mapping table according to the ID and the test sequence number, and creating a test task information table in a database according to the test mapping table, wherein the test task information table stores chick embryo test tasks;
the adjustment module is configured to: adjusting the test task information table according to the chick embryo test task and preset reference parameters to obtain a target test task information table;
the test module is used for: and testing the chick embryo according to the target test task information table.
On the one hand, the system comprising the distribution module, the creation module, the adjustment module and the test module, provided by the embodiment of the invention, avoids the technical defect of low test flexibility caused by incapability of changing set time and sequence in the prior art, and realizes improvement of test flexibility; on the other hand, the cost is reduced, and the testing efficiency is improved.
Further, the adjusting module is specifically configured to:
extracting test parameters in the chick embryo test task;
comparing the test parameter with the reference parameter, and when the test parameter is greater than the reference parameter, marking the test parameter as an adjustment item;
and adjusting the test task information table according to the adjustment item to obtain the target test task information table.
The embodiment provides that: the test parameters are extracted by the adjusting module, the extracted test parameters are compared with the reference parameters, and when the test parameters are larger than the reference parameters, the test parameters are marked as adjusting items, so that the technical scheme of adjusting the test task information table according to the adjusting items is realized, the technical effect of adjusting the test task information table according to requirements is realized, and the high efficiency and the precision of the test are further realized.
Further, the system further comprises: a calculation module that, wherein,
the calculation module is configured to: calculating the difference between the test parameter corresponding to the adjustment item and the reference parameter to obtain a parameter difference value;
the adjustment module is specifically configured to: and arranging the adjustment items according to the sequence of the parameter difference values from small to large to obtain an adjustment item list, and adjusting the chick embryo test task in the test task information table according to the adjustment item list to obtain the target test task information table.
The embodiment provides that: the parameter difference value is obtained by the calculation module, the adjustment items are arranged by the adjustment module according to the parameter difference value to obtain an adjustment item list, so that the technical scheme of adjusting the chick embryo test task according to the adjustment item list is realized, the technical effect of quickly and efficiently obtaining the target test task information table is realized, and the high efficiency and the accuracy of the test are further realized.
Further, the test module is specifically configured to:
distributing environment parameter information to the chick embryo test task according to the target test task information table;
testing the chick embryo according to the environmental parameter information;
wherein the environmental parameter information includes: potassium permanganate parameters, formalin parameters, temperature parameters and humidity parameters, wherein the potassium permanganate corresponding to each cubic meter of space is 12g-15g, the formalin used for each cubic meter of space is 28ml-30ml, the temperature is 38 ℃ to 40 ℃, and the humidity is 75% to 90%.
According to the technical scheme provided by the embodiment that the test module respectively tests the environmental parameter information according to the target test task information table and tests the chick embryo according to the environmental parameter information, the influence of environmental factors on the test result is fully considered, and the test reliability is further realized.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The embodiment of the invention provides a method and a system for testing chick embryos and a storage medium.
According to one aspect of the embodiments of the present invention, there is provided a method for testing chick embryos.
The first embodiment:
referring to fig. 1, fig. 1 is a schematic flow chart of a testing method of chick embryos according to an embodiment of the present invention.
As shown in fig. 1, the method includes:
s100: and respectively allocating ID and test serial numbers to the chick embryos.
When a plurality of chick embryos exist, each chick embryo is allocated with an ID and a test serial number.
That is, one chick embryo corresponds to one ID and one test serial number.
S200: and creating a test mapping table according to the ID and the test sequence number.
Because one chick embryo corresponds to one ID and one test serial number, one ID corresponds to one test serial number.
And creating a test mapping table according to the corresponding relation between the ID and the test sequence number.
S300: and establishing a test task information table in the database according to the test mapping table, wherein the test task information table stores the chick embryo test tasks.
And a test task information table is established in the database, and the established test task information table comprises chick embryo test tasks.
S400: and adjusting the test task information table according to the chick embryo test task and preset reference parameters to obtain a target test task information table.
It will be appreciated that any two chick embryos may not be identical during the test.
In this embodiment, the test task information table is adjusted by the chick embryo test task and the reference parameter, so as to obtain the target test task information table.
S500: and testing the chick embryo according to the target test task information table.
The embodiment of the invention provides that: the method comprises the steps of creating a test mapping table according to an allocated ID and a test serial number, creating a test task information table in a database according to the test mapping table, adjusting the test task information table according to chick embryo test tasks and reference parameters to obtain a target test task information table, so that the chick embryos are tested according to the target test task information table, on one hand, the technical defect that the flexibility of the test is low due to the fact that the set time and sequence cannot be changed in the prior art is avoided, and the flexibility of the test is improved; on the other hand, the cost is reduced, and the testing efficiency is improved.
Second embodiment:
the present embodiment is based on the first embodiment. In this embodiment, S400 specifically includes:
and extracting test parameters in the chick embryo test task.
The chick embryo test task comprises test parameters.
And comparing the test parameters with the reference parameters, and when the test parameters are greater than the reference parameters, marking the test parameters as adjustment items.
The extracted test parameters are compared with the reference parameters. Specifically, the method comprises the following steps:
if the test parameter corresponding to the chick embryo a is A, the preset reference parameter is B, and A is larger than B, the A is marked as an adjustment item A-a.
And adjusting the test task information table according to the adjustment items to obtain a target test task information table.
And adjusting the test task information table according to the adjustment item A-a to obtain a target test task information table.
When A is less than or equal to B, no adjustment is needed.
According to the technical scheme, the test parameters are compared with the basic parameters to determine the adjustment items, the test task information table is adjusted according to the adjustment items to obtain the target test task information table, the technical effect of adjusting the test task information table according to requirements is achieved, and therefore high efficiency and accuracy of testing are further achieved.
The third embodiment:
the present embodiment is based on the second embodiment. In this embodiment, the method further includes: calculating the difference between the test parameter corresponding to the adjustment item and the reference parameter, and when a parameter difference value is obtained, adjusting the test task information table according to the adjustment item to obtain a target test task information table, specifically comprising:
and arranging the adjustment items according to the sequence of the parameter difference values from small to large to obtain an adjustment item list.
In this embodiment, when the adjustment item is 3 items, and is an adjustment item a, an adjustment item B, and an adjustment item C, respectively, and the test parameter corresponding to the adjustment item a is a, the test parameter corresponding to the adjustment item B is B, and the test parameter corresponding to the adjustment item C is C, the differences between the test parameter a and the reference parameter d, between the test parameter B and the reference parameter d, and between the test parameter C and the reference parameter d are calculated, so as to obtain parameter differences ad, bd, cd, respectively.
Comparing the sizes of ad, bd and cd, if ad > cd > bd, the list of adjustment items is: adjustment term B-adjustment term C-adjustment term a.
And adjusting the chick embryo test task in the test task information table according to the adjustment item list to obtain a target test task information table.
The embodiment provides that: the technical scheme includes that parameter difference values are obtained through calculation, adjustment items are arranged according to the parameter difference values to obtain an adjustment item list, chick embryo test tasks are adjusted according to the adjustment item list to obtain a target test task information table, the technical effect of obtaining the target test task information table fast and efficiently is achieved, and therefore high efficiency and accuracy of testing are further achieved.
The fourth embodiment:
the present embodiment is based on any one of the first to third embodiments. In this embodiment, S500 specifically includes:
distributing environment parameter information for the chick embryo test task according to the target test task information table;
testing the chick embryo according to the environmental parameter information;
wherein the environmental parameter information includes: potassium permanganate parameters, formalin parameters, temperature parameters and humidity parameters, wherein the potassium permanganate corresponding to each cubic meter of space is 12g-15g, the formalin used for each cubic meter of space is 28ml-30ml, the temperature is 38 ℃ to 40 ℃, and the humidity is 75% to 90%.
The embodiment provides that: according to the technical scheme, the environment parameter information is distributed to the chick embryo test task according to the target test task information table, so that the chick embryos are tested according to the environment parameter information, the influence of environment factors on test results is fully considered, and the test reliability is further realized.
Wherein, the reference parameters include: reagent dispensing parameters, incubation parameters, and washing parameters.
According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium including instructions which, when executed on a computer, cause the computer to perform the method according to any of the embodiments.
According to another aspect of the embodiment of the invention, the embodiment of the invention provides a chicken embryo testing system corresponding to the method.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a testing system for chick embryos according to an embodiment of the present invention.
As shown in fig. 2, the system includes: an allocation module, a creation module, an adjustment module, and a test module, wherein,
the allocation module is to: respectively allocating ID and test serial numbers to the chick embryos;
the creation module is to: creating a test mapping table according to the ID and the test serial number, and creating a test task information table in a database according to the test mapping table, wherein the test task information table stores chick embryo test tasks;
the adjustment module is used for: adjusting the test task information table according to the chick embryo test task and preset reference parameters to obtain a target test task information table;
the test module is used for: and testing the chick embryo according to the target test task information table.
On the one hand, the system comprising the distribution module, the creation module, the adjustment module and the test module, provided by the embodiment of the invention, avoids the technical defect of low test flexibility caused by incapability of changing set time and sequence in the prior art, and realizes improvement of test flexibility; on the other hand, the cost is reduced, and the testing efficiency is improved.
In a possible implementation technical solution, the adjusting module is specifically configured to:
extracting test parameters in the chick embryo test task;
comparing the test parameters with the reference parameters, and when the test parameters are greater than the reference parameters, marking the test parameters as adjustment items;
and adjusting the test task information table according to the adjustment items to obtain a target test task information table.
The embodiment provides that: the test parameters are extracted by the adjusting module, the extracted test parameters are compared with the reference parameters, and when the test parameters are larger than the reference parameters, the test parameters are marked as adjusting items, so that the technical scheme of adjusting the test task information table according to the adjusting items is realized, the technical effect of adjusting the test task information table according to requirements is realized, and the high efficiency and the precision of the test are further realized.
In a possible implementation solution, the system further includes: a calculation module that, wherein,
the calculation module is used for: calculating the difference between the test parameter corresponding to the adjustment item and the reference parameter to obtain a parameter difference value;
the adjustment module is specifically configured to: and arranging the adjustment items according to the sequence of the parameter difference values from small to large to obtain an adjustment item list, and adjusting the chick embryo test task in the test task information table according to the adjustment item list to obtain a target test task information table.
The embodiment provides that: the parameter difference value is obtained by the calculation module, the adjustment items are arranged by the adjustment module according to the parameter difference value to obtain an adjustment item list, so that the technical scheme of adjusting the chick embryo test task according to the adjustment item list is realized, the technical effect of quickly and efficiently obtaining the target test task information table is realized, and the high efficiency and the accuracy of the test are further realized.
In a possible implementation technical solution, the test module is specifically configured to:
distributing environment parameter information for the chick embryo test task according to the target test task information table;
testing the chick embryo according to the environmental parameter information;
wherein the environmental parameter information includes: potassium permanganate parameters, formalin parameters, temperature parameters and humidity parameters, wherein the potassium permanganate corresponding to each cubic meter of space is 12g-15g, the formalin used for each cubic meter of space is 28ml-30ml, the temperature is 38 ℃ to 40 ℃, and the humidity is 75% to 90%.
According to the technical scheme provided by the embodiment that the test module respectively tests the environmental parameter information according to the target test task information table and tests the chick embryo according to the environmental parameter information, the influence of environmental factors on the test result is fully considered, and the test reliability is further realized.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should also be understood that, in the embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.