CN114721764A - Service arrangement and deployment method, system, network equipment and storage medium - Google Patents

Service arrangement and deployment method, system, network equipment and storage medium Download PDF

Info

Publication number
CN114721764A
CN114721764A CN202011507151.8A CN202011507151A CN114721764A CN 114721764 A CN114721764 A CN 114721764A CN 202011507151 A CN202011507151 A CN 202011507151A CN 114721764 A CN114721764 A CN 114721764A
Authority
CN
China
Prior art keywords
service
deployment
services
container
user
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
CN202011507151.8A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011507151.8A priority Critical patent/CN114721764A/en
Priority to PCT/CN2021/128504 priority patent/WO2022127420A1/en
Publication of CN114721764A publication Critical patent/CN114721764A/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
    • 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
    • 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/445Program loading or initiating
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a service arrangement and deployment method, a service arrangement and deployment system, network equipment and a storage medium, and relates to a container technology. The business arrangement deployment method comprises the following steps: acquiring basic environment information of a server to be deployed; when the basic environment information of the server to be deployed meets the requirements of a user, acquiring and analyzing a service configuration file, and performing layered processing on user services, wherein the user services at least comprise two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services; generating a mirror image dependency tree and a container dependency tree according to the dependency relationship; performing mirror image construction and container deployment on all nodes of each layer of the mirror image dependency tree and the container dependency tree according to the dependency relationship; and starting all containers to finish the arrangement and deployment of the user services. The method and the device are applied to micro-service arrangement and deployment of small micro-scenes, and greatly reduce deployment difficulty and complexity.

Description

Service arrangement and deployment method, system, network equipment and storage medium
Technical Field
The embodiment of the application relates to a container technology, in particular to a service arrangement deployment method, a service arrangement deployment system, network equipment and a storage medium.
Background
The Docker is an open-source application container engine, and currently, many users adopt the Docker system to perform manual deployment of services.
However, when the service is manually deployed by using the docker system, a user needs to care about basic service deployment, network access, network configuration parameters, service registration and discovery processes and the like, and the difficulty is high and the complexity is high, so that the user cannot concentrate on the modification and deployment strategy of the service container.
Disclosure of Invention
The embodiment of the application mainly aims to provide a service arrangement and deployment method, a system, network equipment and a storage medium, which greatly reduce the difficulty and complexity of service deployment and enable a user to concentrate on the strategy of modification and deployment of a service container.
In order to achieve the above object, an embodiment of the present application provides a service orchestration deployment method, including: acquiring basic environment information of a server to be deployed; when the basic environment information of the server to be deployed meets the requirements of a user, acquiring and analyzing a service configuration file, and performing layered processing on user services, wherein the user services at least comprise two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services; generating a mirror image dependency tree and a container dependency tree according to the dependency relationship; according to the dependency relationship, performing mirror image construction and container deployment on all nodes of each layer of the mirror image dependency tree and the container dependency tree; and starting all containers to finish the arrangement and deployment of the user services.
In order to achieve the above object, an embodiment of the present application further provides a service orchestration deployment system, including:
the configuration file processing module is used for acquiring basic environment information of the server to be deployed; judging whether the server to be deployed meets the user requirements or not; acquiring and analyzing a service configuration file, and carrying out layered processing on user services, wherein the user services at least comprise two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services;
the dependency tree generating module is used for generating a mirror image dependency tree and a container dependency tree according to the dependency relationship;
the mirror image construction module is used for carrying out mirror image construction on all nodes of each layer of the mirror image dependency tree according to the dependency relationship;
and the container deployment module is used for performing container deployment on all nodes of each layer of the container dependency tree according to the dependency relationship, starting all containers and finishing the arrangement and deployment of the user services.
In order to achieve the above object, an embodiment of the present application further provides a network device, where the network device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the business orchestration deployment method described above.
According to the service arranging and deploying method, the service arranging and deploying system can automatically conduct layered processing on user services by acquiring the service configuration file and the system configuration file of a user, divide the user services into the micro services, generate the dependency tree according to the dependency relationship among the micro services, conduct mirror image construction and service container deployment, complete user service arranging and deploying, enable the user not to need to care about complex processes such as a complex deployment flow and the like, and greatly reduce difficulty and complexity of service deployment.
Drawings
One or more embodiments are illustrated by the figures in the accompanying drawings, which correspond to and are not intended to limit the embodiments.
Fig. 1 is a flowchart of a business orchestration deployment method provided in a first embodiment of the present application;
FIG. 2 is a flowchart of a business orchestration deployment method according to a second embodiment of the present application;
fig. 3 is a flowchart of a service orchestration deployment method according to a third embodiment of the present application;
FIG. 4 is a flowchart of a business orchestration deployment method according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a business orchestration deployment system according to a fifth embodiment of the present application;
FIG. 6 is a schematic structural diagram of a business orchestration deployment system according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of a network device according to a seventh embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in the examples of the present application, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present application, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present application relates to a service orchestration and deployment method, as shown in fig. 1, which specifically includes:
step 101, obtaining basic environment information of a server to be deployed.
Specifically, the service orchestration method according to the embodiment of the present invention is based on a Docker system, where Docker is an open-source application container engine. In addition, the basic environment information in this step may include: the system comprises Docker system related parameters, firewall module information, network interface configuration information, disk space information, various startup items and the like. Of course, this is only a specific example, and when in actual use, the basic environment information may be obtained according to a user requirement or an actual service deployment requirement, which is not described in detail here. In addition, the number of servers to be deployed is not limited, one server can be deployed, and a plurality of servers can be deployed.
102, when the basic environment information of the server to be deployed meets the requirements of the user, acquiring and analyzing a service configuration file, and performing layered processing on the user service, wherein the user service at least comprises two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services.
Specifically, the service configuration file may be configured by user according to user service deployment requirements, and the service configuration file may include: the service configuration file may further include other service configuration information, where the service configuration file includes a dependency relationship between services, a size of each container, a target path of each container, a log storage path of each service, an IP address of each container, and so on. In addition, the container network is flexibly configured through the service configuration file, and a high-level use form that a single container uses multiple network cards to form multiple service planes and uses different types of network infrastructures can be formed. The deployment requirements of various different types of services are effectively met.
Further, a user can customize a volume (a logical storage unit) size and a target path required by the service container through the service configuration file, so that the source path is automatically allocated, managed and mapped on the virtual disk, and high availability of data is ensured.
In addition, the user service is processed in a layered manner, which may be dividing the user service into four layers, namely a network basic service, a middleware service, a framework service and a business service, and of course, each layer of service may be divided into a plurality of finer micro-services according to actual business development requirements. The specific service dividing method or rule is not limited herein, and the dividing method may be divided according to the service function and the service type, or may be customized by the user.
And 103, generating a mirror image dependency tree and a container dependency tree according to the dependency relationship.
Specifically, the dependency relationship between services, the higher level services basically depend on the lower level services, and a plurality of higher level services may simultaneously depend on a plurality of lower level service components. This dependency is understood to mean that the completion of one service must be performed on the basis of the completion of one or more other services.
And 104, performing mirror image construction and container deployment on all nodes of each layer of the mirror image dependency tree and the container dependency tree according to the dependency relationship.
Specifically, each layer of the dependency tree is subjected to deployment and inspection work such as mirror image construction, container construction, service initialization starting, waiting for normal service state and the like in a concurrent mode, the work of the layer is completed, the deployment and installation configuration of the next layer is started, and the flow of each layer is the same until all the containers of all the layers are deployed. In addition, the network intercommunication and the IP address allocation of all containers are completely finished by combining the service configuration file designation and the automatic allocation of the arranging system.
And 105, starting all containers to finish the arrangement and deployment of the user services.
In this embodiment, network communication between all containers or network communication between a container and a server host may be performed by setting a dedicated bridge (a built-in software bridging manner of linux) and using 2 manners of docker host network, and ipv4 ip _ forward (ip triple layer forwarding) function of the linux system, and netfilters and iptables (firewall modules and control systems built in linux) are used to perform NAT (network address translation) to meet the requirements of simple container layer network communication and network communication between the container and the server host, so that a user does not need to pay attention to the flows of complicated underlying basic service deployment, network connectivity, service registration and discovery, and the like, and is dedicated to the transformation and deployment strategies of the service container itself.
Compared with the prior art, the method and the device have the advantages that the user service is hierarchically processed by obtaining the service configuration file of the user, the user service is divided into the micro services, the dependency tree is generated according to the dependency relationship among the micro services, and the mirror image construction and the service container deployment are carried out, so that the user does not need to care about the complicated processes of basic service deployment, network parameter configuration and the like, and the difficulty and the complexity of service deployment are greatly reduced.
A second embodiment of the present application relates to a service orchestration deployment method, which is substantially the same as the first embodiment, except that as shown in fig. 3, before step 102, the method further includes:
step 201, determining whether the basic environment information of the server to be deployed meets the user requirement.
Step 202, if the basic environment information of the server to be deployed does not meet the user requirement, checking the basic environment of the server to be deployed, and installing and configuring the system according to the system configuration file.
Specifically, the system configuration file in step 201 is a system configuration file that is edited by the user in advance, if there is one server to be deployed, the user edits a stand-alone system configuration file in advance, and if there are two servers to be deployed, the user edits a dual-computer system configuration file in advance.
In addition, if the basic environment of the server to be deployed does not meet the user requirements, the system needs to be installed and configured according to the system configuration file, for example: and modifying and reconfiguring parameters of the docker system, firewall modules, network interface configuration, startup items and the like in the Linux system according to user requirements.
Compared with the prior art, the embodiment can also perform system installation and related parameter configuration on the server according to the user-defined system configuration file when the basic environment information of the server to be deployed does not meet the user requirements on the basis of realizing the beneficial effects of the first embodiment, thereby providing the service deployment method capable of customizing the strategy and greatly meeting the user personalized deployment requirements.
A third embodiment of the present application relates to a service orchestration deployment method, which is substantially the same as the first embodiment, except that, as shown in fig. 3, step 103 includes:
step 301, traversing the content of the dependent item in the service configuration file, wherein the content of the dependent item is the dependency relationship between the micro-services.
Specifically, the content of the dependent item in the service profile is the service name of the service on which the service depends. Such as: the A service depends on the B service, and then for the dependent item of the A service in the service profile, the content is B, namely the service name of the dependent service. Of course, this is only a specific example, and in the actual use process, other representations may also be used for the representation method of the dependent item in the service profile. And will not be described in detail herein.
Step 302, generating a mirror image dependency tree and a container dependency tree through a recursive backtracking algorithm.
Specifically, the generated mirror dependency tree needs to be satisfied without being used as a root node by any other mirror-dependent component; and the container dependency tree needs to be satisfied, and is not taken as a root node by any other container dependent component. In addition, when container deployment is carried out, the root nodes determine the number of deployment threads, and each tree is reversely deployed from a leaf node to a parent node in a subsequent traversal mode.
In this embodiment, if the generation of the mirror image dependency tree and the container dependency tree fails, it indicates that the service arrangement and deployment fails, and it is necessary to clean the system and configuration information and generate a failure log.
Compared with the prior art, on the basis of realizing the beneficial effects of the first embodiment, dependency calculation with smaller relevance is performed inside each service layer after service layering processing, so that the complexity of dependency tree generation calculation is greatly reduced, and the service deployment efficiency is improved.
In order to make those skilled in the art more clearly understand the overall flow of the service orchestration deployment method disclosed in the first to third embodiments of the present invention, the fourth embodiment of the present invention is described by taking the case where the service orchestration deployment method is applied to a dual server as an example.
As shown in fig. 4, a service orchestration deployment method provided by a fourth embodiment of the present invention includes:
step 401, obtaining basic environment information of two servers to be deployed.
Step 402, judging whether the main server to be deployed meets the user requirement or not according to the basic environment information of the main server.
Specifically, if the main server does not meet the user requirement, step 403 is executed, and if the main server meets the user requirement, step 404 is executed.
And step 403, checking the basic environment of the main server, and performing system installation and configuration according to the system configuration file of the main server.
If the system is not installed and configured, step 411 is executed.
And step 404, judging whether the standby server to be deployed meets the user requirement or not according to the basic environment information of the standby server.
Specifically, if the standby server does not meet the user requirement, step 405 is executed, and if the standby server meets the user requirement, step 406 is executed.
Step 405, checking the basic environment of the standby server, and performing system installation and configuration according to the system configuration file of the standby server.
If the system is not installed and configured, step 411 is executed.
Step 406, performing dual-machine component installation and configuration on the main server and the standby server.
Specifically, the dual-computer component installation and configuration may include: disk configuration, heartbeat network, synchronous network, etc., which are only specifically illustrated herein, other components and configurations may also be installed according to user needs.
Step 407, acquiring and analyzing the service configuration file, and performing layered processing on the user service, wherein the user service at least comprises two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services.
And step 408, generating a mirror image dependency tree and a container dependency tree according to the dependency relationship.
Wherein, if the generation of the mirror dependency tree and the container dependency tree fails, step 412 is executed.
And 409, performing mirror image construction and container deployment on all nodes of each layer of the mirror image dependency tree and the container dependency tree according to the dependency relationship.
Wherein, if the image construction and the container deployment fail, step 412 is executed.
And step 410, starting all containers to complete the arrangement and deployment of the user services.
Step 411, cleaning up system and configuration information, and generating a failure log.
In step 412, the configuration information, mirror image and container in the two servers are cleaned, and a failure log is generated.
In this embodiment, for service deployment of the dual servers, the dual-computer system may use a disk real-time copy technology to copy the disk block devices on the linux system in real time, so as to ensure that any data change of the synchronized disk on the current host is copied to the corresponding disk of the standby computer. The virtual disk is arranged on the actual block device, the disk device actually used by the bottom layer does not need to be concerned when the upper layer service uses the disk, and the service and the disk device are decoupled, so that the hardware compatibility is higher, and the intrusiveness of the upper layer code is reduced.
Compared with the prior art, the method and the device have the advantages that the user service is hierarchically processed by obtaining the service configuration file of the user, the user service is divided into the micro services, the dependency tree is generated according to the dependency relationship among the micro services, and the mirror image construction and the service container deployment are carried out, so that the user does not need to care about the complicated processes of basic service deployment, network parameter configuration and the like, and the difficulty and the complexity of service deployment are greatly reduced.
In addition, it should be understood that the above steps of the various methods are divided for clarity, and the implementation may be combined into one step or split into some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included in the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fifth embodiment of the present invention relates to a service orchestration and deployment system, as shown in fig. 5, including:
a configuration file processing module 501, configured to obtain basic environment information of a server to be deployed; judging whether the server to be deployed meets the user requirements or not; acquiring and analyzing a service configuration file, and carrying out layered processing on user services, wherein the user services at least comprise two services;
a dependency tree generating module 502, configured to generate a mirror dependency tree and a container dependency tree according to a dependency relationship between the services;
a mirror image construction module 503, configured to perform mirror image construction on each layer of the mirror image dependency tree according to the dependency relationship;
and the container deployment module 504 is configured to perform service container deployment on each layer of the container dependency tree according to the dependency relationship, and start all service containers.
Further, as shown in fig. 6, the service orchestration deployment system further includes:
and a monitoring module 505, configured to monitor operation states of all services in the server to be deployed.
It should be noted that, when monitoring the operating states of all the services, the monitoring module 505 sets a series of monitoring indexes, including: the number of key service failures, multiple common service failures, network unreachable, network quality, and the like, which are specific examples, and the monitoring indicators and the monitoring method can be customized by a user in practical application.
It should be understood that this embodiment is a device embodiment corresponding to the first embodiment, and the embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that the service orchestration and deployment system provided by the embodiment mainly performs orchestration and deployment on micro services in a small micro scene, and is different from a traditional method in which a large number of containers are manually deployed on a docker system, and the difficulty and complexity of service orchestration and deployment are greatly reduced by the system. In addition, compared with a kubernets system (k8s system), a large amount of cluster physical resources are saved, so that a small micro scene can avoid huge cluster infrastructure cost to reuse the basic capability of a large distributed micro service framework.
It should be noted that, all the modules involved in this embodiment are logic modules, and in practical application, one logic unit may be one physical unit, may also be a part of one physical unit, and may also be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, a unit which is not so closely related to solve the technical problem proposed by the present invention is not introduced in the present embodiment, but this does not indicate that there is no other unit in the present embodiment.
A sixth embodiment of the present application relates to a network device, as shown in fig. 7, including:
at least one processor 701; and the number of the first and second groups,
a memory 702 communicatively coupled to the at least one processor 701; wherein the content of the first and second substances,
the memory 702 stores instructions executable by the at least one processor 701 to cause the at least one processor 701 to perform the business orchestration deployment method described in any of the above method embodiments.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of implementations of the present application and that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (10)

1. A service orchestration deployment method is characterized by comprising:
acquiring basic environment information of a server to be deployed;
when the basic environment information of the server to be deployed meets the requirements of a user, acquiring and analyzing a service configuration file, and performing layered processing on user services, wherein the user services at least comprise two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services;
generating a mirror image dependency tree and a container dependency tree according to the dependency relationship;
performing mirror image construction and container deployment on all nodes of each layer of the mirror image dependency tree and the container dependency tree according to the dependency relationship;
and starting all containers to finish the arrangement and deployment of the user services.
2. The business orchestration deployment method according to claim 1, wherein when the basic environment information of the server to be deployed meets a user requirement, before acquiring and parsing the business configuration file, the method further comprises:
judging whether the basic environment information of the server to be deployed meets the user requirements or not;
and if the basic environment information of the server to be deployed does not meet the user requirements, checking the basic environment of the server to be deployed, and installing and configuring the system according to the system configuration file.
3. The business orchestration deployment method according to claim 1, wherein the hierarchically processing the user businesses comprises: and dividing the user service into one or more of network basic service, middleware service, framework service and service.
4. The business orchestration deployment method according to claim 1, wherein generating a mirror dependency tree and a container dependency tree according to the dependency relationship comprises:
traversing the content of the dependent item in the service configuration file, wherein the content of the dependent item is the dependent relation between the micro-services;
and respectively generating a mirror image dependency tree and a container dependency tree through a recursive backtracking algorithm.
5. The business orchestration deployment method according to claim 2, wherein after the system installation and configuration according to the system configuration file, the method further comprises: and when the number of the servers to be deployed is two, carrying out dual-machine component installation and configuration on the two servers to be deployed.
6. The business orchestration deployment method according to claim 1, wherein after performing the mirror construction and the container deployment on all the nodes of each layer of the mirror dependency tree and the container dependency tree, the method further comprises: and if any operation of the mirror image construction and the container deployment fails, clearing the configuration information, the mirror image and the container in the server to be deployed, and generating a failure log.
7. A business orchestration deployment system comprising:
the configuration file processing module is used for acquiring basic environment information of the server to be deployed; judging whether the server to be deployed meets the user requirements or not; acquiring and analyzing a service configuration file, and carrying out layered processing on user services, wherein the user services at least comprise two services, the services at least comprise one micro service, and a dependency relationship exists between the micro services;
the dependency tree generating module is used for generating a mirror image dependency tree and a container dependency tree according to the dependency relationship;
the mirror image construction module is used for carrying out mirror image construction on all nodes of each layer of the mirror image dependency tree according to the dependency relationship;
and the container deployment module is used for performing container deployment on all nodes of each layer of the container dependency tree according to the dependency relationship, starting all containers and finishing the arrangement and deployment of the user services.
8. The business orchestration deployment system according to claim 6, further comprising:
and the monitoring module is used for monitoring the running states of all the services in the server to be deployed.
9. A network device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the business orchestration deployment method according to any one of claims 1-8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the business orchestration deployment method according to any one of claims 8.
CN202011507151.8A 2020-12-18 2020-12-18 Service arrangement and deployment method, system, network equipment and storage medium Pending CN114721764A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011507151.8A CN114721764A (en) 2020-12-18 2020-12-18 Service arrangement and deployment method, system, network equipment and storage medium
PCT/CN2021/128504 WO2022127420A1 (en) 2020-12-18 2021-11-03 Service choreography and deployment method and system, network device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011507151.8A CN114721764A (en) 2020-12-18 2020-12-18 Service arrangement and deployment method, system, network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114721764A true CN114721764A (en) 2022-07-08

Family

ID=82058907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011507151.8A Pending CN114721764A (en) 2020-12-18 2020-12-18 Service arrangement and deployment method, system, network equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114721764A (en)
WO (1) WO2022127420A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220874A (en) * 2022-09-05 2022-10-21 税友信息技术有限公司 Kubernetes cluster deployment method, device, equipment and storage medium
CN116136756A (en) * 2023-04-18 2023-05-19 浪潮通用软件有限公司 Layered structure-based microservice assembly method, device, equipment and medium
CN117234489A (en) * 2023-11-14 2023-12-15 云筑信息科技(成都)有限公司 Method for realizing dynamic module arrangement based on business process

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880000A (en) * 2022-07-05 2022-08-09 深圳市信润富联数字科技有限公司 Remote operation and maintenance method and device for industrial personal computer, electronic equipment and storage medium
CN114860350B (en) * 2022-07-07 2022-10-28 杭州子默网络科技有限公司 Data processing method and device based on cloud diskless tree-like mirror image
CN115016832B (en) * 2022-08-08 2022-11-29 北京安普诺信息技术有限公司 Method for deeply analyzing software component dependency relationship, related device and platform
CN115543353B (en) * 2022-09-19 2023-06-16 北京三维天地科技股份有限公司 System management solution method and system based on distributed deployment architecture
CN115514666A (en) * 2022-09-26 2022-12-23 郑州小鸟信息科技有限公司 Visual deployment method and system
CN115562690B (en) * 2022-12-05 2023-04-18 杭州未名信科科技有限公司 Algorithm service processing method, device and medium based on Docker container
CN116431277A (en) * 2023-03-13 2023-07-14 浙江海规技术有限公司 Multi-place operation and maintenance containerization method and device, computer equipment and storage medium
CN116208497B (en) * 2023-05-05 2023-07-21 广东省新一代通信与网络创新研究院 Programmable network system, method, switch and device
CN116225464B (en) * 2023-05-09 2023-07-11 霖济智云科技(苏州)有限公司 Rapid deployment method of platform
CN116700902B (en) * 2023-06-25 2024-03-12 天津大学 Container acceleration deployment method and device for asynchronous parallel extraction of mirror image layer
CN117055880B (en) * 2023-08-22 2024-05-03 广东保伦电子股份有限公司 Document transcoding method, device and storage medium based on containerized deployment
CN117289951B (en) * 2023-11-22 2024-04-02 华信咨询设计研究院有限公司 Software system multi-application automatic deployment method based on recursion principle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904005B2 (en) * 2010-11-23 2014-12-02 Red Hat, Inc. Indentifying service dependencies in a cloud deployment
US9967318B2 (en) * 2011-02-09 2018-05-08 Cisco Technology, Inc. Apparatus, systems, and methods for cloud agnostic multi-tier application modeling and deployment
CN105867955A (en) * 2015-09-18 2016-08-17 乐视云计算有限公司 Deployment system and deployment method of application program
CN108595180A (en) * 2018-03-14 2018-09-28 广东能龙教育股份有限公司 Micro-service automatic deployment method based on dependency chain
CN108762769B (en) * 2018-06-04 2022-06-21 万惠投资管理有限公司 Microservice application arranging and deploying method and device and computer terminal
CN111367534B (en) * 2020-03-19 2023-05-09 远光软件股份有限公司 Service arrangement method and system based on application environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220874A (en) * 2022-09-05 2022-10-21 税友信息技术有限公司 Kubernetes cluster deployment method, device, equipment and storage medium
CN115220874B (en) * 2022-09-05 2023-01-06 税友信息技术有限公司 Kubernetes cluster deployment method, device, equipment and storage medium
CN116136756A (en) * 2023-04-18 2023-05-19 浪潮通用软件有限公司 Layered structure-based microservice assembly method, device, equipment and medium
CN117234489A (en) * 2023-11-14 2023-12-15 云筑信息科技(成都)有限公司 Method for realizing dynamic module arrangement based on business process
CN117234489B (en) * 2023-11-14 2024-03-15 云筑信息科技(成都)有限公司 Method for realizing dynamic module arrangement based on business process

Also Published As

Publication number Publication date
WO2022127420A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
CN114721764A (en) Service arrangement and deployment method, system, network equipment and storage medium
JP7074880B2 (en) How to deploy network slices and equipment
US10347542B2 (en) Client-initiated leader election in distributed client-server systems
CN111371627B (en) Method for setting multiple IPs (Internet protocol) in Kubernetes through Pod
US10505796B2 (en) Network function virtualization
CN110474792B (en) Network configuration method, equipment and system
CN104956332A (en) Master automation service
CN111880902A (en) Pod creation method, device, equipment and readable storage medium
WO2016106486A1 (en) Method and apparatus for configuring a communication system
CN110719209A (en) Cluster network configuration method, system, equipment and readable storage medium
CN114237812A (en) Container network management system
US11729026B2 (en) Customer activation on edge computing environment
CN105095103A (en) Storage device management method and device used for cloud environment
CN114840223A (en) Resource processing method and device
CN111984274A (en) Method and device for one-key automatic deployment of ETCD (electronic toll collection) cluster
CN114461303A (en) Method and device for accessing cluster internal service
CN116455869A (en) Method and system for efficiently configuring public network domain name based on Kubernetes
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
Khalel et al. Enhanced load balancing in kubernetes cluster by minikube
CN112333672B (en) Method and device for opening UPF network element of 5G core network
DesLauriers et al. Abstractions of abstractions: Metadata to infrastructure-as-code
CN110110004B (en) Data operation method, device and storage medium
CN113760439A (en) Virtual machine network management method, device, equipment and storage medium
US20240137248A1 (en) Customer activation on edge computing environment
CN115955404B (en) Internet of things scene management method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination