Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, a management method of slice staining is proposed, which can be applied to a terminal, and this embodiment is exemplified as being applied to a terminal. The management method for the section staining specifically comprises the following steps:
102, obtaining slice information of a slice to be dyed, and determining a dyeing scheme corresponding to the slice to be dyed according to the slice information.
Wherein, the section to be dyed is a section needing to be dyed; the section information refers to information of a section to be stained, and the information of the section to be stained may include: information of a specimen corresponding to the section to be stained; the staining scheme refers to a staining method preset according to requirements, and one or more staining schemes can be set according to the staining requirements of the section to be stained. For example, a plurality of staining schemes are preset according to the staining requirement of the section to be stained, and one staining scheme is selected from the plurality of preset staining schemes as the staining scheme corresponding to the section to be stained. In one embodiment, the staining requirement of the section to be stained can be determined according to the information of the specimen corresponding to the section to be stained; presetting a plurality of staining schemes according to the staining requirements of the section to be stained, and determining the staining scheme of the section to be stained from the plurality of staining schemes. For example, since the information of the specimen corresponding to the section to be stained is the specimen 01 and the staining requirement of the specimen 01 is the HE staining requirement, the staining requirement of the section to be stained corresponding to the specimen 01 is also the HE staining requirement. According to the HE staining requirement of the section to be stained, a plurality of staining schemes can be preset, wherein the staining schemes comprise an HE staining scheme and a special staining scheme. An HE staining protocol is selected from a plurality of staining protocols as the staining protocol corresponding to the section to be stained.
And 104, acquiring a staining reagent corresponding to the staining scheme, and acquiring reagent parameters of the staining reagent.
Wherein, the staining reagent refers to a reagent for staining the section to be stained, the reagent parameters refer to information of the staining reagent, and the reagent parameters may include: name of the reagent. Different staining schemes correspond to different staining reagents, so that the staining reagents corresponding to the staining schemes corresponding to the to-be-stained sections can be obtained, and the to-be-stained sections are stained by using the corresponding staining reagents. In one embodiment, the staining scheme corresponding to the to-be-stained section may be an HE scheme, the staining reagents corresponding to the HE scheme are a 0.5-1% eosin alcohol solution, a hematoxylin staining solution formula and a 1% hydrochloric acid alcohol differentiation solution, and the reagent parameters of the three reagents may be obtained respectively, for example, the reagent names of the three reagents are obtained in a distributed manner. Since the dyeing scheme can correspond to a plurality of dyeing reagents, and the reagent states of each dyeing reagent are different, in order to ensure the stability of the dyeing quality, the reagent state of each dyeing reagent needs to be monitored, so that the reagent state of the dyeing reagent can be judged and monitored according to the reagent parameters by acquiring the reagent parameters corresponding to the dyeing reagents.
And 106, determining the reagent state of the staining reagent according to the reagent parameters.
Wherein the reagent state includes a normal state and an abnormal state of the staining reagent. Since the reagent parameter is information of the staining reagent, and whether the staining reagent meets the staining requirement can be determined by the information of the staining reagent, if the staining reagent can be used for staining, the reagent state of the staining reagent is determined, that is, the reagent state of the staining reagent which can be used for staining is normal, and the reagent state of the staining reagent which cannot be used for staining is abnormal. In one embodiment, the reagent parameters may be: the method comprises the following steps of (1) carrying out actual dyeing number of pieces of a dyeing reagent and preset dyeing number of pieces, wherein the actual dyeing number of pieces refers to the number of sections which are actually dyed by the dyeing reagent, and the preset dyeing number of pieces refers to the number of sections which can be dyed by the preset dyeing reagent; the reagent state of the staining reagent is determined according to the reagent parameters, and whether the staining reagent can be used for staining or not can be determined according to the preset staining number and the actual staining number of the staining reagent. For example, it is determined whether the staining reagent can be used for staining by judging whether the quantitative relationship between the preset number of staining pieces and the actual number of staining pieces meets the staining requirement. Determining that the reagent status of the staining reagent is normal when the staining reagent can be used for staining; when the staining reagent cannot be used for staining, the reagent state of the staining reagent is determined to be abnormal, thereby achieving determination of the reagent state of the staining reagent.
And 108, when the reagent state is abnormal, replacing the corresponding staining reagent, and staining the section to be stained according to the replaced staining reagent.
The abnormal reagent state means that the state of the staining reagent is abnormal. The abnormal reagent state of the staining reagent may mean that the staining reagent cannot be used to stain the section to be stained. Since the abnormal reagent having the abnormal reagent state cannot be used for staining the section to be stained, it is necessary to replace the abnormal reagent with a staining reagent that can be used for staining the section to be stained and then stain the section to be stained according to the staining reagent that can be used for staining. In one embodiment, when the reagent status of the staining reagent is abnormal, the abnormal reagent may be replaced with a normal reagent, for example, the abnormal xylene reagent is replaced with a normal xylene reagent, and the stained section is stained with the normal xylene reagent. The normal reagent is a reagent in which the state of the staining reagent is normal, and may be a staining reagent that can be used for staining, for example, a xylene reagent, 100% alcohol, or hematoxylin reagent that can be used for staining. The staining reagent which can be used for staining is used for staining the section to be stained, so that the stability of the staining quality can be ensured.
The section staining management method can know whether the current staining reagent is an abnormal reagent by determining the reagent state of the staining reagent; through changing abnormal reagent, the stability of dyeing quality can be guaranteed by using the dyeing reagent after the change to dye, the timely recording of the reagent state and the timely change of the dyeing reagent are realized, and the effective management and monitoring of slice dyeing are realized.
In one embodiment, the reagent parameters include: the number of the preset dyeing pieces of the dyeing reagent, the actual number of the dyeing pieces of the dyeing agent, the preset using days of the dyeing reagent and the actual using days of the dyeing reagent.
The preset number of staining pieces is the number of sections which can be stained by the preset staining reagent, the actual number of staining pieces is the number of sections which are actually stained by the staining reagent, the preset number of days of use is the number of days which can be used by the preset staining reagent, and the actual number of days of use is the number of days which the staining reagent is actually used.
As shown in fig. 2, the determining the reagent status of the staining reagent according to the reagent parameter includes:
step 202, determining the quantity relationship between the actual dyeing number and the preset dyeing number, and entering step 204 when the actual dyeing number is greater than or equal to the preset dyeing number; when the actual number of the dyed pieces is smaller than the preset number of the dyed pieces, entering step 206;
the number relationship between the actual number of dyed pieces and the preset number of dyed pieces refers to the size relationship between the actual number of dyed pieces and the preset number of dyed pieces, for example: the actual dyeing number is smaller than the preset dyeing number, the actual dyeing number is equal to the preset dyeing number, and the actual dyeing number is larger than the preset dyeing number.
Step 204, determining that the reagent state of the staining reagent is abnormal.
Since the preset number of staining reagents is the number of sections that can be stained by the preset staining reagent, when the actual number of staining reagents is greater than or equal to the preset number of staining reagents, the staining reagent cannot be continuously used for staining the sections to be stained, and the reagent state of the staining reagent that cannot be used for staining is abnormal. In one embodiment, assuming that the number of the preset dyeing pieces is 1000, the number of the actual dyeing pieces is 1200, and the number relationship between the number of the actual dyeing pieces and the number of the preset dyeing pieces is that the number of the actual dyeing pieces is greater than the number of the preset dyeing pieces. Since the number of sections that can be stained by the staining reagent is limited, when the number of actual staining pieces is larger than the preset number of staining pieces, the staining reagent cannot be used for staining continuously, otherwise the staining quality is affected. It is possible to determine that the reagent state of the staining reagent is abnormal when the actual number of staining sheets is greater than or equal to the preset number of staining sheets.
In step 206, the reagent status of the staining reagent is determined to be normal.
When the actual number of the staining reagents is smaller than the preset number of the staining reagents, the staining reagents can be continuously used for staining the section to be stained, namely, the requirement of the number of the sections which can be stained by the staining reagents is met, so that the reagent state of the staining reagents at the moment can be determined to be normal.
As shown in fig. 3, the determining the reagent state of the staining reagent according to the reagent parameter further includes:
step 302, acquiring actual use days and preset use days in the reagent parameters.
The preset number of days of use refers to the number of days that the preset staining reagent can be used, and the actual number of days of use refers to the number of days that the staining reagent has actually been used.
Step 304, determining the quantity relationship between the actual use days and the preset use days, and entering step 306 when the actual dyeing days are greater than or equal to the preset dyeing days; and when the actual dyeing days are less than the preset dyeing days, the step 308 is carried out.
The quantity relationship between the actual usage days and the preset usage days refers to the magnitude relationship between the actual usage days and the preset usage days, for example: the actual using days are less than the preset using days, equal to the preset using days and more than the preset using days.
Step 306, determining the reagent status of the staining reagent as abnormal.
Since the preset number of use days is the number of days for which the staining reagent is previously set to be usable, when the number of actual use days is greater than or equal to the preset number of use days, the staining reagent cannot be continuously used for staining the section to be stained, and the reagent state of the staining reagent is abnormal at this time. In one embodiment, assuming that the preset number of usage days is 7 days and the number of actual usage days is 7 days, the number relationship between the number of actual usage days and the preset number of usage days is such that the number of actual usage days is equal to the preset number of usage days. When the actual using days are equal to the preset using days, the dyeing reagent cannot be continuously used for dyeing; and the staining reagent which is placed for a long time is used for staining the section to be stained, which affects the staining quality. It is possible to determine that the reagent state of the staining reagent is abnormal when the number of actual use days is greater than or equal to the preset number of use days.
In step 308, the reagent status of the staining reagent is determined to be normal.
When the actual using days of the staining reagent is less than the preset using days, the staining reagent can be continuously used for staining the section to be stained, namely, the staining reagent meets the requirement of the usable time of the staining reagent, so that the reagent state of the staining reagent at the moment can be determined to be normal.
By determining the quantity relationship between the actual dyeing number of the dyeing reagent and the preset dyeing number and determining the quantity relationship between the actual using days and the preset using days of the dyeing reagent, whether the dyeing reagent can be continuously used for dyeing or not can be judged, the reagent state of the dyeing reagent which can be continuously used for dyeing is normal, the reagent state of the dyeing reagent which can not be continuously used for dyeing is abnormal, the reagent state of the dyeing reagent can be effectively monitored in real time, the automatic early warning of the overdue or excessive dyeing reagent is realized, and the dyeing quality is ensured.
In one embodiment, the method further comprises:
step 1, obtaining reagent parameters of a staining reagent with a normal reagent state, wherein the reagent parameters comprise: number of remaining stained pieces and remaining days of use.
Wherein the reagent parameters of the staining reagent with the normal reagent state refer to the information of the staining reagent with the normal reagent state; the number of the remaining staining slices is the number of the slices which can be continuously stained by the staining reagent; the remaining number of days of use refers to the number of days that the staining reagent can be used further. Since the staining reagent whose reagent state is normal is a staining reagent that can be continued to be used for staining, the number of sections that can be actually stained by the staining reagent that can be continued to be used for staining and the actual use time can be further determined. The number of the sections and the number of the continuous use days for which the staining reagent in the normal reagent state can be continuously stained can be judged by acquiring the reagent parameters of the staining reagent in the normal reagent state, that is, the remaining service life of the staining reagent in the normal reagent state is determined. In one embodiment, the dyeing reagent with the normal reagent status may be a dyeing reagent with an actual number of dyeing pieces smaller than a preset number of dyeing pieces, for example, the actual number of dyeing pieces is 200, the preset number of dyeing pieces is 500, and the reagent status of the dyeing reagent is normal when the actual number of dyeing pieces is smaller than the preset number of dyeing pieces. The number of remaining staining reagents in the normal state of the reagent may be obtained by calculating the difference between the preset number of staining reagents and the actual number of staining reagents, for example, the number of remaining staining reagents is 500 and 200 and 300. In another embodiment, the staining reagent with the normal reagent status may be a staining reagent with a number of actual use days less than a preset number of use days, for example, the number of actual use days is 3 days, the preset number of use days is 7 days, and the reagent status of the staining reagent is normal when the number of actual use days is less than the preset number of use days. The remaining number of days of use of the staining reagent for which the reagent status is normal may be obtained by calculating a difference between a preset number of days of use and an actual number of days of use, for example, 7 to 3 to 4 days.
And 2, acquiring the number of the sections of the section to be dyed and the dyeing time.
The number of the sections to be stained is the number of the sections to be stained, and the staining time of the sections to be stained is the staining time of the sections to be stained. When the staining reagent is used for staining the section to be stained, the number of residual staining pieces of some staining reagents is small, and the number of the remaining staining pieces of some staining reagents is large; the residual using days of some staining reagents are longer, and the residual using days of some staining reagents are shorter; therefore, the staining reagents with different residual lives are required to stain different to-be-stained sections, and whether the staining reagents with different residual lives can be used for staining the to-be-stained sections can be determined according to the number of the to-be-stained sections and the staining time.
Step 3, determining the quantity relationship between the number of the slices and the number of the residual dyeing pieces, and entering step 5 when the number of the slices is larger than the number of the residual dyeing pieces; when the number of the slices is less than or equal to the number of the residual dyeing slices, entering a step 6;
wherein, the number relationship between the number of the slices and the number of the remaining stained slices refers to the size relationship between the number of the slices and the number of the remaining stained slices, for example: the number of the slices is larger than the number of the residual dyeing pieces, the number of the slices is equal to the number of the residual dyeing pieces, and the number of the slices is smaller than the number of the residual dyeing pieces. In one embodiment, whether the staining reagent can stain all the sections to be stained can be judged by determining the number relationship between the number of the sections and the number of the remaining staining pieces, the reagent state of the staining reagent that can stain all the sections to be stained is determined to be normal, and the reagent state of the staining reagent that cannot stain all the sections to be stained is determined to be abnormal.
Step 4, determining the quantity relation between the dyeing time and the remaining using days, and entering step 7 when the dyeing time is greater than the remaining using days; when the staining time is less than or equal to the remaining days of use, entering step 8;
wherein, the quantitative relation between the dyeing time and the remaining using days refers to the magnitude relation between the dyeing time and the remaining using days, such as: the dyeing time is more than the remaining using days, the dyeing time is equal to the remaining using days, and the dyeing time is less than the remaining using days. In one embodiment, it is possible to determine whether the staining reagent can stain all the sections to be stained simultaneously by determining the quantitative relationship between the staining time and the remaining number of days of use, determine that the reagent status of the staining reagent that can stain all the sections to be stained simultaneously is normal, and determine that the reagent status of the staining reagent that cannot stain all the sections to be stained simultaneously is abnormal.
And 5, determining that the reagent state of the staining reagent is abnormal.
In one embodiment, when the number of sections is greater than the number of remaining staining pieces, it may be determined that the staining reagent cannot stain all of the sections to be stained. Assuming that the number of the slices is 10 and the number of the remaining staining pieces is 20, and the number of the slices is smaller than the number of the remaining staining pieces, the staining reagent can stain all the slices to be stained, and the reagent state of the staining reagent is normal; if the number of the slices is 50 and the number of the remaining staining pieces is 20, the number of the slices is larger than the number of the remaining staining pieces, the staining reagent cannot stain all the slices to be stained, and the reagent state of the staining reagent is abnormal.
And 6, determining that the reagent state of the staining reagent is normal.
In one embodiment, when the number of the slices is less than or equal to the number of the remaining staining pieces, it may be determined that the staining reagent may stain all the slices to be stained, that is, it meets the requirement that the staining reagent stains the slices to be stained at the same time, so it may be determined that the reagent state of the staining reagent at this time is normal.
And 7, determining that the reagent state of the staining reagent is abnormal.
In one embodiment, when the staining time is less than or equal to the remaining days of use, it is determined that the staining reagent can stain all of the sections to be stained simultaneously; when the staining time is longer than the remaining days of use, it is determined that the staining reagent cannot stain all the sections to be stained simultaneously. Assuming that the staining time is 1 day and the remaining number of days of use is 0.5 day, when the staining time is longer than the remaining number of days of use, the staining reagent cannot stain all the sections to be stained simultaneously, and the reagent status of the staining reagent is determined to be abnormal.
And 8, determining that the reagent state of the dyed reagent is normal.
In one embodiment, when the staining time is less than or equal to the remaining number of days of use, it may be determined that the staining reagent can stain all the sections to be stained simultaneously, that is, it is in accordance with the requirement that the staining reagent stains the sections to be stained simultaneously so that the reagent state of the staining reagent at this time may be determined to be normal.
By determining the number relationship between the number of sections of the section to be stained and the number of remaining stained sections of the staining reagent and determining the number relationship between the staining time of the section to be stained and the number of remaining days of use of the staining reagent, can judge whether the staining reagent can stain all the sections to be stained and can simultaneously stain all the sections to be stained, the reagent state of the staining reagent which can stain all the sections to be stained and can stain all the sections to be stained simultaneously is normal, the reagent state of the staining reagent which cannot stain all the sections to be stained and cannot stain all the sections to be stained simultaneously is abnormal, therefore, the improper staining reagent can be replaced in time, the most proper staining reagent is selected to stain the section to be stained, and the staining process of staining the section to be stained by using the staining reagent is monitored.
As shown in fig. 4, in an embodiment, after determining that the reagent status of the staining reagent is abnormal, the method further includes:
step 402, obtaining an abnormal reagent with abnormal reagent status, and marking the abnormal reagent.
Wherein the abnormal reagent is a reagent in which the state of the staining reagent is abnormal; labeling an abnormal reagent is labeling the abnormal reagent, and may be labeling the abnormal reagent with a color so that the abnormal reagent can be clearly identified. In one embodiment, the abnormal reagent with overdue or excess amount can be marked with red, and the reagents in different states can be distinguished by using different marks, so that the early warning of the abnormal dyeing reagent is realized.
Step 404, obtaining abnormal reagent parameters corresponding to the abnormal reagent, obtaining a replacement time when the corresponding staining reagent is replaced, and obtaining an identification of a replacement operator.
Wherein, the abnormal reagent parameter refers to the information of the staining reagent with the abnormal state as the state of the staining reagent, and the abnormal reagent parameter can be: the name of the abnormal reagent; the replacement time is a time point when the abnormal reagent is replaced; the identification of the replacement operator refers to a mark indicating the identity of the operator who replaced the abnormal reagent. After the abnormal reagent is replaced, if the replacement state is not collected in time, the replacement condition of the dyeing reagent is difficult to monitor, so that the method can be used for recording the replacement state when the abnormal reagent is replaced by acquiring the parameters of the abnormal reagent, the replacement time and the identification mark of a replacement operator.
And 406, generating a replacement record table according to the abnormal reagent parameters, the replacement time and the identity of the replacement operator.
The method comprises the steps of generating a replacement record table according to the name and the time of the abnormal reagent and the identity of a replacement operator in the abnormal reagent parameter, wherein the replacement record table is generated according to the name and the time of the abnormal reagent and the identity of the replacement operator in the abnormal reagent parameter, as shown in FIG. 5, the name and the time of the abnormal reagent in the diagram correspond to the identity of the replacement operator one by one, for example, the name of the abnormal reagent is xylene, the replacement time of the xylene is 2019-09-2612:46:26, the identity of the corresponding replacement operator is ①, the name of the abnormal reagent is 100% alcohol, the replacement time of the 100% alcohol is 2019-09-2612:46: 30, and the identity of the corresponding replacement person is ①.
As shown in fig. 6, in an embodiment, after replacing the corresponding staining reagent when the reagent status is abnormal and staining the to-be-stained section according to the replaced staining reagent, the method further includes:
step 602, obtaining reagent parameters of the replaced staining reagent, where the reagent parameters include: number of actual stained pieces and actual days of use.
The changed staining reagent can be a normal reagent, the number of actual staining slices refers to the number of slices actually stained by the changed staining reagent, and the number of actual using days refers to the number of days actually used by the changed staining reagent. The actual use condition of the normal reagent can be obtained by acquiring the actual number of staining sheets and the actual number of days of use of the normal reagent, and for example, assuming that the actual number of staining sheets is 20 and the actual number of days of use is 2 days, the actual use condition of the normal reagent can be obtained as follows: staining reagents were used for 2 days after 20 sections had been stained before staining the sections to be stained.
Step 604, acquiring the number of the slices to be stained and the staining time of the slices to be stained.
The number of the sections to be stained is the number of the sections to be stained, and the staining time of the sections to be stained is the staining time of the sections to be stained. After the section to be dyed is dyed, in order to prevent the problems of section loss, section confusion and the like, the number of sections and dyeing time of the dyed section to be dyed need to be recorded, and the number of sections and the dyeing time can be used for data check in the later period.
And 606, counting the number of the slices of the to-be-dyed slices into the number of the actual dyeing slices of the replaced dyeing reagent, and counting the dyeing time of the to-be-dyed slices into the number of the actual use days of the replaced dyeing reagent.
Wherein, the counting refers to that the number of the sections is added to the actual number of the dyed sections, and the dyeing time is added to the actual number of days of use. Since the normal reagent is used to stain the section to be stained, the number of stained reagent pieces and the number of actual use days of the normal reagent are increased correspondingly after staining. In order to ensure that the reagent state of the normal reagent is normal when the normal reagent is used for dyeing next time, the reagent parameters of the normal reagent need to be updated in time. In one embodiment, the number of the slices to be stained is set to be 30, and the staining time of the slices to be stained is set to be 0.5 day; the number of the actual staining pieces of the normal reagent before staining the section to be stained is 50, and the actual using days is 3 days. Adding the number of the sections into the number of the actual staining pieces, and adding the staining time into the number of the actual using days to obtain the number of the actual staining pieces and the number of the actual using days of the stained normal reagent, for example: the number of actual staining pieces of the normal reagent after staining was 50+ 30-80, and the number of actual days of use of the normal reagent after staining was 3+ 0.5-3.5 days. By counting the number of the slices and the dyeing time into the normal reagent parameters, the reagent parameters of the normal reagent can be updated in time, the reagent parameters of the normal reagent are ensured to be consistent with the actual condition, and the quality state of the dyeing reagent during the next dyeing is ensured to be in an accurate and clear state.
As shown in fig. 7, the acquiring the section to be stained includes:
and step 702, acquiring a section identifier corresponding to the section to be stained.
The section identifier is a mark indicating information such as a position and a category of a section to be stained. Each section to be stained corresponds to a section identifier for indicating the section information of each section to be stained. In one embodiment, the to-be-stained sections and the section identifiers are in one-to-one correspondence, so that the section identifier corresponding to each to-be-stained section can be obtained according to the to-be-stained section. For example, the section to be stained is all sections corresponding to the specimen 01, and the section identifiers of all sections corresponding to the specimen 01 can be acquired; the section to be stained is all sections corresponding to the specimen 02 and the specimen 03, and the section identification of all sections corresponding to the specimen 02 and the specimen 03 can be acquired.
And step 704, searching a staining rack corresponding to the to-be-stained section according to the section identification.
Wherein, the staining rack is a rack loaded with the section to be stained. Since the section to be dyed is loaded on the dyeing rack and the section identifier of the section to be dyed is a mark indicating information such as the position and the category of the section to be dyed, the corresponding dyeing rack where the section to be dyed is located can be found according to the section identifier of the section to be dyed. In one embodiment, the section identifiers of the sections to be stained are the section identifiers of all the sections corresponding to the specimen 01, and the No. 1 staining rack in which all the sections of the specimen 01 are located is found according to the section identifiers of all the sections corresponding to the specimen 01.
And step 706, extracting the section to be stained from the corresponding staining rack.
Since the corresponding staining rack is loaded with the section to be stained, the section to be stained can be taken out from the corresponding staining rack. In one embodiment, all the sections of the specimen 02 are the sections to be stained, and the corresponding staining racks where all the sections of the specimen 02 are located are the staining rack No. 1 and the staining rack No. 2, so that the sections of the specimen 02 are taken out from the staining racks No. 1 and No. 2 respectively, and all the sections of the specimen 02 are the sections to be stained. According to the method, the section to be dyed is extracted from the corresponding staining rack through the association relation between the section to be dyed and the staining rack, so that the section to be dyed can be accurately obtained, and the problems of section loss and section confusion are effectively solved.
As shown in fig. 8, in one embodiment, prior to the obtaining the section to be stained, the method further comprises:
step 802, acquiring a dyeing rack identifier to be loaded.
The dyeing rack identification to be loaded is a mark of information such as dyeing rack types and the like to be loaded, and each dyeing rack to be loaded corresponds to one dyeing rack identification and is used for indicating the dyeing rack information of each dyeing rack to be loaded. In one embodiment, the dyeing rack identifiers correspond to the dyeing racks to be loaded one by one, so that the dyeing rack identifier corresponding to each dyeing rack to be loaded can be obtained according to the dyeing racks to be loaded. For example, the staining rack to be loaded is a staining rack loaded with 30 slices and a staining rack loaded with 20 slices, and the staining rack identification of the staining rack loaded with 30 slices and the staining rack identification of the staining rack loaded with 20 slices can be acquired.
And 804, adding the section identifications corresponding to the sections to be dyed one by one under the dyeing frame identifications, and calling a mechanical arm according to the section identifications to load the sections to be dyed corresponding to the section identifications into the dyeing frame corresponding to the dyeing frame identifications.
The adding one by one refers to loading the section identifications corresponding to the sections to be dyed into the dyeing rack identifications to be loaded one by one until the section identifications are loaded to the maximum capacity of the dyeing rack to be loaded. Due to the fact that the section identification of the section to be dyed is added in the dyeing frame identification, the mechanical arm can be called to extract the section to be dyed corresponding to the section identification according to the section identification, and the section to be dyed is loaded on the dyeing frame corresponding to the dyeing frame identification. In one embodiment, the staining rack identifier may be No. 1 staining rack, and the section identifier corresponding to the section to be stained is the section identifier of all sections of the specimen 03. The section identification of all the sections of the specimen 03 is added one by one under the No. 1 staining rack, all the sections of the specimen 03 are extracted by calling a mechanical arm according to the added section identification, and all the sections of the specimen 03 are loaded on the No. 1 staining rack.
Step 806, establishing a corresponding relationship between the staining rack identifier and the section identifier.
The section identification is added to the staining rack identification, and thus, the corresponding relation between the staining rack identification and the section identification is established. In one embodiment, the corresponding staining rack, and the section information of the section loaded on the staining rack, can be obtained by scanning the staining rack identification on the staining rack. Fig. 9 is a schematic interface diagram illustrating the establishment of the correspondence between the staining rack identifier and the section identifier in one embodiment.
As shown in fig. 10, an embodiment of the present invention provides a management apparatus for staining a slice, including:
the first obtaining module 1002 is configured to obtain slice information of a slice to be dyed, and determine a dyeing scheme corresponding to the slice to be dyed according to the slice information;
a second module 1004, configured to obtain a staining reagent corresponding to the staining protocol, and obtain reagent parameters of the staining reagent;
a determining module 1006 for determining a reagent state of the staining reagent according to the reagent parameter;
and the staining module 1008 is used for replacing the corresponding staining reagent when the reagent state is abnormal, and staining the to-be-stained section according to the replaced staining reagent.
In one embodiment, the reagent parameters include: the number of preset dyeing pieces of the dyeing reagent, the actual number of dyeing pieces of the dyeing agent, the preset number of days of use of the dyeing reagent and the actual number of days of use of the dyeing reagent are set; the determining a reagent state of the staining reagent from the reagent parameter comprises: the determining module 1006 is further configured to determine a quantity relationship between the actual number of staining sheets and the preset number of staining sheets, and determine that the reagent status of the staining reagent is abnormal when the actual number of staining sheets is greater than or equal to the preset number of staining sheets; the determining module 1006 is further configured to determine a quantity relationship between the actual number of days of use and the preset number of days of use, and determine that the reagent status of the staining reagent is abnormal when the actual number of days of use is greater than or equal to the preset number of days of use.
In one embodiment, the method further comprises: the first obtaining module 1002 is further configured to obtain reagent parameters of a staining reagent with a normal reagent status, where the reagent parameters include: the number of remaining staining pieces and the number of remaining days of use; the second obtaining module 1004 is further configured to obtain the number of slices of the slice to be stained and the staining time; the determining module 1006 is further configured to determine a quantitative relationship between the number of slices and the number of remaining staining pieces, and when the number of slices is greater than the number of remaining staining pieces, determine that the reagent status of the staining reagent is abnormal; the determining module 1006 is further configured to determine a quantitative relationship between the staining time and the remaining days of use, and when the staining time is greater than the remaining days of use, determine that the reagent status of the staining reagent is abnormal.
In one embodiment, after the determining that the reagent status of the staining reagent is abnormal, the method further comprises: the first obtaining module 1002 is further configured to obtain an abnormal reagent with an abnormal reagent status, and mark the abnormal reagent; the second obtaining module 1004 is further configured to obtain an abnormal reagent parameter corresponding to the abnormal reagent, obtain a replacement time when the corresponding staining reagent is replaced, and obtain an identity of a replacement operator; the second obtaining module 1004 is further configured to generate a replacement record table according to the abnormal reagent parameter, the replacement time, and the identity of the replacement operator.
In one embodiment, after the replacing the corresponding staining reagent when the reagent status is abnormal and staining the section to be stained according to the replaced staining reagent, the method further includes: the first obtaining module 1002 is further configured to obtain reagent parameters of the replaced staining reagent, where the reagent parameters include: actual number of staining pieces and actual number of days of use; the second obtaining module 1004 is further configured to obtain the number of slices of the slice to be stained and the staining time of the slice to be stained; the second obtaining module 1004 is further configured to count the number of the slices to be stained into the number of actual staining reagent slices after the replacement, and count the staining time of the slices to be stained into the number of actual using days of the replacement staining reagent.
In one embodiment, the obtaining the section to be stained comprises: the first obtaining module 1002 is further configured to obtain a slice identifier corresponding to the slice to be stained; searching a staining rack corresponding to the to-be-stained section according to the section identification; the second obtaining module 1004 is further configured to extract the section to be stained from the corresponding staining rack.
In one embodiment, prior to said obtaining the section to be stained, the method further comprises: the first obtaining module 1002 is further configured to obtain a dyeing rack identifier to be loaded; adding section marks corresponding to the sections to be dyed one by one under the dyeing frame marks, and loading the sections to be dyed corresponding to the section marks into the dyeing frame corresponding to the dyeing frame marks by using a mechanical arm according to the section marks; and establishing a corresponding relation between the staining rack identification and the section identification.
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may be a terminal. As shown in fig. 11, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by the processor, causes the processor to implement a method of managing staining of slices. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a method of managing staining of a section. The network interface is used for communicating with the outside. Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the management method for staining a slice provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 11. The memory of the computer device may store therein the respective program templates constituting the management means of the staining of the slices. For example, the first acquiring module 1002, the second acquiring module 1004, the determining module 1006, and the staining module 1008.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: obtaining slice information of a slice to be dyed, and determining a dyeing scheme corresponding to the slice to be dyed according to the slice information; obtaining a dyeing reagent corresponding to the dyeing scheme, and obtaining reagent parameters of the dyeing reagent; determining a reagent status of the staining reagent according to the reagent parameter; and when the reagent state is abnormal, replacing the corresponding staining reagent, and staining the section to be stained according to the replaced staining reagent.
In one embodiment, the reagent parameters include: the number of preset dyeing pieces of the dyeing reagent, the actual number of dyeing pieces of the dyeing agent, the preset number of days of use of the dyeing reagent and the actual number of days of use of the dyeing reagent are set; the determining a reagent state of the staining reagent from the reagent parameter comprises: determining the quantity relationship between the actual number of the staining reagent and the preset number of the staining reagent, and determining that the reagent state of the staining reagent is abnormal when the actual number of the staining reagent is greater than or equal to the preset number of the staining reagent; and determining the quantity relation between the actual using days and the preset using days, and determining that the reagent state of the dyeing reagent is abnormal when the actual dyeing days is more than or equal to the preset dyeing days.
In one embodiment, the method further comprises: obtaining reagent parameters of a staining reagent with a normal reagent state, wherein the reagent parameters comprise: the number of remaining staining pieces and the number of remaining days of use; acquiring the number of the sections to be stained and staining time; determining a quantitative relationship between the number of the sections and the number of the remaining staining pieces, and determining that the reagent state of the staining reagent is abnormal when the number of the sections is larger than the number of the remaining staining pieces; determining a quantitative relationship between the staining time and the remaining number of days of use, and determining that the reagent status of the staining reagent is abnormal when the staining time is greater than the remaining number of days of use.
In one embodiment, after the determining that the reagent status of the staining reagent is abnormal, the method further comprises: obtaining abnormal reagent with abnormal reagent state, and marking the abnormal reagent; acquiring abnormal reagent parameters corresponding to the abnormal reagent, acquiring the replacement time when the corresponding dyeing reagent is replaced, and acquiring the identity of a replacement operator; and generating a replacement record table according to the abnormal reagent parameters, the replacement time and the identity of the replacement operator.
In one embodiment, after the replacing the corresponding staining reagent when the reagent status is abnormal and staining the section to be stained according to the replaced staining reagent, the method further includes: obtaining reagent parameters of the replaced staining reagent, the reagent parameters comprising: actual number of staining pieces and actual number of days of use; acquiring the number of the sections to be dyed and the dyeing time of the sections to be dyed; and counting the number of the sections of the section to be dyed into the number of the actual dyeing sections of the changed dyeing reagent, and counting the dyeing time of the section to be dyed into the number of the actual using days of the changed dyeing reagent.
In one embodiment, the obtaining the section to be stained comprises: acquiring a section identifier corresponding to the section to be dyed; searching a staining rack corresponding to the to-be-stained section according to the section identification; and extracting the section to be dyed from the corresponding dyeing rack.
In one embodiment, prior to said obtaining the section to be stained, the method further comprises: acquiring a dyeing rack identifier to be loaded; adding section marks corresponding to the sections to be dyed one by one under the dyeing frame marks, and loading the sections to be dyed corresponding to the section marks into the dyeing frame corresponding to the dyeing frame marks by using a mechanical arm according to the section marks; and establishing a corresponding relation between the staining rack identification and the section identification.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: obtaining slice information of a slice to be dyed, and determining a dyeing scheme corresponding to the slice to be dyed according to the slice information; obtaining a dyeing reagent corresponding to the dyeing scheme, and obtaining reagent parameters of the dyeing reagent; determining a reagent status of the staining reagent according to the reagent parameter; and when the reagent state is abnormal, replacing the corresponding staining reagent, and staining the section to be stained according to the replaced staining reagent.
In one embodiment, the reagent parameters include: the number of preset dyeing pieces of the dyeing reagent, the actual number of dyeing pieces of the dyeing agent, the preset number of days of use of the dyeing reagent and the actual number of days of use of the dyeing reagent are set; the determining a reagent state of the staining reagent from the reagent parameter comprises: determining the quantity relationship between the actual number of the staining reagent and the preset number of the staining reagent, and determining that the reagent state of the staining reagent is abnormal when the actual number of the staining reagent is greater than or equal to the preset number of the staining reagent; and determining the quantity relation between the actual using days and the preset using days, and determining that the reagent state of the dyeing reagent is abnormal when the actual dyeing days is more than or equal to the preset dyeing days.
In one embodiment, the method further comprises: obtaining reagent parameters of a staining reagent with a normal reagent state, wherein the reagent parameters comprise: the number of remaining staining pieces and the number of remaining days of use; acquiring the number of the sections to be stained and staining time; determining a quantitative relationship between the number of the sections and the number of the remaining staining pieces, and determining that the reagent state of the staining reagent is abnormal when the number of the sections is larger than the number of the remaining staining pieces; determining a quantitative relationship between the staining time and the remaining number of days of use, and determining that the reagent status of the staining reagent is abnormal when the staining time is greater than the remaining number of days of use.
In one embodiment, after the determining that the reagent status of the staining reagent is abnormal, the method further comprises: obtaining abnormal reagent with abnormal reagent state, and marking the abnormal reagent; acquiring abnormal reagent parameters corresponding to the abnormal reagent, acquiring the replacement time when the corresponding dyeing reagent is replaced, and acquiring the identity of a replacement operator; and generating a replacement record table according to the abnormal reagent parameters, the replacement time and the identity of the replacement operator.
In one embodiment, after the replacing the corresponding staining reagent when the reagent status is abnormal and staining the section to be stained according to the replaced staining reagent, the method further includes: obtaining reagent parameters of the replaced staining reagent, the reagent parameters comprising: actual number of staining pieces and actual number of days of use; acquiring the number of the sections to be dyed and the dyeing time of the sections to be dyed; and counting the number of the sections of the section to be dyed into the number of the actual dyeing sections of the changed dyeing reagent, and counting the dyeing time of the section to be dyed into the number of the actual using days of the changed dyeing reagent.
In one embodiment, the obtaining the section to be stained comprises: acquiring a section identifier corresponding to the section to be dyed; searching a staining rack corresponding to the to-be-stained section according to the section identification; and extracting the section to be dyed from the corresponding dyeing rack.
In one embodiment, prior to said obtaining the section to be stained, the method further comprises: acquiring a dyeing rack identifier to be loaded; adding section marks corresponding to the sections to be dyed one by one under the dyeing frame marks, and loading the sections to be dyed corresponding to the section marks into the dyeing frame corresponding to the dyeing frame marks by using a mechanical arm according to the section marks; and establishing a corresponding relation between the staining rack identification and the section identification.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.