Vehicle use balancing method, device, readable storage medium and electronic device
By establishing a vehicle usage information mapping table to record the actual usage information of the vehicles, and selecting appropriate vehicles for SSD testing, the problem of inaccurate prediction of connector plug-in/plug-out lifespan was solved, and balanced use of vehicle ports and improved economic efficiency were achieved.
Patent Information
- Application Number
- CN202111055194.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-09-09
AI Technical Summary
In existing technologies, the prediction of the mating and unmating life of SSD carrier connectors is inaccurate, resulting in underutilization of the connectors, increased maintenance frequency and economic losses, and impact on production capacity.
By establishing a vehicle usage information mapping table, the actual usage information of the vehicles, such as the number, number of insertions and removals, and high-temperature RDT aging time, is recorded. Based on this information, vehicles to be used are selected, and vehicles that are not used or have fewer insertions and removals are given priority to achieve balanced utilization of vehicle ports.
This approach fully utilizes the carrier ports, reduces connector replacement frequency, decreases maintenance workload, and improves productivity and economic efficiency.
Smart Images

Figure CN113760622B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of solid state hard disk technology, and in particular to a method and device for balancing the use of a carrier, a readable storage medium, and an electronic device. Background Art
[0002] During the fully automated production test of SSD (Solid State Disk), the SSD is plugged into the carrier port (SSD connector) and moves with the carrier through production test procedures such as card opening, RDT (Reliability Demonstration Testing) aging, and functional testing. There are hundreds of carriers on an automated production line, and each carrier generally has 8 to 32 carrier ports.
[0003] Since the SSD connector on the carrier has a limited number of plug-in and unplugging times and is a consumable, a connector model with a high plug-in and unplugging frequency is generally selected during the design phase, and the connector is replaced and maintained during the production line use phase. The existing solution is to predict the service life of the connector based on experience. When the carrier is needed, the carrier is selected based on the predicted connector service life. When the predicted connector service life is about to be reached, the carrier is replaced regularly or irregularly. This solution has the following shortcomings:
[0004] 1. The plug-in and unplug life of the connector is predicted based on the nominal number of times of the connector. It is easy to have inaccurate prediction, which may cause some connectors that have not reached their plug-in and unplug life to no longer be used or to replace the carrier in advance, resulting in the value of the connector not being fully utilized, increasing the cost of connector use, increasing the frequency of line stoppage for maintenance, affecting production capacity, and increasing economic losses;
[0005] 2. Predict the plugging and unplugging life according to the nominal number of times in the connector specification. Even if the nominal number of times for each connector is the same, in fact, each connector is different. Some connectors are more resistant to plugging and unplugging, that is, they have a longer plugging and unplugging life. If they are replaced or used according to the nominal number of times, the problem of underutilization of the connector will also occur;
[0006] 3. The number of SSDs in the actual production work order may not be an integer multiple of the number of connectors, but may have a certain tail number. The connectors on the carrier may not be fully plugged in, which leads to different actual plug-in and unplug times for each connector on the same carrier. Some connectors will reach their plug-in and unplug life first, resulting in the replacement of all connectors on the entire carrier. For example, if the tail number SSDs are plugged into the first few ports of the carrier, the connectors of the first few ports must be replaced very early. This situation also leads to the incomplete use of the value of other connectors, the increase in connector use costs, and the increase in the frequency of line stoppages for maintenance, which affects production capacity and increases economic losses.
[0007] 4. Since the carrier undergoes high-temperature RDT aging test together with the SSD, the test time varies depending on the capacity of the SSD. Even if the connectors on the two carriers have the same number of plug-in and unplug tests, the life of the connector of the carrier that has undergone longer high-temperature aging will be shorter, making the prediction of the connector plug-in life even more inaccurate. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a method, device, readable storage medium and electronic device for balancing the use of a vehicle, which can fully utilize the vehicle port.
[0009] In order to solve the above technical problems, a technical solution adopted by the present invention is:
[0010] A vehicle use balancing method, comprising:
[0011] Receive a request for using a carrier of the hard disk to be tested;
[0012] Acquire a vehicle usage information mapping table according to the vehicle usage request;
[0013] A carrier to be used is determined from the carriers based on the usage information mapping table, and the hard disk to be tested is tested using the carrier to be used.
[0014] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0015] A vehicle use balancing device, comprising:
[0016] A request receiving module, used for receiving a carrier use request of the hard disk to be tested;
[0017] A data acquisition module, used to acquire a vehicle usage information mapping table according to the vehicle usage request;
[0018] The module for determining a carrier to be used is used to determine a carrier to be used from the carriers based on the usage information mapping table, and use the carrier to be used to test the hard disk to be tested.
[0019] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements each step of the above-mentioned vehicle usage balancing method.
[0021] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0022] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step in the above-mentioned vehicle usage balancing method is implemented.
[0023] The beneficial effect of the present invention is that when a request to use a hard disk to be tested is received, the carrier to be used is determined based on the carrier's usage information mapping table, and the hard disk to be tested is tested using the carrier to be used. Unlike the prior art, the carrier is no longer selected for use based on the nominal number of carrier ports. Instead, the actual usage information of the carrier is recorded, that is, the usage information mapping table is used, and the carrier to be used is selected based on the usage information mapping table, so that each carrier can be fully utilized, thereby achieving full utilization of the carrier port. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flowchart of a method for balancing the use of a vehicle according to an embodiment of the present invention;
[0025] Figure 2 It is a structural schematic diagram of a use balancing device of a vehicle according to an embodiment of the present invention;
[0026] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention;
[0027] Figure 4 A flow chart of establishing a usage information mapping table in a method for balancing usage of a vehicle according to an embodiment of the present invention;
[0028] Figure 5 A flowchart of 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;
[0029] Figure 6 This is a flow chart of using a to-be-used carrier to test an SSD to be tested based on a usage information mapping table in a carrier usage balancing method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0031] Please refer to Figure 1 , an embodiment of the present invention provides a method for balancing the use of a vehicle, comprising:
[0032] Receive a request for using a carrier of the hard disk to be tested;
[0033] Acquire a vehicle usage information mapping table according to the vehicle usage request;
[0034] A carrier to be used is determined from the carriers based on the usage information mapping table, and the hard disk to be tested is tested using the carrier to be used.
[0035] From the above description, it can be seen that the beneficial effect of the present invention is that when a request to use the hard disk to be tested is received, the carrier to be used is determined based on the carrier's usage information mapping table, and the hard disk to be tested is tested using the carrier to be used. Unlike the prior art, the carrier is no longer selected for use based on the nominal number of carrier ports. Instead, the actual usage information of the carrier is recorded, that is, the usage information mapping table is used, and the carrier to be used is selected based on the usage information mapping table, so that each carrier can be fully utilized, thereby achieving full utilization of the carrier port.
[0036] Furthermore, before receiving the carrier use request of the hard disk to be tested, the step of:
[0037] Receive a request for establishing a usage information mapping table corresponding to a vehicle;
[0038] According to the establishment request, obtain the first number and high-temperature RDT aging time corresponding to the carrier, obtain the second number of the port corresponding to the carrier and the number of times the port has been plugged in and out, and establish a usage information mapping table according to the first number, the high-temperature RDT aging time, the second number and the number of times the port has been plugged in and out;
[0039] After receiving the carrier use request of the hard disk to be tested, the method further includes the steps of:
[0040] Monitoring the high temperature RDT aging time and the number of port plug-ins and unplugs according to the vehicle use request to obtain monitoring information;
[0041] The usage information mapping table is updated according to the monitoring information.
[0042] From the above description, it can be seen that a usage information mapping table of the carrier is established, which includes the carrier number, high-temperature RDT aging time, port number and the number of times the port has been plugged in and out. The high-temperature RDT aging time of the carrier and the number of times the port has been plugged in and out are monitored. The monitored information includes the main conditions that affect the number of plugging and unplugging times, and the usage information mapping table is updated according to the monitored information, thereby realizing real-time updating of the actual usage information of the carrier and the carrier port, which facilitates the subsequent selection of the carrier to be used based on the usage information mapping table.
[0043] Further, the determining a vehicle to be used from the vehicles based on the usage information mapping table includes:
[0044] Determine whether there are unused vehicles in the vehicles according to the usage information mapping table. If so, determine the unused vehicles as vehicles to be used. If not, determine each of the vehicles as a used vehicle, and determine the vehicles to be used from the used vehicles according to the usage information mapping table.
[0045] From the above description, it can be seen that if there are new vehicles in the vehicles, such vehicles will be used first, more production test tasks will be allocated to them, and their value will be utilized to achieve balanced use of vehicles.
[0046] Further, the determining the vehicle to be used from the used vehicles according to the usage information mapping table includes:
[0047] Acquire the number of times the port corresponding to the used carrier has been plugged in and out according to the usage information mapping table;
[0048] Obtaining an average number of times a port has been plugged in and out of each of the used vehicles according to the number of times a port corresponding to each of the used vehicles has been plugged in and out;
[0049] Determine the carrier corresponding to the minimum average number of port plug-ins and unplugging times according to the average number of port plug-ins and unplugging times of each of the used carriers, and judge whether there are multiple carriers corresponding to the minimum average number of port plug-ins and unplugging times; if so, compare the carrier high-temperature RDT aging times of the multiple carriers corresponding to the minimum average number of port plug-ins and unplugging times to obtain the carrier corresponding to the shortest carrier high-temperature RDT aging time, and determine the carrier corresponding to the shortest carrier high-temperature RDT aging time as the carrier to be used; if not, determine the carrier corresponding to the minimum average number of port plug-ins and unplugging times as the carrier to be used.
[0050] From the above description, it can be seen that when there is no new carrier among the carriers, priority is given to the carrier with the least average number of port plug-in and unplugging times. If there are multiple such carriers, priority is given to the carrier with the shortest high-temperature RDT aging time. The selection of the carrier to be used is no longer based solely on the nominal plug-in and unplugging life of the port, but is based on the actual usage of the carrier. Priority is given to carriers that are used less frequently, making the use of carriers more balanced and enabling carriers in the same batch to be replaced at similar times, reducing maintenance workload while making full use of the value of the carrier.
[0051] Further, the vehicle use request includes a use mode;
[0052] The usage information mapping table also includes the port plug-in life and the port shielding state, and the port shielding state includes an unshielded state;
[0053] The using the to-be-used carrier to test the to-be-tested hard disk comprises:
[0054] Determine the last hard disk to be tested according to the number of the hard disks to be tested and the number of ports of each of the carriers to be used, calculate the ratio of the number of times the port has been plugged in and out corresponding to each port in the carrier to be used whose port shielding state is unshielded to the plugging and unplugging life of the port, obtain multiple ratios, arrange the multiple ratios in order from small to large, obtain the ports corresponding to the ratios of the first preset number and determine them as the ports to be used;
[0055] The preset number matches the number of hard disks to be tested;
[0056] Determine whether the usage mode is the automatic mode. If not, display the position of the port to be used on the loading display, and use the port to be used to test the last digit hard disk to be tested after receiving the access completion signal of the last digit hard disk to be tested; if yes, automatically connect the last digit hard disk to be tested to the port to be used, and use the port to be used to test the last digit hard disk to be tested.
[0057] It can be seen from the above description that when the carrier to be used is used to test the hard disk to be tested, the last digit of the hard disk to be tested is first determined, and the ratio of the number of times the port has been plugged and unplugged corresponding to each port whose port shielding state is unshielded to the port plug-in life is calculated, and multiple ratios are arranged in order from small to large, and the ports corresponding to the ratios of the preset number are determined as ports to be used. The smaller the ratio of the number of times the port has been plugged and unplugged to the plug-in life of the port, the less times the port has been used, and the more plug-in times remaining. Such ports are given priority for use, so that the plug-in life of each port on the same carrier can be exhausted almost at the same time, thereby achieving balanced use of the carrier ports, so that the carrier and the carrier ports can be replaced at the same time as much as possible, thereby minimizing the replacement frequency of the carrier and the carrier ports.
[0058] Further, the port shielding state also includes a shielded state;
[0059] After receiving the carrier use request of the hard disk to be tested, the method further includes the steps of:
[0060] Obtaining the defect rate of the port and the growth rate corresponding to the defect rate according to a first preset time interval;
[0061] Determine whether the defective rate exceeds a first preset threshold value, if so, reduce the port plug-in life corresponding to the port according to a first preset ratio, and determine whether the growth rate is continuously higher than a preset growth rate within a preset time period, if so, update the port shielding state corresponding to the port to a shielded state;
[0062] If not, determine whether the defective rate is lower than a second preset threshold value, and if so, increase the port plug-in life corresponding to the port according to a second preset ratio.
[0063] From the above description, it can be seen that due to the differences in the ports actually produced, some ports are more resistant to plugging and unplugging, that is, the port plug-in life is longer, and the defective rate and growth rate of the carrier port are obtained regularly, and the port plug-in life of the port is adjusted in real time based on the defective rate, and the port is shielded in real time based on the growth rate, thereby realizing refined monitoring of the port plug-in life and also realizing fault warning for the port, that is, ports with higher defective rate or higher growth rate have higher failure risk. When the defective rate or growth rate exceeds the preset conditions, timely shielding of the corresponding port can avoid sudden port failure, resulting in reduced production capacity or production line shutdown, and avoiding possible economic losses.
[0064] Furthermore, after increasing the port plug-in life corresponding to the port according to the second preset ratio, the method further includes the following steps:
[0065] Storing the defect rate of the port in the usage information mapping table;
[0066] At a second preset time interval, based on the port plug-in life or the defective rate or the port shielding status in the usage information mapping table, it is determined whether the carrier meets a preset replacement condition; if so, the carrier is replaced.
[0067] From the above description, it can be seen that whether the carrier needs to be replaced is judged based on the port plug-in life or defective rate or port shielding status, rather than simply judging the carrier replacement based on the port plug-in life predicted according to the nominal plug-in times. This realizes the full utilization of the carrier and reduces the cost of using the carrier.
[0068] Please refer to Figure 2 Another embodiment of the present invention provides a vehicle use balancing device, comprising:
[0069] A request receiving module, used for receiving a carrier use request of the hard disk to be tested;
[0070] A data acquisition module, used to acquire a vehicle usage information mapping table according to the vehicle usage request;
[0071] The module for determining a carrier to be used is used to determine a carrier to be used from the carriers based on the usage information mapping table, and use the carrier to be used to test the hard disk to be tested.
[0072] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the computer program implements the various steps in the above-mentioned vehicle usage balancing method.
[0073] Please refer to Figure 3 Another embodiment of the present invention provides an electronic device, including 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 above-mentioned vehicle usage balancing method when executing the computer program.
[0074] The above-mentioned carrier use balancing method, device, readable storage medium and electronic device of the present invention can be applied to any type of SSD (Solid State Drive) automated production test carrier, such as flash memory-based SSD, DRAM (Dynamic Random Access Memory)-based SSD and 3DXPoint-based SSD, which are described below through specific implementation methods:
[0075] Embodiment 1
[0076] Please refer to Figure 1 , 4 A method for balancing the use of a vehicle in this embodiment includes:
[0077] S01. Register a new vehicle and number the vehicle and the ports on the vehicle;
[0078] The numbering method may be to scan the QR code or barcode of the carrier to register the number, or to manually input the carrier and port number into the software;
[0079] S02, receiving a request for establishing a usage information mapping table corresponding to a vehicle;
[0080] S03, obtaining the first number and high temperature RDT aging time corresponding to the carrier according to the establishment request, and obtaining the second number of the port corresponding to the carrier and the number of times the port has been plugged in and out, and establishing a usage information mapping table according to the first number, the high temperature RDT aging time, the second number and the number of times the port has been plugged in and out;
[0081] The first number is a carrier number, the second number is a port number, and the usage information mapping table further includes the port plug-in life and the port defect rate;
[0082] Specifically, Figure 4 As shown, according to the establishment request, the carrier number and high temperature RDT aging time corresponding to the carrier are obtained, and the port number, the number of times the port has been plugged and unplugged, the port plug-in life and the defective rate of the port corresponding to the carrier are obtained, and a usage information mapping table is established according to the first number, the high temperature RDT aging time, the second number, the number of times the port has been plugged and unplugged, the port plug-in life and the defective rate, as shown in Table 1;
[0083] Table 1 Usage information mapping table
[0084]
[0085]
[0086] Among them, the initial value of the high temperature RDT aging time of the carrier is 0, the initial value of the port plug-in life is the nominal number of times in the port specification, and the initial value of the number of times the port has been plugged in and out is 0;
[0087] The number of times the port has been plugged in and unplugged in the usage information mapping table can include the number of times it has been plugged in and the number of times it has been unplugged, so that the tester can clearly understand the specific number of times the port has been plugged in and unplugged;
[0088] S1, receiving a carrier use request of the hard disk to be tested;
[0089] S2. Monitoring the high-temperature RDT aging time and the number of port plug-ins and unplugs according to the carrier use request to obtain monitoring information;
[0090] S3. Update the usage information mapping table according to the monitoring information;
[0091] Specifically, when it is monitored that the SSD to be tested is inserted into a port of a carrier, the number of times the port has been plugged in is increased by 1. If the SSD to be tested is powered on for the first time and the port cannot recognize the SSD to be tested, the SSD to be tested is controlled to be plugged in and out again to eliminate the problem of poor plugging and unplugging contact. At this time, the number of times the port has been unplugged is increased by 1, and the number of times the port has been plugged in is increased by 1. When it is monitored that the SSD to be tested is unplugged from a port of a carrier, the number of times the port has been unplugged is increased by 1.
[0092] When a vehicle is monitored to need a high-temperature RDT aging test, the start time and end time of the high-temperature RDT aging test of the vehicle are recorded to obtain the current high-temperature RDT aging time of the vehicle, and the high-temperature RDT aging time is accumulated and updated in the usage information mapping table. Assuming that the first high-temperature RDT aging test time of the vehicle is 10 minutes and the second high-temperature RDT aging test time is 15 minutes, the high-temperature RDT aging time of the vehicle in the usage information mapping table is accumulated to 25 minutes;
[0093] Wherein, the usage information mapping table also includes a port shielding state, and the port shielding state includes an unshielded state and a shielded state;
[0094] S4, obtaining the defect rate of the port and the growth rate corresponding to the defect rate according to a first preset time interval;
[0095] Wherein, the first preset time interval can be flexibly set according to actual conditions;
[0096] Determine whether the defective rate exceeds a first preset threshold value, if so, reduce the port plug-in life corresponding to the port according to a first preset ratio, and determine whether the growth rate is continuously higher than a preset growth rate within a preset time period, if so, update the port shielding state corresponding to the port to a shielded state;
[0097] If not, determining whether the defect rate is lower than a second preset threshold, and if so, increasing the port plug-in life corresponding to the port according to a second preset ratio;
[0098] Among them, the first preset threshold value needs to be higher than a certain percentage of the average defective rate of all ports, and the second preset threshold value needs to be lower than a certain percentage of the average defective rate of all ports. The two can be set according to actual conditions. In this embodiment, the first preset threshold value is higher than 1.5 times the average defective rate of all ports, and the second preset threshold value is lower than 1.5 times the average defective rate of all ports;
[0099] The preset growth rate is the average growth rate of all ports, and the first preset ratio and the second preset ratio can be flexibly set according to actual conditions;
[0100] When the defective rate of a certain port exceeds the first preset threshold, it means that the plug-in life of the port is lower than the nominal life, and the port plug-in life in the usage information mapping table will be adjusted downward; when the defective rate of a certain port is lower than the second preset threshold, it means that the plug-in life of the port is higher than the nominal life, and the port plug-in life in the usage information mapping table will be adjusted upward;
[0101] S5. Acquire a vehicle usage information mapping table according to the vehicle usage request;
[0102] S6. Determine a carrier to be used from the carriers based on the usage information mapping table, and use the carrier to be used to test the hard disk to be tested.
[0103] Embodiment 2
[0104] Please refer to Figure 1 , 5 Based on the first embodiment, this embodiment further defines how to determine the vehicle to be used based on the usage information mapping table, specifically:
[0105] S61: Determine whether there is an unused vehicle in the vehicle according to the usage information mapping table; if so, determine the unused vehicle as a vehicle to be used; if not, determine each vehicle in the vehicle as a used vehicle, and determine the vehicle to be used from the used vehicles according to the usage information mapping table, such as Figure 5 As shown;
[0106] Among them, the number of times the ports corresponding to the unused carriers have been plugged in and out is 0;
[0107] The determining the vehicle to be used from the used vehicles according to the usage information mapping table comprises:
[0108] Acquire the number of times the port corresponding to the used carrier has been plugged in and out according to the usage information mapping table;
[0109] Obtaining an average number of times a port has been plugged in and out of each of the used vehicles according to the number of times a port corresponding to each of the used vehicles has been plugged in and out;
[0110] Specifically, assuming that the number of times the ports corresponding to a certain used carrier have been plugged in and out is 5, 10, and 15, then the average number of times the ports have been plugged in and out of the used carrier is 10;
[0111] like Figure 5 As shown, according to the average number of times the ports have been plugged and unplugged of each of the used carriers, the carrier corresponding to the minimum average number of times the ports have been plugged and unplugged is determined, and it is determined whether there are multiple carriers corresponding to the minimum average number of times the ports have been plugged and unplugged, if so, the carrier high temperature RDT aging times of the multiple carriers corresponding to the minimum average number of times the ports have been plugged and unplugged are compared to obtain the carrier corresponding to the shortest carrier high temperature RDT aging time, and the carrier corresponding to the shortest carrier high temperature RDT aging time is determined as the carrier to be used, if not, the carrier corresponding to the minimum average number of times the ports have been plugged and unplugged is determined as the carrier to be used;
[0112] Specifically, assuming that there are three used carriers with the smallest average port plug-in and pull-out times, all of which are 10, and the high-temperature RDT aging times of the three used carriers are 5, 20, and 14, respectively, then the used carrier with a high-temperature RDT aging time of 20 is selected as the carrier to be used. If only one used carrier has the smallest average port plug-in and pull-out times, then the used carrier is directly determined as the carrier to be used.
[0113] Among them, Figure 5 As shown, the carrier determined as the carrier to be used is transported to the loading station through the carrier return channel for loading;
[0114] After loading is completed, it is determined whether there are any remaining SSDs to be tested. If yes, the process returns to step S61 to determine the next carrier to be used for loading, until all the hard disks to be tested are loaded.
[0115] Embodiment 3
[0116] Please refer to Figure 1 , 6Based on the first or second embodiment, this embodiment further defines how to use the carrier to be used to test the SSD to be tested based on the usage information mapping table, specifically:
[0117] The vehicle use request includes a use mode, and the use mode includes an automatic mode and a manual mode;
[0118] S62, according to the number of the hard disks to be tested and the number of ports of each of the carriers to be used, determine the last number of hard disks to be tested, calculate the ratio of the number of times the port has been plugged in and out corresponding to each port in the carrier to be used whose port shielding state is unshielded to the plugging and unplugging life of the port, obtain multiple ratios, arrange the multiple ratios in order from small to large, obtain the ports corresponding to the ratios of the first preset number and determine them as the ports to be used, such as Figure 6 As shown;
[0119] The preset number matches the number of hard disks to be tested;
[0120] 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 SSDs to be tested is 27. If the ratio of the number of times the port has been plugged in and out to the plug-in life of the port corresponding to each port whose port shielding state is unshielded in the carrier to be used is calculated to be 32, these 32 ratios are sorted from small to large, and the ports corresponding to the first 27 ratios are determined as ports to be used;
[0121] Determine whether the usage mode is the automatic mode. If not, display the position of the port to be used on the loading display, and use the port to be used to test the hard disk to be tested after receiving the access completion signal of the last hard disk to be tested; if so, automatically connect the hard disk to be tested to the port to be used, and use the port to be used to test the hard disk to be tested. Figure 6 As shown;
[0122] Before connecting the last digit SSD to be tested to the port to be used, the remaining SSDs to be tested, that is, the integer SSDs to be tested, may be connected to the ports of the carrier to be used except the port to be used.
[0123] In manual mode, you can set a position prompt next to the port of the carrier, which makes it easier to manually connect the SSD to be tested to the corresponding position and improve loading efficiency.
[0124] Embodiment 4
[0125] This embodiment further defines how to replace and maintain the carrier on the basis of the first embodiment, the second embodiment or the third embodiment, specifically:
[0126] After the step of increasing the port plug-in life corresponding to the port according to the second preset ratio, the step further includes:
[0127] S7, storing the defect rate of the port in the usage information mapping table;
[0128] S8, judging whether the carrier meets a preset replacement condition based on the port plug-in life or the defective rate or the port shielding state in the usage information mapping table at a second preset time interval, and if so, replacing the carrier;
[0129] The preset replacement condition includes three replacement conditions, namely, the number of port shields of the port corresponding to the carrier exceeds the first preset value; or, the port corresponding to the carrier has not reached the port plug-in life, but the average defective rate of the port corresponding to the carrier exceeds the second preset value; or, the port corresponding to the carrier reaches the port plug-in life, and the average defective rate of the port corresponding to the carrier exceeds the third preset value;
[0130] The first preset value, the second preset value and the third preset value can be flexibly set according to actual conditions. In this embodiment, the first preset value is 3, the second preset value is 2%, and the third preset value is 1%;
[0131] Specifically, according to the port shielding status of the usage information mapping table at a second preset time interval, the number of ports in the shielded state corresponding to any carrier is obtained, and according to the port plug-in life, the number of port plug-in times and the defective rate in the usage information mapping table, the average defective rate of ports that have not reached the port plug-in life corresponding to any carrier is obtained, and the average defective rate of ports that exceed the port plug-in life corresponding to any carrier is obtained; when the number of ports in the shielded state corresponding to any carrier or the average defective rate of ports that have not reached the port plug-in life corresponding to any carrier or the average defective rate of ports that exceed the port plug-in life corresponding to any carrier meet one of the three replacement conditions, the carrier is replaced.
[0132] Embodiment 5
[0133] Please refer to Figure 2 , a vehicle use balancing device, comprising:
[0134] A request receiving module, used for receiving a carrier use request of the hard disk to be tested;
[0135] A data acquisition module, used to acquire a vehicle usage information mapping table according to the vehicle usage request;
[0136] The module for determining a carrier to be used is used to determine a carrier to be used from the carriers based on the usage information mapping table, and use the carrier to be used to test the hard disk to be tested.
[0137] Embodiment 6
[0138] A computer-readable storage medium stores a computer program, which, when executed by a processor, can implement each step of the vehicle usage balancing method in Embodiment 1, Embodiment 2, Embodiment 3, or Embodiment 4.
[0139] Embodiment 7
[0140] Please refer to Figure 3 , an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, each step of the method for balancing the use of a carrier in Embodiment 1, Embodiment 2, Embodiment 3, or Embodiment 4 is implemented.
[0141] In summary, the present invention provides a carrier usage balancing method, device, readable storage medium and electronic device, establishes a carrier usage information mapping table, the usage information mapping table includes carrier number, high temperature RDT aging time, port number, port plug-in and unplug times, defect rate, port plug-in life and port shielding status, monitors high temperature RDT aging time and port plug-in times, updates the usage information mapping table according to the monitoring information, regularly obtains the defect rate and growth rate of the carrier port, adjusts the port plug-in life of the port in real time based on the defect rate, and shields the port in real time based on the growth rate, thereby realizing real-time update of actual usage information of the carrier and the carrier port, and then determines the carrier to be used from the carrier based on the usage information mapping table. When determining the carrier to be used, a new carrier is used first. When there is no new carrier in the carrier, the carrier with the least average port plug-in and unplug times in the carrier is used first. If there are multiple such carriers, the carrier with the shortest high temperature RDT aging time is used first. When using the carrier to be used to test the hard disk to be tested, the last digit of the hard disk to be tested is first determined, and the port shielding status is calculated as the unshielded state. The ratio of the number of times the port has been plugged in and out to the plug-in life of the port corresponding to each port is used to determine the port corresponding to the ratio of the preset number as the port to be used. It is judged whether the carrier needs to be replaced based on the port plug-in life or the defective rate or the port shielding status at a regular time, rather than simply judging the replacement of the carrier based on the port plug-in life predicted according to the nominal plug-in number. It fully considers multiple factors that affect the plug-in life of the port, and no longer uses the nominal plug-in life in the specification as the port plug-in life. Instead, it considers the actual use of the carrier. For ports with a longer port plug-in life, more production tasks are allocated to utilize their value to achieve the purpose of replacing the same batch of carriers and the ports on the carrier at the same time as much as possible, thereby reducing the replacement frequency of the carrier and the carrier port, thereby minimizing the stoppage frequency of the production line, saving the carrier maintenance cost, improving the production capacity, and ensuring better economic benefits. At the same time, the use information of the carrier is finely monitored, and fault warnings and early shielding are performed on ports whose actual plug-in life is lower than the nominal life to avoid sudden port failures, thereby avoiding economic losses caused by reduced production capacity or production line shutdown.
[0142] In the above embodiments provided in the present application, it should be understood that the disclosed methods, devices, computer-readable storage media, and electronic devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple components or modules can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or components or modules, which can be electrical, mechanical or other forms.
[0143] The components described as separate components may or may not be physically separated, and the components shown as components may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the components may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each component may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0145] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0146] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0147] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0148] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for balancing the use of a vehicle, characterized in that: include: Receive a request for using a carrier of the hard disk to be tested; Acquire a vehicle usage information mapping table according to the vehicle usage request; Determining a carrier to be used from the carriers based on the usage information mapping table, and using the carrier to be used to test the hard disk to be tested; The step of receiving the carrier use request of the hard disk to be tested also includes: Receive a request for establishing a usage information mapping table corresponding to a vehicle; According to the establishment request, obtain the first number and high-temperature RDT aging time corresponding to the carrier, obtain the second number of the port corresponding to the carrier and the number of times the port has been plugged in and out, and establish a usage information mapping table according to the first number, the high-temperature RDT aging time, the second number and the number of times the port has been plugged in and out; After receiving the carrier use request of the hard disk to be tested, the method further includes the steps of: Monitoring the high temperature RDT aging time and the number of times the port has been plugged in and out according to the vehicle use request to obtain monitoring information; Update the usage information mapping table according to the monitoring information; The determining a vehicle to be used from the vehicles based on the usage information mapping table comprises: Determine whether there is an unused vehicle in the vehicles according to the usage information mapping table, and if so, determine the unused vehicle as a vehicle to be used; if not, determine each of the vehicles as a used vehicle, and determine the vehicle to be used from the used vehicles according to the usage information mapping table; The determining the vehicle to be used from the used vehicles according to the usage information mapping table comprises: Acquire the number of times the port corresponding to the used carrier has been plugged in and out according to the usage information mapping table; Obtaining an average number of times a port has been plugged in and out of each of the used vehicles according to the number of times a port corresponding to each of the used vehicles has been plugged in and out; Determine the carrier corresponding to the minimum average number of port plug-ins and unplugs according to the average number of port plug-ins and unplugs of each of the used carriers, and judge whether there are multiple carriers corresponding to the minimum average number of port plug-ins and unplugs; if so, compare the high-temperature RDT aging times of the multiple carriers corresponding to the minimum average number of port plug-ins and unplugs to obtain the carrier corresponding to the shortest high-temperature RDT aging time, and determine the carrier corresponding to the shortest high-temperature RDT aging time as the carrier to be used; if not, determine the carrier corresponding to the minimum average number of port plug-ins and unplugs as the carrier to be used.
2. A method for balancing the use of a vehicle according to claim 1, characterized in that: The vehicle use request includes a use mode; The usage information mapping table also includes the port plug-in life and the port shielding state, and the port shielding state includes an unshielded state; The using the to-be-used carrier to test the to-be-tested hard disk comprises: Determine the last hard disk to be tested according to the number of the hard disks to be tested and the number of ports of each of the carriers to be used, calculate the ratio of the number of times the port has been plugged in and out corresponding to each port in the carrier to be used whose port shielding state is unshielded to the plugging and unplugging life of the port, obtain multiple ratios, arrange the multiple ratios in order from small to large, obtain the ports corresponding to the ratios of the first preset number and determine them as the ports to be used; The preset number matches the number of hard disks to be tested; Determine whether the usage mode is the automatic mode. If not, display the position of the port to be used on the loading display, and use the port to be used to test the last digit hard disk to be tested after receiving the access completion signal of the last digit hard disk to be tested; if yes, automatically connect the last digit hard disk to be tested to the port to be used, and use the port to be used to test the last digit hard disk to be tested.
3. A method for balancing the use of a vehicle according to claim 2, characterized in that: The port shielding state also includes a shielded state; After receiving the carrier use request of the hard disk to be tested, the method further includes the steps of: Obtaining the defect rate of the port and the growth rate corresponding to the defect rate according to a first preset time interval; Determine whether the defective rate exceeds a first preset threshold value, if so, reduce the port plug-in life corresponding to the port according to a first preset ratio, and determine whether the growth rate is continuously higher than a preset growth rate within a preset time period, if so, update the port shielding state corresponding to the port to a shielded state; If not, determine whether the defective rate is lower than a second preset threshold value, and if so, increase the port plug-in life corresponding to the port according to a second preset ratio.
4. A method for balancing the use of a vehicle according to claim 3, characterized in that: After the step of increasing the port plug-in life corresponding to the port according to the second preset ratio, the step further includes: Storing the defect rate of the port in the usage information mapping table; At a second preset time interval, based on the port plug-in life or the defective rate or the port shielding status in the usage information mapping table, it is determined whether the carrier meets a preset replacement condition; if so, the carrier is replaced.
5. A vehicle use balancing device, characterized in that: include: A request receiving module, used for receiving a carrier use request of the hard disk to be tested; A data acquisition module, used to acquire a vehicle usage information mapping table according to the vehicle usage request; A carrier to be used determining module, used to determine a carrier to be used from the carriers based on the usage information mapping table, and use the carrier to be used to test the hard disk to be tested; The step of receiving the carrier use request of the hard disk to be tested also includes: Receive a request for establishing a usage information mapping table corresponding to a vehicle; According to the establishment request, obtain the first number and high-temperature RDT aging time corresponding to the carrier, obtain the second number of the port corresponding to the carrier and the number of times the port has been plugged in and out, and establish a usage information mapping table according to the first number, the high-temperature RDT aging time, the second number and the number of times the port has been plugged in and out; After receiving the carrier use request of the hard disk to be tested, the method further includes the steps of: Monitoring the high temperature RDT aging time and the number of times the port has been plugged in and out according to the vehicle use request to obtain monitoring information; Update the usage information mapping table according to the monitoring information; The determining a vehicle to be used from the vehicles based on the usage information mapping table comprises: Determine whether there is an unused vehicle in the vehicles according to the usage information mapping table, and if so, determine the unused vehicle as a vehicle to be used; if not, determine each of the vehicles as a used vehicle, and determine the vehicle to be used from the used vehicles according to the usage information mapping table; The determining the vehicle to be used from the used vehicles according to the usage information mapping table comprises: Acquire the number of times the port corresponding to the used carrier has been plugged in and out according to the usage information mapping table; Obtaining an average number of times a port has been plugged in and out of each of the used vehicles according to the number of times a port corresponding to each of the used vehicles has been plugged in and out; Determine the carrier corresponding to the minimum average number of port plug-ins and unplugs according to the average number of port plug-ins and unplugs of each of the used carriers, and judge whether there are multiple carriers corresponding to the minimum average number of port plug-ins and unplugs; if so, compare the high-temperature RDT aging times of the multiple carriers corresponding to the minimum average number of port plug-ins and unplugs to obtain the carrier corresponding to the shortest high-temperature RDT aging time, and determine the carrier corresponding to the shortest high-temperature RDT aging time as the carrier to be used; if not, determine the carrier corresponding to the minimum average number of port plug-ins and unplugs as the carrier to be used.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of a vehicle usage balancing method as claimed in any one of claims 1 to 4 is implemented.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step of the vehicle usage balancing method as described in any one of claims 1 to 4 is implemented.
