Warehousing control method of sample storage equipment
By applying genetic algorithms to optimize the inlet allocation of frozen storage boxes and repositories in sample storage devices, the problem that the inlet method in the prior art cannot effectively control temperature fluctuations, and an efficient and fast inlet process is achieved.
Patent Information
- Application Number
- CN202510259473.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-05-30
AI Technical Summary
The existing storage intake method cannot effectively control the fluctuations in the storage area temperature without occupying too many storage devices, resulting in an increased risk of samples in the frozen storage duct.
Genetic algorithms are used to process multiple allocation schemes and determine target allocation schemes to optimize the inlet allocation of frozen storage boxes and repositories and reduce temperature fluctuations.
The optimal inlet allocation scheme is quickly obtained through genetic algorithms, and the rapid inlet is achieved under the conditions of occupying as few storage devices as possible, improving inlet efficiency and reducing the temperature fluctuation in the repository.
Smart Images

Figure CN120057458A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of biological sample storage, and specifically provides a method for controlling the warehousing of a sample storage device. Background Art
[0002] Small ultra-low temperature automated devices usually have the following characteristics: the temperature is about minus 80 degrees, the storage area is about 1 to 3 square meters, and the storage area includes cryogenic storage racks and automated robotic arms, etc. Due to the small size of the device, when the number of times of opening and closing the warehouse door is relatively frequent, and the continuous operation time of the robotic arm in the warehouse is relatively long, the temperature in the warehouse will rise rapidly, which has a great impact on the cryogenic tubes with high requirements for temperature fluctuations.
[0003] Ultra-low temperature usually refers to about minus 80 degrees. At this temperature, if it is necessary to access items, it is no longer feasible to do so manually. The current mainstream solution is to use an automated robotic arm to pick up and place items. However, as the number of times of picking up and placing items increases, it is inevitable that high-temperature gas will enter the storage area, that is, the situation where the robotic arm in the storage area generates heat. If the refrigeration equipment cannot cool down quickly and reduce the temperature at this time, the risk of damage to the samples stored in the cryogenic tubes will increase greatly. Therefore, when warehousing, it is necessary to strictly control the warehousing frequency of the cryogenic boxes to ensure that the temperature in the storage area will not fluctuate greatly.
[0004] When a device cannot be warehoused, it can be warehoused into other equivalent devices. However, when actually managing samples, it is usually warehoused according to the same project number or the same batch. Therefore, it is preferred to be stored in the same device. If the stored devices are too scattered, it will bring additional difficulties to sample management and warehousing. Therefore, a method is needed to meet the requirements of occupying as few storage devices as possible and not causing great fluctuations in the temperature of the storage area. Summary of the Invention
[0005] The present invention aims to solve the above technical problems, that is, to solve the problem that the existing warehousing methods cannot meet the requirements of occupying as few storage devices as possible and not causing great fluctuations in the temperature of the storage area.
[0006] The present invention provides a method for controlling the warehousing of a sample storage device, where the sample storage device includes a plurality of storage repositories and a plurality of cryogenic boxes, and the plurality of cryogenic boxes can be stored in the plurality of storage repositories; the control method includes: determining a plurality of allocation schemes according to the plurality of storage repositories to be received and the plurality of cryogenic boxes to be warehoused; processing the plurality of allocation schemes by using a genetic algorithm to obtain a target allocation scheme; and controlling the sample storage device to perform warehousing according to the target allocation scheme.
[0007] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of "processing the multiple allocation schemes using a genetic algorithm to obtain a target allocation scheme" specifically includes: obtaining multiple operation individuals corresponding to the multiple allocation schemes and generating an initial population; performing genetic, crossover, and mutation operations on the multiple operation individuals in the initial population to generate a new population; and determining a target allocation scheme corresponding to the multiple operation individuals in the new population.
[0008] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of "determining multiple allocation schemes according to the multiple storage repositories to be received and the multiple cryogenic storage boxes to be stored in the warehouse" specifically includes: obtaining the quantities of the multiple storage repositories to be received and the multiple cryogenic storage boxes to be stored in the warehouse; and performing permutation and combination on the ways of allocating the multiple cryogenic storage boxes to be stored in the warehouse to the multiple storage repositories to be received to determine multiple allocation schemes.
[0009] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of "performing genetic, crossover, and mutation operations on the multiple operation individuals in the initial population to generate a new population" specifically includes: S110, adopting an elitist retention strategy and a roulette wheel strategy for the multiple operation individuals in the initial population to generate a first-generation population; S120, performing genetic, crossover, and mutation operations on the multiple operation individuals in the first-generation population to generate a new population; S130, repeating step S120 until the evolutionary generation of the new population reaches the maximum evolutionary generation.
[0010] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, step S110 specifically includes: calculating the fitness scores of the multiple operation individuals in the initial population; sorting the fitness scores of all operation individuals in the initial population in ascending order, and adopting an elitist retention strategy to screen out the first preset number of operation individuals ranked at the front as the first parents; adopting a roulette wheel strategy to screen out the second preset number of operation individuals from the other operation individuals as the second parents; and merging the first parents and the second parents to generate a first-generation population.
[0011] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step S120 specifically includes: calculating the fitness scores of the multiple operating individuals in the first-generation population; sorting the fitness scores of all the operating individuals in the first-generation population in ascending order, and screening out the first preset percentage of the operating individuals ranked at the front for genetic operations to obtain new operating individuals; screening out the second preset percentage of the operating individuals ranked at the back for crossover operations to obtain new operating individuals; screening out the third preset percentage of the operating individuals ranked at the back for mutation operations to obtain new operating individuals; combining the obtained new operating individuals to generate a new population.
[0012] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of "correspondingly determining the target allocation plan according to the operating individuals in the new population" specifically includes: calculating the fitness scores of the multiple operating individuals in the new population; obtaining the operating individual with the lowest fitness score in the new population, and correspondingly determining the target allocation plan.
[0013] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of calculating the fitness score specifically includes: performing fission on each operating individual to obtain multiple fission products; taking the fission product with the highest number of fissioned individuals among the multiple fission products as the target fission product; calculating the incoming storage time of the target fission product; calculating the fitness score according to the incoming storage time, the total number of devices, and the number of actually used devices.
[0014] In the specific implementation of the above-mentioned incoming storage control method for the sample storage device, the step of "calculating the incoming storage time of the target fission product" specifically includes: obtaining the starting temperature of the storage repository corresponding to the target fission product before the incoming storage of each cryopreservation box; judging whether it is necessary to cool down the storage repository before the incoming storage of each cryopreservation box according to the starting temperature; if necessary, obtaining the corresponding processing time for the cooling operation; if not, obtaining the single incoming storage time of each cryopreservation box; adding up all the processing times and the single incoming storage times to determine the incoming storage time of the target fission product.
[0015] In the specific implementation of the incoming storage control method of the above sample storage device, the step of "judging whether it is necessary to cool down the storage repository before each cryogenic storage box is put into storage according to the starting temperature" specifically includes: comparing the difference between the starting temperature and the temperature rise value in the storage repository caused by the incoming of a single cryogenic storage box with the maximum temperature that the storage repository can withstand; if the difference between the starting temperature and the temperature rise value in the storage repository caused by the incoming of a single cryogenic storage box is less than the maximum temperature that the storage repository can withstand, it is not necessary to cool down the storage repository; if the difference between the starting temperature and the temperature rise value in the storage repository caused by the incoming of a single cryogenic storage box is greater than or equal to the maximum temperature that the storage repository can withstand, it is necessary to cool down the storage repository.
[0016] In the case of adopting the above technical solution, the present invention determines a plurality of allocation schemes according to a plurality of storage repositories to be received and a plurality of cryogenic storage boxes to be put into storage; processes the plurality of allocation schemes by using a genetic algorithm to obtain a target allocation scheme; and controls the sample storage device to perform incoming storage according to the target allocation scheme. By adopting the genetic algorithm, the present invention can quickly obtain the optimal incoming storage allocation scheme between the storage repository and the cryogenic storage box, ensure incoming storage under the condition of occupying as few storage repositories as possible, realize quick incoming storage at the same time, improve the incoming storage efficiency, and reduce the temperature fluctuation range in the storage repository. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The following describes the preferred embodiments of the present invention with reference to the drawings, in which:
[0018] Figure 1 is a schematic structural diagram of the sample storage device of the present invention;
[0019] Figure 2 is a main step flowchart of the incoming storage control method of the sample storage device of the present invention;
[0020] Figure 3 is a detailed step flowchart of the incoming storage control method of the sample storage device of the present invention;
[0021] Among them, 1. Storage repository. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The following describes the preferred embodiments of the present invention with reference to the drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention and are not used to limit the protection scope of the present invention. Those skilled in the art can make adjustments according to needs to adapt to specific application scenarios.
[0023] It should be noted that in the description of the present invention, the terms "inner", "outer" and other terms indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for convenience of description, rather than indicating or implying that the relevant devices or components must have a specific orientation, be constructed and operated in a specific orientation, so it should not be construed as a limitation of the present invention. In addition, ordinal numbers such as "first", "second" etc. are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0024] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0025] In addition, it should be noted that in the description of the present invention, although the steps of the control method of the present invention are described in a specific order, these orders are not restrictive. Without departing from the basic principle of the present invention, those skilled in the art can execute the steps in a different order.
[0026] First, refer to Figure 1 , which is a schematic structural diagram of the sample storage device of the present invention. As Figure 1 shown, the sample storage device includes a plurality of storage repositories 1 and a plurality of cryogenic boxes (not shown in the figure), and the plurality of cryogenic boxes can be stored in the plurality of storage repositories 1.
[0027] Then, refer to Figure 2 , which is a main step flowchart of the warehousing control method of the sample storage device of the present invention. As Figure 2 shown, the control method of the present invention includes:
[0028] S1. Determine a plurality of allocation schemes according to the plurality of storage repositories 1 to be received and the plurality of cryogenic boxes to be warehoused;
[0029] S2. Process the plurality of allocation schemes by using a genetic algorithm to obtain a target allocation scheme;
[0030] S3. Control the sample storage device to perform warehousing according to the target allocation scheme.
[0031] In step S1, the step of "determining a plurality of allocation schemes according to the plurality of storage repositories 1 to be received and the plurality of cryogenic boxes to be warehoused" specifically includes:
[0032] S11. Obtain the quantities of the plurality of storage repositories 1 to be received and the plurality of cryogenic boxes to be warehoused.
[0033] In some embodiments, by way of example, the number of multiple repositories 1 to be received is m, and the number of multiple cryogenic storage boxes to be warehoused is n.
[0034] S12. Arrange and combine the ways of allocating the multiple cryogenic storage boxes to be warehoused to the multiple repositories 1 to be received, and determine multiple allocation schemes.
[0035] In step S2, the step of "processing the multiple allocation schemes by using a genetic algorithm to obtain a target allocation scheme" specifically includes:
[0036] S21. According to the multiple allocation schemes, obtain multiple operating individuals accordingly and generate an initial population;
[0037] S22. Perform genetic, crossover, and mutation operations on the multiple operating individuals in the initial population to generate a new population;
[0038] S23. Determine the target allocation scheme accordingly according to the multiple operating individuals in the new population.
[0039] In step S21, in some embodiments, each allocation scheme corresponds to an operating individual. In this embodiment, the operating individual is expressed in a coding manner. Coding means expressing the chromosome segment in a sequence manner. Specifically, the coding method is {V1, V2, V3... Vi... Vn}, where i is the order of putting into the box, and the value of Vi is the number of the repository 1 into which the i-th box is put, and 1 ≤ Vi ≤ m. By way of example, the coding {1, 2, 3, 1, 1, 2, 3} means that the 1st box is put into repository 1 No. 1, the 2nd box is put into repository 1 No. 2, the 3rd box is put into repository 1 No. 3, the 4th box is put into repository 1 No. 1, the 5th box is put into repository 1 No. 1, the 6th box is put into repository 1 No. 2, and the 7th box is put into repository 1 No. 3.
[0040] Specifically, the initial population refers to multiple operating individuals with N chromosomes. To ensure the convergence rate of the algorithm, the initial population generation method is as follows:
[0041] 1. All cryogenic storage boxes are placed in a single repository 1 (such as {1, 1, 1... 1}), and a total of m operating individuals are obtained;
[0042] 2. Two repositories 1 are cross-placed with all cryogenic storage boxes (such as {1, 2, 1, 2, 1... 1}), and C(m, 2) = m! / 2 * (m - 2)! operating individuals are obtained;
[0043] 3. Every two cryogenic storage boxes are placed in a single repository 1, and a total of two repositories 1 are used (such as {1, 1, 2, 2, 1, 1... 1}), and C(m, 2) = m! / 2 * (m - 2)! operating individuals are obtained;
[0044] 4. Place every three cryopreservation boxes into one storage repository 1, and use two storage repositories 1 in total (such as {1, 1, 1, 2, 2, 2, 1, 1, 1...1}), obtaining C(m, 2) = m! / 2 * (m - 2)! operating individuals;
[0045] 5. Place every four cryopreservation boxes into one storage repository 1, and use two storage repositories 1 in total (such as {1, 1, 1, 1, 2, 2, 2, 2, 1...1}), obtaining C(m, 2) = m! / 2 * (m - 2)! operating individuals;
[0046] 6. Place every five cryopreservation boxes into one storage repository 1, and use two storage repositories 1 in total (such as {1, 1, 1, 1, 1, 2...1}), obtaining C(m, 2) = m! / 2 * (m - 2)! operating individuals;
[0047] 7. Repeat the steps of the above item numbers 3 - 6, where using two storage repositories 1 is changed to using i storage repositories 1, and the number of operating individuals obtained in each step becomes C(m, i) = m! / i! * (m - i)!, where i < m;
[0048] 8. Evenly place all cryopreservation boxes into each storage repository 1 (such as {1, 2, 3...n}), obtaining 1 operating individual;
[0049] So far, the total number of the initial population is:
[0050] ∑5 * m! / i! * (m - i) + m + 1 operating individuals, where 1 < i < m.
[0051] In step S22, the step of "performing genetic, crossover, and mutation operations on multiple operating individuals of the initial population to generate a new population" specifically includes:
[0052] S221. Adopt the elitist retention strategy and the roulette wheel strategy for multiple operating individuals of the initial population to generate the first-generation population;
[0053] S222. Perform genetic, crossover, and mutation operations on multiple operating individuals of the first-generation population to generate a new population;
[0054] S223. Repeat step S222 until the number of generations of evolution of the new population reaches the maximum number of generations of evolution.
[0055] Furthermore, step S221 specifically includes:
[0056] S2211. Calculate the fitness scores for multiple operating individuals of the initial population;
[0057] S2212. Sort the fitness scores of all operating individuals in the initial population in ascending order, and adopt the elitist retention strategy to screen out the first preset number of operating individuals ranked at the front as the first parental individuals;
[0058] S2213. Use the roulette wheel strategy to screen out a second preset number of operating individuals as the second parents for other operating individuals;
[0059] S2214. Combine the first parents and the second parents to generate the first generation population.
[0060] In some embodiments, all operating individuals are sorted in ascending order according to the fitness score. Among them, the lower the fitness score, the better the fitness. First, use the elitist retention strategy to screen out the first preset number of operating individuals with the top-ranked fitness scores as the first parents. Then, use the roulette wheel strategy to screen out a second preset number of operating individuals as the second parents for the other operating individuals. Finally, combine the first parents and the second parents to generate the first generation population. It should be noted that the first preset number is 50 and the second preset number is 50. The values of the first preset number and the second preset number mentioned above are only exemplary. Those skilled in the art can set them according to actual needs. Moreover, the values of the first preset number and the second preset number can be equal or unequal, and there is no set relationship between them. Specifically, the specific operation of the roulette wheel strategy is to normalize the fitness score values of the other operating individuals outside the first preset number, and then regard the probability distribution as a roulette wheel. The size of each slice of the roulette wheel is proportional to the selection probability of the normalized operating individuals. Through the method of random probability, a second preset number of operating individuals are screened out again. Exemplarily, assume there are only 5 operating individuals and 2 are to be selected. The fitness score values of operating individuals g 1 ~g 5 are 100, 90, 70, 80, 90 respectively. Then the selection probability of g 1 is 100 / (100 + 90 + 70 + 80 + 90) = 23%, and the selection probability of g 2 is 90 / (100 + 90 + 70 + 80 + 90) = 21%, and so on. For the first random selection, one result is selected. When making the second selection, if it is the same as the first time, continue to select. If it is different, take the randomly generated result as the second result.
[0061] Furthermore, step S222 specifically includes:
[0062] S2221. Calculate the fitness scores of the multiple operating individuals in the first generation population;
[0063] S2222. Sort the fitness scores of all operating individuals in the first generation population in ascending order, and screen out the first preset percentage of operating individuals ranked at the front for genetic operations to obtain new operating individuals;
[0064] S2223, Screen out the operation individuals in the second preset percentage at the rear for crossover operation to obtain new operation individuals;
[0065] S2224, Screen out the operation individuals in the third preset percentage at the rear for mutation operation to obtain new operation individuals;
[0066] S2225, Combine the obtained new operation individuals to generate a new population.
[0067] In some embodiments, by way of example, the first preset percentage: the second preset percentage: the third preset percentage = 2:7:1, that is, genetic, crossover, and mutation operations are respectively performed on the operation individuals of the first-generation population according to the ratio of 2:7:1. After all the operation individuals are sorted in ascending order according to the fitness score, first screen out the operation individuals with the top 20% fitness scores as excellent individuals and directly inherit them into the new population. For the operation individuals with fitness scores ranked after 20%, perform crossover operation. First, randomly select two operation individuals and adopt the two-point crossover method, that is, randomly select two crossover points from one of the operation individuals, cut and exchange the chromosomes within the two crossover points of the two operation individuals to form two new operation individuals, add them to the new population, and repeat the operation until 70% of the operation individuals complete the crossover operation. Finally, perform mutation operation on the remaining 10% of the operation individuals, that is, select an operation individual and randomly select two mutation points, randomly generate the chromosomes within the two mutation points from 1 to i (where i is the number of used repositories 1), and then recombine the mutated chromosomes with other chromosomes to generate new operation individuals and add them to the new population.
[0068] In step S223, in some embodiments, repeat the genetic, crossover, and mutation operations on the multiple operation individuals of the new population generated in step S222, so that the population evolves continuously. Each time after the evolution is completed to form a new population, calculate the average fitness score value of the top ten operation individuals. If the average fitness score values for three consecutive times differ by no more than 10%, it is considered that the algorithm has converged and the evolution is completed.
[0069] In step S23, the step of "correspondingly determining the target allocation plan according to the operation individuals in the new population" specifically includes:
[0070] Calculate the fitness scores of the multiple operation individuals in the new population;
[0071] Obtain the operation individual with the lowest fitness score in the new population and correspondingly determine the target allocation plan.
[0072] In some embodiments, when the evolution of the new population is completed, screen out the operation individual with the lowest fitness score from the latest population, and its chromosome segment is the warehousing equipment number corresponding to the position box.
[0073] Further, the steps of calculating the fitness score specifically include:
[0074] S100, perform fission on each operation individual to obtain multiple fission products.
[0075] In some embodiments, by way of example, assume that the operation individual T1 fissions into T11, T12, and T13. That is, T1 = {1, 1, 1, 3, 3, 2, 2, 1, 3, 2, 2, 3, 1} fissions into T11 = {1, 1, 1, 1, 1}, T12 = {2, 2, 2, 2}, and T13 = {3, 3, 3, 3}.
[0076] S200, take the fission product with the highest number of fissioned individuals among the multiple fission products as the target fission product.
[0077] In some embodiments, in combination with the example given in step S100, select the fission product with the largest number of fissioned individuals. That is, the fission product of the operation individual T1 is T11, and the number of individuals in this fission product is 5, while the number of individuals in the other fission products is 4. Therefore, the fission product T11 is taken as the target fission product.
[0078] S300, calculate the storage time of the target fission product.
[0079] Specifically, the step of "calculating the storage time of the target fission product" specifically includes: obtaining the starting temperature of the storage repository 1 corresponding to the target fission product before each cryobox is stored; judging whether it is necessary to cool down the storage repository 1 before each cryobox is stored according to the starting temperature; if necessary, obtaining the processing time corresponding to the cooling operation; if not, obtaining the single storage time of each cryobox; adding up all the processing times and single storage times to determine the storage time of the target fission product.
[0080] Among them, the step of "judging whether it is necessary to cool down the storage repository 1 before each cryobox is stored according to the starting temperature" specifically includes: comparing the difference between the starting temperature and the temperature rise value in the storage repository 1 caused by the storage of a single cryobox with the maximum temperature that the storage repository 1 can withstand; if the difference between the starting temperature and the temperature rise value in the storage repository 1 caused by the storage of a single cryobox is less than the maximum temperature that the storage repository 1 can withstand, then it is not necessary to cool down the storage repository 1; if the difference between the starting temperature and the temperature rise value in the storage repository 1 caused by the storage of a single cryobox is greater than or equal to the maximum temperature that the storage repository 1 can withstand, then it is necessary to cool down the storage repository 1.
[0081] In some embodiments, the "starting temperature of repository 1 corresponding to the target fissionable material before each cryobox is put into storage" is the current temperature of repository 1 actually measured, and the "temperature rise value in repository 1 caused by the entry of a single cryobox", the "highest temperature that repository 1 can withstand", the "processing time corresponding to the cooling operation", and the "single entry time of each cryobox" are average data values obtained by those skilled in the art through multiple experiments.
[0082] S234. Calculate the fitness score according to the entry time, the total number of devices, and the number of actually used devices.
[0083] In some embodiments, the calculation formula for the fitness score score is:
[0084] score = t 1 *0.6 + i / m * 40;
[0085] where t 1 is the entry time, m is the total number of repository 1, and i is the number of actually used repository 1.
[0086] In step S3, in some embodiments, the target allocation plan specifically includes: the total entry time, the number of repository 1 involved and the corresponding device numbers, the entry order of multiple cryoboxes, and the corresponding repository 1 for entry.
[0087] The following refers to Figure 3 , this figure is a detailed step flowchart of the entry control method for the sample storage device of the present invention. As Figure 3 shown, the control method of the present invention includes:
[0088] S101. Obtain the number of multiple repository 1 to be received and the number of multiple cryoboxes to be put into storage;
[0089] S102. Arrange and combine the ways of allocating multiple cryoboxes to be put into storage to multiple repository 1 to be received to determine multiple allocation plans;
[0090] S103. Adopt the elitist retention strategy and the roulette strategy for multiple operating individuals in the initial population to generate the first-generation population;
[0091] S104. Perform genetic, crossover, and mutation operations on multiple operating individuals in the first-generation population to generate a new population;
[0092] S105. Determine whether the evolutionary generation of the new population has reached the maximum evolutionary generation;
[0093] If so, execute step S106;
[0094] If not, execute step S104;
[0095] S106. Obtain the operation individual with the lowest fitness score in the new population, and correspondingly determine the target allocation scheme;
[0096] S107. Control the sample storage device to perform warehousing according to the target allocation scheme.
[0097] In summary, the present invention can quickly obtain the optimal warehousing allocation scheme between the storage repository 1 and the cryobox by adopting the genetic algorithm, ensure warehousing under the condition of occupying as few storage repositories 1 as possible, realize rapid warehousing at the same time, improve the warehousing efficiency, and reduce the temperature fluctuation range in the storage repository 1.
[0098] So far, the technical solution of the present invention has been described in combination with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for controlling the storage of a sample storage device, characterized in that: The sample storage device comprises a plurality of storage bins and a plurality of cryo boxes, wherein the plurality of cryo boxes can be stored in the plurality of storage bins; The control method comprises: Determining a plurality of allocation schemes according to the plurality of storage bins to be received and the plurality of cryopreservation boxes to be stored; Processing the multiple allocation schemes using a genetic algorithm to obtain a target allocation scheme; The sample storage device is controlled to be put into storage according to the target allocation plan.
2. The method for controlling the storage of a sample storage device according to claim 1, characterized in that: The step of "processing the multiple allocation schemes using a genetic algorithm to obtain a target allocation scheme" specifically includes: According to the multiple allocation schemes, multiple operation individuals are obtained accordingly, and an initial population is generated; Performing genetic, crossover and mutation operations on the multiple operating individuals of the initial population to generate a new population; A target allocation scheme is determined accordingly according to the plurality of operating individuals in the new population.
3. The method for controlling the storage of a sample storage device according to claim 1, characterized in that: The step of "determining a plurality of allocation schemes according to the plurality of storage bins to be received and the plurality of cryopreservation boxes to be stored" specifically includes: Acquire the number of the plurality of storage bins to be received and the number of the plurality of freezing boxes to be stored; The multiple freezing boxes to be stored are allocated to the multiple storage bins to be received by arranging and combining, and multiple allocation schemes are determined.
4. The method for controlling the storage of a sample storage device according to claim 2, characterized in that: The step of "performing genetic, crossover and mutation operations on the multiple operating individuals of the initial population to generate a new population" specifically includes: S110, using an elite retention strategy and a roulette strategy for the multiple operating individuals of the initial population to generate a first generation population; S120, performing heredity, crossover and mutation operations on the plurality of operating individuals of the first generation population to generate a new population; S130, repeating step S120 until the evolutionary generation number of the new population reaches the maximum evolutionary generation number.
5. The method for controlling the storage of a sample storage device according to claim 4, characterized in that: The step S110 specifically includes: Calculating fitness scores for the multiple operating individuals of the initial population; The fitness scores of all the operating individuals in the initial population are sorted in ascending order, and the first preset number of operating individuals in the front are selected as the first parents by using the elite retention strategy; A roulette strategy is used to select a second preset number of operating individuals from other operating individuals as second parent bodies; The first parent and the second parent are merged to generate a first generation population.
6. The method for controlling the storage of a sample storage device according to claim 5, characterized in that: The step S120 specifically includes: Calculating fitness scores for the plurality of operating individuals of the first generation population; The fitness scores of all the operating individuals in the first generation population are sorted in ascending order, and the operating individuals with the first preset percentage in the front are selected for genetic operation to obtain new operating individuals; Screening out the operation individuals ranked at the rear with a second preset percentage and performing crossover operation to obtain new operation individuals; Select the operation individuals ranked in the third preset percentage and perform mutation operation to obtain new operation individuals; The obtained new operating individuals are combined to generate new populations.
7. The method for controlling the storage of a sample storage device according to claim 1, characterized in that: The step of "determining the target allocation scheme according to the operating individuals in the new population" specifically includes: Calculating fitness scores for the multiple operating individuals of the new population; The operating individual with the lowest fitness score in the new population is obtained, and a target allocation scheme is determined accordingly.
8. The method for controlling the storage of a sample storage device according to any one of claims 4 to 7, characterized in that: The steps for calculating the fitness score include: Perform fission on each operating individual to obtain multiple fission products; The fission variant with the highest number of fissioned individuals among the plurality of fission variants is selected as the target fission variant; Calculating the storage time of the target fission product; The fitness score is calculated based on the stated warehousing time, the total number of devices, and the number of devices actually used.
9. The method for controlling the storage of a sample storage device according to claim 8, characterized in that: The step of "calculating the storage time of the target fission product" specifically includes: Obtaining the starting temperature of the storage bin corresponding to the target fission product before each of the cryopreservation boxes is stored; Determining whether the storage bin needs to be cooled down before each of the freezing boxes is stored according to the starting temperature; If necessary, obtain the processing time corresponding to the cooling operation; If not necessary, obtaining the single storage time of each of the freezing boxes; All of the processing times and the single storage time are added together to determine the storage time of the target fission product.
10. The method for controlling the storage of a sample storage device according to claim 9, characterized in that: The step of "determining whether the storage bin needs to be cooled down before each of the freezing boxes is stored according to the starting temperature" specifically includes: Comparing the difference between the starting temperature and the temperature rise value in the storage bin caused by the storage of a single freezing box with the maximum temperature that the storage bin can withstand; If the difference between the starting temperature and the temperature rise value in the storage bin caused by the storage of a single freezing box is less than the maximum temperature that the storage bin can withstand, there is no need to cool down the storage bin; If the difference between the starting temperature and the temperature rise value in the storage bin caused by the storage of a single freezing box is greater than or equal to the maximum temperature that the storage bin can withstand, the storage bin needs to be cooled down.