A method and system for optimizing computing power of online services based on cloud computing

Through the hierarchical design of the banking business system and the division of virtualized resource pools, and resource scheduling based on security levels and business priorities, the problems of virtual machine resource allocation and security detection are solved, and the efficient and safe operation of the banking business system is achieved.

CN118484267BActive Publication Date: 2024-10-29CHENGDU RURAL COMML BANK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410775448.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-29
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

While ensuring high security and real-time requirements, the banking business system can dynamically allocate limited virtual machine resources to avoid performance degradation caused by resource constraints, and how to design efficient and reliable memory security during the virtual machine migration process. The detection mechanism has become a technical difficulty.

Method used

Through hierarchical design of the banking business system, high-performance and high-throughput computing nodes are divided, virtualized resource pools and resource scheduling priority mechanisms are established, resource allocation is performed based on business division and security levels, and analytic hierarchy process and anomaly detection algorithms are used. Prioritization and dynamic scheduling, and implementing memory symmetry detection during virtual machine migration.

Benefits of technology

It achieves reasonable allocation and management of resources, reduces security risks, improves system stability and performance, and ensures the operating efficiency and security of high-security services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484267B_ABST
    Figure CN118484267B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of information technology, and in particular to a method and system for optimizing computing power of online services based on cloud computing, the method comprising: setting a regression model for the core business according to resource usage and KPI, predicting the expected processing time of the core business under different resource allocation schemes according to the regression model; allocating virtual machine resources in combination with business division and security level, prohibiting resource migration for virtual machines corresponding to businesses with high security levels, obtaining the resource migration risk between each virtual machine, and determining whether the current virtual machine is allowed to migrate resources to a target host; real-time monitoring of computing power resource usage of the banking business system, and when the high-security core business cannot meet the timeliness requirements, determining whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration according to the expected processing time and the resource migration risk. The present invention realizes the reasonable allocation and management of resources of the banking business system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a method and system for optimizing computing power of online services based on cloud computing. Background Art

[0002] In the banking business system, the separation of front-end services and back-end processing, as well as the design of layered business systems, have brought challenges in resource allocation and security assurance while improving system performance and maintainability. How to dynamically allocate limited virtual machine resources in response to the real-time requirements and security levels of different businesses, and maximize the operating efficiency of the entire system while ensuring the security of core businesses, has become a technical problem that needs to be solved urgently. In actual banking business scenarios, high-security-level businesses usually have higher requirements for real-time and data consistency. Therefore, it is necessary to minimize the migration of virtual machines where these businesses are located to reduce potential security risks. However, when the system faces a situation of tight computing resources, excessive restrictions on virtual machine migration may lead to a decline in overall performance. How to find a balance between security and efficiency and dynamically adjust the virtual machine migration strategy has become a technical difficulty. In addition, how to use memory symmetry for security detection during virtual machine migration is also an issue worthy of in-depth discussion. Due to the complex and changeable memory state during the migration process, traditional security detection methods may be difficult to apply. How to design an efficient and reliable memory security detection mechanism to achieve real-time monitoring of the migration process and abnormal behavior detection is crucial to ensuring the security of the core banking business. Summary of the invention

[0003] The purpose of the present invention is to provide a method and system for optimizing computing power of online services based on cloud computing, which realizes reasonable allocation and management of resources by means of layered design of banking business systems, reasonable division of virtualized resource pools, establishment of resource scheduling priority mechanism, etc., so as to solve at least one of the above-mentioned prior art problems.

[0004] In a first aspect, the present invention provides a method for optimizing computing power of online services based on cloud computing, the method comprising:

[0005] The front-end service layer and the back-end processing layer of the banking business system are respectively deployed on a first computing node and a second computing node, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node;

[0006] Dividing the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services, and the second virtualized resource pool is used to store common services;

[0007] Determine the security level of each business and set up a security management mechanism for the virtual machine based on the security level of each business;

[0008] Based on the hierarchical analysis method, the priorities of various services are sorted for the first virtualized resource pool and the second virtualized resource pool respectively to form a service priority list, and resource allocation for each service is implemented according to the service priority list;

[0009] Acquire the performance data of the virtual machine in real time, analyze the resource usage of the virtual machine through the performance data according to an anomaly detection algorithm, and perform dynamic resource scheduling when an abnormality occurs in the virtual machine;

[0010] Setting a regression model for the core business according to resource usage and KPI, and predicting the expected processing time of the core business under different resource allocation schemes according to the regression model;

[0011] Combine business division and security level to allocate virtual machine resources, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain the resource migration risk between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host;

[0012] Monitor the computing resource usage of the banking business system in real time. When the high-security core business cannot meet the timeliness requirements, determine whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration based on the expected processing time and the resource migration risk.

[0013] In a second aspect, the present invention provides a computing power optimization system for online services based on cloud computing, the system comprising:

[0014] A first optimization module, used to deploy the front-end service layer and the back-end processing layer of the banking business system on a first computing node and a second computing node respectively, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node;

[0015] A second optimization module, configured to divide the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services, and the second virtualized resource pool is used to store common services;

[0016] The third optimization module is used to determine the security level of each service and set the security management mechanism of the virtual machine according to the security level of each service;

[0017] a fourth optimization module, configured to sort the priorities of the services for the first virtualized resource pool and the second virtualized resource pool based on a hierarchical analysis method, form a service priority list, and implement resource allocation for each service according to the service priority list;

[0018] a fifth optimization module, configured to obtain performance data of the virtual machine in real time, analyze resource usage of the virtual machine through the performance data according to an anomaly detection algorithm, and perform dynamic resource scheduling when an abnormality occurs to the virtual machine;

[0019] A sixth optimization module, configured to set a regression model for the core business according to resource usage and KPI, and predict the expected processing time of the core business under different resource allocation schemes according to the regression model;

[0020] The seventh optimization module is used to allocate virtual machine resources in combination with business division and security level, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain resource migration risks between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host;

[0021] The eighth optimization module is used to monitor the computing resource usage of the banking business system in real time. When the high-security core business cannot meet the timeliness requirements, it determines whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration based on the expected processing time and the resource migration risk.

[0022] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor and a computer program stored in the memory. When the computer program is executed on the processor, it implements a method for optimizing computing power of online services based on cloud computing as described in any one of the above methods.

[0023] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for optimizing computing power of online services based on cloud computing as described in any one of the above methods is implemented.

[0024] The present invention discloses a method and system for optimizing computing power of online services based on cloud computing. The method mainly solves the core problems of low efficiency and high security risk in banking business systems. The reasonable allocation and management of resources are achieved by means of layered design of banking business systems, reasonable division of virtualized resource pools, establishment of resource scheduling priority mechanism, etc. In particular, in terms of key business processing and high-security business protection, by combining business division, security level assessment and real-time monitoring technology, security risks such as data leakage and network attacks are effectively reduced, and the stability and security of the system are improved. At the same time, by optimizing resource utilization and processing efficiency, the processing capacity and performance of the system are enhanced, so that banking business can run more efficiently and safely. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0026] Figure 1 It is a flow chart of a method for optimizing computing power of online services based on cloud computing provided by an embodiment of the present invention;

[0027] Figure 2 It is a structural diagram of a computing power optimization system based on cloud computing online services provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0029] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0030] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0032] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0033] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0034] Reference Figure 1 An embodiment of the present invention provides a method for optimizing computing power of online services based on cloud computing, the method comprising:

[0035] S101, deploy the front-end service layer and the back-end processing layer of the banking business system on a first computing node and a second computing node respectively, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node.

[0036] In this embodiment, the banking business system is designed in layers to separate front-end services and back-end processing. The front-end services are deployed on high-performance computing nodes, and the back-end processing is deployed on high-throughput computing nodes to improve the efficiency of batch processing and achieve reasonable allocation of resources through layered scheduling.

[0037] According to the functions and characteristics of the banking business system, the system is divided into a front-end service layer and a back-end processing layer using the layered design principle. By planning the deployment of the front-end service layer and selecting high-performance computing nodes as deployment targets, a front-end service operating environment that meets user interaction needs is obtained. High-throughput computing nodes are used as deployment targets for the back-end processing layer, and batch processing tasks are optimized to obtain an efficient back-end processing operating environment. If the front-end service has a high demand for computing resources, it is deployed on high-performance computing nodes first to ensure user interaction experience. If the data throughput of the back-end processing task is large, it is deployed on high-throughput computing nodes first to improve batch processing efficiency. According to the real-time requirements of the business system, a reasonable layered scheduling strategy is designed to dynamically adjust the resource allocation of front-end services and back-end processing to determine the optimal resource usage plan.

[0038] For example, a banking system needs to process 100,000 transaction requests during the daily peak period, and also needs to complete batch processing of the day's transactions at night. Batch processing involves the settlement of 5 million transaction records. To this end, the system is divided into a front-end service layer and a back-end processing layer. In the deployment planning of the front-end service layer, considering that more than 300 transaction requests may need to be processed per second, a computing node configured with a 32-core CPU and 64GB memory is selected as the deployment target to ensure a quick response to user interaction needs. Such a configuration allows the front-end service to maintain the ability to process at least 400 transactions per second during peak periods, exceeding the average demand level and leaving room for dealing with burst traffic. For the back-end processing layer, since a large number of data read and write operations are involved, computing nodes equipped with high-speed SSD storage and high-bandwidth network interfaces are selected as deployment targets. For example, a node configured with a 16-core CPU, 128GB memory, 10Gbps network bandwidth, and 2TBSSD is selected to ensure high data throughput during batch processing. Such a configuration allows the system to process more than 1 million transactions per hour during nighttime processing, and complete all batch settlement tasks within 5 hours. When faced with limited computing resources, such as only 5 high-performance computing nodes and 5 high-throughput computing nodes are available, a dynamic adjustment strategy will be formulated based on the actual needs of front-end services and back-end processing. If the number of active users of the front-end service increases to 150,000 at a certain point in time, resulting in an increase in computing demand, a high-performance computing node may be temporarily deployed from the back-end processing layer to support the front-end service to ensure that the user experience is not affected. Accordingly, the resources of the back-end processing layer will be supplemented during off-peak hours to keep the progress of batch processing tasks.

[0039] S102: Divide the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services, and the second virtualized resource pool is used to store common services.

[0040] In this embodiment, the virtualized resource pool is divided according to the characteristics and needs of banking business, and the resources are divided into a critical business resource pool and a non-critical business resource pool. The critical business resource pool is mainly used for the core business of overseas rapid settlement, and the non-critical business resource pool is mainly used for the non-real-time requirements of ordinary overseas and domestic transfers. At the same time, the security level of the business is evaluated.

[0041] By analyzing the characteristics and needs of banking business, the division principle of virtualized resource pool is determined, and the division scheme of key business resource pool and non-key business resource pool is obtained. The security level assessment method is used to conduct risk assessment on banking business, and the security level of different businesses is obtained as a reference for resource division. According to the real-time requirements of core businesses such as overseas fast settlement for resources, they are divided into key business resource pools to ensure high priority and low latency for core businesses. If the business belongs to non-real-time requirements such as overseas and domestic ordinary transfers, it is divided into non-key business resource pools to reduce the priority and response speed requirements for resources. By optimizing the resources of the key business resource pool, such as increasing bandwidth, improving CPU and memory performance, etc., a high-performance resource environment that meets the needs of core businesses is obtained. The non-key business resource pool is elastically designed to dynamically adjust resource allocation according to changes in business volume, determine whether it needs to be expanded or reduced, and maximize resource utilization. The virtualization management platform is used to uniformly manage and monitor the resource pool. By real-time monitoring of resource usage and business operation status, the resource allocation strategy is dynamically optimized to ensure the stable operation of key and non-key businesses.

[0042] Specifically, when analyzing banking services, indicators such as business flow, number of concurrent users, and transaction amount can be used to evaluate the resource requirements of different services. For example, for overseas fast settlement services, it needs to process 100 transactions per second, with an average transaction amount of 100,000 yuan per transaction. Then, the formula "number of transactions per second × average transaction amount" can be used to estimate that the amount of funds that the service needs to process per second is 10 million yuan. Based on this data, it can be determined that overseas fast settlement services are key services and need to be classified into the key service resource pool. When evaluating the security level, the risk matrix method can be used to classify the business into three levels: high, medium, and low according to the possibility and impact of security risks. For example, for the risk of leakage of customer sensitive information, the possibility of occurrence can be judged to be medium and the impact is high based on the number of leakage incidents in the past year and the importance of the leaked data. Then the security level of the risk is high. The formula "security level = possibility × impact" can be used to quantify the security level of different services, where the possibility and impact are 1-3 and 1-5 respectively, and the value range of the security level is 1-15. The higher the security level, the greater the security risk of the business, and more security protection resources need to be allocated. For businesses classified into the critical business resource pool, their resources need to be optimized. For overseas fast settlement businesses that need to process 100 transactions per second, you can use higher-performance servers, such as those equipped with Intel Xeon Gold 6148 processors and 2933 MT / s DDR4 memory, and control the average transaction response time within 50 milliseconds through network bandwidth optimization and application optimization. You can also use network devices such as stackable switches to increase the server's network bandwidth to 40 Gbps to support high-concurrency transaction requests. For non-critical business resource pools, you can use elastic scaling to dynamically adjust resource allocation according to changes in business volume. For domestic ordinary transfer business, you can set a baseline configuration, such as a server equipped with Intel Xeon Silver 4116 processors and 2400 MT / s DDR4 memory, and automatically expand or shrink capacity according to changes in business volume. When the business volume exceeds the processing capacity of the baseline configuration, you can expand the capacity by adding new server nodes, and when the business volume decreases, you can reduce the capacity by shutting down idle nodes, thereby maximizing resource utilization. In order to achieve unified management and monitoring of resource pools, you can use virtualization management platforms such as VMware vSphere and OpenStack. Through this platform, you can monitor the usage of server, storage, network and other resources in real time, such as CPU occupancy, memory usage, disk I / O, etc., and trigger alarms or automated operations based on preset thresholds.When the CPU usage of a server node exceeds 80%, an automatic expansion operation can be triggered to add new CPU resources to the node; when the business traffic decreases, an automatic reduction operation can be triggered to shut down idle nodes to save costs. Through real-time monitoring and automated operation and maintenance, the stable operation of key and non-key businesses can be ensured, and the availability and performance of the system can be improved.

[0043] S103, determining the security level of each service, and setting a security management mechanism for the virtual machine according to the security level of each service.

[0044] In some embodiments, determining the security level of each service and setting a security management mechanism for the virtual machine according to the security level of each service specifically includes:

[0045] Based on the information security risk assessment model, the risk value of each business is obtained through the business risk assessment factors, and the security level of each business is determined according to the risk value;

[0046] According to the security level of each business, a multi-level virtualization security domain is set up, and the isolation and interaction between virtual machines corresponding to businesses of different security levels are determined through the virtualization security domain;

[0047] Determine the operation permissions of different administrator roles of the virtual machine according to the RBAC model;

[0048] DPI detection is performed on the network traffic between multiple interactive virtual machines to obtain traffic detection data, and an anomaly detection model is established based on the traffic detection data. The anomaly detection model is used to detect whether there is abnormal traffic in the interaction between multiple virtual machines. If so, the abnormal traffic is blocked or speed-limited.

[0049] In this embodiment, by evaluating the security level of the service, the security level of different services is obtained as an important basis for virtual machine resource allocation. According to the security level of the service, a multi-level virtualization security domain is designed to implement network isolation and access control for services of different security levels to prevent low-security-level services from accessing the resources of high-security-level services. A role-based access control (RBAC) mechanism is adopted to perform fine-grained control on the management rights of virtual machines, and determine the operation rights of different roles on virtual machines, such as creation, deletion, migration, etc., to prevent unauthorized operations. For high-security-level services, the migration function is disabled in the virtual machine configuration to avoid sensitive data leakage during the migration process and obtain higher data protection capabilities. By performing deep packet inspection (DPI) on the network traffic of the virtual machine, abnormal communication between virtual machines is identified, and it is determined whether there is a risk of data leakage, and illegal communication is blocked in time. On the communication link between virtual machines, an encrypted transmission protocol, such as SSL / TLS, is enabled to encrypt sensitive data. Even if the data is intercepted, it cannot be cracked to ensure the confidentiality of the data. Trusted computing technology is adopted to verify the integrity of the virtual machine when it is started, and continuous monitoring is carried out during operation. Once the virtual machine is found to be tampered with or infected with malicious programs, the virtual machine is immediately isolated to prevent the spread of security threats.

[0050] Specifically, when evaluating the security level of a business, you can use information security risk assessment models such as OCTAVE and NISTSP800-30 to quantitatively evaluate factors such as the asset value, threat probability, and vulnerability of the business. The risk value of each business is calculated using the formula "risk value = asset value × threat probability × vulnerability", and it is divided into three security levels: high, medium, and low according to the risk value. For example, for a customer personal information management system, its asset value is 5 (very high), the threat probability is 4 (high), and the vulnerability is 3 (medium). Its risk value is 5×4×3=60, which is a high security level. When designing a virtualized security domain, you can refer to the zero-trust security model and use micro-segmentation technology to isolate businesses of different security levels. You can divide a separate VLAN for high-security-level businesses and configure strict ACL rules to allow only necessary communication traffic in and out and prohibit other businesses from accessing it. At the same time, you can also configure security policies on virtual switches or distributed firewalls to perform fine-grained control of east-west traffic between virtual machines. For the control of virtual machine management permissions, the RBAC model can be used to divide administrator roles into multiple levels, such as system administrator, security administrator, audit administrator, etc., and assign corresponding operation permissions to each role. For example, the system administrator has full control permissions for virtual machines and can perform operations such as creation, deletion, and migration; the security administrator can only perform security-related operations, such as configuring firewall rules and reviewing logs; the audit administrator can only view system logs and audit reports and has no right to modify system configurations. Through the RBAC matrix, the operation permissions of each role for different virtual machines can be accurately defined to achieve separation of duties and the principle of least privilege. When performing DPI detection on virtual machine network traffic, machine learning-based anomaly detection algorithms, such as OneClassSVM and IsolationForest, can be used to learn the features of normal traffic, build anomaly detection models, and identify abnormal communications between virtual machines in real time. Various features of traffic, such as source / destination IP, port number, protocol type, packet size, etc., can be extracted, and converted into numerical vectors that can be processed by machine learning algorithms through feature engineering and data preprocessing, and then predicted using the trained anomaly detection model to determine whether it is abnormal traffic. When an anomaly is detected, an alarm can be triggered according to the preset threshold, and the abnormal traffic can be automatically blocked or limited. When enabling encrypted transmission between virtual machines, the TLS1.3 protocol can be used, and a key exchange algorithm with perfect forward secrecy (PFS), such as ECDHE, can be used to prevent the security of historical communication data from being affected after the session key is cracked. At the same time, high-strength symmetric encryption algorithms such as AES-GCM can also be used to ensure the confidentiality and integrity of data.For example, when virtual machine A needs to send sensitive data to virtual machine B, it first uses the ECDHE algorithm to negotiate a temporary session key, then uses the key to encrypt the data with AES-GCM, and then transmits the ciphertext to virtual machine B over the network. Even if the attacker intercepts the ciphertext, he cannot decrypt the plaintext data because he does not have the session key. For trusted computing of virtual machines, you can use a TPM (Trusted Platform Module) chip to measure and verify its operating system and applications when the virtual machine starts to ensure that they have not been maliciously tampered with. You can embed a TPM chip in the virtual machine template and store the hash values ​​of the operating system and key applications in it. When the virtual machine starts, the TPM chip measures the current system state, calculates the hash value and compares it with the pre-stored value. If it is inconsistent, it indicates that the system has been tampered with and the startup process needs to be aborted. During the operation of the virtual machine, you can also use VBS (Virtualization Basic Security) technology to use hardware-assisted memory isolation mechanism to prevent malicious programs from accessing or modifying key kernel data structures and improve system security. Once a virtual machine is found to be infected with a malicious program, it can be immediately isolated in an independent security sandbox to prevent the threat from spreading to other virtual machines or the host machine.

[0051] S104, based on the hierarchical analysis method, respectively sorting the priorities of the services for the first virtualized resource pool and the second virtualized resource pool to form a service priority list, and implementing resource allocation for each service according to the service priority list.

[0052] In some embodiments, the prioritization of each service for the first virtualized resource pool and the second virtualized resource pool is performed based on the hierarchical analysis method to form a service priority list, specifically including:

[0053] According to multiple business evaluation dimensions, obtaining the importance weight and timeliness weight of each business of the first virtualized resource pool and the second virtualized resource pool through a hierarchical analysis method;

[0054] According to the importance weight and the timeliness weight, the priority of each service in the first virtualized resource pool and the priority of each service in the second virtualized resource pool are determined respectively to form a service priority list.

[0055] In this embodiment, a priority mechanism for resource scheduling is established, and different priorities are set according to the importance and timeliness of the business to ensure the continuity of the critical fast transfer business.

[0056] By evaluating the importance and timeliness of the business, a combination of quantitative and qualitative methods is used to obtain the priority levels of different businesses as the basis for resource scheduling. According to the priority level, a multi-level queue scheduling algorithm is designed to allocate business requests of different priorities to the corresponding queues, determine the scheduling order and resource allocation ratio. A dynamic priority adjustment mechanism is adopted to dynamically adjust the priority of business requests according to the real-time traffic and waiting time of business requests to avoid low-priority businesses from not getting resources for a long time. For critical businesses, such as fast transfer business, the highest priority is set, and a dedicated resource pool is reserved for it to ensure its continuity and low latency. Through real-time monitoring of business requests, its resource usage and performance indicators, such as CPU occupancy, memory usage, response time, etc., are obtained to determine whether it is necessary to trigger priority adjustment or resource expansion. If the resource usage of the business request exceeds the preset threshold, the resource expansion mechanism is triggered to allocate additional resources from the idle resource pool to ensure the continuous operation of the business.

[0057] Specifically, when evaluating the importance and timeliness of a business, AHP (Analytical Hierarchy Process) can be used to determine the priority of different businesses. For example, for fast transfer business, it can be evaluated from the dimensions of capital volume, customer experience, compliance risk, etc. Through pairwise comparison and matrix calculation, its importance weight is 0.6, and its timeliness weight is 0.3. Then its comprehensive priority level is 0.6×5+0.3×4=4.2, where 5 and 4 are the highest levels of importance and timeliness, respectively. When designing a scheduling algorithm, a multi-level feedback queue algorithm can be used to divide the priority level into multiple levels, each corresponding to an independent queue. Five priority levels can be set, corresponding to five queues Q1-Q5, where Q1 has the highest priority and Q5 has the lowest priority. When a business request arrives, it is placed in the corresponding queue according to its priority level, and the scheduler processes the requests in each queue in order from high to low according to the priority of the queue.

[0058] In some embodiments, allocating resources to each service according to the service priority list specifically includes:

[0059] Based on the service priority list, resource scheduling of each service is implemented according to a multi-level feedback queue algorithm, a time slice round-robin algorithm and an aging algorithm;

[0060] Establish a resource cost model based on resource unit prices and business benefits at different times;

[0061] Determine resource demand trends of the first virtualized resource pool and the second virtualized resource pool in a preset future time period according to a time series algorithm;

[0062] An optimal resource allocation plan is determined based on the resource cost model and the resource demand trend.

[0063] In this embodiment, for requests in the same queue, a time slice round-robin algorithm can be used to ensure fairness, that is, after each request runs a time slice in this queue, if it has not been executed, it will enter the next level queue to wait. In order to prevent low-priority services from not getting resources for a long time, an aging algorithm can be used to decay the waiting time of the request. When the waiting time exceeds a certain threshold, its priority is raised by one level. For example, for a request in the Q5 queue, if its waiting time exceeds 10 minutes, it will be moved to the Q4 queue until it finally enters the Q1 queue for processing. For key services, such as fast transfer, a resource reservation and preemption mechanism can be used to ensure that it can get enough resources. 20% of CPU resources and 30% of memory resources can be reserved for the fast transfer service. When its request arrives, if the current resources are insufficient, resource preemption is triggered, and the resources of the low-priority service are released to the high-priority service. When performing resource monitoring and prediction, time series algorithms such as ARIMA, Prophet, etc. can be used to establish a prediction model based on the historical data of service requests to estimate resource requirements in the future in advance. By analyzing the request volume and resource usage of the fast transfer business in the past month, it is predicted that in the next week, it will require an average of 100 CPU cores and 200GB of memory per day, and 200 CPU cores and 500GB of memory during peak hours. Based on the prediction results, resources can be expanded and preheated in advance to avoid business interruptions caused by insufficient resources. At the same time, a resource cost model can be established to calculate the optimal resource allocation plan based on the resource unit price and business revenue in different time periods. During business peak periods, more high-performance resources can be added, such as SSD hard drives, 10G network cards, etc., while during business troughs, some idle resources can be released to save costs. By real-time monitoring of business performance indicators such as response time and throughput, resource allocation can be continuously optimized to achieve the best balance between business performance and cost.

[0064] S105, acquiring the performance data of the virtual machine in real time, analyzing the resource usage of the virtual machine through the performance data according to an anomaly detection algorithm, and performing dynamic resource scheduling when an abnormality occurs in the virtual machine.

[0065] In some embodiments, analyzing the resource usage of the virtual machine through the performance data according to an anomaly detection algorithm and performing dynamic resource scheduling when an abnormality occurs in the virtual machine specifically includes:

[0066] Forming a multi-dimensional time series data set according to the performance data of the virtual machine;

[0067] Performing cluster analysis on the multidimensional time series data set based on the K-Means algorithm, and determining k performance pattern clusters through the Euclidean distance between each data point in each two dimensions of the multidimensional time series data set;

[0068] Determining whether there is abnormal resource usage of the virtual machine based on a comparison between a value of a center point of each performance mode cluster and a preset value;

[0069] When the virtual machine has abnormal resource usage, a response time regression model is established based on the historical response time data of the corresponding business of the virtual machine under different resource usage conditions, and dynamic resource scheduling is performed for the virtual machine through the response time regression model.

[0070] In this embodiment, by deploying a virtualization management platform, real-time performance indicators of virtual machines, such as CPU utilization, memory usage, network throughput, etc., are obtained to form time series data of virtual machine performance. Anomaly detection algorithms, such as K-Means, GMM, etc., are used to perform cluster analysis on virtual machine performance data to determine whether there are abnormal resource usage patterns and identify potential performance bottlenecks. If it is found that the memory or CPU usage of a single virtual machine is continuously higher than a threshold (such as 90%), a resource shortage alarm is triggered, and it is determined whether dynamic resource scheduling is required based on the resource requirements and priority of the business.

[0071] In the virtualization management platform, you can use the performance monitoring function of vSphere to collect the performance indicators of the virtual machine every 5 seconds, including CPU usage, memory usage, disk I / O rate, network bandwidth, etc., to form a multi-dimensional time series data set. Then, you can use the K-Means algorithm to perform cluster analysis on the data set and divide similar performance patterns into the same cluster. CPU usage and memory usage can be used as two dimensions to calculate the Euclidean distance between each data point. Through iterative optimization, the sum of squares of distances within the cluster is minimized to obtain k performance pattern clusters. If the CPU usage or memory usage of the center point of a cluster exceeds 90%, it indicates that the cluster represents an abnormal resource usage pattern and needs to be paid attention to. If it is found that the memory usage of a virtual machine is continuously higher than 90%, and the virtual machine is running an overseas fast settlement business, the SLA of the business requires that the transaction response time does not exceed 500 milliseconds. By analyzing the historical response time data of the business under different memory usage rates, a simple linear regression model can be established: response time = a × memory usage + b, where a and b are the parameters to be fitted. By using the least square method, we can get a=2.5, b=-50, that is, response time=2.5×memory usage-50. From this model, we can see that when the memory usage exceeds 80%, the response time will exceed 500 milliseconds and cannot meet the SLA requirements. Therefore, it is necessary to allocate more memory resources to the virtual machine or migrate it to a host with lower memory utilization.

[0072] S106, setting a regression model for the core business according to the resource usage and the KPI, and predicting the expected processing time of the core business under different resource allocation schemes according to the regression model.

[0073] In this embodiment, for key businesses, such as overseas fast settlement and domestic second arrival, the key performance indicators (KPIs) defined in their service level agreements (SLAs), such as transaction response time and throughput, are obtained as a measure of business timeliness. By analyzing the historical data of key businesses, a regression model between resource usage and KPIs is established to predict the expected processing time of the business under different resource allocation schemes, and obtain the minimum resource requirements that meet the timeliness requirements.

[0074] S107, allocate virtual machine resources in combination with business division and security level, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain resource migration risks between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host.

[0075] In some embodiments, obtaining the resource migration risk between each virtual machine and determining whether the current virtual machine is allowed to migrate resources to the target host specifically includes:

[0076] Obtaining migration risk factors for each virtual machine and setting different weights for each migration risk factor, wherein the migration risk factors include performance loss, interruption time, and target host resource utilization during the migration process;

[0077] Obtaining an actual migration process value corresponding to each migration risk factor of each virtual machine, and determining a migration risk value of each virtual machine according to a weight of each migration risk factor and the actual migration process value;

[0078] According to the comparison between the migration risk value and the preset migration risk value, it is determined whether the current virtual machine is allowed to perform resource migration to the target host.

[0079] In this embodiment, virtual machine resource allocation is performed in combination with business division and security level, and restrictions are imposed on businesses with high security levels, prohibiting the migration of virtual machines in such businesses, thereby reducing the risk of accidental data leakage and ensuring business information security.

[0080] When evaluating migration risk, the fuzzy comprehensive evaluation method can be used to consider multiple factors such as performance loss, interruption time, and resource utilization of the target host during the migration process. First, these factors are divided into several levels according to their importance and assigned different weights. The weight of performance loss is 0.4, the weight of interruption time is 0.3, and the weight of resource utilization of the target host is 0.3. According to the actual value of each factor, the corresponding score is given. If the performance loss during the migration process is expected to be 10%, its score is 0.1, if the interruption time is expected to be 30 seconds, its score is 0.3, and if the resource utilization of the target host is 60%, its score is 0.4. Finally, the migration risk value is calculated by weighted average: 0.4×0.1+0.3×0.3+0.3×0.4=0.25, indicating that the migration risk is low and migration can be carried out. When migrating virtual machines, online migration technologies such as vMotion can be used to transfer the memory state and disk data of the virtual machine from the source host to the target host through multiple steps such as pre-copying, real-time synchronization, and snapshots, so as to achieve seamless migration without interrupting business. In the pre-copy phase, the virtual machine's memory pages can be quietly copied to the target host in the background until a certain threshold (such as 95%) is reached. Then, in the real-time synchronization phase, the virtual machine on the source host is paused for a few seconds, the remaining dirty pages are copied to the target host, and the running state of the virtual machine is restored on the target host. Finally, a snapshot is created for the virtual machine on the source host, which is used as a rollback point in case the migration fails and needs to be rolled back. The entire migration process can be completed in tens of seconds, with very little impact on the business. After the migration is completed, the resource allocation of the virtual machine needs to be dynamically adjusted to adapt to changes in business load. You can use vSphere's Dynamic Resource Scheduling (DRS) function to automatically allocate and balance resources in the host cluster based on the resource utilization and priority of the virtual machine. DRS uses an algorithm based on market economics, which regards the host's resources as commodities and the resource requirements of the virtual machine as purchasing power. It achieves the optimal allocation of resources through supply and demand matching and price adjustment. When the CPU demand of a virtual machine increases, its purchasing power will also increase accordingly, and DRS will allocate more CPU resources to it until a balance is reached. On the contrary, when the resource utilization of a virtual machine is low, DRS will release the resources it occupies and allocate them to other virtual machines that need resources, thereby improving the overall resource utilization efficiency.

[0081] S108, monitor the computing resource usage of the banking business system in real time. When the high-security core business cannot meet the timeliness requirements, determine whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration based on the expected processing time and the resource migration risk.

[0082] In this embodiment, if the expected processing time of the service is greater than the SLA requirement and the migration risk is lower than the threshold, the online migration of the high-security service virtual machine is triggered and transferred to a host with lower resource utilization. The resource allocation of the virtual machine is dynamically adjusted to ensure the continuous timeliness of the service.

[0083] In some embodiments, the method further comprises:

[0084] Based on the memory symmetry detection algorithm, the memory data of the virtual machine corresponding to the core business during the resource migration process is monitored in real time to obtain memory fingerprint features;

[0085] Based on the machine learning algorithm, a memory anomaly detection model is established through the memory fingerprint feature, and whether an abnormality occurs in the memory data is detected according to the memory anomaly detection model;

[0086] When an abnormality occurs in the memory data, the Swift gateway is triggered to send a security alert to the security management platform;

[0087] The memory data is recorded and formed into log data according to the Swift gateway, and threat intelligence is formed by correlation analysis of the log data;

[0088] Based on the threat intelligence, the strategies and parameters of the virtual machines corresponding to the core services during the resource migration process are dynamically adjusted.

[0089] In this embodiment, when a highly secure and time-efficient overseas settlement business migrates settlement data to a virtual machine, the key information of the amount, time, and settlement location is processed through the Swift gateway. When migrating the virtual machine, the memory data changes are monitored in real time. Once an abnormal memory fluctuation is detected, a security alarm is triggered through the gateway's data system to prevent potential network attacks or data leakage risks in a timely manner.

[0090] By analyzing the data flow of overseas settlement business, the key information that needs to be processed by Swift gateway, including amount, time, settlement location, etc., is determined to form a structured data format. Memory symmetry detection algorithms, such as Merkle tree and Bloom filter, are used to monitor the memory data in the virtual machine migration process in real time to obtain the fingerprint characteristics of the memory status. According to the memory fingerprint characteristics, an anomaly detection model is constructed, and machine learning algorithms, such as One-ClassSVM and Isolation Forest, are used to determine whether the memory data has abnormal fluctuations and obtain an anomaly score. If the anomaly score exceeds the preset threshold, a security alarm is triggered, and the anomaly is sent to the security management platform through the data system of the Swift gateway to start the plan process. By performing correlation analysis on the log data of the Swift gateway, the source and destination of the abnormal data are tracked to determine whether there is a potential risk of network attack or data leakage, and to form threat intelligence. According to the threat intelligence, the strategy and parameters of virtual machine migration are dynamically adjusted, such as limiting the range of the target host for migration and increasing the frequency of memory scanning, to improve the security of the migration process. Data desensitization and encryption technologies are used to protect sensitive data during the migration process. For example, the Format-Preserving Encryption (FPE) algorithm is used to homomorphically encrypt fields such as amount and time to ensure the confidentiality of data during use and transmission.

[0091] For example, when analyzing the data flow of overseas settlement business, the analysis system will filter out relevant information from millions of transaction records. For example, for a transaction, key information may include an amount of $10,000, a time of 14:32 GMT on April 15, 2023, and a settlement location of London. This information is formatted in JSON or XML format and sent through the Swift gateway. During the virtual machine migration process, the Merkle tree algorithm is used to monitor 64GB of memory data in real time. The monitoring system may generate a fingerprint feature of the memory every 5 minutes. This feature is a string of hash values ​​that can represent the current memory state. The constructed anomaly detection model uses the One-ClassSVM algorithm, and samples of normal memory fingerprint features are input in the learning phase. In real-time monitoring, the model may give an anomaly score, such as 2 (between 0 and 1, the closer to 1, the more abnormal). Set the preset threshold to 8. If the anomaly score corresponding to the memory fingerprint feature generated in a certain time is found to be 85 during monitoring, this will trigger a security alert. Once a security alert is triggered, the anomaly information is packaged into a message, including information such as anomaly score and timestamp, and sent to the security management platform through the data system of the Swift gateway. In the log data correlation analysis, by checking the log records before and after the anomaly event, it may be found that a certain IP address has made unusual network access before and after the anomaly occurs. For example, before the memory event with an anomaly score of 85 occurred, the system log showed that an unknown IP address tried to connect to the remote management interface of the virtual machine 100 times 5 minutes before the anomaly time. Dynamically adjust the virtual machine migration strategy based on threat intelligence. If it is found that the anomaly event is related to a sudden increase in network traffic in a data center, it may temporarily prohibit the migration of virtual machines to that data center, and increase the memory scanning frequency of all virtual machines from once every 5 minutes to once every minute. During the virtual machine migration process, the protection of sensitive data is crucial. Sensitive data is encrypted using the Format-PreservingEncryption (FPE) algorithm. For example, an amount of $10,000 may be encrypted as "3C2A19B4" and a time of "2023-04-15T14:32:00Z" may be encrypted as "AB129F7E23D4". FPE ensures that the encrypted data remains in its original format, facilitating data processing and analysis while ensuring data confidentiality.

[0092] In some embodiments, when an abnormality occurs in the memory data, after triggering the Swift gateway to send a security alert to a security management platform, the method further includes:

[0093] Obtaining a memory snapshot of the memory data when an abnormality occurs;

[0094] Analyze the memory snapshot based on the memory forensics tool to determine whether the settlement data of the core business is consistent before and after the resource migration, and trigger the data recovery process if it is inconsistent;

[0095] Conduct a secondary check on the settlement data after data recovery. If there are still data omissions or leaks in the settlement data after data recovery, the security incident handling process will be triggered;

[0096] According to the memory usage curve and the alarm time point, it is determined whether the abnormal situation of the memory data is caused by a large increase in data. If so, the memory data is cleaned using data cleaning technology, and the memory data after data cleaning is analyzed using a malicious code detection tool.

[0097] In this embodiment, after a security alarm is triggered, when the settlement data memory is greatly reduced, key information such as the amount, time, and settlement location migrated during overseas quick settlement is rechecked to prevent omission of important customer privacy data. When the memory is greatly increased, data cleaning is performed to prevent malicious virus implantation or key information from being changed, and virtual machine migration for high-security services is suspended in a timely manner.

[0098] By analyzing the type and level of security alerts, determine whether the alert is caused by memory anomalies, obtain memory snapshots and related logs when the anomaly occurs, and use them as the basis for data recovery and investigation. Use memory forensics tools such as Volatility and Rekall to conduct in-depth analysis of memory snapshots, extract key settlement data such as amount, time, settlement location, etc., and compare them with the data before migration to determine whether there is data loss or tampering. If key settlement data is found to be missing or inconsistent, the data recovery process is triggered to re-acquire complete settlement data by rolling back to the state before migration or retrieving from the backup system. Perform a secondary check on the recovered settlement data, especially the part involving customer privacy, such as account number, name, address, etc., to ensure that there is no omission or leakage. If problems are found, respond according to the data security incident handling process. According to the memory usage curve and the alarm time point, determine whether the memory anomaly is caused by a large increase or decrease in data. For the increase in memory, use data cleaning technology, such as whitelist filtering and behavior analysis, to identify and delete suspicious processes, files and network connections. Through malicious code detection tools such as VirusTotal and CuckooSandbox, virus scanning and behavior analysis are performed on the cleaned memory data to determine whether malicious programs have been implanted or key data has been tampered with. If so, they are isolated and cleared. According to the severity and scope of impact of the security alert, the emergency plan is activated to suspend the migration of virtual machines for the affected business. After data recovery and system reinforcement are completed, migration can be resumed to ensure business continuity and data integrity.

[0099] Specifically, when the security monitoring system finds a serious level of memory anomaly alarm, it first needs to obtain the system memory snapshot when the alarm occurs, use the Linux LiME (LinuxMemoryExtractor) module, and export the memory data to a disk file, such as mem.dump, by loading a device driver in the kernel. Then, the Volatility tool can be used to analyze the memory snapshot, and the plug-in linux_pslist can be used to list the process list when the alarm occurs. If suspicious processes are found, such as hacker tools such as sqlmap and nmap, it can be determined that the alarm is caused by hacker intrusion. Next, it is necessary to check whether the key settlement data has been tampered with or deleted. You can use Volatility's linux_find_file plug-in to search for key files in memory, such as / usr / local / swift / bin / swift-config. Then, use the linux_dump_map plug-in to export the file content and compare it with the file before migration. If the file hash value (such as MD5 or SHA256) is inconsistent, it means that the file has been tampered with. You can also use the linux_strings plug-in to search for keywords in the memory, such as "amount=10000", "date=20230401", and "location=NewYork", to see if you can find a complete settlement record. If you can't find it, the data may have been deleted. If it is confirmed that the settlement data has been tampered with or deleted, you need to immediately trigger the emergency plan, suspend all ongoing virtual machine migration tasks, and cut off the connection with the external network to prevent further data loss. Then, you can try to recover the settlement data from the backup system, use tools such as rsync to synchronize the data on the backup server to the production environment, and then perform an integrity check to ensure data consistency. If the memory anomaly is caused by a sharp increase in the amount of data, you need to consider whether there is a malicious program generating a large amount of garbage data in the background. You can use Volatility's linux_procfs plug-in to view the I / O statistics of the process. If you find that the number of bytes written by a process is much higher than that of other processes, such as 10GB / s, it may be a malicious program. You can use the linux_procdump plug-in to export the executable file of the suspicious process and upload it to online virus scanning platforms such as VirusTotal for detection. If the report shows common malicious code features, such as packing, anti-debugging, code injection, etc., you need to further analyze the behavior of the malicious code. You can use CuckooSandbox to build a malicious code analysis environment, submit suspicious files to the sandbox for execution, collect malicious code behavior logs, such as file reading and writing, registry modification, network communication, etc., and then use disassembly tools such as IDAPro to analyze the main functions and purposes of the malicious code.For example, if the malicious code attempts to connect to a known C&C server, such as 23.95.211.99, and downloads an encrypted payload, it can be determined that this is a remote control Trojan horse; if the malicious code modifies the system's login credentials, such as changing the sshd port to 8888, it may be to establish a backdoor; if the malicious code reads a large number of sensitive files, such as / etc / shadow, / var / lib / mysql, etc., it may be stealing data. According to the results of the malicious code analysis, you can formulate corresponding removal and repair plans, such as deleting the malicious code and the files it generates, restoring the tampered configuration, resetting the leaked credentials, etc. You can also contact the cloud service provider to isolate and rebuild the infected virtual machine to prevent the spread of malicious code. Finally, it is necessary to summarize security incidents, improve the process of memory anomaly detection and malicious code analysis, and optimize the security strategy of virtual machine migration, such as using memory encryption, integrity verification and other technologies to improve the overall defense capability of the system and minimize the occurrence of similar incidents.

[0100] Reference Figure 2 An embodiment of the present invention provides a computing power optimization system 2 based on cloud computing online services, and the system 2 includes:

[0101] The first optimization module 201 is used to deploy the front-end service layer and the back-end processing layer of the banking business system on the first computing node and the second computing node respectively, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node;

[0102] The second optimization module 202 is used to divide the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services and the second virtualized resource pool is used to store common services;

[0103] The third optimization module 203 is used to determine the security level of each service and set the security management mechanism of the virtual machine according to the security level of each service;

[0104] The fourth optimization module 204 is used to sort the priorities of various services for the first virtualized resource pool and the second virtualized resource pool based on the hierarchical analysis method, form a service priority list, and implement resource allocation for each service according to the service priority list;

[0105] The fifth optimization module 205 is used to obtain the performance data of the virtual machine in real time, analyze the resource usage of the virtual machine through the performance data according to the anomaly detection algorithm, and perform dynamic resource scheduling when an abnormality occurs in the virtual machine;

[0106] A sixth optimization module 206, configured to set a regression model for the core business according to resource usage and KPI, and predict the expected processing time of the core business under different resource allocation schemes according to the regression model;

[0107] The seventh optimization module 207 is used to allocate virtual machine resources in combination with the business division and the security level, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain the resource migration risk between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host;

[0108] The eighth optimization module 208 is used to monitor the computing resource usage of the banking business system in real time. When the high-security core business cannot meet the timeliness requirements, it determines whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration based on the expected processing time and the resource migration risk.

[0109] It is understandable that if Figure 1 The contents of the embodiment of the method for optimizing computing power of online services based on cloud computing are applicable to the embodiment of the system for optimizing computing power of online services based on cloud computing. The functions specifically implemented by the embodiment of the system for optimizing computing power of online services based on cloud computing are similar to those in the embodiment of the method for optimizing computing power of online services based on cloud computing. Figure 1 The embodiment of the method for optimizing computing power of online cloud computing services shown in FIG. 1 is the same as that of the embodiment of the method for optimizing computing power of online cloud computing services shown in FIG. Figure 1 The beneficial effects achieved by the embodiment of the method for optimizing computing power of online services based on cloud computing are also the same.

[0110] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0111] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0112] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0113] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0114] In the embodiments disclosed in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Claims

1. A method for optimizing computing power of online services based on cloud computing, characterized in that: The method comprises: The front-end service layer and the back-end processing layer of the banking business system are respectively deployed on a first computing node and a second computing node, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node; Dividing the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services, and the second virtualized resource pool is used to store common services; Determine the security level of each business and set up a security management mechanism for the virtual machine based on the security level of each business; Based on the hierarchical analysis method, the priority of each service is sorted for the first virtualized resource pool and the second virtualized resource pool respectively to form a service priority list, and resource allocation for each service is implemented according to the service priority list; Acquire the performance data of the virtual machine in real time, analyze the resource usage of the virtual machine through the performance data according to an anomaly detection algorithm, and perform dynamic resource scheduling when an abnormality occurs in the virtual machine; Setting a regression model for the core business according to resource usage and KPI, and predicting the expected processing time of the core business under different resource allocation schemes according to the regression model; Combine business division and security level to allocate virtual machine resources, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain the resource migration risk between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host; The computing resource usage of the banking business system is monitored in real time. When the high-security core business cannot meet the timeliness requirements, whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration are determined based on the expected processing time and the resource migration risk.

2. The method according to claim 1, characterized in that Determining the security level of each service and setting the security management mechanism of the virtual machine according to the security level of each service specifically includes: Based on the information security risk assessment model, the risk value of each business is obtained through the business risk assessment factors, and the security level of each business is determined according to the risk value; According to the security level of each business, a multi-level virtualization security domain is set up, and the isolation and interaction between virtual machines corresponding to businesses of different security levels are determined through the virtualization security domain; Determine the operation permissions of different administrator roles of the virtual machine according to the RBAC model; DPI detection is performed on the network traffic between multiple interactive virtual machines to obtain traffic detection data, and an anomaly detection model is established based on the traffic detection data. The anomaly detection model is used to detect whether there is abnormal traffic in the interaction between multiple virtual machines. If so, the abnormal traffic is blocked or speed-limited.

3. The method according to claim 1, characterized in that The prioritization of each service for the first virtualized resource pool and the second virtualized resource pool is performed based on the hierarchical analysis method to form a service priority list, specifically including: According to multiple business evaluation dimensions, obtaining the importance weight and timeliness weight of each business of the first virtualized resource pool and the second virtualized resource pool through a hierarchical analysis method; According to the importance weight and the timeliness weight, the priority of each service in the first virtualized resource pool and the priority of each service in the second virtualized resource pool are determined respectively to form a service priority list.

4. The method according to claim 1, characterized in that: The resource allocation for each service according to the service priority list specifically includes: Based on the service priority list, resource scheduling of each service is implemented according to a multi-level feedback queue algorithm, a time slice round-robin algorithm and an aging algorithm; Establish a resource cost model based on resource unit prices and business benefits at different times; Determine resource demand trends of the first virtualized resource pool and the second virtualized resource pool in a preset future time period according to a time series algorithm; An optimal resource allocation plan is determined based on the resource cost model and the resource demand trend.

5. The method according to claim 1, characterized in that The analyzing the resource usage of the virtual machine through the performance data according to the anomaly detection algorithm and performing dynamic resource scheduling when an abnormality occurs in the virtual machine specifically includes: Forming a multi-dimensional time series data set according to the performance data of the virtual machine; Performing cluster analysis on the multidimensional time series data set based on the K-Means algorithm, and determining k performance pattern clusters through the Euclidean distance between each data point in each two dimensions of the multidimensional time series data set; Determining whether there is abnormal resource usage of the virtual machine based on a comparison between a value of a center point of each performance mode cluster and a preset value; When the virtual machine has abnormal resource usage, a response time regression model is established based on the historical response time data of the corresponding business of the virtual machine under different resource usage conditions, and dynamic resource scheduling is performed for the virtual machine through the response time regression model.

6. The method according to claim 1, characterized in that The step of obtaining the resource migration risk between each virtual machine and determining whether the current virtual machine is allowed to migrate resources to the target host specifically includes: Obtaining migration risk factors for each virtual machine and setting different weights for each migration risk factor, wherein the migration risk factors include performance loss, interruption time, and target host resource utilization during the migration process; Obtaining an actual migration process value corresponding to each migration risk factor of each virtual machine, and determining a migration risk value of each virtual machine according to a weight of each migration risk factor and the actual migration process value; According to the comparison between the migration risk value and the preset migration risk value, it is determined whether the current virtual machine is allowed to perform resource migration to the target host.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Based on the memory symmetry detection algorithm, the memory data of the virtual machine corresponding to the core business during the resource migration process is monitored in real time to obtain memory fingerprint features; Based on the machine learning algorithm, a memory anomaly detection model is established through the memory fingerprint feature, and whether an abnormality occurs in the memory data is detected according to the memory anomaly detection model; When an abnormality occurs in the memory data, the Swift gateway is triggered to send a security alert to the security management platform; The memory data is recorded and formed into log data according to the Swift gateway, and threat intelligence is formed by correlation analysis of the log data; Based on the threat intelligence, the strategies and parameters of the virtual machines corresponding to the core services during the resource migration process are dynamically adjusted.

8. The method according to claim 7, characterized in that When an abnormality occurs in the memory data, after the Swift gateway is triggered to send a security alert to the security management platform, the method further includes: Obtaining a memory snapshot of the memory data when an abnormality occurs; Analyze the memory snapshot based on the memory forensics tool to determine whether the settlement data of the core business is consistent before and after the resource migration, and trigger the data recovery process if it is inconsistent; Conduct a secondary check on the settlement data after data recovery. If there are still data omissions or leaks in the settlement data after data recovery, the security incident handling process will be triggered; According to the memory usage curve and the alarm time point, it is determined whether the abnormal situation of the memory data is caused by a large increase in data. If so, the memory data is cleaned using data cleaning technology, and the memory data after data cleaning is analyzed using a malicious code detection tool.

9. A computing power optimization system based on cloud computing online services, characterized in that: The system comprises: A first optimization module, used to deploy the front-end service layer and the back-end processing layer of the banking business system on a first computing node and a second computing node respectively, wherein the first computing node is a high-performance computing node and the second computing node is a high-throughput computing node; A second optimization module, configured to divide the virtualized resource pool into a first virtualized resource pool and a second virtualized resource pool, wherein the first virtualized resource pool is used to store core services, and the second virtualized resource pool is used to store common services; The third optimization module is used to determine the security level of each service and set the security management mechanism of the virtual machine according to the security level of each service; a fourth optimization module, configured to sort the priorities of the first virtualized resource pool and the second virtualized resource pool based on a hierarchical analysis method, to form a service priority list, and to implement resource allocation for each service according to the service priority list; a fifth optimization module, configured to obtain performance data of the virtual machine in real time, analyze resource usage of the virtual machine through the performance data according to an anomaly detection algorithm, and perform dynamic resource scheduling when an abnormality occurs to the virtual machine; A sixth optimization module, configured to set a regression model for the core business according to resource usage and KPI, and predict the expected processing time of the core business under different resource allocation schemes according to the regression model; The seventh optimization module is used to allocate virtual machine resources in combination with business division and security level, prohibit resource migration for virtual machines corresponding to businesses with high security levels, obtain resource migration risks between each virtual machine, and determine whether the current virtual machine is allowed to migrate resources to the target host; The eighth optimization module is used to monitor the computing resource usage of the banking business system in real time. When the high-security core business cannot meet the timeliness requirements, it determines whether the virtual machine corresponding to the high-security core business can perform resource migration and the amount of resource migration based on the expected processing time and the resource migration risk.

Citation Information

Patent Citations

  • Elastic load balancing prioritization

    US20200167189A1

  • Automatic virtual machine migration decision-making method based on user experience in multi-cloud environment

    WO2023109068A1