Method and device for controlling connection number of virtual machine
A technology for controlling virtual machines and virtual machines, applied in the field of communication, can solve problems such as difficult code maintenance, code redundancy, server performance loss, etc., and achieve the effect of improving server performance and avoiding code redundancy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0026] see figure 1 , figure 1 It is a schematic flowchart of the method for controlling the number of virtual machine connections provided by the first embodiment of the present invention. The methods include:
[0027] In step S101, the Internet protocol IP address of the received or sent data packet is acquired.
[0028] In step S102, if it is determined according to the IP address that the data packet belongs to a virtual machine on the server, a warning identifier is obtained.
[0029] Wherein, the steps S101 and S102 may specifically be:
[0030] The method for controlling the number of virtual machine connections can be based on running on a terminal server. When the server determines that the data message belongs to a virtual machine on the server according to the IP address of the data message, it obtains the current connection tracking method used to indicate the virtual machine. Whether the number exceeds the warning flag of the number of connection traces that c...
no. 2 example
[0038] see Figure 2a , Figure 2a It is a schematic flowchart of the method for controlling the number of virtual machine connections provided by the second embodiment of the present invention. Wherein, the method for controlling the number of virtual machine connections is based on running on a terminal server. When the server determines that the data message belongs to a virtual machine on the server according to the IP address of the data message, it obtains the information used to indicate the current connection of the virtual machine. A warning flag indicating whether the number of traces exceeds the number of connection traces that can be owned. If yes, the virtual machine is allowed to establish connection traces, thereby controlling the number of connections of the virtual machine.
[0039] Different from the first embodiment, this embodiment mainly describes in detail the calculation of the number of connection tracking that a virtual machine can have and the initia...
no. 3 example
[0079] In order to better implement the method for controlling the number of virtual machine connections provided by the embodiment of the present invention, the embodiment of the present invention further provides a device based on the above method for controlling the number of virtual machine connections. The meanings of the nouns are the same as those in the above method for controlling the number of virtual machine connections, and for specific implementation details, please refer to the description in the method embodiments.
[0080] see image 3 , image 3 A schematic structural diagram of a device for controlling the number of virtual machine connections provided by an embodiment of the present invention, wherein the device for controlling the number of virtual machine connections can run on a terminal server, and the server determines the data packet according to the IP address of the data packet When the packet belongs to a virtual machine on the server, a warning fl...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com