CN111180058B - An efficiency optimization method for automatic staining of urine cells - Google Patents

An efficiency optimization method for automatic staining of urine cells Download PDF

Info

Publication number
CN111180058B
CN111180058B CN202010012174.5A CN202010012174A CN111180058B CN 111180058 B CN111180058 B CN 111180058B CN 202010012174 A CN202010012174 A CN 202010012174A CN 111180058 B CN111180058 B CN 111180058B
Authority
CN
China
Prior art keywords
dyeing
time
dye
tanks
staining
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
CN202010012174.5A
Other languages
Chinese (zh)
Other versions
CN111180058A (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.)
Tongji University
Original Assignee
Tongji University
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 Tongji University filed Critical Tongji University
Priority to CN202010012174.5A priority Critical patent/CN111180058B/en
Publication of CN111180058A publication Critical patent/CN111180058A/en
Application granted granted Critical
Publication of CN111180058B publication Critical patent/CN111180058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N1/00Sampling; Preparing specimens for investigation
    • G01N1/28Preparing specimens for investigation including physical details of (bio-)chemical methods covered elsewhere, e.g. G01N33/50, C12Q
    • G01N1/30Staining; Impregnating ; Fixation; Dehydration; Multistep processes for preparing samples of tissue, cell or nucleic acid material and the like for analysis
    • G01N1/31Apparatus therefor
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Immunology (AREA)
  • Chemical & Material Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Investigating Or Analysing Biological Materials (AREA)
  • Coloring (AREA)

Abstract

An efficiency optimization algorithm for automatic dyeing of urine cells is characterized in that through research on an automatic dyeing scheduling process of urine cells, the effective utilization rate of a dye vat is maximized by distributing dye vat dye solutions, then different dyeing schemes are designed for the same dyeing method according to the distributed dye vat dye solutions, and finally a dyeing time registry is distributed and calculated for each dyeing scheme. The method can dye a plurality of tasks in the same dyeing mode, and remarkably improves the dyeing efficiency.

Description

一种尿细胞自动染色的效率优化方法A method for optimizing the efficiency of automatic staining of urine cells

技术领域:Technical field:

本发明涉任务调度、医疗细胞染色和伺服控制领域,特别涉及多任务调度优化技术。The present invention relates to the fields of task scheduling, medical cell staining and servo control, and in particular to multi-task scheduling optimization technology.

背景技术:Background technology:

近年来,我国糖尿病患者人数正在逐年增加。对于糖尿病的早期诊断中,通过对尿液沉积物中的尿细胞进行染色和分析是一种非常有效的方法。传统的细胞染色方法通常是人工进行染色,该方法效率低,且一致性差。中国的一些医院也已开始逐步使用自动细胞染色机来代替传统的手动染色。与手动染色相比,自动细胞染色机性能高效稳定。自动染色设备操作简单,分批染色,特别适用于中国大型医院,并且染色结果高度标准化。使用细胞自动染色机代替人工染色已成为当今医疗技术发展的重要趋势。In recent years, the number of diabetes patients in my country is increasing year by year. For the early diagnosis of diabetes, staining and analyzing urine cells in urine sediments is a very effective method. Traditional cell staining methods are usually performed manually, which is inefficient and has poor consistency. Some hospitals in China have also begun to gradually use automatic cell staining machines to replace traditional manual staining. Compared with manual staining, automatic cell staining machines have efficient and stable performance. Automatic staining equipment is simple to operate and can be stained in batches. It is particularly suitable for large hospitals in China, and the staining results are highly standardized. Using automatic cell staining machines instead of manual staining has become an important trend in the development of medical technology today.

我国的全自动细胞染色机出现时间相对较晚,并且相应的技术研发投入也逊色于很多国外厂家。国外一些知名公司如日本樱花(SAKURA)、美国强生(Johnson)、德国西门子(SIMNES)和徕卡(Leica)、荷兰飞利浦(PHILIPS)等公司很早就介入了医疗器械自动化领域,这些公司生产自动化设备技术相当成熟,所生产的产品自动化程度较高。目前我国大部分医院所使用全自动细胞染色机多为进口产品。但是这些设备一般比较昂贵,价格从几十万到数百万不等。这些设备对运行环境一般要求比较严格,并且使用这些设备在工作时一般都需要使用捆绑销售的染色试剂才行,而这些试剂通常也比较昂贵并且随着使用次数和时长会造成污染和挥发,需要经常更换。目前这些设备一般为国内的一些大型三甲医院所使用。对于一些地方性医院和第三方医疗检测机构难以承受如此巨大的费用,并且由于处理的样本数量不大,因此它们仍然依赖传统的手工完成相应实验。所以,近年来国内一些医院和科研单位也开始对全自动染色机开展相关研究。与国外全自动染色机相比,国内一些医院和科研单位研制的全自动染色机多为特定用途,并且染色效率较低,一般采用串行方式进行染色,即一个染色任务完全结束后才启动下一染色任务,这样可以较好的保证同一染色任务的染色步骤连续性。针对染色效率的优化问题,文献1(L.S.Wang,Z.M.Yu,D.D.Zhang,Guofeng Qin,Zhenlei Xu,A Scheduling Algorithm for Urine Cell DyeingMachine,ICCSE 2019,August 19-21,2019.)提出了一种精度优先的染色调度算法(Accuracy-First Scheduling Algorithm,AFS)该算法是一种动态调度算法,即染色过程已经开始了但是又加入了新的染色玻片,该算法通过为其计算可以入槽染色的延时时长,玻片等待延时时长后即可以进行染色,并不会对之前放入的玻片造成影响。该算法相对于串行方式染色效率有很大提高,但是该算法染色过程对于同一种染色资源(染槽)的竞争很明显,即同一种染色资源同时只能为一个染色任务服务,特别是同一种染色方法的多个染色任务对于每种染色资源均存在竞争。The appearance of fully automatic cell staining machines in my country is relatively late, and the corresponding technical research and development investment is also inferior to many foreign manufacturers. Some well-known foreign companies such as Japan's Sakura (SAKURA), the United States' Johnson (Johnson), Germany's Siemens (SIMNES) and Leica (Leica), the Netherlands' Philips (PHILIPS) and other companies have long been involved in the field of medical device automation. These companies have quite mature technology in producing automation equipment, and the products they produce have a high degree of automation. At present, most of the fully automatic cell staining machines used in most hospitals in my country are imported products. However, these devices are generally expensive, with prices ranging from hundreds of thousands to millions. These devices generally have strict requirements on the operating environment, and when using these devices, they generally need to use bundled staining reagents, which are usually expensive and cause pollution and volatility with the number and duration of use, and need to be replaced frequently. At present, these devices are generally used by some large tertiary hospitals in China. For some local hospitals and third-party medical testing institutions, it is difficult to bear such huge expenses, and because the number of samples processed is not large, they still rely on traditional manual work to complete the corresponding experiments. Therefore, in recent years, some domestic hospitals and scientific research institutions have also begun to conduct relevant research on fully automatic dyeing machines. Compared with foreign fully automatic dyeing machines, the fully automatic dyeing machines developed by some domestic hospitals and scientific research institutions are mostly for specific purposes, and the dyeing efficiency is low. They generally use serial dyeing, that is, the next dyeing task is started only after one dyeing task is completely completed, which can better ensure the continuity of the dyeing steps of the same dyeing task. In order to optimize the staining efficiency, the literature 1 (L.S.Wang, Z.M.Yu, D.D.Zhang, Guofeng Qin, Zhenlei Xu, A Scheduling Algorithm for Urine Cell Dyeing Machine, ICCSE 2019, August 19-21, 2019.) proposed an accuracy-first staining scheduling algorithm (Accuracy-First Scheduling Algorithm, AFS). This algorithm is a dynamic scheduling algorithm, that is, the staining process has already started but a new staining slide has been added. The algorithm calculates the delay time for it to enter the slot for staining. The slide can be stained after waiting for the delay time, and it will not affect the previously placed slides. The algorithm has greatly improved the staining efficiency compared to the serial method, but the competition for the same staining resource (staining tank) in the staining process of this algorithm is obvious, that is, the same staining resource can only serve one staining task at the same time, especially multiple staining tasks of the same staining method compete for each staining resource.

发明内容:Summary of the invention:

本发明的目的在于提供一种提高对同一染色方法的并行染色效率的方法。The object of the present invention is to provide a method for improving the parallel dyeing efficiency of the same dyeing method.

本发明的思想主要是为并行染色任务间竞争最激烈的染色资源分配多份,降低各个染色任务间的竞争,从而提高染色效率。生物细胞染色可以类比成一个计算机任务调度系统,各染色组当成不同的进程,染色槽当成计算机外部资源,在染色过程中不同的染色组会对染色槽产生竞争行为。如图1染色任务调度情景示意图所示,不同的染色任务会竞争染槽,对于不同的染色方案,其染色步骤也不一定完全一样。根据染色过程和染色机组成我们可以发现整个染色过程必须遵循以下原则:即染槽染色提前分配且固定、资源独占且不可剥夺、同一染色任务的染色进程连续、独占机械臂。The idea of the present invention is mainly to allocate multiple copies of dyeing resources for which competition is most intense among parallel dyeing tasks, reduce competition among dyeing tasks, and thus improve dyeing efficiency. Biological cell dyeing can be compared to a computer task scheduling system, where each dyeing group is regarded as a different process and the dyeing tank is regarded as an external resource of the computer. Different dyeing groups will compete for the dyeing tank during the dyeing process. As shown in the schematic diagram of the dyeing task scheduling scenario in Figure 1, different dyeing tasks will compete for the dyeing tank, and the dyeing steps may not be exactly the same for different dyeing schemes. According to the dyeing process and the composition of the dyeing machine, we can find that the entire dyeing process must follow the following principles: the dyeing of the dyeing tank is allocated and fixed in advance, the resources are exclusive and cannot be deprived, the dyeing process of the same dyeing task is continuous, and the robot arm is exclusive.

技术方案Technical Solution

该方法首先进行基于EA36巴氏染色方法对染槽染液进行分配以达到有效利用率最大化,然后根据分配的染槽染液为该染色方法设计不同的染色方案,最后为每个染色方案分配计算染色时间注册表,从而为每个染色步骤确定染色起始时间和结束时间。The method first allocates the dyeing tank dye liquid based on the EA36 Papanicolaou dyeing method to maximize the effective utilization rate, then designs different dyeing schemes for the dyeing method according to the allocated dyeing tank dye liquid, and finally allocates and calculates the dyeing time registry for each dyeing scheme, thereby determining the dyeing start time and end time for each dyeing step.

如图2是染色效率优化方法流程图,接下来将对该方法的主要步骤进行说明。FIG2 is a flow chart of the dyeing efficiency optimization method, and the main steps of the method will be described below.

1)初始化。该过程完成对染色方法各个染色步骤及其染色时间的记录,并对目标染色机染槽数量和染槽分布进行记录。1) Initialization. This process completes the recording of each dyeing step and its dyeing time of the dyeing method, and records the number and distribution of dyeing tanks of the target dyeing machine.

2)统计计算空闲染槽数nidle。该过程主要对染色机染槽除取片、烘干和水洗槽外的空闲染槽进行记录。2) Calculate the number of idle dyeing slots n idle . This process mainly records the idle dyeing slots of the dyeing machine except the film taking, drying and washing slots.

3)统计染色时间t1~tk。该过程通过对各个染色步骤的染色时间进行统计,且排除时间相同的时间数据,然后根据从大到小排序,将其放到t1~tk中。3) Counting the dyeing time t 1 to t k . This process counts the dyeing time of each dyeing step, excludes the time data with the same time, and then sorts them from large to small and puts them in t 1 to t k .

4)计算单位染色时间为ti时的独立染液数ni。该步骤所完成的工作其实是为染色时间超过ti的染色步骤分配多个染槽,即对染色时间为t1到ti的染色步骤(水洗除外)分配

Figure GDA0004131101850000021
个染槽数,其中1≤x<i;为染色时间未超过ti的染色步骤则每个步骤分配1个染槽;然后计算总的独立染液数ni。4) Calculate the number of independent dyeing solutions n i when the unit dyeing time is ti . The work completed in this step is actually to allocate multiple dyeing tanks for the dyeing steps with dyeing time exceeding ti , that is, to allocate multiple dyeing tanks for the dyeing steps with dyeing time from t 1 to ti (excluding washing).
Figure GDA0004131101850000021
The number of dyeing tanks is 1≤x<i; for dyeing steps whose dyeing time does not exceed ti , each step is assigned 1 dyeing tank; then the total number of independent dye solutions ni is calculated.

5)根据单位染色时间ti分配染液。该过程按照染色步骤对染槽染液进行顺序分配,同一染色步骤的多份染液相邻分配。5) Distribute the dye liquor according to the unit dyeing time ti . In this process, the dye liquor in the dye tank is distributed sequentially according to the dyeing steps, and multiple dye liquors of the same dyeing step are distributed adjacently.

6)根据染槽染液设计染色方案。由于染色时间长的染色步骤已独立出多份染液槽,所以对并行任务进行分配染槽时,应对存在多份染槽的步骤按任务队列进行轮流分配染槽,这样能保证多任务间对相同染色不存在竞争。6) Design a dyeing scheme based on the dye tank and dye solution. Since the dyeing steps with long dyeing time have been separated into multiple dye tanks, when allocating dye tanks to parallel tasks, the steps with multiple dye tanks should be allocated in turn according to the task queue, so as to ensure that there is no competition between multiple tasks for the same dyeing.

7)染色时间注册算法。该算法使用回溯法的思想来实现计算玻片的进入时间。通过全局时间注册表为每个染槽的时间注册情况进行记录和保存。时间注册表是一个int类型的二维数组,大小为n x m。其中,行表示n个染色槽,列表示每个染色槽可以记录m/2个时间段,一个时间段占用两个元素空间(染色开始时间和染色结束时间)。系统中设置一个染槽表,该表存储每个染槽的占用情况。如果染槽表数据全为0,则表示染色槽中没有玻片。图3是染色时间注册算法流程图。7) Staining time registration algorithm. This algorithm uses the idea of backtracking to calculate the entry time of the slide. The time registration status of each staining slot is recorded and saved through the global time registry. The time registry is a two-dimensional array of int type, with a size of n x m. Among them, the row represents n staining slots, and the column represents that each staining slot can record m/2 time periods, and one time period occupies two element spaces (staining start time and staining end time). A staining slot table is set in the system, which stores the occupancy status of each staining slot. If the data in the staining slot table is all 0, it means that there is no slide in the staining slot. Figure 3 is a flow chart of the staining time registration algorithm.

采用上述方案,本发明的有益效果如下:By adopting the above scheme, the beneficial effects of the present invention are as follows:

本发明通过研究染色调度过程染色资源和染色任务之间的关系,对各个染色任务染色步骤间竞争最激烈的几种染液合理分配多个染槽,从而能够大大提高了染色效率。The present invention studies the relationship between dyeing resources and dyeing tasks in the dyeing scheduling process, and reasonably allocates multiple dye tanks to several dyeing solutions with the most intense competition between dyeing steps of each dyeing task, thereby greatly improving the dyeing efficiency.

附表说明:Explanation of the attached table:

表1是EA36巴氏染色方法Table 1 is the EA36 Papanicolaou staining method

表2是所用染色机染槽分布Table 2 shows the distribution of dyeing tanks used in the dyeing machines

表3是染槽染液初始分配方案Table 3 is the initial distribution plan of dyeing bath dyeing liquid

表4是染槽染液最终分配方案Table 4 is the final distribution plan of dyeing bath and dyeing liquid

表5是最终染色方案染色时间注册表Table 5 is the final staining scheme and staining time registration table

附图说明:Description of the drawings:

图1是染色任务调度情景示意图Figure 1 is a schematic diagram of the dyeing task scheduling scenario

图2是染色调度效率优化方法流程图Figure 2 is a flow chart of the dyeing scheduling efficiency optimization method

图3是染色时间注册算法流程图Figure 3 is a flow chart of the staining time registration algorithm

图4是EA36巴氏染色方法测试结果Figure 4 is the test result of EA36 Papanicolaou staining method

具体实施方式:Specific implementation method:

基于现有染色装置和EA36巴氏染色方法,本发明的具体实施方式描述如下:Based on the existing dyeing device and EA36 Pap staining method, the specific embodiments of the present invention are described as follows:

步骤(1)根据现有染色装置的染槽分布(见表2)和EA36巴氏染色方法设计染槽染液初始分配方案(见表3)。Step (1) designs an initial distribution scheme of dyeing solution in the dyeing tank according to the dyeing tank distribution of the existing dyeing device (see Table 2) and the EA36 Papanicolaou dyeing method (see Table 3).

步骤(2)根据空闲染槽数和染色步骤所用时间求解单位染色时间为60s。Step (2) solves the unit dyeing time as 60s based on the number of idle dyeing tanks and the time taken for the dyeing step.

步骤(3)根据单位染色时间可以确定需要为苏木素和橘黄液分配3个染槽、为步骤11的95%酒精分配2个染槽。In step (3), according to the unit staining time, it can be determined that 3 staining tanks need to be allocated for hematoxylin and orange solution, and 2 staining tanks need to be allocated for 95% alcohol in step 11.

步骤(4)根据染槽分配方式确定最终的染槽染液分配方案(见表4)。Step (4) determines the final dye tank dye solution allocation plan according to the dye tank allocation method (see Table 4).

步骤(5)根据染色步骤和染槽染液最终分配方案设计染色方案为:Step (5) The dyeing scheme is designed according to the dyeing steps and the final distribution scheme of the dyeing tank dye solution:

Q1:C1->C2->C3->C19->C4->C20->C7->C8->C21->C3->C2->C9->C11->C12Q 1 :C1->C2->C3->C19->C4->C20->C7->C8->C21->C3->C2->C9->C11->C12

->C14->C15->C18->C23->C24->C25->C14->C15->C18->C23->C24->C25

Q2:C1->C2->C3->C19->C5->C20->C7->C8->C21->C3->C2->C10->C11->C1Q 2 :C1->C2->C3->C19->C5->C20->C7->C8->C21->C3->C2->C10->C11->C1

2->C14->C16->C18->C23->C24->C252->C14->C16->C18->C23->C24->C25

Q3:C1->C2->C3->C19->C6->C20->C7->C8->C21->C3->C2->C9->C11->C12Q 3 :C1->C2->C3->C19->C6->C20->C7->C8->C21->C3->C2->C9->C11->C12

->C14->C17->C18->C23->C24->C25->C14->C17->C18->C23->C24->C25

队列Q3k+1同Q1,队列Q3k+2同Q2,队列Q3k同Q3Queue Q 3k+ 1 is the same as Q 1 , queue Q 3k+2 is the same as Q 2 , and queue Q 3k is the same as Q 3 .

步骤(6)根据染色方案可以计算出染色时间注册表(见表5)。Step (6) can calculate the staining time registry according to the staining scheme (see Table 5).

对于EA36染色方法分别根据串行染色方法、AFS染色方法、本发明优化后方法进行上述测试方法,其染色时长和染色任务组数成正线性正相关关系,如图4所示。设三种测试方式的染色时长分别为为t1、t2、t3,染色任务组数为k,那么对于三种测试方式,可以分别得出以下函数:For the EA36 dyeing method, the above test methods are performed according to the serial dyeing method, the AFS dyeing method, and the optimized method of the present invention, and the dyeing time and the number of dyeing task groups are in a positive linear positive correlation, as shown in Figure 4. Assuming that the dyeing time of the three test methods is t 1 , t 2 , and t 3 , respectively, and the number of dyeing task groups is k, then for the three test methods, the following functions can be obtained respectively:

1)串行染色测试方式染色时长和染色任务组数关系见公式1。1) The relationship between the dyeing time and the number of dyeing task groups in the serial dyeing test method is shown in formula 1.

t1=950×k (1)t 1 =950×k (1)

2)并行染色测试方式染色时长和染色任务组数关系见公式2。2) Parallel dyeing test method The relationship between dyeing time and the number of dyeing task groups is shown in formula 2.

t2=180×k+770 (2)t 2 =180×k+770 (2)

3)优化后并行染色测试方式染色时长和染色任务组数关系见公式3。3) The relationship between the dyeing time and the number of dyeing task groups in the optimized parallel dyeing test method is shown in Formula 3.

t3=60×h+890 (3)t 3 =60×h+890 (3)

根据公式1和公式2可以得出并行染色方式相对于串行染色方式的染色效率提升值v21如公式4。According to Formula 1 and Formula 2, the dyeing efficiency improvement value v 21 of the parallel dyeing method relative to the serial dyeing method can be obtained as shown in Formula 4.

Figure GDA0004131101850000041
Figure GDA0004131101850000041

根据公式4可以预见,当染色组数k无限大时,并行染色方法相对于串行染色方式,其效率提升预计可以达到5.2倍。According to Formula 4, when the number of dyeing groups k is infinite, the efficiency of the parallel dyeing method is expected to be improved by 5.2 times compared with the serial dyeing method.

根据公式1和公式3可以得出调度算法优化后并行染色方式相对于串行染色方式的染色效率提升值v31如公式5。According to Formula 1 and Formula 3, the dyeing efficiency improvement value v 31 of the parallel dyeing method compared with the serial dyeing method after the scheduling algorithm is optimized can be obtained as shown in Formula 5.

Figure GDA0004131101850000051
Figure GDA0004131101850000051

根据公式5可以预见,当染色组数k无限大时,调度算法优化后并行染色方法相对于串行染色方式,其效率提升预计可以达到15.8倍。According to Formula 5, when the number of dyeing groups k is infinite, the efficiency of the parallel dyeing method after scheduling algorithm optimization is expected to be improved by 15.8 times compared with the serial dyeing method.

根据公式2和公式3可以得出其优化后并行染色效率相对于优化前并行染色方式的染色效率提升值v32如公式6。According to Formula 2 and Formula 3, the improvement value v 32 of the parallel dyeing efficiency after optimization compared with the parallel dyeing method before optimization can be obtained as shown in Formula 6.

Figure GDA0004131101850000052
Figure GDA0004131101850000052

根据公式6可以预见,当当染色组数k无限大时,调度算法优化后并行染色方法相对于优化前并行染色方式,其效率提升预计可以达到3倍。According to Formula 6, it can be predicted that when the number of dyeing groups k is infinite, the efficiency of the parallel dyeing method after scheduling algorithm optimization is expected to be improved by 3 times compared with the parallel dyeing method before optimization.

优化前该染色方式共使用了19个染槽,那么优化前染槽使用率为19/26≈73%。优化后该染色方式共使用24个染槽,那么优化后染槽使用率提升为24/26≈92%。Before optimization, the dyeing method used 19 dyeing tanks, so the utilization rate of the dyeing tanks before optimization was 19/26≈73%. After optimization, the dyeing method used 24 dyeing tanks, so the utilization rate of the dyeing tanks after optimization was increased to 24/26≈92%.

表1EA36巴氏染色方法Table 1 EA36 Papanicolaou staining method

Figure GDA0004131101850000053
Figure GDA0004131101850000053

表2染色机染槽分布Table 2 Distribution of dyeing tanks in dyeing machines

Figure GDA0004131101850000061
Figure GDA0004131101850000061

表3染槽染液初始分配方案Table 3 Initial distribution plan of dyeing bath dyeing liquid

Figure GDA0004131101850000062
Figure GDA0004131101850000062

表4染槽染液最终分配方案Table 4 Final distribution plan of dyeing bath and dyeing liquid

Figure GDA0004131101850000063
Figure GDA0004131101850000063

表5最终染色方案染色时间注册表Table 5 Final staining scheme and staining time registration table

Figure GDA0004131101850000064
Figure GDA0004131101850000064

Figure GDA0004131101850000071
Figure GDA0004131101850000071

Claims (1)

1. An efficiency optimization method for automatic staining of urine cells is characterized in that,
firstly, distributing dye vat dye liquor based on an EA36 Papanicolaou dyeing method, designing different dyeing schemes for the dyeing method according to the distributed dye vat dye liquor, and finally distributing and calculating a dyeing time registry for each dyeing scheme so as to determine the dyeing starting time and the dyeing ending time for each dyeing step; the method specifically comprises the following steps:
1) Initialization of
Recording the dyeing steps and the dyeing time of the EA36 Papanicolaou dyeing method, and recording the number and the distribution of dyeing tanks of a target dyeing machine;
2) Counting and calculating the number n of idle dyeing tanks idle
Recording the idle dyeing tanks except for the slice taking, drying and washing tanks of the dyeing machine;
3) Counting the dyeing time t 1 ~t k
Counting the dyeing time of each dyeing step, excluding time data with the same time, and then placing the time data in t according to the sequence from big to small 1 ~t k In (a) and (b);
4) Calculating the dyeing time of the unit to be t i Number of independent dye solutions n i
Dyeing time exceeds t i A plurality of dyeing tanks are allocated in the dyeing step of (1), and the washing step is not included, namely the dyeing time is t 1 To t i Is assigned to the dyeing step of (a)
Figure FDA0004131101840000011
The number of the dyeing tanks is equal to or less than 1 and x<i;
Dyeing time is not more than t i Each step is allocated with 1 dye vat;
then the total independent dye liquor number n is calculated i
5) According to the unit dyeing time t i Dispensing dye liquor
Sequentially distributing the dye solutions of the dye tanks according to the dyeing steps, and adjacently distributing multiple dye solutions of the same dyeing step;
6) Designing a dyeing scheme according to the dye liquor of the dye vat
Because the dyeing step with long dyeing time is independent of a plurality of dyeing tanks, when the dyeing tanks are distributed for parallel tasks, the steps with the plurality of dyeing tanks are distributed in turn according to the task queues, so that the same dyeing is not competing among the plurality of tasks;
7) Dyeing time registration algorithm
Calculating the entry time of the slide by using the concept of a backtracking method;
recording and storing the time registration condition of each dye vat through a global time registry; the time registry is a two-dimensional array of int types, the size of which is n x m; wherein, the row represents n dyeing tanks, the column represents that each dyeing tank can record m/2 time periods, one time period occupies two element spaces, and the two element spaces are dyeing start time and dyeing end time;
setting a dye vat table in the system, wherein the table stores the occupation condition of each dye vat; if the staining bath table data are all 0, it indicates that there is no slide in the staining bath.
CN202010012174.5A 2020-01-07 2020-01-07 An efficiency optimization method for automatic staining of urine cells Active CN111180058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010012174.5A CN111180058B (en) 2020-01-07 2020-01-07 An efficiency optimization method for automatic staining of urine cells

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010012174.5A CN111180058B (en) 2020-01-07 2020-01-07 An efficiency optimization method for automatic staining of urine cells

Publications (2)

Publication Number Publication Date
CN111180058A CN111180058A (en) 2020-05-19
CN111180058B true CN111180058B (en) 2023-05-12

Family

ID=70652544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010012174.5A Active CN111180058B (en) 2020-01-07 2020-01-07 An efficiency optimization method for automatic staining of urine cells

Country Status (1)

Country Link
CN (1) CN111180058B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118504933B (en) * 2024-07-16 2024-09-20 深圳市生强科技有限公司 Method and device for optimizing slice dyeing and slice lifting scheduling and application thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07140052A (en) * 1993-11-19 1995-06-02 Chiyoda Manufacturing Co Ltd Method for conducting a plurality of types of dyeing methods in parallel for microscopic sample by automatic dyeing system
CN101629946A (en) * 2008-07-15 2010-01-20 彭艾 Urinary cell micro staining analysis method
CN103674663A (en) * 2013-12-03 2014-03-26 珠海贝索生物技术有限公司 Dyeing instrument for flowing dip dyeing
JP2015188315A (en) * 2014-03-27 2015-11-02 日立化成株式会社 Cell capturing processing system including cell capturing apparatuses and processing liquid supply kit to be incorporated into the cell capturing processing system
CN108345498A (en) * 2018-01-30 2018-07-31 武汉呵尔医疗科技发展有限公司 A kind of dyeing scheduling system and dispatching method based on multitask staining protocols
CN108760445A (en) * 2018-08-24 2018-11-06 泰普生物科学(中国)有限公司 A kind of staining trough colouring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07140052A (en) * 1993-11-19 1995-06-02 Chiyoda Manufacturing Co Ltd Method for conducting a plurality of types of dyeing methods in parallel for microscopic sample by automatic dyeing system
CN101629946A (en) * 2008-07-15 2010-01-20 彭艾 Urinary cell micro staining analysis method
CN103674663A (en) * 2013-12-03 2014-03-26 珠海贝索生物技术有限公司 Dyeing instrument for flowing dip dyeing
JP2015188315A (en) * 2014-03-27 2015-11-02 日立化成株式会社 Cell capturing processing system including cell capturing apparatuses and processing liquid supply kit to be incorporated into the cell capturing processing system
CN108345498A (en) * 2018-01-30 2018-07-31 武汉呵尔医疗科技发展有限公司 A kind of dyeing scheduling system and dispatching method based on multitask staining protocols
CN108760445A (en) * 2018-08-24 2018-11-06 泰普生物科学(中国)有限公司 A kind of staining trough colouring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Lisheng Wan.A Scheduling Algorithm for Urine Cell Dyeing Machine.The 14th International Conference on Computer Science &amp Education.2019,第401-405页. *
成克伦 等.自动染色机在病理常规染色中的应用体会及改进.中国医疗器械信息.2019,第19-20页. *

Also Published As

Publication number Publication date
CN111180058A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN110515739B (en) Deep learning neural network model load calculation method, device, equipment and medium
CN103443737B (en) Obtaining power profile information with low overhead
CN111180058B (en) An efficiency optimization method for automatic staining of urine cells
CN110990121B (en) Kubernetes scheduling strategy based on application portraits
CN109815267A (en) The branch mailbox optimization method and system, storage medium and terminal of feature in data modeling
US20060074875A1 (en) Method and apparatus for predicting relative selectivity of database query conditions using respective cardinalities associated with different subsets of database records
CN108983722B (en) An Optimal Scheduling Method for Final Test of Integrated Circuit Chips
CN105095255A (en) Data index creating method and device
CN111965375A (en) High-throughput sample injection detection scheduling management method based on time slices
CN106354535A (en) Method and device for improving starting speed of payment terminal
WO2018055507A1 (en) Scheduling of tasks in a multiprocessor device
CN104866370B (en) Towards the dynamic time piece dispatching method and system of Parallel application under a kind of cloud computing environment
CN118011183B (en) Parallel scheduling method, equipment and medium for real-time response multi-chip multi-test task
DE112005002432T5 (en) Method and apparatus for providing a source operand for an instruction in a processor
CN112363914B (en) Parallel test resource allocation optimizing method, computing device and storage medium
CN111487422A (en) Time sequence control method, storage medium and sample analyzer
CN1851652A (en) Method for realizing process priority-level round robin scheduling for embedded SRAM operating system
CN109101313A (en) A kind of realization and test method of real-time kernel
CN110705820A (en) Scientific and technological innovation capability diagnosis report generation method and device, storage medium and terminal
CN107451038A (en) Hardware event acquisition method, processor and computing system
CN111354052B (en) PET image reconstruction method and system
CN117573523B (en) A parallel fuzz testing method based on complementarity
CN113672673B (en) Data acquisition method and device, storage medium and electronic equipment
CN119149369B (en) A performance data collection system
CN111523685A (en) Method for reducing performance modeling overhead based on active learning

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