[go: up one dir, main page]

CN118779195B - A software adaptation evaluation method and device - Google Patents

A software adaptation evaluation method and device Download PDF

Info

Publication number
CN118779195B
CN118779195B CN202410968962.XA CN202410968962A CN118779195B CN 118779195 B CN118779195 B CN 118779195B CN 202410968962 A CN202410968962 A CN 202410968962A CN 118779195 B CN118779195 B CN 118779195B
Authority
CN
China
Prior art keywords
parameters
benchmark
performance test
value
obtaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410968962.XA
Other languages
Chinese (zh)
Other versions
CN118779195A (en
Inventor
吕依濛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ccteg Coal Mining Research Institute Co ltd
Original Assignee
Ccteg Coal Mining Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ccteg Coal Mining Research Institute Co ltd filed Critical Ccteg Coal Mining Research Institute Co ltd
Priority to CN202410968962.XA priority Critical patent/CN118779195B/en
Publication of CN118779195A publication Critical patent/CN118779195A/en
Application granted granted Critical
Publication of CN118779195B publication Critical patent/CN118779195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本申请提出一种软件适配评估方法及装置,包括:获取应用软件运行在迁出系统的基准参数;获取用于性能测试的多个标杆值参数,并从迁入系统中,获取与标杆值参数对应的性能测试耗时值参数;获取标杆值参数与性能测试耗时值参数之间比例系数的平均值和方根,并根据平均值和方根,获取用于评估应用软件在迁入系统运行的评估结果。根据应用软件运行在迁出系统的基准参数,获取用于性能测试的多个标杆值参数,并从迁入系统中,获取与标杆值参数对应的性能测试耗时值参数;根据标杆值参数与性能测试耗时值参数之间比例系数,获取用于评估应用软件在迁入系统运行的评估结果。为应用软件向国产化平台迁移提供客观有效的判断标准,具有广泛的应用性。

The present application proposes a software adaptation evaluation method and device, including: obtaining the benchmark parameters of the application software running in the migrated system; obtaining multiple benchmark value parameters for performance testing, and obtaining the performance test time value parameters corresponding to the benchmark value parameters from the migrated system; obtaining the average value and square root of the proportional coefficient between the benchmark value parameters and the performance test time value parameters, and obtaining the evaluation results for evaluating the operation of the application software in the migrated system based on the average value and square root. 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, and has wide applicability.

Description

Software adaptation evaluation method and device
Technical Field
The present application relates to the field of computer design and application technologies, and in particular, to a software adaptation evaluation method and apparatus.
Background
Software adaptation is an application or driver that solves the compatibility problem between different software systems. The software is adapted to ensure that the device to be installed (the device to be installed includes application software) can be normally installed on the system architecture to be migrated, and that the device can normally and stably run on the system architecture after installation. In the application scene of coal mining, a large number of digital projects exist and in-use software systems are built, and the software systems face the task of migration to a domestic platform, so that corresponding evaluation tests are required in the migration adaptation process, and the adapted installation equipment can normally and stably run on the domestic platform.
It should be noted that the foregoing description of the background art is only for the purpose of providing a clear and complete description of the technical solution of the present application and is presented for the convenience of understanding by those skilled in the art. The above-described solutions are not considered to be known to the person skilled in the art simply because they are set forth in the background of the application section.
Disclosure of Invention
The embodiment of the application provides a software adaptation evaluation method and device.
An embodiment of a first aspect of the present application provides a software adaptation evaluation method, including:
acquiring reference parameters of application software running in an migration system;
Acquiring a plurality of marker post value parameters for performance test according to the reference parameters, and acquiring performance test time-consuming value parameters corresponding to the marker post value parameters from an migration system;
and obtaining an average value and a square root of a proportionality coefficient between the marker post value parameter and the performance test time-consuming value parameter, and obtaining an evaluation result for evaluating the running of the application software in the migration system according to the average value and the square root.
An embodiment of a second aspect of the present application provides a software adaptation evaluation apparatus, including:
the first acquisition module is used for acquiring reference parameters of the application software running in the migration system;
The second acquisition module is used for acquiring a plurality of marker post value parameters for performance test according to the reference parameters and acquiring performance test time-consuming value parameters corresponding to the marker post value parameters from the migration system;
the third acquisition module is used for acquiring an average value and a square root of the proportionality coefficient between the marker post value parameter and the performance test time-consuming value parameter, and acquiring an evaluation result for evaluating the running of the application software in the migration system according to the average value and the square root.
An embodiment of a third aspect of the present application provides an electronic device, including a processor, and a memory for storing instructions executable by the processor, where the processor is configured to execute the instructions to implement the software adaptation evaluation method provided by the embodiment of the first aspect of the present application.
An embodiment of a fourth aspect of the present application proposes a non-transitory computer readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the method proposed by the embodiment of the first aspect of the present application.
An embodiment of the fifth aspect of the present application proposes a computer program product comprising a computer program which, when executed by a processor in a communication device, implements the method proposed by the embodiment of the first aspect of the present application.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
Obtaining a plurality of marker post value parameters for performance test according to the reference parameters of the application software running in the migration system, obtaining performance test time-consuming value parameters corresponding to the marker post value parameters from the migration system, and obtaining an evaluation result for evaluating the running of the application software in the migration system according to the proportionality coefficient between the marker post value parameters and the performance test time-consuming value parameters. Provides objective and effective judgment standard for migration of application software to domestic platform, and has wide applicability.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a schematic flow chart of a software adaptation evaluation method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating interaction between an outbound system and an inbound system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a software adaptation evaluation device according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the application. Rather, they are merely examples of apparatus and methods consistent with aspects of embodiments of the application as detailed in the accompanying claims.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present application. The words "if" and "if" as used herein may be interpreted as "at..once" or "when..once" or "in response to a determination", depending on the context.
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the like or similar elements throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting the application.
It should be noted that, the software adaptation evaluation method provided in any one of the embodiments of the present application may be executed alone or in combination with possible implementation methods in other embodiments, and may also be executed in combination with any one of the technical solutions in the related art.
The software adaptation evaluation method and the device thereof according to the embodiment of the application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a software adaptation evaluation method according to an embodiment of the present application. As shown in fig. 1, the method includes, but is not limited to, the steps of:
step S101, obtaining reference parameters of the application software running in the migration system.
In one possible implementation, the handling of the migration system involves a comprehensive assessment of the migration system architecture, migration planning, architecture design of the migration system, migration enforcement operations, and subsequent monitoring and optimization.
The comprehensive evaluation of the migration system comprises the steps of analyzing whether the functions currently provided by the migration system architecture meet business requirements or not, evaluating performance indexes such as response time, throughput, resource utilization rate and the like of the migration system, identifying performance bottlenecks of the migration system architecture, checking fault recovery capacity, fault tolerance mechanism and the like of the migration system architecture, and evaluating security protection measures of the migration system architecture, including data encryption, access control, vulnerability management and the like.
It should be noted that fig. 2 is a schematic diagram illustrating interaction between the migration system and the migration system according to an embodiment of the present application. As shown in fig. 2, the components of the migration system architecture include a client, a server, and a database, and the client is used to set items of performance test according to a control table for performance test, and configure reference parameters, which are generally referred to as performance reference parameters, that is, performance Benchmark Parameters. The baseline parameters are used to measure and evaluate a series of quantitative indicators of system architecture or component performance, and can provide clear, comparable criteria for migrating, upgrading or optimizing the system to evaluate the performance of the system architecture to be migrated.
The reference parameters generally include response time, throughput, concurrency user number, resource utilization, delay, error rate, expandability, transaction processing rate, service quality and the like, and when system migration, upgrading or optimizing is performed, appropriate reference parameters are generally selected for evaluation and testing according to specific application scenarios and requirements. These baseline parameters not only help the user to understand the current performance state of the migrating system architecture, but also serve as targets and bases for optimization and improvement.
Further, as an example, a control table for performance testing may be obtained from a database according to the migration system architecture. In this embodiment, the control table is an important concept of database design, and is used for managing and controlling data operations, data flows, rights allocation, and other aspects of other tables in the database. When large-scale data migration is performed, the control table can control partition information of the storage source database so as to guide the data migration process, the control table hi can define the data processing process, such as data cleaning, conversion and loading processes, through the control table, the input, output and processing logic defining each step can be cleaned, future expansibility is usually considered in the design of the control table, and as the database system is continuously developed and changed, new functions may need to be added or existing functions may need to be adjusted, so that enough expansion space should be reserved when the control table is designed.
Further, as an example, the reference parameters are configured from the client of the migration system according to the configuration information of the control table. In this embodiment, the configuration information of the control table includes table identification information, data partition and flow control information, rights management information, metadata information, system parameter information, and the like. It should be noted that, when configuring the reference parameters, the table structure and the field setting should be flexibly adjusted according to the actual situation, and the association and the dependency between the database tables should be considered.
As shown in fig. 1, in step S102 of the software adaptation evaluation method, a plurality of benchmarking value parameters for performance test are obtained according to the reference parameters, and performance test time-consuming value parameters corresponding to the benchmarking value parameters are obtained from the migration system.
In a possible implementation manner, the parameter of the marker post value used for the performance test can be used as an important reference for evaluating whether the application software migrates from the migration system to reach the expected level, and the parameter of the marker post value is helpful for quantifying migration effects, so that the migrated migration system can meet business requirements and performance requirements.
Alternatively, as an example, the instruction stream corresponding to the reference parameter may be obtained from the server according to the architecture of the migration system, and based on the performance test of each component (including the central processing unit, the memory, the file read-write system, the disk, the network capability, etc.) in the migration system on the instruction stream, a plurality of target value parameters (including the processing capability of the central processing unit, the memory read-write capability, the file read-write capability, the disk read-write capability, the network load capability, etc.) are obtained, and the target value parameters of the migration system are used as references to evaluate the service processing capability and the performance parameters of the migration system.
Alternatively, as an example, related industry reports may be queried to obtain the benchmarking parameters of performance indicators of the same type of mobile systems, and these reports are typically issued by authorities with high reference value.
Alternatively, as an example, performance test may be performed on the migration system by a professional operation and maintenance mechanism, to obtain a relatively professional marker post value parameter, and the accuracy of the migration result is evaluated by using the marker post value parameter as a reference.
Therefore, the method for obtaining the marker post value parameter for performance test should be selected according to the specific usage scenario, which is not described herein.
Further, as an example, based on interactions between the migrating system and the migrating system, a first instruction sent by the migrating system is collected from the migrating system, a stress generation test is performed on the first instruction, and a performance test time-consuming value parameter corresponding to the marker post value parameter is obtained from the migrating system. Further, if the single-threaded pressure generation test is performed on the first instruction, a performance test time-consuming value parameter corresponding to the marker post value parameter of each component in the migration system is obtained from the migration system. Further, according to the single-thread mode, performance tests are conducted on all components in the migration system based on the first instruction, and performance test time of all the components is counted. By way of example, if the benchmarking parameters are quantized values relating to CPU processing power, then the performance test time corresponds to the quantized values of CPU processing power in the migration system. Further, a plurality of performance test time are overlapped to obtain performance test time consumption value parameters, wherein the performance test time consumption value parameters comprise processing capacity, memory read-write capacity, file read-write capacity, disk read-write capacity, network load capacity and the like of the central processing unit.
Further, if the first instruction is subjected to the multithreading pressure generating test, a performance test time-consuming value parameter corresponding to the marker post value parameter of each component in the migration system is obtained from the migration system. Further, according to the multithreading mode, performance tests are conducted on all components in the migration system based on the first instruction, and performance test time of all the components is counted.
As an example, for the single-thread mode, if only the processing capability, memory read-write capability, file read-write capability, disk read-write capability of the central processor are considered, the performance test time of each component = single-thread Cheng Zhongyang processor performance test time + single-thread memory performance test time + single-thread file read-write performance test time + single-thread Cheng Cipan read-write performance test time.
For the multithreading mode, the homogenization is performed according to the number of the central processing units, if only the processing capacity, the memory read-write capacity, the file read-write capacity and the disk read-write capacity of the central processing units are considered, the performance test time of each component=the total time consumption of the multithreading central processing unit performance test/the number of the logic central processing units+the total time consumption of the multithreading memory performance test/the number of the logic central processing units+the total time consumption of the multithreading file read-write performance test/the number of the logic central processing units+the total time consumption of the multithreading Cheng Cipan read-write performance test/the number of the logic central processing units.
It should be noted that, for the performance test of the central processing unit, the elsen screening method may be adopted to count how many prime numbers can be calculated in 1 second, or the operations of sorting and searching for sub-strings may be adopted to count the designated strings read into the memory, and the time consumed for all string operations may be counted.
For performance test of the memory, memory copying can be performed on the formulated file, and time consumption is counted.
For the performance test of the file reading and writing capability, the specified file can be randomly read and written through a file system, and time consumption is counted.
For the performance test of the disk reading and writing capability, the disk device can be randomly read and written, and time consumption is counted.
As shown in fig. 1, in step S103 of the software adaptation evaluation method, an average value and a square root of a proportionality coefficient between a benchmarking value parameter and a performance test time-consuming value parameter are obtained, and an evaluation result for evaluating the running of application software in an migration system is obtained according to the average value and the square root.
In a possible implementation manner, as an example, according to a plurality of files for performance test, the corresponding relation between the target value parameters and the performance test consumption value parameters is obtained, according to the corresponding relation, the proportionality coefficients between the target value parameters and the performance test consumption value parameters are obtained, wherein for each test file, a group of target value parameters and performance test consumption value parameters are obtained, the proportionality coefficients are subjected to average value obtaining operation, the proportionality coefficients are subjected to product operation, a first intermediate variable is obtained, and based on the number of the files, the first intermediate variable is subjected to exponentiation operation, and a square root is obtained. Further, based on superposition of the average value and the square root, an evaluation value of the application software adapted to the migration system is obtained, and an evaluation result of the application software running in the migration system is obtained according to comparison of the evaluation value and a threshold value.
The following formula may be used to obtain an evaluation value of the application software adaptation and migration system:
Wherein V n is an evaluation value, T n is a performance test consumption value parameter, B n is a standard pole value parameter, n is the number of files used for performance test, P1 is a first weight representing an average value, P2 is a second weight representing a square root, wherein P1+P2=1, and P1 and P2 are set according to a use scene.
As an example, four sets of thresholds may be set, respectively, [0,0.75 ], [0.75,0.85 ], [0.85,0.95 ], and [0.95,1.0 ], where the evaluation result corresponding to [0,0.75 ] is poor, the evaluation result corresponding to [0.75,0.85) is acceptable, the evaluation result corresponding to [0.85,0.95) is good, and the evaluation result corresponding to [0.95,1.0) is excellent. Therefore, according to which threshold the evaluation value falls within, the evaluation result of the application software running in the migration system is obtained.
The processing operation of the migration system architecture further comprises the steps of ensuring that the service is not interrupted or is rarely interrupted in the migration process to the migration system; in solving the compatibility problem of the existing architecture and the architecture of the system to be migrated, code modification, configuration adjustment and the like may be needed, a risk management plan is formulated, potential migration risks are identified, and responsive countermeasures are designated.
In summary, a plurality of benchmarking value parameters for performance test are obtained according to the reference parameters of the application software running in the migration system, the time-consuming performance test value parameters corresponding to the benchmarking value parameters are obtained from the migration system, and an evaluation result for evaluating the application software running in the migration system is obtained according to the proportionality coefficient between the benchmarking value parameters and the time-consuming performance test value parameters. Provides objective and effective judgment standard for migration of application software to domestic platform, and has wide applicability.
Fig. 3 is a schematic structural diagram of a software adaptation evaluation device according to an embodiment of the present application. As shown in fig. 3, the software adaptation evaluation device 300 includes:
The first obtaining module 301, where the first obtaining module 301 is configured to obtain a reference parameter of an application software running on the migration system;
the second obtaining module 302 is configured to obtain a plurality of benchmarking value parameters for performance test according to the reference parameters, and obtain a time-consuming performance test value parameter corresponding to the benchmarking value parameters from the migration system;
The third obtaining module 303, where the third obtaining module 303 is configured to obtain an average value and a square root of a scaling factor between the benchmarking value parameter and the performance test time-consuming value parameter, and obtain an evaluation result for evaluating the running of the application software in the migration system according to the average value and the square root.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the application.
As shown in fig. 5, the electronic device 400 includes a processor 401 that can perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a Memory 406 into a random access Memory (RAM, random Access Memory) 403. In the RAM 403, various programs and data necessary 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 by a bus 404. An Input/Output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405, a memory 406 including a hard disk or the like, and a communication section 407 including a network interface card such as a LAN (local area network ) card, a modem or the like, the communication section 407 performing communication processing via a network such as the internet, and a drive 408 is also connected to the I/O interface 405 as necessary.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program embodied on a computer readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication portion 407. The above-described functions defined in the method of the application are performed when the computer program is executed by the processor 401.
In an exemplary embodiment, a storage medium is also provided, e.g., a memory, comprising instructions executable by the processor 401 of the electronic device 400 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application. The electronic device shown in fig. 5 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present application. As shown in fig. 5, the electronic device 500 includes a processor 501 and a memory 502. The memory 502 is used for storing program codes, and the processor 501 is connected to the memory 502 and is used for reading the program codes from the memory 502 to implement the software adaptation evaluation method in the above embodiment.
Alternatively, the number of processors 501 may be one or more.
Optionally, the electronic device may further include an interface 503, and the number of the interfaces 503 may be plural. The interface 503 may be connected to an application program, and may receive data of an external device such as a sensor, or the like.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (7)

1.一种软件适配评估方法,其特征在于,包括:1. A software adaptation evaluation method, characterized by comprising: 获取应用软件运行在迁出系统的基准参数,所述基准参数包括响应时间、吞吐量、并发用户数、资源利用率、延迟、错误率、可扩展性、事务处理率、服务质量;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.根据权利要求1所述的方法,其特征在于,所述根据所述基准参数,获取用于性能测试的多个标杆值参数,包括: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 comprises: 根据迁出系统架构,从服务端中,获取与所述基准参数对应的指令流;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.根据权利要求1所述的方法,其特征在于,所述对所述第一指令进行压力生成测试,从迁入系统中,获取与所述标杆值参数对应的性能测试耗时值参数,包括: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 comprises: 对所述第一指令进行单线程压力生成测试,从迁入系统中,获取迁入系统中各组件与所述标杆值参数对应的性能测试耗时值参数;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.根据权利要求3所述的方法,其特征在于,所述对所述第一指令进行单线程压力生成测试,从迁入系统中,获取迁入系统中各组件与所述标杆值参数对应的性能测试耗时值参数,包括: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 comprises: 根据单线程模式,基于所述第一指令,对迁入系统中各组件中进行性能测试,统计各组件的性能测试时间;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.根据权利要求3所述的方法,其特征在于,所述对所述第一指令进行多线程压力生成测试,从迁入系统中,获取迁入系统中各组件与所述标杆值参数对应的性能测试耗时值参数,包括: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 include: 根据多线程模式,基于所述第一指令,对迁入系统中各组件中进行性能测试,统计各组件的性能测试时间;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.根据权利要求1所述的方法,其特征在于,所述根据所述平均值和所述方根,获取用于评估应用软件在迁入系统运行的评估结果,包括:6. The method according to claim 1, characterized in that the step of obtaining an evaluation result for evaluating the operation of the application software in the migrated system according to the average value and the square root comprises: 基于对所述平均值和所述方根进行叠加,获取应用软件适配迁入系统的评估值;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.一种软件适配评估装置,其特征在于,包括:7. A software adaptation evaluation device, characterized in that it comprises: 第一获取模块,所述第一获取模块用于获取应用软件运行在迁出系统的基准参数,所述基准参数包括响应时间、吞吐量、并发用户数、资源利用率、延迟、错误率、可扩展性、事务处理率、服务质量;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.
CN202410968962.XA 2024-07-18 2024-07-18 A software adaptation evaluation method and device Active CN118779195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410968962.XA CN118779195B (en) 2024-07-18 2024-07-18 A software adaptation evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410968962.XA CN118779195B (en) 2024-07-18 2024-07-18 A software adaptation evaluation method and device

Publications (2)

Publication Number Publication Date
CN118779195A CN118779195A (en) 2024-10-15
CN118779195B true CN118779195B (en) 2025-02-07

Family

ID=92989173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410968962.XA Active CN118779195B (en) 2024-07-18 2024-07-18 A software adaptation evaluation method and device

Country Status (1)

Country Link
CN (1) CN118779195B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629953A (en) * 2022-12-22 2023-01-20 北京太极信息系统技术有限公司 Performance benchmark evaluation method suitable for domestic basic software and hardware environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047949A (en) * 2021-10-27 2022-02-15 中国国家铁路集团有限公司 A kind of application system domestic platform migration adaptation method
CN117951111A (en) * 2023-11-13 2024-04-30 马上消费金融股份有限公司 Task migration method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629953A (en) * 2022-12-22 2023-01-20 北京太极信息系统技术有限公司 Performance benchmark evaluation method suitable for domestic basic software and hardware environment

Also Published As

Publication number Publication date
CN118779195A (en) 2024-10-15

Similar Documents

Publication Publication Date Title
US11307770B2 (en) Capacity forecasting based on capacity policies and transactions
CN105830037B (en) For showing the process of Test coverage data during code inspection
US10656968B2 (en) Managing a set of wear-leveling data using a set of thread events
CN118761745B (en) OA collaborative workflow optimization method applied to enterprise
US8010947B2 (en) Discovering multi-component software products based on weighted scores
US8639561B2 (en) Determining an option for decommissioning or consolidating software
CN103336737B (en) Information handling systems and the method for enforcement thereof
US8171060B2 (en) Storage system and method for operating storage system
US10095597B2 (en) Managing a set of wear-leveling data using a set of thread events
US10078457B2 (en) Managing a set of wear-leveling data using a set of bus traffic
Li et al. A process mining based approach to knowledge maintenance
Bommala et al. Machine learning job failure analysis and prediction model for the cloud environment
CN104112084B (en) Execution-based license discovery and optimization method and device
Chung et al. A goal-oriented simulation approach for obtaining good private cloud-based system architectures
CN112433888B (en) Data processing method and device, storage medium and electronic equipment
CN109992408B (en) A resource allocation method, apparatus, electronic device and storage medium
CN101894327A (en) A quantitative assessment method for long-term storage format obsolescence risk of digital resources
Wyatt et al. AI4IO: A suite of AI-based tools for IO-aware scheduling
CN120010857A (en) A dynamic parsing method, server, product and medium based on EL expression
US20110191094A1 (en) System and method to evaluate and size relative system performance
CN118760611B (en) Detection method, system, medium and program product for sensitive information of installation package
JP4928480B2 (en) Job processing system and job management method
CN118779195B (en) A software adaptation evaluation method and device
US9141460B2 (en) Identify failed components during data collection
Li et al. Dynamic gas estimation of loops using machine learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant