Method and apparatus of processing yarn spindle, device and storage medium
Provided is a method of processing a yarn spindle, an electronic device and a storage medium. The method includes: after determining a target yarn box to be transferred to a temporary storage facility, selecting N candidate storage locations from a plurality of storage locations in the temporary storage facility, where the target yarn box contains a plurality of yarn spindles to be cooled, and N is a positive integer greater than or equal to 1; obtaining an actual temperature of each of the N candidate storage locations; and selecting a target storage location from the N candidate storage locations based on the actual temperature of each candidate storage location, and temporarily storing the target yarn box to the target storage location.
1 . A method of processing a yarn spindle, comprising:
after determining a target yarn box to be transferred to a temporary storage facility, selecting N candidate storage locations from a plurality of storage locations in the temporary storage facility, comprising:
after determining the target yarn box to be transferred to the temporary storage facility, determining M storage locations in an idle state from the plurality of storage locations in the temporary storage facility; and
in a case of the quantity M of the storage locations is greater than a first threshold value, selecting the N candidate storage locations from the M storage locations in the idle state, comprising:
obtaining doffing characteristic information of the target yarn box; wherein the target yarn box contains a plurality of yarn spindles to be cooled, and the doffing characteristic information of the target yarn box is obtained based on at least doffing time of the yarn spindles in the target yarn box;
obtaining latest doffing time of the target yarn box based on the doffing characteristic information of the target yarn box; and
selecting the N candidate storage locations from the M storage locations in the idle state based on idle time of each of the M storage locations in the idle state and the latest doffing time of the target yarn box; wherein N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to N;
obtaining an actual temperature of each of the N candidate storage locations; and
selecting a target storage location from the N candidate storage locations based on the actual temperature of each candidate storage location, and temporarily storing the target yarn box to the target storage location.
2 . The method of claim 1 , wherein after determining the target yarn box to be transferred to the temporary storage facility, selecting the N candidate storage locations from the plurality of storage locations in the temporary storage facility, comprises:
after determining the target yarn box to be transferred to the temporary storage facility, determining the M storage locations in the idle state from the plurality of storage locations in the temporary storage facility; and
or in a case of the quantity M of the storage locations is less than or equal to the first threshold value, designating the M storage locations in the idle state as the N candidate storage locations.
3 . The method of claim 1 , wherein selecting the N candidate storage locations from the M storage locations in the idle state based on the idle time of each of the M storage locations in the idle state and the latest doffing time of the target yarn box comprises:
obtaining environmental characteristic information;
determining a time difference between the idle time of each of the M storage locations in the idle state and the latest doffing time of the target yarn box; and
selecting the N candidate storage locations capable of performing cooling processing on the yarn spindles in the target yarn box under an environment represented by the environmental characteristic information based on the environmental characteristic information and the time difference corresponding to each of the M storage locations.
4 . The method of claim 1 , wherein selecting the target storage location from the N candidate storage locations based on the actual temperature of each candidate storage location, and temporarily storing the target yarn box to the target storage location comprises:
obtaining a target temperature of the target yarn box; and
after determining that at least one candidate storage location having a temperature difference with respect to the target temperature of the target yarn box within a preset temperature difference range exists in the N candidate storage locations, determining a target storage location from the at least one candidate storage location having the temperature difference with respect to the target temperature of the target yarn box within the preset temperature difference range, and temporarily storing the target yarn box to the target storage location.
5 . The method of claim 4 , further comprising:
after determining that at least one candidate storage location having the temperature difference with respect to the target temperature of the target yarn box within the preset temperature difference range does not exist in the N candidate storage locations, selecting the target storage location from the N candidate storage locations; and
generating a control instruction based on a difference degree between an actual temperature of the selected target storage location and the target temperature of the target yarn box, wherein the control instruction is used for starting a preheating component to preheat the target storage location and re-obtaining the actual temperature of the target storage location after a preset time length is reached; or the control instruction is used for starting a heat energy recovery component to recover heat energy of the target storage location and re-obtaining the actual temperature of the target storage location after the preset time length is reached.
6 . The method of claim 4 , wherein obtaining the target temperature of the target yarn box comprises:
obtaining a temperature of environment where the target yarn box is located, wherein the temperature is collected by a sensor, and obtaining the target temperature of the target yarn box based on the temperature of the environment where the target yarn box is located; or
obtaining doffing characteristic information of the target yarn box, wherein the doffing characteristic information of the target yarn box is obtained based on at least doffing time of the yarn spindles in the target yarn box; and estimating and obtaining the target temperature of the target yarn box based on the doffing characteristic information of the target yarn box.