A method, device and medium for efficient management of large-scale parallel test resources

By constructing a test resource model and performing resource model management, the problem of low efficiency of multi-system parallel test resource management in the satellite communication comprehensive test system is solved, and efficient equipment resource utilization and test project execution efficiency are improved.

CN118740294BActive Publication Date: 2025-01-21THE QUARTERMASTER RES INST OF THE GENERAL LOGISTICS DEPT OF THE CPLA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410747429.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2025-01-21
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The existing technology is difficult to efficiently manage multi-system parallel testing resources in satellite communications comprehensive testing systems, resulting in low utilization of equipment resources and poor execution efficiency of test projects, which cannot meet the changing testing needs.

Method used

By constructing a test resource model, resource model management is carried out based on the device's communication processing capabilities, channel simulation support capabilities, test support capabilities and the number of interfaces, realizing dynamic allocation and automatic recycling of device resources, and providing designated resource scheduling and unspecified resource scheduling. Two modes.

Benefits of technology

It achieves efficient management of test resources for the satellite communication comprehensive test system, improves the utilization of equipment resources and the execution efficiency of test projects, and can flexibly respond to changing test requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740294B_ABST
    Figure CN118740294B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for efficient management of large-scale parallel test resources, the method comprising: obtaining test resource information and test resource requirements of a comprehensive test system; storing the test resource information in a database of a scheduling service; reading the test resource information from the database, performing test resource modeling management on the test resource information, and obtaining a test resource model set; analyzing the test resource requirements to obtain test resource requirement information; matching the test resource model according to the test resource requirement information to obtain a corresponding test resource model; and efficiently managing test resources using the corresponding test resource model. The method of the present invention allocates resources required for executing the test according to the resource model, determines the execution order, and supports the parallel execution of the test of the simulation test software platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of satellite communication automated testing, and in particular to a method and device for efficiently managing large-scale parallel testing resources. Background Art

[0002] With the development of the satellite communication field, the testing demand for satellite communication special equipment in the research and development and production processes is also increasing. Providing a comprehensive test system environment that supports system standard verification, equipment joint testing and performance verification, network access certification and other testing for satellite communication special equipment is a strong pillar that effectively promotes the research and development of satellite communication equipment.

[0003] In order to simulate the satellite communication environment, the environment of the comprehensive test system usually includes a simulation test software platform, a satellite communication simulation subsystem, a space channel simulation subsystem, an electromagnetic environment simulation subsystem, a ground communication simulation subsystem, and supporting instruments and meters. In order to meet the simultaneous testing of multiple communications, there are also multiple sets of satellite communication simulation subsystems and space channel simulation subsystems. The simulation test software platform is responsible for serving as the control center of the comprehensive test system, responsible for the scheduling management of all subsystem equipment and the strategic management of test project execution, and supports the testing of satellite communication special equipment in the stages of system standard verification, equipment joint test and performance verification, and network certification.

[0004] When the comprehensive test system is tested, the completion of each test item requires the cooperation of multiple subsystems or multiple devices. Since each subsystem contains a large number of devices, the parallel test resources that each device can provide are different. In order to effectively utilize the equipment resources and maximize the parallel testing at the same time, it is necessary to design a scheduling solution for efficient management of test resources. The conventional management solution is to manually complete the connection of each subsystem device and resource allocation according to the requirements of the test items, and then execute the test by running the automated test script. However, in the scenario of numerous test items and changing test requirements, this solution is not only labor-intensive and inefficient, but also greatly increases the professional skills requirements of testers, and it is difficult to improve the utilization of equipment resources. The manual allocation of equipment resources cannot effectively solve the problem of equipment resource conflicts when facing a large number of intensive tasks in parallel, nor can it meet the needs of rapid testing and flexible switching of changing test items, thereby affecting the development efficiency and output quality of the product. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and device for efficient management of large-scale parallel test resources, and to provide a scheduling management solution with a computer as the core, which can comprehensively manage and control system test resources and can be flexibly configured according to customer test requirements. The solution is a management scheduling solution that includes configurable test parameters for multiple system equipment, controllable test process, and dynamic allocation and automatic recovery of multiple parallel test resources.

[0006] The present invention defines the test resources in the comprehensive test system according to the three dimensions of device resources, device processing resources and interface resources, establishes a resource model according to the information such as the communication processing capability, channel simulation support capability, test support capability and the number of interfaces of each device, and accurately reflects the comprehensive capability of each device for test support through the resource model. When executing the scheduling of test resources, according to the requirements of test items for test resources in different test stages such as system standard verification, equipment joint test and performance verification, and network access certification, two modes of designated resource scheduling and undesignated resource scheduling are designed. Among them, designated resource scheduling is to specify the required specific resources according to the test items when executing the test, use the requirements as the input conditions of the scheduling scheme, and then perform scheduling evaluation to ensure the consistency of the test requirements with the status of the comprehensive test system, and carry out the test execution in an orderly manner; undesignated resource scheduling is that the comprehensive test system allocates system simulation equipment-related communication resources for the test project execution according to the system standards of satellite communication and the current system resource usage, and allocates the relevant resources of the channel simulation equipment and the test equipment at the same time, completes the construction of the communication scene, and provides a resource scheduling strategy for the test execution of the project.

[0007] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a method for efficient management of large-scale parallel test resources, the method comprising:

[0008] S1, obtaining the test resource information and test resource requirements of the integrated test system;

[0009] S2, storing the test resource information in a database of a scheduling service;

[0010] S3, reading the test resource information from the database, performing test resource modeling management on the test resource information, and obtaining a test resource model set;

[0011] S4, analyzing the test resource requirement to obtain test resource requirement information;

[0012] S5, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model;

[0013] S6. Use the corresponding test resource model to efficiently manage test resources.

[0014] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring of the test resource information of the integrated test system includes:

[0015] Using the simulation test software platform, initializing resource entry of the test resources of the comprehensive test system to obtain test resource information;

[0016] The test resources include device resources, device processing resources and interface resources;

[0017] The equipment resources are divided according to the types of equipment, including system simulation equipment, channel simulation equipment and test equipment;

[0018] The device processing resources are classified and information is entered according to the number of resources that the device can provide;

[0019] The interface resources are connected to the communication links according to the number of communication link connections that each subsystem device can provide and the number of interfaces of the switch matrix device, and the link allocation of the system test resources is realized through the switching logic inside the switch matrix;

[0020] The test resource information includes subsystem resource information, device resource information, device processing resource information and interface resource information;

[0021] The simulation test software platform is built based on the B / S architecture, the front end provides a graphical operation interface based on Web technology, and the back end is scheduled and operated based on the microservice architecture.

[0022] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the test resource information is managed in a test resource modeling manner to obtain a test resource model set, including:

[0023] S31, classifying the test resource information to obtain device resources, device processing resources and interface resources;

[0024] S32, construct resource models for the device resources, the device processing resources and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities and number of interfaces to obtain a test resource model set; the test resource model includes several test resource models.

[0025] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the analyzing the test resource requirement to obtain the test resource requirement information includes:

[0026] S41, the user submits the required test task through the simulation test software platform;

[0027] S42, storing the test tasks in a task cache queue according to the submission order;

[0028] S43, according to a preset priority configuration method, sequentially extracting the test tasks in the task cache queue for analysis to obtain test resource demand information;

[0029] The test resource requirement information includes keywords and resource requirement conditions required for resource matching.

[0030] As an optional implementation manner, in the first aspect of the embodiment of the present invention, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model includes:

[0031] According to the keywords required for resource matching, searching is performed in the scheduling resource pool to obtain the corresponding test resource model;

[0032] The corresponding test resource model includes model status information and model executable conditions.

[0033] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the using the corresponding test resource model to efficiently manage test resources includes:

[0034] S61, generating a resource scheduling plan according to the test resource requirement information, the state information of the model and the model executable condition;

[0035] S62: Perform efficient management of test resources according to the resource scheduling solution and using the corresponding test resource model.

[0036] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after constructing a resource model for the device resources, the device processing resources, and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities, and the number of interfaces, and obtaining a test resource model set, the method further includes:

[0037] The test resource model set is stored in the scheduling resource pool, and a unified addressing interface is provided for scheduling through address mapping management. When the test task is executed, the test resource model can be quickly matched according to the access interface to improve the efficiency of test resource scheduling.

[0038] The address mapping management method supports the simultaneous execution of multiple addressing operations, meeting the requirements of multi-task parallel testing.

[0039] A second aspect of an embodiment of the present invention discloses a device for efficient management of large-scale parallel test resources, the device comprising:

[0040] An information acquisition module is used to obtain the test resource information and test resource requirements of the comprehensive test system;

[0041] An information storage module, used to store the test resource information in a database of a scheduling service;

[0042] A test resource model set construction module is used to read the test resource information from the database, perform test resource modeling management on the test resource information, and obtain a test resource model set;

[0043] A test resource requirement analysis module, used to analyze the test resource requirement and obtain test resource requirement information;

[0044] A test resource model matching module, used to match the test resource model according to the test resource requirement information to obtain a corresponding test resource model;

[0045] The test resource efficient management module is used to utilize the corresponding test resource model to perform efficient management of test resources.

[0046] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the obtaining of test resource information of the integrated test system includes:

[0047] Using the simulation test software platform, initializing resource entry of the test resources of the comprehensive test system to obtain test resource information;

[0048] The test resources include device resources, device processing resources and interface resources;

[0049] The equipment resources are divided according to the types of equipment, including system simulation equipment, channel simulation equipment and test equipment;

[0050] The device processing resources are classified and information is entered according to the number of resources that the device can provide;

[0051] The interface resources are connected to the communication links according to the number of communication link connections that each subsystem device can provide and the number of interfaces of the switch matrix device, and the link allocation of the system test resources is realized through the switching logic inside the switch matrix;

[0052] The test resource information includes subsystem resource information, device resource information, device processing resource information and interface resource information;

[0053] The simulation test software platform is built based on the B / S architecture, the front end provides a graphical operation interface based on Web technology, and the back end is scheduled and operated based on the microservice architecture.

[0054] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the test resource information is managed in a test resource modeling manner to obtain a test resource model set, including:

[0055] S31, classifying the test resource information to obtain device resources, device processing resources and interface resources;

[0056] S32, construct resource models for the device resources, the device processing resources and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities and number of interfaces to obtain a test resource model set; the test resource model includes several test resource models.

[0057] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the analyzing the test resource requirement to obtain the test resource requirement information includes:

[0058] S41, the user submits the required test task through the simulation test software platform;

[0059] S42, storing the test tasks in a task cache queue according to the submission order;

[0060] S43, according to a preset priority configuration method, sequentially extracting the test tasks in the task cache queue for analysis to obtain test resource demand information;

[0061] The test resource requirement information includes keywords and resource requirement conditions required for resource matching.

[0062] As an optional implementation manner, in the second aspect of the embodiment of the present invention, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model includes:

[0063] According to the keywords required for resource matching, searching is performed in the scheduling resource pool to obtain the corresponding test resource model;

[0064] The corresponding test resource model includes model status information and model executable conditions.

[0065] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the using the corresponding test resource model to efficiently manage test resources includes:

[0066] S61, generating a resource scheduling plan according to the test resource requirement information, the state information of the model and the model executable condition;

[0067] S62: Perform efficient management of test resources according to the resource scheduling solution and using the corresponding test resource model.

[0068] As an optional implementation manner, in the second aspect of the embodiment of the present invention, after constructing a resource model for the device resources, the device processing resources, and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities, and the number of interfaces, and obtaining a test resource model set, the method further includes:

[0069] The test resource model set is stored in the scheduling resource pool, and a unified addressing interface is provided for scheduling through address mapping management. When the test task is executed, the test resource model can be quickly matched according to the access interface to improve the efficiency of test resource scheduling.

[0070] The address mapping management method supports the simultaneous execution of multiple addressing operations, meeting the requirements of multi-task parallel testing.

[0071] The third aspect of the present invention discloses another large-scale parallel test resource efficient management device, the device comprising:

[0072] A memory storing executable program code;

[0073] a processor coupled to the memory;

[0074] The processor calls the executable program code stored in the memory to execute part or all of the steps in the method for efficient management of large-scale parallel test resources disclosed in the first aspect of the embodiment of the present invention.

[0075] The fourth aspect of the present invention discloses a computer-storable medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the method for efficient management of large-scale parallel testing resources disclosed in the first aspect of an embodiment of the present invention.

[0076] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0077] The present invention discloses a method and device for efficient management of large-scale parallel test resources. The method runs in a simulation test software platform of a comprehensive test system, is based on a microservice architecture, and is called by the simulation test software platform in the form of a service program. The method of the present invention is divided into two parts: a test resource management model and a test resource scheduling process. The test resource management model aims to accurately describe the software and hardware carrying capacity of test resources in the system, which includes the number of various types of equipment, as well as the air interface resources, network resources, business processing capabilities, test support capabilities, and external interface conditions that each device can provide, so as to provide information input for test resource scheduling. The test resource scheduling process is to perform scheduling analysis on multiple test tasks submitted by users during parallel testing, allocate resources required for the test according to the resource model, and determine the order of execution, so as to support the parallel execution of the test of the simulation test software platform. The method of the present invention provides technical support for promoting the research and development of satellite communication equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0079] Figure 1 It is a flow chart of a method for efficient management of large-scale parallel test resources disclosed in an embodiment of the present invention;

[0080] Figure 2 It is a composition diagram of the comprehensive test system disclosed in the embodiment of the present invention;

[0081] Figure 3 It is a test resource initialization entry execution flow chart disclosed in an embodiment of the present invention;

[0082] Figure 4 is a test resource model generation flow chart disclosed in an embodiment of the present invention;

[0083] Figure 5 It is a resource model design diagram disclosed in an embodiment of the present invention;

[0084] Figure 6 It is a test resource scheduling demand analysis execution flow chart disclosed in an embodiment of the present invention;

[0085] Figure 7 It is a test resource scheduling execution flow chart disclosed in an embodiment of the present invention;

[0086] Figure 8 is a test resource allocation execution flow chart disclosed in an embodiment of the present invention;

[0087] Fig. 9 It is a structural schematic diagram of a large-scale parallel test resource efficient management device disclosed in an embodiment of the present invention;

[0088] Fig.10 It is a structural schematic diagram of another large-scale parallel test resource efficient management device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0089] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0090] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0091] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0092] The present invention discloses a method and device for efficient management of large-scale parallel test resources, the method comprising: obtaining test resource information and test resource requirements of a comprehensive test system; storing the test resource information in a database of a scheduling service; reading the test resource information from the database, performing test resource modeling management on the test resource information, and obtaining a set of test resource models; analyzing the test resource requirements to obtain test resource requirement information; matching the test resource models according to the test resource requirement information to obtain a corresponding test resource model; and efficiently managing test resources using the corresponding test resource model. The method of the present invention allocates resources required for executing the test based on the resource model, determines the order of execution, and supports the parallel execution of tests on a simulation test software platform. The following are detailed descriptions of each.

[0093] Embodiment 1

[0094] See also Figure 1 , Figure 1 1 is a flow chart of a method for efficiently managing large-scale parallel test resources disclosed in an embodiment of the present invention. Figure 1 The described large-scale parallel test resource efficient management method is applied to the field of satellite communication automated test technology, and in particular, relates to a large-scale parallel test resource efficient management method and device, which is oriented to satellite communication multi-system integrated control, comprehensively manages system test resources, and can be flexibly configured according to customer test requirements. The embodiment of the present invention is not limited. Figure 1 As shown, the method for efficiently managing large-scale parallel test resources may include the following operations:

[0095] S1, obtaining the test resource information and test resource requirements of the integrated test system;

[0096] S2, storing the test resource information in a database of a scheduling service;

[0097] S3, reading the test resource information from the database, performing test resource modeling management on the test resource information, and obtaining a test resource model set;

[0098] S4, analyzing the test resource requirement to obtain test resource requirement information;

[0099] S5, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model;

[0100] S6. Use the corresponding test resource model to efficiently manage test resources.

[0101] Optionally, the obtaining of test resource information of the integrated test system includes:

[0102] Using the simulation test software platform, initializing resource entry of the test resources of the comprehensive test system to obtain test resource information;

[0103] The test resources include device resources, device processing resources and interface resources;

[0104] The equipment resources are divided according to the types of equipment, including system simulation equipment, channel simulation equipment and test equipment;

[0105] The device processing resources are classified and information is entered according to the number of resources that the device can provide;

[0106] The interface resources are connected to the communication links according to the number of communication link connections that each subsystem device can provide and the number of interfaces of the switch matrix device, and the link allocation of the system test resources is realized through the switching logic inside the switch matrix;

[0107] The test resource information includes subsystem resource information, device resource information, device processing resource information and interface resource information;

[0108] The simulation test software platform is built based on the B / S architecture, the front end provides a graphical operation interface based on Web technology, and the back end is scheduled and operated based on the microservice architecture.

[0109] Optionally, the performing test resource modeling management on the test resource information to obtain a test resource model set includes:

[0110] S31, classifying the test resource information to obtain device resources, device processing resources and interface resources;

[0111] S32, construct resource models for the device resources, the device processing resources and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities and number of interfaces to obtain a test resource model set; the test resource model includes several test resource models.

[0112] Optionally, the analyzing the test resource requirement to obtain test resource requirement information includes:

[0113] S41, the user submits the required test task through the simulation test software platform;

[0114] S42, storing the test tasks in a task cache queue according to the submission order;

[0115] S43, according to a preset priority configuration method, sequentially extracting the test tasks in the task cache queue for analysis to obtain test resource demand information;

[0116] The test resource requirement information includes keywords and resource requirement conditions required for resource matching.

[0117] Optionally, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model includes:

[0118] According to the keywords required for resource matching, searching is performed in the scheduling resource pool to obtain the corresponding test resource model;

[0119] The corresponding test resource model includes model status information and model executable conditions.

[0120] Optionally, the using the corresponding test resource model to efficiently manage test resources includes:

[0121] S61, generating a resource scheduling plan according to the test resource requirement information, the state information of the model and the model executable condition;

[0122] S62: Perform efficient management of test resources according to the resource scheduling solution and using the corresponding test resource model.

[0123] The resource scheduling scheme is as follows: setting the execution lifecycle of the current project, and sending the execution plan of the project to the concurrent execution thread pool, and the thread pool management center matching and creating execution threads for automatic execution. During the execution lifecycle of the project, if the scheduling resources cannot meet the execution conditions, the project will be suspended, and an alarm will be reported, and the next project will continue to be executed to avoid waste caused by long-term waiting for resources; the execution status of the current project will be reported to the simulation test software platform to provide the test operator with an implementation progress display, which is convenient for flexible changes in test tasks and meets the requirements of automated testing with flexible task changes and efficient use of resources.

[0124] Optionally, after constructing resource models for the device resources, the device processing resources, and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities, and the number of interfaces to obtain a test resource model set, the method further includes:

[0125] The test resource model set is stored in the scheduling resource pool, and a unified addressing interface is provided for scheduling through address mapping management. When the test task is executed, the test resource model can be quickly matched according to the access interface to improve the efficiency of test resource scheduling.

[0126] The address mapping management method supports the simultaneous execution of multiple addressing operations, meeting the requirements of multi-task parallel testing.

[0127] The method of the present invention runs in the simulation test software platform of the comprehensive test system, based on the architecture of microservices, and is called by the simulation test software platform in the form of a service program. The method of the present invention includes two parts: a test resource management model and a test resource scheduling process. The test resource management model is intended to accurately describe the software and hardware carrying capacity of the test resources in the system, which includes the number of various types of equipment, as well as the air interface resources, network resources, business processing capabilities, test support capabilities, and external interface conditions that each device can provide, so as to provide information input for test resource scheduling. The test resource scheduling process is to perform scheduling analysis on multiple test tasks submitted by users during parallel testing, allocate resources required for executing the test according to the resource model, and determine the order of execution, so as to support the parallel execution of the test of the simulation test software platform.

[0128] It can be seen that the present invention discloses a method and device for efficient management of large-scale parallel test resources. The method runs in the simulation test software platform of the comprehensive test system, based on the architecture of microservices, and is called by the simulation test software platform in the form of a service program. The method of the present invention is divided into two parts: a test resource management model and a test resource scheduling process. The test resource management model is intended to accurately describe the software and hardware carrying capacity of the test resources in the system, which includes the number of various types of equipment, as well as the air interface resources, network resources, business processing capabilities, test support capabilities, and external interface conditions that each device can provide, so as to provide information input for test resource scheduling. The test resource scheduling process is to perform scheduling analysis on multiple test tasks submitted by users during parallel testing, execute the resource allocation required for the test according to the resource model, and determine the order of execution, so as to support the parallel execution of the test of the simulation test software platform. The method of the present invention provides technical support for promoting the research and development of satellite communication equipment.

[0129] Embodiment 2

[0130] The method of the present invention runs in the simulation test software platform of the comprehensive test system, based on the architecture of microservices, and is called by the simulation test software platform in the form of a service program. The method of the present invention includes two parts: a test resource management model and a test resource scheduling process. The test resource management model is intended to accurately describe the software and hardware carrying capacity of the test resources in the system, which includes the number of various types of equipment, as well as the air interface resources, network resources, business processing capabilities, test support capabilities, and external interface conditions that each device can provide, so as to provide information input for test resource scheduling. The test resource scheduling process is to perform scheduling analysis on multiple test tasks submitted by users during parallel testing, allocate resources required for executing the test according to the resource model, and determine the order of execution, so as to support the parallel execution of the test of the simulation test software platform.

[0131] In this embodiment, a test resource management model of a method for efficient management of large-scale parallel test resources is defined from three dimensions: device resources, device processing resources, and interface resources according to the device characteristics included in the comprehensive test system:

[0132] 1) Equipment resources are divided into three categories according to the type of equipment: system simulation equipment, channel simulation equipment, and test equipment. System simulation equipment includes: satellite payload simulation system, ground simulation system, business simulation equipment and other system simulation equipment; channel simulation equipment includes: space channel environment simulation system, complex electromagnetic environment simulation system; test equipment includes: signal source, spectrum analyzer, network analyzer, comprehensive tester, switch box switch matrix and other equipment. Equipment resources are the first dimension element of the test resource management model.

[0133] 2) Equipment processing resources are classified and information is entered according to the number of resources that the equipment can provide, such as communication resources such as beams, frequencies, time slots, subnets, and user business simulation services that can be provided by equipment such as satellite payload simulation systems and ground simulation systems, channel simulation resources such as channel simulation paths and interference signals provided by equipment such as space channel environment simulation systems and complex battlefield electromagnetic environment simulation systems, and test support resources provided by test instrument equipment. Provide processing resource division for testing and support the parallel execution of multiple tests. Equipment processing resources serve as the second dimension element of the test resource management model.

[0134] 3) Interface resources are connected according to the number of communication link connections that each subsystem device can provide and the number of switch matrix device interfaces. The system test resource link allocation is realized through the switching logic inside the switch matrix, which satisfies the free allocation of test resources when the device is facing serial testing and parallel testing, and improves the execution efficiency of the system facing multi-project high-concurrency testing. Interface resources are the third dimension element of the test resource management model.

[0135] The test resource scheduling process of the scheduling scheme conducts comprehensive analysis and processing based on the task queue submitted by the test, and then performs overall scheduling and execution of the test resources required for the test task to meet the needs of multi-task parallel testing. The test resource scheduling process is divided into three parts in terms of process: test resource demand analysis, test resource model matching, and test resource scheduling execution:

[0136] 1) Test resource demand analysis: According to the test project content of the current task queue, the demand for test resources is analyzed. According to the keywords and resource conditions configured in the test project, the test resource model is addressed using data mapping, and the corresponding test resource status is matched to confirm whether the current test task requirements can be met. The execution script is automatically generated, and when the execution conditions are met, the automated test execution is automatically started;

[0137] 2) Test resource model matching is based on the keywords and resource conditions extracted after the demand analysis. First, the test resource model addressing is performed. If all the required resource models are successfully matched, the basic conditions for execution are met. Then, the device status of the current integrated test system that can provide the resource model is queried. Combined with the current task queue situation, an execution script is generated to determine the execution conditions and execution priority, providing pre-input for test resource scheduling and execution.

[0138] 3) Test resource scheduling is performed based on the execution script generated by the test resource model, the required test resources are allocated to the test project and the status of each device resource is updated. The scheduling status is updated for subsequent test scheduling to achieve full-process multi-task automated execution.

[0139] The design of the present invention mainly includes the following parts:

[0140] Step A: Initialize and input test resources. In the integrated test system, before starting to execute the test task, the simulation test software platform provides a human-computer interaction method (software interface input / database import). First, the test resources of each subsystem contained in the integrated test system are loaded and input according to the predetermined script format. After input, the simulation test software platform stores all test resource information in the database of the scheduling service for use by the test scheduling service. The specific design is as follows:

[0141] Step A1: The simulation test software platform is built based on the B / S architecture. The front end provides a graphical operation interface based on Web technology. The back end is scheduled and operated based on the microservice architecture. The test resource scheduling service is used as one of the services for unified management by the simulation test software platform.

[0142] Step A2: The simulation test software platform provides a window for the system administrator to input test resources. The administrator initializes the resource input according to the equipment resources of the current integrated test system, including: satellite communication simulation subsystem, space channel simulation subsystem, electromagnetic environment simulation subsystem, ground communication simulation subsystem and supporting instruments and other equipment resource information. The input equipment resource information includes subsystem resource information, equipment resource information, equipment processing resource information and interface resource information, etc., providing input conditions for the establishment of resource models;

[0143] Step A3: The simulation test software platform stores the equipment resource information entered by the system administrator in the database of the test resource scheduling service for use by the test resource scheduling service. If there is a change in equipment resources, it is necessary to update and adjust before the test execution begins to avoid scheduling anomalies caused by changes in equipment resources during execution.

[0144] Step B: Test resource modeling management. The test scheduling service loads the entered test resources, and then generates resource models based on the three dimensions of device resources, device processing resources, and interface resources. The generated resource models are classified, managed, and stored. The mapping association management method is used to provide search input conditions for keywords and resource serial numbers, providing a unified interface for resource scheduling matching. The specific design is as follows:

[0145] Step B1: The test resource scheduling service reads the entered test resource information from the database and classifies it according to the three dimensions of device resources, device processing resources and interface resources, providing basic parameter input for resource model generation;

[0146] Step B2: The test resource scheduling service extracts and combines the classified test resource information according to the model design strategy to form a resource model that can support different test requirements and provide model selection for resource scheduling;

[0147] Step B3: The test resource scheduling service stores the combined model into the scheduling resource pool and provides a unified addressing interface for scheduling through address mapping management. When the test task is executed, the test model can be quickly matched according to the access interface to improve the efficiency of test resource scheduling. The address mapping management method can support the simultaneous execution of multiple addressing operations to meet the needs of multi-task parallel testing.

[0148] Step C: Test resource scheduling demand analysis. When the integrated test system starts to execute test tasks, the user submits the required test tasks through the simulation test software platform. The test tasks are stored in the task cache queue according to the submission order. The test resource scheduling service extracts the test tasks in the task queue in sequence according to the priority configuration strategy order through the data access interface for analysis, extracts the resource information contained in the test tasks, forms the keywords and resource demand conditions required for resource matching, and provides input conditions for test resource matching and scheduling. The specific design is as follows:

[0149] Step C1: The test resource scheduling service extracts the test tasks according to the cached task list and execution strategy of the simulation test software platform, obtains the tasks in order of priority, and then reads all the configuration information of the project from the database according to the test task name to provide parameter input for resource model matching;

[0150] Step C2: The test resource scheduling service extracts keywords based on the resource list according to the configuration information of the test project. The keyword extraction algorithm uses the TF-IDF algorithm to extract keywords from the resource list information that appears, which is a preparatory work for resource model retrieval. According to the configuration content of the test parameters, the demand conditions for test resources are formed to provide quantity input for resource model scheduling.

[0151] Step C3: The test resource scheduling service passes the keywords and resource requirement conditions formed by the test item to the scheduling execution module, and then continues to perform requirement analysis on other test items.

[0152] Step D: Test resource scheduling execution. The test resource scheduling service uses keywords and resource requirement conditions as input based on the execution information analyzed by the test resources to execute the model retrieval algorithm. The model retrieval algorithm uses the commonly used bidirectional maximum matching algorithm to search and match, address the corresponding test resource model, and then generates the test execution life cycle and execution conditions based on the model status and resource status. When the execution conditions of the test item are met within the life cycle, the required test resources are automatically scheduled to build a communication link and start the test execution; if the test item does not meet the execution conditions within the life cycle, the test task will be suspended and a system alarm will be raised. After the test personnel confirm that the test resource status of the comprehensive test system is correct, they will enter the task cache queue again to re-execute the scheduling; the specific design is as follows:

[0153] Step D1: Test resource scheduling execution performs resource retrieval based on the keywords and resource requirement conditions formed after the test project execution requirement analysis, calls the model retrieval algorithm, uses the keywords as input conditions, addresses the corresponding test model, obtains the current test model status, configures the model executable conditions, and prepares for automated scheduling execution;

[0154] Step D2: Test resource scheduling execution generates a resource scheduling strategy based on resource demand conditions, priorities, and remaining resources of the addressed test model, and reserves and occupies the test model resources to prepare for automated scheduling execution;

[0155] Step D3: Test resource scheduling execution sets the execution lifecycle of the current project, and sends the execution plan of the project to the concurrent execution thread pool. The thread pool management center matches and creates execution threads for automatic execution. During the execution lifecycle of the project, if the scheduling resources cannot meet the execution conditions, the project will be suspended, and an alarm will be reported to continue the execution of the next project, avoiding the waste of resources caused by long-term waiting;

[0156] Step D4: Test resource scheduling execution reports the execution status of the current project to the simulation test software platform, providing implementation progress display for test operators, facilitating flexible changes in test tasks, and meeting the automated testing requirements of flexible task changes and efficient resource utilization.

[0157] Embodiment 3

[0158] In this embodiment, the test resource scheduling service mainly provides the simulation test software platform with unified management and scheduling support for the test resources of each subsystem test equipment in the comprehensive test system. Figure 2 As shown. For many satellite communication equipment developers, when using the integrated test system to test and verify the technical indicators of the equipment, first provide the external connection interface based on the integrated test system, connect the control and signal lines, and then implement the serial and parallel implementation of various test projects through the simulation test software platform. The specific implementation process of the test resource scheduling service for the management and scheduling plan of the integrated test system test resources is as follows:

[0159] 1. Test resource initialization input design, such as Figure 3 As shown;

[0160] Step 1): Enter the equipment information and resource information of each subsystem in the comprehensive test system in the human-computer interaction interface of the simulation test software platform. You can directly add, modify and delete test resources in the resource management interface of the software interface. To prevent other users from modifying resource information by mistake, this part of the function is designed with permissions for control and protection. Only system administrators with permissions can perform test resource entry operations;

[0161] Step 2): When entering the test resource information, the device resource information contained in the subsystem, the processing resource information contained in the device, and the interface resource information that the subsystem can provide are classified and stored in the database according to the categories. The classification is also displayed in the simulation test software platform for easy intuitive viewing;

[0162] Step 3): The simulation test software platform provides operators with a test resource modification interface. When subsystem equipment in the comprehensive test system environment is added, reduced, or resources are changed, the scheduling management service can be adapted by updating the entered resource information, effectively reducing the coupling between subsystems.

[0163] 2. Test resource modeling and generation design, such as Figure 4 As shown;

[0164] Step 1): After the test resources are entered into the simulation test software platform, the test resource scheduling service is automatically started, and the device resource information is read from the stored test resource storage database to implement the modeling generation of the test resources;

[0165] Step 2): Test the resource scheduling service to model the device information it reads. The idea of ​​model design is as follows: Figure 5 As shown in the figure, the resource information of the equipment is defined in a multi-dimensional way, which effectively improves the management and utilization of test resources. The test resource scheduling service extracts and combines resources according to the strategy designed by the model, forms a resource model and stores it in the scheduling resource pool;

[0166] Step 3): The scheduling resource pool of the test resource scheduling service provides a unified addressing interface for scheduling execution through an address mapping management solution, supporting the parallel testing requirements of addressing the resource pool at the same time when multiple tasks are executed.

[0167] 1. Test resource scheduling requirements analysis and design, such as Figure 6 As shown;

[0168] Step 1): The human-computer interaction software of the simulation test software platform provides the tester with an operation interface for satellite communication special equipment testing. The user can directly select and submit the test for the preset test items through the software interface, and then store the test items in the execution task queue for analysis and processing by the test resource scheduling service;

[0169] Step 2): The test resource scheduling service automatically identifies the test item information in the task queue, and obtains all configuration information of the test item from the storage database based on the priority and name of the test item, providing parameter input for resource model matching;

[0170] Step 3): The test resource scheduling service extracts keywords for test resource requirements based on the configuration information of the test project, and provides parameter input for resource model retrieval; based on the test resource requirements of the test project, it forms test resource requirement conditions and provides quantity input for resource model scheduling execution.

[0171] 2. Test resource scheduling execution design, such as Figure 7 As shown;

[0172] Step 1): The test resource scheduling service searches for resource models in the scheduling resource pool according to the resource demand keywords and demand conditions formed after the demand analysis of the test items to be executed, and obtains the status of the current test model to provide input reference for resource allocation;

[0173] Figure 7 The test resource scheduling execution process is executed as described in the steps in the referenced figure. The test resource scheduling service first analyzes the test requirements and allocates resources, and sets a waiting life cycle for each test task to avoid indefinite waiting. When it is within the valid life cycle and matches executable resources, the test execution is triggered in the thread pool management center.

[0174] Step 2): The test resource scheduling service allocates resources based on the retrieved test model. The allocation design is as follows: Figure 8 As shown, after the test resource allocation is completed, a resource scheduling strategy is formed, and the required test resource models are reserved and occupied to prepare for scheduling execution;

[0175] Figure 8In the design for testing resource scheduling, step 2) executes the resource allocation process, and uniformly allocates resources according to three dimensions: equipment, equipment processing resources, and equipment interface resources.

[0176] This figure takes test task 1 as an example. First, the resource allocation of the device dimension is executed: I2; then the device processing resource allocation is executed: C1(2), C2(1); and then the device interface resource allocation P2 is executed. Finally, all resource allocations required for the test task are completed.

[0177] Step 3): The test resource scheduling service creates an execution lifecycle for the test project and sends the resource scheduling policy contained in the project to the concurrent execution thread pool. The thread pool management center matches thread resources and automatically executes them.

[0178] Step 4): The test resource scheduling service suspends test items that have abnormalities during execution or have not been carried out within the valid life cycle, reports alarm information, releases occupied test resources, and improves resource utilization;

[0179] Step 5): The test resource scheduling service reports the currently executing tasks to the simulation test software platform, allowing users to view the execution progress in real time, making it easier for testers to flexibly adjust the test plan and efficiently use system test resources to conduct tests in parallel.

[0180] The test resource scheduling service of the simulation test software platform realizes the problems of concurrent test execution by multiple users, frequent switching of test scenarios and efficient use of system resources by modeling the equipment resources of the comprehensive test system and conducting comprehensive and efficient scheduling management, providing more references for the field of multi-system joint automated testing.

[0181] It can be seen that the present invention discloses a method and device for efficient management of large-scale parallel test resources. The method runs in the simulation test software platform of the comprehensive test system, based on the architecture of microservices, and is called by the simulation test software platform in the form of a service program. The method of the present invention is divided into two parts: a test resource management model and a test resource scheduling process. The test resource management model aims to accurately describe the software and hardware carrying capacity of the test resources in the system, which includes the number of various types of equipment, as well as the air interface resources, network resources, business processing capabilities, test support capabilities, and external interface conditions that each device can provide, so as to provide information input for test resource scheduling. The test resource scheduling process is to perform scheduling analysis on multiple test tasks submitted by users during parallel testing, execute the resource allocation required for the test according to the resource model, and determine the order of execution, so as to support the parallel execution of the test of the simulation test software platform. The method of the present invention provides technical support for promoting the research and development of satellite communication equipment.

[0182] Embodiment 4

[0183] See also Fig. 9 , Fig. 9 Schematic diagram of a large-scale parallel test resource efficient management device disclosed in an embodiment of the present invention. Fig. 9 The described large-scale parallel test resource efficient management device is applied to the field of satellite communication automated test technology, and in particular, relates to a large-scale parallel test resource efficient management method and device, which is oriented to satellite communication multi-system integrated control, comprehensively manages system test resources, and can flexibly configure scheduling management solutions according to customer test requirements. The embodiments of the present invention are not limited. Fig. 9 As shown, the large-scale parallel test resource efficient management device may include the following operations:

[0184] S301, an information acquisition module, used to acquire test resource information and test resource requirements of a comprehensive test system;

[0185] S302, an information storage module, used to store the test resource information in a database of a scheduling service;

[0186] S303, a test resource model set construction module, used to read the test resource information from the database, perform test resource modeling management on the test resource information, and obtain a test resource model set;

[0187] S304, a test resource requirement analysis module, used to analyze the test resource requirement to obtain test resource requirement information;

[0188] S305, a test resource model matching module, used to match the test resource model according to the test resource requirement information to obtain a corresponding test resource model;

[0189] S306, a test resource efficient management module is used to use the corresponding test resource model to perform efficient test resource management.

[0190] Embodiment 5

[0191] See also Fig.10 , Fig.10 1 is a schematic diagram of another large-scale parallel test resource efficient management device disclosed in an embodiment of the present invention. Fig.10 The described large-scale parallel test resource efficient management device is applied to the field of satellite communication automated test technology, and in particular, relates to a large-scale parallel test resource efficient management method and device, which is oriented to satellite communication multi-system integrated control, comprehensively manages system test resources, and can flexibly configure scheduling management solutions according to customer test requirements. The embodiments of the present invention are not limited. Fig.10As shown, the large-scale parallel test resource efficient management device may include the following operations:

[0192] A memory 401 storing executable program codes;

[0193] a processor 402 coupled to the memory 401;

[0194] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the method for efficient management of large-scale parallel test resources described in the first and second embodiments.

[0195] Embodiment 5

[0196] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the method for efficient management of large-scale parallel test resources described in Embodiment 1 and Embodiment 2.

[0197] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without paying creative labor.

[0198] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0199] Finally, it should be noted that the method and device for efficient management of large-scale parallel test resources disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical scheme 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 the technical schemes described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical schemes from the spirit and scope of the technical schemes of the embodiments of the present invention.

Claims

1. A method for efficient management of large-scale parallel test resources, characterized in that: The method comprises: S1, obtaining the test resource information and test resource requirements of the integrated test system; S2, storing the test resource information in a database of a scheduling service; S3, reading the test resource information from the database, performing test resource modeling management on the test resource information, and obtaining a test resource model set, including: S31, classifying the test resource information to obtain device resources, device processing resources and interface resources; S32, constructing resource models for the device resources, the device processing resources and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities and the number of interfaces, to obtain a test resource model set; the test resource model includes a plurality of test resource models; S4, analyzing the test resource requirements to obtain test resource requirement information, including: S41, the user submits the required test task through the simulation test software platform; S42, storing the test tasks in a task cache queue according to the submission order; S43, according to a preset priority configuration method, sequentially extracting the test tasks in the task cache queue for analysis to obtain test resource demand information; The test resource requirement information includes keywords and resource requirement conditions required for resource matching; S5, performing test resource model matching according to the test resource requirement information to obtain a corresponding test resource model, including: According to the keywords required for resource matching, searching is performed in the scheduling resource pool to obtain the corresponding test resource model; The corresponding test resource model includes model status information and model executable conditions; S6, using the corresponding test resource model to efficiently manage test resources, including: S61, generating a resource scheduling plan according to the test resource requirement information, the state information of the model and the model executable condition; S62: Perform efficient management of test resources according to the resource scheduling solution and using the corresponding test resource model.

2. The method for efficient management of large-scale parallel test resources according to claim 1, characterized in that: The obtaining of the test resource information of the comprehensive test system includes: Using the simulation test software platform, initializing resource entry of the test resources of the comprehensive test system to obtain test resource information; The test resources include device resources, device processing resources and interface resources; The equipment resources are divided according to the types of equipment, including system simulation equipment, channel simulation equipment and test equipment; The device processing resources are classified and information is entered according to the number of resources that the device can provide; The interface resources are connected to the communication links according to the number of communication link connections that each subsystem device can provide and the number of interfaces of the switch matrix device, and the link allocation of the system test resources is realized through the switching logic inside the switch matrix; The test resource information includes subsystem resource information, device resource information, device processing resource information and interface resource information; The simulation test software platform is built based on the B / S architecture, the front end provides a graphical operation interface based on Web technology, and the back end is scheduled and operated based on the microservice architecture.

3. The method for efficient management of large-scale parallel test resources according to claim 1, characterized in that: After constructing resource models for the device resources, the device processing resources, and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities, and the number of interfaces, and obtaining a test resource model set, the method further includes: The test resource model set is stored in a scheduling resource pool, and a unified addressing interface is provided for scheduling through address mapping management. When the test task is executed, the test resource model can be quickly matched according to the access interface to improve the test resource scheduling efficiency; The address mapping management method supports the simultaneous execution of multiple addressing operations, meeting the requirements of multi-task parallel testing.

4. A large-scale parallel test resource efficient management device, characterized in that: The device comprises: An information acquisition module is used to obtain the test resource information and test resource requirements of the comprehensive test system; An information storage module, used to store the test resource information in a database of a scheduling service; The test resource model set construction module is used to read the test resource information from the database, perform test resource modeling management on the test resource information, and obtain a test resource model set, including: S31, classifying the test resource information to obtain device resources, device processing resources and interface resources; S32, constructing resource models for the device resources, the device processing resources and the interface resources according to their communication processing capabilities, channel simulation support capabilities, test support capabilities and the number of interfaces, to obtain a test resource model set; the test resource model includes a plurality of test resource models; The test resource requirement analysis module is used to analyze the test resource requirement to obtain test resource requirement information, including: S41, the user submits the required test task through the simulation test software platform; S42, storing the test tasks in a task cache queue according to the submission order; S43, according to a preset priority configuration method, sequentially extracting the test tasks in the task cache queue for analysis to obtain test resource demand information; The test resource requirement information includes keywords and resource requirement conditions required for resource matching; The test resource model matching module is used to match the test resource model according to the test resource requirement information to obtain the corresponding test resource model, including: According to the keywords required for resource matching, searching is performed in the scheduling resource pool to obtain the corresponding test resource model; The corresponding test resource model includes model status information and model executable conditions; The test resource efficient management module is used to use the corresponding test resource model to perform efficient test resource management, including: S61, generating a resource scheduling plan according to the test resource requirement information, the state information of the model and the model executable condition; S62: Perform efficient management of test resources according to the resource scheduling solution and using the corresponding test resource model.

5. A large-scale parallel test resource efficient management device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for efficient management of large-scale parallel testing resources as described in any one of claims 1-3.

6. A computer storable medium, characterized in that: The computer storable medium stores computer instructions, and when the computer instructions are called, they are used to execute the method for efficient management of large-scale parallel testing resources as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Method for allocating satellite concurrent testing resources based on genetic algorithm

    CN102646061A

  • Method and system for improving multi-satellite parallel test capability

    CN113485292A