CN114661711B - Sample storage position allocation method and device, electronic equipment and storage medium - Google Patents

Sample storage position allocation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114661711B
CN114661711B CN202210241629.XA CN202210241629A CN114661711B CN 114661711 B CN114661711 B CN 114661711B CN 202210241629 A CN202210241629 A CN 202210241629A CN 114661711 B CN114661711 B CN 114661711B
Authority
CN
China
Prior art keywords
storage
storage area
sample
area
samples
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210241629.XA
Other languages
Chinese (zh)
Other versions
CN114661711A (en
Inventor
瞿建国
沈天昊
周叶林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai OriginCell Biological Cryo Equipment Co Ltd
Original Assignee
Shanghai OriginCell Biological Cryo Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai OriginCell Biological Cryo Equipment Co Ltd filed Critical Shanghai OriginCell Biological Cryo Equipment Co Ltd
Priority to CN202210241629.XA priority Critical patent/CN114661711B/en
Publication of CN114661711A publication Critical patent/CN114661711A/en
Application granted granted Critical
Publication of CN114661711B publication Critical patent/CN114661711B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/278Data partitioning, e.g. horizontal or vertical partitioning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The application relates to the technical field of biological sample storage, and provides a sample storage position distribution method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the number of samples and zone numbers in each storage zone on each layer of storage disk on the sample storage device; determining a first storage area and a second storage area according to the number of samples and the area numbers in each storage area on each layer of storage disk; the total number of samples of the first storage area and the second storage area on each layer of storage disk is determined, the storage area to be stored is determined according to the obtained total number of the plurality of samples, the number of samples and the area number in each storage area can be analyzed, symmetrical storage areas with larger sample number difference are selected from each layer based on symmetry among the storage areas, a reasonable storage area is found on the symmetrical storage areas to store new samples, the weight difference of the symmetrical storage areas is reduced, and the rationality of sample storage is improved.

Description

Sample storage position allocation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of biological sample storage technologies, and in particular, to a sample storage location allocation method, apparatus, electronic device, and storage medium.
Background
In the field of biological cell storage samples, the sample storage device is different from the manual extraction of the traditional device, and adopts a full-automatic mode. The sample storage device is a storage device in which a cylinder is rotatable about a central axis, and is divided into n storage disks (e.g., 10 layers), each layer of storage disks having an even number of storage areas (e.g., one layer of storage disks having 12 storage areas). The biological sample is stored in the storage area.
If samples are stored in sequence, the samples are fully stored in one semicircle, and the other semicircle is in an empty state, so that the weight difference of two sides is too large, and the operation of the equipment is affected.
Disclosure of Invention
Aiming at the problems existing in the prior art, the application provides a sample storage position distribution method, a sample storage position distribution device, electronic equipment and a storage medium.
In a first aspect, the present application provides a sample storage location allocation method applied to storage of samples by a sample storage device, the sample storage device including a plurality of storage disks each having an even number of storage areas, the method comprising:
acquiring the number of samples and zone numbers in each storage zone of each layer of storage disk on the sample storage device;
determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
and determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers.
In one embodiment, the determining the storage area to be stored according to the sum of the obtained plurality of sample numbers includes:
and determining that only one minimum sample number sum exists in the sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored.
In one embodiment, the method further comprises:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
In one embodiment, the method further comprises:
determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
In one embodiment, the determining the storage area to be stored according to the sum of the obtained plurality of sample numbers includes:
determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference of the sample numbers of a first storage area and a second storage area on a storage disk corresponding to the minimum sample number totals;
and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
In one embodiment, a storage identification of the sample storage device is determined;
screening the storage identifiers in the database to screen out corresponding storage data tables; the database comprises a plurality of storage data tables, each storage data table corresponds to a storage identifier, and the storage data tables comprise the number of samples and zone numbers in each storage zone on each layer of storage disk.
In one embodiment, the method further comprises:
and if the differences between the sample numbers of the first storage area and the second storage area corresponding to the sum of the at least two minimum sample numbers are the same, selecting the first storage area of the storage disk with the front hierarchy as the storage area to be stored.
In a second aspect, the present application provides a sample storage location allocation apparatus for use in storing samples by a sample storage device, the sample storage device comprising a plurality of layers of storage disks, each layer of storage disks having an even number of storage areas, the apparatus comprising:
the acquisition module is used for acquiring the number of samples and zone numbers in each storage zone of each layer of storage disk on the sample storage device;
the determining module is used for determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
and the processing module is used for determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers. .
In one embodiment, the processing module is specifically configured to, in a process of determining a storage area to be stored according to a sum of a plurality of obtained sample numbers:
and determining that only one minimum sample number sum exists in the sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored.
In one embodiment, the processing module is specifically configured to, in a process of determining a storage area to be stored according to a sum of a plurality of obtained sample numbers:
determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference of the sample numbers of a first storage area and a second storage area on a storage disk corresponding to the minimum sample number totals;
and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
In one embodiment, the determining module is further configured to:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
In one embodiment, the determining module is further configured to:
determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
In a third aspect, the present application provides an electronic device comprising a memory and a memory storing a computer program, the processor implementing the steps of the sample storage location allocation method of the first aspect when executing the program.
In a fourth aspect, the present application provides a processor-readable storage medium storing a computer program for causing the processor to perform the steps of the sample storage location allocation method of the first aspect.
The sample storage position distribution method, the sample storage position distribution device, the electronic equipment and the storage medium provided by the application can analyze the number of samples and the region numbers in each storage region, select the symmetrical storage region with larger sample number difference from each layer based on the symmetry between the storage regions, find a reasonable storage region on the symmetrical storage region to store new samples, reduce the weight difference of the symmetrical storage region and improve the rationality of sample storage.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a sample storage location allocation method provided by the present application;
FIG. 2 is a schematic view of a sample storage location dispensing apparatus according to the present application;
fig. 3 is a schematic structural diagram of an electronic device provided by the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The sample storage location allocation method, apparatus, electronic device, and storage medium of the present application are described below with reference to fig. 1 to 3.
Fig. 1 shows a schematic flow chart of a sample storage location allocation method of the present application, and referring to fig. 1, the method is applied to storage of samples by a sample storage device, and the sample storage device includes a plurality of storage disks, each storage disk having an even number of storage areas. The method comprises the following steps:
11. acquiring the number of samples and zone numbers in each storage zone on each layer of storage disk on the sample storage device;
12. determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
13. and determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers.
It should be noted that, in the present application, the sample storage device is used for storing the biological sample in steps 11 to 13. The sample storage device is a storage device in which a cylinder is rotatable about a central axis, and is divided into n storage disks (e.g., 10 layers), each layer of storage disks having an even number of storage areas (e.g., one layer of storage disks having 12 storage areas). The biological sample is stored in the storage area.
In the present application, after a biological sample is placed in each storage area, the storage records are stored in the database in a preset form rule. The database comprises a plurality of storage data tables, each storage data table corresponds to a storage identifier, each storage identifier corresponds to one sample storage device, and the storage data tables comprise the number of samples and zone numbers in each storage area on each layer of storage disc of the corresponding sample storage device.
Each storage area is configured with an area number. For example, the 4 th storage area on the layer 1 storage disk may have an area number of 01-04, where 200 samples are stored in the storage area, and the number of samples corresponding to the storage area is 200. And recording the sample storage condition of the storage areas on each layer of storage disk through the storage recording rule, and determining a storage data table of the corresponding sample storage device through the storage identification.
In the present application, when a new sample needs to be stored, the number of samples and the region number in each storage region need to be analyzed in order to place the new sample on the correct storage region on the sample storage device. For this purpose, the number of samples and zone numbers in the respective storage areas on each layer of storage disk on the sample storage device need to be read from the database.
Since a plurality of storage areas are provided on each layer of the storage disk, the number of samples on each storage area may be different in view of the non-uniformity of the storage of biological samples on the storage areas. The first storage area and the second storage area are determined according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is the storage area symmetrical to the storage area with the minimum number of samples.
And summing the sample numbers of the first storage area and the second storage area on each layer of storage disk to obtain a sample number sum. At this time, a plurality of sample number sums are obtained, and the obtained plurality of sample number sums are used for determining a storage area to be stored. The memory area to be stored is used to store new samples.
The sample storage position distribution method provided by the application can analyze the number of samples and the region numbers in each storage region, and based on the symmetry between the storage regions, a symmetrical storage region with larger sample number difference is selected from each layer, and a reasonable storage region is found on the symmetrical storage region to store new samples, so that the weight difference of the symmetrical storage region is reduced, and the rationality of sample storage is improved.
The further method of the above method is mainly an explanation of the processing procedure of determining the storage area to be stored according to the sum of the obtained plurality of sample numbers, and specifically comprises the following steps:
and determining that only one minimum sample number sum exists in the sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored.
Determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference of the sample numbers of a first storage area and a second storage area on a storage disk corresponding to the minimum sample number totals; and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
In this regard, it should be noted that, in the present application, only one minimum sample number sum exists among the plurality of sample number sums.
For example, the number of samples of the first storage area on the first-layer storage disk is 10, and the number of samples of the second storage area is 100.
The number of samples of the first storage area on the second-layer storage disk is 15, and the number of samples of the second storage area is 90.
The number of samples of the first storage area on the third layer storage disk is 20, and the number of samples of the second storage area is 80.
The number of samples of the first storage area on the fourth-layer storage disk is 40, and the number of samples of the second storage area is 80.
The number of samples of the first storage area on the fifth layer storage disk is 50, and the number of samples of the second storage area is 90.
It follows that there is only a minimum sum of the sample numbers, i.e. the sum of the sample numbers of the first storage area and the second storage area on the first layer storage disk, and then the first storage area on the storage disk is taken as the storage area to be stored.
For example, when the number of samples of the first storage area on the first-layer storage disk is 10, the number of samples of the second storage area is 100.
The number of samples of the first storage area on the second-layer storage disk is 15, and the number of samples of the second storage area is 90.
The number of samples of the first storage area on the third layer storage disk is 20, and the number of samples of the second storage area is 80.
The number of samples of the first storage area on the fourth-layer storage disk is 40, and the number of samples of the second storage area is 80.
The first storage area on the fifth layer storage disk has a sample number of 50 and the second storage area has a sample number of 60.
From this, there are two minimum sample numbers summed. I.e. the sum of the numbers of samples of the first storage area and the second storage area on the first layer storage disk and the sum of the numbers of samples of the first storage area and the second storage area on the fifth layer storage disk.
The difference in the number of samples between the first storage area and the second storage area on the first-layer storage disk is 90. The difference in the number of samples between the first storage area and the second storage area on the fifth-layer storage disk is 10. Then selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored, namely selecting the first storage area on the first storage disk as the storage area to be stored.
In addition, it should be noted that if the differences between the numbers of samples in the first storage area on the storage disk corresponding to the sum of the numbers of at least two minimum samples and the numbers of samples in the second storage area corresponding to the sum of the numbers of at least two minimum samples are the same, the first storage area of the storage disk with the front hierarchy is selected as the storage area to be stored.
For example, the number of samples of the first storage area on the first-layer storage disk is 10, and the number of samples of the second storage area is 100; the number of samples of the first storage area on the second-layer storage disk is 10, and the number of samples of the second storage area is 100. At this time, a first storage area on the first-layer storage disk is selected as a storage area to be stored.
According to the method, based on symmetry among the storage areas, the symmetrical storage areas with larger sample number difference are selected from the layers, a reasonable storage area is found on the symmetrical storage areas to store new samples, so that the weight difference of the symmetrical storage areas is reduced, and the rationality of sample storage is improved. Here, the symmetrical memory area is a first memory area and a second memory area.
In a further method of the above method, in the process of storing the samples in the sample storage device, there are some storage areas in which biological samples are temporarily not stored, and when it is determined that there is only a storage area with a sample number of 0 according to the sample number and the area number in each storage area on each layer of storage disk, the storage area is used as a storage area to be stored for storing new samples.
When it is determined that there are at least two memory areas with the sample number of 0 based on the sample number and the area number in each memory area on each layer of the memory disk, in order to reduce the weight difference of the symmetrical memory areas, it is necessary to know the sample number of the memory areas with the sample number of 0, and for the memory area with the largest sample number, it is necessary to store new samples in the memory area with the symmetrical sample number of 0, thereby reducing the weight difference of the symmetrical memory areas.
For example, the memory areas with the sample number of 0 are a, b, and c, the sample number of the memory area corresponding to the memory area a is 90, the sample number of the memory area corresponding to the memory area b is 50, and the sample number of the memory area corresponding to the memory area c is 20, and at this time, a new biological sample is stored in the memory area a.
According to the further method, based on symmetry among the storage areas, under the condition that the storage areas with the sample number of 0 exist, the storage direction of the weight difference of the symmetrical storage areas can be reduced, and the rationality of sample storage can be improved.
Fig. 2 shows a schematic structural diagram of a sample storage location allocation apparatus provided by the present application, referring to fig. 2, the apparatus is applied to storage of samples by a sample storage device, and the sample storage device includes a plurality of storage disks, each storage disk having an even number of storage areas, and includes an acquisition module 21, a determination module 22, and a processing module 23, where:
an obtaining module 21, configured to obtain the number of samples and the area number in each storage area on each layer of storage disk on the sample storage device;
a determining module 22, configured to determine a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, where the first storage area is a storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
and a processing module 23, configured to determine a sum of the numbers of samples of the first storage area and the second storage area on the storage disk of each layer, and determine the storage area to be stored according to the obtained sum of the numbers of samples.
In a further apparatus of the above apparatus, the processing module is specifically configured to, in a process of determining the storage area to be stored according to a sum of a plurality of obtained sample numbers:
and determining that only one minimum sample number sum exists in the sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored.
In a further apparatus of the above apparatus, the processing module is specifically configured to, in a process of determining the storage area to be stored according to a sum of a plurality of obtained sample numbers:
determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference of the sample numbers of a first storage area and a second storage area on a storage disk corresponding to the minimum sample number totals;
and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
In a further arrangement of the above arrangement, the processing module is further adapted to:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
Determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
In a further arrangement of the above arrangement, the determining module is further configured to:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
In a further arrangement of the above arrangement, the determining module is further configured to:
determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
Since the apparatus according to the embodiment of the present application is the same as the method according to the above embodiment, the details of the explanation will not be repeated here.
It should be noted that, in the embodiment of the present application, the related functional modules may be implemented by a hardware processor (hardware processor).
The sample storage position distribution device provided by the application can analyze the number of samples and the region numbers in each storage region, and based on the symmetry between the storage regions, a symmetrical storage region with larger sample number difference is selected from each layer, and a reasonable storage region is found on the symmetrical storage region to store new samples, so that the weight difference of the symmetrical storage region is reduced, and the rationality of sample storage is improved.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: a processor (processor) 31, a communication interface (Communication Interface) 32, a memory (memory) 33 and a communication bus 34, wherein the processor 31, the communication interface 32 and the memory 33 communicate with each other through the communication bus 34. The processor 31 may call a computer program in the memory 33 to perform the steps of the sample storage location allocation method, for example comprising: acquiring the number of samples and zone numbers in each storage zone on each layer of storage disk on the sample storage device; determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples; and determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers.
Further, the logic instructions in the memory 33 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a sample storage location allocation method provided by the above methods, the method comprising: acquiring the number of samples and zone numbers in each storage zone on each layer of storage disk on the sample storage device; determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples; and determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers.
In another aspect, an embodiment of the present application further provides a processor readable storage medium, where a computer program is stored, where the computer program is configured to cause the processor to execute the sample storage location allocation method provided in the foregoing embodiments, for example, including: acquiring the number of samples and zone numbers in each storage zone on each layer of storage disk on the sample storage device; determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples; and determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A sample storage location allocation method, applied to storage of samples by a sample storage device, the sample storage device comprising a plurality of layers of storage disks, each layer of storage disks having an even number of storage areas, the method comprising:
acquiring the number of samples and zone numbers in each storage zone of each layer of storage disk on the sample storage device;
determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers;
the determining the storage area to be stored according to the obtained sum of the plurality of sample numbers comprises the following steps:
determining that only one minimum sample number sum exists in a plurality of sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored;
or determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference between the sample numbers of a first storage area and a second storage area on the storage disk corresponding to the minimum sample number totals;
and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
2. The sample storage location allocation method according to claim 1, further comprising:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
3. The sample storage location allocation method according to claim 1, further comprising:
determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
4. The method for allocating sample storage locations according to claim 1, wherein the acquiring the number of samples and the zone numbers in the respective storage areas on each layer of the storage disk on the sample storage device comprises:
determining a storage identifier of the sample storage device;
screening the storage identifiers in a database to screen out corresponding storage data tables; the database comprises a plurality of storage data tables, each storage data table corresponds to a storage identifier, and the storage data tables comprise the number of samples and zone numbers in each storage zone on each layer of storage disk.
5. The sample storage location allocation method according to claim 4, further comprising:
and if the differences between the sample numbers of the first storage area and the second storage area corresponding to the sum of the at least two minimum sample numbers are the same, selecting the first storage area of the storage disk with the front hierarchy as the storage area to be stored.
6. A sample storage location allocation apparatus for use in storing samples in a sample storage device, the sample storage device comprising a plurality of layers of storage disks, each layer of storage disks having an even number of storage areas, the apparatus comprising:
the acquisition module is used for acquiring the number of samples and zone numbers in each storage zone of each layer of storage disk on the sample storage device;
the determining module is used for determining a first storage area and a second storage area according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the first storage area is the storage area with the minimum number of samples on each layer of storage disk, and the second storage area is a storage area symmetrical to the storage area with the minimum number of samples;
the processing module is used for determining the sum of the sample numbers of the first storage area and the second storage area on each layer of storage disk, and determining the storage area to be stored according to the obtained sum of the sample numbers;
the processing module is specifically configured to, in a processing procedure of determining a storage area to be stored according to a sum of a plurality of obtained sample numbers:
determining that only one minimum sample number sum exists in a plurality of sample number sums, and selecting a first storage area on a storage disk corresponding to the minimum sample number sum as a storage area to be stored;
or determining that at least two minimum sample number totals exist in the sample number totals, and determining the difference between the sample numbers of a first storage area and a second storage area on the storage disk corresponding to the minimum sample number totals;
and selecting a first storage area on the storage disk corresponding to the difference of the maximum sample numbers as a storage area to be stored.
7. The sample storage location allocation apparatus of claim 6, wherein the determination module is further to:
determining that only one third storage area exists according to the number of samples and the area number in each storage area on each layer of storage disk, wherein the third storage area is a storage area with the sample number of 0;
and taking the third storage area as a storage area to be stored.
8. The sample storage location allocation apparatus of claim 6, wherein the determination module is further to:
determining that at least two third storage areas exist according to the number of samples and the area numbers in each storage area on each layer of storage disk;
and determining a fourth storage area symmetrical to the third storage area, and selecting the third storage area corresponding to the fourth storage area with the minimum sample number as the storage area to be stored.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the steps of the sample storage location allocation method of any of claims 1 to 5 when executing the computer program.
10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing the processor to execute the steps of the sample storage location allocation method according to any one of claims 1 to 5.
CN202210241629.XA 2022-03-11 2022-03-11 Sample storage position allocation method and device, electronic equipment and storage medium Active CN114661711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210241629.XA CN114661711B (en) 2022-03-11 2022-03-11 Sample storage position allocation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210241629.XA CN114661711B (en) 2022-03-11 2022-03-11 Sample storage position allocation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114661711A CN114661711A (en) 2022-06-24
CN114661711B true CN114661711B (en) 2023-08-29

Family

ID=82028562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210241629.XA Active CN114661711B (en) 2022-03-11 2022-03-11 Sample storage position allocation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114661711B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104350527A (en) * 2012-03-29 2015-02-11 红牛有限公司 Storage device for articles having load state detection device for detecting removal, loading and/or the load state of the storage device
CN105612501A (en) * 2013-10-03 2016-05-25 高通股份有限公司 System and method for uniform interleaving of data across a multiple-channel memory architecture with asymmetric storage capacity
CN108228079A (en) * 2016-12-21 2018-06-29 伊姆西Ip控股有限责任公司 Memory management method and equipment
CN110750529A (en) * 2018-07-04 2020-02-04 百度在线网络技术(北京)有限公司 Data processing method, device, equipment and storage medium
CN112082308A (en) * 2020-10-22 2020-12-15 金西盟干细胞(天津)有限责任公司 -80 ℃ automatic biological sample storage structure
CN113311993A (en) * 2021-03-26 2021-08-27 阿里巴巴新加坡控股有限公司 Data storage method and data reading method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104350527A (en) * 2012-03-29 2015-02-11 红牛有限公司 Storage device for articles having load state detection device for detecting removal, loading and/or the load state of the storage device
CN105612501A (en) * 2013-10-03 2016-05-25 高通股份有限公司 System and method for uniform interleaving of data across a multiple-channel memory architecture with asymmetric storage capacity
CN108228079A (en) * 2016-12-21 2018-06-29 伊姆西Ip控股有限责任公司 Memory management method and equipment
CN110750529A (en) * 2018-07-04 2020-02-04 百度在线网络技术(北京)有限公司 Data processing method, device, equipment and storage medium
CN112082308A (en) * 2020-10-22 2020-12-15 金西盟干细胞(天津)有限责任公司 -80 ℃ automatic biological sample storage structure
CN113311993A (en) * 2021-03-26 2021-08-27 阿里巴巴新加坡控股有限公司 Data storage method and data reading method

Also Published As

Publication number Publication date
CN114661711A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN107608773B (en) Task concurrent processing method and device and computing equipment
CN105426375B (en) A kind of calculation method and device of relational network
CN111324781A (en) Data analysis method, device and equipment
CN111104427A (en) Global logistics single number identification method and device, computer equipment and storage medium
CN116798646A (en) Snake injury prognosis prediction method and device based on clustering algorithm and electronic equipment
CN114661711B (en) Sample storage position allocation method and device, electronic equipment and storage medium
CN111242430A (en) Power equipment supplier evaluation method and device
CN105718539B (en) A kind of database application method and device
CN110991241B (en) Abnormality recognition method, apparatus, and computer-readable medium
CN106202374A (en) A kind of data processing method and device
CN107423140B (en) Return code identification method and device
CN112882956B (en) Method and device for automatically generating full-scene automatic test cases through data combination calculation, storage medium and electronic equipment
CN105353982B (en) A kind of data access processing method and device based on circulation array
CN112882854B (en) Method and device for processing request exception
CN114564501A (en) Database data storage and query methods, devices, equipment and medium
CN114281260A (en) Storage method, device, equipment and medium applied to distributed storage system
CN103838761B (en) A kind of update method of metadata and device
US7203707B2 (en) System and method for knowledge asset acquisition and management
CN109670976B (en) Feature factor determination method and device
CN114398378B (en) Method and device for determining index cost
CN116055464B (en) Download preservation path selection method, device and medium
US11080638B2 (en) Analysis technique presenting system, method, and program
CN114881699A (en) Bank product delivery processing method and device based on regional clustering
CN116756601A (en) kmeans log classification method and device based on partition distance fusion
CN116367201A (en) Method and device for identifying reasons of failure in use of mobile service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant