CN111597014A - Secondary-mirror-image-free release method for containerized JavaEE application server - Google Patents
Secondary-mirror-image-free release method for containerized JavaEE application server Download PDFInfo
- Publication number
- CN111597014A CN111597014A CN202010720573.7A CN202010720573A CN111597014A CN 111597014 A CN111597014 A CN 111597014A CN 202010720573 A CN202010720573 A CN 202010720573A CN 111597014 A CN111597014 A CN 111597014A
- Authority
- CN
- China
- Prior art keywords
- application
- cloud platform
- client
- information
- containerized
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a secondary mirror image-free release method of a containerized JavaEE application server, which comprises the following steps: s100, constructing a cloud platform of a containerized JavaEE application server; s200, uploading an installation program package required by the application to a cloud platform of a containerized JavaEE application server; constructing a basic mirror image of application operation; s300, a configurator of a basic mirror image is arranged on a cloud platform, a CernVM-FS file library is created and added into an installation program package of an application, and the configurator takes the name of the CernVM-FS file library as input data and a necessary in-library path of the basic mirror image root; s400, inputting a CernVM-FS file library name into a client, remotely starting a basic mirror image root directory by the client in a local mode, executing an application starting command by executing an application starting script, and finishing application release. The invention ensures that the data size required to be downloaded for each application update does not change too much, and does not cause the container to be overstaffed.
Description
Technical Field
The invention relates to the technical field of containerized JavaEE application servers, in particular to a secondary-mirror-free method for releasing a containerized JavaEE application server.
Background
A container refers to the interface between a component and the underlying service details. Before a web component, enterprise-level Bean, etc. can execute, it must be assembled as a java ee module and deployed on a container. In JAVA EE, various different types of modules can be deployed either by individually packaging JAR or by integrating these modules to make an EAR package. The application containerization occupies less resources and is quick to deploy, each application is packaged into a container mirror image, the container has greater advantage due to the one-to-one relation between each application and the container, and the container mirror image can be created for the application by using the container at the stage of build or release, because each application does not need to be combined with other application stacks and does not depend on a production environment infrastructure, and a consistent environment can be provided from research and development to test and production. The container is lighter in weight and more transparent than a virtual machine, which is more convenient for monitoring and management, so that the container network application aspect is widely adopted and becomes a mainstream technology commonly used in the current distributed architecture.
The existing release method of the containerized JavaEE application server at least needs to adopt mirror image twice, for example, the method for the automatic application program containerization and mirror image backup release disclosed in the document with the application number of CN201811363546.8 comprises the following four steps: step 1, constructing a basic mirror image: constructing a basic mirror image based on a hardware platform and an operating system; step 2, constructing a basic construction mirror image: starting a container from the basic mirror image, classifying the container by corresponding programming languages, and respectively making the basic mirror image in an incremental mode; step 3, constructing application program containerization mirror images: constructing a mirror image starting container from a foundation, injecting an application program source code into a known directory in the container, installing compiling and runtime dependent items for the application program source code, compiling the application program source code in the container, installing a corresponding file into a specified path, and submitting a new container as an application program containerization mirror image; step 4, carrying out containerized mirror image test and backup release on the application program: and running the application program containerization mirror image, and executing test verification by using the application program test script.
Traditionally, each set of images stored in a library must have all the files associated with its tiers, which means that to update a Docker image on any host device, we need to download the complete image from the library. Once the number of container systems increases to hundreds, thousands or millions of huge containers, the size of the library increases with the increase of container systems, and the amount of data to be downloaded per update becomes larger and larger, which results in a large container.
Disclosure of Invention
In order to solve the technical problem, the invention provides a secondary-image-free release method of a containerized JavaEE application server, which comprises the following steps:
s100, constructing a cloud platform of a containerized JavaEE application server;
s200, uploading an installation program package required by the application to a cloud platform of a containerized JavaEE application server; constructing a basic mirror image of application operation;
s300, a configurator of a basic mirror image is arranged on a cloud platform, a CernVM-FS file library is created and added into an installation program package of an application, and the configurator takes the name of the CernVM-FS file library as input data and a necessary in-library path of the basic mirror image root;
s400, inputting a CernVM-FS file library name into a client, remotely starting a basic mirror image root directory by the client in a local mode, executing an application starting command by executing an application starting script, and finishing application release.
Optionally, the basic mirror image is constructed by the following method:
acquiring a template file of the type of an application from a containerized JavaEE application server cloud platform; the template file comprises platform environment configuration information and at least one variable information;
acquiring a parameter to be input corresponding to the variable information matched with the application;
and executing a mirror image constructing command according to the platform environment configuration information, the variable information and the parameters to be input to obtain a basic mirror image for running the application.
Optionally, the cloud platform is provided with a file operation monitor and a protection system, and the release process of the application is as follows:
the file operation monitor captures file operation of a client and sends file operation information corresponding to file operation actions to a protection system in the cloud platform; after feedback information which is sent by the protection system and used for indicating that the file operation information is successfully received is received, controlling a cloud platform to respond to the file operation action;
the protection system responds to the received file operation information and sends feedback information used for indicating that the file operation information is successfully received to the file operation monitor; and sending the file operation information to a JavaEE application server corresponding to the cloud platform by using a preset internet transmission component, and publishing the application file by the JavaEE application server according to the received indication of the file operation information.
Optionally, the cloud platform is provided with an application version detection module, the application version detection module reads an application version from an installation program package required by an application uploaded to the cloud platform, when a client used by a user is connected to a network, the application version detection module queries an operation application version of the client through the network, compares the operation application version of the client with an application version of the installation program package on the cloud platform, and sends a prompt that the application has a new version to the client of the user if the operation application version of the client is inconsistent with the application version of the installation program package on the cloud platform; after checking the prompt received by the client, the user autonomously selects immediate updating, delayed updating or no updating operation as required.
Optionally, the cloud platform is provided with an application promotion module, the application promotion module extracts feature information of an application from an installation program package on the cloud platform to generate promotion information, and the feature information includes utility description information, operating environment requirements, version information and release links of the application;
the application promotion module searches the client side without the application and the IP address thereof through the network, records, generates and stores a promotion list, and then sends promotion information to the client side in the promotion list in a set period; and if the client performs application installation operation through the release link in the promotion information, deleting the client from the promotion list.
Optionally, the cloud platform is provided with an application update module, when receiving a message that the cloud platform uploads a new version of an application installation program package, the application update module searches for a client installed with an old version of an application through network scanning, establishes a table to be updated, the table to be updated includes the client installed with the old version of the application and an IP address thereof, then the cloud platform sends prompt information for updating the application version at a set time to the client included in the table to be updated, and after the set time, the cloud platform remotely updates the application by connecting the client included in the table to be updated through the network;
the client can access the application updating module to perform updating setting, and for the client with the updating setting, the application updating is executed according to the updating setting;
and the application updating module detects the running environment of the client to be recorded in the updated table in advance, sends a prompt to be optimized to the client in advance if the running environment of the client cannot bear the application update after detection, and executes the update when the client meets the running environment requirement of the new version of application.
Optionally, the cloud platform includes an antivirus system and a client module; the client module is used for scanning the anti-virus system of the cloud platform, wherein,
the client module detects a text of a cloud platform file opened by a client in a markup language, generates a text set for antivirus scanning, determines the capacity of a communication channel between the client module and the antivirus system, and determines the reserved throughput of the antivirus system;
the antivirus system selecting an assignment information speed from the client module to the antivirus system based on the text set for antivirus scanning, capacity of a communication channel, and reserved throughput; allocating a portion of the determined reserved throughput of the antivirus system for performing an antivirus scan of text being opened based on the selected information dispatch rate.
Optionally, the cloud platform performs synchronous publishing by using a multi-channel signal, including:
setting the signal attribute of each channel signal according to the signal capacity of the multi-channel signal; compressing each channel signal according to the signal attribute under the condition of meeting the preset signal transmission quantity to obtain a corresponding compression branch, and storing the compression branches in parallel and continuously in a corresponding storage array on the cloud platform;
and when the cloud platform is used for issuing applications, all compression branches in the storage array are called to be issued synchronously.
Optionally, the cloud platform operates on a virtual cluster in a network, the virtual cluster includes a plurality of virtual machine nodes, a dependency relationship exists between rules of the virtual cluster established by the virtual machine nodes, and the cloud platform calculates a time complexity of the dependency relationship by using the following algorithm:
in the above formula, the first and second carbon atoms are,representing the temporal complexity of the dependency;representing a complexity function;representing the number of virtual machine nodes in the virtual cluster;andall represent a linear growth constant;
temporal complexity of dependency relationshipsAnd when the set value is reached, carrying out curing treatment on the cloud platform.
Optionally, the physical resources occupied by the virtual cluster include a CPU, a memory, and a storage, and the cloud platform manages and feeds back the physical resources occupied by the virtual cluster, including:
calculating an average consumption rate of the physical resource by the following formula:
in the above formula, the first and second carbon atoms are,represents the average of the consumption rates of a CPU, memory, or storage;representing a physical resource, i.e., CPU, memory, or storage;representing a corresponding physical resource consumption rate;representing the corresponding physical resource weight value;
and if the average value of the consumption rates of the physical resources reaches a preset threshold value, the cloud platform sends out alarm information that the comprehensive load capacity occupies the physical resources and exceeds the limit, and prompts that the physical resources need to be expanded or the load capacity needs to be reduced.
The release method of the containerized JavaEE application server free of the secondary mirror image only needs to carry out the mirror image once, avoids the continuous volume increase of a library contained in the containerized JavaEE application server along with the increase of a container system, ensures that the data volume required to be downloaded for each updating does not change too much, and does not cause the container to be overstaffed. In the aspect of application release, an installation program package of the application does not need to be downloaded to the client, and only the operation and installation are accessed and operated on the online, so that the resource occupation and installation conditions of the client are reduced.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a publishing method of a twice-mirroring-free containerized java ee application server in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in fig. 1, an embodiment of the present invention provides a method for publishing a twice-mirroring-free containerized java ee application server, including the following steps:
s100, constructing a cloud platform of a containerized JavaEE application server;
s200, uploading an installation program package required by the application to a cloud platform of a containerized JavaEE application server; constructing a basic mirror image of application operation;
s300, a configurator of a basic mirror image is arranged on a cloud platform, a CernVM-FS file library is created and added into an installation program package of an application, and the configurator takes the name of the CernVM-FS file library as input data and a necessary in-library path of the basic mirror image root;
s400, inputting a CernVM-FS file library name into a client, remotely starting a basic mirror image root directory by the client in a local mode, executing an application starting command by executing an application starting script, and finishing application release.
The working principle and the beneficial effects of the technical scheme are as follows: compared with the method for creating a secondary mirror image, the method has the advantages that a CernVM-FS file library is adopted, a set of global distributed file system is used for helping software to be installed on a Web server at one time, and then the software is accessed at any position in the world; the implementation of application building, code deployment and data center operation is improved from a fundamental level. The invention only needs to carry out mirror image once, thus avoiding the continuous volume increase of the library contained in the containerized JavaEE application server along with the increase of the container system, ensuring that the data volume required to be downloaded for each update does not change too much, and the container does not swell. In the aspect of application release, an installation program package of the application does not need to be downloaded to the client, and only the operation and installation are accessed and operated on the online, so that the resource occupation and installation conditions of the client are reduced.
In one embodiment, the basic image is constructed as follows:
acquiring a template file of the type of an application from a containerized JavaEE application server cloud platform; the template file comprises platform environment configuration information and at least one variable information;
acquiring a parameter to be input corresponding to the variable information matched with the application;
and executing a mirror image constructing command according to the platform environment configuration information, the variable information and the parameters to be input to obtain a basic mirror image for running the application.
The working principle and the beneficial effects of the technical scheme are as follows: the scheme provides a specific method for constructing the basic mirror image, and the construction method is simple, quick and convenient to operate; the efficiency of constructing the mirror image can be improved, the occupied resources are less, and the labor and the cost are saved.
In one embodiment, the cloud platform is provided with a file operation monitor and a protection system, and the application release process is as follows:
the file operation monitor captures file operation of a client and sends file operation information corresponding to file operation actions to a protection system in the cloud platform; after feedback information which is sent by the protection system and used for indicating that the file operation information is successfully received is received, controlling a cloud platform to respond to the file operation action;
the protection system responds to the received file operation information and sends feedback information used for indicating that the file operation information is successfully received to the file operation monitor; and sending the file operation information to a JavaEE application server corresponding to the cloud platform by using a preset internet transmission component, and publishing the application file by the JavaEE application server according to the received indication of the file operation information.
The working principle and the beneficial effects of the technical scheme are as follows: by arranging the file operation monitor and the protection system, the working conditions of the cloud platform and the client in the application release process can be monitored in the whole process, possible problems are solved in time, the integrity of application release is guaranteed, and release failure is prevented.
In one embodiment, the cloud platform is provided with an application version detection module, the application version detection module reads an application version from an installation program package required by an application uploaded to the cloud platform, when a client used by a user is connected to a network, the application version detection module queries an operation application version of the client through the network, compares the operation application version of the client with an application version of the installation program package on the cloud platform, and sends a prompt that the application has a new version to the client of the user if the operation application version of the client is inconsistent with the application version of the installation program package on the cloud platform; after checking the prompt received by the client, the user autonomously selects immediate updating, delayed updating or no updating operation as required.
The working principle and the beneficial effects of the technical scheme are as follows: by setting the application version detection module, the application version used by the client is automatically detected through the network, the user of the client is prompted to update the application, and the added function use experience of the new version application is provided for the user in time.
In one embodiment, the cloud platform is provided with an application promotion module, the application promotion module extracts characteristic information of an application from an installation program package on the cloud platform to generate promotion information, and the characteristic information comprises function description information, running environment requirements, version information and release links of the application;
the application promotion module searches the client side without the application and the IP address thereof through the network, records, generates and stores a promotion list, and then sends promotion information to the client side in the promotion list in a set period; and if the client performs application installation operation through the release link in the promotion information, deleting the client from the promotion list.
The working principle and the beneficial effects of the technical scheme are as follows: by setting the application promotion module, the application information is obtained from the application installation program package to generate promotion information, the client side without the application installation is searched on the open network, the IP address of the client side is obtained, and the promotion information is sent to the client side according to the IP address, so that the attention of users is attracted, the number of the users applying the application is increased, and the market application rate is improved.
In one embodiment, the cloud platform is provided with an application updating module, when receiving a message that the cloud platform uploads a new version of an application installation program package, the application updating module searches clients installed with old versions of applications through network scanning, establishes a table to be updated, the table to be updated includes the clients installed with the old versions of applications and IP addresses thereof, then the cloud platform sends prompt information for updating the application versions at set time to the clients included in the table to be updated, and after the set time, the cloud platform remotely updates the applications by connecting the clients included in the table to be updated through the network;
the client can access the application updating module to perform updating setting, and for the client which is subjected to updating setting by accessing the application updating module, application updating is performed according to the updating setting;
and the application updating module detects the running environment of the client to be recorded in the updated table in advance, sends a prompt to be optimized to the client in advance if the running environment of the client cannot bear the application update after detection, and executes the update when the client meets the running environment requirement of the new version of application.
The working principle and the beneficial effects of the technical scheme are as follows: by arranging the application updating module on the cloud platform, the application updating service is uniformly carried out for the user at a specific time, the new version application is provided for the client of the user in time, and the uniform updating time can be set in a time period when most users do not use the application, such as a time period from twelve o 'clock at night to five o' clock at morning, so that the interference of the uniform updating service on the application used by the client is avoided.
In one embodiment, the cloud platform includes an antivirus system and a client module; the client module is used for scanning the anti-virus system of the cloud platform, wherein,
the client module detects a text of a cloud platform file opened by a client in a markup language, generates a text set for antivirus scanning, determines the capacity of a communication channel between the client module and the antivirus system, and determines the reserved throughput of the antivirus system;
the antivirus system selecting an assignment information speed from the client module to the antivirus system based on the text set for antivirus scanning, capacity of a communication channel, and reserved throughput; allocating a portion of the determined reserved throughput of the antivirus system for performing an antivirus scan of text being opened based on the selected information dispatch rate.
The working principle and the beneficial effects of the technical scheme are as follows: the client and the containerized JavaEE application server are immediately scanned through an anti-virus system to construct anti-virus protection, so that the client and the containerized JavaEE application server are prevented from being damaged by virus attack; the scanned text set is generated by the client module, and the capacity and the reserved throughput of the communication channel are determined so as to guide the provision of corresponding resources for anti-virus, thereby avoiding the waste caused by ineffective anti-virus or excessive resource allocation due to insufficient resource allocation.
In one embodiment, the cloud platform performs synchronous publishing by using a multi-channel signal, including:
setting the signal attribute of each channel signal according to the signal capacity of the multi-channel signal; compressing each channel signal according to the signal attribute under the condition of meeting the preset signal transmission quantity to obtain a corresponding compression branch, and storing the compression branches in parallel and continuously in a corresponding storage array on the cloud platform;
and when the cloud platform is used for issuing applications, all compression branches in the storage array are called to be issued synchronously.
The working principle and the beneficial effects of the technical scheme are as follows: by adopting a multi-channel signal synchronous issuing mode, issuing and transmission of the application are accelerated, so that the occupied time of the application issuing on a transmission channel is reduced, and the influence of the application issuing on other data transmission is reduced; in addition, the probability of network transmission problems in the issuing process can be reduced, and the risk of issuing failure is reduced.
In one embodiment, the cloud platform runs on a virtual cluster in a network, the virtual cluster includes a plurality of virtual machine nodes, a dependency relationship exists between rules of the virtual cluster constructed by the virtual machine nodes, and the cloud platform calculates a time complexity of the dependency relationship by using the following algorithm:
in the above formula, the first and second carbon atoms are,representing the temporal complexity of the dependency;representing a complexity function;representing the number of virtual machine nodes in the virtual cluster;andall represent a linear growth constant;
temporal complexity of dependency relationshipsAnd when the set value is reached, carrying out curing treatment on the cloud platform.
The working principle and the beneficial effects of the technical scheme are as follows: the time complexity algorithm of the dependency relationship confirms that the time complexity can be linearly increased along with the change of the iterative index, the basic resources which can be used for the virtual cluster are limited, and the time complexity calculation result of the dependency relationship is used for determining whether to perform solidification processing on the cloud platform, so that the problems that the basic resources are excessively consumed, the efficiency is low and even the cloud platform is crashed can be avoided.
In one embodiment, the physical resources occupied by the virtual cluster include a CPU, a memory, and a storage, and the managing and feeding back the physical resources occupied by the virtual cluster by the cloud platform includes:
calculating an average consumption rate of the physical resource by the following formula:
in the above formula, the first and second carbon atoms are,represents the average of the consumption rates of a CPU, memory, or storage;representing a physical resource, i.e., CPU, memory, or storage;representing a corresponding physical resource consumption rate;representing the corresponding physical resource weight value;
and if the average value of the consumption rates of the physical resources reaches a preset threshold value, the cloud platform sends out alarm information that the comprehensive load capacity occupies the physical resources and exceeds the limit, and prompts that the physical resources need to be expanded or the load capacity needs to be reduced.
The working principle and the beneficial effects of the technical scheme are as follows: the physical resource consumption rate concept is introduced in the management of the cloud platform on the physical resources occupied by the virtual clusters, the consumption rate average value of each physical resource is calculated through the formula, the physical resource occupation condition of the cloud platform operation is evaluated, if the physical resource occupation condition reaches a preset threshold value, the physical resource occupation condition in the cloud platform operation reaches a certain limit, corresponding operation processing is required to be carried out to solve the problem, otherwise, the cloud platform operation is poor and even crashes.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A secondary mirror image-free release method for a containerized JavaEE application server is characterized by comprising the following steps:
s100, constructing a cloud platform of a containerized JavaEE application server;
s200, uploading an installation program package required by the application to a cloud platform of a containerized JavaEE application server; constructing a basic mirror image of application operation;
s300, a configurator of a basic mirror image is arranged on a cloud platform, a CernVM-FS file library is created and added into an installation program package of an application, and the configurator takes the name of the CernVM-FS file library as input data and a necessary in-library path of the basic mirror image root;
s400, inputting a CernVM-FS file library name into a client, remotely starting a basic mirror image root directory by the client in a local mode, executing an application starting command by executing an application starting script, and finishing application release.
2. The method for releasing the twice-image-free containerized JavaEE application server of claim 1, wherein the basic image is constructed by the following steps:
acquiring a template file of the type of an application from a containerized JavaEE application server cloud platform; the template file comprises platform environment configuration information and at least one variable information;
acquiring a parameter to be input corresponding to the variable information matched with the application;
and executing a mirror image constructing command according to the platform environment configuration information, the variable information and the parameters to be input to obtain a basic mirror image for running the application.
3. The secondary-image-free release method for the containerized JavaEE application server of claim 1, wherein the cloud platform is provided with a file operation monitor and a protection system, and the release process of the application is as follows:
the file operation monitor captures file operation of a client and sends file operation information corresponding to file operation actions to a protection system in the cloud platform; after feedback information which is sent by the protection system and used for indicating that the file operation information is successfully received is received, controlling a cloud platform to respond to the file operation action;
the protection system responds to the received file operation information and sends feedback information used for indicating that the file operation information is successfully received to the file operation monitor; and sending the file operation information to a JavaEE application server corresponding to the cloud platform by using a preset internet transmission component, and publishing the application file by the JavaEE application server according to the received indication of the file operation information.
4. The release method of the twice-mirroring-free containerized JavaEE application server of claim 1, wherein the cloud platform is provided with an application version detection module, the application version detection module reads an application version from an installer package required by an application uploaded to the cloud platform, when a client used by a user is connected to a network, the application version detection module queries an operating application version of the client through the network, compares the operating application version of the client with an application version of the installer package on the cloud platform, and sends a prompt that the application has a new version to the client of the user if the operating application version of the client is inconsistent with the application version of the installer package on the cloud platform; after checking the prompt received by the client, the user autonomously selects immediate updating, delayed updating or no updating operation as required.
5. The secondary mirror image-free release method for the containerized JavaEE application server of claim 1, wherein the cloud platform is provided with an application promotion module, the application promotion module extracts characteristic information of an application from an installer package on the cloud platform to generate promotion information, and the characteristic information comprises function description information, operating environment requirements, version information and release links of the application;
the application promotion module searches the client side without the application and the IP address thereof through the network, records, generates and stores a promotion list, and then sends promotion information to the client side in the promotion list in a set period; and if the client performs application installation operation through the release link in the promotion information, deleting the client from the promotion list.
6. The release method of the twice-image-free containerized JavaEE application server of claim 1, wherein the cloud platform is provided with an application update module, the application update module searches a client terminal installed with an old application through network scanning when receiving a message that the cloud platform uploads a new application installer package, establishes a table to be updated, the table to be updated includes the client terminal installed with the old application and its IP address, then the cloud platform sends prompt information for updating the application version at a set time to the client terminal included in the table to be updated, and after the set time, the cloud platform remotely updates the application by connecting the client terminal included in the table to be updated through a network;
the client can access the application updating module to perform updating setting, and for the client with the updating setting, the application updating is executed according to the updating setting;
and the application updating module detects the running environment of the client to be recorded in the updated table in advance, sends a prompt to be optimized to the client in advance if the running environment of the client cannot bear the application update after detection, and executes the update when the client meets the running environment requirement of the new version of application.
7. The secondary-image-free containerized JavaEE application server releasing method of claim 1, wherein the cloud platform comprises an antivirus system and a client module; the client module is used for scanning the anti-virus system of the cloud platform, wherein,
the client module detects a text of a cloud platform file opened by a client in a markup language, generates a text set for antivirus scanning, determines the capacity of a communication channel between the client module and the antivirus system, and determines the reserved throughput of the antivirus system;
the antivirus system selecting an assignment information speed from the client module to the antivirus system based on the text set for antivirus scanning, capacity of a communication channel, and reserved throughput; allocating a portion of the determined reserved throughput of the antivirus system for performing an antivirus scan of text being opened based on the selected information dispatch rate.
8. The release method of the twice-image-free containerized JavaEE application server of claim 1, wherein the cloud platform adopts multi-channel signals for synchronous release, comprising:
setting the signal attribute of each channel signal according to the signal capacity of the multi-channel signal; compressing each channel signal according to the signal attribute under the condition of meeting the preset signal transmission quantity to obtain a corresponding compression branch, and storing the compression branches in parallel and continuously in a corresponding storage array on the cloud platform;
and when the cloud platform is used for issuing applications, all compression branches in the storage array are called to be issued synchronously.
9. The secondary-image-free containerized JavaEE application server releasing method of any one of claims 1 to 8, wherein the cloud platform runs on a virtual cluster in a network, the virtual cluster comprises a plurality of virtual machine nodes, a dependency relationship exists between rules for constructing the virtual cluster by the virtual machine nodes, and the cloud platform adopts the following algorithm to calculate the time complexity of the dependency relationship:
in the above formula, the first and second carbon atoms are,representing the temporal complexity of the dependency;representing a complexity function;representing the number of virtual machine nodes in the virtual cluster;andall represent a linear growth constant;
10. The release method of the containerized JavaEE application server free of secondary mirroring according to claim 9, wherein the physical resources occupied by the virtual cluster include a CPU, a memory and a storage, and the cloud platform manages and feeds back the physical resources occupied by the virtual cluster, including:
calculating an average consumption rate of the physical resource by the following formula:
in the above formula, the first and second carbon atoms are,represents the average of the consumption rates of a CPU, memory, or storage;representing a physical resource, i.e., CPU, memory, or storage;representing a corresponding physical resource consumption rate;representing the corresponding physical resource weight value;
and if the average value of the consumption rates of the physical resources reaches a preset threshold value, the cloud platform sends out alarm information that the comprehensive load capacity occupies the physical resources and exceeds the limit, and prompts that the physical resources need to be expanded or the load capacity needs to be reduced.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010720573.7A CN111597014B (en) | 2020-07-24 | 2020-07-24 | Secondary-mirror-image-free release method for containerized JavaEE application server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010720573.7A CN111597014B (en) | 2020-07-24 | 2020-07-24 | Secondary-mirror-image-free release method for containerized JavaEE application server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111597014A true CN111597014A (en) | 2020-08-28 |
CN111597014B CN111597014B (en) | 2020-11-10 |
Family
ID=72191919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010720573.7A Active CN111597014B (en) | 2020-07-24 | 2020-07-24 | Secondary-mirror-image-free release method for containerized JavaEE application server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111597014B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112910962A (en) * | 2021-01-15 | 2021-06-04 | 杭州安恒信息技术股份有限公司 | Product nano-tube method, system, device and storage medium of cloud resource pool |
CN113297158A (en) * | 2021-05-26 | 2021-08-24 | 杭州安恒信息技术股份有限公司 | Cloud security product management method, device, equipment and storage medium |
CN113687907A (en) * | 2021-07-22 | 2021-11-23 | 五八同城信息技术有限公司 | Application processing method and device, electronic equipment and storage medium |
WO2022057634A1 (en) * | 2020-09-21 | 2022-03-24 | International Business Machines Corporation | Containerized software discovery and identification |
CN114610357A (en) * | 2022-03-31 | 2022-06-10 | 中国电子科技集团公司第三十研究所 | Container mirror image and software system resource separate release, deployment and upgrade method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106982137A (en) * | 2017-03-08 | 2017-07-25 | 中国人民解放军国防科学技术大学 | Hadoop cluster Automation arranging methods based on kylin cloud computing platform |
CN108984205A (en) * | 2018-07-26 | 2018-12-11 | 浙江大学 | A kind of method and device of application automation building and deployment based on container technique |
CN109614138A (en) * | 2018-12-03 | 2019-04-12 | 湖南舜康信息技术有限公司 | A kind of application integration and dissemination method and system based on container cloud |
CN110442430A (en) * | 2019-08-06 | 2019-11-12 | 上海浦东发展银行股份有限公司信用卡中心 | A kind of dissemination method based on distributed storage container cloud application |
CN110603522A (en) * | 2017-05-02 | 2019-12-20 | 纳木技术株式会社 | Method for containerizing application program on cloud platform |
CN111198744A (en) * | 2018-11-16 | 2020-05-26 | 中标软件有限公司 | Method for automatic application program containerization and mirror image backup release |
-
2020
- 2020-07-24 CN CN202010720573.7A patent/CN111597014B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106982137A (en) * | 2017-03-08 | 2017-07-25 | 中国人民解放军国防科学技术大学 | Hadoop cluster Automation arranging methods based on kylin cloud computing platform |
CN110603522A (en) * | 2017-05-02 | 2019-12-20 | 纳木技术株式会社 | Method for containerizing application program on cloud platform |
CN108984205A (en) * | 2018-07-26 | 2018-12-11 | 浙江大学 | A kind of method and device of application automation building and deployment based on container technique |
CN111198744A (en) * | 2018-11-16 | 2020-05-26 | 中标软件有限公司 | Method for automatic application program containerization and mirror image backup release |
CN109614138A (en) * | 2018-12-03 | 2019-04-12 | 湖南舜康信息技术有限公司 | A kind of application integration and dissemination method and system based on container cloud |
CN110442430A (en) * | 2019-08-06 | 2019-11-12 | 上海浦东发展银行股份有限公司信用卡中心 | A kind of dissemination method based on distributed storage container cloud application |
Non-Patent Citations (3)
Title |
---|
A DE SALVO等: "Software installation and condition data distribution via CernVM File System in ATLAS", 《JOURNAL OF PHYSICS: CONFERENCE SERIES:396 032030》 * |
DARIO BERZANO 等: "Interactive exploitation of nonuniform cloud resources for LHC computing at CERN", 《2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING》 * |
J. BLOMER 等: "Distributing LHC application software and conditions databases using the CernVM file system", 《JOURNAL OF PHYSICS: CONFERENCE SERIES 331 042003》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022057634A1 (en) * | 2020-09-21 | 2022-03-24 | International Business Machines Corporation | Containerized software discovery and identification |
GB2613127A (en) * | 2020-09-21 | 2023-05-24 | Ibm | Containerized software discovery and identification |
US12001863B2 (en) | 2020-09-21 | 2024-06-04 | International Business Machines Corporation | Containerized software discovery and identification |
US12001864B2 (en) | 2020-09-21 | 2024-06-04 | International Business Machines Corporation | Containerized software discovery and identification |
CN112910962A (en) * | 2021-01-15 | 2021-06-04 | 杭州安恒信息技术股份有限公司 | Product nano-tube method, system, device and storage medium of cloud resource pool |
CN113297158A (en) * | 2021-05-26 | 2021-08-24 | 杭州安恒信息技术股份有限公司 | Cloud security product management method, device, equipment and storage medium |
CN113687907A (en) * | 2021-07-22 | 2021-11-23 | 五八同城信息技术有限公司 | Application processing method and device, electronic equipment and storage medium |
CN114610357A (en) * | 2022-03-31 | 2022-06-10 | 中国电子科技集团公司第三十研究所 | Container mirror image and software system resource separate release, deployment and upgrade method |
Also Published As
Publication number | Publication date |
---|---|
CN111597014B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111597014B (en) | Secondary-mirror-image-free release method for containerized JavaEE application server | |
CN108876121B (en) | Work order processing method and device, computer equipment and storage medium | |
CN106020930B (en) | A kind of application management method and system based on application container | |
CN100571281C (en) | Great magnitude of data hierarchical storage method | |
CN102880503A (en) | Data analysis system and data analysis method | |
CN110162334B (en) | Code management method, device and storage medium | |
CN112910723B (en) | Edge terminal management method, device, equipment and storage medium | |
CN110659261A (en) | Data mining model publishing method, model and model service management method | |
CN113315754A (en) | Intelligent linkage method, device, equipment and medium for firewall of container visit | |
CN117971384A (en) | Automatic operation and maintenance method based on container and big data | |
CN111984505A (en) | Operation and maintenance data acquisition engine and acquisition method | |
CN117909083A (en) | Distributed cloud container resource scheduling method and system | |
CN112565416B (en) | Cloud-native-based large-scale edge android equipment nanotube system and nanotube method thereof | |
CN112860251A (en) | Method and system for constructing website front end | |
CN113608838A (en) | Deployment method and device of application image file, computer equipment and storage medium | |
CN112202909B (en) | Online upgrading method and system for computer storage system | |
CN115129574A (en) | Code testing method and device | |
EP3447645A1 (en) | Smart provisioning software applications on edge devices in an internet-of-things environment | |
CN111082964B (en) | Distribution method and device of configuration information | |
CN113824801B (en) | Intelligent integration terminal unified access management component system | |
CN109814911A (en) | Method, apparatus, computer equipment and storage medium for Manage Scripts program | |
CN111026413B (en) | Requirement-oriented complex system 'pull' mode deployment system and method thereof | |
CN115729590A (en) | Service deployment method, device, equipment and computer readable storage medium | |
CN113721938A (en) | Edge-edge cooperative task processing method, device and system suitable for power Internet of things | |
CN102902825B (en) | A kind of database optimizing method and device |
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 |