CN113904802A - Mimicry cloud application management method, communication agent module and cloud application management module - Google Patents
Mimicry cloud application management method, communication agent module and cloud application management module Download PDFInfo
- Publication number
- CN113904802A CN113904802A CN202111036383.4A CN202111036383A CN113904802A CN 113904802 A CN113904802 A CN 113904802A CN 202111036383 A CN202111036383 A CN 202111036383A CN 113904802 A CN113904802 A CN 113904802A
- Authority
- CN
- China
- Prior art keywords
- cloud application
- module
- agent
- information
- service module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0281—Proxies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0227—Filtering policies
- H04L63/0236—Filtering by address, protocol, port number or service, e.g. IP-address or URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Hardware Redundancy (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a mimicry cloud application management method, a communication agent module and a cloud application management module, wherein the mimicry cloud application management method comprises the following steps: receiving initial master-slave agent deployment information from a cloud application management module, and performing initial master-slave agent deployment; receiving initial cloud application deployment information from a cloud application management module, and performing initial cloud application configuration; monitoring whether the main proxy service module is abnormal in real time in the process of carrying out service processing by the main proxy service module; when the main agent service module is determined to be abnormal, generating main agent abnormal information and uploading the main agent abnormal information to the cloud application management module; according to the cloud application configuration information updating method and device, the relevant information of the cloud application can be dynamically maintained in real time, the maintainability of the system is enhanced, and the problem that the configuration information of the cloud application cannot be timely updated by the proxy service module when the cloud application is abnormal is effectively solved; meanwhile, the whole system has the fault automatic recovery capability, and the anti-interference capability of the system is improved.
Description
Technical Field
The invention relates to the technical field of mimicry defense, in particular to a mimicry cloud application management method, a communication agent module and a cloud application management module.
Background
In a mimicry cloud application system, when a proxy service module configures related information of cloud application, a currently adopted method is that maintenance personnel manually modifies a proxy service module configuration file, and the method has the following defects:
(1) external maintenance personnel are required to intervene, cloud application information is obtained by inquiring a cloud management database, then a path where a configuration file is located is found layer by layer, and then the configuration file of an agent service module is modified, so that the maintenance personnel cannot leave a maintenance system at any time, and the initial cloud application deployment cannot be updated under the condition that the offline state of the maintenance personnel is not met;
(2) the operation is complicated, operation and maintenance are not facilitated, and related information of the cloud application cannot be modified in time;
(3) the requirement on professional literacy of maintainers is high, time and labor are wasted, the working efficiency of the mimicry cloud application system is seriously influenced, and the problem of hysteresis exists; however, the time effectiveness of the simulated cloud application system is required to be high, especially for some cloud applications involving public services.
In addition, the proxy service module is used as a reverse proxy of the cloud application server, and when the proxy service module is abnormal, a highly available mechanism is needed to ensure normal operation of the service.
In order to solve the above problems, people are always seeking an ideal technical solution.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a mimicry cloud application management method, a communication agent module and a cloud application management module for automatically modifying cloud application related information by internal components of a system.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention provides a mimicry cloud application management method, which is executed by a communication agent module and comprises the following steps:
when the communication agent module is started, a registration request is generated and sent to the cloud application management module through a long connection established in advance;
receiving initial master and slave agent deployment information from a cloud application management module, wherein the initial master and slave agent deployment information comprises master and slave state identifiers and IP address information of an agent service module;
if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located;
if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
after the initial master/standby agent configuration is finished, controlling a corresponding agent service module to restart so that the initial master/standby agent configuration information becomes effective;
monitoring whether a main proxy service module is abnormal in real time in the process of carrying out business processing; if the abnormal condition exists, generating abnormal information of the main agent and uploading the abnormal information to the cloud application management module; after a main switching request from a cloud application management module is received, reconfiguring a main proxy service module into a standby proxy service module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located;
after receiving a standby switching main request from a cloud application management module, reconfiguring a standby proxy service module into a main proxy service module, and setting an effective IP address II in the standby switching main request as a network card binding address of a physical server where the standby proxy service module is located so as to perform standby proxy deployment and update;
and after the master and standby agent deployment updating is completed, controlling the corresponding agent service module to restart.
The second aspect of the present invention provides another mimicry cloud application management method, executed by a cloud application management module, the method including the steps of:
a registration request is received from the communication proxy module,
recording the registration request, configuring an agent service module corresponding to one communication agent module as a main agent service module, generating an effective IP address I, acquiring initial main and standby agent deployment information I and issuing the information to the corresponding communication agent module;
configuring an agent service module corresponding to the other communication agent module as a standby agent service module, generating an invalid IP address, obtaining initial master and standby agent deployment information II and issuing the information II to the corresponding communication agent module;
determining whether a first response message from the communication agent module is received, and judging that the initial master/standby agent configuration is completed in response to the received first response message;
and determining whether the master agent abnormal information from the communication agent module is received, responding to the received master agent abnormal information to trigger the master-slave switching logic, generating a master switching request and a slave switching request, and issuing the master switching request and the slave switching request to the corresponding communication agent module.
A third aspect of the present invention provides a communication proxy module, comprising:
the first registration request management unit is used for generating a registration request and sending the registration request to the cloud application management module through a long connection established in advance when the communication agent module is started;
the first active/standby agent deployment unit is used for receiving initial active/standby agent deployment information from the cloud application management module, wherein the initial active/standby agent deployment information comprises active/standby state identification and IP address information of the agent service module; if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located; if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
the first cloud application deployment unit is used for writing initial cloud application deployment information into an http configuration module in a configuration file of the proxy service module after receiving the initial cloud application deployment information from the cloud application management module;
the first restarting control unit is used for controlling the corresponding agent service module to restart after determining that initial master-slave agent deployment and initial cloud application deployment are completed, so that the initial master-slave agent deployment and the initial cloud application deployment take effect;
the abnormality monitoring unit is used for acquiring a command execution result through a shell command in the process of carrying out service processing on the main proxy service module so as to monitor whether the main proxy service module is abnormal or not in real time;
the abnormality processing unit is used for generating main proxy abnormality information and uploading the main proxy abnormality information to the cloud application management module when the main proxy service module is determined to be abnormal; the main proxy service module is used for reconfiguring the main proxy service module into a standby proxy service module after receiving a main switching request from the cloud application management module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located; the standby agent service module is used for reconfiguring the standby agent service module into the main agent service module after receiving the standby main request from the cloud application management module, and setting an effective IP address II in the standby main request as a network card binding address of a physical server where the standby agent service module is located so as to carry out the deployment and updating of the main agent and the standby agent;
the second restart control unit is used for controlling the corresponding proxy service module to restart after the main/standby proxy deployment and updating are completed;
the cloud application abnormity monitoring unit is used for monitoring whether the cloud application execution body is abnormal in real time in the running process of the cloud application execution body, and reporting abnormal cloud application execution body information to the cloud application management module when executing body abnormal metadata sent by the corresponding proxy service module is received;
the first cloud application monitoring unit is used for determining whether cloud application execution body change information carrying a cloud application identification ID is received;
the first processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in a manner of being associated with a cloud application Identification (ID) according to the cloud application Identification (ID) carried by the cloud application execution body change information after the cloud application execution body change information from the cloud application management module is received; replacing the configuration information of the old cloud application execution body in the http configuration module with the configuration information of the new cloud application execution body, restarting the corresponding proxy service module to enable the cloud application execution body to change the configuration and take effect, and then sending response information to the cloud application management module;
the second cloud application monitoring unit is used for determining whether cloud application deleting information carrying a cloud application identification ID is received;
and the second processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in association with the cloud application identification ID according to the cloud application identification ID carried by the cloud application deletion information after receiving the cloud application deletion information from the cloud application management module, and executing deletion operation.
A fourth aspect of the present invention provides a cloud application management module, including:
a second registration request management unit for monitoring whether a registration request from the communication agent module is received;
the second active/standby agent deployment unit is used for recording the registration request, configuring one of the agent service modules as an active agent service module, generating an effective IP address I, acquiring initial active/standby agent deployment information I and issuing the initial active/standby agent deployment information I to the corresponding communication agent module; the proxy service module corresponding to the other communication proxy module is configured as a standby proxy service module, an invalid IP address is generated, initial main/standby proxy deployment information II is obtained and is issued to the corresponding communication proxy module;
a first determining unit, configured to determine whether a first response message is received from the communication agent module, and determine that the initial active/standby agent configuration is completed in response to the received first response message;
the second cloud application deployment unit is used for generating initial cloud application deployment information and issuing the initial cloud application deployment information to the corresponding communication agent module after the cloud application execution body is deployed;
a second determining unit for determining whether a second response message is received from the communication agent module, and determining that the initial cloud application configuration is completed in response to the received second response message;
a third determining unit, configured to determine whether master proxy exception information from the communication proxy module is received, trigger a master-slave switching logic in response to the received master proxy exception information, generate a master-slave switching request and a slave-slave switching request, and issue the master-slave switching request and the slave-master switching request to the corresponding communication proxy module;
and the fourth determining unit is used for determining whether the abnormal cloud application execution body information from the communication agent module is received or not, responding to the received abnormal cloud application execution body information, performing offline processing on the abnormal cloud application execution body, performing online processing on the new cloud application execution body, generating first cloud application execution body change information carrying the cloud application identification ID, and sending the first cloud application execution body change information to the communication agent module.
The invention provides a mimicry cloud application management system, which comprises a cloud application executive body, a first server, a second server and the cloud application management module, wherein the cloud application management module is respectively in communication connection with each online cloud application executive body, the first server and the second server; the first server and the second server are independent from each other, and no communication link exists between the first server and the second server;
the first server is provided with an agent service module I and the communication agent module, and the agent service module I is communicated with the communication agent module;
the second server is provided with an agent service module II and the communication agent module, and the agent service module II is communicated with the communication agent module;
the agent service module I of the first server and the agent service module II of the second server can realize the same service function, the number of the agent service modules in the main state is one in the same time period, and the agent service modules are configured by the cloud application management module.
Compared with the prior art, the invention has prominent substantive characteristics and remarkable progress, particularly:
1) according to the invention, the communication agent module is additionally arranged in the mimicry cloud application system and is used for representing the agent service module to communicate with the cloud application management module, so that the automation characteristic of the mimicry cloud application system is improved, and the whole mimicry cloud application system is more closely connected;
the communication agent module maintains the configuration file of the agent service module, and the mimicry cloud application system can dynamically adjust the relevant information of the cloud application through the interaction of the communication agent module and the cloud application management module, dynamically maintain the relevant information of the cloud application in real time, enhance the maintainability of the system and aim at solving the problem of lag caused by the fact that the agent service module cannot update the configuration information of the cloud application in time when the cloud application is abnormal;
2) the communication agent module and the corresponding agent service module are deployed on the same physical server, network communication connection is not established between the communication agent module and the corresponding agent service module, and message transmission is carried out through a message queue in the system, so that two applications of the communication agent module and the corresponding agent service module are decoupled; the whole system is arranged in a modularized way, so that the system is convenient to be combined with the existing system, and is also convenient to efficiently carry out related processing such as upgrading on each module in the upgrading process;
3) meanwhile, the invention also provides a master-slave mode of the proxy service module, when the master proxy service module is abnormal, master-slave switching logic in the cloud application management module is triggered, and normal operation of the mimicry cloud application system is ensured by mutually cooperating the cloud application management module and the communication proxy module to carry out master-slave switching, so that a fault automatic recovery capability is provided for the whole system, the anti-interference capability of the system is improved, the defense performance of the mimicry cloud application system is improved, the high reliability of the mimicry cloud application system is enhanced, and potential safety hazards possibly occurring in the proxy service module are eliminated;
4) in a general dual-host hot standby mechanism, in order to ensure the consistency of the host and standby data, the host and standby are set to execute the same work; however, in the application, the main proxy service module undertakes the service flow processing work, the service flow of the standby proxy service module is not communicated, and the service processing is not undertaken, except the cloud application management module, no one knows the position information and the port information of the physical server where the standby proxy service module is located, and when the main proxy service module is abnormal, the physical server where the standby proxy service module is located is started temporarily, so that the application is very safe;
5) an attacker cannot imitate the physical server where the cloud application management module and the standby agent service module are located to be in contact with each other, and cannot imitate the physical server where the standby agent service module is located to be in contact with the cloud application management module and the cloud application executive body in communication with the cloud application management module, so that the safety and reliability of the mimicry cloud application system are greatly improved;
6) the communication agent module is used as a communication bridge between the agent service module and the cloud application management module, absolute safety of communication between the communication agent module and other equipment is ensured, the problem of data leakage cannot occur, and the problem of inaccurate command transmission cannot occur; in the invention, the cloud application management module and the appointed communication agent module appoint the meaning of the main/standby state identification in advance, and then the main/standby state of the agent service module is configured according to the appointed standby agent identification and the main agent identification, thereby ensuring the absolute safety of the communication between the communication agent module and the cloud application management module.
Drawings
FIG. 1 is a timing diagram of a pseudo cloud application management method;
FIG. 2 is a schematic flow chart of a method for cloud application management mimicry;
FIG. 3 is a schematic flow chart illustrating dynamic adjustment of relevant information of a cloud application;
fig. 4 is a schematic view of a cloud application information issuing process;
FIG. 5 is a schematic diagram illustrating a master/backup agent switching process;
FIG. 6 is an architecture diagram of a mimicry cloud application system of the present invention;
FIG. 7 is a diagram illustrating a first server according to the present invention;
FIG. 8 is a schematic diagram of a second server of the present invention;
fig. 9 is a schematic diagram of a cloud application management module according to the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the following embodiments.
Example 1
As shown in fig. 1 and fig. 2, this embodiment provides a specific implementation of a mimicry cloud application management method, which is executed by a communication agent module, and includes the following steps:
when the communication agent module is started, a registration request is generated and sent to the cloud application management module through a long connection established in advance; the registration request comprises an IP address of a physical server where the communication agent module is located, identity information of the communication agent and the like;
receiving initial master and slave agent deployment information from a cloud application management module, wherein the initial master and slave agent deployment information comprises master and slave state identifiers and IP address information of an agent service module;
if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located;
if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
after the initial master/standby agent configuration is finished, controlling a corresponding agent service module to restart so that the initial master/standby agent configuration information becomes effective;
in the process of carrying out service processing, obtaining a command execution result through a shell command, and monitoring whether a main proxy service module is abnormal or not in real time according to the command execution result; if the main proxy service module is abnormal (the command execution result is abnormal), generating main proxy abnormal information and uploading the main proxy abnormal information to the cloud application management module; after a main switching request from a cloud application management module is received, reconfiguring a main proxy service module into a standby proxy service module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located;
after receiving a standby switching main request from a cloud application management module, reconfiguring a standby proxy service module into a main proxy service module, and setting an effective IP address II in the standby switching main request as a network card binding address of a physical server where the standby proxy service module is located so as to perform standby proxy deployment and update;
and after the master and standby agent deployment updating is completed, controlling the corresponding agent service module to restart.
It can be understood that in the configuration file of the proxy service module, the cloud application identification ID is stored in association with the initial cloud application deployment information, and each piece of cloud application information has a unique cloud application identification ID to mark the cloud application, so that when the initial cloud application deployment information needs to be changed or the initial cloud application deployment information needs to be deleted, the position of the corresponding cloud application information in the configuration file is quickly found out according to the cloud application identification ID.
It should be noted that in the mimicry cloud application system, an exception may occur in an operation process of a certain cloud application execution body, where the exception includes a user request execution exception, an execution body being hung, an execution body being attacked from the outside, and after the exception occurs, the proxy service module may respond to the user request of the cloud application to discover the exception; however, when the proxy service module finds the exceptions, no feedback mechanism is available at present, and the proxy service module reports the exceptions to the cloud application management module, so that the system lacks an execution body exception handling function;
in order to solve the problems that when the agent service module finds that the cloud application executor is abnormal, the agent service module cannot report the abnormality of the executor to the cloud application management module in time, and the cloud application management module cannot replace the abnormal executor in time and update the configuration information of the cloud application in time, as shown in fig. 4, before performing service processing, the communication agent module further performs the following operations:
after initial cloud application deployment information from a cloud application management module is received, writing the initial cloud application deployment information into an http configuration module in a configuration file of an agent service module, and performing initial cloud application configuration;
controlling an agent service module to restart to enable the initial cloud application deployment information to take effect;
monitoring whether the cloud application execution body is abnormal in real time in the running process of the cloud application execution body;
when receiving execution body abnormal metadata sent by an agent service module through a message queue, reporting abnormal cloud application execution body information to a cloud application management module;
determining whether cloud application execution body change information carrying cloud application Identification (ID) is received or not, after the cloud application execution body change information from a cloud application management module is received, searching initial cloud application deployment information stored in the http configuration module in association with the cloud application Identification (ID) according to the cloud application identification ID carried by the cloud application execution body change information, replacing configuration information of an old cloud application execution body in the http configuration module with configuration information of a new cloud application execution body, restarting a corresponding proxy service module to enable the cloud application execution body change configuration to take effect, and then sending response information to the cloud application management module.
Specifically, the cloud application execution body change information includes a new cloud application execution body ip, a port, an old cloud application execution body ip, a port, a cloud application name and a cloud application type corresponding to the online cloud application execution body, and the like.
It should be noted that the cloud application executor change information includes first cloud application executor change information and second cloud application executor change information;
(1) the first cloud application executes the change information: the communication agent module receives execution body abnormal metadata sent by the agent service module through the message queue, then sends abnormal cloud application execution body information to the cloud application management module, and after the cloud application management module receives the abnormal cloud application execution body information, a new cloud application execution body is created to replace the abnormal cloud application execution body and the abnormal cloud application execution body is offline, so that the purpose of executing body dynamic rotation is achieved; then generating first cloud application execution body change information carrying the cloud application identification ID and sending the first cloud application execution body change information to the communication agent module; the communication agent module modifies the agent service module configuration file and updates the information of the cloud application, as shown in fig. 4;
therefore, the cloud application is recovered to be normal from the time that the proxy service module finds that the cloud application execution body is abnormal to the time that the cloud application execution body is finally alternated, an automatic and closed-loop control logic is formed, and the anti-interference performance, the defense performance and the automation attribute of the system are greatly improved;
(2) the second cloud application executes the change information: after the timing rotation is started, the cloud application management module can periodically bring a new cloud application execution body on line, bring an old cloud application execution body off line, and automatically generate second cloud application execution body change information carrying a cloud application Identification (ID), so that the communication agent module can timely and automatically update the cloud application configuration information, as shown in fig. 3.
Further, the mimicry cloud application management method further comprises the following steps:
determining whether cloud application deleting information carrying a cloud application identification ID is received, after the cloud application deleting information from a cloud application management module is received, searching initial cloud application deployment information stored in the http configuration module in association with the cloud application identification ID according to the cloud application identification ID carried by the cloud application deleting information, and deleting the initial cloud application deployment information in the http configuration module.
It should be noted that, after a cloud application deployed in the mimicry cloud application system is deleted, the cloud application management module may issue cloud application deletion information (cloud application deletion request) carrying a cloud application identification ID, where the cloud application deletion information includes a cloud application name and a cloud application type, and after receiving the cloud application deletion information, the communication agent module may delete corresponding cloud application information in http module configuration in a configuration file, restart an agent service module program to enable the configuration to take effect, and then send response information to the cloud application management module.
In other embodiments, the request issued by the cloud application management module to the communication proxy module includes, but is not limited to, cloud application deployment, cloud application execution body rotation, cloud application deletion, and the like, and the processing of the proxy service module by the communication proxy module includes, but is not limited to, modifying a proxy service module configuration file, restarting the proxy service module, and the like.
On the basis of the above mimicry cloud application management method, this embodiment provides a specific implementation manner of a communication agent module, including:
the first registration request management unit is used for generating a registration request and sending the registration request to the cloud application management module through a long connection established in advance when the communication agent module is started;
the first active/standby agent deployment unit is used for receiving initial active/standby agent deployment information from the cloud application management module, wherein the initial active/standby agent deployment information comprises active/standby state identification and IP address information of the agent service module; if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located; if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
the first cloud application deployment unit is used for writing initial cloud application deployment information into an http configuration module in a configuration file of the proxy service module after receiving the initial cloud application deployment information from the cloud application management module;
the first restarting control unit is used for controlling the corresponding agent service module to restart after determining that initial master-slave agent deployment and initial cloud application deployment are completed, so that the initial master-slave agent deployment and the initial cloud application deployment take effect;
the abnormality monitoring unit is used for acquiring a command execution result through a shell command in the process of carrying out service processing on the main proxy service module so as to monitor whether the main proxy service module is abnormal or not in real time;
the abnormality processing unit is used for generating main proxy abnormality information and uploading the main proxy abnormality information to the cloud application management module when the main proxy service module is determined to be abnormal; the main proxy service module is used for reconfiguring the main proxy service module into a standby proxy service module after receiving a main switching request from the cloud application management module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located; the standby agent service module is used for reconfiguring the standby agent service module into the main agent service module after receiving the standby main request from the cloud application management module, and setting an effective IP address II in the standby main request as a network card binding address of a physical server where the standby agent service module is located so as to carry out the deployment and updating of the main agent and the standby agent;
the second restart control unit is used for controlling the corresponding proxy service module to restart after the main/standby proxy deployment and updating are completed;
the cloud application abnormity monitoring unit is used for monitoring whether the cloud application execution body is abnormal in real time in the running process of the cloud application execution body, and reporting abnormal cloud application execution body information to the cloud application management module when executing body abnormal metadata sent by the corresponding proxy service module is received;
the first cloud application monitoring unit is used for determining whether cloud application execution body change information carrying a cloud application identification ID is received;
the first processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in a manner of being associated with a cloud application Identification (ID) according to the cloud application Identification (ID) carried by the cloud application execution body change information after the cloud application execution body change information from the cloud application management module is received; replacing the configuration information of the old cloud application execution body in the http configuration module with the configuration information of the new cloud application execution body, restarting the corresponding proxy service module to enable the cloud application execution body to change the configuration and take effect, and then sending response information to the cloud application management module;
the second cloud application monitoring unit is used for determining whether cloud application deleting information carrying a cloud application identification ID is received;
and the second processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in association with the cloud application identification ID according to the cloud application identification ID carried by the cloud application deletion information after receiving the cloud application deletion information from the cloud application management module, and executing deletion operation.
Example 2
As shown in fig. 1 and fig. 2, the embodiment provides a mimicry cloud application management method, which is executed by a cloud application management module, and includes the following steps:
a registration request is received from the communication proxy module,
recording the registration request, configuring an agent service module corresponding to one communication agent module as a main agent service module, generating an effective IP address I, acquiring initial main and standby agent deployment information I and issuing the information to the corresponding communication agent module;
configuring an agent service module corresponding to the other communication agent module as a standby agent service module, generating an invalid IP address, obtaining initial master and standby agent deployment information II and issuing the information II to the corresponding communication agent module;
determining whether a first response message from the communication agent module is received, and judging that the initial master/standby agent configuration is completed in response to the received first response message;
and determining whether the master agent abnormal information from the communication agent module is received, responding to the received master agent abnormal information to trigger the master-slave switching logic, generating a master switching request and a slave switching request, and issuing the master switching request and the slave switching request to the corresponding communication agent module.
Further, the mimicry cloud application management method further comprises the following steps:
after the cloud application execution body is deployed, generating initial cloud application deployment information and issuing the initial cloud application deployment information to the communication agent module;
determining whether a second response message is received from the communication agent module, and determining that the initial cloud application configuration is completed in response to the received second response message;
determining whether abnormal cloud application execution body information from the communication agent module is received or not, responding to the received abnormal cloud application execution body information, performing offline processing on the abnormal cloud application execution body, performing online processing on a new cloud application execution body, generating first cloud application execution body change information carrying a cloud application Identification (ID) and issuing the first cloud application execution body change information to the communication agent module.
As shown in fig. 3, the method for managing a mimicry cloud application further includes the following steps:
starting timing the timing alternation time period when the online cloud application execution body starts to run;
recording the online time delta T of each online cloud application execution body, selecting the online cloud application execution body with the largest online time difference delta T after the time interval of the timing alternation reaches the preset time, performing offline processing on the selected online cloud application execution body, and calling a new cloud application execution body to be online;
and after the new cloud application execution body is online, generating second cloud application execution body change information carrying the cloud application identification ID and issuing the second cloud application execution body change information to the communication agent module.
The second cloud application execution body change information carrying the cloud application identification ID comprises an ip and a port of a new online cloud application execution body, an ip and a port of an old cloud application execution body, a cloud application name and a cloud application type corresponding to the online cloud application execution body and the like.
The cloud application management module records the mimicry service starting operation time of each online cloud application execution body, calculates the online time difference value delta T between the current operation time of the mimicry service of each online cloud application execution body and the mimicry service starting operation time, and sorts the online time difference value delta T; therefore, the cloud application management module selects the online cloud application execution body with the longest running time according to the running time and selects one available cloud application execution body to be online, so that the timing rotation of the online cloud application execution bodies is realized, and the safety and the reliability are ensured.
As shown in fig. 9, on the basis of the above mimicry cloud application management method, this embodiment provides a specific implementation manner of a cloud application management module, which includes:
a second registration request management unit for monitoring whether a registration request from the communication agent module is received;
the second active/standby agent deployment unit is used for recording the registration request, configuring one of the agent service modules as an active agent service module, generating an effective IP address I, acquiring initial active/standby agent deployment information I and issuing the initial active/standby agent deployment information I to the corresponding communication agent module; the proxy service module corresponding to the other communication proxy module is configured as a standby proxy service module, an invalid IP address is generated, initial main/standby proxy deployment information II is obtained and is issued to the corresponding communication proxy module;
a first determining unit, configured to determine whether a first response message is received from the communication agent module, and determine that the initial active/standby agent configuration is completed in response to the received first response message;
the second cloud application deployment unit is used for generating initial cloud application deployment information and issuing the initial cloud application deployment information to the corresponding communication agent module after the cloud application execution body is deployed;
a second determining unit for determining whether a second response message is received from the communication agent module, and determining that the initial cloud application configuration is completed in response to the received second response message;
a third determining unit, configured to determine whether master proxy exception information from the communication proxy module is received, trigger a master-slave switching logic in response to the received master proxy exception information, generate a master-slave switching request and a slave-slave switching request, and issue the master-slave switching request and the slave-master switching request to the corresponding communication proxy module;
and the fourth determining unit is used for determining whether the abnormal cloud application execution body information from the communication agent module is received or not, responding to the received abnormal cloud application execution body information, performing offline processing on the abnormal cloud application execution body, performing online processing on the new cloud application execution body, generating first cloud application execution body change information carrying the cloud application identification ID, and sending the first cloud application execution body change information to the communication agent module.
Further, the cloud application management module further includes:
the timing rotation management unit is used for starting timing of a timing rotation period when the online cloud application execution body starts to run; recording the online time delta T of each online cloud application execution body, selecting the online cloud application execution body with the largest online time difference delta T after the time interval of the timing alternation reaches the preset time, performing offline processing on the selected online cloud application execution body, and calling a new cloud application execution body to be online; and after the new cloud application execution body is online, generating second cloud application execution body change information carrying the cloud application identification ID and issuing the second cloud application execution body change information to the communication agent module.
The timing rotation management unit comprises a timing rotation timer, the timer reaches the time (the timing rotation time period reaches the preset time), and the online cloud application execution body with the longest operation time is selected according to the length of the operation time.
Example 3
The embodiment provides a specific implementation manner of a mimicry cloud application management system, and as shown in fig. 6, the mimicry cloud application management system includes a cloud application executor, a first server, a second server, and a cloud application management module in embodiment 2, where the cloud application management module is in communication connection with each online cloud application executor, the first server, and the second server, respectively; the first server and the second server are independent from each other, and no communication link exists between the first server and the second server;
as shown in fig. 7, a proxy service module i and the communication proxy module in embodiment 1 are arranged on the first server, and the proxy service module i and the communication proxy module are communicatively interconnected;
as shown in fig. 8, a proxy service module ii and the communication agent module in embodiment 1 are arranged on the second server, and the proxy service module ii and the communication agent module are communicatively interconnected;
the agent service module I of the first server and the agent service module II of the second server can realize the same service function, the number of the agent service modules in the main state is one in the same time period, and the agent service modules are configured by the cloud application management module.
It can be understood that only one proxy service module is in the active state at the same time, the proxy service module in the active state provides service, and the proxy service module in the standby state does not provide service.
It should be noted that, as shown in fig. 1, in the invention, a communication agent module is additionally arranged in the mimicry cloud application system, the communication agent module is used for representing the agent service module to communicate with the cloud application management module, the communication agent module is used for maintaining a configuration file of the agent service module, and dynamically maintaining information related to the cloud application in real time, so as to solve the problem that the agent service module cannot update the configuration information of the cloud application in time when the cloud application is abnormal.
As shown in fig. 5, when the active proxy service module is abnormal, the active proxy service module and the standby proxy service module are switched to ensure the normal operation of the mimicry cloud application system:
when the proxy service modules are in the main and standby modes, two proxy service modules are respectively connected with the communication proxy module, one is used as a main proxy, the main proxy binds two network cards, the network cards use effective IP addresses to undertake the processing of the service flow, the other is used as a standby proxy, the two network cards bound by the standby proxy use invalid IP addresses, the service flow is not through, and the service processing is not undertaken.
The main/standby mode is determined by the cloud application management module, when the communication agent module starts to register to the cloud application management module, the cloud application management module selects one of the two agent service modules as a main agent, sends effective address information to the main agent to serve as a network card binding IP address of the agent service module, and correspondingly sends invalid address information to the standby service agent to serve as a network card binding IP address of the agent service module.
It can be understood that the abnormal state of the active proxy service module includes, but is not limited to, the active proxy service stopping, the active service proxy process being in an abnormal state, etc.; the main proxy abnormal information uploaded to the cloud application management module by the communication proxy module comprises an ip address of a main proxy and the like, and after receiving the main proxy abnormal information, the cloud application management module triggers main/standby switching logic and sends a main/standby switching request to the communication proxy module, wherein the request comprises network card binding address information of the proxy service module.
After receiving the master switching request, the communication agent module corresponding to the master agent service module modifies the master and slave state identifiers and the network card binding address of the master agent service module, changes the network card binding address configuration of the master agent service module from an effective address to an unavailable address, and then restarts the master agent service module;
after the communication agent module corresponding to the standby agent service module receives the standby main switching request, the main/standby state identification and the network card binding address of the standby agent service module are modified, the network card binding address configuration of the standby agent service module is changed into an available address from an invalid address, and then the standby agent service module is restarted.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art will understand that: modifications to the specific embodiments of the invention or equivalent substitutions for parts of the technical features may be made; without departing from the spirit of the present invention, it is intended to cover all aspects of the invention as defined by the appended claims.
Claims (10)
1. A mimicry cloud application management method is executed by a communication agent module, and is characterized by comprising the following steps:
when the communication agent module is started, a registration request is generated and sent to the cloud application management module through a long connection established in advance;
receiving initial master and slave agent deployment information from a cloud application management module, wherein the initial master and slave agent deployment information comprises master and slave state identifiers and IP address information of an agent service module;
if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located;
if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
after the initial master/standby agent configuration is finished, controlling a corresponding agent service module to restart so that the initial master/standby agent configuration information becomes effective;
monitoring whether a main proxy service module is abnormal in real time in the process of carrying out business processing; if the abnormal condition exists, generating abnormal information of the main agent and uploading the abnormal information to the cloud application management module; after a main switching request from a cloud application management module is received, reconfiguring a main proxy service module into a standby proxy service module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located;
after receiving a standby switching main request from a cloud application management module, reconfiguring a standby proxy service module into a main proxy service module, and setting an effective IP address II in the standby switching main request as a network card binding address of a physical server where the standby proxy service module is located so as to perform standby proxy deployment and update;
and after the master and standby agent deployment updating is completed, controlling the corresponding agent service module to restart.
2. The mimicry cloud application management method of claim 1, further comprising, before performing business processing, performing the following operations:
after initial cloud application deployment information from a cloud application management module is received, writing the initial cloud application deployment information into an http configuration module in a configuration file of an agent service module, and performing initial cloud application configuration;
controlling an agent service module to restart to enable the initial cloud application deployment information to take effect;
monitoring whether the cloud application execution body is abnormal in real time in the running process of the cloud application execution body;
when receiving execution body abnormal metadata sent by an agent service module through a message queue, reporting abnormal cloud application execution body information to a cloud application management module;
determining whether cloud application execution body change information carrying cloud application Identification (ID) is received or not, after the cloud application execution body change information from a cloud application management module is received, searching initial cloud application deployment information stored in the http configuration module in association with the cloud application Identification (ID) according to the cloud application identification ID carried by the cloud application execution body change information, replacing configuration information of an old cloud application execution body in the http configuration module with configuration information of a new cloud application execution body, restarting a corresponding proxy service module to enable the cloud application execution body change configuration to take effect, and then sending response information to the cloud application management module.
3. The mimicry cloud application management method of claim 1, further comprising the steps of:
determining whether cloud application deleting information carrying a cloud application identification ID is received, after the cloud application deleting information from a cloud application management module is received, searching initial cloud application deployment information stored in the http configuration module in association with the cloud application identification ID according to the cloud application identification ID carried by the cloud application deleting information, and executing deleting operation.
4. A mimicry cloud application management method is executed by a cloud application management module and is characterized by comprising the following steps:
a registration request is received from the communication proxy module,
recording the registration request, configuring an agent service module corresponding to one communication agent module as a main agent service module, generating an effective IP address I, acquiring initial main and standby agent deployment information I and issuing the information to the corresponding communication agent module;
configuring an agent service module corresponding to the other communication agent module as a standby agent service module, generating an invalid IP address, obtaining initial master and standby agent deployment information II and issuing the information II to the corresponding communication agent module;
determining whether a first response message from the communication agent module is received, and judging that the initial master/standby agent configuration is completed in response to the received first response message;
and determining whether the master agent abnormal information from the communication agent module is received, responding to the received master agent abnormal information to trigger the master-slave switching logic, generating a master switching request and a slave switching request, and issuing the master switching request and the slave switching request to the corresponding communication agent module.
5. The mimicry cloud application management method of claim 4, further comprising the steps of:
after the cloud application execution body is deployed, generating initial cloud application deployment information and issuing the initial cloud application deployment information to the communication agent module;
determining whether a second response message is received from the communication agent module, and determining that the initial cloud application configuration is completed in response to the received second response message;
determining whether abnormal cloud application execution body information from the communication agent module is received or not, responding to the received abnormal cloud application execution body information, performing offline processing on the abnormal cloud application execution body, performing online processing on a new cloud application execution body, generating first cloud application execution body change information carrying a cloud application Identification (ID) and issuing the first cloud application execution body change information to the communication agent module.
6. The mimicry cloud application management method of claim 4, wherein:
starting timing the timing alternation time period when the online cloud application execution body starts to run;
recording the online time delta T of each online cloud application execution body, selecting the online cloud application execution body with the largest online time difference delta T after the time interval of the timing alternation reaches the preset time, performing offline processing on the selected online cloud application execution body, and calling a new cloud application execution body to be online;
and after the new cloud application execution body is online, generating second cloud application execution body change information carrying the cloud application identification ID and issuing the second cloud application execution body change information to the communication agent module.
7. A communication proxy module, comprising:
the first registration request management unit is used for generating a registration request and sending the registration request to the cloud application management module through a long connection established in advance when the communication agent module is started;
the first active/standby agent deployment unit is used for receiving initial active/standby agent deployment information from the cloud application management module, wherein the initial active/standby agent deployment information comprises active/standby state identification and IP address information of the agent service module; if the main/standby state identifier received by the communication agent module is a main agent identifier, configuring an agent service module associated with the communication agent module as the main agent service module, judging that the IP address information is an effective IP address I, and setting the effective IP address I as a network card binding address of a physical server where the main agent service module is located; if the main/standby state identification received by the communication agent module is a standby agent identification, configuring an agent service module associated with the communication agent module as a standby agent service module, judging that the IP address information is an invalid IP address I, and setting the invalid IP address I as a network card binding address of a physical server where the corresponding agent service module is located;
the first cloud application deployment unit is used for writing initial cloud application deployment information into an http configuration module in a configuration file of the proxy service module after receiving the initial cloud application deployment information from the cloud application management module;
the first restarting control unit is used for controlling the corresponding agent service module to restart after determining that initial master-slave agent deployment and initial cloud application deployment are completed, so that the initial master-slave agent deployment and the initial cloud application deployment take effect;
the abnormity monitoring unit is used for monitoring whether the main proxy service module is abnormal in real time in the process of business processing of the main proxy service module;
the abnormality processing unit is used for generating main proxy abnormality information and uploading the main proxy abnormality information to the cloud application management module when the main proxy service module is determined to be abnormal; the main proxy service module is used for reconfiguring the main proxy service module into a standby proxy service module after receiving a main switching request from the cloud application management module, and setting an invalid IP address II in the main switching request as a network card binding address of a physical server where the main proxy service module is located; the standby agent service module is used for reconfiguring the standby agent service module into the main agent service module after receiving the standby main request from the cloud application management module, and setting an effective IP address II in the standby main request as a network card binding address of a physical server where the standby agent service module is located so as to carry out the deployment and updating of the main agent and the standby agent;
the second restart control unit is used for controlling the corresponding proxy service module to restart after the main/standby proxy deployment and updating are completed;
the cloud application abnormity monitoring unit is used for monitoring whether the cloud application execution body is abnormal in real time in the running process of the cloud application execution body, and reporting abnormal cloud application execution body information to the cloud application management module when executing body abnormal metadata sent by the corresponding proxy service module is received;
the first cloud application monitoring unit is used for determining whether cloud application execution body change information carrying a cloud application identification ID is received;
the first processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in a manner of being associated with a cloud application Identification (ID) according to the cloud application Identification (ID) carried by the cloud application execution body change information after the cloud application execution body change information from the cloud application management module is received; replacing the configuration information of the old cloud application execution body in the http configuration module with the configuration information of the new cloud application execution body, restarting the corresponding proxy service module to enable the cloud application execution body to change the configuration and take effect, and then sending response information to the cloud application management module;
the second cloud application monitoring unit is used for determining whether cloud application deleting information carrying a cloud application identification ID is received;
and the second processing unit is used for searching initial cloud application deployment information which is stored in the http configuration module in association with the cloud application identification ID according to the cloud application identification ID carried by the cloud application deletion information after receiving the cloud application deletion information from the cloud application management module, and executing deletion operation.
8. A cloud application management module, comprising:
a second registration request management unit for monitoring whether a registration request from the communication agent module is received;
the second active/standby agent deployment unit is used for recording the registration request, configuring one of the agent service modules as an active agent service module, generating an effective IP address I, acquiring initial active/standby agent deployment information I and issuing the initial active/standby agent deployment information I to the corresponding communication agent module; the proxy service module corresponding to the other communication proxy module is configured as a standby proxy service module, an invalid IP address is generated, initial main/standby proxy deployment information II is obtained and is issued to the corresponding communication proxy module;
a first determining unit, configured to determine whether a first response message is received from the communication agent module, and determine that the initial active/standby agent configuration is completed in response to the received first response message;
the second cloud application deployment unit is used for generating initial cloud application deployment information and issuing the initial cloud application deployment information to the corresponding communication agent module after the cloud application execution body is deployed;
a second determining unit for determining whether a second response message is received from the communication agent module, and determining that the initial cloud application configuration is completed in response to the received second response message;
a third determining unit, configured to determine whether master proxy exception information from the communication proxy module is received, trigger a master-slave switching logic in response to the received master proxy exception information, generate a master-slave switching request and a slave-slave switching request, and issue the master-slave switching request and the slave-master switching request to the corresponding communication proxy module;
and the fourth determining unit is used for determining whether the abnormal cloud application execution body information from the communication agent module is received or not, responding to the received abnormal cloud application execution body information, performing offline processing on the abnormal cloud application execution body, performing online processing on the new cloud application execution body, generating first cloud application execution body change information carrying the cloud application identification ID, and sending the first cloud application execution body change information to the communication agent module.
9. The cloud application management module of claim 8, further comprising:
the timing rotation management unit is used for starting timing of a timing rotation period when the online cloud application execution body starts to run;
recording the online time delta T of each online cloud application execution body, selecting the online cloud application execution body with the largest online time difference delta T after the time interval of the timing alternation reaches the preset time, performing offline processing on the selected online cloud application execution body, and calling a new cloud application execution body to be online;
and after the new cloud application execution body is online, generating second cloud application execution body change information carrying the cloud application identification ID and issuing the second cloud application execution body change information to the communication agent module.
10. A mimicry cloud application management system comprising a cloud application executor, and further comprising a first server, a second server, and the cloud application management module of any one of claims 8 or 9, the cloud application management module being communicatively connected to each of the online cloud application executor, the first server, and the second server, respectively; the first server and the second server are independent from each other, and no communication link exists between the first server and the second server;
the first server is provided with a proxy service module I and the communication agent module of claim 7, wherein the proxy service module I and the communication agent module are in communication interconnection;
the second server is provided with an agent service module II and the communication agent module of claim 7, and the agent service module II is in communication interconnection with the communication agent module;
the agent service module I of the first server and the agent service module II of the second server can realize the same service function, the number of the agent service modules in the main state is one in the same time period, and the agent service modules are configured by the cloud application management module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111036383.4A CN113904802B (en) | 2021-09-06 | 2021-09-06 | Mimicry cloud application management method, communication proxy module and cloud application management module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111036383.4A CN113904802B (en) | 2021-09-06 | 2021-09-06 | Mimicry cloud application management method, communication proxy module and cloud application management module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113904802A true CN113904802A (en) | 2022-01-07 |
CN113904802B CN113904802B (en) | 2023-08-11 |
Family
ID=79188522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111036383.4A Active CN113904802B (en) | 2021-09-06 | 2021-09-06 | Mimicry cloud application management method, communication proxy module and cloud application management module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113904802B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449040A (en) * | 2022-01-28 | 2022-05-06 | 杭州迪普科技股份有限公司 | Configuration issuing method and device based on cloud platform |
CN114785561A (en) * | 2022-03-30 | 2022-07-22 | 中国人民解放军战略支援部队信息工程大学 | Apparatus and method for simulating micro service |
CN115174670A (en) * | 2022-07-11 | 2022-10-11 | 电子科技大学 | Hierarchical agent deployment method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231681A (en) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | High availability cluster computer system and fault treatment method thereof |
CN104506372A (en) * | 2015-01-04 | 2015-04-08 | 中国联合网络通信集团有限公司 | Method and system for realizing host-backup server switching |
WO2017162173A1 (en) * | 2016-03-22 | 2017-09-28 | 中兴通讯股份有限公司 | Method and device for establishing connection of cloud server cluster |
CN107786568A (en) * | 2017-11-03 | 2018-03-09 | 中国人民解放军信息工程大学 | A kind of automatic construction device of mimicry cloud main frame, method and system |
CN110764871A (en) * | 2019-10-11 | 2020-02-07 | 中国人民解放军战略支援部队信息工程大学 | Cloud platform-based mimicry application packaging and control system and method |
CN111400036A (en) * | 2020-03-05 | 2020-07-10 | 张晏铭 | Cloud application management system, method, device and medium based on server cluster |
CN112242924A (en) * | 2020-09-29 | 2021-01-19 | 中国人民解放军战略支援部队信息工程大学 | Mimic bracket implementation device and method for main/standby mode |
-
2021
- 2021-09-06 CN CN202111036383.4A patent/CN113904802B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231681A (en) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | High availability cluster computer system and fault treatment method thereof |
CN104506372A (en) * | 2015-01-04 | 2015-04-08 | 中国联合网络通信集团有限公司 | Method and system for realizing host-backup server switching |
WO2017162173A1 (en) * | 2016-03-22 | 2017-09-28 | 中兴通讯股份有限公司 | Method and device for establishing connection of cloud server cluster |
CN107786568A (en) * | 2017-11-03 | 2018-03-09 | 中国人民解放军信息工程大学 | A kind of automatic construction device of mimicry cloud main frame, method and system |
CN110764871A (en) * | 2019-10-11 | 2020-02-07 | 中国人民解放军战略支援部队信息工程大学 | Cloud platform-based mimicry application packaging and control system and method |
CN111400036A (en) * | 2020-03-05 | 2020-07-10 | 张晏铭 | Cloud application management system, method, device and medium based on server cluster |
CN112242924A (en) * | 2020-09-29 | 2021-01-19 | 中国人民解放军战略支援部队信息工程大学 | Mimic bracket implementation device and method for main/standby mode |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449040A (en) * | 2022-01-28 | 2022-05-06 | 杭州迪普科技股份有限公司 | Configuration issuing method and device based on cloud platform |
CN114449040B (en) * | 2022-01-28 | 2023-12-05 | 杭州迪普科技股份有限公司 | Configuration issuing method and device based on cloud platform |
CN114785561A (en) * | 2022-03-30 | 2022-07-22 | 中国人民解放军战略支援部队信息工程大学 | Apparatus and method for simulating micro service |
CN114785561B (en) * | 2022-03-30 | 2023-10-24 | 中国人民解放军战略支援部队信息工程大学 | Device and method for mimicking microservices |
CN115174670A (en) * | 2022-07-11 | 2022-10-11 | 电子科技大学 | Hierarchical agent deployment method |
Also Published As
Publication number | Publication date |
---|---|
CN113904802B (en) | 2023-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113904802A (en) | Mimicry cloud application management method, communication agent module and cloud application management module | |
CN105607954B (en) | A kind of method and apparatus that stateful container migrates online | |
US7480725B2 (en) | Transparent relocation of an active redundant engine in supervisory process control data acquisition systems | |
US20060056285A1 (en) | Configuring redundancy in a supervisory process control system | |
CN111597012A (en) | System and method for automatically discovering cloud environment equipment | |
JP5521595B2 (en) | Storage system and storage control method | |
CN104486125A (en) | Backup method and device of configuration files | |
US20120324436A1 (en) | Method of updating versioned software using a shared cache | |
CN105740049B (en) | A kind of control method and device | |
CN103036934A (en) | Wide area network clustered deployment system and method based on mirror image | |
US7093163B2 (en) | Processing takeover method in multiple computer system | |
CN115150226A (en) | Intelligent gateway adaptation system based on object model and operation method thereof | |
CN106506278A (en) | A kind of service availability monitoring method and device | |
CN105591801A (en) | Virtual network function VNF fault processing method and VNF management equipment | |
JP5285045B2 (en) | Failure recovery method, server and program in virtual environment | |
CN111835902A (en) | Device testing method and device, electronic device and storage medium | |
CN109388668B (en) | Method for exchanging data between engineering tools of engineering system and engineering system | |
JP2006113754A (en) | Software update device and method | |
CN116723077A (en) | Distributed IT automatic operation and maintenance system | |
CN115509812A (en) | Data backup method and server based on Keepalive dual-computer hot standby | |
CN114598604B (en) | Monitoring method, monitoring device and terminal for virtual network function instance information | |
CN109218096A (en) | A kind of SCADA real-time database access system based on master-slave redundancy | |
CN112351098A (en) | Copying service cluster system, control method, device and medium | |
CN112787868A (en) | Information synchronization method and device | |
CN102724080B (en) | Network management system and network management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |