A software adaptation evaluation method and device
By obtaining and analyzing the performance parameters of the application software on the migration system and the migration system, evaluating the operation of the application software on the migration system, the problem of difficulty in effectively evaluating the compatibility and performance of the application software in the existing technology is solved, and the problem of realizing that it is difficult to effectively evaluate the compatibility and performance of the application software is realized. Objective and effective evaluation of application software migration.
Patent Information
- Application Number
- CN202410968962.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-07-18
AI Technical Summary
In coal mining application scenarios, there are a large number of digital projects and software systems in use that need to be migrated to the domestic platform. However, the existing technology is difficult to effectively evaluate the compatibility and performance of application software on the migration system.
By obtaining the benchmark parameters of the application software in the migration system, obtaining multiple benchmark values for performance testing, and obtaining the corresponding performance test time-consuming parameters from the migration system, and calculating the benchmark values and performance test time-consuming values. The average and square root of the proportional coefficients between parameters, thereby evaluating the operation of the application software on the migration system.
It provides objective and effective judgment standards for the migration of application software to the domestic platform, ensuring that the migrated installation equipment can operate normally and stably on the domestic platform, and has wide application.
Smart Images

Figure CN118779195B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer design and application technology, and in particular to a software adaptation evaluation method and device. Background Art
[0002] Software adaptation is an application or driver that solves compatibility issues between different software systems. Software adaptation is used to ensure that the equipment to be installed (including application software) can be normally installed on the system architecture to be migrated, and to ensure that after installation, the equipment can run normally and stably on the system architecture. In the application scenario of coal mining, there are a large number of digital projects and software systems under construction and in use. These software systems are faced with the task of migrating to a domestic platform. Therefore, it is necessary to conduct corresponding evaluation tests during the migration and adaptation process to ensure that the installed equipment after adaptation can run normally and stably on the domestic platform.
[0003] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present application and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because they are described in the background technology section of the present application. Summary of the invention
[0004] The embodiments of the present application provide a software adaptation evaluation method and device.
[0005] The first embodiment of the present application proposes a software adaptation evaluation method, including:
[0006] Obtain the baseline parameters of the application software running on the migrated system;
[0007] According to the benchmark parameters, a plurality of benchmark value parameters for performance testing are obtained, and performance test time consumption value parameters corresponding to the benchmark value parameters are obtained from the migration system;
[0008] The average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time consumption value parameter are obtained, and based on the average value and the square root, an evaluation result for evaluating the operation of the application software in the migration system is obtained.
[0009] The second aspect of the present application provides a software adaptation evaluation device, including:
[0010] A first acquisition module, the first acquisition module is used to obtain the benchmark parameters of the application software running on the migration system;
[0011] A second acquisition module, wherein the first acquisition module is used to acquire a plurality of benchmark value parameters for performance testing according to the benchmark parameters, and to acquire performance test time consumption value parameters corresponding to the benchmark value parameters from the migration system;
[0012] The third acquisition module, the second acquisition module is used to obtain the average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time value parameter, and obtain the evaluation result for evaluating the operation of the application software in the migrated system based on the average value and the square root.
[0013] The third aspect embodiment of the present application proposes an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the software adaptation evaluation method proposed in the first aspect embodiment of the present application.
[0014] The fourth aspect embodiment of the present application proposes a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of an electronic device, the electronic device can execute the method proposed in the first aspect embodiment of the present application.
[0015] The fifth aspect embodiment of the present application proposes a computer program product, including a computer program, which implements the method proposed in the first aspect embodiment of the present application when executed by a processor in a communication device.
[0016] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0017] According to the benchmark parameters of the application software running in the migrated system, multiple benchmark value parameters for performance testing are obtained, and the performance test time value parameters corresponding to the benchmark value parameters are obtained from the migrated system; according to the proportional coefficient between the benchmark value parameters and the performance test time value parameters, the evaluation results for evaluating the operation of the application software in the migrated system are obtained. It provides an objective and effective judgment standard for the migration of application software to the domestic platform, which has wide applicability.
[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A flowchart of a software adaptation evaluation method provided in an embodiment of the present application;
[0021] Figure 2A schematic diagram of the interaction between the migration-out system and the migration-in system provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of the structure of a software adaptation evaluation device provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of the structure of an electronic device provided according to an embodiment of the present application;
[0024] Figure 5 The figure is a schematic diagram of the structure of another electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0026] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0027] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at..." or "when..." or "in response to determination".
[0028] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0029] It should be noted that the software adaptation evaluation method provided in any embodiment of the present application can be executed alone, or in combination with possible implementation methods in other embodiments, or in combination with any technical solution in related technologies.
[0030] The software adaptation evaluation method and device thereof according to the embodiment of the present application will be described below with reference to the accompanying drawings.
[0031] Figure 1 A flowchart of a software adaptation evaluation method provided in an embodiment of the present application. Figure 1 As shown, the method includes but is not limited to the following steps:
[0032] Step S101, obtaining the benchmark parameters of the application software running on the migrated system.
[0033] In a feasible implementation, the processing of the outgoing system involves a comprehensive assessment of the outgoing system architecture, formulation of a migration plan, architectural design of the incoming system, migration implementation operations, and subsequent monitoring and optimization.
[0034] A comprehensive assessment of the outgoing system includes: analyzing whether the functions currently provided by the outgoing system architecture meet business needs, and which functions may need to be enhanced or modified in the incoming system architecture; evaluating the outgoing system's response time, throughput, resource utilization and other performance indicators, and identifying the performance bottlenecks of the outgoing system architecture; checking the outgoing system architecture's fault recovery capabilities, fault tolerance mechanisms, etc.; and evaluating the outgoing system architecture's security protection measures, including data encryption, access control, vulnerability management, etc.
[0035] It should be noted that Figure 2 This is a schematic diagram of the interaction between the migration system and the migration system provided in the embodiment of the present application. Figure 2 As shown in the figure, the components of the migrated system architecture include the client, server, and database, and the role of the client is to set the performance test items and configure the benchmark parameters according to the control table used for performance testing. The benchmark parameters usually refer to the performance benchmark parameters, i.e., Performance Benchmark Parameters. Benchmark parameters are a series of quantitative indicators used to measure and evaluate the performance of the system architecture or components, which can provide clear and comparable standards to evaluate the performance of the system architecture to be migrated when migrating, upgrading, or optimizing the system.
[0036] The benchmark parameters usually include response time, throughput, number of concurrent users, resource utilization, latency, error rate, scalability, transaction processing rate, service quality, etc. When migrating, upgrading or optimizing the system, appropriate benchmark parameters are usually selected for evaluation and testing based on specific application scenarios and requirements. These benchmark parameters can not only help users understand the current performance status of the migrated system architecture, but also serve as the goal and basis for optimization and improvement.
[0037] Further, as an example, a control table for performance testing can be obtained from the database according to the migration system architecture. In this embodiment, the control table is an important concept in database design, which is used to manage and control data operations, data flows, and permission allocation of other tables in the database. When performing large-scale data migration, the control table can control the partition information of the storage source database, thereby guiding the data migration process; the control table can define the data processing process, such as data cleaning, conversion, and loading processes. Through the control table, the input, output, and processing logic of each step can be cleaned and defined; the design of the control table usually also needs to consider future scalability. With the continuous development and changes of the database system, it may be necessary to add new functions or adjust existing functions. Therefore, when designing the control table, sufficient expansion space should be reserved.
[0038] Further, as an example, according to the configuration information of the control table, the benchmark parameters are configured from the client of the migration system. In this embodiment, the configuration information of the control table includes: table identification information; data partition and process control information; authority management information; metadata information; system parameter information, etc. It should be noted that when configuring the benchmark parameters, the table structure and field settings should be flexibly adjusted according to the actual situation, and the association and dependency between multiple database tables should be considered.
[0039] like Figure 1 As shown, in step S102 of the software adaptation evaluation method, a plurality of benchmark value parameters for performance testing are obtained according to the benchmark parameters, and performance test time consumption value parameters corresponding to the benchmark value parameters are obtained from the migration system.
[0040] In a feasible implementation, the benchmark value parameters used for performance testing can serve as an important reference for evaluating whether the migration of application software from the outgoing system to the incoming system has reached the expected level. It helps to quantify the migration effect and ensure that the incoming system after migration can meet business needs and performance requirements.
[0041] Optionally, as an example, an instruction stream corresponding to the benchmark parameters can be obtained from the server side according to the architecture of the migration system; based on the performance test of the instruction stream by each component in the migration system (including the central processing unit, memory, file read and write system, disk, network capabilities, etc.), multiple benchmark value parameters are obtained (the benchmark value parameters include the processing power of the central processing unit, memory read and write capabilities, file read and write capabilities, disk read and write capabilities, network load capacity, etc.), and the benchmark value parameters of the migration system are used as a reference to evaluate the business processing capabilities and performance parameters of the migration system.
[0042] Optionally, as an example, relevant industry reports may be queried to obtain benchmark value parameters of performance indicators of similar migration systems. These reports are usually issued by authoritative organizations and have high reference value.
[0043] Optionally, as an example, a professional operation and maintenance organization may perform performance testing on the migrated system to obtain relatively professional benchmark value parameters, and use the benchmark value parameters as a reference to evaluate the accuracy of the migration result.
[0044] Therefore, the method for obtaining the benchmark value parameters for performance testing should be selected according to the specific usage scenario, which will not be described here.
[0045] Further, as an example, based on the interaction between the outgoing system and the incoming system, the first instruction sent by the outgoing system is collected from the incoming system; the first instruction is subjected to a stress generation test, and the performance test time value parameter corresponding to the benchmark value parameter is obtained from the incoming system. Further, if a single-threaded stress generation test is performed on the first instruction, the performance test time value parameter corresponding to the benchmark value parameter of each component in the incoming system is obtained from the incoming system. Further, according to the single-threaded mode, based on the first instruction, a performance test is performed on each component in the incoming system, and the performance test time of each component is counted. As an example, if the benchmark value parameter is a quantitative value of the processing power of the central processing unit, then the performance test time corresponds to the quantitative value of the processing power of the central processing unit in the incoming system. Further, multiple performance test times are superimposed to obtain the performance test time value parameter, wherein the performance test time value parameter includes the processing power of the central processing unit, the memory read and write power, the file read and write power, the disk read and write power, the network load power, etc.
[0046] Furthermore, if a multi-threaded stress generation test is performed on the first instruction, the performance test time value parameters corresponding to the benchmark value parameters of each component in the migrated system are obtained from the migrated system. Further, according to the multi-threaded mode, based on the first instruction, a performance test is performed on each component in the migrated system, and the performance test time of each component is counted.
[0047] As an example, for the single-threaded mode, if only the processing power of the central processing unit, memory read and write capabilities, file read and write capabilities, and disk read and write capabilities are considered, the performance test time of each component = single-threaded central processing unit performance test time + single-threaded memory performance test time + single-threaded file read and write performance test time + single-threaded disk read and write performance test time.
[0048] For the multi-threaded mode, the test is averaged according to the number of CPUs. If only the CPU processing power, memory read / write power, file read / write power, and disk read / write power are considered, the performance test time of each component = total time consumed by multi-threaded CPU performance test / number of logical CPUs + total time consumed by multi-threaded memory performance test / number of logical CPUs + total time consumed by multi-threaded file read / write performance test / number of logical CPUs + total time consumed by multi-threaded disk read / write performance test / number of logical CPUs.
[0049] It should be noted that for the performance test of the central processing unit, the Elliott sieve method can be used to count how many prime numbers can be calculated within 1 second, or the operation of sorting and finding substrings of each specified string read into the memory can be used to count the time consumed by all string operations.
[0050] For memory performance testing, you can copy the specified file into memory and count the time consumed.
[0051] For file reading and writing performance testing, you can use the file system to randomly read and write specified files and count the time consumed.
[0052] For disk read and write performance testing, you can perform random read and write operations on the disk device and count the time it takes.
[0053] like Figure 1 As shown, step S103 of the software adaptation evaluation method obtains the average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time value parameter, and obtains the evaluation result for evaluating the operation of the application software in the migrated system based on the average value and the square root.
[0054] In a feasible implementation, as an example, based on multiple files used for performance testing, the corresponding relationship between the benchmark value parameter and the performance test time value parameter is obtained; based on the corresponding relationship, the proportional coefficients between the multiple benchmark value parameters and the performance test time value parameter are obtained, wherein for each test file, a set of benchmark value parameters and performance test time value parameters are obtained; the multiple proportional coefficients are averaged to obtain the average value; the multiple proportional coefficients are multiplied to obtain the first intermediate variable, and based on the number of files, the first intermediate variable is exponentiated to obtain the square root. Further, based on the superposition of the average value and the square root, the evaluation value of the application software adaptation to the migration system is obtained; based on the comparison of the evaluation value with the threshold value, the evaluation result of the application software running in the migration system is obtained.
[0055] The following formula can be used to obtain the evaluation value of application software adaptation and migration into the system:
[0056]
[0057] Among them, V n is the evaluation value; T n B is the time-consuming parameter of the performance test; n is the benchmark parameter; n is the number of files used for performance testing; P1 is the first weight representing the average value, and P2 is the second weight representing the square root, where P1+P2=1. P1 and P2 should be set according to the usage scenario.
[0058] As an example, four groups of thresholds can be set, namely: [0, 0.75), [0.75, 0.85), [0.85, 0.95), [0.95, 1.0), where [0, 0.75) corresponds to a poor evaluation result; [0.75, 0.85) corresponds to a qualified evaluation result; [0.85, 0.95) corresponds to a good evaluation result; and [0.95, 1.0) corresponds to an excellent evaluation result. Therefore, the evaluation result of the application software running in the migrated system is obtained according to which threshold the evaluation value falls within.
[0059] It should be added that the processing operations for the migration system architecture also include: ensuring that the business is not interrupted or is minimally interrupted during the migration to the migration system; in order to solve the compatibility issues between the existing architecture and the system architecture to be migrated, it may be necessary to modify the code, adjust the configuration, etc.; formulate a risk management plan, identify potential migration risks and specify corresponding countermeasures.
[0060] In summary, according to the benchmark parameters of the application software running in the migrated system, multiple benchmark value parameters for performance testing are obtained, and the performance test time value parameters corresponding to the benchmark value parameters are obtained from the migrated system; according to the proportional coefficient between the benchmark value parameters and the performance test time value parameters, the evaluation results for evaluating the operation of the application software in the migrated system are obtained. It provides an objective and effective judgment standard for the migration of application software to the domestic platform, which has wide applicability.
[0061] Figure 3 This is a schematic diagram of the structure of a software adaptation evaluation device provided in an embodiment of the present application. Figure 3 As shown, the software adaptation evaluation device 300 includes:
[0062] A first acquisition module 301, the first acquisition module 301 is used to obtain the benchmark parameters of the application software running in the migration system;
[0063] The second acquisition module 302 is used to acquire multiple benchmark value parameters for performance testing according to the benchmark parameters, and acquire performance test time consumption value parameters corresponding to the benchmark value parameters from the migration system;
[0064] The third acquisition module 303 is used to obtain the average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time value parameter, and obtain the evaluation result for evaluating the operation of the application software in the migration system based on the average value and the square root.
[0065] Figure 4 The present invention is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0066] like Figure 5 As shown, the electronic device 400 includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a memory 406 to a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0067] The following components are connected to the I / O interface 405: a memory 406 including a hard disk, etc.; and a communication part 407 including a network interface card such as a LAN (Local Area Network) card, a modem, etc., and the communication part 407 performs communication processing via a network such as the Internet; a drive 408 is also connected to the I / O interface 405 as needed.
[0068] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 407. When the computer program is executed by the processor 401, the above-mentioned functions defined in the method of the present application are executed.
[0069] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by the processor 401 of the electronic device 400 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0070] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0071] Figure 5 The figure is a schematic diagram of the structure of another electronic device provided according to an embodiment of the present application. Figure 5 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present application. Figure 5As shown, the electronic device 500 includes a processor 501 and a memory 502. The memory 502 is used to store program codes, and the processor 501 is connected to the memory 502 to read the program codes from the memory 502 to implement the software adaptation evaluation method in the above embodiment.
[0072] Optionally, the number of processors 501 may be one or more.
[0073] Optionally, the electronic device may further include an interface 503, and the number of the interface 503 may be multiple. The interface 503 may be connected to an application program and may receive data from an external device such as a sensor.
[0074] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0075] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A software adaptation evaluation method, characterized in that: include: Obtaining benchmark parameters of the application software running on the migrated system, the benchmark parameters including response time, throughput, number of concurrent users, resource utilization, latency, error rate, scalability, transaction processing rate, and quality of service; According to the benchmark parameters, a plurality of benchmark value parameters for performance testing are obtained, and performance test time consumption value parameters corresponding to the benchmark value parameters are obtained from the migration system; Obtaining an average value and a square root of a proportionality coefficient between the benchmark value parameter and the performance test time-consuming value parameter, and obtaining an evaluation result for evaluating the operation of the application software in the migration system according to the average value and the square root; The obtaining of the benchmark parameters of the application software running on the migrated system includes: According to the migration system architecture, obtain the control table used for performance testing from the database; According to the configuration information of the control table, the benchmark parameters are configured from the client of the system being migrated out; Obtaining a performance test time-consuming value parameter corresponding to the benchmark value parameter includes: Based on the interaction between the outgoing system and the incoming system, collecting, from the incoming system, a first instruction sent by the outgoing system; Performing a stress generation test on the first instruction, and obtaining a performance test time consumption value parameter corresponding to the benchmark value parameter from the migration system; The obtaining of the average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time-consuming value parameter includes: According to a plurality of files for performance testing, obtaining a correspondence between the benchmark value parameter and the performance test time-consuming value parameter; According to the corresponding relationship, a proportional coefficient between the plurality of benchmark value parameters and the performance test time consumption value parameter is obtained; Performing an averaging operation on the plurality of proportional coefficients to obtain an average value; A product operation is performed on the plurality of proportional coefficients to obtain a first intermediate variable, and based on the number of files, a power operation is performed on the first intermediate variable to obtain a square root.
2. The method according to claim 1, characterized in that The step of obtaining a plurality of benchmark value parameters for performance testing according to the benchmark parameters includes: According to the migration system architecture, obtaining, from the server, an instruction stream corresponding to the benchmark parameters; Based on the performance test of each component in the migration system on the instruction stream, a plurality of benchmark value parameters are obtained.
3. The method according to claim 1, characterized in that: The step of performing a stress generation test on the first instruction and obtaining a performance test time consumption value parameter corresponding to the benchmark value parameter from the migration system includes: Performing a single-threaded stress generation test on the first instruction, and obtaining, from the migrated system, performance test time consumption value parameters corresponding to the benchmark value parameters of each component in the migrated system; A multi-threaded stress generation test is performed on the first instruction, and performance test time consumption value parameters corresponding to the benchmark value parameters of each component in the migrated system are obtained from the migrated system.
4. The method according to claim 3, characterized in that The performing of a single-thread stress generation test on the first instruction, and obtaining, from the migration system, performance test time consumption value parameters corresponding to the benchmark value parameters of each component in the migration system, includes: According to the single-thread mode, based on the first instruction, a performance test is performed on each component migrated into the system, and the performance test time of each component is counted; The time of multiple performance tests is superimposed to obtain a performance test time consumption value parameter.
5. The method according to claim 3, characterized in that: The performing of a multi-threaded stress generation test on the first instruction, and obtaining, from the migration system, performance test time consumption value parameters corresponding to the benchmark value parameters of each component in the migration system, includes: According to the multi-threaded mode, based on the first instruction, a performance test is performed on each component migrated into the system, and the performance test time of each component is counted; The time of multiple performance tests is superimposed to obtain a performance test time consumption value parameter.
6. The method according to claim 1, characterized in that The step of obtaining, based on the average value and the square root, an evaluation result for evaluating the operation of the application software in the migrated system includes: Based on superposition of the average value and the square root, obtaining an evaluation value of the application software adaptation migration system; Based on the comparison between the evaluation value and the threshold, an evaluation result of the application software running in the migrated system is obtained.
7. A software adaptation evaluation device, characterized in that: include: A first acquisition module, the first acquisition module is used to obtain benchmark parameters of the application software running on the migration system, the benchmark parameters including response time, throughput, number of concurrent users, resource utilization, delay, error rate, scalability, transaction processing rate, and quality of service; A second acquisition module, wherein the first acquisition module is used to acquire a plurality of benchmark value parameters for performance testing according to the benchmark parameters, and to acquire performance test time consumption value parameters corresponding to the benchmark value parameters from the migration system; The third acquisition module, the second acquisition module is used to obtain the average value and the square root of the proportionality coefficient between the benchmark value parameter and the performance test time value parameter, and obtain the evaluation result for evaluating the operation of the application software in the migration system according to the average value and the square root; The first acquisition module is further used to acquire a control table for performance testing from a database according to the migration system architecture; According to the configuration information of the control table, the benchmark parameters are configured from the client of the system being migrated out; The second acquisition module is further used to collect the first instruction sent by the outgoing system from the incoming system based on the interaction between the outgoing system and the incoming system; Performing a stress generation test on the first instruction, and obtaining a performance test time consumption value parameter corresponding to the benchmark value parameter from the migration system; The third acquisition module is further used to acquire the corresponding relationship between the benchmark value parameter and the performance test time consumption value parameter according to a plurality of files used for performance testing; According to the corresponding relationship, a proportional coefficient between the plurality of benchmark value parameters and the performance test time consumption value parameter is obtained; Performing an averaging operation on the plurality of proportional coefficients to obtain an average value; A product operation is performed on the plurality of proportional coefficients to obtain a first intermediate variable, and based on the number of files, a power operation is performed on the first intermediate variable to obtain a square root.
Citation Information
Patent Citations
Performance benchmark evaluation method suitable for domestic basic software and hardware environment
CN115629953A