Method and apparatus for monitoring concentration of reagent, electronic device, and computer readable storage medium
This disclosure relates to a method and an apparatus for monitoring a concentration of a reagent, an electronic device, a computer-readable storage medium. The method includes: acquiring a first concentration of a current reagent measured during filling of the current reagent with a preset concentration; acquiring a current volume of carryover determined in filling and draining a previous reagent; acquiring a second concentration of the current reagent measured during draining of the current reagent and determining, based on the preset concentration, a volume of the reagent bottle and the current volume of carryover, a third concentration of the current reagent; updating the current volume of carryover based on the first concentration, the second concentration and the volume of the reagent bottle; and when the third concentration is less than a preset concentration limit, reminding to replace the current reagent and/or refreshing the current reagent with a higher concentrated reagent.
1 . A computer-implemented method for monitoring a concentration of a reagent, comprising:
acquiring, by a processor, a first concentration of a current reagent measured by a density meter during filling of the current reagent with a preset concentration from a reagent bottle into a vessel via a liquid path, the density meter operatively connected to the processor;
acquiring, by the processor, a current volume of carryover left in the vessel and the liquid path determined in a process of filling a previous reagent into the vessel and draining the previous reagent out from the vessel;
acquiring, by the processor, a second concentration of the current reagent measured by the density meter during draining of the current reagent from the vessel to the reagent bottle via the liquid path;
determining, by the processor and based on the preset concentration, a volume of the reagent bottle and the current volume of carryover, a third concentration of the current reagent after the current reagent is drained out from the vessel to the reagent bottle;
updating, by the processor, the current volume of carryover left in the vessel and the liquid path based on the first concentration, the second concentration and the volume of the reagent bottle; and
when the third concentration is less than a preset concentration limit, generating, by the processor, an electronic reminder signal reminding a user to replace the current reagent and/or refreshing the current reagent with a higher concentrated reagent.
2 . The method of claim 1 , wherein the determining, by the processor and based on the preset concentration, the volume of the reagent bottle and the current volume of carryover, the third concentration of the current reagent after the current reagent is drained out from the vessel to the reagent bottle comprises:
after the current reagent is filled into the vessel, determining a concentration of the current reagent in the vessel based on the preset concentration, the volume of the reagent bottle and the current volume of carryover;
after the current reagent is drained out from the vessel to the reagent bottle, controlling the reagent bottle to be supplemented with the current reagent having the preset concentration; and
determining the third concentration of the current reagent in the reagent bottle based on the concentration of the current reagent in the vessel, the volume of the reagent bottle, the preset concentration and the current volume of carryover.
3 . The method of claim 2 , wherein the determining the concentration of the current reagent in the vessel based on the preset concentration, the volume of the reagent bottle and the current volume of carryover comprises:
calculating a volume of major component of the current reagent in the vessel using a formula of Vaf=(Vb−Vco)×Cbf; and
calculating the concentration of the current reagent in the vessel using a formula of Caf=Vaf÷Vb;
where Vaf represents the volume of major component of the current reagent in the vessel, Vco represents the current volume of carryover, Vb represents the volume of the reagent bottle, and Cbf represents the preset concentration, Caf represents the concentration of the current reagent in the vessel.
4 . The method of claim 2 , wherein the determining the third concentration of the current reagent in the reagent bottle based on the concentration of the current reagent in the vessel, the volume of the reagent bottle, the preset concentration and the current volume of carryover comprises:
calculating a volume of major component of the current reagent in the reagent bottle using a formula of Vad=(Vb−Vco)×Caf+Vco×Cbf; and
calculating the third concentration of the current reagent in the reagent bottle using a formula of Cad=Vad=Vb;
where Vad represents the volume of major component of the current reagent in the reagent bottle, Vco represents the current volume of carryover, Vb represents the volume of the reagent bottle, and Cbf represents the preset concentration, Caf represents the concentration of the current reagent in the vessel, and Cad represents the third concentration.
5 . The method of claim 1 , wherein the updating, by the processor, the current volume of carryover left in the vessel and the liquid path based on the first concentration, the second concentration and the volume of the reagent bottle comprises:
calculating an updated volume of carryover using a formula of:
Vco ′=(CDF−CDD)/CDF× Vb
replacing the current volume of carryover with the updated volume of carryover;
where Vco′ represents the updated volume of carryover, CDD represents the second concentration of the current reagent, CDF represents the first concentration of the current reagent, and Vb represents the volume of the reagent bottle.
6 . The method of claim 1 , wherein the current reagent is selected from a group consisting of Ethanol and Xylene.
7 . An electronic device, comprising:
a processor;
a memory, configured to store instructions executable by the processor, wherein when the instructions are executed by the processor, the processor is caused to perform the method according to claim 1 .
8 . A non-transitory computer-readable medium having instructions stored thereon for execution by a processor to implement operations of the method according to claim 1 .
9 . The method of claim 1 , wherein the reminder signal comprises at least one of a video signal, an audio signal, and a vibration signal.
10 . An apparatus for monitoring a concentration of a reagent, comprising:
a processor;
a density meter operatively connected to the processor; and
a memory including:
a first acquiring module, configured to cause the processor to acquire a first concentration of a current reagent measure by the density meter during filling of the current reagent with a preset concentration from a reagent bottle into a vessel via a liquid path;
a second acquiring module, configured to cause the processor to acquire a current volume of carryover left in the vessel and the liquid path determined in a process of filling a previous reagent into the vessel and draining the previous reagent out from the vessel;
a determining module configured to cause the processor to:
acquire a second concentration of the current reagent measured by the density meter during draining of the current reagent from the vessel to the reagent bottle via the liquid path, and
determine, based on the preset concentration, a volume of the reagent bottle and the current volume of carryover, a third concentration of the current reagent after the current reagent is drained out from the vessel to the reagent bottle;
an updating module configured to cause the processor to update the current volume of carryover left in the vessel and the liquid path based on the first concentration, the second concentration and the volume of the reagent bottle; and
a reminding module configured to cause the processor to generate an electronic reminder signal to remind a user to replace the current reagent when the third concentration is less than a preset concentration limit and/or a refreshing module, configured to refresh the current reagent with a higher concentrated reagent.
11 . The apparatus of claim 10 , wherein the determining module comprises:
a first determining unit, configured to, after the current reagent is filled into the vessel, determine a concentration of the current reagent in the vessel based on the preset concentration, the volume of the reagent bottle and the current volume of carryover;
a control unit, configured to, after the current reagent is drained out from the vessel to the reagent bottle, control the current reagent to be drained out from the vessel to the reagent bottle and control the reagent bottle to be supplemented with the current reagent having a preset concentration; and
a second determining unit, configured to determine the third concentration of the current reagent in the reagent bottle based on the concentration of the current reagent in the vessel, the volume of the reagent bottle, the preset concentration and the current volume of carryover.
12 . The apparatus of claim 11 , wherein the first determining unit comprises:
a first calculating sub module, configured to calculate a volume of major component of the current reagent in the vessel using a formula of Vaf=(Vb−Vco)×Cbf; and
a second calculating sub module, configured to calculate the concentration of the current reagent in the vessel using a formula of Caf=Vaf=Vb;
where Vaf represents the volume of major component of the current reagent in the vessel, Vco represents the current volume of carryover, Vb represents the volume of the reagent bottle, and Cbf represents the preset concentration, Caf represents the concentration of the current reagent in the vessel.
13 . The apparatus of claim 11 , wherein the second determining unit comprises:
a third calculating sub module, configured to calculate a volume of major component of the current reagent in the reagent bottle using a formula of Vad=(Vb−Vco)×Caf+Vco×Cbf; and
a fourth calculating sub module, configured to calculate the third concentration of the current reagent in the reagent bottle using a formula of Cad=Vad=Vb;
where Vad represents the volume of major component of the current reagent in the reagent bottle, Vco represents the current volume of carryover, Vb represents the volume of the reagent bottle, and Cbf represents the preset concentration, Caf represents the concentration of the current reagent in the vessel, and Cad represents the third concentration.
14 . The apparatus of claim 10 , wherein the updating module comprises:
a third determining unit, configured to determine an updated volume of carryover using a formula of:
Vco ′=(CDF−CDD)/CDF× Vb
a replacing unit, configured to replace the current volume of carryover with the updated volume of carryover;
where Vco′ represents the updated volume of carryover, CDD represents the second concentration of the current reagent, CDF represents the first concentration of the current reagent, and Vb represents the volume of the reagent bottle.
15 . The apparatus of claim 10 , wherein the current reagent is selected from a group consisting of Ethanol and Xylene.
16 . The apparatus of claim 10 , wherein the reminder signal comprises at least one of a video signal, an audio signal, and a vibration signal.
17 . An equipment for monitoring a concentration of a reagent, comprising: a density meter, a cache, a controller and a processor;
wherein the controller is configured to control a current reagent with a preset concentration to be filled into a vessel from a reagent bottle via a liquid path, and to control the current reagent to be drained out from the vessel to the reagent bottle via the liquid path;
the density meter is configured to measure a first concentration of the current reagent during the filling and a second concentration of the current reagent during the draining;
the cache is configured to cache parameters including the preset concentration, a volume of the reagent bottle, a current volume of carryover left in the vessel and the liquid path, and a preset concentration limit;
the processor is configured to:
acquire the first concentration of the current reagent measured during the filling;
acquire the preset concentration, the water concentration, the volume of the reagent bottle, the preset concentration limit, and the current volume of carryover left in the vessel from the cache;
acquire the second concentration of the current reagent measured during the draining;
determine a third concentration of the current reagent after the current reagent is drained out from the vessel to the reagent bottle based on the preset concentration, the volume of the reagent bottle and the current volume of carryover;
determine an updated current volume of carryover left in the vessel and the liquid path based on the first concentration, the second concentration and the volume of the reagent bottle, and replace the current volume of carryover saved in the cache with the updated current volume of carryover; and
when the third concentration is less than the preset concentration limit, generate a reminder signal to remind a user to replace the current reagent and/or refresh the current reagent with a higher concentrated reagent.
18 . The equipment of claim 17 , wherein the reminder signal comprises at least one of a video signal, an audio signal, and a vibration signal.