CN117632426A - Application software processing method and device, storage medium and electronic equipment - Google Patents

Application software processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117632426A
CN117632426A CN202311632625.5A CN202311632625A CN117632426A CN 117632426 A CN117632426 A CN 117632426A CN 202311632625 A CN202311632625 A CN 202311632625A CN 117632426 A CN117632426 A CN 117632426A
Authority
CN
China
Prior art keywords
performance data
application software
target server
host device
migration
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.)
Pending
Application number
CN202311632625.5A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202311632625.5A priority Critical patent/CN117632426A/en
Publication of CN117632426A publication Critical patent/CN117632426A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a processing method and device of application software, a storage medium and electronic equipment, and relates to the technical field of big data, the field of financial science and technology or other related fields. The method comprises the following steps: determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is to process a plurality of transactions; acquiring a performance data set of the host device and a performance data set of the target server; and determining migration results of the application software according to the performance data set of the host device and the performance data set of the target server, wherein the migration results are used for representing whether migration of the application software from the host device to the target server is successful or not. By the method and the device, the problem that whether migration of the application software from the large host to the platform server is successful or not is difficult to determine after migration of the application software for processing the transaction from the large host to the platform server in the related art is solved.

Description

Application software processing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of big data technology, financial technology, or other related fields, and in particular, to a method and apparatus for processing application software, a storage medium, and an electronic device.
Background
Currently, when architecture adjustments are made in a financial institution, cross-platform migration of applications is typically involved, i.e., application software in the financial institution for processing transactions may be migrated from a mainframe to an open platform. Moreover, after the application function is primarily migrated from the large-scale host to the platform server, whether the migration is successful or not is evaluated from several aspects, and whether the service can be put into use after the migration is also very important. However, the related art focuses on how to implement the cross-platform migration, and does not evaluate the cross-platform migration, so that it is difficult to determine whether migration of the application software from the mainframe to the platform server is successful after the cross-platform migration is performed.
In view of the problem in the related art that after the application software for processing the transaction is migrated from the mainframe to the platform server, it is difficult to determine whether the migration of the application software from the mainframe to the platform server is successful, no effective solution has been proposed at present.
Disclosure of Invention
The main purpose of the present application is to provide a method and apparatus for processing application software, a storage medium, and an electronic device, so as to solve the problem in the related art that after the application software for processing transactions is migrated from a mainframe to a platform server, it is difficult to determine whether the migration of the application software from the mainframe to the platform server is successful.
In order to achieve the above object, according to one aspect of the present application, there is provided a processing method of application software. The method comprises the following steps: determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server; acquiring a performance data set of the host device and a performance data set of the target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data; and determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether migration of the application software from the host equipment to the target server is successful or not.
Further, determining a migration result for the application software according to the performance data set of the host device and the performance data set of the target server includes: determining first performance data and second performance data of the host device according to the performance data set of the host device; determining first performance data and second performance data of the target server according to the performance data set of the target server; acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server.
Further, determining the migration result for the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server, and the second performance data of the target server includes: determining a first value according to the first performance data of the host device and the first performance data of the target server; determining a second value according to the second performance data of the host device and the second performance data of the target server; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
Further, determining the migration result for the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value includes: judging whether the first numerical value is within the first threshold range; if the first numerical value is not in the first threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; if the first value is within the first threshold range, judging whether the second value is within the second threshold range; if the second value is not in the second threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; and if the second value is within the second threshold range, determining that the migration result is that the migration of the application software from the host equipment to the target server is successful.
Further, determining the first value from the first performance data of the host device and the first performance data of the target server includes: calculating a target difference between the first performance data of the target server and the first performance data of the host device; the first value is determined based on the target difference and first performance data of the host device.
Further, obtaining the set of performance data of the host device and the set of performance data of the target server comprises: acquiring a performance table of the host device from the host device, wherein the performance table of the host device is used for storing performance data of the host device; acquiring a performance data set of the host device based on a performance table of the host device; acquiring a performance table of the target server from the target server, wherein the performance table of the target server is used for storing performance data of the target server; and acquiring a performance data set of the target server based on the performance table of the target server.
Further, after determining a migration result to the application software according to the performance data set of the host device and the performance data set of the target server, the method further includes: if the migration result is that migration of the application software from the host equipment to the target server fails, sending reminding information to a target object, wherein the reminding information is used for reminding the target object that migration of the application software from the host equipment to the target server fails; and if the migration result is that the migration of the application software from the host equipment to the target server is successful, processing the transactions through the application software migrated to the target server.
In order to achieve the above object, according to another aspect of the present application, there is provided a processing apparatus for application software. The device comprises: a first determining unit configured to determine, after detecting that an application software is migrated from a host device to a target server, the host device being a host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server being a server to which the application software belongs after migrating the application software from the host device to the target server, the host device being configured to process a plurality of transactions; a first obtaining unit, configured to obtain a performance data set of the host device and a performance data set of the target server, where the performance data set at least includes: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data; and the second determining unit is used for determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether the migration of the application software from the host equipment to the target server is successful or not.
Further, the second determining unit includes: a first determining subunit, configured to determine, according to a set of performance data of the host device, first performance data and second performance data of the host device; a second determining subunit, configured to determine, according to the set of performance data of the target server, first performance data and second performance data of the target server; the first acquisition subunit is used for acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data; and a third determining subunit, configured to determine the migration result for the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server, and the second performance data of the target server.
Further, the third determining subunit includes: a first determining module, configured to determine a first value according to first performance data of the host device and first performance data of the target server; a second determining module, configured to determine a second value according to second performance data of the host device and second performance data of the target server; and the third determining module is used for determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
Further, the third determining module includes: the first judging submodule is used for judging whether the first numerical value is in the first threshold range or not; a first determining submodule, configured to determine, if the first numerical value is not within the first threshold range, that the migration result is that migration of the application software from the host device to the target server fails; a second judging sub-module, configured to judge whether the second value is within the second threshold range if the first value is within the first threshold range; a second determining submodule, configured to determine, if the second numerical value is not within the second threshold range, that the migration result is that migration of the application software from the host device to the target server fails; and the third determining submodule is used for determining that the migration result is that the migration of the application software from the host equipment to the target server is successful if the second numerical value is in the second threshold range.
Further, the first determining module includes: a first calculation sub-module for calculating a target difference between the first performance data of the target server and the first performance data of the host device; a fourth determination submodule is configured to determine the first numerical value based on the target difference value and first performance data of the host device.
Further, the first acquisition unit includes: a second obtaining subunit, configured to obtain a performance table of the host device from the host device, where the performance table of the host device is used to store performance data of the host device; a third obtaining subunit, configured to obtain a performance data set of the host device based on a performance table of the host device; a fourth obtaining subunit, configured to obtain a performance table of the target server from the target server, where the performance table of the target server is used to store performance data of the target server; and a fifth acquisition subunit, configured to acquire a performance data set of the target server based on the performance table of the target server.
Further, the apparatus further comprises: the first sending unit is used for sending reminding information to a target object after determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, if the migration result is that the migration of the application software from the host equipment to the target server fails, wherein the reminding information is used for reminding the target object that the migration of the application software from the host equipment to the target server fails; and the first processing unit is used for processing the transactions through the application software migrated to the target server if the migration result is that the migration of the application software from the host equipment to the target server is successful.
In order to achieve the above object, according to another aspect of the present application, there is provided a computer-readable storage medium storing a program, wherein the program executes the processing method of the application software described in any one of the above.
To achieve the above object, according to another aspect of the present application, there is provided an electronic device including one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for processing application software according to any one of the above.
Through the application, the following steps are adopted: determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server; acquiring a performance data set of a host device and a performance data set of a target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the number of transactions processed by the application software, consumption data of a CPU of the application software and time required for processing the transactions by the application software within a preset time period, wherein the second performance data is at least one of the following: the time of running data in batches by using the application software and the CPU peak value when running data in batches by using the application software; determining migration results of the application software according to the performance data set of the host device and the performance data set of the target server, wherein the migration results are used for representing whether migration of the application software from the host device to the target server is successful or not, and the problem that whether migration of the application software from the large host to the platform server is successful or not is difficult to determine after migration of the application software for processing transactions from the large host to the platform server is difficult to be achieved in the related art is solved. After the migration of the application software for processing a plurality of transactions from the host device to the target server is detected, the host device and the target server are determined, then the performance data set of the host device and the performance data set of the target server are acquired, and whether the migration of the application software from the host device to the target server is successful or not is determined according to the performance data set of the host device and the performance data set of the target server, so that the effect of conveniently determining whether the migration of the application software from the large host to the platform server is successful or not is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a flowchart I of a method for processing application software provided according to an embodiment of the present application;
FIG. 2 is a second flowchart of a method for processing application software according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a processing system for application software provided in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of a processing device for application software provided according to an embodiment of the present application;
fig. 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, related information (including, but not limited to, user equipment information, user personal information, etc.) and data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by a user or sufficiently authorized by each party. For example, an interface is provided between the system and the relevant user or institution, before acquiring the relevant information, the system needs to send an acquisition request to the user or institution through the interface, and acquire the relevant information after receiving the consent information fed back by the user or institution.
For convenience of description, the following will describe some terms or terms related to the embodiments of the present application:
IBM mainframe: a high performance, reliable and secure computer system is suitable for processing large-scale data and complex computing tasks.
MySQL database: a relational database management system.
CPU: is called Central Processing Unit, is a central processor, is an important component of a computer, is also called a processor or a microprocessor, is a computing and control center of the computer, and determines the processing capacity and response speed of the computer.
The present invention will be described with reference to preferred implementation steps, and fig. 1 is a flowchart of a processing method of application software provided according to an embodiment of the present application, as shown in fig. 1, and the method includes the following steps:
in step S101, after detecting that the application software is migrated from the host device to the target server, determining the host device and the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server.
For example, the application software may be application software for processing transactions in a financial institution; the host device may be a mainframe, such as an IBM mainframe, etc., and the application software may be deployed on the mainframe before being migrated; the target server may be a platform server, and the platform server may be a platform server of an open platform, for example, may be a cloud platform, a MySQL database, or the like, and after the application software is migrated, the application software may be deployed on the platform server. In addition, the mainframe and the platform server are two completely different systems, for example, the operating systems of the mainframe and the platform server may be different, and the databases used by the mainframe and the platform server may be different. Moreover, because the structures of the large-scale host and the platform server are different, when the application migration is performed, a piece of software with the same function as the application software on the large-scale host can be developed on the platform server.
Step S102, a performance data set of the host device and a performance data set of the target server are obtained, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the number of transactions processed by the application software, consumption data of a CPU of the application software and time required for processing the transactions by the application software within a preset time period, wherein the second performance data is at least one of the following: the time of running data in batches with application software and the CPU peak value when running data in batches with application software.
For example, the first performance data may be online performance data, such as may include, but not limited to, transaction rate, CPU consumption, transaction response time, etc., and the transaction rate may represent the number of transactions processed per second, and the online performance data may represent data related to real-time transactions (such as transfers and queries, etc.); the second performance data may be batch performance data, such as may include, but not limited to, batch run time, CPU peak during batch run, etc., and the batch performance data may represent data related to non-real time processing, which may be a centralized processing of data for a period of time. The online performance information and the batch performance information of the large-scale host (the host device described above) may then be collected, respectively, and the online performance information and the batch performance information of the platform server (the target server described above).
Step S103, determining migration results of the application software according to the performance data set of the host device and the performance data set of the target server, wherein the migration results are used for representing whether migration of the application software from the host device to the target server is successful or not.
For example, the threshold value set by each online and batch index itself may be compared with the collected online performance information and batch performance information of the mainframe (the mainframe device) and the collected online performance information and batch performance information of the platform server (the target server), and whether all the indexes are in a normal range may be judged, if all the indexes are normal, it indicates that the application (the application software) meets the performance requirement after the cross-platform migration, that is, the application (the application software) is migrated from the mainframe (the mainframe device) to the platform server (the target server) successfully; if all the indexes include indexes which are not in the normal range, the application (the application software) does not meet the performance requirement after the cross-platform migration, namely, the application (the application software) fails to migrate from a large host (the host device) to a platform server (the target server).
It should be noted that the processing method of the application software provided in the embodiment of the present application may be applied to a financial scenario.
Through steps S101 to S103, after detecting that the application software for processing a plurality of transactions migrates from the host device to the target server, determining the host device and the target server, acquiring the performance data set of the host device and the performance data set of the target server, and determining whether migration of the application software from the host device to the target server is successful according to the performance data set of the host device and the performance data set of the target server, thereby achieving the effect of conveniently determining whether migration of the application software from the large host to the platform server is successful.
Optionally, in the processing method of application software provided in the embodiment of the present application, acquiring a performance data set of a host device and a performance data set of a target server includes: acquiring a performance table of the host device from the host device, wherein the performance table of the host device is used for storing performance data of the host device; acquiring a performance data set of the host device based on a performance table of the host device; acquiring a performance table of a target server from the target server, wherein the performance table of the target server is used for storing performance data of the target server; and acquiring a performance data set of the target server based on the performance table of the target server.
For example, the platform performance collection module may collect platform server performance into a platform performance table (the performance table of the target server described above) located on the platform server; the large host performance collection module may collect large host performance into a performance table located on the host (the performance table of the host device described above). The performance information of the platform server (the target server described above) may then be obtained from the platform performance table (the performance table of the target server described above), and the performance information of the large host (the host device described above) may be obtained from the performance table of the host (the performance table of the host device described above).
Through the scheme, the performance information of the large-scale host and the platform server can be quickly and accurately obtained.
Optionally, in the processing method of application software provided in the embodiment of the present application, determining the first value according to the first performance data of the host device and the first performance data of the target server includes: calculating a target difference between the first performance data of the target server and the first performance data of the host device; a first value is determined based on the target difference and first performance data of the host device.
For example, for the same index (e.g., the index of transaction rate), the performance value of the platform server (the target server described above) and the performance value of the large host (the host device described above) may be compared, and a comparison value (the first value described above) may be obtained. And the specific calculation mode of the index contrast value can be as follows: some index contrast value= (the index plateau performance value-the index host performance value)/the index host performance value is 100%.
Through the scheme, the performance data of the large host and the performance data of the platform server can be conveniently compared.
Fig. 2 is a flowchart second of a processing method of application software according to an embodiment of the present application, as shown in fig. 2, in the processing method of application software according to an embodiment of the present application, determining a migration result of application software according to a performance data set of a host device and a performance data set of a target server includes:
step S201, determining first performance data and second performance data of the host device according to the performance data set of the host device;
step S202, determining first performance data and second performance data of a target server according to a performance data set of the target server;
step S203, a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data are obtained;
in step S204, a migration result for the application software is determined according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server, and the second performance data of the target server.
For example, after collecting performance information of a large host (host device described above) and performance information of a platform server (target server described above), the collected performance information may be further divided into online performance information (transaction rate, CPU consumption, transaction response time) and batch performance information (batch run time, CPU peak during batch run). That is, the collected performance information of the large-sized host (the host device described above) can be divided into online performance information (transaction rate, CPU consumption, transaction response time) and batch performance information (batch run time, CPU peak during batch run); and divides the collected performance information of the platform server (the target server described above) into online performance information (transaction rate, CPU consumption, transaction response time) and batch performance information (batch run time, CPU peak during batch run). Then, different preset threshold ranges of each online index and each batch index can be obtained, for example, the threshold range of the transaction rate in the online index can be 90% -100%, for example, the threshold range of the transaction response time in the online index can be 95% -100%, for example, the threshold range of the batch running time in the batch index can be 88% -100%. Then, whether the migration is successful or not can be determined according to the obtained different threshold ranges of each online and batch index, the online performance information and batch performance information of the large-scale host (the host device) and the online performance information and batch performance information of the platform server (the target server).
In summary, according to the threshold information of each index and the obtained performance information of the large host and the platform server, whether migration is successful or not can be rapidly and accurately determined.
Optionally, in the processing method of application software provided in the embodiment of the present application, determining the migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server, and the second performance data of the target server includes: determining a first value according to the first performance data of the host device and the first performance data of the target server; determining a second value according to the second performance data of the host device and the second performance data of the target server; and determining a migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
For example, for the same index (e.g., the index of the transaction rate in the online index), the performance value of the platform server (the target server) and the performance value of the large host (the host device) may be compared, and a comparison value (the first value) may be obtained. And the specific calculation mode of the index contrast value can be as follows: some index contrast value= (the index plateau performance value-the index host performance value)/the index host performance value is 100%.
Similarly, for the same index (e.g., the index of the batch run time in the batch index), the performance value of the platform server (the target server) and the performance value of the large host (the host device) may be compared, and a comparison value (the second value) may be obtained. And the specific calculation mode of the index contrast value can be as follows: some index contrast value= (the index plateau performance value-the index host performance value)/the index host performance value is 100%.
And then determining whether the migration is successful according to the calculated contrast value corresponding to each online index, the contrast value corresponding to each batch index, the obtained different threshold ranges of each preset online index and the obtained different threshold ranges of each preset batch index.
By the scheme, the comparison value corresponding to the online index and the batch index can be rapidly and accurately calculated, and whether migration is successful or not can be determined according to the calculated comparison value and the threshold range.
Optionally, in the processing method of application software provided in the embodiment of the present application, determining, according to the first threshold range, the second threshold range, the first value, and the second value, a migration result of the application software includes: judging whether the first numerical value is in a first threshold range or not; if the first numerical value is not in the first threshold range, determining that the migration result is that migration failure of the application software from the host equipment to the target server occurs; if the first value is within the first threshold range, judging whether the second value is within the second threshold range; if the second numerical value is not in the second threshold range, determining that the migration result is that migration failure of the application software from the host equipment to the target server occurs; and if the second numerical value is within the second threshold range, determining that the migration result is that the migration of the application software from the host equipment to the target server is successful.
For example, the final judgment and evaluation module may include threshold information of all online and batch index contrast values, and each index may be provided with different thresholds according to its own characteristics. In addition, in the module, by comparing the calculated index comparison value with the threshold value in the final judgment and evaluation module, whether a certain index is in a normal range can be judged. And further judging whether all indexes are in a normal range after the cross-platform migration of some application, and if all indexes are normal, outputting a result: the application meets the performance requirement after cross-platform migration, namely the migration is successful; if all indexes are not in the normal range, outputting a result: the application does not meet the performance requirement after cross-platform migration, namely migration failure.
In summary, whether migration is successful can be conveniently determined by determining whether the calculated comparison value is within the set normal range.
Optionally, in the processing method of application software provided in the embodiment of the present application, after determining a migration result for the application software according to the performance data set of the host device and the performance data set of the target server, the method further includes: if the migration result is that the migration of the application software from the host equipment to the target server fails, sending reminding information to the target object, wherein the reminding information is used for reminding the target object that the migration of the application software from the host equipment to the target server fails; and if the migration result is that the migration of the application software from the host device to the target server is successful, processing a plurality of transactions through the application software migrated to the target server.
For example, after an application (the application software) is migrated from a large host (the host device) to a platform server (the target server), if it is determined that the migration fails, an alarm prompt message (the reminding message) may be sent to a maintainer (the target object) responsible for cross-platform migration, and the maintainer (the target object) may be reminded of the cross-platform migration failure, so that the cause of the migration failure may be searched; if it is determined that the migration is successful, the application (the application software) migrated to the platform server (the target server) may be used directly to process some of the unprocessed transactions (the transactions).
By the scheme, the application software after migration can be ensured to be normally used, and the risk condition is avoided when the transaction is processed by utilizing the application after migration.
For example, the method provided by the embodiment of the application makes up for the blank of the evaluation method after the large-scale host computer is subjected to cross-platform migration, and provides the cross-platform migration evaluation method with strong practicability and strong operability.
In addition, in the embodiment, the migration evaluation method of the large-scale host and the open platform cross-platform application compares the online performance and the batch performance of the original host before and after the cross-platform and the existing platform server, gives out final judgment through the judgment evaluation module, judges whether the migration is successful or not after the cross-platform migration, and has the independent operation capability of the platform side or not.
For example, fig. 3 is a schematic diagram of a processing system of application software provided according to an embodiment of the present application, and as shown in fig. 3, the system includes: the system comprises a platform performance collection module, a large-scale host performance collection module, a performance summarizing and comparing module (comprising an online performance summarizing and comparing module and a batch performance summarizing and comparing module) and a final judging and evaluating module, wherein the specific description of the modules is as follows:
(1) Platform/mainframe performance collection module. The platform performance collection module is used for collecting the performance of the platform server into a platform performance table; and the large host performance collection module is used for collecting the large host performance into a performance table of the host. For collected performance information, it can be further classified into on-line performance information (transaction rate, CPU consumption, transaction response time), batch performance information (batch run time, CPU peak during batch run).
(2) And the performance summarizing and comparing module. The performance summarizing and comparing module can comprise an online performance summarizing and comparing module and a batch performance summarizing and comparing module. Moreover, as the related performance information in the platform performance table and the host performance table are respectively on different platforms, the module can realize the following two functions:
Function 1: platform performance data and host performance data can be unified and imported into the table of the performance comparison module through different interfaces. And the online performance comparison module and the batch performance comparison module can be respectively corresponding to the online performance information and the batch performance information.
Function 2: for the same index, comparing the platform performance with the host performance, specifically: some index contrast value= (the index plateau performance value-the index host performance value)/the index host performance value is 100%.
(3) And finally judging and evaluating the module. And finally, judging threshold information of all online and batch index comparison values in the evaluation module, wherein each index is provided with different thresholds according to the characteristics of the index. In the module, whether a certain index is in a normal range can be judged by comparing the index comparison value generated in the performance summarizing and comparing module and the threshold value in the final judging and evaluating module. Further judging whether all indexes are in a normal range after the cross-platform migration of some application, and if all indexes are normal, outputting a result: the application meets the performance requirement after cross-platform migration.
In addition, the embodiment makes up for the blank of the migration evaluation method after the large-scale host computer is migrated in a cross-platform mode, and provides the migration evaluation method with strong practicability. Moreover, the migration evaluation method is very important, and is used for evaluating whether an application has the capability of being put into service after being migrated from a large host in a cross-platform manner, and is used for pre-judging the capability and risk before the service is used.
In summary, according to the processing method of the application software provided by the embodiment of the application software, after the migration of the application software from the host device to the target server is detected, the host device and the target server are determined, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before the application software is migrated from the host device to the target server, and the target server is the server to which the application software belongs after the application software is migrated from the host device to the target server; acquiring a performance data set of a host device and a performance data set of a target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the number of transactions processed by the application software, consumption data of a CPU of the application software and time required for processing the transactions by the application software within a preset time period, wherein the second performance data is at least one of the following: the time of running data in batches by using the application software and the CPU peak value when running data in batches by using the application software; determining migration results of the application software according to the performance data set of the host device and the performance data set of the target server, wherein the migration results are used for representing whether migration of the application software from the host device to the target server is successful or not, and the problem that whether migration of the application software from the large host to the platform server is successful or not is difficult to determine after migration of the application software for processing transactions from the large host to the platform server is difficult to be achieved in the related art is solved. After the migration of the application software for processing a plurality of transactions from the host device to the target server is detected, the host device and the target server are determined, then the performance data set of the host device and the performance data set of the target server are acquired, and whether the migration of the application software from the host device to the target server is successful or not is determined according to the performance data set of the host device and the performance data set of the target server, so that the effect of conveniently determining whether the migration of the application software from the large host to the platform server is successful or not is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides a processing device of the application software, and the processing device of the application software of the embodiment of the application can be used for executing the processing method for the application software. The following describes a processing device for application software provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of a processing device of application software according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: a first determination unit 401, a first acquisition unit 402, and a second determination unit 403.
Specifically, the first determining unit 401 is configured to determine, after detecting that the application software is migrated from the host device to the target server, the host device and the target server, where the application software is used to process a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server;
A first obtaining unit 402, configured to obtain a performance data set of the host device and a performance data set of the target server, where the performance data set at least includes: first performance data and second performance data, the first performance data being at least one of: the number of transactions processed by the application software, consumption data of a CPU of the application software and time required for processing the transactions by the application software within a preset time period, wherein the second performance data is at least one of the following: the time of running data in batches by using the application software and the CPU peak value when running data in batches by using the application software;
a second determining unit 403, configured to determine a migration result for the application software according to the performance data set of the host device and the performance data set of the target server, where the migration result is used to characterize whether migration of the application software from the host device to the target server is successful.
In summary, in the processing apparatus for application software provided in the embodiments of the present application, after detecting that application software is migrated from a host device to a target server, the first determining unit 401 determines the host device and the target server, where the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before the application software is migrated from the host device to the target server, and the target server is the server to which the application software belongs after the application software is migrated from the host device to the target server; the first obtaining unit 402 obtains a performance data set of the host device and a performance data set of the target server, where the performance data set includes at least: first performance data and second performance data, the first performance data being at least one of: the number of transactions processed by the application software, consumption data of a CPU of the application software and time required for processing the transactions by the application software within a preset time period, wherein the second performance data is at least one of the following: the time of running data in batches by using the application software and the CPU peak value when running data in batches by using the application software; the second determining unit 403 determines a migration result of the application software according to the performance data set of the host device and the performance data set of the target server, where the migration result is used to characterize whether migration of the application software from the host device to the target server is successful, which solves the problem in the related art that it is difficult to determine whether migration of the application software from the host device to the platform server is successful after migration of the application software for processing the transaction from the host device to the platform server. After the migration of the application software for processing a plurality of transactions from the host device to the target server is detected, the host device and the target server are determined, then the performance data set of the host device and the performance data set of the target server are acquired, and whether the migration of the application software from the host device to the target server is successful or not is determined according to the performance data set of the host device and the performance data set of the target server, so that the effect of conveniently determining whether the migration of the application software from the large host to the platform server is successful or not is achieved.
Optionally, in the processing apparatus for application software provided in the embodiment of the present application, the second determining unit 403 includes: a first determining subunit, configured to determine, according to the set of performance data of the host device, first performance data and second performance data of the host device; a second determining subunit, configured to determine, according to the performance data set of the target server, first performance data and second performance data of the target server; the first acquisition subunit is used for acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data; and the third determining subunit is used for determining a migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server.
Optionally, in the processing device for application software provided in the embodiment of the present application, the third determining subunit includes: a first determining module, configured to determine a first numerical value according to first performance data of the host device and first performance data of the target server; a second determining module, configured to determine a second value according to second performance data of the host device and second performance data of the target server; and the third determining module is used for determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
Optionally, in the processing device for application software provided in the embodiment of the present application, the third determining module includes: the first judging submodule is used for judging whether the first numerical value is in a first threshold range or not; the first determining submodule is used for determining that the migration result is that migration of the application software from the host equipment to the target server fails if the first numerical value is not in the first threshold range; the second judging submodule is used for judging whether the second numerical value is in a second threshold range or not if the first numerical value is in the first threshold range; the second determining submodule is used for determining that the migration result is that the migration of the application software from the host equipment to the target server fails if the second numerical value is not in the second threshold range; and the third determining submodule is used for determining that the migration result is that the migration of the application software from the host equipment to the target server is successful if the second value is in the second threshold range.
Optionally, in the processing device for application software provided in the embodiment of the present application, the first determining module includes: a first calculation sub-module for calculating a target difference between the first performance data of the target server and the first performance data of the host device; a fourth determination submodule determines a first numerical value based on the target difference and the first performance data of the host device.
Optionally, in the processing device for application software provided in the embodiment of the present application, the first obtaining unit 402 includes: a second obtaining subunit, configured to obtain a performance table of the host device from the host device, where the performance table of the host device is used to store performance data of the host device; a third acquisition subunit configured to acquire a performance data set of the host device based on a performance table of the host device; a fourth obtaining subunit, configured to obtain a performance table of the target server from the target server, where the performance table of the target server is used to store performance data of the target server; and a fifth acquisition subunit, configured to acquire the performance data set of the target server based on the performance table of the target server.
Optionally, in the processing device for application software provided in the embodiment of the present application, the device further includes: the first sending unit is used for sending reminding information to the target object after determining migration results of the application software according to the performance data set of the host equipment and the performance data set of the target server, if the migration results are migration failure of the application software from the host equipment to the target server, wherein the reminding information is used for reminding the target object that migration failure occurs when the application software is migrated from the host equipment to the target server; and the first processing unit is used for processing a plurality of transactions through the application software transferred to the target server if the transfer result is that the application software is transferred from the host device to the target server successfully.
The processing device of the application software includes a processor and a memory, where the first determining unit 401, the first acquiring unit 402, the second determining unit 403, and the like are stored as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel may set one or more kernel parameters to determine whether migration of application software from the mainframe to the platform server was successful by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, on which a program is stored, which when executed by a processor, implements a processing method of the application software.
The embodiment of the invention provides a processor which is used for running a program, wherein the processing method of application software is executed when the program runs.
As shown in fig. 5, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, the following steps are implemented: determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server; acquiring a performance data set of the host device and a performance data set of the target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data; and determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether migration of the application software from the host equipment to the target server is successful or not.
The processor also realizes the following steps when executing the program: determining a migration result for the application software according to the performance data set of the host device and the performance data set of the target server comprises: determining first performance data and second performance data of the host device according to the performance data set of the host device; determining first performance data and second performance data of the target server according to the performance data set of the target server; acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server.
The processor also realizes the following steps when executing the program: determining the migration result for the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server includes: determining a first value according to the first performance data of the host device and the first performance data of the target server; determining a second value according to the second performance data of the host device and the second performance data of the target server; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
The processor also realizes the following steps when executing the program: determining the migration result for the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value comprises: judging whether the first numerical value is within the first threshold range; if the first numerical value is not in the first threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; if the first value is within the first threshold range, judging whether the second value is within the second threshold range; if the second value is not in the second threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; and if the second value is within the second threshold range, determining that the migration result is that the migration of the application software from the host equipment to the target server is successful.
The processor also realizes the following steps when executing the program: determining a first value from the first performance data of the host device and the first performance data of the target server includes: calculating a target difference between the first performance data of the target server and the first performance data of the host device; the first value is determined based on the target difference and first performance data of the host device.
The processor also realizes the following steps when executing the program: the obtaining the performance data set of the host device and the performance data set of the target server includes: acquiring a performance table of the host device from the host device, wherein the performance table of the host device is used for storing performance data of the host device; acquiring a performance data set of the host device based on a performance table of the host device; acquiring a performance table of the target server from the target server, wherein the performance table of the target server is used for storing performance data of the target server; and acquiring a performance data set of the target server based on the performance table of the target server.
The processor also realizes the following steps when executing the program: after determining a migration result for the application software from the set of performance data of the host device and the set of performance data of the target server, the method further comprises: if the migration result is that migration of the application software from the host equipment to the target server fails, sending reminding information to a target object, wherein the reminding information is used for reminding the target object that migration of the application software from the host equipment to the target server fails; and if the migration result is that the migration of the application software from the host equipment to the target server is successful, processing the transactions through the application software migrated to the target server.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server; acquiring a performance data set of the host device and a performance data set of the target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data; and determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether migration of the application software from the host equipment to the target server is successful or not.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: determining a migration result for the application software according to the performance data set of the host device and the performance data set of the target server comprises: determining first performance data and second performance data of the host device according to the performance data set of the host device; determining first performance data and second performance data of the target server according to the performance data set of the target server; acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: determining the migration result for the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server includes: determining a first value according to the first performance data of the host device and the first performance data of the target server; determining a second value according to the second performance data of the host device and the second performance data of the target server; and determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: determining the migration result for the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value comprises: judging whether the first numerical value is within the first threshold range; if the first numerical value is not in the first threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; if the first value is within the first threshold range, judging whether the second value is within the second threshold range; if the second value is not in the second threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails; and if the second value is within the second threshold range, determining that the migration result is that the migration of the application software from the host equipment to the target server is successful.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: determining a first value from the first performance data of the host device and the first performance data of the target server includes: calculating a target difference between the first performance data of the target server and the first performance data of the host device; the first value is determined based on the target difference and first performance data of the host device.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: the obtaining the performance data set of the host device and the performance data set of the target server includes: acquiring a performance table of the host device from the host device, wherein the performance table of the host device is used for storing performance data of the host device; acquiring a performance data set of the host device based on a performance table of the host device; acquiring a performance table of the target server from the target server, wherein the performance table of the target server is used for storing performance data of the target server; and acquiring a performance data set of the target server based on the performance table of the target server.
When executed on a data processing device, is further adapted to carry out a program initialized with the method steps of: after determining a migration result for the application software from the set of performance data of the host device and the set of performance data of the target server, the method further comprises: if the migration result is that migration of the application software from the host equipment to the target server fails, sending reminding information to a target object, wherein the reminding information is used for reminding the target object that migration of the application software from the host equipment to the target server fails; and if the migration result is that the migration of the application software from the host equipment to the target server is successful, processing the transactions through the application software migrated to the target server.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method for processing application software, comprising:
determining a host device and a target server after detecting migration of application software from the host device to the target server, wherein the application software is used for processing a plurality of transactions, the host device is the host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server is the server to which the application software belongs after migrating the application software from the host device to the target server;
Acquiring a performance data set of the host device and a performance data set of the target server, wherein the performance data set at least comprises: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data;
and determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether migration of the application software from the host equipment to the target server is successful or not.
2. The method of claim 1, wherein determining a migration result for the application software from the set of performance data of the host device and the set of performance data of the target server comprises:
Determining first performance data and second performance data of the host device according to the performance data set of the host device;
determining first performance data and second performance data of the target server according to the performance data set of the target server;
acquiring a first threshold range corresponding to the first performance data and a second threshold range corresponding to the second performance data;
and determining the migration result of the application software according to the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server and the second performance data of the target server.
3. The method of claim 2, wherein determining the migration result for the application software based on the first threshold range, the second threshold range, the first performance data of the host device, the second performance data of the host device, the first performance data of the target server, and the second performance data of the target server comprises:
determining a first value according to the first performance data of the host device and the first performance data of the target server;
Determining a second value according to the second performance data of the host device and the second performance data of the target server;
and determining the migration result of the application software according to the first threshold range, the second threshold range, the first numerical value and the second numerical value.
4. A method according to claim 3, wherein determining the migration result for the application software in dependence on the first threshold range, the second threshold range, the first value and the second value comprises:
judging whether the first numerical value is within the first threshold range;
if the first numerical value is not in the first threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails;
if the first value is within the first threshold range, judging whether the second value is within the second threshold range;
if the second value is not in the second threshold value range, determining that the migration result is that migration of the application software from the host equipment to the target server fails;
and if the second value is within the second threshold range, determining that the migration result is that the migration of the application software from the host equipment to the target server is successful.
5. The method of claim 3, wherein determining a first value based on the first performance data of the host device and the first performance data of the target server comprises:
calculating a target difference between the first performance data of the target server and the first performance data of the host device;
the first value is determined based on the target difference and first performance data of the host device.
6. The method of claim 1, wherein obtaining the set of performance data for the host device and the set of performance data for the target server comprises:
acquiring a performance table of the host device from the host device, wherein the performance table of the host device is used for storing performance data of the host device;
acquiring a performance data set of the host device based on a performance table of the host device;
acquiring a performance table of the target server from the target server, wherein the performance table of the target server is used for storing performance data of the target server;
and acquiring a performance data set of the target server based on the performance table of the target server.
7. The method of claim 1, wherein after determining a migration result to the application software from the set of performance data of the host device and the set of performance data of the target server, the method further comprises:
if the migration result is that migration of the application software from the host equipment to the target server fails, sending reminding information to a target object, wherein the reminding information is used for reminding the target object that migration of the application software from the host equipment to the target server fails;
and if the migration result is that the migration of the application software from the host equipment to the target server is successful, processing the transactions through the application software migrated to the target server.
8. A processing apparatus for application software, comprising:
a first determining unit configured to determine, after detecting that an application software is migrated from a host device to a target server, the host device being a host device to which the application software belongs before migrating the application software from the host device to the target server, and the target server being a server to which the application software belongs after migrating the application software from the host device to the target server, the host device being configured to process a plurality of transactions;
A first obtaining unit, configured to obtain a performance data set of the host device and a performance data set of the target server, where the performance data set at least includes: first performance data and second performance data, the first performance data being at least one of: the method comprises the steps of processing the number of transactions by using the application software, consumption data of a CPU of the application software and time required for processing the transactions by using the application software in a preset time period, wherein the second performance data is at least one of the following: the time of utilizing the application software batch running data and the CPU peak value when utilizing the application software batch running data;
and the second determining unit is used for determining a migration result of the application software according to the performance data set of the host equipment and the performance data set of the target server, wherein the migration result is used for representing whether the migration of the application software from the host equipment to the target server is successful or not.
9. A computer-readable storage medium storing a program, wherein the program executes the processing method of the application software according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of processing application software of any of claims 1-7.
CN202311632625.5A 2023-11-30 2023-11-30 Application software processing method and device, storage medium and electronic equipment Pending CN117632426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311632625.5A CN117632426A (en) 2023-11-30 2023-11-30 Application software processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311632625.5A CN117632426A (en) 2023-11-30 2023-11-30 Application software processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117632426A true CN117632426A (en) 2024-03-01

Family

ID=90028340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311632625.5A Pending CN117632426A (en) 2023-11-30 2023-11-30 Application software processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117632426A (en)

Similar Documents

Publication Publication Date Title
US10986191B2 (en) Method and device for scheduling resources
CN110399268B (en) Abnormal data detection method, device and equipment
CN110134738B (en) Distributed storage system resource estimation method and device
CN113641526B (en) Alarm root cause positioning method and device, electronic equipment and computer storage medium
CN110377519B (en) Performance capacity test method, device and equipment of big data system and storage medium
CN110737717A (en) database migration method and device
CN114978877A (en) Exception handling method and device, electronic equipment and computer readable medium
CN114511235A (en) Process evaluation method and system
CN110928941B (en) Data fragment extraction method and device
CN117632426A (en) Application software processing method and device, storage medium and electronic equipment
CN113468384B (en) Processing method, device, storage medium and processor for network information source information
CN114077532A (en) SQL statement execution efficiency detection method and device
CN115080827A (en) Sensitive data processing method and device
EP3556084B1 (en) Application-sensitive strategy for server decommissioning
CN111427871A (en) Data processing method, device and equipment
CN116069595B (en) Operation and maintenance monitoring method based on log
CN113676377B (en) Online user number evaluation method, device, equipment and medium based on big data
CN108255892B (en) Cookie life cycle calculation method and device
CN108196949B (en) Wind measurement data processing method and related equipment
CN114020571A (en) Monitoring method and monitoring equipment for index server
CN116468529A (en) Financial business processing method and device, processor and electronic equipment
CN117370814A (en) Knowledge conflict detection method and device, storage medium and electronic equipment
CN116739420A (en) Data quality checking method based on transaction, storage medium and related equipment
CN113742664A (en) Monitoring and auditing method, device and system
CN112966938A (en) Method and device for evaluating edge computing capability

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