CN107391235B - Operation method and operation device of multi-service system - Google Patents

Operation method and operation device of multi-service system Download PDF

Info

Publication number
CN107391235B
CN107391235B CN201710708510.8A CN201710708510A CN107391235B CN 107391235 B CN107391235 B CN 107391235B CN 201710708510 A CN201710708510 A CN 201710708510A CN 107391235 B CN107391235 B CN 107391235B
Authority
CN
China
Prior art keywords
host
service
service system
docker
image files
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.)
Active
Application number
CN201710708510.8A
Other languages
Chinese (zh)
Other versions
CN107391235A (en
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.)
Suzhou Kedacom Special Video Co ltd
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Kedacom Special Video Co ltd
Suzhou Keda Technology 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 Suzhou Kedacom Special Video Co ltd, Suzhou Keda Technology Co Ltd filed Critical Suzhou Kedacom Special Video Co ltd
Priority to CN201710708510.8A priority Critical patent/CN107391235B/en
Publication of CN107391235A publication Critical patent/CN107391235A/en
Application granted granted Critical
Publication of CN107391235B publication Critical patent/CN107391235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

Abstract

The invention relates to the technical field of video conferences, and discloses an operation method of a multi-service system, which comprises the following steps: creating a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host, wherein each virtual machine is respectively provided with a virtual network port and a service; and controlling the multi-service systems to respectively run on the corresponding virtual machines, and transmitting service data through the virtual network ports on the corresponding virtual machines. Because each virtual machine is provided with an independent virtual network card and system service, the service data of a plurality of service systems are transmitted by using the corresponding virtual network card ports without occupying the physical network card ports in the host, therefore, the service systems are mutually independent and do not interfere with each other, the problems of resource occupation, service system operation conflict, service system fault and the like are avoided, and simultaneously, a plurality of hosts are not required to be used, so that the hardware cost is saved.

Description

Operation method and operation device of multi-service system
Technical Field
The invention relates to the technical field of video conferences, in particular to an operation method and an operation device of a multi-service system.
Background
With the development of the technology, a situation that a plurality of service systems operate on the same host often occurs, for example, in the technical field of video conferences, a video conference system, a video monitoring system and a video monitoring intercommunication gateway system need to operate simultaneously, when the three service systems operate on the same host, the three service systems use a common port and system service resources, so that resource and system operation conflicts easily occur, the problem of failure of each service system is caused, and the normal operation of the service systems is influenced.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is as follows: the problems of resource preemption, service system operation conflict, service system failure and the like when a plurality of service systems operate on the same host.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
the invention provides a method for operating a multi-service system, wherein the multi-service system needs to use the same network port and system service when operating on the same host, comprising the following steps:
creating a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host, wherein each virtual machine is respectively provided with a virtual network port and a service;
and controlling the multi-service systems to respectively run on the corresponding virtual machines, and transmitting service data through the virtual network ports on the corresponding virtual machines.
Optionally, the step of creating, on the host computer, a plurality of virtual machines in one-to-one correspondence with the multi-service system specifically includes the following steps:
installing and starting a Docker environment in the host;
acquiring a plurality of mirror image files corresponding to the multi-service system one by one;
importing the plurality of image files into a host provided with the Docker environment;
and respectively creating and starting a plurality of corresponding Docker containers in the host through the plurality of image files.
Optionally, before the step of installing and starting the Docker environment in the host, the method further includes:
modifying the port name in the host so that the port name can be identified by the service system;
configuring a bridge in the host;
and uploading the Docker installation file to a corresponding directory in the host.
Optionally, before the step of importing the plurality of image files into the host installed with the Docker environment, the method further includes:
and uploading the plurality of image files to the corresponding directories in the host.
Optionally, after the step of creating and starting a plurality of Docker containers by the plurality of image files respectively, the method further includes the following steps:
restarting the host;
and verifying the multi-service system in the plurality of Docker containers.
The invention also provides an operation device using the multi-service system operation method, which comprises the following steps:
the virtual machine creating module is used for creating a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host, and each virtual machine is provided with a virtual network port and a service;
and the control module is used for controlling the multi-service systems to respectively run on the corresponding virtual machines and transmitting service data through the virtual network ports on the corresponding virtual machines.
Optionally, the virtual machine creating module includes:
a Docker environment installation and starting unit, which is used for installing and starting the Docker environment in the host;
the mirror image acquisition unit is used for acquiring a plurality of mirror image files corresponding to the multi-service system one by one;
the mirror image import unit is used for importing the mirror image files into a host provided with the Docker environment;
and the Docker container creating and starting unit is used for respectively creating and starting the plurality of Docker containers through the plurality of image files.
Optionally, the virtual machine creating module further includes:
the modifying unit is used for modifying the port name in the host computer so as to enable the port name to be identified by the service system;
a first configuration unit for configuring a bridge in the host;
and the first uploading unit is used for uploading the Docker installation file to a corresponding directory in the host.
Optionally, the virtual machine creating module further includes:
and the second uploading unit is used for uploading the plurality of image files to the corresponding directories in the host.
Optionally, the method further comprises:
a restart unit for restarting the host;
and the verification unit is used for verifying the service systems in the plurality of Docker containers.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the method for operating the multi-service system provided by the invention comprises the steps of firstly establishing a plurality of virtual machines which are in one-to-one correspondence with a plurality of service systems on the same host, respectively arranging a virtual network port and a system in each virtual machine, then controlling the service systems to respectively operate in the corresponding virtual machines, and transmitting service data through the virtual network ports on the corresponding virtual machines.
When a plurality of traditional service systems which need to transmit service data run on the same host, because the same network port and system service resources are used, when the data volume is large, the problems of resource seizing, running conflict of each service system, service system failure and the like are easily caused, thereby affecting normal data transmission; or, multiple sets of service systems are respectively operated in different hosts, so that the problem of resource preemption is solved, but the hardware cost is increased. The technical scheme of the application breaks through the tradition, a plurality of service systems respectively run in a plurality of virtual machines in the same host simultaneously, and due to the fact that each virtual machine is provided with the independent virtual network card and system service, service data of the service systems do not need to occupy the transmission of the physical network card port in the host, and the service data are transmitted by using the corresponding virtual network card ports respectively, so that the service systems are mutually independent and do not interfere with each other, the problems of resource occupation, service system running conflict, service system faults and the like are avoided, a plurality of hosts do not need to be used, and hardware cost is saved.
The method for operating the multi-service system provided by the invention specifically comprises the following steps of establishing a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host machine: installing and starting a Docker environment in the host; acquiring a plurality of mirror image files corresponding to the multi-service system one by one; importing the plurality of image files into a host provided with the Docker environment; and respectively creating and starting a plurality of corresponding Docker containers in the host through the plurality of image files.
Compared with the traditional virtual machine technology, the Docker virtualization technology adopted by the invention is lighter, on one hand, the service system running on the Docker container directly uses hardware resources on the host, and the virtualization of the hardware resources by using Hypervisor like the traditional virtual machine technology is not needed, thereby improving the utilization rate of CPU and memory; on the other hand, each Docker container utilizes the kernel of the host, and does not need Guest OS, namely when the Docker container is created and started, the Guest OS does not need to be loaded like a traditional virtual machine, so that the loading time and resources are saved, and higher-performance service is provided for a business system; moreover, the migration and expansion capabilities of the Docker virtual technology are strong, and the Docker virtual technology is beneficial to more efficient deployment, management and updating of a service system.
The method for operating the multi-service system provided by the invention also comprises the following steps before the step of installing and starting the Docker environment in the host: modifying the port name in the host computer so as to enable the port name to be identified by a service system; configuring a bridge in a host; and uploading the Docker installation file to a corresponding directory in the host. Because the service system can only identify the specific network port name, the network port name in the host is modified into the network port name which can be identified by the service system, thereby being beneficial to the normal operation of the subsequent service system. After the network bridge in the host is configured, network communication among a plurality of service systems with different virtual network ports is facilitated.
The running device of the multi-service system comprises a virtual machine establishing module and a control module, wherein after the virtual machine establishing module establishes a plurality of virtual machines which are in one-to-one correspondence with the service systems on a host, the control module controls the service systems to run on the corresponding virtual machines respectively, and service data are transmitted through virtual network ports on the corresponding virtual machines. The running device of the multi-service system enables the plurality of service systems to run simultaneously in the plurality of virtual machines in the same host respectively, and due to the fact that each virtual machine is provided with the independent virtual network card and system service, service data of the plurality of service systems do not need to seize the transmission of the physical network card port in the host, and the service data are transmitted by using the corresponding virtual network card ports respectively.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an operation method of a multi-service system in embodiment 1 of the present invention;
fig. 2 is a partial flowchart of a method for operating a multi-service system according to embodiment 2 of the present invention;
fig. 3 is a partial flowchart of a method for operating a multi-service system according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of an operating apparatus of a multi-service system in embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of a virtual machine creation module in an operating apparatus of a multi-service system in embodiment 4 of the present invention;
fig. 6 is another schematic structural diagram of a virtual machine creation module in an operating apparatus of a multi-service system in embodiment 4 of the present invention;
fig. 7 is a schematic structural diagram of an operation terminal of a multi-service system in embodiment 5 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The operation method of the multi-service system of the embodiment of the invention is mainly used for the multi-service system which needs to use the same network port and system service when operating on the same host, for example, in the field of video conference, the multi-service system can be a video conference system, a video monitoring system and a video monitoring intercommunication gateway system, and audio and video code stream data need to be mutually transmitted among the three systems for matching use. The three business systems run on the same host and use the same physical network port and system service, the operating system in the host is CentOS-6.5 or higher version CentOS, the kernel version is 2.6.32-431 or higher version, and the operating system in the host in this embodiment selects 64-bit CentOS-7.0.
Example 1
This embodiment provides an operation method of a multi-service system, where the multi-service system needs to use the same network port and system service when operating on the same host, as shown in fig. 1, including the following steps:
step S11, a plurality of virtual machines which are in one-to-one correspondence with the multi-service system are established on the host, and each virtual machine is respectively provided with a virtual network port and a service;
step S12, controlling the multiple service systems to run on the corresponding virtual machines respectively, and performing service data transmission through the virtual network ports on the corresponding virtual machines, where the service data transmission may be between the service systems or between the service systems and the host.
In the operation method of the multi-service system provided in this embodiment, first, a plurality of virtual machines corresponding to a plurality of service systems one to one are created on the same host, each virtual machine is respectively provided with a virtual network port and a system service, then, the service systems are controlled to respectively operate in the corresponding virtual machines by using the system services of the corresponding virtual machines, and service data is transmitted through the virtual network ports on the corresponding virtual machines.
When a plurality of traditional service systems which need to transmit service data run on the same host, because the same network port and system service resources are used, when the data volume is large, the problems of resource seizing, running conflict of each service system, service system failure and the like are easily caused, thereby affecting normal data transmission; or, multiple sets of service systems are respectively operated in different hosts, so that the problem of resource preemption is solved, but the hardware cost is increased. The technical scheme of the application breaks through the tradition, a plurality of service systems respectively run in a plurality of virtual machines in the same host simultaneously, and due to the fact that each virtual machine is provided with the independent virtual network card and system service, service data of the service systems do not need to occupy the transmission of the physical network card port in the host, and the service data are transmitted by using the corresponding virtual network card ports respectively, so that the service systems are mutually independent and do not interfere with each other, the problems of resource occupation, service system running conflict, service system faults and the like are avoided, a plurality of hosts do not need to be used, and hardware cost is saved.
Example 2
The embodiment provides an operation method of a multi-service system, wherein the multi-service system needs to use the same network port and system service when operating on the same host, and the method comprises the following steps:
step S21, creating a plurality of virtual machines corresponding to the multi-service system one to one on the host, where each virtual machine is provided with a virtual network port and a service.
As shown in fig. 2, step S21 specifically includes the following steps:
step S211, installing and starting a Docker environment in a host;
step S212, acquiring a plurality of mirror image files corresponding to the multi-service system one by one;
step S213, importing the plurality of image files into a host installed with a Docker environment, generally, importing the plurality of image files into the Docker environment respectively by executing Docker executable commands;
step S214, respectively creating and starting a plurality of corresponding Docker containers in the host through a plurality of image files.
Step S22, controlling the multiple service systems to run on the corresponding virtual machines respectively, and performing service data transmission through the virtual network ports on the corresponding virtual machines, where the service data transmission may be between the service systems or between the service systems and the host.
Compared with the traditional virtual machine technology, the Docker virtualization technology adopted by the embodiment is lighter, on one hand, the service system running on the Docker container directly uses hardware resources on the host, and the virtualization of the hardware resources by using Hypervisor like the traditional virtual machine technology is not needed, so that the utilization rate of a CPU (Central processing Unit) and a memory is improved; on the other hand, each Docker container utilizes the kernel of the host, and does not need Guest OS, namely when the Docker container is created and started, the Guest OS does not need to be loaded like a traditional virtual machine, so that the loading time and resources are saved, and higher-performance service is provided for a business system; moreover, the migration and expansion capabilities of the Docker virtual technology are strong, and the Docker virtual technology is beneficial to more efficient deployment, management and updating of a service system.
Example 3
The embodiment provides an operation method of a multi-service system, wherein the multi-service system needs to use the same network port and system service when operating on the same host, and the method comprises the following steps:
step S31, creating a plurality of virtual machines corresponding to the multi-service system one to one on the host, where each virtual machine is provided with a virtual network port and a service.
As shown in fig. 3, step S31 specifically includes the following steps:
step S311, modifying the port name in the host to be recognized by the service system, for example, if the network interface name that the video monitoring system can recognize is eth0, and the network interface of the host operating system CentOS-7.0 is ensc33, modifying the ensc33 in the corresponding port configuration file in the host to be eth0, so that the service system can recognize, which is beneficial to the normal operation of the subsequent service system.
Step S312, configuring the bridge in the host, that is, replacing the bridge configuration file and the portal configuration file of the modified network address into the corresponding directory of the host.
And S313, uploading the Docker installation file to a corresponding directory, wherein the Docker installation file can be in a tar.
And S314, installing and starting the Docker environment in the host, specifically, decompressing the Docker installation file in the directory where the Docker installation file in the tar.gz format is located, running the installation script, and starting the Docker environment after the installation is finished.
Step S315, obtaining a plurality of image files corresponding to the multi-service system one to one, and specifically, packaging the multi-service system into a plurality of image files respectively.
And step S316, uploading a plurality of image files to a corresponding directory in the host.
Step S317, importing a plurality of image files into a host provided with a Docker environment;
step S318, respectively creating and starting a plurality of corresponding Docker containers in the host through the plurality of image files.
Step S319, configuring the network of each Docker container, specifically, respectively configuring the network address of each Docker container by using a pipeline tool.
Step S3110, restarting the host;
step S3111, verifying the multi-service system in multiple Docker containers.
And step S32, controlling the multi-service system to run on the corresponding virtual machines respectively, and transmitting the service data through the virtual network ports on the corresponding virtual machines.
Example 4
The embodiment provides an operating apparatus using the multi-service system operating method, as shown in fig. 4, including:
a virtual machine creating module 41, configured to create, on a host, multiple virtual machines in one-to-one correspondence to a multi-service system, where each virtual machine is provided with a virtual network port and a service;
and the control module 42 is configured to control the multiple service systems to operate on the corresponding virtual machines respectively, and transmit service data through the virtual network ports on the corresponding virtual machines.
The running device of the multi-service system provided by this embodiment enables a plurality of service systems to run simultaneously in a plurality of virtual machines in the same host respectively, and since each virtual machine has a separate virtual network card and system service, service data of the plurality of service systems does not need to seize the transmission of the physical network card port in the host, and the service data are transmitted by using the corresponding virtual network card ports respectively, therefore, the plurality of service systems are independent from each other and do not interfere with each other, thereby avoiding the problems of resource seizing, service system running conflict, service system failure and the like, and simultaneously, without using a plurality of hosts, thereby saving hardware cost.
As an implementation manner of this embodiment, as shown in fig. 5, the virtual machine creation module 41 includes:
a Docker environment installation and start unit 411, configured to install and start a Docker environment in a host;
a mirror image obtaining unit 412, configured to obtain multiple mirror image files corresponding to multiple service systems one to one;
an image importing unit 413, configured to import a plurality of image files into a host installed with a Docker environment;
a Docker container creating and starting unit 414 configured to create and start a plurality of Docker containers through a plurality of image files, respectively.
As an implementation manner of this embodiment, as shown in fig. 6, the virtual machine creation module 41 further includes:
a modifying unit 4100, configured to modify a port name in the host, so that the port name can be identified by the service system;
a first configuration unit 4101 for configuring a bridge in a host;
a first uploading unit 4102, configured to upload the Docker installation file to a corresponding directory in the host.
As an implementation manner of this embodiment, as shown in fig. 6, the virtual machine creation module 41 further includes:
the second uploading unit 4121 is configured to upload a plurality of image files to corresponding directories in the host.
As an implementation manner of this embodiment, the virtual machine creating module 41 further includes:
a second configuration unit 415, configured to configure a network of each Docker container;
a restart unit 416 for restarting the host;
the verification unit 417 is configured to verify the service systems in the plurality of Docker containers.
Example 5
The embodiment provides a multi-service system operation terminal, as shown in fig. 7, the device includes one or more processors 51 and a memory 52, in the figure, one processor 51 is taken as an example.
The processor 51 may be a Central Processing Unit (CPU). The Processor 51 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof. A general purpose processor may be a microprocessor or the processor 51 may be any conventional processor or the like.
The memory 52 is a non-transitory computer readable storage medium, and can be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the operation method of the multi-service system in the embodiment of the present invention. The processor 51 executes various functional applications of the server and data processing by executing the non-transitory software programs, instructions and modules stored in the memory 52, that is, implements the operation method of the multi-service system in the above embodiment.
The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an operating device of the multi-service system, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 52 optionally includes memory located remotely from the processor 51, and these remote memories may be connected to the operating devices of the multi-service system via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 52 and, when executed by the one or more processors 51, perform the method of operating the multi-service system described in embodiment 1.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in the embodiment, reference may be made to the related description in the embodiment shown in fig. 1.
Example 6
The present embodiment provides a non-transitory computer storage medium, which stores computer-executable instructions that can execute the method for operating the multi-service system described in embodiment 1. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (8)

1. An operation method of a multi-service system, wherein the multi-service system needs to use the same network port and system service when operating on the same host, the operation method comprises the following steps: creating a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host, wherein each virtual machine is respectively provided with a virtual network port and a service; controlling the multi-service systems to respectively run on the corresponding virtual machines, and transmitting service data through the virtual network ports on the corresponding virtual machines; the step of creating a plurality of virtual machines corresponding to the multi-service system one to one on the host specifically includes the following steps: installing and starting a Docker environment in the host; acquiring a plurality of mirror image files corresponding to the multi-service system one by one; importing the plurality of image files into a host provided with the Docker environment; and respectively creating and starting a plurality of corresponding Docker containers in the host through the plurality of image files.
2. The method for operating a multi-service system according to claim 1, wherein before the step of installing and starting a Docker environment in the host, the method further comprises: modifying the port name in the host so that the port name can be identified by the service system; configuring a bridge in the host; and uploading the Docker installation file to a corresponding directory in the host.
3. The method for operating a multi-service system according to claim 1, wherein before the step of importing the plurality of image files into the host computer in which the Docker environment is installed, the method further comprises: and uploading the plurality of image files to the corresponding directories in the host.
4. The method for operating a multi-service system according to claim 1, wherein after the step of creating and starting a plurality of Docker containers by the plurality of image files, respectively, the method further comprises the steps of: restarting the host; and verifying the multi-service system in the plurality of Docker containers.
5. An operating device of a multi-service system, wherein the multi-service system needs to use the same network port and system service when operating on the same host, the operating device of the multi-service system comprises: the virtual machine creating module is used for creating a plurality of virtual machines which are in one-to-one correspondence with the multi-service system on the host, and each virtual machine is provided with a virtual network port and a service; the control module is used for controlling the multi-service systems to respectively run on the corresponding virtual machines and transmitting service data through the virtual network ports on the corresponding virtual machines; the virtual machine creation module comprises: a Docker environment installation and starting unit, which is used for installing and starting the Docker environment in the host; the mirror image acquisition unit is used for acquiring a plurality of mirror image files corresponding to the multi-service system one by one; the mirror image import unit is used for importing the mirror image files into a host provided with the Docker environment; and the Docker container creating and starting unit is used for respectively creating and starting the plurality of Docker containers through the plurality of image files.
6. The operating apparatus of a multi-service system according to claim 5, wherein the virtual machine creation module further comprises: the modifying unit is used for modifying the port name in the host computer so as to enable the port name to be identified by the service system; a first configuration unit for configuring a bridge in the host; and the first uploading unit is used for uploading the Docker installation file to a corresponding directory in the host.
7. The operating apparatus of a multi-service system according to claim 5, wherein the virtual machine creation module further comprises: and the second uploading unit is used for uploading the plurality of image files to the corresponding directories in the host.
8. The operating apparatus of a multi-service system according to claim 5, wherein the virtual machine creation module further comprises: a restart unit for restarting the host; and the verification unit is used for verifying the service systems in the plurality of Docker containers.
CN201710708510.8A 2017-08-17 2017-08-17 Operation method and operation device of multi-service system Active CN107391235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710708510.8A CN107391235B (en) 2017-08-17 2017-08-17 Operation method and operation device of multi-service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710708510.8A CN107391235B (en) 2017-08-17 2017-08-17 Operation method and operation device of multi-service system

Publications (2)

Publication Number Publication Date
CN107391235A CN107391235A (en) 2017-11-24
CN107391235B true CN107391235B (en) 2020-12-01

Family

ID=60353478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710708510.8A Active CN107391235B (en) 2017-08-17 2017-08-17 Operation method and operation device of multi-service system

Country Status (1)

Country Link
CN (1) CN107391235B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020554A (en) * 2021-10-30 2022-02-08 江苏信而泰智能装备有限公司 Port isolation method of tester and tester with port isolation function

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309722A (en) * 2012-03-14 2013-09-18 北京三星通信技术研究有限公司 Cloud computation system and application access method thereof
CN104809025A (en) * 2015-04-29 2015-07-29 北京奇艺世纪科技有限公司 Method and device for enabling programs to be online
CN105407056A (en) * 2014-09-16 2016-03-16 中国电信股份有限公司 Method and system for establishing service chain in software-defined network
CN106302705A (en) * 2016-08-11 2017-01-04 浪潮(北京)电子信息产业有限公司 The interface information collection method of a kind of distributed memory system and system
CN106506314A (en) * 2016-09-30 2017-03-15 北京赢点科技有限公司 Network high availability method and device based on docker

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10063469B2 (en) * 2015-12-16 2018-08-28 Nicira, Inc. Forwarding element implementation for containers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309722A (en) * 2012-03-14 2013-09-18 北京三星通信技术研究有限公司 Cloud computation system and application access method thereof
CN105407056A (en) * 2014-09-16 2016-03-16 中国电信股份有限公司 Method and system for establishing service chain in software-defined network
CN104809025A (en) * 2015-04-29 2015-07-29 北京奇艺世纪科技有限公司 Method and device for enabling programs to be online
CN106302705A (en) * 2016-08-11 2017-01-04 浪潮(北京)电子信息产业有限公司 The interface information collection method of a kind of distributed memory system and system
CN106506314A (en) * 2016-09-30 2017-03-15 北京赢点科技有限公司 Network high availability method and device based on docker

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Docker的家庭私有云系统的设计;蔡云龙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170315;正文第24-33、47-53页 *

Also Published As

Publication number Publication date
CN107391235A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US10353728B2 (en) Method, system and device for managing virtual machine software in cloud environment
US9639402B2 (en) Systems and methods for automatic hardware provisioning based on application characteristics
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
US9342326B2 (en) Allocating identified intermediary tasks for requesting virtual machines within a trust sphere on a processing goal
WO2018157588A1 (en) Firmware burning method, system, computer device and storage medium
US9286046B2 (en) Method and apparatus for distributed operating system image deployment
CN103200271B (en) The method of ARM server and automation installation system thereof
CN104572372A (en) System and method for building server performance testing environment
US20160261693A1 (en) Cloud-based data backup and operation method and system
CN111669284B (en) OpenStack automatic deployment method, electronic device, storage medium and system
US10572434B2 (en) Intelligent certificate discovery in physical and virtualized networks
EP3879875A1 (en) Resource change method and device, apparatus, and storage medium
CN111104201A (en) System migration method and device, electronic equipment and storage medium
CN106873970B (en) Installation method and device of operating system
CN113127150A (en) Rapid deployment method and device of cloud native system, electronic equipment and storage medium
CN108737499A (en) server configuration method and device
US20230229481A1 (en) Provisioning dpu management operating systems
CN109120680B (en) Control system, method and related equipment
CN111163167A (en) System installation method and device
CN113612702B (en) Method, system, equipment and storage medium for realizing bare metal inspection process
CN107391235B (en) Operation method and operation device of multi-service system
CN103442041A (en) Method, device and system for upgrading firmware of embedded device
US20230229480A1 (en) Provisioning dpu management operating systems using firmware capsules
CN109656674B (en) Computer equipment, virtualization chip and data transmission method
CN113886153B (en) Network card pressure testing method and device based on container

Legal Events

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