Probe-free supervision method and device for cloud computing
By establishing a process information output port on a virtual machine or physical machine in cloud computing, and proactively reporting key core process parameters of the system, the problem of high resource load and security risks caused by probe software is solved, and the performance of the cloud computing cluster is released and higher. Strong security protection.
Patent Information
- Application Number
- CN202310597235.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-24
- Publication Date
- 2024-09-17
AI Technical Summary
The deployment of a large number of probe software in cloud computing results in high computing resource load and increased security risks. Moreover, the probe software conflicts with business systems, making it difficult to troubleshoot compatibility issues.
Establish a process information output port on a virtual machine or physical machine, and proactively report key core process and application process parameters of the system through the core tuning technology of the operating system to achieve supervision and scheduling, avoid running multiple probes at the same time, and simplify the process parameter acquisition process. .
It solves the problems of cloud computing cluster computing resource occupation and software conflicts, releases performance, reduces the risk of software vulnerabilities, meets higher-intensity security protection requirements, and supports complex network topologies.
Smart Images

Figure CN118656180A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud computing, and in particular to a probe-free monitoring method and device for cloud computing. Background Art
[0002] At this stage, cloud computing technology has become the mainstream computing power foundation technology. Cloud computing solutions implemented using various virtualization technologies such as containers, KVM, and VMWare can centrally schedule and manage a large number of physical servers through cloud computing management software. In order to establish a two-way communication channel with the physical server, collect physical server information, and monitor the operating status, it is necessary to install probe software on the physical server. The probe monitors the local operating status and reports it to the cloud computing management software, receives instructions from the cloud computing management software, and operates the physical server according to the instructions.
[0003] Similarly, security software applicable to cloud computing systems also needs to install independent security probe software and cloud computing probes in the monitored physical machines, virtual machines or physical machines. Internet behavior management software, real-time monitoring software, logging software, some business software, etc. all need to install their own probe software independently on the physical machine, virtual machine or physical machine to collect various information from the server and execute the issued instructions.
[0004] However, a large number of probe software imposes a certain burden on server performance, consumes CPU and memory resources, and reduces the actual available resources for business. In order to collect information in real time and respond to and execute instructions in real time, probe software generally resides in memory and is always in operation. It may conflict with the operation status of various software such as business systems and other probe software, causing compatibility problems. Such problems are often difficult to troubleshoot. Since any software may have security vulnerabilities, major security vendors are always committed to discovering and disclosing software vulnerabilities before hackers. One of the purposes of deploying security software is to plug the vulnerabilities that have been disclosed in the software and keep it updated to plug the newly disclosed vulnerabilities. However, installing various probe software increases the risk of system vulnerabilities and expands the protection surface of possible vulnerabilities. In particular, the probes deployed by security software also inevitably increase the security risks of the system.
[0005] Therefore, a new solution is urgently needed to supervise cloud computing in the form of probes. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides a probe-free supervision method and device for cloud computing to eliminate or improve one or more defects existing in the prior art and solve the problem of increased security risks caused by high computing resource load due to the deployment of a large number of probes in cloud computing.
[0007] In one aspect, the present invention provides a probe-free supervision method for cloud computing, the method being used to run on one or more virtual machines or physical machines, each virtual machine being deployed on one or more physical servers, the method comprising the following steps:
[0008] Each virtual machine or physical machine is configured with one or more process information output ports based on a pre-loaded operating system;
[0009] Each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on a pre-loaded operating system according to multiple target requirements, and matches each target requirement process component to a process information output port respectively;
[0010] According to the system key core processes and application processes configured in each target demand process component, each virtual machine or physical machine spontaneously sends process parameters to each process information output port in real time, and forwards them to the supervision platform to generate process scheduling instructions or supervision reports based on the process parameters according to preset supervision and control decisions;
[0011] The process scheduling instructions fed back by the supervision platform are received and executed through each process information output port, or the supervision report fed back by the supervision platform is received.
[0012] In some embodiments, the target requirements include: data packet capture and analysis requirements, traffic control optimization requirements, process scheduling management requirements, security monitoring and defense requirements, application monitoring and management requirements, and user behavior analysis and investigation requirements.
[0013] In some embodiments, each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on a pre-loaded operating system according to various target requirements, including:
[0014] Setting standardized output methods, output contents, output formats and output feedback requirements for each system key core process and application process required in the target requirement process component;
[0015] Among them, the PCB structure is used to mark the process ID, running status, priority, field protection area, timestamp, parent process ID, number of threads and resource allocation of each system's key core process and application process.
[0016] In some embodiments, after each virtual machine or physical machine configures one or more process information output ports based on a pre-loaded operating system, the method further includes:
[0017] The virtual machine or physical machine receives the target requirement adding instruction sent by the supervision platform through a preset port, and adds a new target requirement, wherein the target requirement adding instruction includes description information of the target requirement to be added.
[0018] In some embodiments, each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on a pre-loaded operating system according to various target requirements, including:
[0019] Each virtual machine or physical machine searches for candidate system key core processes and candidate application programs according to each target requirement, and sends candidate process IDs and description information corresponding to the candidate system key core processes and the candidate application programs to the supervision platform;
[0020] Receive intermediate information fed back by the supervision platform on whether the scheduling decision and supervision requirements are met. If the intermediate information indicates that the scheduling decision and supervision requirements are not met, search for new candidate system key core processes and candidate applications until the scheduling decision and supervision requirements are met.
[0021] In some embodiments, the method further comprises:
[0022] The supervision platform receives a supervision request sent by one or more third-party supervision entities, wherein the supervision request includes identity information pre-registered by the third-party supervision entity and target demand description information;
[0023] The supervision platform authenticates the identity information, and if the authentication is passed, allocates or deploys corresponding process information output ports for the third-party supervision entity according to the target demand description information, so as to spontaneously send process parameters to each process information output port in real time.
[0024] In some embodiments, the method further comprises:
[0025] A log is created for each process information output port, and the process parameters that each virtual machine or physical machine spontaneously sends to each process information output port in real time are stored in the corresponding log.
[0026] In some embodiments, the method further comprises:
[0027] The process parameters within a set time range stored in each log are fitted to predict the operating status of each virtual machine or physical machine, and the supervision platform generates the scheduling instructions and supervision reports according to the predicted operating status of each virtual machine or physical machine.
[0028] On the other hand, the present invention also includes a probe-free supervision device for cloud computing, including a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the above method.
[0029] On the other hand, the present invention also includes a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.
[0030] The beneficial effects of the present invention are at least:
[0031] The probe-free monitoring method and device for cloud computing described in the present invention manage processes based on the core tuning technology of the operating system, actively report the key core processes and application processes of the system by establishing a process information output port on a virtual machine or a physical machine, and avoid running multiple probes such as monitoring alarm, security protection, and health status on virtual machines or physical machines in a cloud computing cluster at the same time during the execution of supervision and scheduling, thereby solving the problem of occupying computing resources of the cloud computing cluster and conflicting with operating system software, cloud computing management software, and business software, and releasing the performance of the cloud computing cluster; liberating the dependence of monitoring and management requirements in computing, network, security, etc. on the performance of computing nodes, providing multi-network forwarding capabilities, and supporting complex and larger-scale network topologies; reducing the number of installed software, reducing the risk of software vulnerabilities, and meeting higher-intensity cloud computing security protection requirements.
[0032] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.
[0033] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:
[0035] Figure 1 The figure is a flow chart of a probe-free supervision method for cloud computing according to an embodiment of the present invention.
[0036] Figure 2The diagram is a schematic diagram of the structure of a virtual machine or a physical machine in a probe-free monitoring method for cloud computing according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0038] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0039] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0040] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.
[0041] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0042] Cloud computing based on virtual machines or physical machines is a technology that abstracts computing resources into virtual machines or physical machines, allowing users to use and deploy virtual machine or physical machine instances in a cloud environment. Each virtual machine or physical machine instance has an independent operating system, applications, and resources, and can be run and managed like a physical server. Cloud computing based on virtual machines or physical machines usually includes the following steps:
[0043] 1. Virtualization: Divide a physical server into multiple virtual machines or physical machine instances through virtualization technology (such as KVM, VMware, VirtualBox, etc.).
[0044] 2. Resource pooling: abstract computing resources (such as CPU, memory, storage, etc.) into resource pools and provide users with computing resources allocated on demand.
[0045] 3. Automated management: Use automated management tools (such as Ansible, Puppet, etc.) to automate the deployment, configuration, and maintenance of virtual or physical machine instances.
[0046] Cloud computing based on virtual machines or physical machines can dynamically increase or decrease computing resources as needed to meet different business needs. Users can choose different operating systems and applications according to their needs, and freely configure and manage them. Data security can be protected by isolating virtual machines or physical machine instances of different users, and security measures such as access control and identity authentication can also be implemented. Data reliability and availability can be guaranteed through mechanisms such as backup and recovery. Cloud computing based on virtual machines or physical machines has become one of the important infrastructures of modern enterprises and is widely used in various scenarios, such as Web services, big data processing, artificial intelligence and other fields.
[0047] In the prior art, in order to achieve supervision of cloud computing, probes are usually deployed to collect and analyze parameters of virtual machines or physical machines or physical machines that host virtual machines or physical machines. Probes capture, parse, store and analyze data packets to understand network conditions, discover potential security issues and performance bottlenecks, and perform resource scheduling and alarm processing for cloud computing based on the detection results.
[0048] However, due to the differences in regulatory objectives of different users and the need for functional expansion, the large-scale deployment of probes in cloud computing will lead to increased latency, increased costs, increased security risks, reduced reliability and increased complexity, affecting network performance and real-time monitoring capabilities, and causing data leakage and other security issues.
[0049] The present application provides a probe-free supervision method and device for cloud computing, which builds a management mechanism for process parameters through the process management function of the virtual machine or physical machine itself without using probes, and provides a supervision solution that can meet supervision needs.
[0050] Specifically, the present application provides a probe-free supervision method for cloud computing, referring to Figure 2 The method is used to run on one or more virtual machines or physical machines, each virtual machine is deployed on one or more physical servers, such as Figure 1 As shown, the method includes the following steps S101 to S104:
[0051] Step S101: Each virtual machine or physical machine is configured with one or more process information output ports based on a pre-loaded operating system, such as Figure 2 shown.
[0052] Step S102: Each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on a pre-loaded operating system according to multiple target requirements, and matches each target requirement process component to a process information output port.
[0053] Step S103: According to the system key core processes and application processes configured in each target demand process component, each virtual machine or physical machine spontaneously sends process parameters to each process information output port in real time, and forwards them to the supervision platform to generate process scheduling instructions or supervision reports based on the process parameters according to preset supervision and control decisions.
[0054] Step S104: receiving and executing the process scheduling instructions fed back by the supervision platform through each process information output port, or receiving the supervision report fed back by the supervision platform.
[0055] In step S101, cloud computing is constructed by deploying virtual machines or physical machines, computing resources (such as CPU, memory, storage, etc.) are abstracted into a resource pool, and computing resources allocated on demand are provided to users. In this embodiment, by deploying a process information output port on each virtual machine or physical machine, a path is provided for the subsequent active output of process parameters. The process information output port can take a variety of forms, such as an API interface, through which the virtual machine or physical machine is deployed to the cloud platform. This method usually requires the use of API documents and SDK (Software Development Kit) provided by the cloud platform for development. CLI interface, deploying the virtual machine or physical machine to the cloud platform through the command line interface (CLI). Web interface, deploying the virtual machine or physical machine to the cloud platform through the Web interface. This method usually requires logging in to the control panel or management interface of the cloud platform, and then following the prompts. Script interface: deploying the virtual machine or physical machine to the cloud platform by writing a script.
[0056] The operating system pre-loaded on a virtual machine or physical machine can be set according to the needs of the actual application scenario. The mainstream configuration options include operating systems with a certain degree of commonality, such as Linux, Windows, Kylin, as well as dedicated systems that implement specific functions.
[0057] In step S102, in order to realize the autonomous provision of process parameters required for supervision, the present application combines and configures the key core processes and applications of the system according to the requirements of different supervision objects and targets based on the pre-loaded operating system. The purpose is to enable each supervision subject to obtain the corresponding process parameters according to the requirements. Specifically, in some embodiments, the target requirements include: data packet capture and analysis requirements, flow control optimization requirements, process scheduling management requirements, security monitoring and defense requirements, application monitoring and management requirements, and user behavior analysis and investigation requirements.
[0058] For packet capture and analysis needs, you can actively capture and report packets on the network, and use the mobile monitoring platform to analyze them to understand information such as network traffic, protocol type, source address, and destination address.
[0059] For traffic control optimization needs, the bandwidth usage, traffic peak, packet loss rate, latency, throughput, CPU utilization, etc. of each virtual machine, physical machine or working node can be actively reported for monitoring and management.
[0060] For process scheduling management needs, supervision and scheduling decisions can be achieved by actively reporting CPU utilization, memory usage, process status, network traffic, etc.
[0061] For security monitoring and defense needs, intrusion detection, malicious attacks, virus protection, etc. can be implemented to protect network security by reporting network traffic, monitoring server logs, unauthorized access, etc.
[0062] For application monitoring and management needs, supervision and decision-making can be carried out by actively reporting CPU utilization, memory usage, process status, network traffic, disk I / O operations, logs and error information to improve the quality and reliability of applications.
[0063] For user behavior analysis survey needs, we can actively report users' access history, search history, online time, etc. to understand user needs and behavioral habits, and provide reference for product and service improvements.
[0064] For each target demand, the system key core process and application process combination are configured separately and forwarded through a separate process information output port. When there is a supervisory party that needs to supervise the corresponding target demand, the data of the process information output port can be directly called to realize the supervision or scheduling function without deploying probes, which greatly simplifies the process of obtaining process parameters, simplifies the complexity of the entire cloud computing, saves resources, and provides more space for expanding the topology structure.
[0065] In some embodiments, each virtual machine or physical machine combines each system key core process and application process into a corresponding target requirement process component based on a preloaded operating system in accordance with multiple target requirements, including: setting standardized output methods, output content, output formats and output feedback requirements for each system key core process and application process required in the target requirement process component; wherein, a PCB structure is used to mark the process ID, running status, priority, field protection area, timestamp, parent process ID, number of threads and resource allocation of each system key core process and application process.
[0066] In the process PCB structure:
[0067] A process ID (PID) is a number that uniquely identifies a process and is used for inter-process communication in the operating system.
[0068] State is used to describe the current state of a process, such as running, waiting, blocking, etc.
[0069] Priority is used to describe the priority of a process and is used in the scheduling algorithm in the operating system.
[0070] The context protection area (SP) is used to describe the address space range of a process in memory and to protect the memory space of a process from being accessed by other processes.
[0071] Timestamp is used to record the timestamp of process creation and to calculate the running time of the process.
[0072] The parent process ID (PPID) is used to describe the parent process number of a process and is used to implement switching and management between parent and child processes.
[0073] The thread number (TID) is used to describe the number of threads in the current process.
[0074] Resource Allocation is used to describe the system resources occupied by the current process, such as CPU time slices, memory usage, etc.
[0075] In step S103, during operation, the virtual machine or physical machine actively reports process parameters according to the pre-deployed process information output ports and the system key core processes and application processes configured for each process information output port, thereby eliminating the need for probe deployment.
[0076] The supervision platform may be a cloud computing management platform in the current virtual machine or physical machine operating environment, or a third-party supervision platform.
[0077] In step S104, the supervision platform can make scheduling decisions and generate supervision reports according to preset rules based on the process parameters of the corresponding target requirements provided by each process information output port.
[0078] In some embodiments, after step S101, that is, after each virtual machine or physical machine configures one or more process information output ports based on the preloaded operating system, it also includes: the virtual machine or physical machine receives a target requirement adding instruction sent by the supervision platform through a preset port, and adds a new target requirement, and the target requirement adding instruction includes description information of the target requirement to be added.
[0079] In order to meet the newly added supervision requirements, this embodiment sets a dedicated preset port to receive the newly added target requirement adding instruction, obtains its description information, and then configures the new process information output port, and deploys the corresponding system key core process and application process, so as to realize the expansion of the supervision function. Furthermore, in addition to the target requirement adding instruction, the target requirement deletion instruction can also be set.
[0080] In some embodiments, in step S102, each virtual machine or physical machine combines each system key core process and application process into a corresponding target requirement process component based on a pre-loaded operating system according to multiple target requirements, including steps S1021 to S1022:
[0081] Step S1021: Each virtual machine or physical machine searches for a candidate system key core process and a candidate application according to each target requirement, and sends the candidate process ID and description information corresponding to the candidate system key core process and the candidate application to the supervision platform;
[0082] Step S1022: Receive intermediate information from the regulatory platform on whether the scheduling decision and regulatory requirements are met. If the intermediate information indicates that the scheduling decision and regulatory requirements are not met, search for new candidate system key core processes and candidate applications until the scheduling decision and regulatory requirements are met.
[0083] In this embodiment, in the process of configuring system key core processes and application processes for target regulatory requirements, in order to better adapt to the requirements of the regulatory platform, the selected candidate system key core processes and candidate applications need to be reported to the regulatory platform for review to see whether they meet the requirements. If the review is passed, the configuration and deployment will be carried out.
[0084] In some embodiments, the method further includes steps S201-S202:
[0085] Step S201: The supervision platform receives a supervision request sent by one or more third-party supervision entities, where the supervision request includes the pre-registered identity information of the third-party supervision entity and a description of the target supervision requirement.
[0086] Step S202: The supervision platform authenticates the identity information. If the authentication is successful, the supervision platform allocates or deploys the corresponding process information output port for the third-party supervision entity according to the target supervision requirement description information, so as to spontaneously send process parameters to each process information output port in real time.
[0087] In this embodiment, the supervision platform acts as a relay to provide a process information output port of corresponding supervision requirements to the third-party supervision entity to meet the needs of the third-party supervision entity.
[0088] In some embodiments, the method further includes: establishing a log for each process information output port, and storing the process parameters that each virtual machine or physical machine spontaneously sends to each process information output port in real time in the corresponding log. Further, the method further includes: fitting the process parameters within a set time range stored in each log to predict the operating status of each virtual machine or physical machine, and allowing the supervision platform to generate scheduling instructions and supervision reports based on the predicted operating status of each virtual machine or physical machine.
[0089] This embodiment establishes a log to record the process parameters output by each process information output port, and performs fitting to achieve the prediction of future states, so as to achieve the ability of supervision and early warning. Specifically, the fitting of process parameters can adopt: linear regression, exponential smoothing method, autoregressive model, moving average model, autoregressive moving average model or autoregressive moving average model.
[0090] On the other hand, the present invention also includes a probe-free supervision device for cloud computing, including a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the above method.
[0091] On the other hand, the present invention also includes a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.
[0092] The present invention is described below in conjunction with a specific embodiment:
[0093] This embodiment provides a probe-free monitoring system for cloud computing. Virtual machines are constructed through virtualization software such as KVM and VMWare to form cloud computing. The virtual machines or physical machines are loaded with operating systems with a certain degree of commonality such as Linux, Windows, Kylin, etc. The system's own key core processes are resident in the system and always remain in operation. It has a method for obtaining key information about the system's operating status and a method for executing key system instructions.
[0094] 1) Get system information
[0095] According to the design characteristics of various operating systems, find out the methods of obtaining key information of system operation status in key core processes. According to the general process of obtaining monitoring information, find out the methods of outputting key core process information and summarize them into output methods, output content, output format, output feedback, etc.
[0096] Verify that the data output by this method should include CPU usage, CPU temperature, memory usage, and a list of processes currently being executed by the system. The list includes the name, number, CPU usage, memory usage, start time, program name of the process, and other information related to the system's operating status. If the information contained does not meet the requirements of business monitoring or instruction execution, you should use the above method to find more key system processes and methods to output their information.
[0097] When the found core key processes and their output information content meet the monitoring and instruction requirements, a software program is created. The program receives the output content of the key core processes according to the output method, output content, output format, and output feedback requirements of the key core processes, and sends this part of the content to the cloud computing platform. Other software except the cloud computing platform can obtain this part of information through the cloud computing platform.
[0098] 2) Send system instructions
[0099] According to the design characteristics of various operating systems, find out the methods of sending operation instructions in their key core processes. According to the general process of sending operation instructions, find out the information input methods of sending operation instructions in the key core processes, and summarize them into input methods, input content, input format, input feedback, etc.
[0100] To verify the data input by this method, the key system processes should be able to perform corresponding boot, shutdown, suspend and other operations, as well as the ability of the operating system to currently execute processes. This ability includes various operations such as starting, suspending, closing and killing each process. If these operations cannot meet the requirements of business monitoring or command execution, more key system processes and their command input methods should be found according to the above method.
[0101] When the found core key processes and their executable operation instructions meet the monitoring and business instruction requirements, a software program is created. The program has the ability to send instruction information to the key core processes according to the input method, input content, input format, input feedback and other requirements of the key core processes. This part of the instructions comes from the cloud computing platform. Other software except the cloud computing platform can obtain the method of sending this part of the instructions through the cloud computing platform.
[0102] 3) Using virtualization software to achieve complete probe-free
[0103] Virtualization software such as KVM and VMWare perform virtualization operations based on the operating system. They can perform operations such as starting, suspending, shutting down, and destroying virtual machines, and have their own virtual machine running status monitoring process. Cloud computing management software uses the core execution process and monitoring process that come with virtualization software such as KVM to adapt it to the data receiving and instruction execution methods of the core key processes of the operating system. At this time, the core process that comes with the virtualization software can replace the software program that receives operating system monitoring information and executes operating system instructions produced by cloud computing software, receive monitoring information sent by the core key process of the operating system, and forward it to the cloud computing platform; or receive instructions from the cloud computing platform, send instruction information to the core key process of the operating system, and make the core key process of the operating system execute the corresponding instructions.
[0104] As the basic software of cloud computing platform, virtualization software is usually installed in cloud computing environment. If virtualization software is installed and cooperated with cloud computing platform, it can realize probe-free monitoring of operating system operation in cloud computing environment and implement probe-free issuing instructions to operating system and execution.
[0105] This embodiment is based on the core tuning technology of the operating system to avoid running multiple probes such as monitoring alarm, security protection, and health status on the physical machines in the cloud computing cluster at the same time, solves the problems of occupying the computing resources of the cloud computing cluster and conflicts with the operating system software, cloud computing management software, and business software, and releases the performance of the cloud computing cluster; it liberates the dependence of monitoring and management requirements in computing, network, security, etc. on the performance of computing nodes, provides multi-network forwarding capabilities, and supports complex and larger-scale network topologies; it reduces the number of installed software, reduces the risk of software vulnerabilities, and meets higher-intensity cloud computing security protection requirements.
[0106] To sum up, the probe-free supervision method and device for cloud computing described in the present invention manage processes based on the core tuning technology of the operating system, and actively report the key core processes and application processes of the system by establishing a process information output port on the virtual machine or physical machine. In the process of executing supervision and scheduling, it avoids the simultaneous running of multiple probes such as monitoring alarm, security protection, and health status on the virtual machines or physical machines in the cloud computing cluster, solves the problem of occupying cloud computing cluster computing resources and conflicting with operating system software, cloud computing management software, and business software, and releases the performance of the cloud computing cluster; liberates the dependence of computing, network, security and other monitoring and management requirements on computing node performance, provides multi-network forwarding capabilities, and supports complex and larger-scale network topologies; reduces the number of installed software, reduces the risk of software vulnerabilities, and meets higher-intensity cloud computing security protection requirements.
[0107] Corresponding to the above method, the present invention also provides an apparatus / system, which includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the apparatus / system implements the steps of the method described above.
[0108] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned edge computing server deployment method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0109] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is 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 the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.
[0110] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0111] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A probe-free supervision method for cloud computing, It is characterized in that The method is used to run on one or more virtual machines or physical machines, each virtual machine is deployed on one or more physical servers, and the method includes the following steps: Each virtual machine or physical machine is configured with one or more process information output ports based on a pre-loaded operating system; Each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on a pre-loaded operating system according to multiple target requirements, and matches each target requirement process component to a process information output port respectively; According to the system key core processes and application processes configured in each target demand process component, each virtual machine or physical machine spontaneously sends process parameters to each process information output port in real time, and forwards them to the supervision platform to generate process scheduling instructions or supervision reports based on the process parameters according to preset supervision and control decisions; The process scheduling instructions fed back by the supervision platform are received and executed through each process information output port, or the supervision report fed back by the supervision platform is received.
2. The probe-free supervision method for cloud computing according to claim 1, It is characterized in that The target requirements include: data packet capture and analysis requirements, traffic control optimization requirements, process scheduling management requirements, security monitoring and defense requirements, application monitoring and management requirements, and user behavior analysis and investigation requirements.
3. The probe-free supervision method for cloud computing according to claim 1, It is characterized in that Each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on the pre-loaded operating system according to various target requirements, including: Setting standardized output methods, output contents, output formats and output feedback requirements for each system key core process and application process required in the target requirement process component; Among them, the PCB structure is used to mark the process ID, running status, priority, field protection area, timestamp, parent process ID, number of threads and resource allocation of each system's key core process and application process.
4. The probe-free supervision method for cloud computing according to claim 1, It is characterized in that After each virtual machine or physical machine is configured with one or more process information output ports based on the pre-loaded operating system, it also includes: The virtual machine or physical machine receives the target requirement adding instruction sent by the supervision platform through a preset port, and adds a new target requirement, wherein the target requirement adding instruction includes description information of the target requirement to be added.
5. The probe-free supervision method for cloud computing according to claim 4, It is characterized in that Each virtual machine or physical machine combines key core processes and application processes of each system into corresponding target requirement process components based on the pre-loaded operating system according to various target requirements, including: Each virtual machine or physical machine searches for candidate system key core processes and candidate application programs according to each target requirement, and sends candidate process IDs and description information corresponding to the candidate system key core processes and the candidate application programs to the supervision platform; Receive intermediate information fed back by the supervision platform on whether the scheduling decision and supervision requirements are met. If the intermediate information indicates that the scheduling decision and supervision requirements are not met, search for new candidate system key core processes and candidate applications until the scheduling decision and supervision requirements are met.
6. The probe-free supervision method for cloud computing according to claim 1, It is characterized in that The method further comprises: The supervision platform receives a supervision request sent by one or more third-party supervision entities, wherein the supervision request includes identity information pre-registered by the third-party supervision entities and target demand description information; The supervision platform authenticates the identity information, and if the authentication is passed, allocates or deploys corresponding process information output ports for the third-party supervision entity according to the target demand description information, so as to spontaneously send process parameters to each process information output port in real time.
7. The probe-free supervision method for cloud computing according to claim 1, It is characterized in that The method further comprises: A log is created for each process information output port, and the process parameters that each virtual machine or physical machine spontaneously sends to each process information output port in real time are stored in the corresponding log.
8. The probe-free supervision method for cloud computing according to claim 7, It is characterized in that The method further comprises: The process parameters within a set time range stored in each log are fitted to predict the operating status of each virtual machine or physical machine, and the supervision platform generates the scheduling instructions and supervision reports according to the predicted operating status of each virtual machine or physical machine.
9. A probe-free monitoring device for cloud computing, comprising a processor and a memory, It is characterized in that The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Safety patch system, and method and device for monitoring protected system
CN119232449A
