Intelligent visual virtual component upgrading method based on upgrading demand priority

By introducing upgrade demand priority calculation and visual display technology into virtual components, the problems of low efficiency and difficult management in traditional upgrade methods are solved, intelligent upgrades of virtual components are realized, and system operation efficiency and user satisfaction are improved.

CN118708199AActive Publication Date: 2024-09-27STATE GRID FUJIAN ELECTRIC POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410661487.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-27
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Traditional virtual component upgrade methods have problems such as low efficiency, difficult management, and unintuitive status monitoring in large-scale, highly dynamic environments. There is an urgent need for an innovative method to achieve refined, automated, and visual intelligent upgrade management.

Method used

By using data processing technology and graphical interface display technology in fully automatic and manual upgrade modes, we can establish an upgrade list, calculate the upgrade requirements of virtual components, sort and execute upgrade operations, and combine the visual display of mesh topology and heat maps to achieve Intelligent upgrade of virtual components.

Benefits of technology

It improves system operation efficiency and service quality, simplifies the operation and maintenance process, reduces operation and maintenance costs, and improves user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708199A
    Figure CN118708199A
Patent Text Reader

Abstract

The invention provides a visual virtual component intelligent upgrading method based on upgrading demand priority. The method is characterized in that the dependency relationship between the virtual components is visually displayed by using mesh topology, each node comprises detailed component information, and the consumption condition of the virtual components is visually displayed through a thermodynamic diagram. Time dimension data analysis is supported, and a full-automatic upgrading mode and a manual upgrading mode are provided. The full-automatic mode calculates the upgrading sequence according to the component load condition and the upgrading reward, and the manual mode depends on manual decision making. A detailed upgrading reward calculation formula is defined, and benefits, cost and risks brought by component upgrading are comprehensively considered. A detailed upgrading process is provided and comprises the steps of uploading a software package, sending an upgrading request, generating an upgrading instruction, executing upgrading and the like. And upgrading success confirmation and result feedback are supported. The method is structured, visual, automatic and intelligent, and the efficiency and effect of virtual component management are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer science and technology, and in particular relates to a method for intelligently upgrading a visualized virtual component based on the priority of upgrading requirements. Background Art

[0002] In the current environment of rapid evolution of information technology, the construction and application of virtual components have become an important part of the informatization process of various industries. With the continuous improvement of cloud computing technology, big data analysis and graphics processing capabilities, virtualization technology has been widely used in server clusters, network storage and application deployment, resulting in a significant increase in the number and complexity of virtual components.

[0003] Traditional virtual component upgrade methods often rely on manual intervention or preset rules. This method may have problems such as low upgrade efficiency, difficult management, and unintuitive status monitoring when facing large-scale, highly dynamically changing virtual environments. Therefore, the industry urgently needs an innovative method to solve these problems in order to achieve more refined, automated, and visualized intelligent upgrade management of virtual components. Summary of the invention

[0004] In view of the above, this patent proposes a visual virtual component intelligent upgrade method based on upgrade demand priority, which aims to overcome the shortcomings of the existing technology. Through advanced data processing technology and graphical interface display technology, the complex virtual component structure and its upgrade process are displayed in a visual form, so that managers can clearly grasp the real-time status of system components, and perform efficient and accurate resource allocation and version update operations, thereby improving the overall system operation efficiency and service quality. This method has important practical value in simplifying the operation and maintenance process, reducing operation and maintenance costs, and improving user satisfaction.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A visual virtual component intelligent upgrade method based on upgrade requirement priority includes the following steps in a fully automatic upgrade mode:

[0007] Step 1: The system creates an upgrade list. The content of each element in the upgrade list includes: virtual component number, virtual component version, and virtual component upgrade requirement;

[0008] Step 2: the system sorts the virtual components to be upgraded in the upgrade list according to the upgrade requirement of each virtual component calculated by the formula, and sorts the virtual components from high to low according to the upgrade requirement of the virtual components;

[0009] Step 3, find the virtual component at the head of the upgrade list;

[0010] Step 4, uploading the software package containing the new version of the virtual component to the server at the back end of the system;

[0011] Step 5: The system sends an upgrade request to the virtual component manager that carries the new virtual component version information. This request contains key data such as the new virtual component version number to be upgraded;

[0012] Step 6: After receiving the upgrade request, the virtual component manager generates a corresponding upgrade instruction and then sends the instruction to the virtual component upgrade module;

[0013] Step 7: After receiving the upgrade instruction, the virtual component upgrade module is responsible for executing the virtual component upgrade operation;

[0014] Step 8, which includes downloading a specified new version of the virtual component software package from the server, stopping the currently running virtual component instance, and installing and configuring the new version of the virtual component;

[0015] Step 9: When the new version of the virtual component is successfully deployed and running stably, the virtual component upgrade module will confirm that the virtual component upgrade has been successfully completed and feedback this result to the virtual component manager;

[0016] Step 10: After receiving the confirmation that the virtual component upgrade is successful, the virtual component manager sends a notification of upgrade completion to the system front end, indicating that the virtual component upgrade process is successfully completed.

[0017] A visual virtual component intelligent upgrade method based on upgrade requirement priority includes the following steps in a manual upgrade mode:

[0018] Step 1: The operator views the heat map and selects the virtual components that need to be upgraded based on actual usage.

[0019] Step 2: Upload the software package containing the new version of the virtual component to the server at the back end of the system.

[0020] Step 3: The system sends an upgrade request carrying the new virtual component version information to the virtual component manager. This request contains key data such as the version number of the new virtual component to be upgraded.

[0021] Step 4: After receiving the upgrade request, the virtual component manager generates a corresponding upgrade instruction and then sends the instruction to the virtual component upgrade module.

[0022] Step 5: After receiving the upgrade instruction, the virtual component upgrade module is responsible for executing the virtual component upgrade operation.

[0023] Step 6, which includes downloading the specified new version of the virtual component software package from the server, stopping the currently running virtual component instance, and installing and configuring the new version of the virtual component.

[0024] Step 7: When the new version of the virtual component is successfully deployed and running stably, the virtual component upgrade module confirms that the virtual component upgrade has been successfully completed and feeds back the result to the virtual component manager.

[0025] Step 8: After receiving the confirmation that the virtual component upgrade is successful, the virtual component manager sends a notification of upgrade completion to the system front end, indicating that the virtual component upgrade process is successfully completed. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a flow chart of the network topology and thermal map construction of a visualized virtual component described in the present invention.

[0027] Figure 2 It is a flow chart of a method for intelligently upgrading a visualized virtual component based on the priority of upgrading requirements according to the present invention;

[0028] Figure 3 It is a model architecture diagram of a visualized virtual component intelligent upgrade method based on upgrade requirement priority described in the present invention; DETAILED DESCRIPTION

[0029] The technical solutions in the implementation of the present invention are described clearly and completely below in conjunction with specific examples.

[0030] Example 1: Use a mesh topology to show the dependencies between virtual components and use a heat map to map the load of virtual components, including:

[0031] The application of mesh topology in the visualization of virtual component dependencies significantly improves the efficiency and effectiveness of component management. By adopting a structured and intuitive mesh representation, the present invention provides an effective means to visualize the interdependencies between virtual components such as virtual machines, storage and network devices. With the help of the mesh topology proposed by the present invention, users can clearly identify the connection paths, dependencies and potential performance bottlenecks between components, and thus better manage and upgrade virtual components.

[0032] In the above mesh topology, each node cleverly represents a specific virtual component, such as a virtual machine, storage device or network device. More importantly, these nodes are not just a simple logo, but contain specific information about the virtual component.

[0033] Specifically, each node contains the identification information of the virtual component, such as the name or unique identifier, and a series of detailed information about the component's attributes. These attribute information may include but is not limited to the component's type, state, configuration parameters, version, and connection relationship with other components.

[0034] In this invention, we introduce an innovative heat map display mechanism to intuitively reveal the hot spots of virtual component consumption. This heat map display method presents the degree of component consumption in a visual form through color gradients, allowing decision makers to quickly identify bottlenecks and hot spots in component usage, thereby providing strong support for component upgrade and optimization decisions.

[0035] Specifically, the color blocks in the heat map represent the consumption of virtual components. The darker the color, the greater the consumption of the virtual component, and vice versa. In this way, decision makers can intuitively understand which areas have high component utilization rates and which areas may have idle components.

[0036] This example uses a mesh topology to display the dependencies between virtual components and uses a heat map to map the load of virtual components. The steps to establish it are as follows:

[0037] Step 1, establish an information matrix to store the specific information of each virtual private component. The size of the information matrix depends on the number of virtual components. The number of rows is equal to the number of virtual components, and the number of columns is equal to the specific information of the virtual components, including but not limited to the name of the virtual component, firmware version, etc.

[0038] Step 2: Establish a connection matrix to store the dependencies between nodes. The connection matrix is ​​used to store the connection dependencies of virtual components. It is a matrix with the same number of rows and columns, where each column represents the dependency of other virtual components on the component. For example, row 1 and column 4 means that virtual component 4 is dependent on virtual component 1.

[0039] Step 3: Create a data table to store various data used to calculate the virtual component upgrade reward value and the load conditions of the virtual component in each time period.

[0040] Step 3: The system front end reads the connection matrix and graphically represents the dependencies between virtual components in the form of a mesh topology diagram.

[0041] Step 4: The system front end reads the load data of each virtual component and overlays a thermal map on the original mesh topology map.

[0042] Among them, the heat map has a color gradient mechanism. In order to accurately quantify the load of the virtual component, the color is divided into 100 blocks, which just corresponds to the load of the virtual component from 0% to 100%.

[0043] When the display in the heat map is dark, it means that its virtual component is under high load;

[0044] When the display in the heat map is light, it means that its virtual component is in a low load state or no load state;

[0045] When a component is displayed in gray in the heat map, it means that its virtual component is offline.

[0046] Step 5: Build a sliding window on the front end of the system to display the load conditions of each load in each time period.

[0047] Decision makers can slide the timeline to observe the changing trends of component consumption hotspots over time and gain a deeper understanding of component usage.

[0048] In steps 1 and 2, the information matrix and the connection matrix can be separately established in the database as data tables to facilitate later reading.

[0049] Example 2: A visual virtual component intelligent upgrade method based on upgrade requirement priority, the upgrade steps are as follows:

[0050] Step 1: The system creates an upgrade list. The content of each element in the upgrade list includes: virtual component number, virtual component version, and virtual component upgrade requirement;

[0051] The upgrade list reads all virtual components into the upgrade list by reading the information matrix.

[0052] Step 2: the system sorts the virtual components to be upgraded in the upgrade list according to the upgrade requirement of each virtual component calculated by the formula, and sorts the virtual components from high to low according to the upgrade requirement of the virtual components.

[0053] The virtual component upgrade requirement is calculated using the following formula: U d =α*U s (s) 2 +β*R(s) 2 +γ*SScore(s) 2

[0054] in,

[0055] U s (s) represents the average load of virtual component s, which can be directly obtained through the data stored in the database.

[0056] R(s) represents the upgrade reward of virtual component s, which needs to be calculated through a calculation formula.

[0057] SScore(s) represents the safety score of virtual component s, which needs to be calculated using a calculation formula.

[0058] α represents the proportion of average load in the upgrade demand, which is determined according to specific usage.

[0059] β represents the proportion of upgrade rewards in the upgrade demand, which is determined based on specific usage.

[0060] γ represents the proportion of the security score in the upgrade demand, which is determined based on specific usage.

[0061] The calculation formula of the virtual component safety score SScore(s) of the virtual component s is as follows: SScore(s)=(1-VR(s)))*IM(s)

[0062] Among them, VR(s) represents the degree of damage of the security vulnerability of virtual component s, and IM(s) represents the security improvement effect of virtual component s after the vulnerability is repaired.

[0063] The calculation formula of the degree of harm of the security vulnerability of virtual component s is as follows:

[0064] Among them, v i (s) is the severity score of the security vulnerability in the virtual component, p i (s) is the probability of the vulnerability occurring on the component, and MaxRisk is the preset maximum risk value used to normalize the risk score.

[0065] The calculation formula for the security improvement effect after the virtual component s fixes the vulnerability is as follows:

[0066] FixI(i) represents the security improvement impact value brought by fixing the vulnerability, FixP(i) represents the probability that a known vulnerability is fixed after the upgrade, InR(j) represents the impact of new risks that may be introduced by the new version, RP(j) represents the actual probability of the risk introduced by the new version, and MaxImprovement represents the maximum possible security improvement value, which is used to normalize the security improvement score.

[0067] The calculation formula of the upgrade reward R(s) of virtual component s is as follows:

[0068] Among them, B(s) represents the benefits that can be brought after the upgrade of virtual component s, which is calculated by the virtual component upgrade reward formula.

[0069] C(s) represents the cost required to upgrade virtual component s, which is calculated by the virtual component upgrade cost formula.

[0070] F(s) represents the risk that may be caused by upgrading virtual component s, which is calculated by the virtual component upgrade risk formula.

[0071] SF represents the scaling factor determined according to the specific usage scenario. The scaling factor SF is determined according to the specific usage scenario. For example, when calculating revenue, the more users there are, the greater the reward value will be. Therefore, the SF value should also be increased to reduce the final calculated reward value, so that it is more intuitive when statistics are made in the future.

[0072] The calculation formula of the upgrade benefit B(s) of virtual component s is as follows: B(s)=△U(s)*N(s)*P

[0073] in,

[0074] △U(s) represents the increment of user satisfaction after the upgrade of virtual component s. Since there is no initial data before the upgrade, the upgrade satisfaction of all virtual components defaults to 1 when the virtual component is upgraded for the first time. The satisfaction of subsequent upgrades is obtained through user surveys.

[0075] N(s) represents the number of users using virtual component s.

[0076] P represents the probability of successful virtual component upgrade. This probability is the average upgrade probability, which is calculated by averaging the results of multiple upgrades. Its initial value is 1 by default during the first upgrade.

[0077] The upgrade cost C(s) of virtual component s can be divided into two categories: resource cost and time cost.

[0078] The resource cost RC(s) of virtual component upgrade is calculated as follows: RC(s)=Σ(r i *c i )

[0079] in,

[0080] r i Indicates the number of resources of type i required for the virtual component upgrade.

[0081] c i Represents the cost of resource type i.

[0082] The calculation formula of the time cost TC(s) of virtual component upgrade is: TC(s)=(TC s *P)

[0083] in,

[0084] TC s Indicates the system upgrade time cost of virtual component upgrade, obtained from the timing in the system.

[0085] P represents the probability of successful virtual component upgrade. This probability is the average upgrade probability, which is calculated by averaging the results of multiple upgrades. Its initial value is 1 by default during the first upgrade.

[0086] Combining the above resource costs and time costs, the calculation formula for the total cost of upgrading virtual component s is: C(s)=RC(s)+TC(s)

[0087] The upgrade risk F(s) of virtual component s can be divided into the risk of virtual component service interruption and the risk of virtual component data loss.

[0088] The calculation formula for the virtual component service interruption risk IR(s) of the virtual component upgrade is: IR(s)=P i *DT i +(1-P i )*DT u

[0089] in,

[0090] P i Indicates the probability of a planned outage caused by a virtual component service upgrade. This probability is the average upgrade probability, which is calculated by averaging the results of multiple upgrades. The default initial value is 1 for the first upgrade.

[0091] DT i Indicates the average duration of planned outages caused by virtual component service upgrades. This duration is the average duration, calculated by averaging the results of multiple upgrades and is obtained through internal system timing.

[0092] DT u Indicates the average time of unplanned interruption caused by virtual component service upgrade. This probability is the average time, which is calculated by averaging the results of multiple upgrades and is obtained through internal system timing.

[0093] The calculation formula for the virtual component service data loss risk DR(s) of the virtual component upgrade is: DR(s)=P d *DL

[0094] in,

[0095] P dIndicates the probability of data loss caused by virtual component upgrade. This probability is the average probability, which is calculated by averaging the results of multiple upgrades. The default initial value is 1 during the first upgrade.

[0096] DL represents the average amount of data loss caused by virtual component upgrades, and its initial default value is 0.

[0097] Taking into account the above virtual component interruption risk and virtual component data loss risk, the total risk after the virtual component s is upgraded is calculated as follows: F(s)=IR(s)+DR(s)

[0098] Step 3, find the virtual component at the head of the upgrade list and write down its unique identifier.

[0099] Step 4: The administrator uses a secure authentication protocol to transfer the new version of the software package containing the latest functions and improvements to the specified storage path through the FTP service (File Transfer Protocol), ensuring that the software package can be reliably distributed and applied to the corresponding virtual component instance under the control of the virtual component management system.

[0100] FTP is a standard protocol for file transfer on the Internet. It allows users to exchange and manage files between different computers reliably and efficiently through the network. FTP is based on the client-server architecture, works at the application layer, and relies on the TCP / IP protocol to ensure reliable data transmission.

[0101] Step 5: Once the new version of the software package is ready, the system constructs an upgrade request instruction, which contains the unique identifier of the virtual component to be upgraded and the corresponding new version number parameter. This request with detailed upgrade information is then sent to the virtual component management system for subsequent scheduling and execution.

[0102] Step 6: After receiving the upgrade request, the virtual component management system, as the core scheduling unit, generates a detailed set of instructions for each specific virtual component upgrade requirement based on the received information. These instructions are then directed to the module responsible for the virtual component upgrade process to ensure that the upgrade operation is carried out in an orderly manner according to the preset strategy.

[0103] Step 7: When the virtual component upgrade module receives the above instruction, it starts the actual upgrade execution process. According to the instruction content, the module first securely downloads the specified new version of the virtual component software package from the FTP server.

[0104] Step 8: After the download is completed, the upgrade module processes each virtual component instance in turn according to the predetermined steps. The first step is to safely stop the currently running virtual component instance, then execute the installation program of the new software package, and reconfigure and initialize the component in strict accordance with the new version configuration specification to ensure that the new version component can operate smoothly and fully functional.

[0105] Step 9. After the new version of the virtual component is successfully deployed and passes a series of built-in stability and compatibility tests, if the new component exhibits the expected performance indicators and has no abnormal behavior, the virtual component upgrade module will officially record the upgrade operation as successful and feed back this confirmation result to the virtual component management system.

[0106] Step 10, after the virtual component manager receives the confirmation signal of successful upgrade, it will trigger the front-end notification mechanism to display a clear and unambiguous "upgrade completed" notification message to the system users and related services. This means that the entire virtual component upgrade process involved in the present invention has been successfully completed, and the updated virtual component is ready to provide enhanced service capabilities and feature support.

[0107] A visual virtual component intelligent upgrade method based on upgrade requirement priority. The steps in the manual upgrade mode do not require the first three steps in the fully automatic mode. The operator only needs to view the heat map and select the virtual components that need to be upgraded based on the actual usage and write down their numbers. The subsequent steps are the same as the above-mentioned fully automatic mode.

Claims

1. A visual virtual component intelligent upgrade method based on upgrade requirement priority, characterized in that: include: Use mesh topology to show dependencies between virtual components; Each node in the topology contains specific information about the virtual component. At the same time, the heat map intuitively displays the component consumption hotspots to help decision makers make upgrade decisions. The application of mesh topology in the visualization of virtual component dependencies significantly improves the efficiency and effectiveness of component management. By adopting a structured and intuitive mesh representation, the present invention provides an effective means to visualize the interdependencies between virtual components such as virtual machines, storage and network devices. With the help of the mesh topology proposed by the present invention, users can clearly identify the connection paths, dependencies and potential performance bottlenecks between components, and thus better manage and upgrade virtual components. In the above mesh topology, each node cleverly represents a specific virtual component, such as a virtual machine, storage device or network device. More importantly, these nodes are not just a simple logo, but contain specific information about the virtual component. Specifically, each node contains the identification information of the virtual component, such as the name or unique identifier, and a series of detailed information about the component's attributes. These attribute information may include but is not limited to the component's type, state, configuration parameters, version, and connection relationship with other components. In this invention, we introduce an innovative heat map display mechanism to intuitively reveal the hot spots of virtual component consumption. This heat map display method presents the degree of component consumption in a visual form through color gradients, allowing decision makers to quickly identify bottlenecks and hot spots in component usage, thereby providing strong support for component upgrade and optimization decisions. Specifically, each color block in the heat map represents the consumption of virtual components within a certain range. The darker the color, the greater the component consumption in that area, and vice versa. In this way, decision makers can intuitively understand which areas have high component utilization rates and which areas may have idle components. At the same time, the heat map also supports data analysis in the time dimension. Decision makers can slide the timeline to observe the changing trend of component consumption hotspots over time and further understand the usage of components. This is of great significance for predicting future component demand and formulating more accurate component upgrade and expansion plans.

2. The method according to claim 1, characterized in that The information contained in the mesh topology includes: In each node of the mesh topology, the unique identification code is the number of the virtual component; In each node of the mesh topology, the specific information of each node is stored in the information matrix; In each node of the mesh topology, the dependency of each node is stored in the connection matrix.

3. The method according to claim 1, characterized in that The display mechanism of the heat map includes: When the display in the heat map is dark, it means that its virtual component is under high load; When the display in the heat map is light, it means that its virtual component is in a low load state or no load state; When a component is displayed in gray in the heat map, it means that its virtual component is offline.

4. The method according to claim 1, characterized in that: The heat map supports data analysis in the time dimension, including: The load of virtual components in all time periods can be displayed intuitively by sliding the timeline; The average load of the virtual component can be calculated through the load conditions of all time periods to facilitate future virtual component upgrades.

5. The method according to claim 2, characterized in that: The information matrix comprises: The size of the information matrix depends on the number of virtual components. The number of rows is equal to the number of virtual components, and the number of columns is equal to the specific information of the virtual components, including but not limited to the name, firmware version, etc. of the virtual components.

6. The method according to claim 2, characterized in that The connection matrix comprises: The connection matrix is ​​used to store the connection dependencies of virtual components. It is a matrix with the same number of rows and columns, where each column represents the dependency of other virtual components on the component. For example, row 1 and column 4 means that virtual component 4 is dependent on virtual component 1.

7. A visual virtual component intelligent upgrade method based on upgrade requirement priority, characterized in that: include: Perform batch detection on the target virtual components, obtain the current version information of the virtual components, and query the latest version information recorded in the version library corresponding to each virtual component. According to the current version information and the latest version information of each firmware, a firmware upgrade plan is formulated. The plan covers the firmware version, estimated upgrade time, and upgrade operation mode. The upgrade mode is divided into fully automatic upgrade mode and manual upgrade mode to meet different operation requirements.

8. The method according to claim 7, characterized in that The fully automatic upgrade mode includes: Combining the usage of virtual components in the heat map, upgrade rewards, and security scores, a formula is used to comprehensively calculate the upgrade order of virtual components and whether the virtual components are worth upgrading based on the upgrade requirements of the virtual components.

9. The method according to claim 7, characterized in that: The manual upgrade mode includes: When manually making upgrade decisions, reasonable upgrade decisions can be made based on the virtual component load conditions displayed in the heat map. Without considering the virtual component upgrade rewards and the virtual component upgrade order, only the selected virtual components are upgraded.

10. The method according to claim 8, characterized in that The usage of virtual components in the heat map, due to the color gradient mechanism of the heat map, in order to accurately quantify the load of the virtual components, the colors are divided into 100 blocks, which just correspond to the load of the virtual components from 0% to 100%.

11. The method according to claim 8, characterized in that In the fully automatic upgrade mode, an upgrade list is generated for sorting the upgrade sequence of the virtual components. The upgrade list can be represented by a sequence table, and the content of each element in the table includes: The specific name of the virtual component, the virtual component number, the virtual component version, the virtual component upgrade requirement, and the number of the object on which the virtual component depends; After the upgrade rewards of all virtual components are calculated, combined with the average load of the virtual components in the heat map, the virtual component upgrade demand is finally obtained; According to the virtual component upgrade requirements, the upgrade order of the virtual components in the upgrade list is sorted. The higher the requirement, the higher the upgrade priority.

12. The method according to claim 11, characterized in that The upgrade list sorting method includes: The sorting methods can be quick sort, merge sort, heap sort, etc.

13. The method according to claim 8, characterized in that The calculation formula of the virtual component upgrade requirement is as follows: U d =*U s () 2 +β*R() 2 +γ*SScore(s) 2 in: 1) U s (): Average load of virtual component s. 2) R(s): Upgrade reward of virtual component s. 3) SScore(s): safety score of virtual component s. 4)α: The proportion of average load in the upgrade demand. 5)β: The proportion of upgrade rewards in the upgrade demand. 6)γ: The proportion of security score in the upgrade demand.

14. The method according to claim 13, characterized in that The virtual component security score includes: the degree of harm of the security vulnerability: the original security vulnerability of the virtual component and the degree of danger of the security vulnerability. The security improvement effect after the vulnerability is repaired: the score of the virtual component before the upgrade and the estimated score of the virtual component after the upgrade are combined to obtain the security improvement effect score after the vulnerability is repaired. The degree of damage of the security vulnerability of virtual component s can be calculated according to the following formula: in: 1)v i () is the severity score of the security vulnerability in the virtual component. 2) p i () is the probability of a vulnerability occurring on a component. 3) MaxRisk is the preset maximum risk value used to normalize the risk score. The security improvement effect of virtual component s after the vulnerability is repaired can be calculated according to the following formula: 1) FixI() indicates the security improvement impact value brought by fixing the vulnerability 2) FixP() indicates the probability that a known vulnerability will be fixed after an upgrade 3) InR(j) represents the impact of new risks that may be introduced by the new version 4) RP() represents the actual probability of the risk introduced by the new version 5) MaxImprovement represents the maximum possible safety improvement value, which is used to normalize the safety improvement score Therefore, the security score calculation formula of virtual resource s is: SScore(s)=(1-VR())*IM(s) 15. The method according to claim 13, characterized in that The calculation formula for the virtual component upgrade reward is as follows: in: 1) B(s): The benefits that can be brought by upgrading virtual component s. 2) C(s): the cost required to upgrade virtual component s. 3) F(s): The risks that may arise from upgrading virtual component s. 4)SF: Normalized upgrade reward.

16. The method according to claim 15, characterized in that The reward is the ratio of the difference between the benefit and the cost to the risk. Under the same benefit condition, the higher the risk value, the smaller the reward value.

17. The method according to claim 15, characterized in that The profit after the virtual component is upgraded is calculated as follows: B(s)=△U(s)*N()*P in: 1) △U(): The increase in user satisfaction after the upgrade of virtual component s. 2) N(s): the number of users using virtual component s. 3) P: The probability of successful virtual component upgrade.

18. The method according to claim 15, characterized in that The cost required for upgrading the virtual components includes: Resource cost: network resources, computing resources, storage resources, etc. required for virtual component upgrades; Time cost: System upgrade time required to upgrade virtual components. The resource cost required to upgrade virtual components s can be calculated according to the following formula: RC()=∑(r i * i ) in: 1)r i : The number of resource type i required for the virtual component upgrade. 2)c i : The cost of resource type i. The time cost required to upgrade the virtual component node s can be calculated according to the following formula: TC()=(C s *) in: 1)TC s : System upgrade time cost of virtual component upgrade. 2) P: The probability of successful virtual component upgrade. Therefore, the total cost of upgrading virtual component s is calculated as: C(s)=RC(s)+TC(s) 19. The method according to claim 15, characterized in that The virtual component upgrade risks include: Virtual component interruption risk: virtual component interruption time that may be caused by virtual component upgrades, including planned interruption time and unplanned interruption time. Risk of virtual component data loss: Virtual component upgrades may result in virtual component data loss, including user data and system data. The risk of virtual component interruption that may be caused by the upgrade of virtual component s can be calculated according to the following formula: IR()=P i *T i +(1-P i )*DT u in: 1)P i :The probability that a virtual component upgrade will cause a planned outage. 2) DT i : The average time of planned outage due to virtual component upgrades. 3)1- i :The probability of an unplanned outage due to a virtual component upgrade. 4) DT u : Mean time between unplanned outages due to virtual component upgrades. The risk of virtual component data loss that may be caused by the upgrade of virtual component s can be calculated according to the following formula: DR()=P d *L in: 1)P d :The probability of data loss caused by virtual component upgrade. 2) DL: The average amount of data loss caused by virtual component upgrade. Therefore, the total risk caused by the upgrade of virtual component s is calculated as: F(s)=IR(s)+DR(s) 20. The method according to claims 12, 13, 14, 15, 16, 17, characterized in that: The data used to calculate the upgrade requirement can be stored in an external database for long-term preservation, which is convenient for subsequent virtual component upgrade requirement calculation and data analysis and display.

21. A method for intelligently upgrading a visualized virtual component based on upgrade requirement priority, characterized in that: After the virtual components that need to be upgraded are selected through calculation, the upgrade steps are as follows: Step 1) Upload the software package containing the new version of the virtual component to the server at the back end of the system. Step 2) The system sends an upgrade request carrying the new virtual component version information to the virtual component manager. This request contains key data such as the new virtual component version number to be upgraded. Step 3) After receiving the upgrade request, the virtual component manager generates a corresponding upgrade instruction and then sends the instruction to the virtual component upgrade module. Step 4) After receiving the upgrade instruction, the virtual component upgrade module is responsible for executing the virtual component upgrade operation. Step 5) This includes downloading the specified new version of the virtual component software package from the server, stopping the currently running virtual component instance, and installing and configuring the new version of the virtual component. Step 6) When the new version of the virtual component is successfully deployed and runs stably, the virtual component upgrade module will confirm that the virtual component upgrade has been successfully completed and feed back the result to the virtual component manager. Step 7) After receiving the confirmation that the virtual component upgrade is successful, the virtual component manager sends a notification of upgrade completion to the system front end, indicating that the entire virtual component upgrade process is successfully completed.

22. The method according to claim 15, wherein the danger level of the security vulnerability is characterized by: The risk level can be determined based on CVSS scores or other industry standards.

Citation Information

Patent Citations

  • Replacing method and device for virtual assembly

    CN109621417A

  • Method and system for tracking progress and providing fault tolerance in automated upgrade of a network virtualization platform

    US20180060061A1