CN113760622A - Carrier use balancing method and device, readable storage medium and electronic equipment - Google Patents
Carrier use balancing method and device, readable storage medium and electronic equipment Download PDFInfo
- Publication number
- CN113760622A CN113760622A CN202111055194.1A CN202111055194A CN113760622A CN 113760622 A CN113760622 A CN 113760622A CN 202111055194 A CN202111055194 A CN 202111055194A CN 113760622 A CN113760622 A CN 113760622A
- Authority
- CN
- China
- Prior art keywords
- carrier
- port
- mapping table
- plugging
- information mapping
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013507 mapping Methods 0.000 claims abstract description 81
- 239000000969 carrier Substances 0.000 claims abstract description 56
- 238000012360 testing method Methods 0.000 claims abstract description 31
- 230000032683 aging Effects 0.000 claims description 39
- 238000012544 monitoring process Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 239000000463 material Substances 0.000 claims description 5
- 238000004519 manufacturing process Methods 0.000 description 10
- 238000012423 maintenance Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000013403 standard screening design Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a carrier use balancing method, a carrier use balancing device, a readable storage medium and electronic equipment, wherein a carrier use request of a hard disk to be tested is received; acquiring a use information mapping table of the carrier according to the use request of the carrier; the carriers to be used are determined from the carriers based on the use information mapping table, the carriers to be used are used for testing the hard disk to be tested, the carriers are selected for use according to the nominal times of the carrier ports in the prior art, the actual use information of the carriers is recorded, the carriers to be used are selected based on the use information mapping table by using the information mapping table, each carrier can be fully utilized, and therefore the carrier ports are fully utilized.
Description
Technical Field
The invention relates to the technical field of solid state disks, in particular to a carrier use balancing method and device, a readable storage medium and electronic equipment.
Background
In the process of the full-automatic production test of the SSD (Solid State Disk), the SSD is plugged onto a carrier port (SSD connector) and undergoes production test procedures such as card opening, RDT (Reliability Testing) aging, and functionality test along with carrier flow. There are hundreds of carriers on an automated manufacturing line, and each carrier typically has 8 to 32 carrier ports.
Because the plug frequency of SSD connector on the carrier is limited, belong to the consumptive material, the connector model of high plug frequency is generally selected in the design phase, and the production line is used the stage and is changed the maintenance to the connector. The existing scheme is to prejudge the service life of the connector by experience, when a carrier needs to be used, the carrier is selected for use through the prejudged service life of the connector, and when the prejudged service life of the connector is reached, the carrier is replaced periodically or irregularly. The scheme has the following defects:
1. the plug service life of the connector is judged in advance according to the nominal times of the connector, so that part of the connectors which do not reach the plug service life are not used or carriers are replaced in advance due to inaccurate judgment, the value of the connector is not fully utilized, the use cost of the connector is increased, the frequency of line stop maintenance is increased, the productivity is influenced, and the economic loss is increased;
2. the plugging and unplugging service life is pre-judged according to the nominal times in the specification of the connector, even if the nominal times of each connector are consistent, each connector is different in reality, some connectors are more resistant to plugging and unplugging, the plugging and unplugging service life is longer, and the problem that the connectors are not fully utilized when replaced or used according to the nominal times is also solved;
3. the quantity of SSD probably is not the integral multiple of connector quantity in the actual production work order, has certain mantissa, and the connector can not be inserted full condition on the existence carrier, and then leads to the actual plug number of times of each connector on the same carrier diverse, and some connectors can reach the plug life-span earlier and lead to all connectors on the whole carrier all to change, for example: the mantissa SSD is plugged into the first few ports of the carrier, and the connectors of the first few ports are replaced early. The situation also causes that the value of other connectors is not fully utilized, the use cost of the connectors is increased, the frequency of line stop maintenance is increased, the productivity is influenced, and the economic loss is increased.
4. Because the carriers are subjected to the high-temperature RDT aging test together with the SSD, the test time is different due to different SSD capacities, and even if the connectors on the two carriers are plugged and unplugged for the same times, the service life of the connector of the carrier subjected to longer high-temperature aging is shorter, so that the plugging and unplugging service life of the connector is more inaccurate.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a usage balancing method and device of a carrier, a readable storage medium and an electronic device are provided, which can realize the full utilization of carrier ports.
In order to solve the technical problems, the invention adopts a technical scheme that:
a method for balancing usage of a vehicle, comprising:
receiving a carrier use request of a hard disk to be tested;
acquiring a use information mapping table of the carrier according to the use request of the carrier;
and determining a carrier to be used from the carriers based on the use information mapping table, and testing the hard disk to be tested by using the carrier to be used.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a usage equalizing device for a vehicle, comprising:
the request receiving module is used for receiving a carrier use request of the hard disk to be tested;
the data acquisition module is used for acquiring a use information mapping table of the carrier according to the use request of the carrier;
and the to-be-used carrier determining module is used for determining a to-be-used carrier from the carriers based on the use information mapping table and testing the to-be-used carrier on the to-be-tested hard disk.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the usage balancing method for a vehicle as described above.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the usage balancing method for a vehicle when executing the computer program.
The invention has the beneficial effects that: when a use request of a hard disk to be tested is received, a carrier to be used is determined based on a use information mapping table of the carrier, the hard disk to be tested is tested by using the carrier to be used, the carrier is not selected to be used according to the nominal times of a carrier port in the prior art, but the actual use information of the carrier is recorded, namely the use information mapping table is used, the carrier to be used is selected based on the use information mapping table, each carrier can be fully utilized, and therefore the carrier port is fully utilized.
Drawings
Fig. 1 is a flowchart illustrating a method for equalizing usage of a vehicle according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a usage equalizing device of a carrier according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating the establishment of a usage information mapping table in the vehicle usage balancing method according to the embodiment of the present invention;
fig. 5 is a flowchart illustrating determining a vehicle to be used based on a usage information mapping table in a vehicle usage balancing method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for balancing usage of a carrier according to an embodiment of the present invention, where the SSD to be tested is tested by using a carrier to be used based on a usage information mapping table.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, an embodiment of the present invention provides a method for balancing usage of a carrier, including:
receiving a carrier use request of a hard disk to be tested;
acquiring a use information mapping table of the carrier according to the use request of the carrier;
and determining a carrier to be used from the carriers based on the use information mapping table, and testing the hard disk to be tested by using the carrier to be used.
From the above description, the beneficial effects of the present invention are: when a use request of a hard disk to be tested is received, a carrier to be used is determined based on a use information mapping table of the carrier, the hard disk to be tested is tested by using the carrier to be used, the carrier is not selected to be used according to the nominal times of a carrier port in the prior art, but the actual use information of the carrier is recorded, namely the use information mapping table is used, the carrier to be used is selected based on the use information mapping table, each carrier can be fully utilized, and therefore the carrier port is fully utilized.
Further, before receiving a carrier use request of a hard disk to be tested, the method further comprises the following steps:
receiving a request for establishing a use information mapping table corresponding to a carrier;
acquiring a first number and high-temperature RDT (remote desktop transport protocol) aging time corresponding to the carrier according to the establishment request, acquiring a second number and port plugging times of a port corresponding to the carrier, and establishing a use information mapping table according to the first number, the high-temperature RDT aging time, the second number and the port plugging times;
the method also comprises the following steps after receiving the carrier use request of the hard disk to be tested:
monitoring the high-temperature RDT aging time and the port plugging times according to the carrier use request to obtain monitoring information;
and updating the use information mapping table according to the monitoring information.
According to the description, a use information mapping table of the carrier is established, the use information mapping table comprises a carrier number, high-temperature RDT aging time, a port number and port plugging times, the high-temperature RDT aging time and the port plugging times of the carrier are monitored, the monitored information comprises main conditions influencing the plugging times, the use information mapping table is updated according to the monitoring information, real-time updating of actual use information of the carrier and the carrier port is achieved, and the carrier to be used is selected based on the use information mapping table conveniently in the follow-up process.
Further, the determining a vehicle to use from the vehicles based on the usage information mapping table comprises:
and judging whether the carriers are unused or not according to the use information mapping table, if so, determining the unused carriers as carriers to be used, if not, determining each carrier in the carriers as a used carrier, and determining the carriers to be used from the used carriers according to the use information mapping table.
From the above description, if there is a new carrier in the carriers, the carriers are preferentially used, more production test tasks are distributed, and the use balance of the carriers is realized by using the value of the carriers.
Further, the determining a vehicle to be used from the used vehicles according to the usage information mapping table includes:
acquiring the number of times that the port of the port corresponding to the used carrier is plugged according to the use information mapping table;
obtaining the average plugged times of the ports of each used carrier according to the plugged times of the ports corresponding to each used carrier;
determining a carrier corresponding to the minimum average port plugging frequency according to the average port plugging frequency of each used carrier, judging whether the carrier corresponding to the minimum average port plugging frequency is multiple, if so, comparing the carrier high-temperature RDT aging time of the carrier corresponding to the minimum average port plugging frequency to obtain the carrier corresponding to the shortest carrier high-temperature RDT aging time, determining the carrier corresponding to the shortest carrier high-temperature RDT aging time as a carrier to be used, and if not, determining the carrier corresponding to the minimum average port plugging frequency as the carrier to be used.
It can be known from the above description that when there is no new carrier in the carriers, the carrier with the least number of times of plugging and unplugging the average port in the carrier is preferentially used, if there are a plurality of carriers of this type, the carrier with the shortest aging time of high-temperature RDT is preferentially used, and the selection of the carrier to be used is performed not only according to the nominal plugging and unplugging life of the port but also according to the actual use condition of the carrier, and the carrier with the less number of times of being used is preferentially selected, so that the use of the carriers is more balanced, and the carriers in the same batch can be replaced at the same time, thereby reducing the maintenance workload, and simultaneously, the value of the carrier is fully utilized.
Further, the vehicle usage request includes a usage pattern;
the use information mapping table further comprises port plugging service life and port shielding states, wherein the port shielding states comprise non-shielding states;
the using the carrier to be used to test the hard disk to be tested comprises the following steps:
determining mantissa hard disks to be detected according to the number of the hard disks to be detected and the number of ports of each carrier to be used, calculating the ratio of the plugging times of the ports corresponding to each port in the carrier to be used, wherein the port shielding state is an unshielded state, to the plugging life of the ports to obtain a plurality of ratios, arranging the ratios in a descending order, and determining the ports corresponding to the ratios of the preset number as the ports to be used;
the preset number is matched with the number of the hard disks to be detected of the mantissa;
judging whether the use mode is an automatic mode or not, if not, displaying the position of the port to be used on a material loading display, and testing the hard disk to be tested by using the port to be used after receiving an access completion signal of the hard disk to be tested; and if so, automatically accessing the hard disk to be tested with the mantissa to the port to be used, and testing the hard disk to be tested with the mantissa by using the port to be used.
It can be known from the above description that, when a to-be-used carrier is used to test a to-be-tested hard disk, a mantissa to-be-tested hard disk is determined, a ratio of the number of times that a port corresponding to each port in an unshielded state is plugged to the plugging life of the port is calculated, a plurality of ratios are arranged in a sequence from small to large, ports corresponding to the ratios of the preset number are determined as to-be-used ports, the smaller the ratio of the number of times that the port is plugged to the plugging life of the port is, the smaller the number of times that the port is used is, the more the remaining number of times that the port is plugged is, and the ports are preferentially selected for use, so that the plugging life of each port on the same carrier can reach the effect of almost simultaneous exhaustion, and the balanced use of the carrier ports is realized, so that the carrier and the carrier ports are replaced as simultaneously as possible, and the replacement frequency of the carrier and the carrier ports is reduced to the greatest extent.
Further, the port shielding state also includes a shielded state;
the method also comprises the following steps after receiving the carrier use request of the hard disk to be tested:
acquiring the reject ratio of the port and the growth rate corresponding to the reject ratio according to a first preset time interval;
judging whether the reject ratio exceeds a first preset threshold value, if so, adjusting the plugging and unplugging service life of the port corresponding to the port according to a first preset proportion, judging whether the increase rate is continuously higher than a preset increase rate within a preset time period, and if so, updating the shielding state of the port corresponding to the port into a shielded state;
if not, whether the reject ratio is lower than a second preset threshold value or not is judged, and if yes, the port plugging service life corresponding to the port is adjusted upwards according to a second preset proportion.
According to the description, due to the fact that the ports actually produced are different, some ports are more resistant to plugging and unplugging, namely the plugging and unplugging service lives of the ports are longer, the reject ratio and the growth rate of the carrier ports are obtained regularly, the plugging and unplugging service lives of the ports are adjusted in real time based on the reject ratio, and the ports are shielded in real time based on the growth rate, fine monitoring of the plugging and unplugging service lives of the ports is achieved, meanwhile, fault early warning is achieved for the ports, namely higher fault risks exist for the ports with higher reject ratio or higher growth rate, when the reject ratio or the growth rate exceeds the preset condition, the corresponding ports are shielded in time, sudden port faults can be avoided, the capacity is reduced, or the production line is stopped, and possible economic losses are avoided.
Further, the step of increasing the plugging life of the port corresponding to the port according to a second preset proportion further includes:
storing the bad rate of the port to the use information mapping table;
and judging whether the carrier meets a preset replacement condition or not according to a second preset time interval based on the port plugging service life or the reject ratio or the port shielding state of the use information mapping table, and if so, replacing the carrier.
According to the description, whether the carrier needs to be replaced is judged regularly based on the port plugging service life or the reject ratio or the port shielding state, rather than simply judging the carrier replacement according to the port plugging service life pre-judged according to the nominal plugging times, so that the carrier is fully utilized, and the use cost of the carrier is reduced.
Referring to fig. 2, another embodiment of the present invention provides a usage equalizing device for a carrier, including:
the request receiving module is used for receiving a carrier use request of the hard disk to be tested;
the data acquisition module is used for acquiring a use information mapping table of the carrier according to the use request of the carrier;
and the to-be-used carrier determining module is used for determining a to-be-used carrier from the carriers based on the use information mapping table and testing the to-be-used carrier on the to-be-tested hard disk.
Another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the usage balancing method for a vehicle described above.
Referring to fig. 3, another embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for balancing usage of a vehicle when executing the computer program.
The usage balancing method, the usage balancing device, the readable storage medium and the electronic device of the present invention can be applied to any type of SSD (Solid State Drive) automatic production test carrier, such as flash Memory-based SSD, DRAM-based SSD and 3D XPoint-based SSD, and are described in the following with specific embodiments:
example one
Referring to fig. 1 and 4, a usage balancing method for a vehicle of the present embodiment includes:
s01, registering a new carrier, and numbering the carrier and ports on the carrier;
the numbering method can be that two-dimensional codes or bar codes of the carriers are scanned to register numbers, or the numbers of the carriers and the ports are input by manual software;
s02, receiving a request for establishing a use information mapping table corresponding to a carrier;
s03, acquiring a first number and high-temperature RDT aging time corresponding to the carrier according to the establishment request, acquiring a second number and port plugging times of a port corresponding to the carrier, and establishing a use information mapping table according to the first number, the high-temperature RDT aging time, the second number and the port plugging times;
the first number is a carrier number, the second number is a port number, and the use information mapping table further comprises a port plugging service life and a port reject ratio;
specifically, as shown in fig. 4, a carrier number and a high-temperature RDT aging time corresponding to a carrier are obtained according to an establishment request, a port number, a port plugging frequency, a port plugging life and a reject ratio of a port corresponding to the carrier are obtained, and a usage information mapping table is established according to a first number, the high-temperature RDT aging time, a second number, the port plugging frequency, the port plugging life and the reject ratio, as shown in table 1;
table 1 usage information mapping table
The initial value of the high-temperature RDT aging time of the carrier is 0, the initial value of the port plugging service life is the nominal times in the port specification, and the initial value of the plugged times of the port is 0;
the number of times that the port is plugged in and pulled out in the use information mapping table can comprise the number of times that the port is plugged in and the number of times that the port is pulled out, and a tester can clearly know the specific number of times that the port is plugged in and pulled out;
s1, receiving a carrier use request of the hard disk to be tested;
s2, monitoring the aging time of the high-temperature RDT and the plugging times of the port according to the carrier use request to obtain monitoring information;
s3, updating the use information mapping table according to the monitoring information;
specifically, when the SSD to be tested is monitored to be inserted into a certain port of a certain carrier, the number of times of insertion of the port is increased by 1, if the SSD to be tested is electrified for the first time and the port cannot identify the SSD to be tested, the SSD to be tested is controlled to be inserted and pulled again to eliminate the problem of poor inserting and pulling contact, at the moment, the number of times of pulling of the port is increased by 1, the number of times of insertion is increased by 1, and when the SSD to be tested is monitored to be pulled out of the certain port of the certain carrier, the number of times of pulling of the port is increased by 1;
when monitoring that a certain carrier needs to be subjected to high-temperature RDT aging test, recording the starting time and the ending time of the high-temperature RDT aging test of the carrier to obtain the current high-temperature RDT aging time of the carrier, accumulating and updating the current high-temperature RDT aging time into a use information mapping table, and accumulating the high-temperature RDT aging time of the carrier in the use information mapping table into 25 minutes if the first high-temperature RDT aging test time of the carrier is 10 minutes and the second high-temperature RDT aging test time of the carrier is 15 minutes;
the use information mapping table further comprises a port shielding state, wherein the port shielding state comprises an unshielded state and a shielded state;
s4, acquiring the reject ratio of the port and the increase rate corresponding to the reject ratio according to a first preset time interval;
the first preset time interval can be flexibly set according to actual conditions;
judging whether the reject ratio exceeds a first preset threshold value, if so, adjusting the plugging and unplugging service life of the port corresponding to the port according to a first preset proportion, judging whether the increase rate is continuously higher than a preset increase rate within a preset time period, and if so, updating the shielding state of the port corresponding to the port into a shielded state;
if the reject ratio is not more than the second preset threshold value, judging whether the reject ratio is lower than the second preset threshold value, and if so, adjusting the plugging and unplugging service life of the port corresponding to the port up according to a second preset proportion;
in this embodiment, the first preset threshold is higher than 1.5 times the average reject rate of all the ports, and the second preset threshold is lower than 1.5 times the average reject rate of all the ports;
the preset growth rate is the average growth rate of all ports, and the first preset proportion and the second preset proportion can be flexibly set according to actual conditions;
when the reject ratio of a certain port exceeds a first preset threshold, the plugging service life of the port is lower than the nominal service life, the plugging service life of the port in the use information mapping table is adjusted downwards, and when the reject ratio of the certain port is lower than a second preset threshold, the plugging service life of the port is higher than the nominal service life, and the plugging service life of the port in the use information mapping table is adjusted upwards;
s5, acquiring a vehicle use information mapping table according to the vehicle use request;
s6, determining a carrier to be used from the carriers based on the use information mapping table, and testing the hard disk to be tested by using the carrier to be used.
Example two
Referring to fig. 1 and 5, the present embodiment further defines how to determine a vehicle to be used based on the usage information mapping table on the basis of the first embodiment, specifically:
s61, determining whether there is an unused carrier in the carriers according to the usage information mapping table, if yes, determining the unused carrier as a to-be-used carrier, if no, determining each carrier in the carriers as a used carrier, and determining a to-be-used carrier from the used carriers according to the usage information mapping table, as shown in fig. 5;
the number of times that the ports of the ports corresponding to the unused carriers, namely the carriers, are plugged is 0;
the determining a vehicle to be used from the used vehicles according to the usage information mapping table comprises:
acquiring the number of times that the port of the port corresponding to the used carrier is plugged according to the use information mapping table;
obtaining the average plugged times of the ports of each used carrier according to the plugged times of the ports corresponding to each used carrier;
specifically, assuming that the number of times that the ports of the three ports corresponding to a certain used carrier have been plugged is 5, 10, 15, the average number of times that the ports of the used carrier have been plugged is 10;
as shown in fig. 5, determining a carrier corresponding to the minimum average port plugging frequency according to the average port plugging frequency of each used carrier, determining whether there are multiple carriers corresponding to the minimum average port plugging frequency, if yes, comparing carrier high-temperature RDT aging times of the carriers corresponding to the minimum average port plugging frequency to obtain a carrier corresponding to the minimum carrier high-temperature RDT aging time, and determining the carrier corresponding to the minimum carrier high-temperature RDT aging time as a carrier to be used, if not, determining the carrier corresponding to the minimum average port plugging frequency as a carrier to be used;
specifically, assuming that the average port plugging times of three used carriers are 10, and the high-temperature RDT aging times of the three used carriers are 5, 20 and 14 respectively, selecting the used carrier with the high-temperature RDT aging time of 20 as a to-be-used carrier, and if the average port plugging times of only one used carrier is minimum, directly determining the used carrier as the to-be-used carrier;
as shown in fig. 5, the carrier determined as the carrier to be used is conveyed to the loading station through the carrier return channel for loading;
and after the loading is finished, judging whether the residual SSD to be tested still exists, if so, returning to the step S61 to determine that the next carrier to be used is loaded until all the hard disks to be tested are loaded.
EXAMPLE III
Referring to fig. 1 and 6, the present embodiment further defines how to use the to-be-used carrier to test the SSD to be tested based on the usage information mapping table on the basis of the first embodiment or the second embodiment, and specifically includes:
the vehicle use request comprises a use mode, the use mode comprising an automatic mode and a manual mode;
s62, determining mantissa-to-be-detected hard disks according to the number of the to-be-detected hard disks and the number of ports of each to-be-used carrier, calculating a ratio of the number of times that the ports have been plugged and unplugged to the plugging and unplugging life of the ports corresponding to each port in the to-be-used carrier whose port shielding state is an unshielded state, obtaining a plurality of ratios, arranging the ratios in order from small to large, obtaining the ports corresponding to the ratios of the preset number, and determining the ports as to-be-used ports, as shown in fig. 6;
the preset number is matched with the number of the hard disks to be detected of the mantissa;
specifically, assuming that the number of SSDs to be tested is 155 and the number of ports of each carrier to be used is 32, the number of mantissa sss to be tested is 27, if the calculated ratio of the number of plugging/unplugging times of each port in the carrier to be used, the port shielding state of which is in the non-shielding state, to the plugging/unplugging life of the port is 32, sorting the 32 ratios from small to large, and determining the ports corresponding to the first 27 ratios as the ports to be used;
judging whether the use mode is an automatic mode or not, if not, displaying the position of the port to be used on a material loading display, and testing the hard disk to be tested by using the port to be used after receiving an access completion signal of the hard disk to be tested; if yes, automatically accessing the hard disk to be tested with the mantissa to the port to be used, and testing the hard disk to be tested with the mantissa by using the port to be used, as shown in fig. 6;
before the SSD to be measured mantissa is accessed to the port to be used, other SSDs to be measured, namely, the SSD to be measured integer, can be accessed to the port of the carrier to be used except the port to be used;
under manual mode, can set up the position suggestion by the port of carrier, it inserts corresponding position to change the manual work with the SSD that awaits measuring into, improves material loading efficiency.
Example four
The embodiment further defines how to replace and maintain the carrier on the basis of the first embodiment, the second embodiment, or the third embodiment, and specifically includes:
the method further comprises the following steps of after the plugging and unplugging service life of the port corresponding to the port is adjusted up according to a second preset proportion:
s7, storing the defective rate of the port in the use information mapping table;
s8, judging whether the carrier meets a preset replacement condition or not according to a second preset time interval based on the port plugging service life or the reject ratio or the port shielding state of the use information mapping table, and if so, replacing the carrier;
the preset replacement condition comprises three replacement conditions, wherein the number of port shields of the port corresponding to the carrier exceeds a first preset value; or the port corresponding to the carrier does not reach the port plugging service life, but the average reject ratio of the port corresponding to the carrier exceeds a second preset value; or the port corresponding to the carrier reaches the port plugging service life, and the average reject ratio of the port corresponding to the carrier exceeds a third preset value;
the first preset value, the second preset value and the third preset value can be flexibly set according to actual conditions, in the embodiment, the first preset value is 3, the second preset value is 2% and the third preset value is 1%;
specifically, the number of ports with the port shielding states being in the shielded states corresponding to any carrier is obtained according to the port shielding states of the use information mapping table according to a second preset time interval, the average reject ratio of the ports with the port shielding states not reaching the port plugging and unplugging lives corresponding to any carrier is obtained according to the port plugging and unplugging lives, the number of the ports with the port plugging and unplugging times and the reject ratio of the use information mapping table, the average reject ratio of the ports with the port plugging and unplugging lives corresponding to any carrier is obtained, and when the number of the ports with the port shielding states being in the shielded states corresponding to any carrier, the average reject ratio of the ports with the port plugging and unplugging lives not corresponding to any carrier or the average reject ratio of the ports with the port plugging and unplugging lives corresponding to any carrier meets one of three replacement conditions, the carrier is replaced.
EXAMPLE five
Referring to fig. 2, an apparatus for equalizing usage of a carrier includes:
the request receiving module is used for receiving a carrier use request of the hard disk to be tested;
the data acquisition module is used for acquiring a use information mapping table of the carrier according to the use request of the carrier;
and the to-be-used carrier determining module is used for determining a to-be-used carrier from the carriers based on the use information mapping table and testing the to-be-used carrier on the to-be-tested hard disk.
EXAMPLE six
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, can implement the steps of the usage balancing method for a vehicle in the first embodiment, the second embodiment, the third embodiment or the fourth embodiment.
EXAMPLE seven
Referring to fig. 3, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for balancing carrier usage in the first embodiment, the second embodiment, the third embodiment, or the fourth embodiment.
To sum up, the present invention provides a method, an apparatus, a readable storage medium and an electronic device for balancing usage of a carrier, wherein a usage information mapping table of the carrier is established, the usage information mapping table comprises a carrier number, a high temperature RDT aging time, a port number, a number of times that a port has been plugged, a reject ratio, a port plugging life and a port shielding state, the aging time of the high temperature RDT and the number of times that the port has been plugged are monitored, the usage information mapping table is updated according to the monitoring information, the reject ratio and the growth ratio of the port of the carrier are periodically obtained, the port plugging life of the port is adjusted in real time based on the reject ratio, and the port is shielded in real time based on the growth ratio, so that real-time update of actual usage information of the carrier and the port of the carrier is realized, a carrier to be used is determined from the carrier based on the usage information mapping table, a new carrier is preferentially used when the carrier does not exist in the carrier, preferentially using a carrier with the least average port plugging frequency in the carriers, preferentially using the carrier with the shortest high-temperature RDT aging time if the carriers exist in a plurality of types, when the hard disk to be tested is tested by using the carriers to be used, determining a mantissa hard disk to be tested, calculating the ratio of the plugging frequency of a port corresponding to each port with a port shielding state being an unshielded state to the plugging service life of the port, determining the port corresponding to the ratio of the preset number as the port to be used, and judging whether the carrier needs to be replaced or not based on the plugging service life or the reject ratio of the port or the port shielding state of the port at regular time instead of simply carrying out carrier replacement judgment according to the plugging service life which is pre-judged according to the nominal plugging frequency, fully considering a plurality of factors influencing the plugging service life of the port, taking the nominal plugging service life of a specification as the plugging service life of the port no longer, but considering the actual service condition of the carrier, the method has the advantages that more production tasks are distributed for ports with longer port plugging service life, the purpose that carriers in the same batch are replaced as far as possible and ports on the carriers are replaced simultaneously is achieved by using the value of the method, the replacement frequency of the carriers and the carrier ports is reduced, the wire stop frequency of a production line is further reduced to the maximum extent, the carrier maintenance cost is saved, the productivity is improved, better economic benefits are guaranteed, meanwhile, fine monitoring is carried out on the use information of the carriers, fault early warning and shielding are carried out on the ports with the actual plugging service life being lower than the nominal service life in advance, sudden port faults are avoided, and therefore economic loss caused by capacity reduction or wire stop is avoided.
In the above embodiments provided in the present application, it should be understood that the disclosed method, apparatus, computer-readable storage medium, and electronic device may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of components or modules may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or components or modules, and may be in an electrical, mechanical or other form.
The components described as separate parts may or may not be physically separate, and parts displayed as components may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the components can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each component may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (10)
1. A method for balancing usage of a vehicle, comprising:
receiving a carrier use request of a hard disk to be tested;
acquiring a use information mapping table of the carrier according to the use request of the carrier;
and determining a carrier to be used from the carriers based on the use information mapping table, and testing the hard disk to be tested by using the carrier to be used.
2. The method for balancing use of a carrier according to claim 1, wherein before receiving a request for using a carrier for a hard disk under test, the method further comprises:
receiving a request for establishing a use information mapping table corresponding to a carrier;
acquiring a first number and high-temperature RDT (remote desktop transport protocol) aging time corresponding to the carrier according to the establishment request, acquiring a second number and port plugging times of a port corresponding to the carrier, and establishing a use information mapping table according to the first number, the high-temperature RDT aging time, the second number and the port plugging times;
the method also comprises the following steps after receiving the carrier use request of the hard disk to be tested:
monitoring the high-temperature RDT aging time and the port plugging times according to the carrier use request to obtain monitoring information;
and updating the use information mapping table according to the monitoring information.
3. The method for balancing usage of vehicles according to claim 2, wherein the determining a vehicle to be used from the vehicles based on the usage information mapping table comprises:
and judging whether the carriers are unused or not according to the use information mapping table, if so, determining the unused carriers as carriers to be used, if not, determining each carrier in the carriers as a used carrier, and determining the carriers to be used from the used carriers according to the use information mapping table.
4. The method for balancing usage of vehicles according to claim 3, wherein the determining a vehicle to be used from the used vehicles according to the usage information mapping table comprises:
acquiring the number of times that the port of the port corresponding to the used carrier is plugged according to the use information mapping table;
obtaining the average plugged times of the ports of each used carrier according to the plugged times of the ports corresponding to each used carrier;
determining a carrier corresponding to the minimum average port plugging frequency according to the average port plugging frequency of each used carrier, judging whether the carrier corresponding to the minimum average port plugging frequency is multiple, if so, comparing the carrier high-temperature RDT aging time of the carrier corresponding to the minimum average port plugging frequency to obtain the carrier corresponding to the shortest carrier high-temperature RDT aging time, determining the carrier corresponding to the shortest carrier high-temperature RDT aging time as a carrier to be used, and if not, determining the carrier corresponding to the minimum average port plugging frequency as the carrier to be used.
5. The method according to any one of claims 2 to 3, wherein the vehicle usage request includes a usage pattern;
the use information mapping table further comprises port plugging service life and port shielding states, wherein the port shielding states comprise non-shielding states;
the using the carrier to be used to test the hard disk to be tested comprises the following steps:
determining mantissa hard disks to be detected according to the number of the hard disks to be detected and the number of ports of each carrier to be used, calculating the ratio of the plugging times of the ports corresponding to each port in the carrier to be used, wherein the port shielding state is an unshielded state, to the plugging life of the ports to obtain a plurality of ratios, arranging the ratios in a descending order, and determining the ports corresponding to the ratios of the preset number as the ports to be used;
the preset number is matched with the number of the hard disks to be detected of the mantissa;
judging whether the use mode is an automatic mode or not, if not, displaying the position of the port to be used on a material loading display, and testing the hard disk to be tested by using the port to be used after receiving an access completion signal of the hard disk to be tested; and if so, automatically accessing the hard disk to be tested with the mantissa to the port to be used, and testing the hard disk to be tested with the mantissa by using the port to be used.
6. The usage balancing method for a vehicle according to claim 5, wherein the port shielding status further includes a shielded status;
the method also comprises the following steps after receiving the carrier use request of the hard disk to be tested:
acquiring the reject ratio of the port and the growth rate corresponding to the reject ratio according to a first preset time interval;
judging whether the reject ratio exceeds a first preset threshold value, if so, adjusting the plugging and unplugging service life of the port corresponding to the port according to a first preset proportion, judging whether the increase rate is continuously higher than a preset increase rate within a preset time period, and if so, updating the shielding state of the port corresponding to the port into a shielded state;
if not, whether the reject ratio is lower than a second preset threshold value or not is judged, and if yes, the port plugging service life corresponding to the port is adjusted upwards according to a second preset proportion.
7. The usage balancing method for a carrier according to claim 6, wherein the step of adjusting the plugging life of the port corresponding to the port according to the second predetermined ratio further includes:
storing the bad rate of the port to the use information mapping table;
and judging whether the carrier meets a preset replacement condition or not according to a second preset time interval based on the port plugging service life or the reject ratio or the port shielding state of the use information mapping table, and if so, replacing the carrier.
8. A usage equalizing apparatus for a vehicle, comprising:
the request receiving module is used for receiving a carrier use request of the hard disk to be tested;
the data acquisition module is used for acquiring a use information mapping table of the carrier according to the use request of the carrier;
and the to-be-used carrier determining module is used for determining a to-be-used carrier from the carriers based on the use information mapping table and testing the to-be-used carrier on the to-be-tested hard disk.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for usage equalization of a vehicle according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the usage balancing method for a vehicle according to any one of claims 1 to 7 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111055194.1A CN113760622B (en) | 2021-09-09 | Carrier usage balancing method and device, readable storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111055194.1A CN113760622B (en) | 2021-09-09 | Carrier usage balancing method and device, readable storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113760622A true CN113760622A (en) | 2021-12-07 |
CN113760622B CN113760622B (en) | 2024-11-05 |
Family
ID=
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416670A (en) * | 2020-11-12 | 2021-02-26 | 宁畅信息产业(北京)有限公司 | Hard disk test method, device, server and storage medium |
CN112948053A (en) * | 2021-02-26 | 2021-06-11 | 浪潮电子信息产业股份有限公司 | Hard disk performance test method, device, server and medium |
CN113220514A (en) * | 2021-05-11 | 2021-08-06 | 成都佰维存储科技有限公司 | Solid state disk testing method and device, readable storage medium and electronic equipment |
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416670A (en) * | 2020-11-12 | 2021-02-26 | 宁畅信息产业(北京)有限公司 | Hard disk test method, device, server and storage medium |
CN112948053A (en) * | 2021-02-26 | 2021-06-11 | 浪潮电子信息产业股份有限公司 | Hard disk performance test method, device, server and medium |
CN113220514A (en) * | 2021-05-11 | 2021-08-06 | 成都佰维存储科技有限公司 | Solid state disk testing method and device, readable storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107478455B (en) | Timing truncation reliability test method suitable for Weibull distribution type product | |
CN103376380A (en) | Test system and method thereof | |
CN112527201B (en) | SSD bad block replacement method and device, readable storage medium and electronic equipment | |
CN115774185B (en) | Vehicle-mounted chip DPAT detection method and device | |
CN209000871U (en) | A kind of wafer test system | |
CN113760622A (en) | Carrier use balancing method and device, readable storage medium and electronic equipment | |
CN111239633A (en) | Battery pack pressure difference reason analysis method and device and computer equipment | |
CN108376553B (en) | Monitoring method and system for magnetic disk of video server | |
CN113760622B (en) | Carrier usage balancing method and device, readable storage medium and electronic equipment | |
CN108363375B (en) | Method and system for realizing automatic test of motor controller | |
CN117192468A (en) | Ammeter detection method, device, equipment and storage medium | |
US11686768B2 (en) | System and method of testing single DUT through multiple cores in parallel | |
US9054797B2 (en) | Testing an optical network | |
WO2022100139A1 (en) | Detection method and detection apparatus for wafer testing machines | |
CN113760772B (en) | Use case execution method of semi-automatic/automatic execution system for testability test | |
CN103733041B (en) | Managing device and management method | |
CN114113977A (en) | RTC circuit automatic detection method and system of circuit board | |
CN112462233B (en) | Site control method and system in integrated circuit test | |
CN113125938A (en) | Aging test monitoring method and system | |
CN113010388B (en) | USB flash disk detection method and system | |
CN205388645U (en) | Motor test matrix formula distribution system | |
CN113935578A (en) | Carrier scheduling method and device, readable storage medium and electronic equipment | |
CN117615407B (en) | Automatic test method and device for WiFi performance and terminal equipment | |
US6701283B2 (en) | Apparatus for processing items of electronic equipment | |
CN115357458B (en) | Method and device for testing TISDM display information |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 516000 factory building 8-1, Yuanhui Road, Chenjiang street, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant after: Guangdong Tailai Fengce Technology Co.,Ltd. Address before: 516000 factory building 8-1, Yuanhui Road, Chenjiang street, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant before: HUIZHOU BAIWEI STORAGE TECHNOLOGY CO.,LTD. Country or region before: China |
|
GR01 | Patent grant |