Material distribution method, device, equipment and medium

By intelligently allocating materials according to the priority level of the test task and the prototype status, the problem of low material distribution efficiency in computer equipment testing is solved, and efficient and automated material management is achieved to ensure the smooth completion of the test task.

CN119127692APending Publication Date: 2024-12-13INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411194685.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

During the computer equipment testing process, as the project scale and complexity increase, the rationality and efficiency of material distribution are difficult to ensure, making it difficult for the equipment to complete the test efficiently.

Method used

By determining the grouping sequence based on the processing priority level of the test task, combining the execution status of the prototype and the bill of materials, intelligently perform material allocation, ensure priority processing of critical tasks, and realize automated and precise material management.

Benefits of technology

It improves the rationality and efficiency of material allocation, avoids waste of resources, and ensures that computer equipment can complete the test tasks efficiently and smoothly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127692A_ABST
    Figure CN119127692A_ABST
Patent Text Reader

Abstract

The invention provides a material distribution method and device, equipment and a medium, and the method comprises the steps: determining a grouping sequence to which each test task belongs according to a processing priority level corresponding to each test task; according to an execution state and a bill of material of each model machine in a model machine list and an execution sequence corresponding to each grouping sequence, determining a pre-distributed bill of material corresponding to a test task in each grouping sequence in the bill of material and idle materials of each model machine; and carrying out material distribution on the test tasks in the grouping sequences according to the pre-distribution material list. According to the method and the device, the execution state of the model machine, the existing bill of materials and the execution sequence after grouping are combined to intelligently distribute the materials, so that the reasonability of material distribution is improved, the waste of resources is avoided, and automatic and accurate material management is realized, so that the distribution efficiency is greatly improved, and the labor intensity of workers is reduced. And it is ensured that the computer equipment can efficiently and smoothly complete a test task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a material distribution method, device, equipment and medium. Background Art

[0002] In the current field of software development and product verification, as project scale expands and complexity increases, the materials required for computer equipment testing are becoming more and more diverse. Therefore, how to reasonably allocate materials to efficiently conduct computer equipment testing is one of the problems that need to be solved urgently.

[0003] During the computer equipment testing process, a test engineer (TE) usually manually allocates and configures materials based on the received test tasks to build a prototype, and then implements computer equipment testing based on the built prototype.

[0004] However, as testing workloads increase, TE often receives testing tasks from multiple projects, each requiring different test configurations and materials. In this scenario, relying solely on manual experience to allocate and configure materials individually can make it difficult to ensure the rationality and efficiency of material allocation, making it difficult to efficiently complete computer equipment testing. Summary of the Invention

[0005] The present invention provides a material allocation method, device, equipment and medium to address the defects in the prior art that the rationality and efficiency of material allocation are difficult to ensure, resulting in difficulty in efficiently completing computer equipment testing. The method realizes adaptive material allocation to improve the rationality and efficiency of material allocation, thereby efficiently completing computer equipment testing.

[0006] The present invention provides a material distribution method, comprising: Determining the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task; According to the execution status and bill of materials of each prototype in the prototype list and the execution order corresponding to each grouping sequence, determine the pre-allocated bill of materials corresponding to the test task in each grouping sequence from the bill of materials and idle materials of each prototype; According to the pre-allocated material list, materials are allocated for the test tasks in each of the grouping sequences.

[0007] According to a material allocation method provided by the present invention, the method includes determining, based on the execution status and bill of materials of each prototype in the prototype list and the execution order corresponding to each grouping sequence, the pre-allocated bill of materials corresponding to the test task in each grouping sequence from the bill of materials and idle materials of each prototype, including: Determine the current grouping sequence to be executed according to the execution order; Determine a first prototype and a second prototype in the prototype list according to the execution status; the first prototype is a prototype that has not executed a test task, and the second prototype is a prototype that is currently executing a task; Determine whether a first target material exists in the bill of materials of the first prototype and the idle materials; the first target material is a material required for the test task in the current group sequence to be executed; If it is determined that the first target material does not exist in the bill of materials of the first prototype and the idle materials, determining whether the first target material exists in the bill of materials of the second prototype; When it is determined that the first target material exists in the bill of materials of the second prototype, the pre-allocated bill of materials corresponding to the test task in the current to-be-executed grouping sequence is determined based on the first target material in the bill of materials of the second prototype.

[0008] According to a material distribution method provided by the present invention, the method further includes: When it is determined that the first target material exists in the bill of materials of the first prototype and the idle materials, the first target material in the bill of materials of the first prototype and the idle materials is used as a pre-allocated bill of materials, material allocation is performed for the test tasks in the current to-be-executed group sequence, and a first execution duration is estimated, where the first execution duration is the execution duration of the test tasks in the current to-be-executed group sequence; Determine whether there is a second target material in the remaining materials; the second target material is the material required for the next test task in the group sequence to be executed, and the remaining materials are the materials in the bill of materials of the first prototype and the idle materials except the first target material; If it is determined that the second target material exists in the remaining materials, the second target material in the remaining materials is used as a pre-allocated material list, and materials are allocated for the test task in the next to-be-executed group sequence, and a second execution duration is estimated, where the second execution duration is the execution duration of the test task in the next to-be-executed group sequence; The first execution duration and the second execution duration are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

[0009] According to a material allocation method provided by the present invention, the combining of the first execution time and the second execution time to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence includes: When the difference between the first execution time and the second execution time is less than the prototype construction time, the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence are executed in parallel.

[0010] According to a material distribution method provided by the present invention, the method further includes: When it is determined that the first target material exists in the bill of materials of the second prototype, obtaining the remaining execution time of the second prototype; Determine whether a second target material exists in the bill of materials of the first prototype and the idle materials; the second target material is a material required for a test task in a next grouping sequence to be executed; When it is determined that the second target material exists in the bill of materials of the first prototype and the idle materials, estimating a second execution duration, where the second execution duration is the execution duration of the test task in the next to-be-executed group sequence; The remaining execution time and the second execution time are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

[0011] According to a material allocation method provided by the present invention, executing the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence in combination with the remaining execution time and the second execution time, includes: When the difference between the remaining execution time and the second execution time is greater than the prototype building time, allocating the first prototype's bill of materials and the second target material in the idle materials to the test tasks in the next to-be-executed group sequence, and executing the test tasks in the next to-be-executed group sequence based on the allocated materials; When the test task of the second prototype is completed, the first target material in the material list of the second prototype is used as the pre-allocated material list to allocate materials for the test tasks in the current group sequence to be executed, and the test tasks in the current group sequence to be executed are executed according to the allocated materials.

[0012] According to a material allocation method provided by the present invention, determining the grouping sequence to which each test task belongs based on the processing priority level corresponding to each test task includes: Determining the processing priority level corresponding to each of the test tasks according to the multidimensional key parameters corresponding to each of the test tasks; Dividing each of the test tasks into groups and sequences according to the processing priority levels corresponding to the tasks, to obtain the group sequences to which each of the test tasks belongs; The multi-dimensional key parameters include multiple items of deadline, business impact and user needs.

[0013] The present invention also provides a material dispensing device, comprising: A first determining unit, configured to determine a grouping sequence to which each test task belongs according to a processing priority level corresponding to each test task; A second determining unit is configured to determine, based on the execution status and the bill of materials of each prototype in the prototype list and the execution order corresponding to each grouping sequence, the pre-allocated bill of materials corresponding to the test task in each grouping sequence from the bill of materials and idle materials of each prototype; An allocation unit is used to allocate materials to the test tasks in each of the grouping sequences according to the pre-allocated material list.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described material distribution methods is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements any of the above-mentioned material distribution methods when executed by a processor.

[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned material distribution methods.

[0017] The material allocation method, device, equipment and medium provided by the present invention group the test tasks according to their priority levels to ensure that key tasks can be processed first; then, based on the execution status of the prototype and the existing material list, as well as the execution order after grouping, materials are intelligently allocated, which not only improves the rationality of material allocation, but also avoids the waste of resources, and also realizes automated and precise material management, thereby greatly improving the allocation efficiency and ensuring that computer equipment can complete the test tasks efficiently and smoothly. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 This is one of the flow charts of the material distribution method provided by the present invention.

[0020] Figure 2 This is the second flow chart of the material distribution method provided by the present invention.

[0021] Figure 3 This is the third flow chart of the material distribution method provided by the present invention.

[0022] Figure 4 It is a structural schematic diagram of the material distribution device provided by the present invention.

[0023] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0024] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0025] The material distribution method, apparatus, device, and medium provided in this embodiment can be applied to various computer devices, including but not limited to servers, network devices, etc. For ease of description, the following description will be expanded by taking a server as an example.

[0026] During server testing, a project Verify Manager (VM) typically develops a test plan based on the project delivery schedule. Each module's Team Leader (TL) then assigns different test tasks to the TE. Upon receiving the test tasks, the TE builds a prototype based on the required configuration and then conducts testing.

[0027] As the testing workload increases, TE often receives testing tasks from multiple projects. Due to the different priorities, urgency, and test configurations of different projects, complete machine materials cannot be borrowed quickly, and material resources are limited. In this scenario, if only relying on manual experience to allocate and configure materials one by one, TE will not only be unable to continue testing according to the previous plan, but will also need to support new test projects, thus disrupting the original test plan, making it difficult to ensure the rationality and efficiency of material allocation, and thus making it difficult for computer equipment to complete testing efficiently.

[0028] Therefore, when testing tasks are complex and diverse, and material supply is limited, how to ensure the rational allocation and utilization of resources, and conduct optimal testing based on the urgency of the testing tasks and the configuration of existing materials to improve testing efficiency is a technical problem that needs to be solved urgently.

[0029] In some technologies, in view of the limited material inventory in the existing testing process, it is easy for materials to be borrowed in advance and not returned in time, or the inventory is shown in the ledger but there is no inventory when it is actually borrowed. By obtaining the test plan and the free inventory of various materials from the server, a mapping relationship between materials and free inventory is established, and the locking mark is determined. Further, based on the analysis of the locking mark, the scheduling of various materials is realized. Although this method can improve the timeliness of material flow and the provision of test prototypes, and further improve test efficiency. However, for TE, when TE receives multiple tasks, it first needs to clarify the materials and task requirements in hand, and then borrow materials. The entire material handover process is slow, and it does not fundamentally solve the problem of rationality of material allocation and difficulty in ensuring efficiency. Testing efficiency is still low.

[0030] Some other technologies, during server testing, test component compatibility and board functionality reuse. This allows for reusable testing to verify modules with identical or similar functions, accelerating test design progress and reducing the burden on testers. While this approach accelerates test design progress by verifying modules with identical or similar functions through reusable testing, it does not fundamentally address the issues of rational material allocation and efficiency, resulting in low test efficiency.

[0031] Other technologies reduce server testing pressure by determining the motherboard type and various CPU and memory combinations, determining the test configuration, and then performing deduplication. Finally, they identify the test case and determine the corresponding test case based on the test configuration and parts information table. This technology reduces server testing pressure by determining the test configuration and performing deduplication. While reducing the number of test cases, it does not reduce the number of configurations. The configurations required for TE to execute test tasks remain the same, and the same number and versions of materials are still required. This does not fundamentally address the issues of rational material allocation and efficiency, and testing efficiency remains low.

[0032] Therefore, the above improvement measures are all upstream measures of TE. After receiving different urgent test tasks, TE did not provide a reasonable test plan, did not fundamentally solve the rationality of material allocation and the difficulty in ensuring efficiency, and the test efficiency remained low.

[0033] To solve the above problems, this embodiment provides a material allocation method, which adaptively allocates materials to the test tasks in each group sequence by combining the execution status and material list of each prototype in the prototype list, as well as the processing priority level corresponding to each test task. This allows, when material resources are limited, to disassemble and build prototypes based on existing test tasks and existing prototype materials according to the urgency of the project test tasks, thereby balancing the completion of urgent tasks and the effective use of materials, and reasonably and orderly allocating materials to arrange the execution of test tasks in a reasonable and orderly manner, thereby improving the testing efficiency of computer equipment.

[0034] Figure 1 One of the flow diagrams of the material distribution method provided by the present invention; Figure 1 As shown, the method includes step 110 , step 120 and step 130 .

[0035] Step 110: Determine the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task.

[0036] Optionally, during the testing process, each test task to be executed is first pulled from the TE end; based on one or more key parameters in the attribute list of each test task, the processing priority (or urgency) corresponding to each test task is determined, so that each test task has an associated processing priority.

[0037] The processing priority here is used to limit the execution order of each test task.

[0038] The attribute list here includes multiple key parameters, including but not limited to the task deadline, the impact of the task on the business, user needs, task execution time, task number, etc., which are not specifically limited in this embodiment.

[0039] Subsequently, each test task is divided into groups and sequences according to its corresponding processing priority from high to low or from low to high to obtain the group sequence to which each test task belongs. This solves the problem of urgent tasks "jumping the queue" when TE executes test tasks, clarifies the urgency and sequence of tasks, makes the test process more orderly, reduces delays caused by waiting for materials or prototypes, and thus reduces test work efficiency.

[0040] The test tasks in different group sequences obtained by division have different numbers of tasks and different execution orders. The higher the processing priority level corresponding to the test task included, the earlier the execution order.

[0041] For example, based on the processing priority (or urgency) of each test task, the test tasks can be divided into the first group sequence, the second group sequence, the third group sequence, etc. according to the execution priority from high to low. Among them, the first group sequence, the second group sequence and the third group sequence are executed in sequence from front to back, that is, the first group sequence is executed first, followed by the second group sequence, and then the third group sequence.

[0042] Step 120, according to the execution status and material list of each prototype in the prototype list, and the execution order corresponding to each group sequence, determine the pre-allocated material list corresponding to the test task in each group sequence from the material list and idle materials of each prototype.

[0043] Optionally, you can obtain a prototype list, which details the currently available prototypes, including but not limited to each prototype's model, serial number, execution status, bill of materials (parts list), and remaining execution time. It should be noted that the materials in this prototype list do not need to be borrowed.

[0044] Here, the execution status is used to indicate whether each prototype is executing the test task; the bill of materials is used to indicate the set of materials required to configure the prototype for testing, including but not limited to the type, quantity, status and location information of each material; the remaining execution time is the theoretical execution time remaining for each prototype to execute the test task.

[0045] The prototype list is then parsed to obtain the execution status and bill of materials of each prototype.

[0046] Subsequently, the execution status and bill of materials of each prototype, as well as the execution order corresponding to each group sequence, are combined to determine the material set required to be allocated to the test tasks in each group sequence from the bill of materials and idle materials of each prototype, that is, the pre-allocated bill of materials.

[0047] Here, idle materials are materials that have not been assembled to form prototypes and have not been borrowed by any prototypes.

[0048] Here, the pre-allocated BOM can be determined based on a pre-trained classification model or multiple logical judgments. This can be flexibly determined based on the automation level of the test task and the amount of historical data. For example, if the amount of historical data is large and the automation level is high, a pre-trained classification model can be considered. If the amount of historical data is small or the flexibility is high, multiple logical judgments can be considered. This improves the flexibility and applicability of material allocation, thereby enhancing the user experience.

[0049] For example, to determine the pre-allocated bill of materials using a pre-trained classification model, the execution status and bill of materials of a large number of sample prototypes, the execution order corresponding to the sample grouping sequence, and the sample idle materials and material allocation strategy labels corresponding to the sample grouping sequence can be collected to train the initial neural network model, so as to obtain a classification model that can accurately output the corresponding material allocation strategy based on the execution status and bill of materials of each prototype, as well as the execution order and idle materials corresponding to each grouping sequence; then, the execution status and bill of materials of each prototype, as well as the execution order and idle materials corresponding to each grouping sequence are input into the classification model to obtain the corresponding material allocation strategy. Based on the material allocation strategy, the pre-allocated bill of materials corresponding to the test tasks in each grouping sequence can be adaptively determined from the bill of materials and idle materials of each prototype.

[0050] Step 130: Allocate materials for the test tasks in each of the grouping sequences according to the pre-allocated material list.

[0051] After obtaining the pre-allocated material list, you can make reasonable material allocations for the test tasks in each group sequence according to the pre-allocated material list. Subsequently, the corresponding prototype is built using the allocated materials, and the test tasks are executed in the respective built prototypes according to the execution order corresponding to each group sequence, and the test results of each group sequence are displayed in sequence, for example, the first sequence, the second sequence, and the third sequence are displayed in sequence. The test results here include but are not limited to the test start time, test progress, test execution time, estimated completion time, and remaining execution time, which are not specifically limited in this embodiment.

[0052] The method provided in this embodiment groups test tasks according to their priority levels to ensure that critical tasks are processed first. Then, materials are intelligently allocated based on the execution status of the prototype, the existing bill of materials, and the execution order after grouping. This not only improves the rationality of material allocation, but also avoids waste of resources and realizes automated and precise material management, thereby greatly improving allocation efficiency and ensuring that computer equipment can complete test tasks efficiently and smoothly.

[0053] In some embodiments, the material inventory information contained in the prototype list and the material inventory information contained in the idle materials can be combined to obtain the total material inventory information. When the total material inventory information is lower than the preset safety threshold, an alarm prompt is issued in time and corresponding maintenance measures are taken to improve the overall testing efficiency of TE.

[0054] In some embodiments, step 120 includes: Step 121, determining the current group sequence to be executed according to the execution order; Step 122: Determine a first prototype and a second prototype in the prototype list according to the execution status; the first prototype is a prototype that has not executed a test task, and the second prototype is a prototype that is currently executing a task; Step 123: Determine whether a first target material exists in the bill of materials of the first prototype and the idle materials; the first target material is a material required for the test task in the current group sequence to be executed; Step 124: if it is determined that the first target material does not exist in the bill of materials of the first prototype and the idle materials, determine whether the first target material exists in the bill of materials of the second prototype; Step 125 , when it is determined that the first target material exists in the bill of materials of the second prototype, determine the pre-allocated bill of materials corresponding to the test task in the current to-be-executed grouping sequence according to the first target material in the bill of materials of the second prototype.

[0055] Optionally, for each test cycle, perform the following steps: Based on the execution order corresponding to each packet sequence, in the current test cycle, the packet sequence ranked highest among the unexecuted packet sequences is determined as the current packet sequence to be executed. For example, if the current test cycle is an initial test cycle, all packet sequences have not been executed, and the first packet sequence is ranked highest, then the first packet sequence is determined to be the current packet sequence to be executed. For another example, if the current test cycle is an intermediate test cycle, the first packet sequence has been executed, and the second and third packet sequences have not been executed, and the second packet sequence is ranked before the third packet sequence, then the second packet sequence is determined to be the current packet sequence to be executed.

[0056] Furthermore, based on the execution status of each prototype, it is determined whether each prototype is the prototype currently executing the task, so as to divide each prototype into the first prototype that has not executed the test task (such as prototype A and prototype B) and the second prototype that is currently executing the task (such as prototype C).

[0057] Subsequently, the materials required for each test task in the current group sequence to be executed, that is, the first target material, and the theoretical test duration of each test are obtained in sequence.

[0058] Subsequently, the materials of the first prototype (such as prototype A and prototype B) are disassembled according to the material list of the first prototype to determine the current idle material list based on the disassembled materials and idle materials, and to determine whether the first target material exists in the current idle material list, thereby determining whether the current idle material list meets the material requirements required for the test tasks in the current grouping sequence to be executed.

[0059] If the first target material does not exist in the current idle material list, it is determined that the current idle material list does not meet the material requirements required for the test task in the current group sequence to be executed; at this time, it is necessary to further obtain the material list of the second prototype to determine whether the first target material exists in the material list of the second prototype, thereby determining whether the material list of the second prototype meets the material requirements required for the test task in the current group sequence to be executed.

[0060] If the first target material does not exist in the material list of the second prototype, it is determined that the material list of the second prototype does not meet the material requirements required for the test task in the current group sequence to be executed, and it is necessary to wait for borrowing.

[0061] If the first target material exists in the bill of materials of the second prototype, it is determined that the bill of materials of the second prototype meets the material requirements required for the test task in the current group sequence to be executed. At this time, the first target material in the bill of materials of the second prototype can be used to determine the pre-allocated bill of materials corresponding to the test task in the current group sequence to be executed, so that after the current test task of the second prototype is completed, the second prototype can be disassembled, and the disassembled first target material can be allocated to the test task in the current group sequence to be executed, so that a new prototype can be established based on the allocated material, and the test task in the current group sequence to be executed can be executed based on this prototype.

[0062] The method provided in this embodiment first checks whether the prototypes and idle materials that have not performed tasks meet the requirements. If not, the prototype materials that are currently performing tasks are further examined to ensure efficient use of existing resources, quickly determine and pre-allocate the bill of materials required for the test tasks, thereby enhancing the TE task response speed through precise task sequence division and material requirement analysis, quickly identifying and allocating qualified materials to carry out test tasks in an orderly manner, and especially giving priority to executing high-priority tasks first, thereby greatly shortening the response time while ensuring that limited material resources are allocated and used in the most effective way, thereby improving test preparation efficiency and resource utilization.

[0063] In some embodiments, after step 123, the method further includes: When it is determined that the first target material exists in the bill of materials of the first prototype and the idle materials, the first target material in the bill of materials of the first prototype and the idle materials is used as a pre-allocated bill of materials, material allocation is performed for the test tasks in the current to-be-executed group sequence, and a first execution duration is estimated, where the first execution duration is the execution duration of the test tasks in the current to-be-executed group sequence; Determine whether there is a second target material in the remaining materials; the second target material is the material required for the next test task in the group sequence to be executed, and the remaining materials are the materials in the bill of materials of the first prototype and the idle materials except the first target material; If it is determined that the second target material exists in the remaining materials, the second target material in the remaining materials is used as a pre-allocated material list, and materials are allocated for the test task in the next to-be-executed group sequence, and a second execution duration is estimated, where the second execution duration is the execution duration of the test task in the next to-be-executed group sequence; The first execution duration and the second execution duration are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

[0064] Optionally, if it is determined according to the judgment of step 123 that the first target material exists in the current idle material list, it is determined that the current idle material list meets the material requirements for the test task in the current group sequence to be executed. At this time, the first prototype is disassembled, and the disassembled materials and the first target material in the idle materials are allocated to the test task in the current group sequence to be executed, so that a new prototype is established based on the allocated materials to execute the test task in the current group sequence to be executed, and the execution time of the test task in the current group sequence to be executed is estimated to obtain the first execution time t1; at the same time, the status of the first target material is updated to the occupied status, and the prototype list and idle materials are updated accordingly; by real-time monitoring and updating of the materials and execution status of the prototype, the next test cycle can be quickly identified and allocated according to the latest materials and status in real time, thereby reducing the waiting time for material allocation, thereby improving the test efficiency.

[0065] Furthermore, according to the execution order from front to back, the next to-be-executed group sequence that is sorted after the current to-be-executed group sequence is determined, and it is judged whether the second target material exists in the remaining materials, thereby determining whether the remaining materials meet the material requirements required for the test task in the next to-be-executed group sequence.

[0066] If the conditions are met, the second target material in the remaining materials is used as the pre-allocated material list to allocate materials for the test tasks in the next group sequence to be executed. The execution time of the test tasks in the next group sequence to be executed is estimated to obtain a second execution time t1. Furthermore, the first execution time and the second execution time are combined to adaptively determine the execution strategy for the test tasks in the current group sequence to be executed and the test tasks in the next group sequence to be executed. The strategy includes parallel execution or serial execution.

[0067] If not, continue to follow the execution order from front to back, and determine in turn the remaining materials to obtain the to-be-executed group sequence that meets the material requirements of its test tasks, and use the materials in the remaining materials that meet the to-be-executed group sequence as the pre-allocated material list, and perform material allocation for the test tasks in the to-be-executed group sequence, and estimate the execution time of the test tasks in the to-be-executed group sequence, and combine the first execution time and the execution time corresponding to the to-be-executed group sequence to adaptively determine the execution strategy for the test tasks in the current to-be-executed group sequence and the test tasks in the to-be-executed group sequence, which strategy includes parallel execution or serial execution.

[0068] The method provided in this embodiment realizes rapid material pre-allocation of test tasks in the current and subsequent group sequences to be executed by intelligently analyzing the matching situation between the bill of materials of the first prototype and the idle materials, and accurately estimates the execution time of the test tasks in the current and subsequent group sequences to be executed, so as to adaptively process the test tasks in the current and subsequent group sequences to be executed in parallel or serially based on the execution time, thereby reducing additional costs caused by material shortages or prototype occupancy, such as borrowing costs and delay costs, etc., not only improving material utilization efficiency, but also significantly shortening the overall test cycle while ensuring the orderly execution of test tasks by parallel planning of test tasks of multiple group sequences, thereby improving test efficiency and resource management flexibility.

[0069] In some embodiments, the combining the first execution duration and the second execution duration to execute the test task in the current to-be-executed group sequence and the test task in the next to-be-executed group sequence includes: When the difference between the first execution time and the second execution time is less than the prototype construction time, the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence are executed in parallel.

[0070] Optionally, the difference between the first execution time t1 and the second execution time t2 is calculated. If the difference between the first execution time t1 and the second execution time t2 is less than the prototype construction time, the test tasks in the current group sequence to be executed and the test tasks in the next group sequence to be executed are executed in parallel to maximize the utilization of material resources, thereby achieving the synchronous preparation and execution of other test tasks without affecting the progress of the first sequence of test tasks, thereby improving test efficiency.

[0071] The construction time of the prototype here can be determined based on the average construction time of all prototypes, or a pre-set standard prototype construction time, such as 4 hours, which is not specifically limited in this embodiment.

[0072] In some embodiments, after step 124, the method further includes: When it is determined that the first target material exists in the bill of materials of the second prototype, obtaining the remaining execution time of the second prototype; Determine whether a second target material exists in the bill of materials of the first prototype and the idle materials; the second target material is a material required for a test task in a next grouping sequence to be executed; When it is determined that the second target material exists in the bill of materials of the first prototype and the idle materials, estimating a second execution duration, where the second execution duration is the execution duration of the test task in the next to-be-executed group sequence; The remaining execution time and the second execution time are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

[0073] Optionally, if it is determined in step 124 that the first target material exists in the bill of materials of the second prototype, the remaining execution time t3 required for the second prototype to execute the current test task is obtained. Simultaneously, a determination is made as to whether the second target material exists in the bill of materials and idle materials of the first prototype, thereby determining whether the bill of materials and idle materials of the first prototype meet the material requirements for the next test task in the group sequence to be executed.

[0074] If the second target material is known to be present in the bill of materials and idle materials of the first prototype, indicating that the bill of materials and idle materials of the first prototype meet the material requirements of the test tasks in the next pending group sequence, the theoretical execution duration of the test tasks in the next pending group sequence can be estimated to obtain the second execution duration t2. Furthermore, the remaining execution duration t3 and the second execution duration t2 are combined to adaptively determine the execution strategy for the test tasks in the current pending group sequence and the next pending group sequence, including the execution trigger time.

[0075] The method provided in this embodiment analyzes the bill of materials of the second prototype in real time to determine whether it has the first target material required for the current test and predicts the remaining execution time of the second prototype; at the same time, it proactively checks whether the first prototype and its idle materials contain the second target material required for future test tasks (i.e., the next group sequence to be executed), thereby estimating the execution time of future test tasks. By combining the execution time of current and future tasks, the test sequence can be flexibly adjusted to achieve seamless connection or parallel execution of test tasks, thereby significantly reducing test waiting time and resource waste, and improving the automation level and response speed of the overall test process.

[0076] In some embodiments, the combining the remaining execution time and the second execution time to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence includes: When the difference between the remaining execution time and the second execution time is greater than the prototype building time, allocating the first prototype's bill of materials and the second target material in the idle materials to the test tasks in the next to-be-executed group sequence, and executing the test tasks in the next to-be-executed group sequence based on the allocated materials; When the test task of the second prototype is completed, the first target material in the material list of the second prototype is used as the pre-allocated material list to allocate materials for the test tasks in the current group sequence to be executed, and the test tasks in the current group sequence to be executed are executed according to the allocated materials.

[0077] Optionally, the difference between the remaining execution time t3 and the second execution time t2 is calculated.

[0078] If the difference between the remaining execution time t3 and the second execution time t2 is greater than the prototype building time, it means that the execution time of the test task currently required to be executed by the prototype is longer. At this time, the first prototype can be disassembled first to allocate the disassembled materials and the second target materials in the idle materials to the test tasks in the next group sequence to be executed, and a new prototype can be built based on the allocated second target materials to test the test tasks that meet the conditions in the next group sequence to be executed.

[0079] At the same time, it is detected whether the test task of the second prototype is completed. Once it is detected that the test task of the second prototype is completed, the second prototype is disassembled to allocate the first target material in the disassembled material to the test task in the current group sequence to be executed, and a new prototype is first built based on the allocated first target material to test the test task in the current group sequence to be executed.

[0080] Here, the task execution plan is flexibly adjusted according to the remaining execution time of the prototype, allowing the next group sequence to be processed first when the prototype idle time required by the current group sequence is longer, thereby achieving flexible scheduling of tasks and rational utilization of resources, further improving the test effect.

[0081] If the difference between the remaining execution time t3 and the second execution time t2 is less than or equal to the prototype building time, wait for the test task of the second prototype to be completed, and then disassemble the second prototype to allocate the first target material in the disassembled material to the test task in the current group sequence to be executed, so as to first build a new prototype based on the allocated first target material for testing the test task in the current group sequence to be executed; and the next group sequence to be executed will wait for the next test cycle to start before executing sequentially.

[0082] The method provided in this embodiment can intelligently determine the timing of prototype disassembly and material allocation based on the comparison between the remaining execution time and the execution time of future test tasks, so as to prioritize the execution of test tasks in the group sequence with the earlier execution order, and then execute the test tasks in the group sequences with the later order in sequence; specifically, when it is predicted that the current test task will take a long time and will not affect the preparation of future test tasks, the system will disassemble and reassemble the prototype in advance to prepare for the next round of testing, thereby reducing waiting time and improving the flexibility of the test process. On the contrary, when it is predicted that the current test task can be completed quickly, the system will prioritize completing the current task and then adjust resources, ensuring the continuity and efficiency of the test. This decision-making mechanism based on time difference and resource availability effectively improves the utilization rate of test resources and the response speed of the overall test process.

[0083] In some embodiments, step 110 includes: Determining the processing priority level corresponding to each of the test tasks according to the multidimensional key parameters corresponding to each of the test tasks; Dividing each of the test tasks into groups and sequences according to the processing priority levels corresponding to the tasks, to obtain the group sequences to which each of the test tasks belongs; The multi-dimensional key parameters include multiple items of deadline, business impact and user needs.

[0084] Optionally, the process of obtaining the packet sequence in step 110 includes: First, attribute information for each test task is collected and parsed to derive multi-dimensional key parameters, including but not limited to the task's deadline, the task's impact on overall business operations (business impact), and the user's testing requirements for the task, such as its urgency. These parameters are combined to calculate the processing priority of each test task. Subsequently, test tasks are grouped and sequenced according to these priorities to ensure that tasks with imminent deadlines, significant business impact, or urgent user needs are prioritized. This effectively manages test resources, ensures on-time project completion, and meets the needs of all parties.

[0085] The calculation here may be to numerically encode the deadline, the business impact, and the user demand, and then perform weighted fusion on the encoded values ​​of these parameters to obtain the corresponding processing priority.

[0086] The numerical coding here can be performed by encoding different numerical values ​​according to the interval to which the parameters belong, or by adopting different scoring rules for these parameters to achieve numerical coding, which is not specifically limited in this embodiment.

[0087] The complete process of the material distribution method provided in this embodiment is described below with specific examples.

[0088] Figure 3 This is the third flow chart of the material distribution method provided by the present invention; Figure 3 As shown in FIG, the complete process of the method includes: First, based on the multidimensional key parameters of each test task, such as deadline, impact on business, customer requirements, and other factors, group sequence division is performed to obtain multiple group sequences with different execution priorities, such as the first sequence, second sequence, third sequence, etc., which are sorted from front to back in execution order.

[0089] Then, obtain the prototype list currently in the hands of the TE to obtain the prototype quantity, prototype configuration, such as the bill of materials of each prototype, and the execution status of each prototype, such as the execution status and remaining execution time, and obtain idle materials.

[0090] Then, it is detected whether the materials of the prototypes that have not executed the test tasks (idle prototypes) and the idle materials meet the material requirements required for the test tasks in the current group sequence to be executed.

[0091] If the materials and idle materials of the idle prototypes can be met, the current test method is determined as: directly use the materials and idle materials of the prototypes that have not executed the test tasks, allocate corresponding materials to the test tasks in the current group sequence to be executed, build a new prototype, so as to test the test tasks in the current group sequence to be executed, and update the material status after the test is completed.

[0092] If the materials of the idle prototypes and the idle materials cannot meet the requirements, check whether the materials of the prototype being tested can meet the material requirements of the test tasks in the current group sequence to be executed.

[0093] If the prototype being tested can meet the material requirements of the test tasks in the current group sequence to be executed by disassembling materials, and the test task of the prototype is about to be completed, that is, the difference between the remaining execution time of the prototype being tested and the execution time of the test task of the next group sequence to be executed is less than or equal to the prototype construction time (4 hours), then it indicates that the remaining theoretical execution time of the prototype being tested is short. At this time, the current test mode is determined as: wait for its completion before testing the test tasks in the current group sequence to be executed, and update the material status after the test is completed.

[0094] If the difference between the remaining execution time of the prototype being tested and the execution time of the test task in the next to-be-executed group sequence is greater than the prototype construction time (4 hours), and at the same time, the materials and idle materials of the idle prototypes can meet the material requirements of the test tasks in the next to-be-executed group sequence by disassembling materials, then the current test method is determined as follows: first, materials are allocated to the test tasks in the next to-be-executed group sequence based on the materials and idle materials of the idle prototypes, so as to perform test execution of the test tasks in the next to-be-executed group sequence accordingly; at the same time, the material status is updated after the test is completed, and the test execution of the test in the current to-be-executed group is returned to.

[0095] If the materials of the prototype being tested cannot meet the material requirements of the test tasks in the current group sequence to be executed, or the second sequence tasks cannot use the materials of the untested prototypes, the current test mode is determined to be: waiting or looking for external materials.

[0096] According to the current test method, materials are assigned to corresponding test tasks to execute the corresponding test tasks and update the material status in real time.

[0097] Finally, based on the material allocation plan and test task testing status, list the test plan and completion degree.

[0098] In summary, the material allocation method provided in this embodiment can quickly identify and allocate qualified prototypes for testing tasks on the basis of ensuring the rational allocation and utilization of resources and completing as many urgent tasks as possible under the conditions of limited material supply and tight tasks, thereby achieving a more reasonable allocation of materials and prototype resources and improving the overall efficiency of the test; and it can also monitor and update the materials and execution status of the prototype in real time to dynamically clarify the current test plan and plan completion. Therefore, according to the system plan and test completion, TE can promptly handle and report various test situations in a timely manner, effectively ensuring that the test progress is not delayed, and further improving the overall efficiency of the test.

[0099] The material dispensing device provided by the present invention is described below. The material dispensing device described below and the material dispensing method described above can be referenced to each other.

[0100] Figure 4 A schematic structural diagram of the material distribution device provided by the present invention; Figure 4 As shown, the device includes: The first determining unit 410 is used to determine the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task; The second determining unit 420 is configured to determine, from the bill of materials and idle materials of each prototype, a pre-allocated bill of materials corresponding to the test task in each grouping sequence based on the execution status and bill of materials of each prototype in the prototype list and the execution order corresponding to each grouping sequence; The allocating unit 430 is configured to allocate materials to the test tasks in each of the grouping sequences according to the pre-allocated material list.

[0101] The device provided in this embodiment groups test tasks according to their priority level to ensure that critical tasks are processed first. Then, intelligently allocating materials based on the prototype's execution status, the existing bill of materials, and the grouped execution order is used. This not only improves the rationality of material allocation and avoids resource waste, but also enables automated and precise material management, significantly improving allocation efficiency and ensuring that computer equipment can efficiently and smoothly complete testing tasks.

[0102] Figure 5 An example of a physical structure diagram of an electronic device is shown below. Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communications bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communications bus 540. The processor 510 may call logic instructions in the memory 530 to execute a material allocation method, which includes: determining the group sequence to which each test task belongs based on the processing priority level corresponding to each test task; determining a pre-allocated bill of materials corresponding to each test task in the group sequence from the bill of materials and idle materials of each prototype based on the execution status and bill of materials of each prototype in the prototype list and the execution order corresponding to each group sequence; and allocating materials for the test tasks in each group sequence based on the pre-allocated bill of materials.

[0103] Furthermore, the logic instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0104] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the material allocation method provided by the above-mentioned methods, which method includes: determining the group sequence to which each test task belongs according to the processing priority corresponding to each test task; determining the pre-allocated material list corresponding to the test task in each group sequence in the material list and idle materials of each prototype according to the execution status and material list of each prototype in the prototype list, and the execution order corresponding to each group sequence; and allocating materials for the test tasks in each group sequence according to the pre-allocated material list.

[0105] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the material allocation method provided by the above-mentioned methods, the method comprising: determining the group sequence to which each test task belongs according to the processing priority corresponding to each test task; determining the pre-allocated material list corresponding to each test task in the material list and idle materials of each prototype according to the execution status and material list of each prototype in the prototype list, and the execution order corresponding to each group sequence; and performing material allocation for the test tasks in each group sequence according to the pre-allocated material list.

[0106] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0107] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A material distribution method, It is characterized in that include: Determine the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task; According to the execution status and the bill of materials of each prototype in the prototype list, and the execution order corresponding to each grouping sequence, the pre-allocated bill of materials corresponding to the test task in each grouping sequence is determined from the bill of materials and idle materials of each prototype; According to the pre-allocated material list, materials are allocated for the test tasks in each of the grouping sequences.

2. The material distribution method according to claim 1, It is characterized in that The method of determining the pre-allocated bill of materials corresponding to the test tasks in each of the grouping sequences from the bill of materials and idle materials of each of the sample machines according to the execution status and bill of materials of each sample machine in the sample machine list and the execution order corresponding to each of the grouping sequences includes: According to the execution order, determining a current grouping sequence to be executed; According to the execution status, determining a first prototype and a second prototype in the prototype list; the first prototype is a prototype that has not executed a test task, and the second prototype is a prototype that is currently executing a task; Determine whether there is a first target material in the bill of materials of the first prototype and the idle materials; the first target material is a material required for the test task in the current grouping sequence to be executed; In the case where it is determined that the first target material does not exist in the bill of materials of the first prototype and the idle materials, determining whether the first target material exists in the bill of materials of the second prototype; When it is determined that the first target material exists in the bill of materials of the second prototype, the pre-allocated bill of materials corresponding to the test task in the current to-be-executed grouping sequence is determined according to the first target material in the bill of materials of the second prototype.

3. The material distribution method according to claim 2, It is characterized in that The method further comprises: In the case where it is determined that the first target material exists in the bill of materials of the first prototype and the idle materials, the bill of materials of the first prototype and the first target material in the idle materials are used as a pre-allocated bill of materials, materials are allocated for the test tasks in the current to-be-executed group sequence, and a first execution duration is estimated, where the first execution duration is the execution duration of the test tasks in the current to-be-executed group sequence; Determine whether there is a second target material in the remaining materials; the second target material is the material required for the next test task in the grouping sequence to be executed, and the remaining materials are the materials in the bill of materials of the first prototype and the idle materials except the first target material; In the case where it is determined that the second target material exists in the remaining materials, the second target material in the remaining materials is used as a pre-allocated material list, material allocation is performed for the test task in the next to-be-executed grouping sequence, and a second execution duration is estimated, where the second execution duration is the execution duration of the test task in the next to-be-executed grouping sequence; The first execution duration and the second execution duration are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

4. The material distribution method according to claim 3, It is characterized in that The combining the first execution duration and the second execution duration to execute the test task in the current to-be-executed group sequence and the test task in the next to-be-executed group sequence includes: When the difference between the first execution time and the second execution time is less than the prototype building time, the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence are executed in parallel.

5. The material distribution method according to claim 2, It is characterized in that The method further comprises: When it is determined that the first target material exists in the bill of materials of the second prototype, obtaining the remaining execution time of the second prototype; Determine whether there is a second target material in the bill of materials of the first prototype and the idle materials; the second target material is a material required for the next test task in the grouping sequence to be executed; When it is determined that the second target material exists in the material list of the first prototype and the idle materials, a second execution duration is estimated, where the second execution duration is the execution duration of the test task in the next group sequence to be executed; The remaining execution time and the second execution time are combined to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence.

6. The material distribution method according to claim 5, It is characterized in that The combining the remaining execution time and the second execution time to execute the test tasks in the current to-be-executed group sequence and the test tasks in the next to-be-executed group sequence includes: In the case where the difference between the remaining execution time and the second execution time is greater than the prototype building time, the bill of materials of the first prototype and the second target material in the idle materials are allocated to the test tasks in the next to-be-executed group sequence, and the test tasks in the next to-be-executed group sequence are executed according to the allocated materials; When the test task of the second prototype is completed, the first target material in the material list of the second prototype is used as the pre-allocated material list, material allocation is performed for the test tasks in the current group sequence to be executed, and the test tasks in the current group sequence to be executed are executed according to the allocated materials.

7. The material distribution method according to any one of claims 1 to 6, It is characterized in that Determining the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task includes: Determine the processing priority level corresponding to each of the test tasks according to the multidimensional key parameters corresponding to each of the test tasks; Divide each of the test tasks into groups and sequences according to the processing priority levels corresponding to the tasks, and obtain the group sequences to which each of the test tasks belongs; The multi-dimensional key parameters include multiple items of deadline, business impact and user needs.

8. A material distribution device, It is characterized in that include: A first determining unit, configured to determine the grouping sequence to which each test task belongs according to the processing priority level corresponding to each test task; A second determining unit is used to determine the pre-allocated bill of materials corresponding to the test tasks in each of the grouping sequences from the bill of materials and idle materials of each of the sample machines according to the execution status and bill of materials of each sample machine in the sample machine list and the execution order corresponding to each of the grouping sequences; The allocation unit is used to allocate materials for the test tasks in each of the grouping sequences according to the pre-allocated material list.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the material distribution method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the material distribution method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Model training method and device

    CN120893523A

  • A model training method and device

    CN120893523B