Intelligent test tool floating license management system and method for cloud platform
By building an intermediate platform in the cloud platform and using the BP neural network algorithm model, the problem of the inability to centrally manage the license resource distribution of multiple testing tools in the cloud platform is solved, the intelligent recovery and allocation of floating license resources is realized, and the occupation of floating license resources is solved. The problem of excessive and insufficient permissions improves the normal operation of the system and the user experience.
Patent Information
- Application Number
- CN202410245699.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-05
AI Technical Summary
The distribution of license resources for multiple testing tools in the cloud platform cannot meet the needs of centralized management and flexible demand management, resulting in the problem of excessive floating license resources and insufficient licenses.
Design an intelligent testing tool floating license management system. By building an intermediate platform in the cloud platform, using middleware for two-way message forwarding, and combining the testing tool monitoring component and the BP neural network algorithm model to achieve intelligent recycling and allocation of license resources. Predict test code run times to optimize license usage.
It realizes centralized management and intelligent resource scheduling of floating licenses for multiple testing tools, saving license resources and improving the normal operation of the system and user experience.
Smart Images

Figure CN118051339B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of cloud computing, and in particular relates to an intelligent testing tool floating license management system and method for a cloud platform. Background Art
[0002] Floating license is a test tool license mode that allows users to install test tools on a certain number of devices, but can only run test tools at the same time when the number of devices at the same time does not exceed the number allowed by the license. It is a flexible test tool license mode. Usually, floating licenses require a central license server to manage the allocation and recovery of licenses. Floating licenses can help enterprises manage their test tool licenses more effectively and better adapt to their changing needs.
[0003] However, there are still some problems with the resource allocation of floating licenses. In some cases, some users may occupy too many floating license resources, resulting in other users being unable to obtain the licenses they need, which may lead to insufficient floating licenses during peak hours or when executing specific tasks, thus affecting the normal operation of the system and the user experience. In addition, the allocation of floating licenses for multiple testing tools has not been integrated and centrally managed.
[0004] Therefore, an intelligent test tool floating license management method for cloud platform is proposed. This method solves the problem of centralized management of different floating licenses for multiple test tools by building an intermediate platform between each test tool and the corresponding floating license managers in the cloud platform. By adding a test tool monitoring component, intelligent recovery and allocation of licenses are realized, solving the floating license resource scheduling problem. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] The technical problem to be solved by the present invention is how to provide an intelligent test tool floating license management system and method for a cloud platform to solve the problem that the distribution of multiple test tool license resources in the cloud platform cannot meet the requirements of centralized management and elastic demand management.
[0007] (II) Technical solution
[0008] In order to solve the above technical problems, the present invention proposes an intelligent test tool floating license management system for a cloud platform, the system comprising: a floating license server, an intelligent floating license management platform and a cloud platform, wherein the cloud platform comprises a plurality of user machines, each of which is deployed with: a test tool monitoring component, a test tool and a middleware; the intelligent floating license management platform is deployed with: a middleware, a test code running time prediction algorithm model, a database module, a front-end module and a monitoring dashboard; the floating license server communicates with the middleware of the user machine through the middleware of the intelligent floating license management platform; wherein,
[0009] Middleware, used for two-way message forwarding, responsible for receiving the request from the test tool to apply for a license from the floating license server, forwarding it to the floating license server and recording relevant data, responsible for receiving the license issued by the floating license server to the test tool, forwarding it to the test tool and recording relevant data, and responsible for communicating with the test tool monitoring component;
[0010] The test tool monitoring component is used to monitor the running status of the test tool according to the user's configuration, determine whether the test tool has not been running for a long time according to the running status of the test tool, and realize intelligent license resource allocation and recovery. At the same time, the number of code lines, code size, number of modules, number of functions and running time of the test tool test code are collected as input to the test code running time prediction algorithm model;
[0011] The test code running time prediction algorithm model adopts BP neural network, takes the number of lines of code, code size, number of modules, number of functions and running time of the test code as a data set, trains through BP neural network algorithm and generates the test code running time prediction algorithm model. The algorithm model is used to predict the running time according to the number of lines of code, code size, number of modules and number of functions of the test code, and intelligently allocates the appropriate license use period to the test tool;
[0012] The dashboard is used to display various information of multiple testing tools on the user's machine in the cloud platform.
[0013] The present invention also provides a method for managing floating licenses of intelligent testing tools for a cloud platform, the method comprising the following steps:
[0014] S1. Establish middleware between each test tool and each floating license server
[0015] The middleware includes: message API, message queue service, receiving message queue and sending message queue;
[0016] First, a message API is established to centrally process the information of different test tools applying for licenses and the floating license server issuing licenses to test tools and the number of resource pools into a unified format;
[0017] When the message load in the receiving message queue and the sending message queue is too large, the message queue service is responsible for buffering the requests and obtaining the running status of the test tool;
[0018] S2. Build and deploy test tool monitoring components
[0019] The test tool monitoring component is deployed to each user machine in the cloud platform and runs as an independent application, including: performance monitoring module, test code acquisition module, license recovery module and message forwarding service;
[0020] The performance monitoring module runs persistently and uses the API provided by the operating system to obtain the system resource usage of the test tool;
[0021] The test code acquisition module is used to collect the number of code lines, code size, number of modules, number of functions and running time of the test code of the test tool;
[0022] When the performance monitoring module detects that the target software does not occupy system resources for a long time, the license recovery module of the test tool monitoring component will convey the instruction of license recovery to the intelligent floating license management platform;
[0023] The message forwarding service is used to forward messages between middlewares;
[0024] S3. Training and testing code running time prediction algorithm model
[0025] The number of lines of code, code size, number of modules, number of functions and running time of the test code of the test tool are collected as a data set, and the BP neural network algorithm is used for training to generate a test code running time prediction algorithm model. The algorithm model predicts the running time based on the number of lines of code, code size, number of modules and number of functions of the test code;
[0026] S4. Build an intelligent floating license management platform
[0027] Smart floating license management platform for dashboard display and smart license distribution;
[0028] Dashboard display: displays various information of multiple testing tools in the virtual environment of the cloud platform;
[0029] Smart license distribution: The smart floating license management platform first uses the middleware to forward messages between the test tool and the corresponding floating license server; secondly, before the user runs the test tool, the test tool monitoring component will encapsulate the code size, number of code lines, number of functions, and number of modules of the test case to be run and send it to the smart floating license management platform first; when the test tool applies for a license, the smart floating license management platform will predict the running time of this test case based on the test case data encapsulated by the test tool monitoring component and the BP neural network algorithm, and distribute it to the corresponding test tool to realize intelligent license allocation; after the test tool is running, the running status of the test tool is monitored in real time, and according to the user configuration information, when it is determined that the test tool has not been running for a long time, smart license recovery is realized.
[0030] (III) Beneficial effects
[0031] The present invention proposes an intelligent test tool floating license management system and method for a cloud platform. The intelligent test tool floating license management method for a cloud platform of the present invention has the following characteristics:
[0032] The middle platform model is adopted. By building middleware, the test tools are connected to the floating license server, and different test tools are integrated with the corresponding floating service manager for centralized management. At the same time, multiple modules are integrated to support viewing the operating status dashboard of each test tool and generating reports.
[0033] By deploying the test tool monitoring component in the test tool environment, an intelligent floating license recovery mechanism is implemented, saving a lot of license resources;
[0034] The test tool monitoring component sends data such as the size and running time of the code tested by the test tool to the platform. The platform learns and fits through the BP neural network algorithm to intelligently allocate license usage time to the test tool. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a specific architecture diagram of the middleware in the management platform of the present invention;
[0036] Figure 2 A specific architecture diagram of the test tool monitoring component deployed to a user machine of the present invention;
[0037] Figure 3 A specific process strategy diagram of the algorithm model used in the present invention to predict the running time of the test tool;
[0038] Figure 4 A detailed diagram of the algorithm model responsible for predicting the running time of the test tool of the present invention;
[0039] Figure 5It is an overall architecture diagram between the test tools on the client and the corresponding floating license server in the management platform and cloud platform of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.
[0041] Aiming at the problem that the distribution of test tool license resources in a cloud platform cannot meet the elastic demand management, the present invention provides an intelligent test tool floating license management method for a cloud platform.
[0042] The purpose of the present invention is to provide an intelligent test tool floating license management method for a cloud platform to solve the problem that the distribution of multiple test tool license resources in the cloud platform cannot meet the centralized management and elastic demand management.
[0043] In the first aspect of the present invention, license resource allocation is jointly controlled by training a test code running time prediction algorithm model and establishing a test tool monitoring component: first, the test tool monitoring component is deployed in the user machine to realize the collection of performance data related to the test tool; secondly, the number of code lines, code size, number of modules, number of functions and running time of the test code of the test tool are collected as a data set and trained through the BP neural network algorithm to generate a test code running time prediction algorithm model, which can predict the running time by the number of code lines, code size, number of modules and number of functions of the test code; at the same time, the test tool monitoring component is responsible for regularly monitoring the running status of the test tool according to the user's configuration, and judging whether the test tool has not been running for a long time according to the CPU occupancy rate, memory occupancy rate and disk read and write status of the test tool, so as to realize intelligent license resource allocation and recovery.
[0044] According to the second aspect of the present invention, middleware is established between each test tool and each floating license server: the middleware between each test tool and each floating license server is used for two-way message forwarding; it is responsible for receiving the request of the test tool to apply for a license from the floating license server, forwarding it to the floating license server and recording relevant data; it is responsible for receiving the license issued by the floating license server to the test tool, forwarding it to the test tool and recording relevant data; it is responsible for communicating with the test tool monitoring component. Finally, an intelligent floating license management platform is built. The intelligent floating license management platform has multiple components: middleware, algorithm module, database module, and includes a front-end module and a monitoring dashboard, which together constitute the intelligent floating license management platform. The test tool monitoring component is deployed in each user machine of the cloud platform; the middleware of the intelligent floating license management platform connects the test tool with the corresponding floating license server, and the algorithm module of the intelligent floating license management platform predicts the running time of the test tool test task; so as to achieve the purpose of managing the floating license of the test tool and optimize resource allocation.
[0045] Embodiment 1:
[0046] The present invention provides an intelligent test tool floating license management system for a cloud platform, the system comprising: a floating license server, an intelligent floating license management platform and a cloud platform, wherein the cloud platform comprises a plurality of user machines, each of which is deployed with: a test tool monitoring component, a test tool and a middleware; the intelligent floating license management platform is deployed with: a middleware, a test code running time prediction algorithm model, a database module, a front-end module and a monitoring dashboard; the floating license server communicates with the middleware of the user machine through the middleware of the intelligent floating license management platform; wherein,
[0047] Middleware, used for two-way message forwarding, responsible for receiving the request from the test tool to apply for a license from the floating license server, forwarding it to the floating license server and recording relevant data, responsible for receiving the license issued by the floating license server to the test tool, forwarding it to the test tool and recording relevant data, and responsible for communicating with the test tool monitoring component;
[0048] The test tool monitoring component is used to monitor the running status of the test tool according to the user's configuration, determine whether the test tool has not been running for a long time according to the running status of the test tool, and realize intelligent license resource allocation and recovery. At the same time, the number of code lines, code size, number of modules, number of functions and running time of the test tool test code are collected as input to the test code running time prediction algorithm model;
[0049] The test code running time prediction algorithm model adopts BP neural network, takes the number of lines of code, code size, number of modules, number of functions and running time of the test code as a data set, trains through BP neural network algorithm and generates the test code running time prediction algorithm model. The algorithm model is used to predict the running time according to the number of lines of code, code size, number of modules and number of functions of the test code, and intelligently allocates the appropriate license use period to the test tool;
[0050] The dashboard is used to display various information of multiple testing tools on the user's machine in the cloud platform.
[0051] Embodiment 2:
[0052] The present invention also provides a method for managing floating licenses of intelligent testing tools for a cloud platform, the specific steps of which are:
[0053] S1. Establish middleware between each test tool and each floating license server
[0054] The middleware structure of each test tool and each floating license server is as follows: Figure 1 As shown, it includes: message API, message queue service, receive message queue and send message queue;
[0055] First, a message API is established to centrally process the information of different test tools applying for licenses and the floating license server issuing licenses to the test tools and the number of resource pools, etc. into a unified format. The format of the test tool applying for licenses from the floating license server is unified as follows:
[0056]
[0057]
[0058] The information that the test tool uses to apply for a license from the floating license server is converted through the message API and includes: software ID, version number, user name, machine ID, IP address of the corresponding floating license server, and application category parameters, including application request for a license and application revoke for a license.
[0059] The data format for the corresponding floating license to authorize the test tool is unified as follows:
[0060]
[0061] The information of the floating license to the test tool authorization license is converted through the message API, including: license category, authorization deadline, maximum number of licenses in the resource pool, number of used licenses, test tool IP address, license key, and request category, where the request category includes authorization grant and revoke.
[0062] When the message load in the receiving message queue and the sending message queue is too large, the message queue service is responsible for buffering the requests and obtaining the running status of the test tool; specifically, it buffers a large number of requests during the peak period, and uses idle time during the non-peak period to process the backlog of requests, and distributes the messages to the corresponding floating license server. It is also responsible for communicating with the test tool monitoring component to obtain information such as the running status of the test tool.
[0063] S2. Build and deploy test tool monitoring components
[0064] The test tool monitoring component is deployed to each user machine in the cloud platform and runs as an independent application. The test tool monitoring component consists of multiple modules. Figure 2 As shown, it includes: performance monitoring module, test code acquisition module, license recovery module and message forwarding service;
[0065] The performance monitoring module runs persistently and uses the API provided by the operating system to obtain the system resource usage of the test tool. The specific parameters obtained are: CPU usage, memory usage, and disk read and write. The resource usage is checked at regular intervals. The performance monitoring module provides a user interface and configuration file, allowing users to set monitoring rules, including the definition of long-term non-occupancy, monitoring strategies and monitoring test tools. The configuration file format is as follows:
[0066]
[0067]
[0068] Among them, monitoring_rules is the configuration related to monitoring, idle_threshold_seconds is the length of time that the detection software is not running for a long time, and then the corresponding license of the test tool is reclaimed; check_interval_seconds is the monitoring interval; target_software is a list that records all the test tools that need to be monitored.
[0069] The test code acquisition module is used to collect the number of code lines, code size, number of modules, number of functions and running time of the test code of the test tool.
[0070] When the performance monitoring module detects that the target software does not occupy system resources for a long time, the license recovery module of the test tool monitoring component will convey the instruction of license recovery to the intelligent floating license management platform;
[0071] The message forwarding service is used to forward messages between middlewares.
[0072] S3. Training and testing code running time prediction algorithm model
[0073] The training and testing code running time prediction algorithm process is as follows Figure 3 As shown in the figure, based on the strategy of this method, after the intelligent floating license management platform is started, the algorithm model does not start learning directly. When the amount of collected data is 100, a relatively stable data set can be formed. At this time, the BP neural network is trained. The BP neural network algorithm is as follows Figure 4As shown in the figure, the number of lines of code, the number of functions, the number of modules, the code scale and the type of test tools are used as input, and the running time is used as output. There are two hidden layers in the middle, which are 6 nodes and 4 nodes respectively. During training, the number of lines of code, the number of functions, the number of modules, the code scale and the type of test tools are first normalized, and the output layer uses the sigmoid activation function; the trained model file is stored in the database, and the rules are set. The training starts from the first data set exceeding 100, and the model data is stored in the database. When the platform is used later, each time the data set reaches a multiple of 100, the previous data set is integrated and training is continued on the previous algorithm model to achieve the effect of updating and iteration; the trained algorithm model can predict the running time through the input of data, and the middleware of each test tool and each floating license server can obtain this data and intelligently allocate the appropriate license period to the test tool.
[0074] S4. Build an intelligent floating license management platform
[0075] The overall architecture of the intelligent floating license management platform is as follows: Figure 5 As shown in the figure, the intelligent floating license management platform is mainly used for dashboard display and intelligent license distribution.
[0076] Dashboard display: Displays various information of multiple test tools in the virtual environment of the cloud platform, including the license type, license name, occupied resources, status and other information of the test tools. This information is obtained by the test tool manufacturer, the corresponding floating license server and the test tool monitoring component deployed in each virtual environment, and the test tool monitoring component transmits the information to the middleware for front-end display.
[0077] Smart license distribution: The smart floating license management platform first uses the middleware to forward messages between the test tool and the corresponding floating license server; secondly, before the user runs the test tool, the test tool monitoring component will encapsulate the code size, number of code lines, number of functions, and number of modules of the test case to be run and send it to the smart floating license management platform first; when the test tool applies for a license, the smart floating license management platform will predict the running time of this test case based on the test case data encapsulated by the test tool monitoring component and the BP neural network algorithm, and distribute it to the corresponding test tool to realize intelligent license allocation; after the test tool is running, the running status of the test tool is monitored in real time, and according to the user configuration information, when it is determined that the test tool has not been running for a long time, smart license recovery is realized.
[0078] Embodiment 3:
[0079] A method for managing floating licenses of intelligent testing tools for a cloud platform, comprising:
[0080] Start the management platform after the test tool and the corresponding floating license server are started;
[0081] Monitor the running status of the test tool according to the user's configuration, and reclaim the license of the test tool if it is detected that it has not been running for a long time;
[0082] After running for a period of time, the platform uses the test tool to run the test code data training algorithm model to predict the running time of the corresponding test tool;
[0083] When the subsequent test tool applies for a license, the corresponding license time is pushed to the test tool through the algorithm model, and the license is recovered by monitoring the running status of the test tool, thereby achieving intelligent test tool floating license management.
[0084] Furthermore, it also includes:
[0085] Deploy the test tool monitoring component on the user machine. The component periodically monitors the CPU usage, memory usage, and disk read / write status of the specified test tool according to the user configuration, and transmits the license recovery information to the middleware after a long period of inactivity.
[0086] Build middleware in the management platform to establish connections with various test tools, corresponding floating license servers and test tool monitoring components; achieve unified control of different test tools by formulating a unified data format.
[0087] Furthermore, the platform runs the test code through the test tool to train the data algorithm model further including:
[0088] Determine the specific process strategy of the algorithm model, formulate the initial conditions for model training, and formulate the data format of the training data set; the algorithm itself uses a three-layer BP neural network to predict the running time.
[0089] Furthermore, it also includes:
[0090] Before the test tool runs, the test tool monitoring component deployed in the user's machine obtains the number of code lines, code size, number of modules, number of functions and test tool category of the test tool test code and sends it to the platform. It obtains the predicted running time through the algorithm model and obtains permission; after running, the running time of the test tool is sent to the platform.
[0091] The intelligent test tool floating license management method for a cloud platform of the present invention has the following characteristics:
[0092] The middle platform model is adopted. By building middleware, the test tools are connected to the floating license server, and different test tools are integrated with the corresponding floating service manager for centralized management. At the same time, multiple modules are integrated to support viewing the operating status dashboard of each test tool and generating reports.
[0093] By deploying the test tool monitoring component in the test tool environment, an intelligent floating license recovery mechanism is implemented, saving a lot of license resources;
[0094] The test tool monitoring component sends data such as the size and running time of the code tested by the test tool to the platform. The platform learns and fits through the BP neural network algorithm to intelligently allocate license usage time to the test tool.
[0095] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An intelligent test tool floating license management system for a cloud platform, characterized in that: The system includes: a floating license server, an intelligent floating license management platform and a cloud platform, wherein the cloud platform includes multiple user machines, each of which is deployed with: a test tool monitoring component, a test tool and a middleware; the intelligent floating license management platform is deployed with: a middleware, a test code running time prediction algorithm model, a database module, a front-end module and a monitoring dashboard; the floating license server communicates with the middleware of the user machine through the middleware of the intelligent floating license management platform; wherein, Middleware, used for two-way message forwarding, responsible for receiving the request from the test tool to apply for a license from the floating license server, forwarding it to the floating license server and recording relevant data, responsible for receiving the license issued by the floating license server to the test tool, forwarding it to the test tool and recording relevant data, and responsible for communicating with the test tool monitoring component; The test tool monitoring component is used to monitor the running status of the test tool according to the user's configuration, determine whether the test tool has not been running for a long time according to the running status of the test tool, and realize intelligent license resource allocation and recovery. At the same time, the number of code lines, code size, number of modules, number of functions and running time of the test tool test code are collected as input to the test code running time prediction algorithm model; The test code running time prediction algorithm model adopts BP neural network, takes the number of lines of code, code size, number of modules, number of functions and running time of the test code as a data set, trains through BP neural network algorithm and generates the test code running time prediction algorithm model. The algorithm model is used to predict the running time according to the number of lines of code, code size, number of modules and number of functions of the test code, and intelligently allocates the appropriate license use period to the test tool; The dashboard is used to display various information of multiple testing tools on the user's machine in the cloud platform.
2. A method for managing floating licenses of intelligent testing tools for cloud platforms based on the system of claim 1, characterized in that: The method comprises the following steps: S1. Establish middleware between each test tool and each floating license server The middleware includes: message API, message queue service, receiving message queue and sending message queue; First, a message API is established to centrally process the information of different test tools applying for licenses and the floating license server issuing licenses to test tools and the number of resource pools into a unified format; When the message load in the receiving message queue and the sending message queue is too large, the message queue service is responsible for buffering the requests and obtaining the running status of the test tool; S2. Build and deploy test tool monitoring components The test tool monitoring component is deployed to each user machine in the cloud platform and runs as an independent application, including: performance monitoring module, test code acquisition module, license recovery module and message forwarding service; The performance monitoring module runs persistently and uses the API provided by the operating system to obtain the system resource usage of the test tool; The test code acquisition module is used to collect the number of code lines, code size, number of modules, number of functions and running time of the test code of the test tool; When the performance monitoring module detects that the target software does not occupy system resources for a long time, the license recovery module of the test tool monitoring component will convey the instruction of license recovery to the intelligent floating license management platform; The message forwarding service is used to forward messages between middlewares; S3. Training and testing code running time prediction algorithm model The number of lines of code, code size, number of modules, number of functions and running time of the test code of the test tool are collected as a data set, and the BP neural network algorithm is used for training to generate a test code running time prediction algorithm model. The algorithm model predicts the running time based on the number of lines of code, code size, number of modules and number of functions of the test code; S4. Build an intelligent floating license management platform Smart floating license management platform for dashboard display and smart license distribution; Dashboard display: displays various information of multiple testing tools in the virtual environment of the cloud platform; Smart license distribution: The smart floating license management platform first forwards messages between the test tool and the corresponding floating license server through the middleware; secondly, before the user runs the test tool, the test tool monitoring component will encapsulate the code size, number of code lines, number of functions, and number of modules of the test case to be run and send it to the smart floating license management platform first; when the test tool applies for a license, the smart floating license management platform will predict the running time of this test case based on the test case data encapsulated by the test tool monitoring component and the BP neural network algorithm and distribute it to the corresponding test tool to realize intelligent license allocation; after the test tool is running, the running status of the test tool is monitored in real time, and according to the user configuration information, when it is determined that the test tool has not been running for a long time, smart license recovery is realized; in, The parameters obtained by the performance monitoring module include: CPU usage, memory usage, and disk read and write. The resource usage is checked at regular intervals. The performance monitoring module provides a user interface and configuration files, allowing users to set monitoring rules, including definitions of long-term non-occupancy, monitoring strategies, and monitoring testing tools.
3. The intelligent test tool floating license management method for a cloud platform according to claim 2, characterized in that: The information that the test tool uses to apply for a license from the floating license server is converted through the message API and includes: software ID, version number, user name, machine ID, IP address of the corresponding floating license server, and application category parameters, including application request for a license and application revoke for a license.
4. The intelligent test tool floating license management method for a cloud platform according to claim 2, characterized in that: The information of the floating license to the test tool authorization license after conversion through the message API includes: license category, authorization deadline, maximum number of licenses in the resource pool, number of used licenses, test tool IP address, license key, and request category, where the request category includes authorization grant and revoke.
5. The intelligent test tool floating license management method for a cloud platform according to claim 2, characterized in that: The message queue service buffers a large number of requests during peak periods, uses idle time during non-peak periods to process backlogged requests, and distributes messages to the corresponding floating license servers. It is also responsible for communicating with the test tool monitoring component to obtain test tool operation status information.
6. The intelligent test tool floating license management method for a cloud platform according to any one of claims 2 to 5, characterized in that: The S3 specifically includes: after starting the intelligent floating license management platform, the algorithm model does not start learning directly. When the amount of collected data is 100, a relatively stable data set is formed. At this time, the BP neural network training begins, with the number of code lines, the number of functions, the number of modules, the code scale and the type of test tools as input, and the running time as output; during training, the number of code lines, the number of functions, the number of modules, the code scale and the type of test tools are first normalized, and the output layer uses the sigmoid activation function; the trained model file is stored in the database, and training starts from the first time the data set exceeds 100, and the model data is stored in the database. When the platform is used subsequently, each time the data set reaches a multiple of 100, the previous data sets are integrated and training continues on the previous algorithm model to achieve an update and iteration effect; the trained algorithm model predicts the running time through the input of data, and the middleware of each test tool and each floating license server obtains this data and intelligently allocates a suitable license usage period to the test tool.
7. The intelligent test tool floating license management method for a cloud platform according to claim 6, characterized in that: There are two hidden layers in the BP neural network, with 6 nodes and 4 nodes respectively.
8. The intelligent test tool floating license management method for a cloud platform according to claim 6, characterized in that: The dashboard displays various information including the test tool's license type, license name, occupied resources, and status information. This information is obtained by the test tool manufacturer, the corresponding floating license server, and the test tool monitoring component deployed in each virtual environment. The information is transmitted to the middleware through the test tool monitoring component and displayed on the front end.
9. The intelligent test tool floating license management method for a cloud platform according to claim 6, characterized in that: Start the intelligent floating license management platform after the test tool and the corresponding floating license server are started; Monitor the running status of the test tool according to the user's configuration, and reclaim the license of the test tool if it is detected that it has not been running for a long time; After running for a period of time, the platform uses the test tool to run the test code data training algorithm model to predict the running time of the corresponding test tool; When the subsequent test tool applies for a license, the corresponding license time is pushed to the test tool through the algorithm model, and the license is recovered by monitoring the running status of the test tool, thereby achieving intelligent test tool floating license management.
