RU2788969C2 - Communication system in virtual private cloud, method for configuration of system, and controller - Google Patents

Communication system in virtual private cloud, method for configuration of system, and controller Download PDF

Info

Publication number
RU2788969C2
RU2788969C2 RU2021117987A RU2021117987A RU2788969C2 RU 2788969 C2 RU2788969 C2 RU 2788969C2 RU 2021117987 A RU2021117987 A RU 2021117987A RU 2021117987 A RU2021117987 A RU 2021117987A RU 2788969 C2 RU2788969 C2 RU 2788969C2
Authority
RU
Russia
Prior art keywords
configuration information
resources
forwarding
switch
mark
Prior art date
Application number
RU2021117987A
Other languages
Russian (ru)
Other versions
RU2021117987A (en
Inventor
Шуньцяо ЦЗЯН
Original Assignee
Бейджин Кингсофт Клауд Нетворк Текнолоджи Ко., Лтд.
Бейджин Кингсофт Клауд Текнолоджи Ко., Лтд.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Бейджин Кингсофт Клауд Нетворк Текнолоджи Ко., Лтд., Бейджин Кингсофт Клауд Текнолоджи Ко., Лтд. filed Critical Бейджин Кингсофт Клауд Нетворк Текнолоджи Ко., Лтд.
Publication of RU2021117987A publication Critical patent/RU2021117987A/en
Application granted granted Critical
Publication of RU2788969C2 publication Critical patent/RU2788969C2/en

Links

Images

Abstract

FIELD: communication.
SUBSTANCE: invention relates to the field of communication in a virtual private cloud (hereinafter – VPC). The system contains at least one virtual machine (hereinafter – VM) and a system gateway connected with the possibility of communication to each VM; at least one physical machine (hereinafter – PM), and a switch connected with the possibility of communication to each PM. In this case, the system gateway is connected with the possibility of communication to the switch; the system gateway and the switch are made with the possibility of provision of communication between VM and PM related to the same VPC, based on preset information about configuration. Information about configuration contains a separation tag corresponding to VPC, wherein one VPC corresponds to one separation tag, and forwarding records corresponding to resources contained in VPC; the specified resources include: one or several VM and/or one or several PM.
EFFECT: elimination of conflicts between different resources of different VPC.
15 cl, 5 dwg

Description

В настоящей заявке испрашивается приоритет согласно заявке на патент Китая № 201811463985.6, поданной в Национальное управление по интеллектуальной собственности Китая 30 ноября 2018г. и озаглавленной «Система связи в виртуальном частном облаке, способ конфигурирования системы и контроллер», во всей полноте включенной в настоящую заявку посредством отсылки.This application claims priority according to Chinese Patent Application No. 201811463985.6 filed with the National Intellectual Property Office of China on November 30, 2018. and entitled "Virtual Private Cloud Communication System, System Configuration Method and Controller", incorporated herein by reference in its entirety.

Область техники Technical field

Настоящая заявка относится к области техники виртуального частного облака, в частности - к системе связи в виртуальном частном облаке, способу конфигурирования системы и контроллеру.The present application relates to the field of virtual private cloud technology, in particular to a virtual private cloud communication system, a system configuration method, and a controller.

Уровень техникиState of the art

Виртуальное частное облако (ВЧО, англ. Virtual private cloud (VPC)) - это динамически конфигурируемая совокупность вычислительных ресурсов публичного облака, осуществляющая передачу данных между частными предприятиями и поставщиками услуг облачных вычислений с использованием протоколов шифрования, протоколов туннелирования и иных процедур обеспечения безопасности.A virtual private cloud (VCHO, English Virtual private cloud (VPC)) is a dynamically configurable collection of public cloud computing resources that transfers data between private enterprises and cloud computing service providers using encryption protocols, tunneling protocols and other security procedures.

Система ВЧО реализована с использованием туннелей или аналогичных сетевых протоколов и позволяет клиенту детально контролировать то, какие из соответствующих облачных ресурсов могут быть выделены клиенту, тем самым обеспечивая возможность предоставления разным клиентам распределяемых ресурсов по их запросу, с одновременным обеспечение высокой гибкости, обособленности и безопасности. Большинство вычислительных ресурсов в известном виртуальном частном облаке, предоставляемых поставщиками услуг облачных вычислений, предоставляются клиентам в виртуальных машинах (ВМ, англ. virtual machines (VM)). Схема абстрагирует и делит исходную физическую машину (центральный компьютер виртуальных машин) на более мелкие единицы и размещает их в виртуальные частные облака, делимые клиентами с использованием технологий виртуализации ЦП (центрального процессора, англ. Central Processing Unit, (CPU)), запоминающего устройства, диска и иных ресурсов.The HFO system is implemented using tunnels or similar network protocols and allows the client to have granular control over which of the respective cloud resources can be allocated to the client, thereby providing the ability to provide distributed resources to different clients on request, while providing high flexibility, segregation and security. Most computing resources in a well-known virtual private cloud provided by cloud computing service providers are provided to customers in virtual machines (VM, English virtual machines (VM)). The scheme abstracts and divides the original physical machine (the central computer of virtual machines) into smaller units and places them in virtual private clouds shared by clients using virtualization technologies for the CPU (central processing unit, English Central Processing Unit, (CPU)), storage device, disk and other resources.

В случае создания множества ВМ на одной физической машине, вышеуказанная схема может создавать проблему, состоящую в том, что ВМ состязаются за исходные ресурсы (например, планирование ЦП, считывание и запись ввода/вывода и полосу пропускания сети). В случае создания только одной ВМ на физической машине, показатели работы ВМ будут лучше. При этом, из-за применения технологии виртуализации, исходное преимущество физической машины в характеристиках все же не может быть достигнуто, а характеристики ресурсов в целом не могут быть доведены до максимума. Кроме того, с ростом отрасли искусственного интеллекта, потребность в графическом процессоре (ГП, англ. Graphics Processing Unit (GPU)) является очень высокой, а преимущество от виртуализации ресурсов ГП гораздо менее ощутимо.In the case of creating multiple VMs on a single physical machine, the above scheme can create the problem that VMs compete for initial resources (eg, CPU scheduling, I/O read/write, and network bandwidth). In the case of creating only one VM on a physical machine, the performance of the VM will be better. At the same time, due to the use of virtualization technology, the original advantage of the physical machine in performance still cannot be achieved, and the performance of resources as a whole cannot be maximized. In addition, with the growth of the artificial intelligence industry, the need for a graphics processing unit (GPU) is very high, and the advantage of GPU resource virtualization is much less tangible.

С учетом вышесказанного, задачи, требующие больших затрат со стороны ГП, например, обработка изображений, звука и видеоданных, можно распределить в физической машине (ФМ, англ. physical machine (PM)), а некоторые программы обработки данных управления могут быть распределены в ВМ. Такое сбалансированное распределение ресурсов достигается за счет ФМ и ВМ.With this in mind, tasks that require large expenditures on the part of the GPU, such as processing images, sound and video data, can be distributed in a physical machine (FM, English physical machine (PM)), and some programs for processing control data can be distributed in a VM . Such a balanced distribution of resources is achieved through FM and CM.

В настоящее время особую важность имеет внутренняя связь клиента и обособление клиентов друг от друга в сверхкрупномасштабной облачной среде. В известных схемах связь и обособление осуществляет ВЛВС (виртуальная локальная вычислительная сеть, англ. Virtual Local Area Network (VLAN)). Однако из-за ограниченного числа идентификаторов ВЛВС, число ВЧО, которые могут быть построены, не должно превышать верхний предел числа идентификаторов ВЛВС. Поэтому, в области услуг облачных вычислений, при наличии большого числа клиентов, т.е. если число ВЧО, которые нужно построить, значительно превышает верхний предел числа идентификаторов ВЛВС, то, для поставщика услуг облачных вычислений, известный способ обособления клиентов посредством идентификаторов ВЛВС не применим в прикладной среде облачных вычислений.Nowadays, internal customer connectivity and customer separation from each other in a super-large-scale cloud environment is of particular importance. In known schemes, communication and isolation is carried out by a VLAN (virtual local area network, English Virtual Local Area Network (VLAN)). However, due to the limited number of VLAN IDs, the number of VFOs that can be built should not exceed the upper limit of the number of VLAN IDs. Therefore, in the field of cloud computing services, if there are a large number of customers, i.e. if the number of VFOs to be built is much larger than the upper limit of the number of VLAN IDs, then, for the cloud computing service provider, the known method of separating clients by VLAN IDs is not applicable in the cloud computing application environment.

Сущность изобретенияThe essence of the invention

С учетом вышесказанного, цель изобретения по настоящей заявке состоит в создании системы связи в виртуальном частном облаке, способа ее конфигурирования и контроллера, выполненного с возможностью установления соединения связи на основе шлюза, не ограничиваясь верхним пределом числа идентификаторов ВЛВС. Кроме того, число ВМ и ФМ, выделяемых клиентам, можно увеличивать по мере роста числа клиентов, тем самым формируя крупномасштабную облачную среду и удовлетворяя текущие потребности, связанные с привлечение новых клиентов.In view of the above, the object of the invention of the present application is to provide a virtual private cloud communication system, a method for configuring it, and a controller configured to establish a gateway-based communication connection without being limited by an upper limit on the number of VLAN IDs. In addition, the number of VMs and FMs allocated to customers can be increased as the number of customers grows, thus creating a large-scale cloud environment and meeting current customer acquisition needs.

Согласно первому аспекту, в одном из вариантов осуществления по настоящей заявке предложена система связи в виртуальном частном облаке, содержащая: по меньшей мере одну виртуальную машину (ВМ) и шлюз системы, соединенный с возможностью связи с каждой из ВМ;According to a first aspect, in one embodiment, the present application provides a virtual private cloud communication system, comprising: at least one virtual machine (VM) and a system gateway communicatively coupled to each of the VMs;

по меньшей мере одну физическую машину (ФМ) и коммутатор, соединенный с возможностью связи с каждой из ФМ;at least one physical machine (PM) and a switch communicatively connected to each of the PMs;

причем шлюз системы соединен с возможностью связи с коммутатором;moreover, the system gateway is connected with the possibility of communication with the switch;

шлюз системы и коммутатор выполнены с возможностью обеспечения связи между ВМ и ФМ, относящимися к одному и тому же виртуальному частному облаку (ВЧО), на основе заранее заданной информации о конфигурации.the system gateway and the switch are configured to enable communication between the VM and the PM belonging to the same virtual private cloud (VPC) based on predetermined configuration information.

Информация о конфигурации необязательно содержит метку обособления, соответствующую ВЧО;The configuration information optionally contains a shard flag corresponding to the HFO;

информация о конфигурации дополнительно содержит пересылочные записи, соответствующие ресурсам, входящим в ВЧО;the configuration information further comprises forwarding records corresponding to the resources included in the HFO;

ресурсы включают в себя: одну или несколько ВМ и/или одну или несколько ФМ.resources include: one or more VMs and/or one or more FMs.

Система необязательно дополнительно содержит контроллер.The system optionally further comprises a controller.

Контроллер соединен с возможностью связи со шлюзом системы и коммутатором соответственно.The controller is communicatively connected to the system gateway and the switch, respectively.

Контроллер выполнен с возможностью конфигурирования информации для шлюза системы и коммутатора соответственно для генерирования информации о конфигурации и отправки информации о конфигурации соответственно шлюзу системы и коммутатору.The controller is configured to configure information for the system gateway and the switch, respectively, to generate configuration information and send the configuration information to the system gateway and the switch, respectively.

Контроллер необязательно также выполнен с возможностью:The controller is optionally also configured to:

генерирования метки обособления, соответствующей каждому виртуальному частному облаку (ВЧО), в зависимости от ВЧО;generating a shard mark corresponding to each virtual private cloud (VPC) depending on the VPC;

получения IP-адресов ресурсов, относящихся к одному и тому же виртуальному частному облаку (ВЧО), причем ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ;obtaining IP addresses of resources related to the same virtual private cloud (VPC), wherein the resources include one or more VMs and/or one or more PMs;

создания пересылочных записей на основе IP-адресов ресурсов;creating forwarding records based on resource IP addresses;

генерирования информации о конфигурации, соответствующей ВЧО, на основе пересылочных записей и метки обособления.generating configuration information corresponding to the HFO based on the forwarding records and the pegging mark.

Контроллер необязательно также выполнен с возможностью:The controller is optionally also configured to:

создания пересылочной записи(-ей) одной или нескольких ВМ на основе IP-адреса одной или нескольких ВМ, и/илиcreating a forwarding entry(s) for one or more VMs based on the IP address of one or more VMs, and/or

создания пересылочной записи(-ей) одной или нескольких ФМ на основе IP-адреса одной или нескольких ФМ.creating forwarding record(s) of one or more FMs based on the IP address of one or more FMs.

Контроллер необязательно также выполнен с возможностью:The controller is optionally also configured to:

управления ресурсами в виртуальном частном облаке (ВЧО) на основе информации о конфигурации, причем ресурсы включают в себя указанные одну или несколько ВМ и/или одну или несколько ФМ, при этом управление включает в себя: добавление ресурсов и/или удаление ресурсов.managing resources in a virtual private cloud (VCHO) based on configuration information, wherein the resources include said one or more VMs and/or one or more PMs, wherein the management includes: adding resources and/or deleting resources.

Контроллер необязательно также выполнен с возможностью:The controller is optionally also configured to:

приема запроса операции управления ресурсами в ВЧО, причем запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; иreceiving a resource management operation request at the HFO, the management operation request comprising a shard flag corresponding to the HFO to be managed; and

изменения информации о конфигурации, соответствующей подлежащему управлению ВЧО, в шлюзе системы и коммутаторе согласно метке обособления. changing the configuration information corresponding to the HFO to be managed in the system gateway and the switch according to the partition mark.

Контроллер необязательно также выполнен с возможностью:The controller is optionally also configured to:

добавления, по запросу добавления ресурса, пересылочной записи, соответствующей IP-адресу ресурса; и/илиadding, on request to add a resource, a forwarding entry corresponding to the IP address of the resource; and/or

удаления, по запросу удаления части ресурсов, пересылочных записей, соответствующих IP-адресам указанной части ресурсов; и/илиdeleting, upon request of deleting a part of the resources, forwarding records corresponding to the IP addresses of the specified part of the resources; and/or

удаления информации о конфигурации, соответствующей подлежащему управлению ВЧО, по запросу удаления всех ресурсов.deleting the configuration information corresponding to the HMO to be managed upon the deletion request of all resources.

Шлюз системы необязательно выполнен с возможностью:The system gateway is optionally configured to:

приема первого сообщения ВМ, причем первое сообщение содержит метку обособления;receiving a first message VM, and the first message contains the label separation;

нахождения информации о конфигурации, соответствующей метке обособления в первом сообщении, по метке обособления и пересылки первого сообщения соответствующему коммутатору на основе найденной информации о конфигурации;finding configuration information corresponding to the shard mark in the first message from the shard mark, and forwarding the first message to the corresponding switch based on the found configuration information;

шлюз системы также выполнен с возможностью:the system gateway is also configured to:

приема второго сообщения коммутатора, причем второе сообщение содержит метку обособления;receiving a second message of the switch, and the second message contains the mark of separation;

нахождения информации о конфигурации, соответствующей метке обособления во втором сообщении, по метке обособления и пересылки второго сообщения целевой ВМ на основе найденной информации о конфигурации.finding configuration information corresponding to the shard mark in the second message from the shard mark, and forwarding the second message to the target VM based on the found configuration information.

Коммутатор необязательно выполнен с возможностью:The switch is optionally configured to:

приема третьего сообщения ФМ, причем третье сообщение содержит метку обособления;receiving a third PM message, the third message containing a slicing mark;

нахождения информации о конфигурации, соответствующей метке обособления в третьем сообщении, по метке обособления и пересылки третьего сообщения соответствующему шлюзу системы на основе найденной информации о конфигурации;finding configuration information corresponding to the shard mark in the third message from the shard mark, and forwarding the third message to the corresponding system gateway based on the found configuration information;

коммутатор также выполнен с возможностью:the switch is also configured to:

приема четвертого сообщения шлюза системы, причем четвертое сообщение содержит метку обособления;receiving a fourth message of the system gateway, the fourth message containing a slicing mark;

нахождения информации о конфигурации, соответствующей метке обособления в четвертом сообщении, по метке обособления и пересылки четвертого сообщения целевой ФМ на основе найденной информации о конфигурации.finding configuration information corresponding to the shard mark in the fourth message from the shard mark, and forwarding the fourth message to the target PM based on the found configuration information.

Шлюз системы необязательно реализован путем эксплуатации соответствующего программного средства на сервере. The system gateway is optionally implemented by running the appropriate software on the server.

Согласно второму аспекту, в одном из вариантов осуществления изобретения по настоящей заявке также предложен способ конфигурирования системы связи в виртуальном частном облаке, применяемый к контроллеру в системе связи в виртуальном частном облаке, раскрытой в первом аспекте и любом из возможных вариантов его реализации, причем контроллер соединен с возможностью связи со шлюзом системы и коммутатором соответственно, при этом способ включает в себя этапы, на которых:According to a second aspect, in one embodiment of the invention, the present application also provides a method for configuring a virtual private cloud communication system applied to a controller in the virtual private cloud communication system disclosed in the first aspect and any of its possible implementations, wherein the controller is connected with the ability to communicate with the system gateway and the switch, respectively, and the method includes the steps of:

осуществляют конфигурирование информации для шлюза системы и коммутатора соответственно для генерирования информации о конфигурации; иconfiguring information for the system gateway and the switch, respectively, to generate configuration information; and

отправляют информацию о конфигурации соответственно шлюзу системы и коммутатору;sending the configuration information to the system gateway and the switch, respectively;

причем информация о конфигурации содержит метку обособления, соответствующую ВЧО, и пересылочные записи, соответствующие ресурсам, входящим в ВЧО, причем ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ. wherein the configuration information comprises a shard mark corresponding to the HFO and forwarding records corresponding to the resources included in the HFO, the resources including one or more VMs and/or one or more PMs.

На этапе, на котором генерируют информацию о конфигурации, необязательно:At the stage in which the configuration information is generated, it is optional:

генерируют метку обособления, соответствующую каждому виртуальному частному облаку (ВЧО), в зависимости от ВЧО;generating a shard label corresponding to each virtual private cloud (VPC) depending on the VPC;

получают IP-адреса ресурсов, относящихся к одному и тому же виртуальному частному облаку (ВЧО), причем ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ;obtaining IP addresses of resources related to the same virtual private cloud (VCHO), the resources including one or more VMs and/or one or more PMs;

создают пересылочные записи на основе IP-адресов ресурсов; иcreate forwarding records based on resource IP addresses; and

генерируют информацию о конфигурации, относящуюся к ВЧО, на основе пересылочных записей и метки обособления.generating configuration information related to the HFO based on the forwarding records and the shard mark.

На этапе, на котором создают пересылочные записи на основе IP-адресов ресурсов, необязательно:In the step that creates forwarding records based on resource IP addresses, it is optional:

создают пересылочную запись(-и) одной или нескольких ВМ на основе IP-адреса одной или нескольких ВМ, и/илиcreate forwarding record(s) for one or more VMs based on the IP address of one or more VMs, and/or

создают пересылочную запись(-и) одной или нескольких ФМ на основе IP-адреса одной или нескольких ФМ.create forwarding record(s) of one or more FMs based on the IP address of one or more FMs.

Способ необязательно дополнительно включает в себя этапы, на которых:The method optionally further includes the steps of:

осуществляют управление ресурсами в виртуальном частном облаке (ВЧО) на основе информации о конфигурации, причем ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ, при этом управление включает в себя: добавление ресурсов и/или удаление ресурсов.perform resource management in a virtual private cloud (VCHO) based on the configuration information, the resources include one or more VMs and/or one or more PMs, wherein the management includes: adding resources and/or deleting resources.

Способ необязательно дополнительно включает в себя этапы, на которых:The method optionally further includes the steps of:

принимают запрос операции управления ресурсами в ВЧО, причем запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; иreceiving a request for a resource management operation in the HFO, the management operation request containing a shard flag corresponding to the HFO to be managed; and

изменяют информацию о конфигурации, относящуюся к подлежащему управлению ВЧО, в шлюзе системы и коммутаторе согласно метке обособления.changing the configuration information related to the HFO to be managed in the system gateway and the switch according to the sharding mark.

Запрос операции управления включает в себя один или несколько из следующих: запрос добавления ресурса, запрос удаления части ресурсов и запрос удаления всех ресурсов, при этом способ дополнительно включает в себя этапы, на которых: The control operation request includes one or more of the following: a resource addition request, a resource part deletion request, and an all resource deletion request, wherein the method further includes:

добавляют, по запросу добавления ресурса, пересылочную запись, соответствующую IP-адресу ресурса; и/илиadding, upon the resource addition request, a forwarding record corresponding to the resource's IP address; and/or

удаляют, по запросу удаления части ресурсов, пересылочные записи, соответствующие IP-адресам указанной части ресурсов; и/илиdeleting, upon request for deleting the resource portion, forwarding records corresponding to the IP addresses of said resource portion; and/or

удаляют информацию о конфигурации, соответствующую подлежащему управлению ВЧО, по запросу удаления всех ресурсов.deleting the configuration information corresponding to the HMO to be managed upon the deletion request of all resources.

Согласно третьему аспекту, в одном из вариантов осуществления изобретения по настоящей заявке также предложен контроллер, содержащий запоминающее устройство и процессор. Запоминающее устройство содержат программу для ЭВМ, которую может исполнять процессор, при этом процессор исполняет указанную программу для ЭВМ для реализации способа, раскрытого в первом аспекте и любом из возможных вариантов его реализации.According to a third aspect, in one of the embodiments of the invention according to the present application, a controller is also provided, containing a memory device and a processor. The storage device contains a computer program that can be executed by the processor, while the processor executes the specified computer program to implement the method disclosed in the first aspect and any of its possible implementations.

Согласно четвертому аспекту, в одном из вариантов осуществления по настоящей заявке предложен машиночитаемый носитель данных с хранимой в нем программой для ЭВМ, при исполнении которой процессором, процессор реализует раскрытый выше способ.According to a fourth aspect, in one embodiment, the present application provides a computer-readable storage medium with a computer program stored therein, when executed by a processor, the processor implements the method disclosed above.

Согласно пятому аспекту, в одном из вариантов осуществления изобретения по настоящей заявке также предложена прикладная программа, реализующая, при ее исполнении, способ конфигурирования системы связи в виртуальном частном облаке, предложенный согласно второму аспекту варианта осуществления изобретения по настоящей заявке.According to a fifth aspect, in one embodiment of the invention of the present application, an application program is also provided that implements, when executed, a method for configuring a communication system in a virtual private cloud, proposed according to the second aspect of the embodiment of the invention of the present application.

Варианты осуществления изобретения по настоящей заявке обеспечивают следующие полезные эффекты:Embodiments of the invention according to the present application provide the following beneficial effects:

В варианте осуществления изобретения по настоящей заявке система связи в виртуальном частном облаке содержит по меньшей мере одну виртуальную машину (ВМ) и шлюз системы, соединенный с возможностью связи с каждой из ВМ; и по меньшей мере одну физическую машину (ФМ) и коммутатор, соединенный с возможностью связи с каждой из ФМ; причем шлюз системы соединен с возможностью связи с коммутатором; шлюз системы и коммутатор выполнены с возможностью обеспечения связи между ВМ и ФМ, относящимися к одному и тому же виртуальному частному облаку (ВЧО), на основе заранее заданной информации о конфигурации. В данной схеме доступ в сеть из области физической машины, образованной ФМ, происходит через коммутатор, при этом область виртуальной машины, образованная ВМ, соединена с коммутатором, соответствующим области физической машины, через шлюз системы, благодаря чему возникает соединение между ФМ области физической машины и ВМ области виртуальной машины и осуществление связи между ВМ и ФМ. Поэтому соединение связи, создаваемое на основе шлюза по настоящей заявке, не будет ограничено верхним пределом числа идентификаторов ВЛВС, при этом число ВМ и ФМ, выделяемых клиентам, можно увеличивать по мере роста числа клиентов, тем самым формируя крупномасштабную облачную среду и удовлетворяя текущие потребности, связанные с привлечение новых клиентов.In the embodiment of the invention according to the present application, the communication system in a virtual private cloud includes at least one virtual machine (VM) and a system gateway connected with the ability to communicate with each of the VMs; and at least one physical machine (PM) and a switch communicatively connected to each of the PMs; moreover, the system gateway is connected with the possibility of communication with the switch; the system gateway and the switch are configured to enable communication between the VM and the PM belonging to the same virtual private cloud (VPC) based on predetermined configuration information. In this scheme, network access from the physical machine area formed by the FM is through a switch, while the virtual machine area formed by the VM is connected to the switch corresponding to the physical machine area through the system gateway, thereby establishing a connection between the FM of the physical machine area and VM area of the virtual machine and communication between VM and FM. Therefore, the communication connection created based on the gateway of the present application will not be limited by the upper limit of the number of VLAN IDs, and the number of VMs and FMs allocated to clients can be increased as the number of clients grows, thereby forming a large-scale cloud environment and meeting current needs, related to attracting new customers.

Далее будут раскрыты прочие признаки и преимущества изобретения по настоящей заявке, при этом часть из них станет очевидна из этого раскрытия или станет понятна при реализации настоящей заявки. Цель и прочие преимущества изобретения по настоящей заявке реализуются и достигаются за счет конкретных структур, указанных в описании, формуле изобретения и на чертежах.Further, other features and advantages of the invention according to the present application will be disclosed, while some of them will become obvious from this disclosure or become clear when implementing the present application. The purpose and other advantages of the invention according to the present application are realized and achieved through the specific structures indicated in the description, claims and drawings.

Для большей ясности и понятности, вышеуказанные цели, признаки и преимущества изобретения по настоящей заявке детально раскрыты ниже в описании предпочтительных вариантов осуществления и на прилагаемых чертежах.For greater clarity and understanding, the above objects, features and advantages of the invention according to the present application are detailed below in the description of the preferred embodiments and in the accompanying drawings.

Краткое описание чертежейBrief description of the drawings

Ниже кратко описаны чертежи технических решений вариантов осуществления изобретения по настоящей заявке и предшествующего уровня техники, необходимые для создания более ясного представления об этих технических решениях. Разумеется, представленные ниже чертежи относятся только к некоторым вариантам осуществления изобретения по настоящей заявке; специалисты в данной области техники также смогут создать на их основе другие чертежи, не прилагая каких-либо творческих усилий.The following briefly describes the drawings of technical solutions of the embodiments of the invention according to the present application and the prior art, necessary to create a clearer idea of these technical solutions. Of course, the drawings below refer only to some embodiments of the invention according to the present application; those skilled in the art will also be able to create other drawings from them without any creative effort.

ФИГ.1 - схема структуры системы связи в виртуальном частном облаке по одному из вариантов осуществления изобретения по настоящей заявке;FIG. 1 is a diagram of the structure of a communication system in a virtual private cloud according to one of the embodiments of the invention of the present application;

ФИГ.2 - схема структуры другой системы связи в виртуальном частном облаке по одному из вариантов осуществления изобретения по настоящей заявке;FIG. 2 is a diagram of the structure of another communication system in a virtual private cloud according to one of the embodiments of the invention of the present application;

ФИГ.3 - схема соединения связи системы связи в виртуальном частном облаке по одному из вариантов осуществления изобретения по настоящей заявке;FIG. 3 is a diagram of a communication connection of a virtual private cloud communication system according to one embodiment of the invention of the present application;

ФИГ.4 - блок-схема способа конфигурирования системы по одному из вариантов осуществления изобретения по настоящей заявке;FIG. 4 is a block diagram of a method for configuring a system according to one of the embodiments of the invention according to the present application;

ФИГ.5 - схема структуры контроллера по одному из вариантов осуществления изобретения по настоящей заявке.FIG.5 is a diagram of the structure of the controller according to one of the embodiments of the invention according to the present application.

Осуществление изобретенияImplementation of the invention

Для обеспечения большей ясности и понимания целей, технических решений и преимуществ изобретения по настоящей заявке, оно будет подробнее раскрыто ниже на примерах прилагаемых чертежей и вариантов осуществления. Разумеется, раскрыты только некоторые варианты осуществления изобретения по настоящей заявке. Все прочие варианты осуществления изобретения по настоящей заявке, которые будут созданы специалистами в данной области техники на основе раскрытых вариантов без приложения творческих усилий, входят в объем охраны, определенный настоящей заявкой.To provide greater clarity and understanding of the objectives, technical solutions and advantages of the invention of the present application, it will be disclosed in more detail below on the examples of the attached drawings and embodiments. Of course, only some embodiments of the invention according to the present application are disclosed. All other embodiments of the invention of the present application, which will be created by experts in the art on the basis of the disclosed options without the application of creative efforts, are included in the scope of protection defined by this application.

В известных на сегодняшний день решениях, связь и обособление осуществляют посредством ВЛВС. Однако из-за ограничений, обусловленных числом идентификаторов ВЛВС и аппаратной структурой коммутатора, ВМ и ФМ, выделяемые клиентам, не могут образовать крупномасштабную облачную среду и, как следствие, удовлетворить текущие потребности, связанные с привлечение новых клиентов, т.е. с постоянным ростом числа клиентов. С учетом вышесказанного, в одном из вариантов осуществления по настоящей заявке предложена система связи в виртуальном частном облаке, способ конфигурирования системы и контроллер, устанавливающий соединение связи между ВМ и ФМ на основе шлюза. Поскольку в данном случае ВЛВС уже не применяют для обособления локальной вычислительной сети, она не ограничена верхним пределом числа идентификаторов ВЛВС. Число ВМ и ФМ, выделяемых клиентам, можно увеличивать по мере роста числа клиентов, тем самым формируя крупномасштабную облачную среду и удовлетворяя текущие потребности, связанные с привлечение новых клиентов.In the solutions known to date, communication and isolation is carried out via VLAN. However, due to limitations due to the number of VLAN IDs and the hardware structure of the switch, VMs and FMs allocated to customers cannot form a large-scale cloud environment and, as a result, meet the current needs of attracting new customers, i.e. with a constant increase in the number of customers. In view of the foregoing, in one embodiment, the present application provides a virtual private cloud communication system, a method for configuring the system, and a controller that establishes a communication connection between a VM and a PM based on a gateway. Since, in this case, the VLAN is no longer used to isolate the local area network, it is not limited by an upper limit on the number of VLAN identifiers. The number of VMs and FMs allocated to customers can be increased as the number of customers grows, thus creating a large-scale cloud environment and meeting the current needs of attracting new customers.

Для обеспечения понимания настоящей заявки, сначала будет детально раскрыта система связи в виртуальном частном облаке по одному из вариантов осуществления изобретения по настоящей заявке.In order to provide an understanding of the present application, a virtual private cloud communication system according to one of the embodiments of the invention of the present application will first be disclosed in detail.

ФИГ.1 изображает схему структуры системы связи в виртуальном частном облаке по одному из вариантов осуществления изобретения по настоящей заявке. Система связи в виртуальном частном облаке на ФИГ.1 содержит по меньшей мере одну виртуальную машину (ВМ) 10 и шлюз 12 системы, соединенный с возможностью связи с каждой из ВМ; и по меньшей мере одну физическую машину (ФМ) 13 и коммутатор 14, соединенный с возможностью связи с каждой из ФМ. Шлюз системы соединен с возможностью связи с коммутатором. Шлюз системы и коммутатор служат для обеспечения связи между ВМ 10 и ФМ 13, расположенными в одном и том же виртуальном частном облаке (ВЧО), на основе заранее заданной информации о конфигурации. Вышеуказанная ФМ представляет собой физическую машину, не являющуюся центральным компьютером ВМ.FIG. 1 depicts a structure diagram of a communication system in a virtual private cloud according to one of the embodiments of the invention of the present application. The communication system in the virtual private cloud in FIG. 1 comprises at least one virtual machine (VM) 10 and a system gateway 12 communicatively coupled to each of the VMs; and at least one physical machine (PM) 13 and a switch 14 communicatively connected to each of the PMs. The system gateway is communicatively connected to the switch. The system gateway and switch serve to enable communication between the VM 10 and FM 13 located in the same virtual private cloud (VPC) based on predefined configuration information. The above FM is a physical machine that is not the central computer of the VM.

Коммутатор 14 представляет собой трехуровневый коммутатор и выполнен с возможностью дальнейшей передачи данных на основе протокола туннелирования по туннелю. ВМ создана в физической машине в качестве центрального компьютера для реализации технологии виртуализации ресурсов и выполнена с возможностью, помимо прочего, хранения программ обработки данных управления. ФМ (не являющаяся центральным компьютером, где расположена ВМ) выполнена с возможностью, помимо прочего, хранения информации, относящейся к задачам, требующим больших затрат со стороны ГП, например, обработке изображений, звука, видеоданных и т.п. Между областью виртуальной машины, образованной ВМ, и областью физической машины, образованной ФМ, может происходить обмен данными, причем ВМ и ФМ относятся к одному и тому же клиенту. The switch 14 is a three-layer switch and is configured to further transmit data based on the tunneling protocol. The VM is created in the physical machine as a central computer for implementing the resource virtualization technology and is configured to, among other things, store control data processing programs. The FM (other than the central computer where the VM is located) is configured to, among other things, store information related to tasks that are expensive on the part of the GPU, such as processing images, sound, video data, and the like. Between the area of the virtual machine formed by the VM and the area of the physical machine formed by the FM, data can be exchanged, and the VM and FM belong to the same client.

В возможном варианте осуществления вышеуказанный шлюз системы реализован путем эксплуатации соответствующего программного средства на сервере (например, сервере типа X86). Так как система связи в виртуальном частном облаке может иметь тысячи клиентов, шлюз системы может быть реализован на основе кластера серверов типа X86 с образованием кластера шлюзов системы.In a possible embodiment, the above system gateway is implemented by running the appropriate software on a server (eg, an X86 type server). Since a communication system in a virtual private cloud may have thousands of clients, the system gateway can be implemented based on an X86-type server cluster to form a system gateway cluster.

Следует отметить, что число ВМ, число ФМ, число шлюзов системы и число коммутаторов определяют в зависимости от фактических ситуаций, а ФИГ.1 является не более чем примером.It should be noted that the number of VMs, the number of PMs, the number of system gateways, and the number of switches are determined depending on the actual situations, and FIG. 1 is no more than an example.

Доступ в сеть из области физической машины, образованной ФМ, происходит через коммутатор, при этом область виртуальной машины, образованная ВМ, соединена с коммутатором, соответствующим области физической машины, через шлюз системы, благодаря чему возникает соединение между ФМ области физической машины и ВМ области виртуальной машины и осуществление связи между ВМ и ФМ. Поэтому соединение связи, создаваемое на основе шлюза по настоящей заявке, не будет ограничено верхним пределом числа идентификаторов ВЛВС, при этом число ВМ и ФМ, выделяемых клиентам можно увеличивать по мере роста числа клиентов, тем самым формируя крупномасштабную облачную среду и удовлетворяя текущие потребности, связанные с привлечение новых клиентов.The network is accessed from the physical machine area formed by the FM through a switch, and the virtual machine area formed by the VM is connected to the switch corresponding to the physical machine area through the system gateway, thereby establishing a connection between the FM of the physical machine area and the VM of the virtual machine area. machines and communication between VM and FM. Therefore, the communication connection created based on the gateway of the present application will not be limited by the upper limit of the number of VLAN IDs, and the number of VMs and FMs allocated to clients can be increased as the number of clients grows, thereby forming a large-scale cloud environment and meeting the current needs related to with attracting new customers.

Учитывая возможное наложение IP-адресов, сконфигурированных разными клиентами для ресурсов (в том числе - ВМ и/или ФМ) в их ВЧО, информацию о конфигурации хранят в контроллере. Информация о конфигурации содержит метку обособления для обособления ВЧО. Одно ВЧО соответствует одной метке обособления.Given the possible overlap of IP addresses configured by different clients for resources (including VM and/or FM) in their HFO, configuration information is stored in the controller. The configuration information contains a slicing flag for slicing the HFO. One HFO corresponds to one isolation mark.

После приема запроса создания ресурса от клиента, происходит выполнение логической операции и присвоение меток обособления, соответствующих разным ВЧО разных клиентов, для обеспечения возможности различения ВМ и ФМ в разных ВЧО с возможностью обособления разных ВЧО друг от друга и исключения возможности создания ими помех друг для друга. В связи с этим, вышеуказанная информация о конфигурации содержит метку обособления, соответствующую вышеуказанному ВЧО. Кроме того, информация о конфигурации также содержит пересылочную запись для ресурса, входящего в соответствующее ВЧО. Таким образом, шлюз системы и коммутатор могут осуществлять связь между ВМ и ФМ в одном и том же ВЧО на основе пересылочной записи и метки обособления. After receiving a request to create a resource from a client, a logical operation is performed and separation marks corresponding to different HFOs of different clients are assigned to enable the distinction between VM and PM in different HFOs with the possibility of isolating different HFOs from each other and eliminating the possibility of their interference with each other . In this regard, the above configuration information contains a separation mark corresponding to the above HFO. In addition, the configuration information also contains a forwarding entry for the resource included in the corresponding HFO. Thus, the system gateway and the switch can communicate between the VM and the PM in the same HFO based on the forwarding entry and the shard mark.

Например, IP-адреса ВМ-A и ФМ-A клиента A представляют собой 10.0.1.2/24 и 10.0.1.3/24 соответственно, а метка представляет собой 100. IP-адреса ВМ-B и ФМ-B клиента B также представляют собой 10.0.1.2/ 24 и 10.0.1.3/24 соответственно, а метка представляет собой 200. Предположим, что ВМ этих двух клиентов находятся в одном и том же центральном компьютере в области виртуальной машины, а ФМ этих двух клиентов соответственно соединены с одним и тем же коммутатором. Тракт связи между ВМ-A и ФМ-A и тракт связи между ВМ-B и ФМ-B проходит через один и тот же центральный компьютер, через шлюз системы, к одному и тому же коммутатору. В обоих трактах связи, в процессе связи происходит коллективное использование шлюза системы и коммутатора. Если не применить технологию обособления, может возникнуть конфликт на трактах связи во время связи между ВМ и ФМ клиента A и между ВМ и ФМ клиента B, приводящий к нарушению процесса связи.For example, the IP addresses of VM-A and FM-A of client A are 10.0.1.2/24 and 10.0.1.3/24 respectively, and the label is 100. The IP addresses of VM-B and FM-B of client B are also 10.0.1.2/ 24 and 10.0.1.3/24, respectively, and the label is 200. Let's assume that the VMs of these two clients are in the same central computer in the virtual machine area, and the FMs of these two clients are respectively connected to the same topic. same switch. The communication path between VM-A and FM-A and the communication path between VM-B and FM-B passes through the same central computer, through the system gateway, to the same switch. In both communication paths, in the process of communication, the system gateway and the switch are collectively used. If the isolation technology is not applied, a conflict may occur on the communication paths during communication between the VM and FM of client A and between the VM and FM of client B, leading to a violation of the communication process.

Так как клиенты могут задавать IP-адреса для собственных машин, клиент A и клиент B могут задать одинаковые IP-адреса для своих ВМ и ФМ. Чтобы не спутать машину клиента A с машиной клиента B, поставщик услуг должен провести различие между машинами этих двух клиентов. Since clients can set IP addresses for their own machines, client A and client B can set the same IP addresses for their VM and FM. To avoid confusing client A's machine with client B's, the service provider must distinguish between the machines of the two clients.

Указанные задачи решаются тем, что контроллер может присваивать метку обособления ВЧО каждого клиента, а затем контроллер одновременно выдает метку обособления и пересылочные записи для ФМ и ВМ каждому шлюзу системы и коммутатору. Когда ВМ клиента A и клиента B будут впоследствии осуществлять связь с своими ФМ одновременно, контроллер может обособить тракты связи путем включения меток обособления в пересылочные записи.These tasks are solved by the fact that the controller can assign the isolation label of the RFO of each client, and then the controller simultaneously issues the isolation label and forwarding records for the FM and VM to each system gateway and switch. When the VMs of client A and client B subsequently communicate with their FMs at the same time, the controller can partition the communication paths by including partition marks in forwarding records.

В систему связи в виртуальном частном облаке на ФИГ.1 внесено улучшение согласно вышеуказанным вариантам осуществления. Как показано на ФИГ.2, в настоящей заявке также предложена другая система связи в виртуальном частном облаке, содержащая контроллер 20. Контроллер соединен с возможностью связи соответственно со шлюзом системы и коммутатором, осуществляет конфигурирование информации для шлюза системы и коммутатора для генерирования информации о конфигурации и отправляет информацию о конфигурации соответственно шлюзу системы и коммутатору, тем самым облегчая последующую передачу данных.The virtual private cloud communication system of FIG. 1 is improved according to the above embodiments. As shown in FIG. 2, the present application also proposes another virtual private cloud communication system comprising a controller 20. The controller is communicatively connected to the system gateway and the switch, respectively, configures information for the system gateway and the switch to generate configuration information, and sends configuration information to the system gateway and switch respectively, thereby facilitating subsequent data transmission.

В возможном варианте осуществления контроллер соединен с центральным компьютером, в котором расположена ВМ, и с системой внешнего управления, соответствующей ФМ, и осуществляет конфигурирование ресурсов и конфигурирование информации посредством центрального компьютера и системы внешнего управления согласно требованиям клиента, и получает информацию о конфигурации. Система внешнего управления представляет собой систему управления для инициализации ФМ (например, переустановки операционной системы). В частности, процесс происходит следующим образом:In an exemplary embodiment, the controller is connected to the central computer in which the VM is located and to the external management system corresponding to the FM, and performs resource configuration and information configuration through the central computer and the external management system according to the requirements of the client, and obtains configuration information. The external management system is a management system for initializing the FM (for example, reinstalling the operating system). Specifically, the process goes like this:

(a1) Прием запроса создания ресурса от клиента.(a1) Receiving a resource creation request from a client.

Например, клиент может непосредственно вызвать соответствующий интерфейс API (интерфейс прикладного программирования, англ. Application Programming Interface) через клиентский терминал (могущий представлять собой подвижный терминал или компьютер) или вызвать соответствующий интерфейс API путем входа в веб-консоль (от англ. WEB (World Wide Web - «Всемирная паутина») и внести информацию о фактических потребностях, например, требуемом типе планирования ЦП, емкости запоминающего устройства, сетевой плате и т.п., для генерирования запроса создания ресурса и отправки его контроллеру.For example, the client can directly call the corresponding API (Application Programming Interface) through the client terminal (which can be a mobile terminal or computer) or call the corresponding API by logging into the web console (from the English WEB (World Wide Web - "World Wide Web") and enter information about the actual needs, such as the required type of CPU scheduling, storage capacity, network card, etc., to generate a resource creation request and send it to the controller.

(a2) Выделение ресурсов клиенту согласно запросу создания ресурса, причем ресурсы образуют ВЧО клиента.(a2) Allocating resources to the client according to a resource creation request, the resources forming the client's HSP.

Ресурсы ВЧО включают в себя ВМ и/или ФМ, то есть ВМ и/или ФМ образуют ВЧО клиента.The HFO resources include the VM and/or the FM, that is, the VM and/or the FM form the client's HFO.

После приема запроса создания ресурса, контроллер выполняет логическую операцию для определения необходимых ресурсов и выделяет доступные ресурсы в пуле ресурсов (центральные компьютеры и ФМ) посредством блока управления центрального компьютера и системы внешнего управления. Если контроллер определит наличие ресурсов, соответствующих потребностям, то контроллер выполняет операцию конфигурирования для выделения соответствующего числа ВМ и/или ФМ. ВМ и/или ФМ образуют ВЧО, относящееся к клиенту. Если ресурсы, соответствующие потребностям, отсутствуют, в ответ на запрос контроллер направляет пользователю информацию, например, «недостаточно ресурсов».Upon receiving the resource creation request, the controller performs a logic operation to determine the required resources and allocates the available resources in the resource pool (hosts and PMs) through the host control unit and the external control system. If the controller determines the availability of resources corresponding to the needs, then the controller performs a configuration operation to allocate the appropriate number of VMs and/or FMs. VM and/or FM form an HMO related to the client. If there are no resources that meet the needs, the controller sends information to the user in response to the request, for example, "insufficient resources".

Например, после приема запроса создания ресурса от клиента, контроллер может выбрать, в зависимости от типа планирования ЦП, емкости запоминающего устройства и скорости передачи сетевой платы, входящих в запрос создания ресурса, ФМ, соответствующую запросу, из пула ресурсов в качестве целевого центрального компьютера. Это и есть тот логический вычислительный процесс, речь о котором шла выше. Далее контроллер может создать ВМ в целевом центральном компьютере. В варианте осуществления настоящего изобретения пул ресурсов включает в себя множество типов ФМ. Некоторые ФМ могут служить центральными компьютерами, а некоторые ФМ могут служить для обработки изображений, звука и видеоданных. Эти ФМ могут включать в себя ГП, поэтому, при наличии у клиента потребности в применении ГП, например, потребности в выполнении обработки изображений, звука и видеоданных, эти ГП могут быть непосредственно выделены клиенту в качестве ФМ. То есть ФМ, содержащие только ГП, могут быть приняты в качестве одного из типов ФМ. Блок управления в центральном компьютере означает блок для управления конфигурационными параметрами ВМ в ФМ в качестве центрального компьютера. Система внешнего управления - это система управления для инициализации ФМ (например, переустановки операционной системы). Система внешнего управления может работать независимо от сети на ФИГ.2 и может взаимодействовать с контроллером. Следует понимать, что, поскольку блок управления управляет ВМ в центральном компьютере, а система внешнего управления управляет ФМ, контроллер может выбирать ФМ, соответствующую потребности клиента, из пула ресурсов в качестве центрального компьютера путем взаимодействия с блоком управления и системой внешнего управления.For example, upon receiving a resource creation request from a client, the controller may select, depending on the CPU scheduling type, storage capacity, and NIC transmission rate included in the resource creation request, an FM corresponding to the request from the resource pool as the target host computer. This is the logical computational process discussed above. Next, the controller can create a VM on the target central computer. In an embodiment of the present invention, the resource pool includes a plurality of PM types. Some FMs can serve as central computers, and some FMs can serve to process images, sound and video data. These PSAs may include GPUs, so if a client has a need to use a GPU, such as a need to perform image, audio, and video processing, these GPUs can be directly allocated to the client as PSAs. That is, FM containing only HP can be accepted as one of the types of FM. The control unit in the central computer means the unit for managing the configuration parameters of the VM in the FM as the central computer. An external management system is a management system for initializing the FM (for example, reinstalling the operating system). The external control system may operate independently of the network in FIG. 2 and may interact with the controller. It should be understood that since the control unit controls the VM in the central computer and the external control system manages the FM, the controller can select the FM corresponding to the need of the client from the resource pool as the central computer by interacting with the control unit and the external control system.

(a3) Генерирование метки обособления, соответствующей каждому виртуальному частному облаку ВЧО, в зависимости от ВЧО.(a3) Generating a sharding label corresponding to each VSP, depending on the VSP.

Метка обособления может состоять из чисел, букв и/или специальных символов и т.п.The isolation mark may consist of numbers, letters and/or special characters, and the like.

(a4) Получение IP-адресов ресурсов, относящихся к одному и тому же виртуальному частному облаку ВЧО.(a4) Obtaining the IP addresses of resources belonging to the same VPN VPN.

Ресурсы включают в себя ВМ и/или ФМ. В число IP-адресов входят IP-адреса ВМ и IP-адреса ФМ. То есть получаемые IP-адреса представляют собой IP-адреса ВМ и/или ФМ, относящихся к одному и тому же ВЧО.Resources include VM and/or FM. IP addresses include VM IP addresses and FM IP addresses. That is, the received IP addresses are the IP addresses of the VM and/or FM related to the same HFO.

В частности, в процессе конфигурирования клиентского терминала, сетевой сегмент, где расположены ФМ и ВМ, может быть настроен с учетом потребностей пользователя. Например, конфигурируют IP-адрес на ВМ и ФМ в ВЧО путем вызова соответствующего интерфейса API и отправляют контроллеру соответствующую информацию об IP-адресе.In particular, in the process of configuring the client terminal, the network segment where the FM and VM are located can be configured according to the needs of the user. For example, configure the IP address on the VM and the FM in the HFO by calling the corresponding API and send the corresponding information about the IP address to the controller.

Если ВМ соединена с возможностью связи со шлюзом системы, ВМ может автоматически получать соответствующий ей IP-адрес. Если ФМ осуществляет связь со шлюзом системы через коммутатор, ФМ также может автоматически получать соответствующий ей IP-адрес. В частности, конфигурирование IP-адреса, речь о котором шла выше, может быть реализовано сервером DHCP (протокола динамической настройки узла, англ. Dynamic Host Configuration Protocol) в шлюзе системы. Когда ВМ и ФМ находятся во включенном состоянии, ВМ и ФМ, в качестве клиентов сервера DHCP, взаимодействуют с сервером DHCP с возможностью получения соответствующих им IP-адресов.If the VM is connected with the ability to communicate with the system gateway, the VM can automatically obtain its corresponding IP address. If the FM communicates with the system gateway through the switch, the FM can also automatically obtain its corresponding IP address. In particular, the configuration of the IP address discussed above can be implemented by a DHCP (Dynamic Host Configuration Protocol) server in the system gateway. When the VM and FM are powered on, the VM and FM, as clients of the DHCP server, communicate with the DHCP server to obtain their corresponding IP addresses.

(a5) Создание пересылочных записей на основе IP-адресов ресурсов.(a5) Create forwarding records based on resource IP addresses.

Процесс создания пересылочных записей включает в себя: создание пересылочной записи ВМ на основе IP-адреса ВМ и/или создание пересылочной записи ФМ на основе IP-адреса ФМ.The process of creating forwarding entries includes: creating a VM forwarding entry based on the VM IP address and/or creating an FM forwarding entry based on the FM IP address.

Таким образом, вышеуказанный процесс позволяет создавать соответствующие пересылочные записи, после чего можно осуществлять непосредственную передачу данных согласно пересылочным записям.Thus, the above process allows the corresponding transfer records to be created, after which data can be directly transferred according to the transfer records.

Пересылочная запись ФМ включает в себя IP-адрес отправителя физической машины-отправителя и IP-адрес получателя физической машины-получателя, при этом пересылочная запись ВМ включает в себя IP-адрес отправителя виртуальной машины-отправителя и IP-адрес получателя виртуальной машины-получателя.The FM forwarding entry includes the source IP address of the sending physical machine and the destination IP address of the destination physical machine, while the VM forwarding entry includes the source IP address of the sending virtual machine and the destination IP address of the destination virtual machine.

(a6) Генерирование информации о конфигурации, соответствующей ВЧО, на основе пересылочных записей и метки обособления.(a6) Generating configuration information corresponding to the HFO based on the forwarding records and the pegging mark.

После получения метки обособления ВЧО клиента и пересылочной записи ВМ и/или пересылочной записи ФМ в ВЧО, генерируют информацию о конфигурации (информация о конфигурации содержит информацию пересылочной записи ВМ и/или пересылочной записи ФМ и метки обособления). Сгенерировав информацию о конфигурации, контроллер отправляет информацию о конфигурации в шлюз системы и коммутатор для применения при передаче данных (т.е. пересылки передаваемого блока данных). Upon receipt of the customer's RFO partition mark and the VM forwarding entry and/or PM forwarding entry in the RFO, configuration information is generated (configuration information contains information of the VM forwarding entry and/or PM forwarding record and the partition mark). After generating the configuration information, the controller sends the configuration information to the system gateway and the switch for use in data transmission (ie, forwarding of the transmitted data unit).

Для удовлетворения многообразных потребностей клиентов, упрощения контроля ВЧО и управления им клиентами, а также улучшения их навыков, в возможном варианте осуществления контроллер также выполнен с возможностью управления ресурсами в виртуальном частном облаке ВЧО на основе информации о конфигурации. Указанное управление ресурсами включает в себя добавление ресурсов и/или удаление ресурсов. Таким образом, клиенты могут добавлять ВМ или ФМ в ВЧО или удалять ВМ и ФМ из него посредством контроллера.In order to meet the diverse needs of customers, simplify the control and management of the HPC, and improve their skills, in an exemplary embodiment, the controller is also configured to manage resources in the VPN virtual private cloud based on configuration information. Said resource management includes adding resources and/or removing resources. Thus, clients can add VMs or PMs to or remove VMs and PMs from the HFO via the controller.

В частности, в данном процессе реализации контроллер также выполнен с возможностью: (1) приема запроса операции управления ресурсами в ВЧО; причем запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; (2) изменения, согласно метке обособления, информации о конфигурации, соответствующей подлежащему управлению ВЧО в шлюзе системы и коммутаторе.In particular, in this implementation process, the controller is also configured to: (1) receive a resource management operation request in the HFO; moreover, the control operation request contains the label of the separation corresponding to the subject of the management of the FSO; (2) changes, according to the partition mark, configuration information corresponding to the RFO to be managed in the system gateway and the switch.

Ресурсами в ВЧО можно управлять путем изменения информации о конфигурации. Например, для расширения ресурсов ВЧО, информацию о конфигурации, соответствующую расширенным ресурсам, можно добавить в шлюз системы и коммутатор для осуществления связи между расширенными ВМ и ФМ.Resources in an HFO can be managed by changing the configuration information. For example, in order to extend the RFO resources, the configuration information corresponding to the extended resources can be added to the system gateway and the switch for communication between the extended VMs and PMs.

В возможном варианте осуществления запрос операции управления может, помимо прочего, включать в себя запрос добавления ресурса, запрос удаления части ресурсов и запрос удаления всех ресурсов. Контроллер также выполнен с возможностью добавления пересылочной записи, соответствующей IP-адресу ресурса, по запросу добавления ресурса; и/или удаления пересылочных записей, соответствующих IP-адресам части ресурсов, по запросу удаления части ресурсов; и/или удаления информации о конфигурации, соответствующей подлежащему управлению ВЧО, по запросу удаления всех ресурсов.In an exemplary embodiment, the control operation request may include, among other things, a request to add a resource, a request to remove a portion of resources, and a request to remove all resources. The controller is also configured to add a forwarding entry corresponding to the IP address of the resource upon request to add the resource; and/or deleting forwarding records corresponding to the IP addresses of the resource portion upon requesting the deletion of the resource portion; and/or deleting the configuration information corresponding to the HMO to be managed upon the deletion of all resources request.

Например, процесс обработки контроллером запроса добавления ресурса включает в себя:For example, the process for a controller to process a request to add a resource includes:

(b1) Прием запроса добавления ресурса, отправленного клиентом, в отношении ресурсов в ВЧО.(b1) Receiving an add resource request sent by a client with respect to resources in the HFO.

Запрос добавления ресурса содержит метку обособления, соответствующую предназначенному для добавления ВЧО.The add resource request contains a checkout flag corresponding to the TSO to be added.

Например, клиент может, через клиентский терминал (могущий представлять собой подвижный терминал или компьютер), вызвать соответствующий интерфейс API непосредственно или вызвать соответствующий интерфейс API путем входа в веб-консоль для выбора ВМ или ФМ и добавления ее в ВЧО.For example, the client may, through the client terminal (which may be a mobile terminal or computer), call the appropriate API directly, or call the appropriate API by logging into the web console to select a VM or FM and add it to the HFO.

(b2) Добавление пересылочной записи, соответствующей IP-адресу ресурса, по запросу добавления ресурса.(b2) Adding a forwarding entry corresponding to the IP address of the resource upon the add resource request.

После добавления ресурсов (ВМ и/или ФМ) в предназначенное для добавления ВЧО, создают пересылочные записи для соответствующих ВМ и/или ФМ и добавляют пересылочные записи в информацию о конфигурации предназначенного для добавления ВЧО.After adding resources (VM and/or FM) to the HFO to be added, transfer records are created for the corresponding VM and/or FM, and forwarding records are added to the configuration information of the HFO to be added.

(b3) Отправка обновленной информации о конфигурации в шлюз системы и коммутатор.(b3) Send updated configuration information to the system gateway and switch.

В частности, информацию о конфигурации можно сгенерировать, как раскрыто выше на этапах (a1) - (a6).In particular, the configuration information may be generated as disclosed in steps (a1) to (a6) above.

Процесс обработки контроллером запроса удаления части ресурсов включает в себя этапы, на которых:The process of processing by the controller of a request to delete a part of the resources includes the steps in which:

на раскрытых выше этапах (b1) и (b3): удаляют пересылочные записи, соответствующие подлежащим добавлению ресурсам в ВЧО, из существующей информации о конфигурации, а затем отправляют обновленную информацию о конфигурации в шлюз системы и коммутатор.in steps (b1) and (b3) disclosed above: deleting the forwarding records corresponding to the resources to be added to the HFO from the existing configuration information, and then sending the updated configuration information to the system gateway and the switch.

В случае запроса удаления всех ресурсов, контроллер может непосредственно управлять шлюзом системы и коммутатором для удаления информации о конфигурации подлежащего управлению ВЧО, в данном случае - по метке обособления в запросе удаления всех ресурсов.In the case of a request to remove all resources, the controller can directly control the system gateway and the switch to remove the configuration information of the RFO to be controlled, in this case, by the sharding flag in the request to remove all resources.

В возможном варианте осуществления, приняв запрос удаления всех ресурсов или запрос удаления части ресурсов, контроллер изменяет состояние ВМ и ФМ со сконфигурированного на не-сконфигурированное посредством центрального компьютера, соответствующего ВМ, и системы внешнего управления, соответствующей ФМ, для обеспечения возможности выполнения следующих этапов.In an exemplary embodiment, upon receiving the deletion request for all resources or the deletion request for part of the resources, the controller changes the state of the VM and FM from configured to non-configured by the central computer corresponding to the VM and the external control system corresponding to the FM to enable the following steps to be performed.

Таким образом, метка обособления позволяет обособлять ВЧО разных клиентов так, чтобы они не создавали помех друг для друга, тем самым создавая функциональную возможность защиты в соответствии с методикой безопасности для каждого ВЧО; при этом, в ходе операций удаления и добавления можно обновлять только информацию о конфигурации ВЧО, относящегося к клиенту, не оказывая влияния на информацию о конфигурации прочих клиентов, что повышает гибкость добавления и удаления ВМ и ФМ в ВЧО клиентами.Thus, the separation mark allows the RFO of different clients to be separated so that they do not interfere with each other, thereby creating a security functionality in accordance with the security technique for each RFO; however, during the delete and add operations, it is possible to update only the configuration information of the HFO related to the client without affecting the configuration information of other clients, which increases the flexibility of adding and deleting VMs and PMs to the HFO by clients.

В частных случаях реализации, функция шлюза системы при передаче данных между ВМ и ФМ состоит по существу в следующем.In particular cases of implementation, the function of the system gateway when transferring data between the VM and FM is essentially as follows.

При передаче в направлении от ВМ к ФМ, шлюз системы выполнен с возможностью: приема первого сообщения ВМ, содержащего метку обособления; нахождения информации о конфигурации, соответствующей метке обособления, по метке обособления в первом сообщении; и пересылки первого сообщения соответствующему коммутатору на основе найденной информации о конфигурации.When transmitting in the direction from VM to FM, the system gateway is configured to: receive the first VM message containing the separation mark; finding configuration information corresponding to the shard mark from the shard mark in the first message; and forwarding the first message to the appropriate switch based on the found configuration information.

При передаче в направлении от ФМ к ВМ, шлюз системы также выполнен с возможностью: приема второго сообщения коммутатора, содержащего метку обособления; нахождения информации о конфигурации, соответствующей метке обособления, по метке обособления во втором сообщении; и пересылки второго сообщения целевой ВМ на основе найденной информации о конфигурации.When transmitting in the direction from PM to VM, the system gateway is also configured to: receive a second message of the switch containing the isolation mark; finding configuration information corresponding to the shard mark from the shard mark in the second message; and forwarding a second message to the target VM based on the found configuration information.

Функция коммутатора состоит в следующем.The function of the switch is as follows.

При передаче в направлении от ФМ к ВМ, коммутатор выполнен с возможностью: приема третьего сообщения ФМ, содержащего метку обособления; нахождения информации о конфигурации, соответствующей метке обособления, по метке обособления в третьем сообщении; и пересылки третьего сообщения соответствующему шлюзу системы на основе найденной информации о конфигурации.When transmitting in the direction from PM to VM, the switch is configured to: receive a third PM message containing a separation mark; finding configuration information corresponding to the shard mark from the shard mark in the third message; and forwarding the third message to the corresponding system gateway based on the found configuration information.

При передаче в направлении от ВМ к ФМ, коммутатор также выполнен с возможностью: приема четвертого сообщения шлюза системы, содержащего метку обособления; нахождения информации о конфигурации, соответствующей метке обособления, по метке обособления в четвертом сообщении; и пересылки четвертого сообщения целевой ФМ на основе найденной информации о конфигурации.When transmitting in the direction from VM to FM, the switch is also configured to: receive the fourth message of the system gateway containing the separation mark; finding configuration information corresponding to the shard mark from the shard mark in the fourth message; and forwarding the fourth message to the target PM based on the found configuration information.

Для облегчения получения соответствующих данных из сети общего пользования, в другом варианте осуществления система связи в виртуальном частном облаке также может быть соединена с сетью общего пользования, например, с сетью Интернет. В возможном варианте осуществления на ФИГ.3 ВМ в системе виртуального частного облака соединены с сетью общего пользования через сетевой шлюз 30. ФМ в системе виртуального частного облака соединены с сетью общего пользования через соответствующий коммутатор, шлюз системы и, в свою очередь, сетевой шлюз 30.In order to facilitate the acquisition of relevant data from the public network, in another embodiment, the communication system in the virtual private cloud may also be connected to a public network, such as the Internet. In the exemplary embodiment of FIG. 3, the VMs in the virtual private cloud system are connected to the public network through a network gateway 30. The PMs in the virtual private cloud system are connected to the public network through an appropriate switch, the system gateway, and in turn, the network gateway 30 .

В приведенном выше описании системы речь идет, в основном, о двух частях: реализации шлюза системы, его конфигурировании и управлении им и об управлении конфигурированием коммутатора ФМ. При этом, в системе связи в виртуальном частном облаке по настоящей заявке связь между физическими машинами и связь между ФМ и другими сетевыми элементами (в том числе - с ВМ и сетью Интернет) также играет важную роль в процессе пересылки по сети. С ростом масштаба облачной среды, нагрузка между устройствами связи будет линейно возрастать. Коммутатор представляет собой устройство, работающее со скоростью, соответствующей среде передачи данных, при этом его нагрузку учитывают в основном при конфигурировании и управлении в крупномасштабной облачной среде. Шлюз системы представляет собой шлюз, реализованный путем эксплуатации программного средства на сервере типа X86, при этом его эксплуатационные характеристики ниже, чем у коммутатора. Нагрузку шлюза системы учитывают в основном при пересылке по сети.The above description of the system is mainly about two parts: the implementation of the system gateway, its configuration and management, and the management of the configuration of the FM switch. At the same time, in the virtual private cloud communication system of the present application, communication between physical machines and communication between FM and other network elements (including VM and the Internet) also plays an important role in the network forwarding process. With the growth of the scale of the cloud environment, the load between communication devices will increase linearly. The switch is a device that operates at a speed corresponding to the data transmission medium, while its load is mainly taken into account when configuring and managing in a large-scale cloud environment. The system gateway is a gateway implemented by running software on an X86 type server, and its performance is lower than that of a switch. The load of the system gateway is taken into account mainly when forwarding over the network.

В том, что касается управления коммутатором и его конфигурирования, если физические машины образуют область физической машины в сверхкрупномасштабной облачной среде, происходит многократное увеличение числа пересылочных записей в коммутаторе. Кроме того, из опыта предотвращения лавинной рассылки между устройствами известно, что будет возникать «лавина» широковещательных пакетов в области физической машины с соответствующим расходом трафика. В этом случае, если коммутатор выполнен с возможностью пересылки только на двух уровнях, т.е. он представляет собой двухуровневое пересылочное устройство, то для обеспечения возможности связи на трех уровнях между ФМ, функции шлюзов, необходимых для всех ФМ, будет осуществлять шлюз системы, т.е. связь должна происходить через шлюз системы, что создает высокую нагрузку на шлюз системы. С учетом этого, коммутаторы в системе связи в виртуальном частном облаке представляют собой трехуровневые коммутаторы с возможностью работы по протоколу туннелирования и трехуровневой пересылки, при этом пересылочные записи синхронизируют между коммутаторами с применением технологии EVPN (англ. Ethernet Virtual Private Network - виртуальной частной сети Ethernet) для переноса функций шлюзов, необходимых ФМ, со шлюза системы на указанные коммутаторы. Далее связь между ФМ может происходить непосредственно через коммутатор.In terms of switch management and configuration, if physical machines form a physical machine area in a super-large cloud environment, the number of forwarding entries in the switch multiplies. In addition, it is known from the experience of preventing flooding between devices that there will be a flood of broadcast packets in the area of the physical machine with a corresponding traffic flow. In this case, if the switch is configured to forward only two layers, i.e. Since it is a two-level forwarding device, then in order to enable communication at three levels between FMs, the functions of the gateways required for all FMs will be performed by the system gateway, i.e. communication must take place through the system gateway, which creates a high load on the system gateway. With this in mind, the switches in the communication system in a virtual private cloud are three-layer switches with the ability to work using the tunneling protocol and three-level forwarding, while the forwarding records are synchronized between the switches using EVPN technology (Ethernet Virtual Private Network - Ethernet virtual private network) to transfer the functions of the gateways required by the FM from the system gateway to the specified switches. Further, communication between FM can occur directly through the switch.

Что касается эксплуатационных характеристик шлюза системы в части пересылки, то она полностью зависит от реализации архитектуры программных средств. Из-за объемного и громоздкого стека сетевых протоколов семейства операционных систем «Linux», пересылка в ядре «Linux» не удовлетворительна с точки зрения обработки пересылки по сети. Технология DPDK (англ. Data Plane Development Kit - комплект разработки плоскости данных) позволяет реализовать логические схемы пересылки по сети в пространстве клиента в системе «Linux» и позволяет программе пересылки шлюза системы непосредственно задействовать сетевую плату путем обхода стека сетевых протоколов «Linux» для получения и оправки передаваемых блоков данных, что может значительно улучшить показатели обработки данных и пропускную способность. Поэтому далее - в процессе пересылки сообщений - можно применять технологию DPDK.As for the performance of the system gateway in terms of forwarding, it is entirely dependent on the implementation of the software architecture. Due to the large and cumbersome network protocol stack of the Linux family of operating systems, forwarding in the Linux kernel is not satisfactory in terms of network forwarding processing. The Data Plane Development Kit (DPDK) technology allows the implementation of network forwarding logic in client space in a Linux system and allows the system gateway forwarder to directly use the NIC by bypassing the Linux network protocol stack to obtain and mandrels of transmitted data units, which can significantly improve data processing performance and throughput. Therefore, further - in the process of sending messages - you can use the DPDK technology.

Система виртуального частного облака по настоящей заявке создает соединение связи между областью физической машины, областью виртуальной машины и сетью общего пользования (например, Интернет) с возможностью образования ресурсами в области виртуальной машины и области физической машины крупномасштабного ВЧО, не ограничиваясь верхним пределом числа идентификаторов ВЛВС. Одновременно она может создать функциональную возможность защиты ВЧО в соответствии с методикой безопасности, благодаря которой клиент может гибко выделять ресурсы виртуальной машины и физической машины в зависимости от его деловых потребностей.The virtual private cloud system of the present application creates a communication connection between a physical machine area, a virtual machine area, and a public network (for example, the Internet) with the possibility of forming resources in the virtual machine area and the physical machine area of a large-scale VFO, not limited by the upper limit of the number of VLAN identifiers. At the same time, it can create an RFP protection functionality in accordance with the security methodology, which allows the client to flexibly allocate virtual machine and physical machine resources depending on its business needs.

На основе раскрытых выше вариантов осуществления системы, в настоящей заявке также предложен вариант осуществления способа конфигурирования системы связи в виртуальном частном облаке. Способ применяют к контроллеру в раскрытых выше вариантах осуществления системы. Способ конфигурирования системы связи в виртуальном частном облаке на ФИГ.4 включает в себя этапы, на которых:Based on the system embodiments disclosed above, the present application also proposes an embodiment of a method for configuring a communication system in a virtual private cloud. The method is applied to the controller in the system embodiments disclosed above. The method for configuring a communication system in a virtual private cloud in FIG. 4 includes the steps of:

S401: осуществляют конфигурирование информации для шлюза системы и коммутатора соответственно для генерирования информации о конфигурации; иS401: configuring information for a system gateway and a switch, respectively, to generate configuration information; and

S402: отправляют информацию о конфигурации шлюзу системы и коммутатору соответственно,S402: send configuration information to the system gateway and switch, respectively,

причем информация о конфигурации содержит метку обособления, соответствующую ВЧО, и пересылочные записи, соответствующие ресурсам, входящим в ВЧО; ресурсы включают в себя: ВМ и/или ФМ.moreover, the configuration information contains the label of the separation corresponding to the FSO, and forwarding records corresponding to the resources included in the FSO; resources include: VM and/or FM.

На этапе 402, на котором генерируют информацию о конфигурации: генерируют метку обособления, соответствующую каждому виртуальному частному облаку (ВЧО), в зависимости от ВЧО; получают IP-адреса ресурсов, относящихся к одному и тому же виртуальному частному облаку (ВЧО); создают пересылочные записи на основе IP-адресов ресурсов; и генерируют информацию о конфигурации, соответствующую ВЧО, согласно пересылочным записям и метке обособления.In step 402, in which the configuration information is generated: a sharding label corresponding to each virtual private cloud (VPC) is generated depending on the VPC; obtain IP addresses of resources related to the same virtual private cloud (VPC); create forwarding records based on resource IP addresses; and generating configuration information corresponding to the HFR according to the forwarding records and the shard mark.

На этапе, на котором создают пересылочные записи на основе IP-адресов ресурсов: создают пересылочную запись ВМ на основе IP-адреса ВМ и/или создают пересылочную запись ФМ на основе IP-адреса ФМ.At the stage at which forwarding records are created based on resource IP addresses: a VM forwarding record is created based on the VM IP address and/or a FM forwarding record is created based on the FM IP address.

Кроме того, раскрытый выше способ дополнительно включает этап, на котором: осуществляют управление ресурсами в виртуальном частном облаке (ВЧО) на основе информации о конфигурации; управление ресурсами включает в себя: добавление ресурсов и/или удаление ресурсов.In addition, the method disclosed above further includes the step of: performing resource management in a virtual private cloud (VPC) based on the configuration information; resource management includes: adding resources and/or removing resources.

Кроме того, раскрытый выше способ дополнительно включает этап, на котором: принимают запрос операции управления ресурсами в ВЧО, причем запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; и изменяют, согласно метке обособления, информацию о конфигурации, соответствующую подлежащему управлению ВЧО в шлюзе системы и коммутаторе.In addition, the method disclosed above further includes the step of: receiving a request for a resource management operation in the HPF, wherein the control operation request contains a shard flag corresponding to the RFO to be managed; and changing, according to the partition mark, the configuration information corresponding to the HFO to be managed in the system gateway and the switch.

Кроме того, запрос операции управления включает в себя один или несколько из следующих: запрос добавления ресурса, запрос удаления части ресурсов и запрос удаления всех ресурсов. Раскрытый выше способ дополнительно включает этапы, на которых: добавляют пересылочную запись, соответствующую IP-адресу ресурса по запросу добавления ресурса; и/или удаляют, по запросу удаления части ресурсов, пересылочные записи, соответствующие IP-адресам части ресурсов; и/или удаляют информацию о конфигурации, соответствующую подлежащему управлению ВЧО, по запросу удаления всех ресурсов.In addition, the control operation request includes one or more of the following: a resource addition request, a resource part deletion request, and an all resource deletion request. The method disclosed above further includes the steps of: adding a forwarding entry corresponding to the IP address of the resource upon the request to add the resource; and/or delete, upon request to remove the resource portion, forwarding records corresponding to the IP addresses of the resource portion; and/or deleting the configuration information corresponding to the HMO to be managed upon the deletion request of all resources.

Кроме того, согласно описанию управления коммутатором и его конфигурирования в раскрытом выше варианте осуществления, коммутатор системы связи в виртуальном частном облаке представляет собой трехуровневый коммутатор и выполнен с возможностью работы по протоколу туннелирования. Способ дополнительно включает этап, на котором: синхронизируют пересылочные записи между коммутаторами для ФМ по технологии EVPN для переноса функций шлюза, необходимого ФМ, со шлюза системы на коммутатор. После этого связь для пересылки между ФМ можно осуществлять непосредственно через коммутатор, тем самым эффективно снижая нагрузку, связанную с пересылкой, на шлюз системы.In addition, as described for managing and configuring the switch in the above-described embodiment, the switch of the communication system in the virtual private cloud is a three-layer switch and is configured to operate on a tunneling protocol. The method further includes the step of: synchronizing forwarding records between switches for FM using EVPN technology to transfer the functions of the gateway required by FM from the system gateway to the switch. Thereafter, communication for forwarding between FMs can be performed directly through the switch, thereby effectively reducing the forwarding burden on the system gateway.

В одном из вариантов осуществления изобретения по настоящей заявке ФИГ.5 также предложен контроллер 100, содержащий: процессор 40, запоминающее устройство 41, шину 42 и интерфейс 43 связи. Процессор 40, интерфейс 43 связи и запоминающее устройство 41 соединены посредством шины 42. Процессор 40 выполнен с возможностью исполнения исполнимых модулей, содержащихся в запоминающем устройстве 41, например, компьютерной программы.In one of the embodiments of the invention according to the present application FIG.5 also proposed a controller 100, containing: a processor 40, a storage device 41, a bus 42 and a communication interface 43. The processor 40, the communication interface 43, and the storage device 41 are connected via a bus 42. The processor 40 is configured to execute executable modules contained in the storage device 41, such as a computer program.

Запоминающее устройство 41 может включать в себя оперативное запоминающее устройство (ОЗУ, англ. random access memory (RAM)) или также включать в себя энергонезависимое запоминающее устройство (ЭНЗУ, англ. non-volatile memory (NVM)), например, по меньшей мере одно дисковое запоминающее устройство. Соединение связи между сетевыми элементами системы и по меньшей мере одним из иных сетевых элементов реализовано через по меньшей мере один интерфейс 43 связи (может быть проводным или беспроводным), например, в сети Интернет, глобальной вычислительной сети, локальной сети, общегородской вычислительной сети и т.п.The storage device 41 may include random access memory (RAM) or also include non-volatile memory (ENZU, non-volatile memory (NVM)), for example, at least one disk storage device. The communication connection between the network elements of the system and at least one of the other network elements is implemented through at least one communication interface 43 (may be wired or wireless), for example, in the Internet, wide area network, local area network, citywide area network, etc. .P.

Шина 42 может представлять собой шину по промышленному стандарту архитектуры (англ. Industrial Standard Architecture (ISA)), шину соединения периферийных компонентов (англ. Peripheral Component Interconnect (PCI)), шину по расширенному промышленному стандарту архитектуры (англ. Extended Industrial Standard Architecture (EISA)) или нечто подобное. Шина может включать в себя адресную шину, шину данных, шину управления или нечто подобное. На ФИГ.5 шина обозначена единственной двусторонней стрелкой, что не означает наличия только одной шины или шины одного типа.The bus 42 may be an Industrial Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industrial Standard Architecture bus. EISA)) or something similar. The bus may include an address bus, a data bus, a control bus, or the like. In FIG. 5, the tire is indicated by a single double-sided arrow, which does not mean that there is only one tire or one type of tire.

Запоминающее устройство 41 служит для хранения программы. Процессор 40 исполняет программу после приема инструкции об исполнении. Способ, исполняемый устройством, раскрытым в последовательности, раскрытой в любом из раскрытых выше вариантов осуществления изобретения по настоящей заявке, может быть применен в процессоре 40 или быть реализован процессором 40.The storage device 41 serves to store the program. The processor 40 executes the program upon receiving the execution instruction. The method executed by the device disclosed in the sequence disclosed in any of the embodiments disclosed above of the present application may be applied to the processor 40 or be implemented by the processor 40.

Процессор 40 может представлять собой кристалл интегральной схемы с функцией обработки сигналов. В процессе реализации, каждый этап раскрытого выше способа может выполнять логическая интегральная схема, реализованная аппаратно или программно в виде инструкций в процессоре 40. Процессор 40 может представлять собой универсальный процессор, в том числе - центральный процессор (ЦП планирования), сетевой процессор (СП, англ. network processor (NP)) или нечто подобное. Он также может представлять собой процессор цифровой обработки сигналов (ПЦОС, англ. digital signal processor (DSP)), специализированную интегральную схему (СИС, англ. application specific integrated circuit (ASIC)), программируемую пользователем вентильную матрицу (ППВМ, англ. field-programmable gate array (FPGA)) или иные программируемые логические устройства, логические элементы на дискретных компонентах или транзисторные логические устройства, дискретные аппаратные компоненты. Способы, этапы или логические блоки, раскрытые в вариантах осуществления изобретения по настоящей заявке, можно реализовывать или исполнять. Универсальный процессор может представлять собой микропроцессор, любой известный процессор или нечто подобное. Этапы способа, раскрытого в вариантах осуществления изобретения по настоящей заявке, может исполнять непосредственно аппаратный кодирующий процессор или аппаратные и программные модули в какой-либо комбинации в кодирующем процессоре. Программный модуль может быть расположен на известном носителе данных, например, в оперативном запоминающем устройстве, флэш-памяти, постоянном запоминающем устройстве, программируемом постоянном запоминающем устройстве, электрически стираемом программируемом запоминающем устройстве, регистре и т.п. Носитель данных расположен в запоминающем устройстве 41, при этом процессор 40 считывает информацию в запоминающем устройство 41 и выполняет этапы раскрытого выше способа во взаимодействии с его аппаратными средствами.The processor 40 may be an integrated circuit chip with a signal processing function. During implementation, each step of the method disclosed above may be executed by a logic integrated circuit implemented in hardware or software as instructions in the processor 40. The processor 40 may be a general purpose processor, including a central processing unit (scheduling CPU), a network processor (SP, English network processor (NP)) or something similar. It can also be a digital signal processor (DSP, English digital signal processor (DSP)), a specialized integrated circuit (SIS, English application specific integrated circuit (ASIC)), a user-programmable gate array (FPVM, English field- programmable gate array (FPGA)) or other programmable logic devices, logic elements on discrete components or transistorized logic devices, discrete hardware components. The methods, steps or logical blocks disclosed in the embodiments of the invention according to the present application can be implemented or executed. A general purpose processor may be a microprocessor, any known processor, or the like. The steps of the method disclosed in embodiments of the invention according to the present application may be executed directly by a hardware encoding processor or by hardware and software modules in any combination in an encoding processor. The program module may be located on a known storage medium, such as random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, a register, or the like. The storage medium is located in the storage device 41, while the processor 40 reads the information in the storage device 41 and performs the steps of the method disclosed above in cooperation with its hardware.

Способ конфигурирования системы связи в виртуальном частном облаке и контроллер по вариантам осуществления изобретения по настоящей заявке имеет те же технические признаки, что и система связи в виртуальном частном облаке, предложенная в раскрытых выше вариантах осуществления, благодаря чему они решают те же технические задачи и обеспечивают те же технические эффекты.The method for configuring a virtual private cloud communication system and the controller of the embodiments of the present application have the same technical features as the virtual private cloud communication system proposed in the embodiments disclosed above, whereby they solve the same technical problems and provide the same same technical effects.

В одном из вариантов осуществления изобретения по настоящей заявке также предложен машиночитаемый носитель данных с хранимой в нем программой для ЭВМ, исполняемой для реализации способа конфигурирования системы связи в виртуальном частном облаке, раскрытого выше в вариантах осуществления способа. In one embodiment, the present application also provides a computer-readable storage medium with a computer program stored therein, executable to implement the method for configuring a virtual private cloud communication system disclosed in the method embodiments above.

Программный продукт для ЭВМ для выполнения способа, предложенного в одном из вариантов осуществления изобретения по настоящей заявке, включает в себя энергонезависимый машиночитаемый носитель данных, хранящий программные коды, исполняемые процессором. Способ конфигурирования системы связи в виртуальном частном облаке, раскрытый в вариантах осуществления способа, может быть реализован путем исполнения инструкций, входящих в эти программные коды. Конкретный вариант реализации раскрыт в вариантах осуществления способа и не будет раскрываться повторно.The computer software product for performing the method proposed in one of the embodiments of the invention according to the present application includes a non-volatile computer-readable storage medium that stores program codes executable by the processor. The method for configuring a communication system in a virtual private cloud disclosed in the method embodiments may be implemented by executing instructions included in these program codes. A specific implementation option is disclosed in the method embodiments and will not be disclosed again.

Специалистам в данной области техники будет понятно, что для удобства и краткости раскрытия, конкретный процесс работы способа и контроллера можно узнать из описания соответствующего процесса в раскрытых выше вариантах осуществления системы, в связи с чем он не будет раскрываться повторно.Those skilled in the art will appreciate that for convenience and brevity of the disclosure, the specific operation of the method and controller can be learned from the description of the corresponding process in the system embodiments disclosed above, and therefore will not be re-disclosed.

Схема последовательности и блок-схема на прилагаемых чертежах изображают возможную реализацию способа и архитектуру системы, функции и операции программного продукта для ЭВМ по нескольким вариантам осуществления изобретения по настоящей заявке. Каждый блок в схеме последовательности и блок-схеме представляет один модуль, часть кода или сегмент программы, содержащий одну или несколько исполнимых инструкций для реализации указанных логических функций. Также следует отметить, что в некоторых альтернативных вариантах реализации функции, представленные в блоках, могут быть реализованы в порядке, отличном от указанного на чертежах. Например, реализация двух следующих друг за другом блоков на практике может происходить по существу параллельно, а в некоторых случаях - в обратном порядке, в зависимости от функций, о которых идет речь. Также следует отметить, что каждый блок в схеме последовательности и блок-схеме, а также комбинация блоков в схеме последовательности и блок-схеме, могут быть реализованы в специально предназначенной для этого аппаратной системе, выполняющей указанные функции или действия, или быть реализованы посредством комбинации специально предназначенных для этого аппаратных средств и компьютерных инструкций.The sequence diagram and block diagram in the accompanying drawings depict a possible implementation of the method and system architecture, functions and operations of a computer software product according to several embodiments of the invention of the present application. Each block in the sequence diagram and block diagram represents one module, piece of code, or program segment containing one or more executable instructions to implement the specified logical functions. It should also be noted that in some alternative implementations, the functions presented in the blocks may be implemented in a different order from that shown in the drawings. For example, the implementation of two successive blocks in practice may occur essentially in parallel, and in some cases in reverse order, depending on the functions in question. It should also be noted that each block in the sequence diagram and block diagram, as well as the combination of blocks in the sequence diagram and block diagram, may be implemented in a dedicated hardware system that performs the specified functions or actions, or be implemented by a combination of specifically dedicated hardware and computer instructions.

Следует отметить, что в описании по настоящей заявке взаимная ориентация или расположение, выраженные понятиями «центральный», «верхний», «нижний», «левый», «правый», «вертикальный», «горизонтальный», «внутренний», «наружный» и т.п., указаны на основе взаимной ориентации или расположения на чертежах исключительно для удобства раскрытия в настоящей заявке и упрощения описания, но не указывают и не подразумевают того, что устройства или элементы обязательно должны быть ориентированы определенным образом, либо быть конструктивно выполнены и работать, будучи ориентированы определенным образом, то есть не должны рассматриваться как ограничивающие настоящую заявку. Кроме того, понятия «первый», «второй» и «третий» служат исключительно для описания, при этом не указывая и не подразумевая относительную важность. Если не указано иное, относительные этапы, числовые выражения и значения этапов и компонентов в вариантах осуществления не ограничивают объем настоящей заявки.It should be noted that in the description of the present application, the relative orientation or location, expressed in terms of "central", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer ", etc., are indicated on the basis of relative orientation or location in the drawings solely for the convenience of disclosure in this application and simplifying the description, but do not indicate or imply that devices or elements must necessarily be oriented in a certain way, or be structurally performed and operate while being oriented in a certain way, that is, should not be construed as limiting the present application. In addition, the terms "first", "second", and "third" are purely descriptive and do not indicate or imply relative importance. Unless otherwise indicated, the relative steps, numerical expressions, and values of the steps and components in the embodiments do not limit the scope of the present application.

Следует понимать, что раскрытые в вариантах осуществления изобретения по настоящей заявке система и способ могут быть реализованы иными путями. Раскрытые выше варианты осуществления устройства являются исключительно иллюстративными. Например, узлы разграничены в логических функциях. На практике, узлы могут быть разграничены иными путями. Например, множество узлов или компонентов можно объединять или включать в состав другой системы, при этом некоторые признаки можно не учитывать или не исполнять. Кроме того, соединение, непосредственное соединение или соединение связи, изображенные или раскрытые выше, могут представлять собой опосредованное соединение или соединение связи между интерфейсами связи, устройствами или узлами, а также могут представлять собой электрические соединения, механические соединения или иные формы соединений.It should be understood that the system and method disclosed in the embodiments of the invention of the present application may be implemented in other ways. The device embodiments disclosed above are illustrative only. For example, nodes are delimited in logical functions. In practice, nodes can be delimited in other ways. For example, many nodes or components can be combined or included in another system, while some features can be ignored or not performed. In addition, the connection, direct connection, or communication connection depicted or disclosed above may be an indirect connection or communication connection between communication interfaces, devices, or nodes, and may also be electrical connections, mechanical connections, or other forms of connections.

Узлы, проиллюстрированные в виде обособленных компонентов, могут быть или могут не быть физически обособлены. Компоненты, изображенные в виде узлов, могут быть или могут не быть физическими узлами, а также могут быть расположены в одном узле или быть распределены по множеству узлов. Некоторые или все узлы могут быть выбраны из раскрытых выше узлов в зависимости от фактических потребностей для достижения цели решения по вариантам осуществления.Assemblies illustrated as separate components may or may not be physically separate. Components depicted as nodes may or may not be physical nodes, and may be located in a single node or distributed across multiple nodes. Some or all of the nodes may be selected from the nodes disclosed above, depending on the actual needs to achieve the goal of deciding on the options for implementation.

Кроме того, все функциональные единицы в вариантах осуществления изобретения по настоящей заявке могут быть включены в состав одного блока обработки, или каждая из них может представлять собой отдельную единицу, или две или более единиц могут быть включены в состав одного блока.In addition, all functional units in the embodiments of the invention according to the present application may be included in one processing unit, or each of them may be a separate unit, or two or more units may be included in one unit.

Если функция реализована в виде программной функциональной единицы и продается или применяется как самостоятельное изделие, интегрированный блок может храниться на энергонезависимом машиночитаемом носителе с возможностью исполнения процессором. С учетом этого, техническое решение по настоящему раскрытию, либо часть, вносящая вклад в известный уровень техники, либо часть технического решения, может быть реализована по существу в виде программного продукта. Данный программный продукт для ЭВМ хранится на одном носителе данных и содержит несколько инструкций, побуждающих вычислительное устройство (могущее представлять собой персональный компьютер, сервер, сетевое устройство или нечто подобное) к выполнению всех или части этапов способа по варианту осуществления настоящего раскрытия. Носитель данных включает в себя носитель, выполненный с возможностью хранения программного кода, например, флэш-накопитель с интерфейсом универсальной последовательной шины (USB, англ. Universal Serial Bus), мобильный накопитель на жестком диске, постоянное запоминающее устройство (ПЗУ), оперативное запоминающее устройство (ОЗУ), магнитный диск или оптический диск.If the function is implemented as a software functional unit and is sold or used as a stand-alone product, the integrated unit may be stored on a non-volatile computer-readable medium executable by a processor. With this in mind, the technical solution of the present disclosure, either a part that contributes to the prior art, or a part of the technical solution, can be implemented essentially as a software product. This computer software product is stored on a single storage medium and contains several instructions that cause a computing device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to an embodiment of the present disclosure. The storage medium includes a medium configured to store program code, for example, a flash drive with a Universal Serial Bus (USB) interface, a mobile hard disk drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk.

В завершение, следует отметить, что раскрытые выше варианты осуществления являются не более чем предпочтительными вариантами реализации настоящей заявки, предназначенные для того, чтобы проиллюстрировать техническое решение по настоящей заявке, но не ограничить ее. Объем охраны по настоящей заявке не ограничен ими. Несмотря на то, что заявка раскрыта на примерах указанных вариантов осуществления, следует понимать, что специалист в данной области техники сможет модифицировать раскрытые в них технические решения без отступления от технического объема, раскрытого в настоящей заявке, либо предложить изменения или равноценные замены некоторых технических признаков. Эти модификации, изменения или замены не приводят к отступлению соответствующих технических решений от существа и объема технических решений вариантов осуществления изобретения по настоящей заявке и должны подпадать под охрану в объеме настоящей заявки. Таки образом, объем охраны по настоящей заявке должен быть реализован на основе объема охраны, определенного формулой изобретения.In conclusion, it should be noted that the embodiments disclosed above are nothing more than preferred embodiments of the present application, intended to illustrate the technical solution of the present application, but not to limit it. The scope of protection of the present application is not limited to them. Although the application is disclosed on the examples of these embodiments, it should be understood that a person skilled in the art will be able to modify the technical solutions disclosed therein without departing from the technical scope disclosed in this application, or to suggest changes or equivalent replacements of some technical features. These modifications, changes or substitutions do not lead to a deviation of the respective technical solutions from the essence and scope of the technical solutions of the embodiments of the invention of the present application and should be protected within the scope of this application. Thus, the scope of protection of the present application is to be realized based on the scope of protection defined by the claims.

Раскрытые выше варианты осуществления являются не более чем предпочтительными вариантами осуществления изобретения по настоящей заявке и не предназначены для ограничения объема охраны по ней. Любые модификации, альтернативные решения, улучшения и т.п. без отступления от существа и принципа изобретения по настоящей заявки должны входить в объем охраны по ней.The embodiments disclosed above are nothing more than preferred embodiments of the invention of the present application and are not intended to limit the scope of protection therein. Any modifications, alternative solutions, improvements, etc. without departing from the spirit and principle of the invention of the present application should be included in the scope of protection for it.

Claims (62)

1. Система связи в виртуальном частном облаке, содержащая: по меньшей мере одну виртуальную машину (ВМ) и шлюз системы, соединенный с возможностью связи с каждой из ВМ;1. A communication system in a virtual private cloud, comprising: at least one virtual machine (VM) and a system gateway connected to communicate with each of the VMs; по меньшей мере одну физическую машину (ФМ) и коммутатор, соединенный с возможностью связи с каждой из ФМ;at least one physical machine (PM) and a switch communicatively connected to each of the PMs; причем шлюз системы соединен с возможностью связи с коммутатором;moreover, the system gateway is connected with the possibility of communication with the switch; шлюз системы и коммутатор выполнены с возможностью обеспечения связи между ВМ и ФМ, относящимися к одному и тому же виртуальному частному облаку (ВЧО), на основе заранее заданной информации о конфигурации;the system gateway and the switch are configured to enable communication between the VM and the PM belonging to the same virtual private cloud (VPC) based on predetermined configuration information; информация о конфигурации содержит метку обособления, соответствующую ВЧО, причем одно ВЧО соответствует одной метке обособления, и пересылочные записи, соответствующие ресурсам, содержащимся в ВЧО;the configuration information contains a shard mark corresponding to the SPB, with one SPB corresponding to one shard mark, and forwarding records corresponding to the resources contained in the SPB; указанные ресурсы включают в себя: одну или несколько ВМ и/или одну или несколько ФМ;said resources include: one or more VMs and/or one or more FMs; при этом шлюз системы выполнен с возможностью:wherein the system gateway is configured to: приема первого сообщения от ВМ, причем первое сообщение содержит метку обособления;receiving a first message from the VM, the first message containing a shard mark; нахождения по указанной метке обособления информации о конфигурации, соответствующей метке обособления в первом сообщении, и пересылки первого сообщения соответствующему коммутатору на основе найденной информации о конфигурации;finding, at the specified partition mark, configuration information corresponding to the partition mark in the first message, and forwarding the first message to the corresponding switch based on the found configuration information; причем шлюз системы также выполнен с возможностью:wherein the system gateway is also configured to: приема второго сообщения от коммутатора, причем второе сообщение содержит метку обособления;receiving a second message from the switch, the second message containing a slicing mark; нахождения по указанной метке обособления информации о конфигурации, соответствующей метке обособления во втором сообщении, и пересылки второго сообщения целевой ВМ на основе найденной информации о конфигурации,finding, at the specified shard mark, configuration information corresponding to the shard mark in the second message, and forwarding the second message to the target VM based on the found configuration information, а коммутатор выполнен с возможностью:and the switch is configured to: приема третьего сообщения от ФМ, причем третье сообщение содержит метку обособления;receiving a third message from the PM, and the third message contains the mark separation; нахождения по указанной метке обособления информации о конфигурации, соответствующей метке обособления в третьем сообщении, и пересылки третьего сообщения соответствующему шлюзу системы на основе найденной информации о конфигурации;finding, at the specified partition mark, configuration information corresponding to the partition mark in the third message, and forwarding the third message to the corresponding system gateway based on the found configuration information; причем коммутатор также выполнен с возможностью:wherein the switch is also configured to: приема четвертого сообщения от шлюза системы, причем четвертое сообщение содержит метку обособления;receiving a fourth message from the system gateway, the fourth message containing a shard mark; нахождения по указанной метке обособления информации о конфигурации, соответствующей метке обособления в четвертом сообщении, и пересылки четвертого сообщения целевой ФМ на основе найденной информации о конфигурации.finding, at said shard mark, configuration information corresponding to the shard mark in the fourth message, and forwarding the fourth message to the target PM based on the found configuration information. 2. Система по п. 1, дополнительно содержащая контроллер;2. The system according to claim 1, further comprising a controller; причем контроллер соединен с возможностью связи со шлюзом системы и коммутатором соответственно;wherein the controller is communicatively connected to the system gateway and the switch, respectively; контроллер выполнен с возможностью конфигурирования информации для шлюза системы и коммутатора соответственно для генерирования информации о конфигурации и отправки указанной информации о конфигурации шлюзу системы и коммутатору соответственно.the controller is configured to configure information for the system gateway and the switch, respectively, to generate configuration information and send said configuration information to the system gateway and the switch, respectively. 3. Система по п. 2, отличающаяся тем, что контроллер также выполнен с возможностью:3. The system according to claim 2, characterized in that the controller is also configured to: генерирования метки обособления, соответствующей каждому виртуальному частному облаку (ВЧО), в зависимости от ВЧО;generating a shard mark corresponding to each virtual private cloud (VPC) depending on the VPC; получения IP-адресов ресурсов, относящихся к одному и тому же виртуальному частному облаку (ВЧО), причем указанные ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ;obtaining IP addresses of resources related to the same virtual private cloud (VCHO), said resources including one or more VMs and/or one or more PMs; создания пересылочных записей на основе IP-адресов ресурсов;creating forwarding records based on resource IP addresses; генерирования информации о конфигурации, соответствующей ВЧО, на основе пересылочных записей и метки обособления.generating configuration information corresponding to the HFO based on the forwarding records and the pegging mark. 4. Система по п. 3, отличающаяся тем, что контроллер также выполнен с возможностью:4. The system according to claim 3, characterized in that the controller is also configured to: создания пересылочной записи или пересылочных записей одной или нескольких ВМ на основе IP-адреса одной или нескольких ВМ и/илиcreate a forwarding entry or forwarding entries for one or more VMs based on the IP address of one or more VMs and/or создания пересылочной записи или пересылочных записей одной или нескольких ФМ на основе IP-адреса одной или нескольких ФМ.creating a forwarding entry or forwarding entries of one or more FMs based on the IP address of one or more FMs. 5. Система по п. 2, отличающаяся тем, что контроллер также выполнен с возможностью:5. The system according to claim 2, characterized in that the controller is also configured to: управления ресурсами в виртуальном частном облаке (ВЧО) на основе информации о конфигурации, причем указанные ресурсы включают в себя указанные одну или несколько ВМ и/или одну или несколько ФМ, при этом управление включает в себя: добавление ресурсов и/или удаление ресурсов.managing resources in a virtual private cloud (VPC) based on configuration information, wherein said resources include said one or more VMs and/or one or more PMs, wherein the control includes: adding resources and/or deleting resources. 6. Система по п. 5, отличающаяся тем, что контроллер также выполнен с возможностью:6. The system according to claim 5, characterized in that the controller is also configured to: приема запроса операции управления для ресурсов в ВЧО, причем запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; иreceiving a control operation request for resources in the HPF, the control operation request comprising a shard flag corresponding to the HPF to be controlled; and изменения информации о конфигурации, соответствующей подлежащему управлению ВЧО, в шлюзе системы и коммутаторе согласно метке обособления.changing the configuration information corresponding to the HFO to be managed in the system gateway and the switch according to the partition mark. 7. Система по п. 6, отличающаяся тем, что контроллер также выполнен с возможностью:7. The system according to claim 6, characterized in that the controller is also configured to: добавления, по запросу добавления ресурса, пересылочной записи, соответствующей IP-адресу указанного ресурса; и/илиadding, upon request to add a resource, a forwarding entry corresponding to the IP address of the specified resource; and/or удаления, по запросу удаления части ресурсов, пересылочных записей, соответствующих IP-адресам указанной части ресурсов; и/илиdeleting, upon request of deleting a part of the resources, forwarding records corresponding to the IP addresses of the specified part of the resources; and/or удаления информации о конфигурации, соответствующей подлежащему управлению ВЧО, по запросу удаления всех ресурсов.deleting the configuration information corresponding to the HMO to be managed upon the deletion request of all resources. 8. Система по любому из пп. 1-7, отличающаяся тем, что шлюз системы реализован путем эксплуатации соответствующего программного средства на сервере.8. The system according to any one of paragraphs. 1-7, characterized in that the system gateway is implemented by operating the corresponding software on the server. 9. Способ конфигурирования системы связи в виртуальном частном облаке, применяемый к контроллеру в системе по любому из пп. 1-8, причем контроллер соединен с возможностью связи со шлюзом системы и коммутатором соответственно; при этом способ включает в себя этапы, на которых:9. The method of configuring a communication system in a virtual private cloud, applied to the controller in the system according to any one of paragraphs. 1-8, wherein the controller is communicatively connected to a system gateway and a switch, respectively; wherein the method includes the steps of: осуществляют конфигурирование информации для шлюза системы и коммутатора соответственно для генерирования информации о конфигурации; иconfiguring information for the system gateway and the switch, respectively, to generate configuration information; and отправляют информацию о конфигурации шлюзу системы и коммутатору соответственно;sending the configuration information to the system gateway and the switch, respectively; причем указанная информация о конфигурации содержит метку обособления, соответствующую ВЧО, и пересылочные записи, соответствующие ресурсам, содержащимся в ВЧО, причем указанные ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ;moreover, the specified configuration information contains a label corresponding to the FSO, and forwarding records corresponding to the resources contained in the FSO, and these resources include one or more VM and/or one or more PM; при этом генерирование информации о конфигурации включает в себя следующие этапы:while generating configuration information includes the following steps: генерируют метку обособления, соответствующую каждому виртуальному частному облаку (ВЧО), в зависимости от ВЧО, причем одно ВЧО соответствует одной метке обособления;generating a shard mark corresponding to each virtual private cloud (VPC) depending on the VPC, with one VPC corresponding to one shard label; получают IP-адреса ресурсов, относящихся к одному и тому же виртуальному частному облаку (ВЧО), причем указанные ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ;obtaining IP addresses of resources related to the same virtual private cloud (VCHO), said resources including one or more VMs and/or one or more PMs; создают пересылочные записи на основе IP-адресов указанных ресурсов; иcreate forwarding records based on the IP addresses of the specified resources; and генерируют информацию о конфигурации, соответствующую ВЧО, на основе пересылочных записей и метки обособления.generating configuration information corresponding to the HFO based on the forwarding records and the shard mark. 10. Способ по п. 9, отличающийся тем, что на этапе, на котором создают пересылочные записи на основе IP-адресов ресурсов:10. The method according to claim 9, characterized in that at the stage at which forwarding records are created based on the IP addresses of the resources: создают пересылочную запись или пересылочные записи одной или нескольких ВМ на основе IP-адреса одной или нескольких ВМ и/илиcreate a forwarding entry or forwarding entries of one or more VMs based on the IP address of one or more VMs and/or создают пересылочную запись или пересылочные записи одной или нескольких ФМ на основе IP-адреса одной или нескольких ФМ.create a forwarding entry or forwarding entries of one or more FMs based on the IP address of one or more FMs. 11. Способ по п. 9, дополнительно включающий в себя этап, на котором: осуществляют управление ресурсами в виртуальном частном облаке (ВЧО)11. The method of claim 9, further comprising: managing resources in a virtual private cloud (VPC) на основе информации о конфигурации, причем ресурсы включают в себя одну или несколько ВМ и/или одну или несколько ФМ, при этом управление включает в себя: добавление ресурсов и/или удаление ресурсов.based on configuration information, wherein the resources include one or more VMs and/or one or more FMs, wherein the control includes: adding resources and/or deleting resources. 12. Способ по п. 11, дополнительно включающий в себя этапы, на которых: принимают запрос операции управления для ресурсов в ВЧО, причем12. The method of claim 11, further comprising: receiving a control operation request for resources in the HFO, wherein запрос операции управления содержит метку обособления, соответствующую подлежащему управлению ВЧО; иthe control operation request contains a shard flag corresponding to the HFO to be controlled; and изменяют информацию о конфигурации, соответствующую подлежащему управлению ВЧО, в шлюзе системы и коммутаторе согласно метке обособления.changing the configuration information corresponding to the HFO to be managed in the system gateway and the switch according to the partition mark. 13. Способ по п. 12, отличающийся тем, что запрос операции управления включает в себя один или несколько из следующих: запрос добавления ресурса, запрос удаления части ресурсов и запрос удаления всех ресурсов, при этом способ дополнительно включает в себя этапы, на которых:13. The method of claim. 12, wherein the control operation request includes one or more of the following: a resource addition request, a resource part deletion request, and an all resource deletion request, the method further comprising: добавляют, по запросу добавления ресурса, пересылочную запись, соответствующую IP-адресу указанного ресурса; и/илиadd, upon request to add a resource, a forwarding record corresponding to the IP address of the specified resource; and/or удаляют, по запросу удаления части ресурсов, пересылочные записи, соответствующие IP-адресам указанной части ресурсов; и/илиdeleting, upon request for deleting the resource portion, forwarding records corresponding to the IP addresses of said resource portion; and/or удаляют информацию о конфигурации, соответствующую подлежащему управлению ВЧО, по запросу удаления всех ресурсов.deleting the configuration information corresponding to the HMO to be managed upon the deletion request of all resources. 14. Контроллер, содержащий запоминающее устройство и процессор, причем запоминающее устройство содержат программу для ЭВМ, которую может исполнять процессор, при этом предусмотрена возможность исполнения процессором программы для ЭВМ для реализации способа по любому из пп. 9-13.14. A controller containing a memory device and a processor, and the memory device contains a computer program that can be executed by the processor, while the possibility is provided for the processor to execute a computer program for implementing the method according to any one of paragraphs. 9-13. 15. Машиночитаемый носитель данных с хранимой в нем программой для ЭВМ, при исполнении которой процессором процессор реализует способ по любому из пп. 9-13.15. A computer-readable storage medium with a computer program stored therein, during the execution of which by the processor, the processor implements the method according to any one of paragraphs. 9-13.
RU2021117987A 2018-11-30 2019-11-12 Communication system in virtual private cloud, method for configuration of system, and controller RU2788969C2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463985.6 2018-11-30

Publications (2)

Publication Number Publication Date
RU2021117987A RU2021117987A (en) 2022-12-30
RU2788969C2 true RU2788969C2 (en) 2023-01-26

Family

ID=

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090293055A1 (en) * 2008-05-22 2009-11-26 Carroll Martin D Central Office Based Virtual Personal Computer
US20110125894A1 (en) * 2009-11-25 2011-05-26 Novell, Inc. System and method for intelligent workload management
US20140201733A1 (en) * 2013-01-15 2014-07-17 International Business Machines Corporation Scalable network overlay virtualization using conventional virtual switches
US20150365281A1 (en) * 2011-05-27 2015-12-17 Cisco Technology, Inc. User-Configured On-Demand Virtual Layer-2 Network for Infrastructure-As-A-Service (IAAS) on a Hybrid Cloud Network
CN106998284A (en) * 2016-01-25 2017-08-01 阿里巴巴集团控股有限公司 The network system and method for private network are connected by virtual private networks
RU2628902C2 (en) * 2011-09-12 2017-08-22 МАЙКРОСОФТ ТЕКНОЛОДЖИ ЛАЙСЕНСИНГ, ЭлЭлСи Coordination mechanism for cloud choice
WO2017214883A1 (en) * 2016-06-15 2017-12-21 Alibaba Group Holding Limited Network system and method for cross region virtual private network peering
RU2645595C2 (en) * 2012-06-21 2018-02-21 МАЙКРОСОФТ ТЕКНОЛОДЖИ ЛАЙСЕНСИНГ, ЭлЭлСи Upload of virtual machine streams to physical queues
CN107770064A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of method of internetwork communication, equipment
CN108462594A (en) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 Virtual proprietary network and regular table generating method, device and method for routing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090293055A1 (en) * 2008-05-22 2009-11-26 Carroll Martin D Central Office Based Virtual Personal Computer
US20110125894A1 (en) * 2009-11-25 2011-05-26 Novell, Inc. System and method for intelligent workload management
US20150365281A1 (en) * 2011-05-27 2015-12-17 Cisco Technology, Inc. User-Configured On-Demand Virtual Layer-2 Network for Infrastructure-As-A-Service (IAAS) on a Hybrid Cloud Network
RU2628902C2 (en) * 2011-09-12 2017-08-22 МАЙКРОСОФТ ТЕКНОЛОДЖИ ЛАЙСЕНСИНГ, ЭлЭлСи Coordination mechanism for cloud choice
RU2645595C2 (en) * 2012-06-21 2018-02-21 МАЙКРОСОФТ ТЕКНОЛОДЖИ ЛАЙСЕНСИНГ, ЭлЭлСи Upload of virtual machine streams to physical queues
US20140201733A1 (en) * 2013-01-15 2014-07-17 International Business Machines Corporation Scalable network overlay virtualization using conventional virtual switches
CN106998284A (en) * 2016-01-25 2017-08-01 阿里巴巴集团控股有限公司 The network system and method for private network are connected by virtual private networks
WO2017214883A1 (en) * 2016-06-15 2017-12-21 Alibaba Group Holding Limited Network system and method for cross region virtual private network peering
CN107770064A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of method of internetwork communication, equipment
CN108462594A (en) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 Virtual proprietary network and regular table generating method, device and method for routing

Similar Documents

Publication Publication Date Title
US20220374253A1 (en) Scalable tenant networks
US11502920B1 (en) Multi-carrier access to provider substrate extensions
US20230300105A1 (en) Techniques for managing software defined networking controller in-band communications in a data center network
JP6605713B2 (en) Packet processing method, host and system in cloud computing system
CN107078923B (en) Apparatus and method for modifying behavior of distributed virtual network elements using physical location
US11470001B2 (en) Multi-account gateway
US10171357B2 (en) Techniques for managing software defined networking controller in-band communications in a data center network
US8990371B2 (en) Interconnecting data centers for migration of virtual machines
US11496436B2 (en) Migration of virtual machine located on its own network
WO2018112709A1 (en) Data packet processing method, host and system
EP4049435A1 (en) Dynamic resource movement in heterogeneous computing environments including cloud edge locations
US11394662B2 (en) Availability groups of cloud provider edge locations
US20140254603A1 (en) Interoperability for distributed overlay virtual environments
US11159344B1 (en) Connectivity of cloud edge locations to communications service provider networks
CN105635190A (en) Service execution method and device for data center network
WO2020108292A1 (en) Virtual private cloud communication system, system configuration method and controller
RU2788969C2 (en) Communication system in virtual private cloud, method for configuration of system, and controller
US11595347B1 (en) Dual-stack network addressing in cloud provider network edge locations
CN109885380B (en) Session processing method and device, storage medium and electronic device