Nothing Special   »   [go: up one dir, main page]

WO2019100605A1 - Platform-as-a-service paas container platform construction method, server, system, and storage medium - Google Patents

Platform-as-a-service paas container platform construction method, server, system, and storage medium Download PDF

Info

Publication number
WO2019100605A1
WO2019100605A1 PCT/CN2018/076110 CN2018076110W WO2019100605A1 WO 2019100605 A1 WO2019100605 A1 WO 2019100605A1 CN 2018076110 W CN2018076110 W CN 2018076110W WO 2019100605 A1 WO2019100605 A1 WO 2019100605A1
Authority
WO
WIPO (PCT)
Prior art keywords
container
service
platform
server
registration
Prior art date
Application number
PCT/CN2018/076110
Other languages
French (fr)
Chinese (zh)
Inventor
韩先跃
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019100605A1 publication Critical patent/WO2019100605A1/en

Links

Images

Classifications

    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method, a server, a system, and a storage medium for a platform-as-a-service PAAS container platform.
  • PAAS Planar-as-a-Service
  • PAAS container services when deploying PAAS container services, you need to purchase corresponding virtual machines and build complex networks to support communication interaction. This kind of scheme is cumbersome and costly. In view of this, it is a problem to be solved by quickly and easily creating a PAAS container service and reducing the cost.
  • the purpose of the present application is to provide a platform, service PAAS container platform construction method, server, system and storage medium, which aims to quickly and easily create a PAAS container service and reduce costs.
  • the present application provides a method for constructing a platform-as-a-service PAAS container platform, and the method for constructing the platform-as-a-service PAAS container platform includes the following steps:
  • the virtual server After receiving the container service registration command based on the cloud management server, the virtual server obtains a corresponding registration script according to the registration instruction, and installs the registration script to obtain a corresponding container proxy module, and uses the container proxy module and the public server.
  • the portal system internal call interface Portal Inner API requests registration from the platform portal system PAAS Portal;
  • the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined
  • the sending channel sends the creation instruction of the container service to the public server to forward the creation instruction of the container service to the virtual server;
  • the container proxy module of the virtual server receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server;
  • the container proxy module of the virtual server creates a container corresponding to the container service based on the creation instruction, and starts the container;
  • the operation and maintenance platform of the cloud management server reports the IP address and port corresponding to the input domain name information to the routing service module to change the domain name routing address to build a platform-as-a-service PAAS container platform. And access the corresponding container when subsequent access requests are received.
  • the present application further provides a virtual server including a memory and a processor connected to the memory, wherein the memory stores a processing system operable on the processor, The processing system implements the following steps when executed by the processor:
  • a registration step after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server
  • the Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
  • Receiving step receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
  • the creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
  • the present application further provides a cloud management server, the cloud management server includes a memory and a processor connected to the memory, where the operation and storage system operable on the processor is stored in the memory
  • the operation and maintenance system is executed by the processor, the following steps are implemented:
  • the instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel.
  • the container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
  • the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
  • the present application further provides a system, the system comprising:
  • a registration module configured to obtain a corresponding registration script according to the registration instruction after receiving the cloud service server-based container service registration instruction, and install the registration script to obtain a corresponding container proxy module;
  • the container proxy module is configured to request registration of the platform portal system PAAS Portal based on the public portal interface of the public server, and receive a creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and create the container service based on the creation instruction.
  • the present application further provides a system, the system comprising:
  • the creating module is configured to request the registration of the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, select a corresponding container service based on the domain name information input by the user, and send the corresponding delivery service through the predetermined delivery channel.
  • the container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
  • the change module is configured to: after the container proxy module of the virtual server starts the container, report the IP address and port corresponding to the domain name information input by the user to the routing service module to change the domain name routing address, to construct a platform-as-a-service PAAS container platform, and The corresponding container is accessed when the access request is subsequently received.
  • the application further provides a computer readable storage medium having a processing system stored thereon, the processing system being executed by the processor to implement the following steps:
  • a registration step after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server
  • the Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
  • Receiving step receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
  • the creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
  • the present application further provides another computer readable storage medium, on which the operation and maintenance system is stored, and when the operation and maintenance system is executed by the processor, the following steps are implemented:
  • the instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel.
  • the container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
  • the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
  • the application has the beneficial effects that the application automatically installs the container proxy module by using the existing virtual server and registers with the platform portal system PAAS Portal, and selects the corresponding container service according to the domain name input by the user, and the container is created by the container proxy module.
  • the operation and maintenance platform reports the ip and port corresponding to the domain name information to the routing service to change the domain name routing address, so that the container can be accessed directly according to the domain name when receiving the access request next time. Need to purchase the corresponding virtual machine, you can use the existing virtual server to create PAAS container service, low cost, no need to build a complex communication network, easy to operate.
  • FIG. 1 is a schematic diagram of an optional application environment of each embodiment of the present application.
  • FIG. 2 is a schematic diagram of a hardware architecture of an embodiment of the virtual server of FIG. 1;
  • FIG. 3 is a schematic diagram of a hardware architecture of an embodiment of the cloud management server of FIG. 1;
  • FIG. 4 is a schematic flowchart of a method for constructing a platform-as-a-service PAAS container platform according to an embodiment of the present application.
  • FIG. 1 it is a schematic diagram of an application environment of a preferred embodiment of a method for constructing a platform-as-a-service PAAS container platform.
  • the application environment diagram includes a virtual server 1, a cloud management server 2, and a public server 3. Data interaction between the virtual server 1 and the cloud public server 3, the cloud management server 2, and the public server 3 may be performed by a suitable technology such as a network.
  • the public server 3 functions as a VPC isolation for the virtual server 1 and the cloud management server 2.
  • Both the virtual server 1 and the cloud management server 2 are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and may be a single network server, a server group composed of multiple network servers, or based on A cloud consisting of a large number of hosts or network servers, of which cloud computing is a type of distributed computing, a super-virtual computer composed of a group of loosely coupled computers.
  • the virtual server 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that are communicably connected to each other through a system bus.
  • the memory 11 is stored and processed.
  • the cloud management server 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 communicably connected to each other through a system bus, and the memory 21 stores an operation and maintenance system operable on the processor 22.
  • FIG. 2 and FIG. 3 only show the above-mentioned component virtual server 1 and cloud management server 2, but it should be understood that not all of the illustrated components are required to be implemented, and alternative implementations may be more or more. Less components.
  • the memory 11 includes a memory and at least one type of readable storage medium.
  • the memory provides a cache for the operation of the electronic device 1;
  • the readable storage medium may be, for example, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM).
  • a non-volatile storage medium such as a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, or the like.
  • the readable storage medium may be an internal storage unit of the virtual server 1 (Cloud Management Server 2), such as a hard disk of the virtual server 1 (Cloud Management Server 2); in other embodiments, the non-easy
  • the cryptographic storage medium may also be an external storage device of the virtual server 1 (the cloud management server 2), such as a plug-in hard disk (Smart Media Card, SMC) equipped on the virtual server 1 (the cloud server 2). Secure Digital (SD) card, Flash Card, etc.
  • the readable storage medium of the memory 11 (memory 21) is generally used to store an operating system and various application software installed on the virtual server 1 (the cloud management server 2), for example, the processing system in an embodiment of the present application. (Operation and maintenance system) program code, etc. Further, the memory 11 (memory 21) can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the virtual server 1 (Cloud Management Server 2), such as performing data interaction or communication related control and processing, and the like.
  • the processor 12 is configured to run program code or process data stored in the memory 11 (memory 21), such as a running processing system (operation and maintenance system).
  • the network interface 13 may include a wireless network interface or a wired network interface, and the network interface 13 (the network interface 23) is generally used between the virtual server 1 (the cloud server 2) and other electronic devices. Establish a communication connection.
  • the processing system (Operation and Maintenance System) is stored in the memory 11 (memory 21) and includes at least one computer readable instruction stored in the memory 11 (memory 21), the at least one computer readable instruction being readable by the processor 12 (
  • the processor 22) executes to implement the methods of the various embodiments of the present application; and the at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by the various portions thereof.
  • the processing system of the virtual server 1 is implemented by the processor 12 as follows:
  • a registration step after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server
  • the Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
  • the user can operate on the terminal, and perform one-click registration after logging in to the existing virtual server.
  • the cloud server server-based container service registration instruction is sent to the virtual server, and the virtual server is configured according to the registration instruction.
  • the registration script is automatically installed to obtain the container proxy module, and the container proxy module registers with the platform portal system PAAS Portal, wherein the container proxy module sends a request to the public server, and the portal system of the public server invokes the interface Portal Inner
  • the API sends the request to the cloud management server to request registration from the platform portal system PAAS Portal in the cloud management server.
  • Receiving step receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
  • the creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
  • the registration request is completed to the platform portal system PAAS Portal in the cloud management server, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the container proxy of the virtual server
  • the module receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and creates the container corresponding to the container service according to the service process of the platform portal system PAAS portal.
  • the container proxy module of the virtual server prepares a configuration change file corresponding to the container of the container service based on the creation instruction, reads a variable in the configuration change file, updates, pulls a mirror corresponding to the container, and creates a volume. And all the volumes of the container are mounted, and the container can be started after the above operation is completed.
  • the virtual server cooperates with the operation of the cloud server construction platform, that is, the service PAAS container platform.
  • the method further comprises: performing health check on the container by a predetermined health check mechanism, and starting the container after the health check succeeds.
  • the predetermined health check mechanism is a process-level health check mechanism, and the interval between two health tests may be 30 seconds.
  • the instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel.
  • the container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
  • the domain name information is input on the platform portal system PAAS Portal, and the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined
  • the sending channel sends the creation instruction of the container service to the public server, wherein the predetermined delivery channel includes a Websocket delivery channel or an Http delivery channel, that is, the operation and maintenance platform can directly send the creation instruction to the public server through the Http delivery channel. Or the operation and maintenance platform can send the creation instruction to the public server through the Websocket issuing channel, and the public server forwards the creation instruction of the container service to the virtual server through the Pcs internal calling interface.
  • the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
  • the operation and maintenance platform of the cloud management server performs an IP binding operation or a CNAME operation according to the domain name information input by the user, that is, the IP address and the port corresponding to the domain name information are reported to the routing service module of the cloud management server.
  • the domain name routing address is changed.
  • NAT is automatically processed in the background and accesses the corresponding container service.
  • the method for constructing the platform as a service PAAS container platform of the present application includes the following steps:
  • Step S1 After receiving the container service registration command based on the cloud management server, the virtual server acquires a corresponding registration script according to the registration instruction, installs the registration script to obtain a corresponding container proxy module, and uses the container proxy module and the public.
  • the portal system of the server's portal system calls the Portal Inner API to request registration from the platform portal system PAAS Portal;
  • the user can operate on the terminal, and perform one-click registration after logging in to the existing virtual server.
  • the cloud server server-based container service registration instruction is sent to the virtual server, and the virtual server is configured according to the registration instruction.
  • the registration script is automatically installed to obtain the container proxy module, and the container proxy module registers with the platform portal system PAAS Portal, wherein the container proxy module sends a request to the public server, and the portal system of the public server invokes the interface Portal Inner
  • the API sends the request to the cloud management server to request registration from the platform portal system PAAS Portal in the cloud management server.
  • Step S2 after the virtual server requests the registration of the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined
  • the issuing channel sends the creation instruction of the container service to the public server to forward the creation instruction of the container service to the virtual server;
  • the domain name information is input on the platform portal system PAAS Portal, and the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined
  • the sending channel sends the creation instruction of the container service to the public server, wherein the predetermined delivery channel includes a Websocket delivery channel or an Http delivery channel, that is, the operation and maintenance platform can directly send the creation instruction to the public server through the Http delivery channel. Or the operation and maintenance platform can send the creation instruction to the public server through the Websocket issuing channel, and the public server forwards the creation instruction of the container service to the virtual server through the Pcs internal calling interface.
  • Step S3 receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
  • Step S4 the container proxy module of the virtual server creates a container corresponding to the container service based on the creation instruction, and starts the container;
  • the container proxy module of the virtual server receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and creates the container corresponding to the container service according to the service process of the platform portal system PAAS portal.
  • the container proxy module of the virtual server prepares a configuration change file corresponding to the container of the container service based on the creation instruction, reads a variable in the configuration change file, updates, pulls a mirror corresponding to the container, and creates a volume. And mount all the volumes of the container, and when the above operation is completed, the container can be started.
  • the method further comprises: performing health check on the container by a predetermined health check mechanism, and starting the container after the health check succeeds.
  • the predetermined health check mechanism is a process-level health check mechanism, and the interval between two health tests may be 30 seconds.
  • Step S5 After the container proxy module of the virtual server starts the container, the operation and maintenance platform of the cloud management server reports the IP address and port corresponding to the input domain name information to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container. The platform and access the corresponding container when subsequent access requests are received.
  • the operation and maintenance platform of the cloud management server performs an IP binding operation or a CNAME operation according to the domain name information input by the user, that is, the IP address and the port corresponding to the domain name information are reported to the routing service module of the cloud management server.
  • the domain name routing address is changed.
  • NAT is automatically processed in the background and accesses the corresponding container service.
  • the present embodiment uses the existing virtual server to automatically install the container proxy module and register to the platform portal system PAAS Portal, and selects the corresponding container service according to the domain name input by the user, and the container proxy module creates the The container corresponding to the container service, after the container is started, the operation and maintenance platform reports the ip and port corresponding to the domain name information to the routing service to change the domain name routing address, so that the container can be accessed directly according to the domain name when receiving the access request next time. For example, you do not need to purchase the corresponding virtual machine, you can use the existing virtual server to create a PAAS container service, which is low in cost, does not need to build a complex communication network, and is easy to operate.
  • the method further includes: after the registration is completed, the operation and maintenance platform of the cloud management server records the corresponding registration information, where the registration information includes the container.
  • Agent module Id information AgentId
  • host MAC host ID (randomly generated), host IP address (hostIp), agent port information (agentPort), host area (zone), host computer room (hostIdc), ak authentication information, sk Certification Information.
  • the method further includes: the operation and maintenance platform of the cloud management server receives the creation information of the container forwarded by the Pcs internal call interface of the public server, and records the creation information, wherein the creation information includes Container proxy module Id information (AgentId), request routing ID (reqRouteId), mounted content (volumnContent), docker startup command (dockerCmd), application service instance content (applyContent, including CPU and memory), docker environment variable (dockerEnv), Image name (image), Docker startup network mode (dockerNetMode), container-to-host mapping relationship map (servicePortMap).
  • Container proxy module Id information AgentId
  • request routing ID (reqRouteId)
  • mounted content volumemnContent
  • docker startup command dockerCmd
  • application service instance content application service instance content
  • applyContent including CPU and memory
  • docker environment variable dockerEnv
  • Image name image
  • Docker startup network mode dockerNetMode
  • container-to-host mapping relationship map servicePort
  • the method further includes: after accessing the container, the operation and maintenance platform of the cloud management server records the corresponding access information.
  • the access information mainly includes the ip initiated by the container, the host mapping port, and the bound domain name information.
  • the cloud management server's operation and maintenance platform can perform comprehensive control or tracking and scheduling of container services, and timely discover abnormal conditions and improve usage flexibility.
  • the step S5 further includes: the operation and maintenance platform of the cloud management server batches the agent upgrade data to each container of the virtual server.
  • the agent module automatically upgrades and receives the corresponding upgrade information returned by the container proxy module of the virtual server through the public server, and records the upgrade information.
  • the upgrade information includes the upgraded container proxy module Id information (AgentId), the version number, and the upgrade result.
  • the upgrade result includes the upgrade success information or the upgrade failure information.
  • the method further includes:
  • the operation of the intermediate step monitoring of the container service is initiated by the container proxy module of the virtual server, and the operations monitored by the intermediate step include setting environment variables, storing the mount result, starting or closing the result of the container service, and monitoring the result of the health check;
  • the container agent module of the virtual server reports the container related information to the operation and maintenance platform, and the related information of the container includes the container process, the cpu running status, the memory, and the heartbeat time;
  • the container agent module of the virtual server reports the host related information to the operation and maintenance platform, and the related information of the host includes cpu running status, memory, input and output io, and container mapping port status information;
  • the operation and maintenance platform of the cloud management server receives the container related information and the host related information reported by the container proxy module of the virtual server, and when the container related information or the host related information is abnormal, for example, the memory is insufficient or the usage rate of the CPU exceeds the predetermined usage rate. , the alarm message is automatically sent.
  • the present application further provides a computer readable storage medium, when the processing system is executed by a processor, the following steps are performed: a registration step, after receiving a cloud service server-based container service registration instruction, acquiring a corresponding according to the registration instruction Registering a script, installing the registration script to obtain a corresponding container proxy module, requesting registration with the platform portal system PAAS Portal by using the container proxy module and the portal system internal calling interface Portal Inner API of the public server; receiving step: a container by the virtual server The proxy module receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server; and the creating step, the container proxy module of the virtual server creates the container corresponding to the container service based on the creation instruction, and starts the container.
  • the present application further provides another computer readable storage medium, on which the operation and maintenance system is stored, and when the operation and maintenance system is executed by the processor, the following steps are implemented: creating an instruction sending step in the virtual server
  • the platform portal system PAAS Portal requests the registration to be completed, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the creation instruction of the container service is sent to the public server through the predetermined delivery channel.
  • the forwarding instruction of the container service is forwarded to the virtual server; the change step is performed, after the container proxy module of the virtual server starts the container, the IP address and the port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

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)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to a platform-as-a-service PAAS container platform construction method, server, system, and storage medium, the method comprising: after receiving a registration command of a container service, a virtual server acquires a registration script on the basis of the registration command and installs a container proxy module, using the container proxy module and a portal system inner invocation interface of a public server to request registration from the platform portal system; when registration is complete and after logging in, an operation and maintenance platform of a cloud management server selects a corresponding container service on the basis of domain name information, and sends a container service establishment command to the public server; the container proxy module of the virtual server receives the establishment command and, on the basis of the establishment command, establishes a corresponding container and starts up same; and the operation and maintenance platform of the cloud management server reports an IP address and port corresponding to the domain name information to a routing service module for domain name routing address modification in order to establish a PAAS container service. The present application can use an existing virtual server to establish a PAAS container service; operation is simple and costs are low.

Description

平台即服务PAAS容器平台的构建方法、服务器、系统及存储介质Platform-as-a-service PAAS container platform construction method, server, system and storage medium
优先权申明Priority claim
本申请基于巴黎公约申明享有2017年11月21日递交的申请号为CN 201711161342.1、名称为“平台即服务PAAS容器平台的构建方法、服务器及存储介质”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Building Method, Server and Storage Medium for Platform-as-a-Service PAAS Container Platform", filed on November 21, 2017, with the application number CN 201711161342.1 submitted on November 21, 2017. The overall content is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种平台即服务PAAS容器平台的构建方法、服务器、系统及存储介质。The present application relates to the field of communications technologies, and in particular, to a method, a server, a system, and a storage medium for a platform-as-a-service PAAS container platform.
背景技术Background technique
目前,容器服务开源平台比较多,对于PAAS(Platform-as-a-Service,平台即服务)来说,在部署PAAS容器服务时,需要购买相应的虚拟机,并构建复杂的网络以支持通信交互,这种方案操作繁琐,成本大。鉴于此,简便快捷地创建PAAS容器服务并降低成本,成为有待解决的问题。At present, there are many open source platforms for container services. For PAAS (Platform-as-a-Service), when deploying PAAS container services, you need to purchase corresponding virtual machines and build complex networks to support communication interaction. This kind of scheme is cumbersome and costly. In view of this, it is a problem to be solved by quickly and easily creating a PAAS container service and reducing the cost.
发明内容Summary of the invention
本申请的目的在于提供一种平台即服务PAAS容器平台的构建方法、服务器、系统及存储介质,旨在简便快捷地创建PAAS容器服务并降低成本。The purpose of the present application is to provide a platform, service PAAS container platform construction method, server, system and storage medium, which aims to quickly and easily create a PAAS container service and reduce costs.
为实现上述目的,本申请提供一种平台即服务PAAS容器平台的构建方法,所述平台即服务PAAS容器平台的构建方法包括以下步骤:To achieve the above objective, the present application provides a method for constructing a platform-as-a-service PAAS container platform, and the method for constructing the platform-as-a-service PAAS container platform includes the following steps:
S1,虚拟服务器在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;S1. After receiving the container service registration command based on the cloud management server, the virtual server obtains a corresponding registration script according to the registration instruction, and installs the registration script to obtain a corresponding container proxy module, and uses the container proxy module and the public server. The portal system internal call interface Portal Inner API requests registration from the platform portal system PAAS Portal;
S2,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,云管服务器的运维平台基于用户输 入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;S2, after the virtual server requests the registration of the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined The sending channel sends the creation instruction of the container service to the public server to forward the creation instruction of the container service to the virtual server;
S3,由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的该容器服务的创建指令;S3. The container proxy module of the virtual server receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server;
S4,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器;S4, the container proxy module of the virtual server creates a container corresponding to the container service based on the creation instruction, and starts the container;
S5,在虚拟服务器的容器代理模块启动容器后,云管服务器的运维平台将输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。S5, after the container proxy module of the virtual server starts the container, the operation and maintenance platform of the cloud management server reports the IP address and port corresponding to the input domain name information to the routing service module to change the domain name routing address to build a platform-as-a-service PAAS container platform. And access the corresponding container when subsequent access requests are received.
为实现上述目的,本申请还提供一种虚拟服务器,所述虚拟服务器包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的处理系统,所述处理系统被所述处理器执行时实现如下步骤:To achieve the above object, the present application further provides a virtual server including a memory and a processor connected to the memory, wherein the memory stores a processing system operable on the processor, The processing system implements the following steps when executed by the processor:
注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;a registration step, after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server The Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;Receiving step: receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器。The creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
为实现上述目的,本申请还提供一种云管服务器,所述云管服务器包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的运维系统,所述运维系统被所述处理器执行时实现如下步骤:To achieve the above objective, the present application further provides a cloud management server, the cloud management server includes a memory and a processor connected to the memory, where the operation and storage system operable on the processor is stored in the memory When the operation and maintenance system is executed by the processor, the following steps are implemented:
创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域 名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。After the container proxy module of the virtual server starts the container, the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
为实现上述目的,本申请还提供一种系统,所述系统包括:To achieve the above object, the present application further provides a system, the system comprising:
注册模块,用于在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块;a registration module, configured to obtain a corresponding registration script according to the registration instruction after receiving the cloud service server-based container service registration instruction, and install the registration script to obtain a corresponding container proxy module;
所述容器代理模块用于基于公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册,接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令,基于该创建指令创建该容器服务对应的容器,并启动该容器。The container proxy module is configured to request registration of the platform portal system PAAS Portal based on the public portal interface of the public server, and receive a creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and create the container service based on the creation instruction. The container corresponding to the container service, and start the container.
为实现上述目的,本申请还提供一种系统,所述系统包括:To achieve the above object, the present application further provides a system, the system comprising:
创建模块,用于在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The creating module is configured to request the registration of the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, select a corresponding container service based on the domain name information input by the user, and send the corresponding delivery service through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
变更模块,用于在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。The change module is configured to: after the container proxy module of the virtual server starts the container, report the IP address and port corresponding to the domain name information input by the user to the routing service module to change the domain name routing address, to construct a platform-as-a-service PAAS container platform, and The corresponding container is accessed when the access request is subsequently received.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有处理系统,所述处理系统被处理器执行时实现如下步骤:The application further provides a computer readable storage medium having a processing system stored thereon, the processing system being executed by the processor to implement the following steps:
注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;a registration step, after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server The Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;Receiving step: receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服 务对应的容器,并启动该容器。The creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
本申请还提供另一种计算机可读存储介质,所述计算机可读存储介质上存储有运维系统,所述运维系统被处理器执行时实现如下步骤:The present application further provides another computer readable storage medium, on which the operation and maintenance system is stored, and when the operation and maintenance system is executed by the processor, the following steps are implemented:
创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。After the container proxy module of the virtual server starts the container, the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
本申请的有益效果是:本申请利用已有的虚拟服务器一键自动安装得到容器代理模块并注册至平台门户系统PAAS Portal,根据用户输入的域名选择对应的容器服务,由容器代理模块创建该容器服务对应的容器,在启动容器后,运维平台将域名信息对应的ip和端口上报到路由服务进行域名路由地址变更,以便下次接收到访问请求时直接根据域名就可以访问容器,本申请不需要购买相应的虚拟机,可以利用已有的虚拟服务器创建PAAS容器服务,成本低,不需要构建复杂的通信网络,操作简便。The application has the beneficial effects that the application automatically installs the container proxy module by using the existing virtual server and registers with the platform portal system PAAS Portal, and selects the corresponding container service according to the domain name input by the user, and the container is created by the container proxy module. After the container is started, the operation and maintenance platform reports the ip and port corresponding to the domain name information to the routing service to change the domain name routing address, so that the container can be accessed directly according to the domain name when receiving the access request next time. Need to purchase the corresponding virtual machine, you can use the existing virtual server to create PAAS container service, low cost, no need to build a complex communication network, easy to operate.
附图说明DRAWINGS
图1为本申请各个实施例一可选的应用环境示意图;1 is a schematic diagram of an optional application environment of each embodiment of the present application;
图2是图1中虚拟服务器一实施例的硬件架构的示意图;2 is a schematic diagram of a hardware architecture of an embodiment of the virtual server of FIG. 1;
图3是图1中云管服务器一实施例的硬件架构的示意图;3 is a schematic diagram of a hardware architecture of an embodiment of the cloud management server of FIG. 1;
图4为本申请平台即服务PAAS容器平台的构建方法一实施例的流程示意图。FIG. 4 is a schematic flowchart of a method for constructing a platform-as-a-service PAAS container platform according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施 例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请平台即服务PAAS容器平台的构建方法的较佳实施例的应用环境示意图。该应用环境示意图包括虚拟服务器1、云管服务器2及公共服务器3。虚拟服务器1与云公共服务器3之间、云管服务器2及公共服务器3之间可以通过网络等适合的技术进行数据交互。公共服务器3对于虚拟服务器1及云管服务器2起到VPC隔离的作用。Referring to FIG. 1 , it is a schematic diagram of an application environment of a preferred embodiment of a method for constructing a platform-as-a-service PAAS container platform. The application environment diagram includes a virtual server 1, a cloud management server 2, and a public server 3. Data interaction between the virtual server 1 and the cloud public server 3, the cloud management server 2, and the public server 3 may be performed by a suitable technology such as a network. The public server 3 functions as a VPC isolation for the virtual server 1 and the cloud management server 2.
虚拟服务器1及云管服务器2均是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备,可以是单个网络服务器、多个网络服务器组成的服务器组或者基于云计算的由大量主机或者网络服务器构成的云,其中云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。Both the virtual server 1 and the cloud management server 2 are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and may be a single network server, a server group composed of multiple network servers, or based on A cloud consisting of a large number of hosts or network servers, of which cloud computing is a type of distributed computing, a super-virtual computer composed of a group of loosely coupled computers.
结合参阅图2及图3,在本实施例中,虚拟服务器1可包括,但不仅限于,可通过系统总线相互通信连接的存储器11、处理器12、网络接口13,存储器11存储有可在处理器12上运行的处理系统。云管服务器2可包括,但不仅限于,可通过系统总线相互通信连接的存储器21、处理器22、网络接口23,存储器21存储有可在处理器22上运行的运维系统。需要指出的是,图2及图3仅示出了具有上述组件虚拟服务器1及云管服务器2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Referring to FIG. 2 and FIG. 3, in the embodiment, the virtual server 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that are communicably connected to each other through a system bus. The memory 11 is stored and processed. The processing system running on the device 12. The cloud management server 2 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 communicably connected to each other through a system bus, and the memory 21 stores an operation and maintenance system operable on the processor 22. It should be noted that FIG. 2 and FIG. 3 only show the above-mentioned component virtual server 1 and cloud management server 2, but it should be understood that not all of the illustrated components are required to be implemented, and alternative implementations may be more or more. Less components.
其中,存储器11(存储器21)包括内存及至少一种类型的可读存储介 质。内存为电子装置1的运行提供缓存;可读存储介质可为如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等的非易失性存储介质。在一些实施例中,可读存储介质可以是虚拟服务器1(云管服务器2)的内部存储单元,例如该虚拟服务器1(云管服务器2)的硬盘;在另一些实施例中,该非易失性存储介质也可以是虚拟服务器1(云管服务器2)的外部存储设备,例如虚拟服务器1(云管服务器2)上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。本实施例中,存储器11(存储器21)的可读存储介质通常用于存储安装于虚拟服务器1(云管服务器2)的操作系统和各类应用软件,例如本申请一实施例中的处理系统(运维系统)的程序代码等。此外,存储器11(存储器21)还可以用于暂时地存储已经输出或者将要输出的各类数据。Among them, the memory 11 (memory 21) includes a memory and at least one type of readable storage medium. The memory provides a cache for the operation of the electronic device 1; the readable storage medium may be, for example, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM). A non-volatile storage medium such as a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, or the like. In some embodiments, the readable storage medium may be an internal storage unit of the virtual server 1 (Cloud Management Server 2), such as a hard disk of the virtual server 1 (Cloud Management Server 2); in other embodiments, the non-easy The cryptographic storage medium may also be an external storage device of the virtual server 1 (the cloud management server 2), such as a plug-in hard disk (Smart Media Card, SMC) equipped on the virtual server 1 (the cloud server 2). Secure Digital (SD) card, Flash Card, etc. In this embodiment, the readable storage medium of the memory 11 (memory 21) is generally used to store an operating system and various application software installed on the virtual server 1 (the cloud management server 2), for example, the processing system in an embodiment of the present application. (Operation and maintenance system) program code, etc. Further, the memory 11 (memory 21) can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12(处理器22)在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12(处理器22)通常用于控制所述虚拟服务器1(云管服务器2)的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12(处理器22)用于运行所述存储器11(存储器21)中存储的程序代码或者处理数据,例如运行处理系统(运维系统)等。The processor 12 (processor 22) may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 (processor 22) is typically used to control the overall operation of the virtual server 1 (Cloud Management Server 2), such as performing data interaction or communication related control and processing, and the like. In this embodiment, the processor 12 (the processor 22) is configured to run program code or process data stored in the memory 11 (memory 21), such as a running processing system (operation and maintenance system).
所述网络接口13(网络接口23)可包括无线网络接口或有线网络接口,该网络接口13(网络接口23)通常用于在所述虚拟服务器1(云管服务器2)与其他电子设备之间建立通信连接。The network interface 13 (the network interface 23) may include a wireless network interface or a wired network interface, and the network interface 13 (the network interface 23) is generally used between the virtual server 1 (the cloud server 2) and other electronic devices. Establish a communication connection.
所述处理系统(运维系统)存储在存储器11(存储器21)中,包括至少一个存储在存储器11(存储器21)中的计算机可读指令,该至少一个计算机可读指令可被处理器12(处理器22)执行,以实现本申请各实施例的方法;以及,该至少一个计算机可读指令依据其各部分所实现的功能不同,可被划为不同的逻辑模块。The processing system (Operation and Maintenance System) is stored in the memory 11 (memory 21) and includes at least one computer readable instruction stored in the memory 11 (memory 21), the at least one computer readable instruction being readable by the processor 12 ( The processor 22) executes to implement the methods of the various embodiments of the present application; and the at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by the various portions thereof.
在一实施例中,虚拟服务器1的处理系统被所述处理器12执行时实现 如下步骤:In an embodiment, the processing system of the virtual server 1 is implemented by the processor 12 as follows:
注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;a registration step, after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server The Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
本实施例中,可以由用户在终端上操作,在登录已有的虚拟服务器后执行一键注册,具体地,向虚拟服务器发送基于云管服务器的容器服务注册指令,虚拟服务器根据所述注册指令获取对应的注册脚本,注册脚本自动进行安装得到容器代理模块,并由容器代理模块注册到平台门户系统PAAS Portal,其中,容器代理模块向公共服务器发送请求,公共服务器的门户系统内部调用接口Portal Inner API将该请求发送给云管服务器,以向在云管服务器中的平台门户系统PAAS Portal请求注册。In this embodiment, the user can operate on the terminal, and perform one-click registration after logging in to the existing virtual server. Specifically, the cloud server server-based container service registration instruction is sent to the virtual server, and the virtual server is configured according to the registration instruction. Obtain the corresponding registration script, the registration script is automatically installed to obtain the container proxy module, and the container proxy module registers with the platform portal system PAAS Portal, wherein the container proxy module sends a request to the public server, and the portal system of the public server invokes the interface Portal Inner The API sends the request to the cloud management server to request registration from the platform portal system PAAS Portal in the cloud management server.
接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;Receiving step: receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器。The creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
本实施例中,在向在云管服务器中的平台门户系统PAAS Portal请求注册完成,并在用户登录平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的该容器服务的创建指令,按照平台门户系统PAAS portal的服务流程创建该容器服务对应的容器即可。In this embodiment, the registration request is completed to the platform portal system PAAS Portal in the cloud management server, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the container proxy of the virtual server The module receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and creates the container corresponding to the container service according to the service process of the platform portal system PAAS portal.
具体地,由虚拟服务器的容器代理模块基于该创建指令准备该容器服务的容器对应的配置变更文件、读取所述配置变更文件中的变量并进行更新、拉取该容器对应的镜像,创建卷并挂载该容器的所有的卷,当上述操作完成后可以启动该容器,至此,虚拟服务器配合完成与云管服务器构建平台即服务PAAS容器平台的操作。Specifically, the container proxy module of the virtual server prepares a configuration change file corresponding to the container of the container service based on the creation instruction, reads a variable in the configuration change file, updates, pulls a mirror corresponding to the container, and creates a volume. And all the volumes of the container are mounted, and the container can be started after the above operation is completed. At this point, the virtual server cooperates with the operation of the cloud server construction platform, that is, the service PAAS container platform.
优选地,为了检查服务的可用性,防止其他服务调用时出现异常,在启动该容器之前还包括:通过预定的健康检查机制对所述容器进行健康检测,并在健康检测成功后启动该容器。其中,预定的健康检查机制为进程级健康 检查机制,两次健康检测的间隔可以为30秒。Preferably, in order to check the availability of the service and prevent an exception from occurring when the other service is invoked, before starting the container, the method further comprises: performing health check on the container by a predetermined health check mechanism, and starting the container after the health check succeeds. The predetermined health check mechanism is a process-level health check mechanism, and the interval between two health tests may be 30 seconds.
在一实施例中,云管服务器2的处理系统被所述处理器22执行时实现如下步骤:In an embodiment, when the processing system of the cloud management server 2 is executed by the processor 22, the following steps are implemented:
创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
本实施例中,用户登录该平台门户系统PAAS Portal后,在该平台门户系统PAAS Portal上输入域名信息,云管服务器的运维平台基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,其中,预定的下发通道包括Websocket下发通道或者Http下发通道,即运维平台可以通过Http下发通道直接将创建指令发送至公共服务器,或者运维平台可以通过Websocket下发通道将创建指令发送至公共服务器,公共服务器通过Pcs内部调用接口将该容器服务的创建指令转发给虚拟服务器。In this embodiment, after the user logs in to the platform portal system PAAS Portal, the domain name information is input on the platform portal system PAAS Portal, and the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined The sending channel sends the creation instruction of the container service to the public server, wherein the predetermined delivery channel includes a Websocket delivery channel or an Http delivery channel, that is, the operation and maintenance platform can directly send the creation instruction to the public server through the Http delivery channel. Or the operation and maintenance platform can send the creation instruction to the public server through the Websocket issuing channel, and the public server forwards the creation instruction of the container service to the virtual server through the Pcs internal calling interface.
变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。After the container proxy module of the virtual server starts the container, the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
本实施例中,容器启动以后,云管服务器的运维平台根据用户输入的域名信息进行IP绑定操作或者CNAME操作,即将域名信息对应的IP地址和端口上报到云管服务器的路由服务模块进行域名路由地址变更,在后续访问时,在后台自动做NAT处理并访问到对应的容器服务。通过上述的操作,构建平台即服务PAAS容器平台,以创建PAAS容器服务。In this embodiment, after the container is started, the operation and maintenance platform of the cloud management server performs an IP binding operation or a CNAME operation according to the domain name information input by the user, that is, the IP address and the port corresponding to the domain name information are reported to the routing service module of the cloud management server. The domain name routing address is changed. In subsequent accesses, NAT is automatically processed in the background and accesses the corresponding container service. Through the above operations, the platform-as-a-service PAAS container platform is built to create a PAAS container service.
在一实施例中,如图4所示,本申请平台即服务PAAS容器平台的构建方法包括如下步骤:In an embodiment, as shown in FIG. 4, the method for constructing the platform as a service PAAS container platform of the present application includes the following steps:
步骤S1,虚拟服务器在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器 代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;Step S1: After receiving the container service registration command based on the cloud management server, the virtual server acquires a corresponding registration script according to the registration instruction, installs the registration script to obtain a corresponding container proxy module, and uses the container proxy module and the public. The portal system of the server's portal system calls the Portal Inner API to request registration from the platform portal system PAAS Portal;
本实施例中,可以由用户在终端上操作,在登录已有的虚拟服务器后执行一键注册,具体地,向虚拟服务器发送基于云管服务器的容器服务注册指令,虚拟服务器根据所述注册指令获取对应的注册脚本,注册脚本自动进行安装得到容器代理模块,并由容器代理模块注册到平台门户系统PAAS Portal,其中,容器代理模块向公共服务器发送请求,公共服务器的门户系统内部调用接口Portal Inner API将该请求发送给云管服务器,以向在云管服务器中的平台门户系统PAAS Portal请求注册。In this embodiment, the user can operate on the terminal, and perform one-click registration after logging in to the existing virtual server. Specifically, the cloud server server-based container service registration instruction is sent to the virtual server, and the virtual server is configured according to the registration instruction. Obtain the corresponding registration script, the registration script is automatically installed to obtain the container proxy module, and the container proxy module registers with the platform portal system PAAS Portal, wherein the container proxy module sends a request to the public server, and the portal system of the public server invokes the interface Portal Inner The API sends the request to the cloud management server to request registration from the platform portal system PAAS Portal in the cloud management server.
步骤S2,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,云管服务器的运维平台基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;Step S2, after the virtual server requests the registration of the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined The issuing channel sends the creation instruction of the container service to the public server to forward the creation instruction of the container service to the virtual server;
本实施例中,用户登录该平台门户系统PAAS Portal后,在该平台门户系统PAAS Portal上输入域名信息,云管服务器的运维平台基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,其中,预定的下发通道包括Websocket下发通道或者Http下发通道,即运维平台可以通过Http下发通道直接将创建指令发送至公共服务器,或者运维平台可以通过Websocket下发通道将创建指令发送至公共服务器,公共服务器通过Pcs内部调用接口将该容器服务的创建指令转发给虚拟服务器。In this embodiment, after the user logs in to the platform portal system PAAS Portal, the domain name information is input on the platform portal system PAAS Portal, and the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined The sending channel sends the creation instruction of the container service to the public server, wherein the predetermined delivery channel includes a Websocket delivery channel or an Http delivery channel, that is, the operation and maintenance platform can directly send the creation instruction to the public server through the Http delivery channel. Or the operation and maintenance platform can send the creation instruction to the public server through the Websocket issuing channel, and the public server forwards the creation instruction of the container service to the virtual server through the Pcs internal calling interface.
步骤S3,由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的该容器服务的创建指令;Step S3, receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
步骤S4,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器;Step S4, the container proxy module of the virtual server creates a container corresponding to the container service based on the creation instruction, and starts the container;
本实施例中,虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的该容器服务的创建指令,按照平台门户系统PAAS portal的服务流程创建该容器服务对应的容器即可。In this embodiment, the container proxy module of the virtual server receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and creates the container corresponding to the container service according to the service process of the platform portal system PAAS portal.
具体地,由虚拟服务器的容器代理模块基于该创建指令准备该容器服务的容器对应的配置变更文件、读取所述配置变更文件中的变量并进行更新、拉取该容器对应的镜像,创建卷并挂载该容器的所有的卷,当上述操作完成后可以启动该容器。Specifically, the container proxy module of the virtual server prepares a configuration change file corresponding to the container of the container service based on the creation instruction, reads a variable in the configuration change file, updates, pulls a mirror corresponding to the container, and creates a volume. And mount all the volumes of the container, and when the above operation is completed, the container can be started.
优选地,为了检查服务的可用性,防止其他服务调用时出现异常,在启动该容器之前还包括:通过预定的健康检查机制对所述容器进行健康检测,并在健康检测成功后启动该容器。其中,预定的健康检查机制为进程级健康检查机制,两次健康检测的间隔可以为30秒。Preferably, in order to check the availability of the service and prevent an exception from occurring when the other service is invoked, before starting the container, the method further comprises: performing health check on the container by a predetermined health check mechanism, and starting the container after the health check succeeds. The predetermined health check mechanism is a process-level health check mechanism, and the interval between two health tests may be 30 seconds.
步骤S5,在虚拟服务器的容器代理模块启动容器后,云管服务器的运维平台将输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。Step S5: After the container proxy module of the virtual server starts the container, the operation and maintenance platform of the cloud management server reports the IP address and port corresponding to the input domain name information to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container. The platform and access the corresponding container when subsequent access requests are received.
本实施例中,容器启动以后,云管服务器的运维平台根据用户输入的域名信息进行IP绑定操作或者CNAME操作,即将域名信息对应的IP地址和端口上报到云管服务器的路由服务模块进行域名路由地址变更,在后续访问时,在后台自动做NAT处理并访问到对应的容器服务。通过上述的操作,构建平台即服务PAAS容器平台,以创建PAAS容器服务。In this embodiment, after the container is started, the operation and maintenance platform of the cloud management server performs an IP binding operation or a CNAME operation according to the domain name information input by the user, that is, the IP address and the port corresponding to the domain name information are reported to the routing service module of the cloud management server. The domain name routing address is changed. In subsequent accesses, NAT is automatically processed in the background and accesses the corresponding container service. Through the above operations, the platform-as-a-service PAAS container platform is built to create a PAAS container service.
与现有技术相比,本实施例利用已有的虚拟服务器一键自动安装得到容器代理模块并注册至平台门户系统PAAS Portal,根据用户输入的域名选择对应的容器服务,由容器代理模块创建该容器服务对应的容器,在启动容器后,运维平台将域名信息对应的ip和端口上报到路由服务进行域名路由地址变更,以便下次接收到访问请求时直接根据域名就可以访问容器,本实施例不需要购买相应的虚拟机,可以利用已有的虚拟服务器创建PAAS容器服务,成本低,不需要构建复杂的通信网络,操作简便。Compared with the prior art, the present embodiment uses the existing virtual server to automatically install the container proxy module and register to the platform portal system PAAS Portal, and selects the corresponding container service according to the domain name input by the user, and the container proxy module creates the The container corresponding to the container service, after the container is started, the operation and maintenance platform reports the ip and port corresponding to the domain name information to the routing service to change the domain name routing address, so that the container can be accessed directly according to the domain name when receiving the access request next time. For example, you do not need to purchase the corresponding virtual machine, you can use the existing virtual server to create a PAAS container service, which is low in cost, does not need to build a complex communication network, and is easy to operate.
在一优选的实施例中,在上述的实施例的基础上,所述步骤S1之后,还包括:在完成注册后,云管服务器的运维平台记录对应的注册信息,其中,注册信息包括容器代理模块Id信息(AgentId)、主机MAC、主机ID(随机生成)、主机IP地址(hostIp)、Agent端口信息(agentPort)、所在主机区域 (zone)、所在机房(hostIdc)、ak认证信息、sk认证信息。In a preferred embodiment, on the basis of the foregoing embodiment, after the step S1, the method further includes: after the registration is completed, the operation and maintenance platform of the cloud management server records the corresponding registration information, where the registration information includes the container. Agent module Id information (AgentId), host MAC, host ID (randomly generated), host IP address (hostIp), agent port information (agentPort), host area (zone), host computer room (hostIdc), ak authentication information, sk Certification Information.
在另一优选的实施例中,所述步骤S4之后,还包括:云管服务器的运维平台接收公共服务器的Pcs内部调用接口转发的容器的创建信息,记录该创建信息,其中,创建信息包括容器代理模块Id信息(AgentId)、请求路由ID(reqRouteId)、挂载内容(volumnContent)、docker启动命令(dockerCmd)、申请服务实例内容(applyContent,包括CPU及内存)、docker环境变量(dockerEnv)、镜像名称(image)、Docker启动网络模式(dockerNetMode)、容器与主机映射的关系映射(servicePortMap)。In another preferred embodiment, after the step S4, the method further includes: the operation and maintenance platform of the cloud management server receives the creation information of the container forwarded by the Pcs internal call interface of the public server, and records the creation information, wherein the creation information includes Container proxy module Id information (AgentId), request routing ID (reqRouteId), mounted content (volumnContent), docker startup command (dockerCmd), application service instance content (applyContent, including CPU and memory), docker environment variable (dockerEnv), Image name (image), Docker startup network mode (dockerNetMode), container-to-host mapping relationship map (servicePortMap).
在另一优选的实施例中,所述步骤S5之后,还包括:在访问容器之后,云管服务器的运维平台记录对应的访问信息。其中,访问信息主要包括容器启动的ip、主机映射端口及绑定的域名信息。In another preferred embodiment, after the step S5, the method further includes: after accessing the container, the operation and maintenance platform of the cloud management server records the corresponding access information. The access information mainly includes the ip initiated by the container, the host mapping port, and the bound domain name information.
云管服务器的运维平台通过记录注册信息、创建信息及访问信息,能够对容器业务进行较全面的管控或跟踪调度,及时发现异常状况,提高使用灵活性。By recording registration information, creating information, and accessing information, the cloud management server's operation and maintenance platform can perform comprehensive control or tracking and scheduling of container services, and timely discover abnormal conditions and improve usage flexibility.
在其他优选的实施例中,为了更全面地对容器业务进行管控或跟踪调度,所述步骤S5之后,还包括:云管服务器的运维平台批量将代理升级数据下发到虚拟服务器的各个容器代理模块自动进行升级,并接收虚拟服务器的各个容器代理模块通过公共服务器返回的对应升级信息,记录该升级信息。其中,升级信息包括升级的容器代理模块Id信息(AgentId)、版本号及升级结果,升级结果包括升级成功信息或者升级失败信息。In other preferred embodiments, in order to more fully control or track the container service, the step S5 further includes: the operation and maintenance platform of the cloud management server batches the agent upgrade data to each container of the virtual server. The agent module automatically upgrades and receives the corresponding upgrade information returned by the container proxy module of the virtual server through the public server, and records the upgrade information. The upgrade information includes the upgraded container proxy module Id information (AgentId), the version number, and the upgrade result. The upgrade result includes the upgrade success information or the upgrade failure information.
在一优选的实施例中,为了进一步全方位全链路的跟踪容器调度的业务过程,以便全方面管控容器调度信息,在上述的实施例的基础上,在容器运行过程中,还包括:In a preferred embodiment, in order to further track the container-scheduled business process of the full-link, in order to control the container scheduling information in all aspects, on the basis of the foregoing embodiments, during the operation of the container, the method further includes:
由虚拟服务器的容器代理模块发起容器服务的中间步骤监控的操作,该中间步骤监控的操作包括环境变量设置、存储挂载结果、启动或关闭容器服务的结果及监控健康检测的结果;The operation of the intermediate step monitoring of the container service is initiated by the container proxy module of the virtual server, and the operations monitored by the intermediate step include setting environment variables, storing the mount result, starting or closing the result of the container service, and monitoring the result of the health check;
由虚拟服务器的容器代理模块上报容器相关信息至运维平台,该容器相关信息包括容器进程、cpu运行状况、内存及心跳时间;The container agent module of the virtual server reports the container related information to the operation and maintenance platform, and the related information of the container includes the container process, the cpu running status, the memory, and the heartbeat time;
由虚拟服务器的容器代理模块上报主机相关信息至运维平台,该主机相关信息包括cpu运行状况、内存、输入输出io及容器映射端口状态信息;The container agent module of the virtual server reports the host related information to the operation and maintenance platform, and the related information of the host includes cpu running status, memory, input and output io, and container mapping port status information;
云管服务器的运维平台接收虚拟服务器的容器代理模块上报的容器相关信息及主机相关信息,并在容器相关信息或主机相关信息发生异常时,例如内存不足或者cpu的使用率超过预定的使用率,则自动发出告警信息。The operation and maintenance platform of the cloud management server receives the container related information and the host related information reported by the container proxy module of the virtual server, and when the container related information or the host related information is abnormal, for example, the memory is insufficient or the usage rate of the CPU exceeds the predetermined usage rate. , the alarm message is automatically sent.
本申请还提供一种计算机可读存储介质,所述处理系统被处理器执行时实现如下步骤:注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器。The present application further provides a computer readable storage medium, when the processing system is executed by a processor, the following steps are performed: a registration step, after receiving a cloud service server-based container service registration instruction, acquiring a corresponding according to the registration instruction Registering a script, installing the registration script to obtain a corresponding container proxy module, requesting registration with the platform portal system PAAS Portal by using the container proxy module and the portal system internal calling interface Portal Inner API of the public server; receiving step: a container by the virtual server The proxy module receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server; and the creating step, the container proxy module of the virtual server creates the container corresponding to the container service based on the creation instruction, and starts the container.
本申请还提供另一种计算机可读存储介质,所述计算机可读存储介质上存储有运维系统,所述运维系统被处理器执行时实现如下步骤:创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。The present application further provides another computer readable storage medium, on which the operation and maintenance system is stored, and when the operation and maintenance system is executed by the processor, the following steps are implemented: creating an instruction sending step in the virtual server The platform portal system PAAS Portal requests the registration to be completed, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the creation instruction of the container service is sent to the public server through the predetermined delivery channel. The forwarding instruction of the container service is forwarded to the virtual server; the change step is performed, after the container proxy module of the virtual server starts the container, the IP address and the port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address. To build a platform-as-a-service PAAS container platform and access the corresponding container when subsequent access requests are received.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服 务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种平台即服务PAAS容器平台的构建方法,其特征在于,所述平台即服务PAAS容器平台的构建方法包括以下步骤:A method for constructing a platform-as-a-service PAAS container platform, characterized in that the method for constructing the platform-as-a-service PAAS container platform comprises the following steps:
    S1,虚拟服务器在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;S1. After receiving the container service registration command based on the cloud management server, the virtual server obtains a corresponding registration script according to the registration instruction, and installs the registration script to obtain a corresponding container proxy module, and uses the container proxy module and the public server. The portal system internal call interface Portal Inner API requests registration from the platform portal system PAAS Portal;
    S2,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,云管服务器的运维平台基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;S2, after the virtual server requests the registration of the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the operation and maintenance platform of the cloud management server selects the corresponding container service based on the domain name information input by the user, and passes the predetermined The sending channel sends the creation instruction of the container service to the public server to forward the creation instruction of the container service to the virtual server;
    S3,由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的该容器服务的创建指令;S3. The container proxy module of the virtual server receives the creation instruction of the container service forwarded by the Pcs internal call interface of the public server;
    S4,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器;S4, the container proxy module of the virtual server creates a container corresponding to the container service based on the creation instruction, and starts the container;
    S5,在虚拟服务器的容器代理模块启动容器后,云管服务器的运维平台将输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。S5, after the container proxy module of the virtual server starts the container, the operation and maintenance platform of the cloud management server reports the IP address and port corresponding to the input domain name information to the routing service module to change the domain name routing address to build a platform-as-a-service PAAS container platform. And access the corresponding container when subsequent access requests are received.
  2. 根据权利要求1所述的平台即服务PAAS容器平台的构建方法,其特征在于,所述步骤S4包括:The method for constructing a platform-as-a-service PAAS container platform according to claim 1, wherein the step S4 comprises:
    由虚拟服务器的容器代理模块基于该创建指令准备该容器服务的容器对应的配置变更文件、读取所述配置变更文件中的变量并进行更新、拉取该容器对应的镜像,创建卷并挂载该容器的所有的卷,启动该容器。The container proxy module of the virtual server prepares a configuration change file corresponding to the container of the container service based on the creation instruction, reads a variable in the configuration change file, updates, pulls a mirror corresponding to the container, creates a volume, and mounts the volume. Start all the volume of the container and start the container.
  3. 根据权利要求2所述的平台即服务PAAS容器平台的构建方法,其特 征在于,所述步骤S4进一步包括:The method of constructing a platform-as-a-service PAAS container platform according to claim 2, wherein the step S4 further comprises:
    在启动该容器之前还包括:通过预定的健康检查机制对所述容器进行健康检测,并在健康检测成功后启动该容器。Before starting the container, the method further comprises: performing health check on the container by a predetermined health check mechanism, and starting the container after the health check is successful.
  4. 根据权利要求1至3任一项所述的平台即服务PAAS容器平台的构建方法,其特征在于,所述步骤S1之后,还包括:The method of constructing the platform-as-a-service PAAS container platform according to any one of claims 1 to 3, further comprising: after the step S1, further comprising:
    在完成注册后,云管服务器的运维平台记录对应的注册信息;After the registration is completed, the operation and maintenance platform of the cloud management server records the corresponding registration information;
    所述步骤S4之后,还包括:After the step S4, the method further includes:
    云管服务器的运维平台接收公共服务器的Pcs内部调用接口转发的容器的创建信息,记录该创建信息;The operation and maintenance platform of the cloud management server receives the creation information of the container forwarded by the Pcs internal call interface of the public server, and records the creation information;
    所述步骤S5之后,还包括:After the step S5, the method further includes:
    在访问容器之后,云管服务器的运维平台记录对应的访问信息。After accessing the container, the operation and maintenance platform of the cloud management server records the corresponding access information.
  5. 根据权利要求4所述的平台即服务PAAS容器平台的构建方法,其特征在于,所述步骤S5之后,还包括:The method of constructing the platform-as-a-service PAAS container platform according to claim 4, wherein after the step S5, the method further comprises:
    云管服务器的运维平台批量将代理升级数据下发到虚拟服务器的各个容器代理模块自动进行升级,并接收虚拟服务器的各个容器代理模块通过公共服务器返回的对应升级信息,记录该升级信息。The operation and maintenance platform of the cloud management server automatically upgrades the agent upgrade modules that are delivered to the virtual server by the agent upgrade data in batches, and receives the corresponding upgrade information returned by the container proxy modules of the virtual server through the public server, and records the upgrade information.
  6. 根据权利要求4所述的平台即服务PAAS容器平台的构建方法,其特征在于,在容器运行过程中,还包括:The method for constructing a platform-as-a-service PAAS container platform according to claim 4, wherein during the operation of the container, the method further comprises:
    由虚拟服务器的容器代理模块发起容器服务的中间步骤监控的操作,该中间步骤监控的操作包括环境变量设置、存储挂载结果、启动或关闭容器服务的结果及监控健康检测的结果;The operation of the intermediate step monitoring of the container service is initiated by the container proxy module of the virtual server, and the operations monitored by the intermediate step include setting environment variables, storing the mount result, starting or closing the result of the container service, and monitoring the result of the health check;
    由虚拟服务器的容器代理模块上报容器相关信息至运维平台,该容器相关信息包括容器进程、cpu运行状况、内存及心跳时间;The container agent module of the virtual server reports the container related information to the operation and maintenance platform, and the related information of the container includes the container process, the cpu running status, the memory, and the heartbeat time;
    由虚拟服务器的容器代理模块上报主机相关信息至运维平台,该主机相关信息包括cpu运行状况、内存、输入输出io及容器映射端口状态信息;The container agent module of the virtual server reports the host related information to the operation and maintenance platform, and the related information of the host includes cpu running status, memory, input and output io, and container mapping port status information;
    云管服务器的运维平台接收虚拟服务器的容器代理模块上报的容器相关信息及主机相关信息,并在容器相关信息或主机相关信息发生异常时,发出告警信息。The operation and maintenance platform of the cloud management server receives the container related information and the host related information reported by the container proxy module of the virtual server, and sends an alarm message when the container related information or the host related information is abnormal.
  7. 一种虚拟服务器,其特征在于,所述虚拟服务器包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的处理系统,所述处理系统被所述处理器执行时实现如下步骤:A virtual server, comprising: a memory and a processor coupled to the memory, the memory storing a processing system operable on the processor, the processing system being The processor implements the following steps when it executes:
    注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;a registration step, after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server The Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
    接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;Receiving step: receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
    创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器。The creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
  8. 根据权利要求7所述的虚拟服务器,其特征在于,所述创建步骤,具体包括:由虚拟服务器的容器代理模块基于该创建指令准备该容器服务的容器对应的配置变更文件、读取所述配置变更文件中的变量并进行更新、拉取该容器对应的镜像,创建卷并挂载该容器的所有的卷,启动该容器。The virtual server according to claim 7, wherein the creating step comprises: preparing, by the container proxy module of the virtual server, a configuration change file corresponding to the container served by the container based on the creation instruction, and reading the configuration. Change the variables in the file and update them, pull the image corresponding to the container, create the volume and mount all the volumes of the container, and start the container.
  9. 根据权利要求8所述的虚拟服务器,其特征在于,在启动该容器之前还包括,所述处理系统被所述处理器执行时还实现如下步骤:通过预定的健康检查机制对所述容器进行健康检测,并在健康检测成功后启动该容器。The virtual server of claim 8 further comprising, prior to initiating the container, the processing system being further executed by the processor to: perform the health of the container by a predetermined health check mechanism Detect and start the container after the health check is successful.
  10. 根据权利要求7至9任一项所述的虚拟服务器,其特征在于,在容器运行过程中,所述处理系统被所述处理器执行时还实现如下步骤:The virtual server according to any one of claims 7 to 9, wherein the processing system is further executed as follows when the processing system is executed by the processor:
    由虚拟服务器的容器代理模块发起容器服务的中间步骤监控的操作,该中间步骤监控的操作包括环境变量设置、存储挂载结果、启动或关闭容器服 务的结果及监控健康检测的结果;The operation of the intermediate step monitoring of the container service is initiated by the container proxy module of the virtual server, and the operations monitored by the intermediate step include setting environment variables, storing the mount result, starting or closing the result of the container service, and monitoring the result of the health check;
    由虚拟服务器的容器代理模块上报容器相关信息至运维平台,该容器相关信息包括容器进程、cpu运行状况、内存及心跳时间;The container agent module of the virtual server reports the container related information to the operation and maintenance platform, and the related information of the container includes the container process, the cpu running status, the memory, and the heartbeat time;
    由虚拟服务器的容器代理模块上报主机相关信息至运维平台,该主机相关信息包括cpu运行状况、内存、输入输出io及容器映射端口状态信息,并将容器相关信息及主机相关信息发送给云管服务器的运维平台,以在容器相关信息或主机相关信息发生异常时,发出告警信息。The container agent module of the virtual server reports the host related information to the operation and maintenance platform. The host related information includes cpu running status, memory, input and output io, and container mapping port status information, and sends the container related information and host related information to the cloud management device. The operation and maintenance platform of the server sends an alarm message when an abnormality occurs in the container related information or the host related information.
  11. 一种云管服务器,其特征在于,所述云管服务器包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的运维系统,所述运维系统被所述处理器执行时实现如下步骤:A cloud management server, comprising: a memory and a processor connected to the memory, wherein the memory stores an operation and maintenance system operable on the processor, the operation and maintenance The system implements the following steps when executed by the processor:
    创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
    变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。After the container proxy module of the virtual server starts the container, the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
  12. 根据权利要求11所述的云管服务器,其特征在于,所述运维系统被所述处理器执行时实现如下步骤:The cloud management server according to claim 11, wherein the operation and maintenance system is executed by the processor to implement the following steps:
    在完成注册后,云管服务器的运维平台记录对应的注册信息;After the registration is completed, the operation and maintenance platform of the cloud management server records the corresponding registration information;
    云管服务器的运维平台接收公共服务器的Pcs内部调用接口转发的容器的创建信息,记录该创建信息;The operation and maintenance platform of the cloud management server receives the creation information of the container forwarded by the Pcs internal call interface of the public server, and records the creation information;
    在访问容器之后,云管服务器的运维平台记录对应的访问信息。After accessing the container, the operation and maintenance platform of the cloud management server records the corresponding access information.
  13. 一种系统,其特征在于,所述系统包括:A system, characterized in that the system comprises:
    注册模块,用于在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块;a registration module, configured to obtain a corresponding registration script according to the registration instruction after receiving the cloud service server-based container service registration instruction, and install the registration script to obtain a corresponding container proxy module;
    所述容器代理模块用于基于公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册,接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令,基于该创建指令创建该容器服务对应的容器,并启动该容器。The container proxy module is configured to request registration of the platform portal system PAAS Portal based on the public portal interface of the public server, and receive a creation instruction of the container service forwarded by the Pcs internal call interface of the public server, and create the container service based on the creation instruction. The container corresponding to the container service, and start the container.
  14. 根据权利要求13所述的系统,其特征在于,所述容器代理模块还具体用于基于该创建指令准备该容器服务的容器对应的配置变更文件、读取所述配置变更文件中的变量并进行更新、拉取该容器对应的镜像,创建卷并挂载该容器的所有的卷,启动该容器。The system according to claim 13, wherein the container proxy module is further configured to prepare a configuration change file corresponding to the container of the container service based on the creation instruction, read a variable in the configuration change file, and perform Update, pull the image corresponding to the container, create a volume and mount all the volumes of the container, and start the container.
  15. 根据权利要求14所述的系统,其特征在于,还包括:健康检测模块,用于通过预定的健康检查机制对所述容器进行健康检测,并在健康检测成功后启动该容器。The system of claim 14 further comprising: a health detection module for performing health testing of the container by a predetermined health check mechanism and initiating the container after a health check is successful.
  16. 根据权利要求13至15任一项所述的系统,其特征在于,所述容器代理模块还用于发起容器服务的中间步骤监控的操作,该中间步骤监控的操作包括环境变量设置、存储挂载结果、启动或关闭容器服务的结果及监控健康检测的结果;The system according to any one of claims 13 to 15, wherein the container proxy module is further configured to initiate an operation of monitoring an intermediate step of the container service, wherein the operation monitored by the intermediate step includes setting an environment variable, and mounting the storage. Results, results of starting or closing the container service and monitoring the results of the health check;
    上报容器相关信息至运维平台,该容器相关信息包括容器进程、cpu运行状况、内存及心跳时间;Reporting container related information to the operation and maintenance platform, the container related information includes a container process, a cpu running status, a memory, and a heartbeat time;
    上报主机相关信息至运维平台,该主机相关信息包括cpu运行状况、内存、输入输出io及容器映射端口状态信息,并将容器相关信息及主机相关信息发送给云管服务器的运维平台,以在容器相关信息或主机相关信息发生异常时,发出告警信息。Reporting host related information to the operation and maintenance platform, the host related information includes cpu running status, memory, input and output io, and container mapping port status information, and sending container related information and host related information to the operation and maintenance platform of the cloud management server, When an abnormality occurs in the container related information or the host related information, an alarm message is issued.
  17. 一种系统,其特征在于,所述系统包括:A system, characterized in that the system comprises:
    创建模块,用于在虚拟服务器向平台门户系统PAAS Portal请求注册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The creating module is configured to request the registration of the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, select a corresponding container service based on the domain name information input by the user, and send the corresponding delivery service through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
    变更模块,用于在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。The change module is configured to: after the container proxy module of the virtual server starts the container, report the IP address and port corresponding to the domain name information input by the user to the routing service module to change the domain name routing address, to construct a platform-as-a-service PAAS container platform, and The corresponding container is accessed when the access request is subsequently received.
  18. 根据权利要求17所述的系统,其特征在于,还包括记录模块,用于在完成注册后,记录对应的注册信息;接收公共服务器的Pcs内部调用接口转发的容器的创建信息,记录该创建信息;在访问容器之后,记录对应的访问信息。The system according to claim 17, further comprising a recording module, configured to record the corresponding registration information after the registration is completed; receive the creation information of the container forwarded by the Pcs internal calling interface of the public server, and record the creation information. ; After accessing the container, record the corresponding access information.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有处理系统,所述处理系统被处理器执行时实现如下步骤:A computer readable storage medium, wherein the computer readable storage medium stores a processing system, and when the processing system is executed by the processor, the following steps are implemented:
    注册步骤,在接收到基于云管服务器的容器服务注册指令后,根据所述注册指令获取对应的注册脚本,安装所述注册脚本得到对应的容器代理模块,利用所述容器代理模块及公共服务器的门户系统内部调用接口Portal Inner API向平台门户系统PAAS Portal请求注册;a registration step, after receiving the cloud service server-based container service registration instruction, acquiring a corresponding registration script according to the registration instruction, installing the registration script to obtain a corresponding container proxy module, using the container proxy module and the public server The Portal Inner API of the portal system calls the registration of the platform portal system PAAS Portal;
    接收步骤:由虚拟服务器的容器代理模块接收公共服务器的Pcs内部调用接口转发的容器服务的创建指令;Receiving step: receiving, by the container proxy module of the virtual server, a creation instruction of the container service forwarded by the Pcs internal calling interface of the public server;
    创建步骤,由虚拟服务器的容器代理模块基于该创建指令创建该容器服务对应的容器,并启动该容器。The creating step is to create a container corresponding to the container service by the container proxy module of the virtual server based on the creation instruction, and start the container.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有运维系统,所述运维系统被处理器执行时实现如下步骤:A computer readable storage medium, wherein the computer readable storage medium stores an operation and maintenance system, and when the operation and maintenance system is executed by the processor, the following steps are implemented:
    创建指令发送步骤,在虚拟服务器向平台门户系统PAAS Portal请求注 册完成,并在用户登录该平台门户系统PAAS Portal后,基于用户输入的域名信息选择对应的容器服务,通过预定的下发通道发送该容器服务的创建指令至公共服务器,以将该容器服务的创建指令转发给虚拟服务器;The instruction sending step is performed, and the registration request is completed by the virtual server to the platform portal system PAAS Portal, and after the user logs in to the platform portal system PAAS Portal, the corresponding container service is selected based on the domain name information input by the user, and the corresponding server service is sent through the predetermined delivery channel. The container service creation instruction to the public server to forward the creation instruction of the container service to the virtual server;
    变更步骤,在虚拟服务器的容器代理模块启动容器后,将用户输入的域名信息对应的IP地址和端口上报到路由服务模块进行域名路由地址变更,以构建平台即服务PAAS容器平台,并在后续接收到访问请求时访问对应的容器。After the container proxy module of the virtual server starts the container, the IP address and port corresponding to the domain name information input by the user are reported to the routing service module to change the domain name routing address to construct a platform-as-a-service PAAS container platform, and receive the subsequent Access the corresponding container when accessing the request.
PCT/CN2018/076110 2017-11-21 2018-02-10 Platform-as-a-service paas container platform construction method, server, system, and storage medium WO2019100605A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711161342.1 2017-11-21
CN201711161342.1A CN107979493B (en) 2017-11-21 2017-11-21 Platform is construction method, server and the storage medium for servicing PAAS container platform

Publications (1)

Publication Number Publication Date
WO2019100605A1 true WO2019100605A1 (en) 2019-05-31

Family

ID=62010602

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076110 WO2019100605A1 (en) 2017-11-21 2018-02-10 Platform-as-a-service paas container platform construction method, server, system, and storage medium

Country Status (2)

Country Link
CN (1) CN107979493B (en)
WO (1) WO2019100605A1 (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209087A (en) * 2020-01-15 2020-05-29 南京中新赛克科技有限责任公司 Docker-based big data learning platform building method
CN111885174A (en) * 2020-07-27 2020-11-03 佛山市霖罕崞信息科技有限公司 Method and system for processing nodes of different network segments
CN112104723A (en) * 2020-09-07 2020-12-18 腾讯科技(深圳)有限公司 Multi-cluster data processing system and method
CN112118123A (en) * 2020-07-30 2020-12-22 爱普(福建)科技有限公司 Stack-based gateway management method and system
CN112148419A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Mirror image management method, device and system in cloud platform and storage medium
CN112148348A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Task processing method and device and storage medium
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform
CN112543109A (en) * 2019-09-20 2021-03-23 上海数荃数据科技有限公司 Cloud host creation method, system, server and storage medium
CN112564979A (en) * 2020-12-17 2021-03-26 金蝶软件(中国)有限公司 Execution method and device for construction task, computer equipment and storage medium
CN112579303A (en) * 2020-12-30 2021-03-30 苏州浪潮智能科技有限公司 Method and equipment for allocating deep learning development platform resources
CN112698917A (en) * 2020-12-31 2021-04-23 武汉达梦数据技术有限公司 PaaS platform network architecture based on containerization and implementation method thereof
CN112988321A (en) * 2019-12-13 2021-06-18 北京金山云网络技术有限公司 Container mirror image data management method and device, electronic equipment and storage medium
CN112988329A (en) * 2021-03-22 2021-06-18 北京思特奇信息技术股份有限公司 Container configuration management method and system
CN113110917A (en) * 2021-04-28 2021-07-13 北京链道科技有限公司 Data discovery and security access method based on Kubernetes
CN113542431A (en) * 2021-08-02 2021-10-22 北京百度网讯科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113542373A (en) * 2021-06-30 2021-10-22 深圳市云网万店电子商务有限公司 Routing service discovery device and method for PAAS platform
CN113608721A (en) * 2021-07-26 2021-11-05 浪潮软件科技有限公司 Implementation method and implementation system of container-based service center
CN113672385A (en) * 2021-08-06 2021-11-19 济南浪潮数据技术有限公司 Server hardware resource management system, method, device and storage medium
CN113691389A (en) * 2021-07-05 2021-11-23 深圳爱捷云科技有限公司 Configuration method of load balancer, server and storage medium
CN113765983A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Site service deployment method and device
CN113783967A (en) * 2021-09-22 2021-12-10 浙江简捷物联科技有限公司 Method and system for realizing Internet of things access layer at cloud based on WooLinkOS system
CN113807045A (en) * 2021-09-18 2021-12-17 海光信息技术股份有限公司 Interface registration method, interface reference method and related equipment
CN113923116A (en) * 2021-10-28 2022-01-11 西安热工研究院有限公司 Method for managing multiple wide area network clusters based on one platform
CN114143048A (en) * 2021-11-18 2022-03-04 绿盟科技集团股份有限公司 Method, device and storage medium for managing security resources
CN114172802A (en) * 2021-12-01 2022-03-11 百果园技术(新加坡)有限公司 Container network configuration method and device, computing node, main node and storage medium
CN114327781A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Virtual terminal control method, device, system, electronic equipment and storage medium
CN114374743A (en) * 2022-01-13 2022-04-19 上海金融期货信息技术有限公司 Gateway routing rule generation method and system supporting multiple service discovery mechanisms
CN114629924A (en) * 2022-04-13 2022-06-14 北京赛博云睿智能科技有限公司 Method for synchronous operation of business data by container
CN114706622A (en) * 2022-03-10 2022-07-05 北京百度网讯科技有限公司 Method, apparatus, device, medium and product for starting model service
CN114844859A (en) * 2022-05-05 2022-08-02 北京达佳互联信息技术有限公司 Domain name configuration method and device, electronic equipment and storage medium

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920251A (en) * 2018-06-08 2018-11-30 郑州云海信息技术有限公司 A kind of management system and method for container
CN109005066A (en) * 2018-08-28 2018-12-14 福建星网智慧软件有限公司 Based on Docker distributed server operation management method and computer readable storage medium
CN109345232B (en) * 2018-09-18 2023-05-16 三六零科技集团有限公司 Method and system for constructing application platform based on hierarchical container mechanism
CN109672580B (en) * 2018-09-21 2022-01-18 平安科技(深圳)有限公司 Full link monitoring method, device, terminal equipment and storage medium
CN109936571B (en) * 2019-02-22 2020-05-29 全球能源互联网研究院有限公司 Mass data sharing method, open sharing platform and electronic equipment
CN110196722B (en) * 2019-05-07 2023-11-28 平安科技(深圳)有限公司 Cloud host batch management method, system, equipment and storage medium
CN110286997B (en) * 2019-05-17 2023-08-18 平安科技(深圳)有限公司 Multi-container application creation method, device, computer equipment and storage medium
CN110288104A (en) * 2019-07-04 2019-09-27 北京百佑科技有限公司 O&M flow system, O&M workflow management method and device
CN112491940B (en) * 2019-09-12 2024-05-24 北京京东振世信息技术有限公司 Request forwarding method and device of proxy server, storage medium and electronic equipment
CN112532758B (en) * 2019-09-19 2023-04-18 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN112532669B (en) * 2019-09-19 2023-06-13 贵州白山云科技股份有限公司 Network edge computing method, device and medium
CN110830289B (en) * 2019-10-21 2021-06-11 华中科技大学 Container abnormity monitoring method and monitoring system
CN110764779B (en) * 2019-10-21 2023-09-15 百度在线网络技术(北京)有限公司 Encapsulation method, registration method, device and rendering equipment
CN111209025A (en) * 2020-01-19 2020-05-29 山东浪潮通软信息科技有限公司 SaaS platform implementation method based on heartbeat mechanism
CN113364727B (en) * 2020-03-05 2023-04-18 北京金山云网络技术有限公司 Container cluster system, container console and server
CN111813418B (en) * 2020-06-30 2024-04-05 深圳赛安特技术服务有限公司 Distributed link tracking method, device, computer equipment and storage medium
CN112804376B (en) * 2021-03-22 2022-02-15 北京浩瀚深度信息技术股份有限公司 Batch command execution method and device in NAT environment and storage medium
CN113419484B (en) * 2021-08-06 2024-04-26 戴云 Operation method of cloud programmable controller
CN117997774A (en) * 2022-01-07 2024-05-07 支付宝(杭州)信息技术有限公司 Service registration processing method and device
CN115150191B (en) * 2022-07-29 2024-06-14 郑州浪潮数据技术有限公司 Cross-region cloud management platform information interaction method and related components
CN116149769A (en) * 2023-01-16 2023-05-23 深圳十沣科技有限公司 Virtual application system and method based on remote window
CN117075984B (en) * 2023-10-17 2023-12-26 海马云(天津)信息技术有限公司 Module processing method, device, communication equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120041844A1 (en) * 2010-08-12 2012-02-16 Vmware, Inc. Elastic licensing of software in a cloud environment
CN103812911A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Method and system for controlling and utilizing service resources of PaaS (platform as a service) cloud computing platform
CN104503882A (en) * 2014-12-25 2015-04-08 北京京东尚科信息技术有限公司 Container management method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9652178B2 (en) * 2013-09-10 2017-05-16 Veritas Technologies Systems and methods for protecting virtual machine data
US20150334070A1 (en) * 2013-12-09 2015-11-19 Jeffrey N. Dinardo, JR. Send2Mobile Cloud System
CN104793946B (en) * 2015-04-27 2018-07-06 广州杰赛科技股份有限公司 Dispositions method and system are applied based on cloud computing platform
CN105979009B (en) * 2016-07-06 2019-05-17 乾云数创(山东)信息技术研究院有限公司 A kind of increase load automatic balancing method for cloud application container

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120041844A1 (en) * 2010-08-12 2012-02-16 Vmware, Inc. Elastic licensing of software in a cloud environment
CN103812911A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Method and system for controlling and utilizing service resources of PaaS (platform as a service) cloud computing platform
CN104503882A (en) * 2014-12-25 2015-04-08 北京京东尚科信息技术有限公司 Container management method and device

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148419B (en) * 2019-06-28 2024-01-02 杭州海康威视数字技术股份有限公司 Mirror image management method, device and system in cloud platform and storage medium
CN117215635A (en) * 2019-06-28 2023-12-12 杭州海康威视数字技术股份有限公司 Task processing method, device and storage medium
CN112148419A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Mirror image management method, device and system in cloud platform and storage medium
CN112148348A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Task processing method and device and storage medium
CN112148348B (en) * 2019-06-28 2023-10-20 杭州海康威视数字技术股份有限公司 Task processing method, device and storage medium
CN112543109A (en) * 2019-09-20 2021-03-23 上海数荃数据科技有限公司 Cloud host creation method, system, server and storage medium
CN112543109B (en) * 2019-09-20 2023-08-15 上海数荃数据科技有限公司 Cloud host creation method, cloud host creation system, server and storage medium
CN112988321A (en) * 2019-12-13 2021-06-18 北京金山云网络技术有限公司 Container mirror image data management method and device, electronic equipment and storage medium
CN111209087B (en) * 2020-01-15 2024-01-30 南京中新赛克科技有限责任公司 Docker-based big data learning platform building method
CN111209087A (en) * 2020-01-15 2020-05-29 南京中新赛克科技有限责任公司 Docker-based big data learning platform building method
CN111885174B (en) * 2020-07-27 2023-01-17 佛山市霖罕崞信息科技有限公司 Method and system for processing nodes in different network segments
CN111885174A (en) * 2020-07-27 2020-11-03 佛山市霖罕崞信息科技有限公司 Method and system for processing nodes of different network segments
CN112118123A (en) * 2020-07-30 2020-12-22 爱普(福建)科技有限公司 Stack-based gateway management method and system
CN112104723A (en) * 2020-09-07 2020-12-18 腾讯科技(深圳)有限公司 Multi-cluster data processing system and method
CN112104723B (en) * 2020-09-07 2024-03-15 腾讯科技(深圳)有限公司 Multi-cluster data processing system and method
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform
CN112564979B (en) * 2020-12-17 2023-10-13 金蝶软件(中国)有限公司 Execution method and device of construction task, computer equipment and storage medium
CN112564979A (en) * 2020-12-17 2021-03-26 金蝶软件(中国)有限公司 Execution method and device for construction task, computer equipment and storage medium
CN112579303A (en) * 2020-12-30 2021-03-30 苏州浪潮智能科技有限公司 Method and equipment for allocating deep learning development platform resources
CN112698917A (en) * 2020-12-31 2021-04-23 武汉达梦数据技术有限公司 PaaS platform network architecture based on containerization and implementation method thereof
CN112698917B (en) * 2020-12-31 2022-06-21 武汉达梦数据技术有限公司 PaaS platform network architecture based on containerization and implementation method thereof
CN113765983A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Site service deployment method and device
CN112988329A (en) * 2021-03-22 2021-06-18 北京思特奇信息技术股份有限公司 Container configuration management method and system
CN113110917B (en) * 2021-04-28 2024-03-15 北京链道科技有限公司 Data discovery and security access method based on Kubernetes
CN113110917A (en) * 2021-04-28 2021-07-13 北京链道科技有限公司 Data discovery and security access method based on Kubernetes
CN113542373A (en) * 2021-06-30 2021-10-22 深圳市云网万店电子商务有限公司 Routing service discovery device and method for PAAS platform
CN113691389A (en) * 2021-07-05 2021-11-23 深圳爱捷云科技有限公司 Configuration method of load balancer, server and storage medium
CN113608721A (en) * 2021-07-26 2021-11-05 浪潮软件科技有限公司 Implementation method and implementation system of container-based service center
CN113608721B (en) * 2021-07-26 2023-07-18 浪潮软件科技有限公司 Container-based service center implementation method and implementation system
CN113542431B (en) * 2021-08-02 2024-05-10 北京百度网讯科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113542431A (en) * 2021-08-02 2021-10-22 北京百度网讯科技有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113672385A (en) * 2021-08-06 2021-11-19 济南浪潮数据技术有限公司 Server hardware resource management system, method, device and storage medium
CN113807045A (en) * 2021-09-18 2021-12-17 海光信息技术股份有限公司 Interface registration method, interface reference method and related equipment
CN113783967A (en) * 2021-09-22 2021-12-10 浙江简捷物联科技有限公司 Method and system for realizing Internet of things access layer at cloud based on WooLinkOS system
CN113923116A (en) * 2021-10-28 2022-01-11 西安热工研究院有限公司 Method for managing multiple wide area network clusters based on one platform
CN114143048B (en) * 2021-11-18 2023-09-26 绿盟科技集团股份有限公司 Method, device and storage medium for managing safety resources
CN114143048A (en) * 2021-11-18 2022-03-04 绿盟科技集团股份有限公司 Method, device and storage medium for managing security resources
CN114172802A (en) * 2021-12-01 2022-03-11 百果园技术(新加坡)有限公司 Container network configuration method and device, computing node, main node and storage medium
CN114172802B (en) * 2021-12-01 2024-04-26 百果园技术(新加坡)有限公司 Container network configuration method, device, computing node, master node and storage medium
CN114327781A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Virtual terminal control method, device, system, electronic equipment and storage medium
CN114374743B (en) * 2022-01-13 2023-08-22 上海金融期货信息技术有限公司 Gateway routing rule generation method and system supporting multiple service discovery mechanisms
CN114374743A (en) * 2022-01-13 2022-04-19 上海金融期货信息技术有限公司 Gateway routing rule generation method and system supporting multiple service discovery mechanisms
CN114706622B (en) * 2022-03-10 2023-08-18 北京百度网讯科技有限公司 Method, device, equipment, medium and product for starting model service
CN114706622A (en) * 2022-03-10 2022-07-05 北京百度网讯科技有限公司 Method, apparatus, device, medium and product for starting model service
CN114629924A (en) * 2022-04-13 2022-06-14 北京赛博云睿智能科技有限公司 Method for synchronous operation of business data by container
CN114629924B (en) * 2022-04-13 2024-02-13 北京赛博云睿智能科技有限公司 Method for synchronous operation of service data by container
CN114844859A (en) * 2022-05-05 2022-08-02 北京达佳互联信息技术有限公司 Domain name configuration method and device, electronic equipment and storage medium
CN114844859B (en) * 2022-05-05 2024-06-11 北京达佳互联信息技术有限公司 Domain name configuration method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107979493B (en) 2019-10-29
CN107979493A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
WO2019100605A1 (en) Platform-as-a-service paas container platform construction method, server, system, and storage medium
US11196742B2 (en) Method, system, and device for communicating data between devices to control one of the devices
JP5516821B2 (en) System and method for remote maintenance of multiple clients in an electronic network using virtualization and authentication
US9298936B2 (en) Issuing security commands to a client device
EP2973147B1 (en) Policy-based secure web boot
US20150135282A1 (en) Methods and systems for secure internet access and services
US11687354B2 (en) Virtual machine management using onboarding operations and openstack control
WO2019179027A1 (en) Electronic device, firewall provisioning verification method, system and storage medium
CN111131221B (en) Interface checking device, method and storage medium
US11444785B2 (en) Establishment of trusted communication with container-based services
US8024430B2 (en) System and method for installing software
WO2020224100A1 (en) Blockchain configuration file processing apparatus, system, and method, and storage medium
US20060155838A1 (en) Program installation system and method using the same
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
CN110661673B (en) Heartbeat detection method and device
CN108289074A (en) User account login method and device
CN106648838B (en) Resource pool management configuration method and device
US10834555B2 (en) System and method for facilitating carrier-specific configuration of a user device based on pre-stored information for multiple carriers
CN107659621B (en) RAID control card configuration method and device
US7350065B2 (en) Method, apparatus and program storage device for providing a remote power reset at a remote server through a network connection
US20240154945A1 (en) System and method for third party service integration into a browser client application
WO2022127583A1 (en) Virtual machine control method, cloud management device and storage medium
CN111447080B (en) Private network decentralization control method, device and computer readable storage medium
US20220237058A1 (en) Metadata plane for application programming interface
US11055079B2 (en) Systems and methods for just-in-time application implementation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880599

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/10/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18880599

Country of ref document: EP

Kind code of ref document: A1