CN111459614A - Service lightweight containerized packaging migration method - Google Patents

Service lightweight containerized packaging migration method Download PDF

Info

Publication number
CN111459614A
CN111459614A CN202010234290.1A CN202010234290A CN111459614A CN 111459614 A CN111459614 A CN 111459614A CN 202010234290 A CN202010234290 A CN 202010234290A CN 111459614 A CN111459614 A CN 111459614A
Authority
CN
China
Prior art keywords
service
lightweight
steps
migrating
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010234290.1A
Other languages
Chinese (zh)
Inventor
李新明
刘斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Edge Intelligence Of Cas Co ltd
Original Assignee
Edge Intelligence Of Cas Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Edge Intelligence Of Cas Co ltd filed Critical Edge Intelligence Of Cas Co ltd
Priority to CN202010234290.1A priority Critical patent/CN111459614A/en
Publication of CN111459614A publication Critical patent/CN111459614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a light-weight service containerization packaging migration method, which comprises the following steps: A. performing a container hierarchy on an application service; B. and C, managing a data unit containing the application service to extract quickly according to the requirement.

Description

Service lightweight containerized packaging migration method
Technical Field
The invention relates to a containerization packaging migration method, in particular to a light-weight service containerization packaging migration method.
Background
With the rapid development and growing maturity of cloud computing, container clouds and microservices gradually form a mainstream trend. The cloud marginalization technology and the computing marginalization technology enable the whole application system to show the development trend of 'data touch network, cloud and cloud edge cooperation in application'. The resource virtualization technology and the integrated development technology are deeply fused, and the resource acquisition and distribution mode is promoted to be continuously developed towards light weight, high efficiency and agility. The light-weight virtualization mode with the container as the mark provides services such as rapid deployment, continuous integration and the like of business applications by utilizing the characteristics of light weight, high efficiency and the like of the container.
Under marginal computing conditions, time-sensitive information distribution needs to address the challenges of weak-connection, low-bandwidth, harsh network environments. After a certain edge service node or a certain information service application service on the node is down or the equipment is damaged, the service can be quickly migrated to other mobile service nodes, recombined with the service on the service node and provided to the equipment needing the service capability through the network again.
Disclosure of Invention
One advantage of the present invention is to provide a method for transporting a lightweight service container package, wherein the method achieves the purposes of reducing network bandwidth consumption of service image migration, increasing migration speed and rapidly recovering services through a container layering method, a public environment image preloading mechanism, a basic environment image increment synchronization mechanism, and an application logic image and container layer content data unit-based packaging mechanism, and promotes the development of applications in a mobile environment.
Another advantage of the present invention is to provide a method for transferring a lightweight service container package, wherein the method can satisfy the requirement of "service traveling and data carrying" of random access by a method for managing data units and extracting data quickly as required, effectively manage multiple types of data to be transferred, extract necessary data quickly, and lay the foundation for transferring and recovering service quickly.
Another advantage of the present invention is to provide a method for transferring a light-weight containerized package of a service, wherein the method can reduce the transmission amount during the transfer, better adapt to the intermittent disconnection and narrowband weak networking environment, and simultaneously have a fast start-up feature, thereby facilitating the fast recovery of the service instance suspended due to the transfer.
Additional advantages and features of the invention will be set forth in the detailed description which follows and in part will be apparent from the description, or may be learned by practice of the invention as set forth hereinafter.
In accordance with one aspect of the present invention, the foregoing and other objects and advantages are achieved in a method for service lightweight containerized package migration, comprising the steps of:
A. performing a container hierarchy on an application service;
B. arranging and managing the application service after the container is layered; and
C. a data unit containing the application service is managed for rapid extraction as needed.
Further, the step a comprises the sub-steps of: the container is divided into a system kernel layer, an operating system layer, a common component layer, a development language layer and a development framework layer.
Further, the step B includes the sub-steps of: the application service is managed in a software package.
Further, the step B includes the sub-steps of: provides simple interface operation.
Further, the step B includes the sub-steps of: the user can conveniently and quickly import/export, install and deploy.
Further, the step C comprises the sub-steps of: the data units are divided into different types according to the type of data or data sets contained in the data units.
Further, the step C comprises the sub-steps of: the degree of dependence on data (such as strong dependence, weak dependence, etc.) is recorded in the data unit.
Further, the step a comprises the sub-steps of: in the fully adapted case, one application logic layer and one service container layer specific to the application service are migrated.
Further, the step a comprises the sub-steps of: when the mismatch condition exists, an incremental synchronization operation is performed for a common base image of the application service.
Further, the step a comprises the sub-steps of: in the presence of an out-of-compliance condition, the common base image is directed to a premigration based on a big data analysis result of an end-user opportunistic access behavior while the destination is notified to pre-load the common base image.
Further objects and advantages of the invention will be fully apparent from the ensuing description and drawings.
These and other objects, features and advantages of the present invention will become more fully apparent from the following detailed description, the accompanying drawings and the claims.
Drawings
Fig. 1 is a schematic structural diagram of a service lightweight containerization package migration method according to an embodiment of the present invention.
Fig. 2 is a functional design diagram of the migration method of the service lightweight containerization package according to the above embodiment of the present invention.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced devices or components must be in a particular orientation, constructed and operated in a particular orientation, and thus the above terms are not to be construed as limiting the present invention.
It is understood that the terms "a" and "an" should be interpreted as meaning that a number of one element or element is one in one embodiment, while a number of other elements is one in another embodiment, and the terms "a" and "an" should not be interpreted as limiting the number.
Referring to fig. 1 to 2 of the drawings of the present specification, a method for migrating a lightweight service containerized package according to an embodiment of the present invention is disclosed, wherein the method for migrating a lightweight service containerized package includes a container layering method 10, a container service arrangement management method 20, and a data unitization management and on-demand fast extraction method 30.
Further, the container layering method 10 is divided into a system kernel layer 11, an operating system layer 12, a common component layer 13, a development language layer 14 and a development framework layer 15 from bottom to top. The system kernel layer 11, the operating system layer 12, the common component layer 13, the development language layer 14 and the development framework layer 15 sequentially analyze the adaptation condition of a common base image of a destination to which an application service is to be migrated, migrate an application logic layer and a service container layer specific to the application service under the condition of complete adaptation, thereby reducing the transmission amount during migration, perform an incremental synchronization operation on the common base image when the adaptation condition exists, also guide the common base image to perform a pre-migration based on a big data analysis result of an end user random access behavior, and simultaneously inform the destination to perform a pre-loading on the common base image. If the common base image requires incremental synchronization operations, then migration operations of the contents of the application logic layer and the service container layer of the application service should be prioritized to ensure timely completion of the preloading (i.e., completion before the contents of the application logic layer and the service container layer reach the destination) as much as possible, thereby speeding up service recovery.
Further, the container service orchestration management method 20 includes a software package management 21 for the application service, an interface operation 22 for providing short-cut, and a convenient and quick import/export, installation and deployment 23 for users. The operation 22 of providing the simple interface is performed on the basis of the management 21 of performing the software package on the application service, and the convenient user rapidly performs import/export and installation and deployment 23 on the basis of the operation 22 of providing the simple interface so as to adapt to different environments such as development, test, deployment and the like.
Further, the data unitization management and on-demand fast extraction method 30 includes a step of dividing the data unit into different types 31 according to the type of the data or the data set contained in the data unit and a step of recording the degree of dependence on data (such as strong dependence, weak dependence, etc.) 32 in the data unit, wherein the step of recording the degree of dependence on data (such as strong dependence, weak dependence, etc.) 32 in the data unit is performed after the step of dividing the data unit into different types 31 based on the type of the data or the data set contained in the data unit. Furthermore, the essence of the data unit is a dynamic association and mounting service among users, services and data, and if random access behavior occurs, migration related to multi-type, multi-format and multi-source data can be contained in the data unit, so that uniform packaging, uniform migration and rapid recovery of the services and the data are facilitated. Under the condition of edge calculation, the lightweight service containerization encapsulation migration method can meet the challenge that time-sensitive information distribution needs to meet the severe network environment with weak connection and low bandwidth, and meets the requirements of service follow and data carry-on of random access.
Referring to fig. 2, a functional design diagram of the transportation of the service lightweight containerization package of the present invention is shown. One UI module provides an interface operated by a user, and one Rest API module provides an operation interface. The UI module and the RestAPI module are used for simplifying operations of mirror image, application, encapsulation, lead-in and lead-out of data units and the like when the user migrates the service. When the mirror image of the export container is imported in a compressed package form, the layering mechanism of the mirror image cannot be used, and only the whole mirror image is packaged and encapsulated. A Clients module encapsulates, loads or synchronizes images, applications, data units with various client operations. When a client pulls a mirror Image from a remote container, namely an Image registration module, the transmission quantity during migration is reduced by using the mirror Image layering mechanism (the multiplexed public basic mirror Image is preloaded at each edge service node, and increment synchronous operation is carried out on a service application mirror Image on the public basic mirror Image during service migration); for business applications and service instances, the container service orchestration management method 20 is used for management; data synchronization uses the data unitization management and on-demand fast extraction method 30. And one Controllers module is responsible for managing and controlling service instances and managing versions when container services are arranged, and carrying out data unit import and export or rapid extraction as required when data units are synchronized.
It will be appreciated by persons skilled in the art that the embodiments of the invention described above and shown in the drawings are given by way of example only and are not limiting of the invention. The objects of the invention have been fully and effectively accomplished. The functional and structural principles of the present invention have been shown and described in the examples, and any variations or modifications of the embodiments of the present invention may be made without departing from the principles.

Claims (10)

1. A service lightweight containerized package migration method is characterized by comprising the following steps:
A. performing a container hierarchy on an application service;
B. arranging and managing the application service after the container is layered; and
C. a data unit containing the application service is managed for rapid extraction as needed.
2. The method for migrating the service lightweight containerized package of claim 1, wherein the step a comprises the sub-steps of: the container is divided into a system kernel layer, an operating system layer, a common component layer, a development language layer and a development framework layer.
3. The method for migrating the service lightweight containerized package of claim 2, wherein the step B includes the sub-steps of: the application service is managed in a software package.
4. The method for migrating the service lightweight containerized package of claim 3, wherein the step B comprises the sub-steps of: provides simple interface operation.
5. The method for migrating the service lightweight containerized package of claim 4, wherein the step B comprises the sub-steps of: the user can conveniently and quickly import/export, install and deploy.
6. The method for migrating the service lightweight containerized package of claim 5 wherein step C includes the substeps of: the data units are divided into different types according to the type of data or data sets contained in the data units.
7. The method for migrating the service lightweight containerized package of claim 6, wherein the step C comprises the sub-steps of: the degree of dependence on data (such as strong dependence, weak dependence, etc.) is recorded in the data unit.
8. The method for migrating the service lightweight containerized package of claim 2, wherein the step a includes the sub-steps of: in the fully adapted case, one application logic layer and one service container layer specific to the application service are migrated.
9. The method for migrating the service lightweight containerized package of claim 2, wherein the step a includes the sub-steps of: when the mismatch condition exists, an incremental synchronization operation is performed for a common base image of the application service.
10. The method for migrating the service lightweight containerized package of claim 2, wherein the step a includes the sub-steps of: in the presence of an out-of-compliance condition, the common base image is directed to a premigration based on a big data analysis result of an end-user opportunistic access behavior while the destination is notified to pre-load the common base image.
CN202010234290.1A 2020-03-30 2020-03-30 Service lightweight containerized packaging migration method Pending CN111459614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234290.1A CN111459614A (en) 2020-03-30 2020-03-30 Service lightweight containerized packaging migration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234290.1A CN111459614A (en) 2020-03-30 2020-03-30 Service lightweight containerized packaging migration method

Publications (1)

Publication Number Publication Date
CN111459614A true CN111459614A (en) 2020-07-28

Family

ID=71679276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234290.1A Pending CN111459614A (en) 2020-03-30 2020-03-30 Service lightweight containerized packaging migration method

Country Status (1)

Country Link
CN (1) CN111459614A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506615A (en) * 2020-12-11 2021-03-16 浪潮电子信息产业股份有限公司 JavaWeb application deployment method, device, equipment and storage medium
WO2022041996A1 (en) * 2020-08-24 2022-03-03 Kyndryl, Inc Intelligent backup and restoration of containerized environment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
CN108132826A (en) * 2016-11-30 2018-06-08 华为技术有限公司 Across mirror image management method, device and the server of Cloud Server
CN109062655A (en) * 2018-06-05 2018-12-21 腾讯科技(深圳)有限公司 A kind of containerization cloud platform and server
CN109150964A (en) * 2018-07-06 2019-01-04 航天星图科技(北京)有限公司 A kind of transportable data managing method and services migrating method
US20190050272A1 (en) * 2017-08-14 2019-02-14 International Business Machines Corporation Container based service management
CN110196728A (en) * 2018-03-27 2019-09-03 腾讯科技(深圳)有限公司 The container-treatment and device of image upgrade

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
CN108132826A (en) * 2016-11-30 2018-06-08 华为技术有限公司 Across mirror image management method, device and the server of Cloud Server
US20190050272A1 (en) * 2017-08-14 2019-02-14 International Business Machines Corporation Container based service management
CN110196728A (en) * 2018-03-27 2019-09-03 腾讯科技(深圳)有限公司 The container-treatment and device of image upgrade
CN109062655A (en) * 2018-06-05 2018-12-21 腾讯科技(深圳)有限公司 A kind of containerization cloud platform and server
CN109150964A (en) * 2018-07-06 2019-01-04 航天星图科技(北京)有限公司 A kind of transportable data managing method and services migrating method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张强: "面向Kubernetes的Docker在线迁移机制" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022041996A1 (en) * 2020-08-24 2022-03-03 Kyndryl, Inc Intelligent backup and restoration of containerized environment
GB2612448A (en) * 2020-08-24 2023-05-03 Kyndryl Inc Intelligent backup and restoration of containerized environment
CN112506615A (en) * 2020-12-11 2021-03-16 浪潮电子信息产业股份有限公司 JavaWeb application deployment method, device, equipment and storage medium
CN112506615B (en) * 2020-12-11 2023-11-03 浪潮电子信息产业股份有限公司 Java Web application deployment method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101699393B (en) Network-facing intelligent software interface dynamic generation method
CN111459614A (en) Service lightweight containerized packaging migration method
CN106953910A (en) A kind of Hadoop calculates storage separation method
CN109862051A (en) The realization method and system of multi-tenant under a kind of micro services framework
CN107797767A (en) One kind is based on container technique deployment distributed memory system and its storage method
CN111049876A (en) Lightweight telecom cloud edge computing system architecture
CN102999364B (en) Method and device for classifying and dynamically loading subjects based on power grid operation monitoring
CN113285885A (en) Service grid-based edge flow control method, device and storage medium
CN102314358A (en) Method for deploying conventional applications on cloud platform in SOA (service oriented architecture) way
CN102646232A (en) High concurrence enterprise integrated application system
CN103488697B (en) System and mobile terminal capable of automatically collecting and exchanging fragmented commercial information
CN105468793A (en) Automated management method for simulation model data
CN102722368A (en) Plug-in software designing method based on document tree and message pump
CN115695537A (en) Method, system and device for realizing service grid adapting to traditional micro-service registration center
CN111736835A (en) Form processing method and device and storage medium
CN105573672A (en) Virtual storage method and system based on NFS
CN105245369A (en) Component issuing container method supporting multiple transport protocols
CN103002047A (en) RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method
CN105574114A (en) On-line plotting method based on telecom resource management standard control library
CN104156211A (en) Universal data interface used for sensor and data calling method
CN103107903B (en) A kind of resource data shares method and resource data shared device
CN116627901A (en) Automatic driving multi-mode data storage management method and system
CN107704618B (en) Thermal migration method and system based on aufs file system
CN104038518A (en) Information processing method, server and terminal equipment
Shen et al. Standardizing the Internet of Things in an evolutionary way

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200728

RJ01 Rejection of invention patent application after publication