CN117014494A - Application clouding method and device, electronic equipment and storage medium - Google Patents

Application clouding method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117014494A
CN117014494A CN202310952784.7A CN202310952784A CN117014494A CN 117014494 A CN117014494 A CN 117014494A CN 202310952784 A CN202310952784 A CN 202310952784A CN 117014494 A CN117014494 A CN 117014494A
Authority
CN
China
Prior art keywords
target
container
application
pool
network plug
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.)
Pending
Application number
CN202310952784.7A
Other languages
Chinese (zh)
Inventor
刘志轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinzhuan Xinke Co Ltd
Original Assignee
Jinzhuan Xinke Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jinzhuan Xinke Co Ltd filed Critical Jinzhuan Xinke Co Ltd
Priority to CN202310952784.7A priority Critical patent/CN117014494A/en
Publication of CN117014494A publication Critical patent/CN117014494A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application clouding method, an application clouding device, electronic equipment and a storage medium. The method specifically comprises the following steps: acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in a cloud environment, and a creation request of a target container; determining a fixed internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine; determining at least one target IP according to the creation request of the target container and the IP pool; and constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application. The method is equivalent to filling the definition parameters of the container through the type of the network plug-in, thereby completely replacing manual operation and intervention in the process of constructing the container and reducing errors caused by the manual operation; meanwhile, full-automatic operation of application software depending on IP communication in the container process is realized, and the application clouding efficiency is greatly improved.

Description

Application clouding method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of cloud computing, in particular to an application clouding method, an application clouding device, electronic equipment and a storage medium.
Background
Since the concept of cloud primordial is put forward, the cloud technology provides more convenient services for more and more users, and up to date, technologies such as Yun Yuansheng and cloud computing become an important component indispensable in the operation of the current social internet increasingly, and the cloud technology has great significance in improving the industrial efficiency and helping the industrial upgrading.
Currently, for a cloud native environment supporting the fixing of IP addresses (Internet Protocol Address, internet protocol addresses), compatibility with network plug-ins, and enabling IP pre-allocation prior to creating containers, is typically achieved manually. Related staff can help application cloud deployment through manual IP distribution, and corresponding functions are further achieved. However, this conventional manual approach has high error rates and low implementation efficiency.
Disclosure of Invention
The application provides an application clouding method, an application clouding device, electronic equipment and a storage medium, which are used for reducing the error rate in the clouding process and improving the realization efficiency.
According to an aspect of the present application, there is provided an application clouding method applied to a current container generation controller, the method comprising:
acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in a cloud environment, and a creation request of a target container;
determining a fixed internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine;
determining at least one target IP according to the creation request of the target container and the IP pool;
and constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application.
According to another aspect of the present application, there is provided an application clouding device, the device comprising:
the request acquisition module is used for acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in the cloud environment and a creation request of the target container;
the IP pool determining module is used for determining a fixed Internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine;
the target IP determining module is used for determining at least one target IP according to the creating request of the target container and the IP pool;
and the container construction module is used for constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application.
According to another aspect of the present application, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the application clouding method of any one of the embodiments of the present application.
According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the application clouding method according to any embodiment of the present application when executed.
According to the technical scheme of the embodiment of the application, based on the container editing engine, the corresponding IP pool is selected according to different network plug-ins, the required IP is selected from the IP pool, and the target container is constructed according to the IP, the configuration files and different network plug-ins, so that the target application can run in the cloud environment. The method has the advantages that the method is equivalent to filling the definition parameters of the container through the type of the network plug-in, thereby completely replacing manual operation and intervention in the process of constructing the container and reducing errors caused by the manual operation; meanwhile, full-automatic operation of application software depending on IP communication in the container process is realized, and the application clouding efficiency is greatly improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an application clouding method according to a first embodiment of the present application;
fig. 2 is a schematic diagram of a development framework for application clouding according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an application clouding device according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device implementing an application clouding method according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of an application clouding method provided in an embodiment of the present application, where the embodiment may be applied to a case where an application runs in a cloud environment through a container, where the container generation controller may be a custom controller in a cluster control node adopted by a user to clouding the application, and the current container generation controller is different from other controllers and is used to generate a current target container to help the target application run in the cloud environment. Moreover, the method may be performed by an application clouding device, which may be implemented in hardware and/or software, and which may be configured in an electronic apparatus. As shown in fig. 1, the method includes:
s110, acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in the cloud environment and a creation request of the target container.
Wherein the container may package the application into a standardized unit for development, delivery, and deployment, and the container editing engine may be an engine for assembling the generated container. The container editing engine according to the embodiment of the present application may be an engine developed in related technology, and optionally, the container editing engine may be kubernetes (K8S for short). K8S is an open source for managing containerized applications on multiple hosts in a cloud platform, and Kubernetes' S goal is to make deploying containerized applications simple and efficient, and Kubernetes provides a mechanism for application deployment, planning, updating, and maintenance.
The cloud environment may be any internet or big data environment capable of providing computing power, storage power, virtual machine services, or the like to users or various application systems on demand from a dynamically virtualized resource pool. The target application may be any application program that needs to be loaded into the cloud for running. The configuration file corresponding to the target application may be a file of related configuration parameters preset according to characteristics of the target application, and may be set and stored by related staff before application clouding, and directly obtained when application clouding is performed. The target container may then be a corresponding container for supporting the target application to run in the cloud environment. The creation request of the target container may be obtained by the current container generation controller from other end (e.g., terminal).
S120, determining a fixed Internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine.
The network plug-in types may include, but are not limited to, specific network plug-ins provided by each developer, for example, a calico and a flannel, where the network plug-in types are different, and the implemented network communication functions are different. Different network plug-in types also correspond to different IP pools. According to the difference of the network plug-ins, the IP pools corresponding to the network plug-ins are determined, and the IP to be allocated to the target application is selected from the IP pools after one pass.
In an alternative embodiment, after determining the fixed internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container orchestration engine, the method may further comprise: the controllers other than the current container generation controller are restricted from occupying the IP pool.
After the current container generation controller determines a certain IP pool corresponding to the network plug-in, the unique lock may be loaded on the IP pool, that is, the IP pool only opens the use right for the current container generation controller, and limits the use right (that is, the occupation right) for other controllers except the current container generation controller, that is, after the IP pool is determined, the other controllers cannot access the IP pool and occupy any IP therein. The purpose of this is to guarantee the uniqueness of the IP usage, which can improve the success rate of container creation.
S130, determining at least one target IP according to the creation request of the target container and the IP pool.
And determining the IP to be occupied according to the creation request of the target container and the determined IP pool acquired in the previous step. Of course, the manner of determining the IP may employ a random algorithm, and since the IPs in the IP pool play the same role in the application clouding process, there is no difference in occupying (or being allocated to) various IPs. The IP to be used can be quickly determined by a random selection algorithm.
In an alternative embodiment, the determining at least one target IP according to the creation request of the target container and the IP pool may include: determining the required quantity of the target IP according to the creation request of the target container; at least one unoccupied target IP is determined from the IP pool based on the number of requirements.
The creation request of the target container is related to the target application, and the creation request is generated according to the number of the IP which is required to be occupied by the target application. The resulting request for creating the target container thus includes the number of IPs that need to be occupied, i.e., the number of demands. According to the required number, a corresponding number of the IP is determined as the IP to be used by the target application from the unoccupied IP in the determined IP pool through a random algorithm. Of course, the occupied IP in the IP pool has been made an occupied tag, and the IP without the occupied tag is selected, and after determining the target IP in the embodiment of the present application, the occupied tag is assigned to the IP. This can prevent problems caused by the reuse of IP.
In an alternative embodiment, after determining at least one target IP from the creation request and the IP pool of the target container, the method may further include: and removing the occupation authority of the controller except the current container generation controller to the IP pool.
It may be that, as before, the IP pool needs to be locked before the target IP is determined, and then the IP pool may be unlocked after the target IP is determined, so that other controllers may select the unoccupied IP. The IP pool is locked and unlocked timely, the efficiency of selecting the IP can be effectively improved, other controllers are prevented from occupying the same IP, and therefore the stability of IP selection is guaranteed.
And S140, constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application.
And constructing a target container through K8S according to each target IP and preset configuration file determined in the previous step and a specific network plug-in, so that an environment which can be operated in the cloud is provided by the non-target application.
In an optional embodiment, the constructing, according to each target IP, the configuration file, and the network plug-in type, a target container corresponding to the target application may include: determining network plug-in requirements according to the network plug-in types; and constructing a target container according to the requirements of each target IP, the configuration file and the network plug-in.
The network plug-in requirement can be the use standard of the corresponding network plug-in when the target container is constructed, and the like. Because the types of the network plug-ins are different, the provided network services are different, the requirements of the network plug-ins are determined according to the types of the network plug-ins, then the network plug-ins are combined into corresponding definition formats by combining all target IP and configuration files, and a target container is created by using the definitions. Of course, the group and definition formats may also operate in K8S, which is not limited by the embodiment of the present application.
According to the technical scheme of the embodiment of the application, based on the container editing engine, the corresponding IP pool is selected according to different network plug-ins, the required IP is selected from the IP pool, and the target container is constructed according to the IP, the configuration files and different network plug-ins, so that the target application can run in the cloud environment. The method has the advantages that the method is equivalent to filling the definition parameters of the container through the type of the network plug-in, thereby completely replacing manual operation and intervention in the process of constructing the container and reducing errors caused by the manual operation; meanwhile, full-automatic operation of application software depending on IP communication in the container process is realized, and the application clouding efficiency is greatly improved.
Example two
Fig. 2 is a schematic diagram of a development framework for cloud application according to a second embodiment of the present application, which is a preferred implementation manner provided on the basis of the foregoing embodiments. The method comprises the following steps:
the embodiment of the application generates the corresponding container for the application needing clouding based on the cloud environment established by the kubernetes (K8S) of the open source. As shown in fig. 2, the custom controller is an execution subject of the embodiment of the present application (corresponding to the aforementioned current container generation controller), and the controller will take charge of abstract network plug-ins, manage fixed IP pool resources, apply for fixed IP, and determine fixed IP conforming to the network plug-ins.
Users want to deploy their own legacy software applications in a cloud environment, which needs to be able to fix the IP of the application, and thus need to define a profile describing the application and submit it to K8SAPI SERVER.
Monitoring a configuration file submitted by a user and transmitting the request to a custom controller containing our patent; the custom controller receives a request to create a container capable of securing IP.
The custom controller queries the network plug-in type in the K8S environment, queries the corresponding fixed IP resource pool, and stores the corresponding fixed IP resource pool in the program cache, and for convenience of description below, we call the fixed resource object in the cache as a controller-IP pool.
And the user-defined controller queries all containers in the K8S environment, queries the used IP of all the containers in the controller-ippool, and marks the occupied labels. The remaining IPs are marked with unoccupied labels.
Checking the request for constructing the container received in the previous step requires applying for n IP resources. And using a unique lock, other controllers are prevented from applying IP synchronously.
And randomly selecting n labels from the controller-ippool as unoccupied IP, marking the occupied labels and releasing the unique lock.
For different network plug-in requirements, the IP is combined into a required definition format, and corresponding containers are created by using the definitions, so that software applications needing cloudization by users can run in a cloud environment.
The method for distributing and generating the container by the IP can be compatible with various network plug-ins, abstract network capability, reduce the influence of difference caused by the network plug-ins and provide the same interface. The uniqueness of the IP use is guaranteed through the uniqueness lock, and the high success rate of container creation is guaranteed. Meanwhile, the generation of the container is carried out according to the type of the network plug-in, the IP and the configuration file, so that the manual operation in the process of applying for the container in the prior art is replaced, the efficiency is greatly improved, and the error rate of manual intervention is reduced.
Example III
Fig. 3 is a schematic structural diagram of an application clouding device according to a third embodiment of the present application. As shown in fig. 3, the apparatus 300 includes:
a request acquisition module 310, configured to acquire a container editing engine, a configuration file corresponding to a target application to be deployed in a cloud environment, and a creation request of a target container;
an IP pool determining module 320, configured to determine a fixed internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine;
a target IP determining module 330, configured to determine at least one target IP according to the creation request of the target container and the IP pool;
the container construction module 340 is configured to construct a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type, so as to implement cloud operation of the target application.
According to the technical scheme of the embodiment of the application, based on the container editing engine, the corresponding IP pool is selected according to different network plug-ins, the required IP is selected from the IP pool, and the target container is constructed according to the IP, the configuration files and different network plug-ins, so that the target application can run in the cloud environment. The method has the advantages that the method is equivalent to filling the definition parameters of the container through the type of the network plug-in, thereby completely replacing manual operation and intervention in the process of constructing the container and reducing errors caused by the manual operation; meanwhile, full-automatic operation of application software depending on IP communication in the container process is realized, and the application clouding efficiency is greatly improved.
In an alternative embodiment, the target IP determination module may include:
a demand number determining unit, configured to determine a demand number of the target IP according to the creation request of the target container;
and the IP determining unit is used for determining at least one unoccupied target IP from the IP pool according to the required quantity.
In an alternative embodiment, the container construction module 340 may include:
the plug-in requirement determining unit is used for determining the requirement of the network plug-in according to the type of the network plug-in;
and the target container construction unit is used for constructing a target container according to the requirements of each target IP, the configuration file and the network plug-in.
In an alternative embodiment, the apparatus 300 may further include:
and the right limiting module is used for limiting the occupation authority of the controller except the current container generation controller to the IP pool.
In an alternative embodiment, the apparatus 300 may further include:
and the right term releasing module is used for releasing the occupation authority of the controller except the current container generating controller to the IP pool.
In an alternative embodiment, the container editing engine may be kubernetes.
The application clouding device provided by the embodiment of the application can execute the application clouding method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of executing each application clouding method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, for example applying a clouding method.
In some embodiments, the application clouding method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of applying the clouding method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the application clouding method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present application are achieved, and the present application is not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. An application clouding method, characterized by being applied to a current container generation controller, the method comprising:
acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in a cloud environment, and a creation request of a target container;
determining a fixed internet protocol address resource pool (IP pool) corresponding to a network plug-in type according to the network plug-in type in the container arrangement engine;
determining at least one target IP according to the creation request of the target container and the IP pool;
and constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application.
2. The method of claim 1, wherein said determining at least one target IP from the creation request of the target container and the IP pool comprises:
determining the required quantity of the target IP according to the creation request of the target container;
and determining at least one unoccupied target IP from the IP pool according to the required quantity.
3. The method according to claim 1, wherein the constructing a target container corresponding to the target application according to each of the target IP, the configuration file, and the network plug-in type includes:
determining network plug-in requirements according to the network plug-in types;
and constructing the target container according to each target IP, the configuration file and the network plug-in requirements.
4. The method of claim 1, wherein after said determining a fixed internet protocol address resource pool (IP pool) corresponding to a network plug-in type in accordance with the network plug-in type in the container orchestration engine, the method further comprises:
and limiting the occupation authority of the controllers except the current container generation controller to the IP pool.
5. The method of claim 4, wherein after said determining at least one target IP from said creation request of said target container and said IP pool, said method further comprises:
and removing the occupation authority of the controller outside the current container generation controller on the IP pool.
6. The method of any one of claims 1-5, wherein the container editing engine is kubernetes.
7. An application clouding device, the device comprising:
the request acquisition module is used for acquiring a container editing engine, a configuration file corresponding to a target application to be deployed in the cloud environment and a creation request of the target container;
the IP pool determining module is used for determining a fixed Internet protocol address resource pool (IP pool) corresponding to the network plug-in type according to the network plug-in type in the container arrangement engine;
a target IP determining module, configured to determine at least one target IP according to the creation request of the target container and the IP pool;
and the container construction module is used for constructing a target container corresponding to the target application according to each target IP, the configuration file and the network plug-in type so as to realize cloud operation of the target application.
8. The apparatus of claim 7, wherein the target IP determination module comprises:
a required number determining unit, configured to determine a required number of target IPs according to the creation request of the target container;
and the IP determining unit is used for determining at least one unoccupied target IP from the IP pool according to the required quantity.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the application clouding method of any one of claims 1-6.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the application clouding method of any one of claims 1-6 when executed.
CN202310952784.7A 2023-07-31 2023-07-31 Application clouding method and device, electronic equipment and storage medium Pending CN117014494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310952784.7A CN117014494A (en) 2023-07-31 2023-07-31 Application clouding method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310952784.7A CN117014494A (en) 2023-07-31 2023-07-31 Application clouding method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117014494A true CN117014494A (en) 2023-11-07

Family

ID=88565021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310952784.7A Pending CN117014494A (en) 2023-07-31 2023-07-31 Application clouding method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117014494A (en)

Similar Documents

Publication Publication Date Title
CN111966500B (en) Resource scheduling method and device, electronic equipment and storage medium
CN106385329B (en) Processing method, device and the equipment of resource pool
WO2020215752A1 (en) Graph computing method and device
US20220179711A1 (en) Method For Platform-Based Scheduling Of Job Flow
CN113344074B (en) Model training method, device, equipment and storage medium
CN111459510A (en) Cross-network operating system installation method and device, electronic equipment and medium
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN117014494A (en) Application clouding method and device, electronic equipment and storage medium
CN112965836B (en) Service control method, device, electronic equipment and readable storage medium
CN110599112A (en) Method and device for developing and maintaining network page
CN113110920A (en) Operation method, device, equipment and storage medium of block chain system
CN116775171B (en) Architecture switching method and device, electronic equipment and storage medium
CN113220282B (en) Development processing method, device and storage medium for applet
CN114281478B (en) Container operation method and device, electronic equipment and computer storage medium
CN115277568A (en) Data sending method, device, equipment and storage medium
CN115510838A (en) Template generation method and device, electronic equipment and storage medium
CN117270862A (en) Software pluggable method, device, equipment and medium based on dynamic compiling
CN117742891A (en) Virtual machine creation method, device and equipment with vDPA equipment and storage medium
CN114064210A (en) Data volume changing method, device, equipment and storage medium
CN116382852A (en) Micro-service deployment method and device, electronic equipment and medium
CN115098520A (en) Device data updating method and device, electronic device and storage medium
CN115576977A (en) Data paging query method and device, electronic equipment and storage medium
CN117668114A (en) Data synchronization method, device, equipment and medium
CN117632384A (en) Distributed transaction processing method, device, equipment and storage medium
CN117298599A (en) Game version scheduling method, system, equipment and storage medium

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