WO2024065182A1 - 网络配置方法、装置、电子设备和存储介质 - Google Patents

网络配置方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2024065182A1
WO2024065182A1 PCT/CN2022/121753 CN2022121753W WO2024065182A1 WO 2024065182 A1 WO2024065182 A1 WO 2024065182A1 CN 2022121753 W CN2022121753 W CN 2022121753W WO 2024065182 A1 WO2024065182 A1 WO 2024065182A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
program
applications
communication
program group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/121753
Other languages
English (en)
French (fr)
Inventor
田德钰
王琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens Ltd China
Siemens AG
Siemens Corp
Original Assignee
Siemens Ltd China
Siemens AG
Siemens Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Ltd China, Siemens AG, Siemens Corp filed Critical Siemens Ltd China
Priority to CN202280099718.3A priority Critical patent/CN119866620A/zh
Priority to EP22959832.1A priority patent/EP4580135A4/en
Priority to PCT/CN2022/121753 priority patent/WO2024065182A1/zh
Priority to US19/114,553 priority patent/US12549443B2/en
Publication of WO2024065182A1 publication Critical patent/WO2024065182A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • the present application relates to the field of network communication technology, and in particular to a network configuration method, device, electronic device and storage medium.
  • Containers are a mainstream way to deploy applications. Containers use a sandbox mechanism and there are no interfaces between them. That is, applications are isolated from the outside world when running in containers. Data exchange between containers and hosts or between containers requires data distribution services. Therefore, it is necessary to configure a communication network for data distribution services for each application running in the container and the host.
  • network configuration is a complex and professional task. How to avoid the risk of network attacks when configuring communication networks and achieve better data exchange performance and balance requires network engineers to spend a lot of time testing and verifying. Therefore, the manual labor is high and the time is long when configuring communication networks for a large number of applications. Therefore, the existing network configuration methods are not suitable for configuring communication networks for a large number of applications.
  • the network configuration method, device, electronic device and storage medium provided in the present application are suitable for configuring communication networks for a large number of applications.
  • a network configuration method comprising: obtaining environmental information of at least two applications, wherein the environmental information is used to indicate a host where the applications are located and a communication method between the hosts; grouping the at least two applications according to the environmental information to obtain at least one program grouping, wherein each of the program groups includes at least two applications, different program groups correspond to different inter-program communication methods, and applications in the same program group communicate with each other through the inter-program communication method corresponding to the program group; determining at least one application pair that needs to communicate according to the communication requirements between the at least two applications; and performing a communication network configuration for the two applications included in the application pair according to the inter-program communication method corresponding to the program group including the application pair.
  • grouping the at least two applications according to the environmental information to obtain at least one program group includes: performing at least one of the following operations according to the environmental information: (i) dividing the applications located on the same host into a program group; and (ii) grouping the applications located on different hosts according to a communication method between the hosts to obtain at least one program group.
  • the application programs located on different hosts are grouped according to the communication method between the hosts to obtain at least one program group, including: dividing at least two application programs located on different hosts and communicating with each other through the same local area network into one program group; and dividing at least two application programs located on different hosts and communicating with each other through a wide area network into one program group.
  • the communication network configuration is performed on the two applications included in the application pair according to the inter-program communication mode corresponding to the program group including the application pair, including: if the application pair is included in the first program group, the communication network configuration is performed on the two applications included in the application pair through a pre-created memory exchange configuration template, so that the application pair communicates through memory exchange, wherein the applications in the first program group are located on the same host; if the application pair is included in the second program group, the communication network configuration is performed on the two applications included in the application pair through a pre-created LAN configuration template, so that the application pair communicates through a LAN, wherein the applications in the second program group are located on different hosts that communicate through a LAN; if the application pair is included in the third program group, the communication network configuration is performed on the two applications included in the application pair through a pre-created WAN configuration template, so that the application pair communicates through a WAN, wherein the applications in the third program group are located on different hosts that communicate through
  • the method further includes: if the operating environment of the application is a container, configuring a bridge network for the application so that the application accesses the default network and memory of the host where the application is located through the bridge network.
  • the method further includes: generating configuration information, wherein the configuration information is used to indicate program grouping information, application pair information, and communication network configuration information; generating a configuration list including the configuration information, and outputting the configuration list.
  • a network configuration device comprising: an acquisition module, for acquiring environmental information of at least two applications, wherein the environmental information is used to indicate the host where the application is located and the communication mode between the hosts; a grouping module, for grouping the at least two applications according to the environmental information to obtain at least one program grouping, wherein each of the program groups includes at least two applications, different program groups correspond to different communication modes, and the applications in the same program group communicate with each other through the communication mode corresponding to the program group; a pairing module, for determining at least one application pair that needs to communicate according to the communication requirements between the at least two applications; and a configuration module, for performing communication network configuration for the two applications included in the application pair according to the communication mode corresponding to the program group including the application pair.
  • the network configuration device also includes: a first generation module, used to generate configuration information, wherein the configuration information is used to indicate program grouping information, application pair information and communication network configuration information; a second generation module, used to generate a configuration list including the configuration information, and output the configuration list.
  • an electronic device comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the network configuration method provided in the first aspect above.
  • a computer-readable storage medium on which computer instructions are stored.
  • the processor executes operations corresponding to the network configuration method provided in the first aspect above.
  • a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform a network configuration method provided in the first aspect or any possible implementation of the first aspect.
  • the applications are divided into multiple program groups according to the different environmental information of each application, that is, the different hosts where the applications are located and the communication methods between the hosts. Therefore, each program group can correspond to a communication method between programs, and a large number of applications can be divided into a limited number of program groups.
  • the communication method of each application pair is determined according to the communication method between programs in the program group where the application pair is located. There is no need to manually determine the communication method between the applications, which reduces the intensity of manual labor.
  • this method is suitable for configuring the communication network for a large number of applications.
  • FIG1 is a flow chart of a network configuration method provided by an embodiment of the present application.
  • FIG2 is a topological diagram of a network configuration provided in an embodiment of the present application.
  • FIG3 is a flow chart of another network configuration method provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a network configuration device provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of another network configuration device provided in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • Network configuration method 201-204 Application program 205: First host
  • Second host 207 Cloud 400: Network configuration device
  • containers are a mainstream way to deploy applications. Since containers use a sandbox mechanism, there is no interface between them, that is, when an application is running in a container, it is isolated from the outside world. Data exchange between containers and hosts or between containers requires data distribution services. Therefore, it is necessary to configure the communication network of the data distribution service for applications running in containers and running in hosts. At present, network engineers manually configure the communication network of the data distribution service for each application. However, network configuration is a complex and professional task. How to avoid the risk of network attacks when configuring the communication network and achieve better data exchange performance and balance requires network engineers to spend a lot of time to test and verify. Therefore, the existing network configuration method is labor-intensive and time-consuming when configuring the communication network for a large number of applications. Therefore, the existing network configuration method is not suitable for configuring the communication network for a large number of applications.
  • environmental information of each application is obtained, and each application is grouped according to the environmental information to obtain a program group. Then, an application pair is determined according to the communication requirements between the applications, and a network is configured for each application in the application pair according to the inter-program communication method corresponding to the program group in which the application pair is located.
  • the applications are divided into multiple program groups according to different environmental information, that is, the hosts where the applications are located and the communication methods between the hosts. Therefore, each program group can correspond to an inter-program communication method, and a large number of applications can be divided into a limited number of program groups.
  • the communication method of each application pair is determined according to the inter-program communication method of the program group.
  • the process of configuring the communication network for each application is automatically executed by the system without manual participation, which can reduce the time spent on configuring the communication network for a large number of applications. Therefore, the method is suitable for configuring the communication network for a large number of applications.
  • FIG1 is a flow chart of a network configuration method provided by an embodiment of the present application. As shown in FIG1 , the network configuration method 100 includes the following steps:
  • Step 101 Obtain environment information of at least two applications, wherein the environment information is used to indicate hosts where the applications are located and communication methods between the hosts.
  • the environment information of each application is determined according to the behaviors of multiple applications, and the behaviors of the applications include: interactive behaviors, networking behaviors, etc.
  • the environment information is used to indicate the host where the application is located and the communication mode between the hosts, and the communication mode includes but is not limited to host network communication, local area network communication, etc.
  • the environment information includes the communication method between different hosts. If multiple applications come from the same host and the host does not need to communicate with other hosts, the environment information includes the hosts where the multiple applications are located.
  • Step 102 group at least two applications according to the environmental information to obtain at least one program grouping, wherein each program grouping includes at least two applications, different program groups correspond to different inter-program communication methods, and applications in the same program group communicate with each other through the inter-program communication method corresponding to the program grouping.
  • the applications are grouped according to their environment information, and multiple applications that communicate with each other in the same way are divided into a program group. Different program groups correspond to different communication methods between programs.
  • the communication methods between applications are different depending on the environment information, that is, the hosts where the applications are located and the communication methods between the hosts. For example, if two applications are on the same host, they communicate through the host; if the two applications are on different hosts, they communicate through the network, and so on.
  • Step 103 Determine at least one application pair that needs to communicate based on the communication requirements between at least two applications.
  • a plurality of applications that need to communicate are determined, and the plurality of applications that need to communicate are paired two by two to obtain a plurality of application pairs.
  • the communication requirements between applications need to be determined manually.
  • the communication requirements are set manually based on the dependencies between the applications and the data exchange requirements. For example, if the use of the first application depends on the first application, then the first application and the second application are set to have communication requirements. After the system recognizes the requirement, it determines the first application and the second application as an application pair.
  • Step 104 Perform communication network configuration for two applications included in the application pair according to the inter-program communication mode corresponding to the program group including the application pair.
  • a communication network is configured for the two applications included in the application pair, and the configured network corresponds to the inter-program communication method corresponding to the program grouping. For example, if the inter-program communication method corresponding to the program grouping is LAN communication, then a LAN network is configured for the two applications included in the application pair.
  • an application may be divided into different program groups, and different program groups correspond to different inter-program communication methods. Therefore, the same application may be configured with multiple networks. For example: the first application needs to communicate with the second application on the same host and the third application on a different host. When the first application configures the network, it will configure the same-host communication network and the different-host communication network.
  • the applications are divided into a plurality of program groups according to the difference in environmental information of each application, that is, the difference in the host where the application is located and the communication method between the hosts.
  • each program group can correspond to a communication method between programs, and a large number of applications can be divided into a limited number of program groups.
  • the communication method of each pair of applications is determined according to the communication method between programs in the program group where the application pair is located. There is no need to manually determine the communication method between each application, thereby reducing the intensity of manual labor.
  • the process of configuring the communication network for each application is automatically executed by the system without manual participation, the time spent on configuring the communication network for a large number of applications can be reduced. Therefore, the present method is suitable for configuring the communication network for a large number of applications.
  • At least two application programs are grouped according to the environment information, and when at least one program group is obtained, at least one of the following operations may be performed according to the environment information:
  • Different hosts cannot communicate directly and need to communicate through the network. Therefore, the data exchange between applications on different hosts depends on the communication mode of the hosts.
  • grouping the applications on the same host are grouped together, that is, the applications in the program group communicate with each other through the host.
  • Applications on different hosts are divided into different program groups according to different communication modes, that is, the applications in the program group communicate with each other through the communication mode between different hosts.
  • applications located on the same host are divided into one program group, and applications located on different hosts are divided into multiple program groups according to the communication method between the hosts.
  • the applications can be accurately divided into corresponding program groups when grouping, avoiding the situation where applications on different hosts are divided into program groups corresponding to applications on the same host due to application grouping errors, causing communication failures between applications.
  • the network configuration of each application is more accurate according to the program grouping, thereby improving the accuracy and efficiency of network configuration of the application.
  • the applications located on different hosts are grouped according to the communication mode between the hosts, and when at least one program group is obtained, at least two applications located on different hosts and communicating with the hosts through the same local area network are grouped into one program group. At least two applications located on different hosts and communicating with the hosts through a wide area network are grouped into one program group.
  • applications located on different hosts are grouped according to the communication methods between different hosts, so that different communication networks can be configured for applications located on different hosts according to the different communication methods between programs corresponding to the groups.
  • the grouping rules are refined, the network configuration of the applications is made more accurate, and the efficiency of configuring communication networks for a large number of applications is improved.
  • a communication network when configuring a communication network for two applications included in an application pair according to an inter-program communication method corresponding to a program group including the application pair, if the application pair is included in a first program group, a communication network is configured for the two applications included in the application pair through a pre-created memory exchange configuration template, so that the application pair communicates through memory exchange, wherein the applications in the first program group are located on the same host.
  • a memory exchange configuration template is created in advance.
  • the memory exchange configuration template corresponds to the program grouping divided by the applications on the same host.
  • the template can configure the memory exchange communication mode for two applications on the same host that need to communicate. That is, when two applications are located on the same host, they do not need a network to communicate and can exchange data by sharing the host's memory.
  • the communication method between the two applications is configured through a memory exchange configuration template, so that the applications on the same host can communicate by sharing the host memory, thereby achieving optimal communication performance when communicating between the two applications on the same host, thereby improving the practicality of the network configuration method.
  • a communication network for two applications included in an application pair when configuring a communication network for two applications included in an application pair according to an inter-program communication method corresponding to a program group including the application pair, if the application pair is included in a second program group, then configuring a communication network for the two applications included in the application pair through a pre-created LAN configuration template, so that the application pair communicates through the LAN, wherein the applications in the second program group are located on different hosts that communicate through the LAN.
  • a LAN configuration template is created in advance.
  • the LAN configuration template corresponds to the program grouping divided by applications located on different hosts and communicating through the same LAN. This template can configure LAN communication for two applications located on different hosts that need to communicate, that is, when the two applications are located on different hosts, data is exchanged through the LAN.
  • an ipvlan or macvlan network can be configured for the two applications to optimize network performance and security during communication.
  • IPvlan is a new shift in network virtualization technology.
  • Linux implementation is lightweight because instead of using the traditional Linux bridge for isolation, it is associated with a Linux Ethernet interface or sub-interface to enforce separation between networks and connections to the physical network.
  • IPvlan provides many unique features and provides ample room for further innovation in various modes.
  • the macvlan network driver can be used to assign a MAC address to each container's virtual network interface, making it appear to be a physical network interface directly connected to the physical network.
  • a physical interface can be specified on the container host for configuring macvlan, as well as the subnet and gateway of the macvlan.
  • the communication method between the two applications is configured through the LAN configuration template, so that the two applications communicate through the LAN, thereby configuring the communication network for applications on different hosts.
  • the system automatically configures the network of the application according to the pre-set LAN configuration template without manual intervention, so that the network configuration method can be applied to network configuration of a large number of applications.
  • a communication network for two applications included in an application pair when configuring a communication network for two applications included in an application pair according to an inter-program communication method corresponding to a program group including the application pair, if the application pair is included in a third program group, then configuring a communication network for the two applications included in the application pair through a pre-created wide area network configuration template, so that the application pair communicates through the wide area network, wherein the applications in the third program group are located on different hosts that communicate through the wide area network.
  • a WAN configuration template is created in advance.
  • the WAN configuration template corresponds to the program grouping divided by applications located on different hosts and the hosts communicate through the WAN.
  • the template can configure WAN communication for two applications located on different hosts that need to communicate, that is, when the two applications are located on different hosts, data is exchanged through the WAN.
  • the Overlay network driver can create a distributed network between multiple hosts. This network is overlaid on the host's network, allowing connected hosts to communicate securely.
  • Weave Net can create a virtual network that can connect containers on multiple hosts across hosts.
  • microservice-based applications can be run anywhere, such as: one host, multiple hosts, even in the cloud and data center, etc.
  • the application can be disconnected from the WAN.
  • a database running on both the LAN and the WAN can be given access to another application running on the same LAN and disconnected from the WAN to prevent network attacks.
  • the communication method between the two applications is configured through a wide area network configuration template, so that the two applications communicate through the wide area network, thereby configuring the communication network for applications on different hosts.
  • the system automatically configures the network of the application according to a pre-set wide area network configuration template without manual intervention, so that the network configuration method can be applied to network configuration of a large number of applications.
  • FIG2 is a topology diagram of a network configuration provided by an embodiment of the present application.
  • application 201 and application 203 need to communicate, and both are located on the first host 205, so memory exchange communication N is configured for application 201 and application 203.
  • Application 201 and application 204 need to communicate, application 201 is located on the first host 205, application 204 is located on the second host 206, and the first host 205 and the second host 206 are on a local area network, so local area network communication J is configured for application 201 and application 204.
  • Application 202 and application 204 need to communicate, application 202 runs in the cloud 207, and application 204 is located on the second host 206, so wide area network communication G is configured for application 202 and application 204.
  • a bridge network is configured for the application so that the application is connected to the default network and memory of the host where the application is located through the bridge network.
  • the operating environment of the application is detected. If the operating environment of the application is a container, a bridge network is set for the container so that the container can be connected to the host through the bridge network.
  • the host network is the default network of the host.
  • Applications running directly on the host can use the host network by default without configuration.
  • the operating environment of the application is detected. If the application runs in a container, a bridge network is set for the container so that the container can be connected to the host through the bridge network, so that the application running in the container can exchange data with other applications through the host, and thus the network configuration of the application running locally on the host and the application running in the container can be performed with the same configuration rules, thereby reducing the complexity of network configuration and improving the efficiency of network configuration for a large number of applications.
  • FIG3 is a flow chart of another network configuration method provided in an embodiment of the present application. As shown in FIG3 , the network configuration method 300 further includes the following steps:
  • Step 301 Obtain environment information of at least two applications, wherein the environment information is used to indicate the hosts where the applications are located and the communication methods between the hosts.
  • Step 302 Group at least two applications according to the environmental information to obtain at least one program grouping, wherein each program grouping includes at least two applications, different program groups correspond to different inter-program communication methods, and applications in the same program group communicate with each other through the inter-program communication method corresponding to the program grouping.
  • Step 303 Determine at least one application pair that needs to communicate based on the communication requirements between at least two applications.
  • Step 304 Perform communication network configuration for two applications included in the application pair according to the inter-program communication mode corresponding to the program group including the application pair.
  • steps 301 to 304 may refer to steps 101 to 104 in the above embodiment, and will not be described in detail here.
  • Step 305 Generate configuration information, where the configuration information is used to indicate program grouping information, application pair information, and communication network configuration information.
  • Configuration information including program grouping information of each application program, application pair information, and communication network configuration information of each application program is generated.
  • Step 306 Generate a configuration list including configuration information, and output the configuration list.
  • program grouping information, application pair information, and communication network configuration information are output as a configuration list.
  • This list can help users diagnose faults in the configured network when the network configuration fails or the application cannot use the configured network communication, thereby reducing the knowledge threshold and workload of network diagnosis and improving the practicality of the network configuration method.
  • FIG4 is a schematic diagram of a network configuration device provided in an embodiment of the present application. As shown in FIG4 , the network configuration device 400 includes:
  • the acquisition module 401 is used to acquire environment information of at least two applications, wherein the environment information is used to indicate the host where the application is located and the communication mode between the hosts.
  • the grouping module 402 is used to group at least two applications according to environmental information to obtain at least one program grouping, wherein each program grouping includes at least two applications, different program groups correspond to different communication methods, and the applications in the same program group communicate with each other through the communication method corresponding to the program grouping.
  • the pairing module 403 is used to determine at least one application pair that needs to communicate based on the communication requirements between at least two applications.
  • the configuration module 404 is used to perform communication network configuration for two applications included in the application pair according to the communication mode corresponding to the program group including the application pair.
  • the acquisition module 401 can be used to execute step 101 in the above method embodiment
  • the grouping module 402 can be used to execute step 102 in the above method embodiment
  • the pairing module 403 can be used to execute step 103 in the above method embodiment
  • the configuration module 404 can be used to execute step 104 in the above method embodiment.
  • the grouping module 402 can be used to perform at least one of the following operations based on environmental information: (i) dividing the applications located on the same host into a program group; (ii) grouping the applications located on different hosts based on the communication method between the hosts to obtain at least one program group.
  • the grouping module 402 can be used to group at least two applications located on different hosts and communicating with each other through the same local area network into one program group; and to group at least two applications located on different hosts and communicating with each other through a wide area network into one program group.
  • the grouping module 402 may be used to, if the application pair is included in a first program grouping, perform a communication network configuration for two applications included in the application pair through a pre-created memory exchange configuration template, so that the application pair communicates through memory exchange, wherein the applications in the first program grouping are located on the same host; if the application pair is included in a second program grouping, perform a communication network configuration for the two applications included in the application pair through a pre-created LAN configuration template, so that the application pair communicates through a LAN, wherein the applications in the second program grouping are located on different hosts that communicate through the LAN; if the application pair is included in a third program grouping, perform a communication network configuration for the two applications included in the application pair through a pre-created WAN configuration template, so that the application pair communicates through a WAN, wherein the applications in the third program grouping are located on different hosts that communicate through a WAN.
  • a bridge network is configured for the application so that the application is connected to the default network and memory of the host where the application is located through the bridge network.
  • FIG5 is a schematic diagram of another network configuration device provided in an embodiment of the present application. As shown in FIG5, based on the network configuration device 400 shown in FIG4, the network configuration device 400 further includes:
  • the first generating module 405 is used to generate configuration information, wherein the configuration information is used to indicate program grouping information, application program pair information and communication network configuration information.
  • the second generating module 406 is used to generate a configuration list including configuration information and output the configuration list.
  • the acquisition module 401 can be used to execute step 301 in the above method embodiment
  • the grouping module 402 can be used to execute step 302 in the above method embodiment
  • the pairing module 403 can be used to execute step 303 in the above method embodiment
  • the configuration module 404 can be used to execute step 304 in the above method embodiment
  • the first generation module 405 can be used to execute step 305 in the above method embodiment
  • the second generation module 406 can be used to execute step 306 in the above method embodiment.
  • FIG6 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • the specific embodiment of the present application does not limit the specific implementation of the electronic device.
  • the electronic device 600 provided in the embodiment of the present application includes: a processor 602, a communications interface 604, a memory 606, and a communication bus 608. Among them:
  • the processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
  • the communication interface 604 is used to communicate with other electronic devices or servers.
  • the processor 602 is used to execute the program 610, and specifically can execute the relevant steps in any of the aforementioned network configuration method embodiments.
  • the program 610 may include program codes, which include computer operation instructions.
  • Processor 602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • the one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
  • the memory 606 is used to store the program 610.
  • the memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.
  • the program 610 may be specifically configured to enable the processor 602 to execute the network configuration method in any of the foregoing embodiments.
  • each step in program 610 can refer to the corresponding description of the corresponding steps and units in any of the aforementioned network configuration method embodiments, which will not be repeated here.
  • Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the aforementioned method embodiments, which will not be repeated here.
  • the applications are divided into multiple program groups according to the different environmental information of each application, that is, the different hosts where the applications are located and the communication methods between the hosts. Therefore, each program group can correspond to a communication method between programs, and a large number of applications can be divided into a limited number of program groups.
  • the communication method of each application pair is determined according to the communication method between programs in the program group where the application pair is located. There is no need to manually determine the communication method between each application, which reduces the intensity of manual labor.
  • the process of configuring the communication network for each application is automatically executed by the system without manual participation, the time spent on configuring the communication network for a large number of applications can be reduced. Therefore, the method is suitable for configuring the communication network for a large number of applications.
  • the embodiment of the present application also provides a computer-readable storage medium storing instructions for causing a machine to execute the network configuration method as described herein.
  • a system or device equipped with a storage medium can be provided, on which a software program code implementing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.
  • the program code read from the storage medium itself can implement the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute part of the present application.
  • the storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM.
  • the program code can be downloaded from a server computer by a communication network.
  • the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
  • the embodiment of the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer executable instructions, which, when executed, cause at least one processor to execute the network configuration method provided in the above embodiments. It should be understood that each solution in this embodiment has the corresponding technical effect in the above method embodiment, which will not be repeated here.
  • the hardware module can be implemented mechanically or electrically.
  • a hardware module can include permanent dedicated circuits or logic (such as special processors, FPGA or ASIC) to complete the corresponding operation.
  • the hardware module can also include programmable logic or circuits (such as general-purpose processors or other programmable processors), which can be temporarily set by software to complete the corresponding operation.
  • the specific implementation method mechanical method, or dedicated permanent circuit, or temporarily set circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本申请提供了网络配置方法、装置、电子设备和存储介质,该网络配置方法包括:获取至少两个应用程序的环境信息,其中,环境信息用于指示应用程序所在的主机及主机之间的通信方式;根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组,其中,每个程序分组包括至少两个应用程序,不同的程序分组对应不同的程序间通信方式,同一程序分组中各应用程序之间通过该程序分组对应的程序间通信方式进行通信;根据至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对;根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置。本方案适用于对大量应用程序配置通信网络。

Description

网络配置方法、装置、电子设备和存储介质 技术领域
本申请涉及网络通信技术领域,尤其涉及一种网络配置方法、装置、电子设备和存储介质。
背景技术
容器是一种主流的应用程序部署方式,容器使用沙箱机制,相互之间不会有任何接口,即应用程序在容器中运行时与外界处于隔离状态,容器与主机之间或者容器与容器之间交换数据需要依赖数据分发服务,因此需要对运行于容器中和运行于主机中的各应用程序配置数据分发服务的通信网络。
目前,网络工程师人工配置各应用程序的数据分发服务的通信网络。
然而,网络配置是一项复杂而专业的工作,配置通信网络时如何避免网络攻击的风险,以及达到更好的数据交换性能和平衡,需要网络工程师以大量时间来测试和验证,因此对于大量的应用程序配置通信网络时人工劳动高,耗费时间长,因此现有的网络配置方法不适用于对大量应用程序配置通信网络。
发明内容
有鉴于此,本申请提供的网络配置方法、装置、电子设备和存储介质,适用于对大量应用程序配置通信网络。
根据本申请实施例的第一方面,提供了一种网络配置方法,包括:获取至少两个应用程序的环境信息,其中,所述环境信息用于指示所述应用程序所在的主机及主机之间的通信方式;根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,其中,每个所述程序分组包括至少两个应用程序,不同的程序分组对应不同的程序间通信方式,同一程序分组中各应用程序之间通过该程序分组对应的程序间通信方式进行通信;根据所述至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对;根据包括所述应用程序对的所述程序分组对应的程序间通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置。
在一种可能的实现方式中,所述根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,包括:根据所述环境信息,执行如下至少一项操作:(i)将位于同 一主机上的所述应用程序划分为一个程序分组;(ii)根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组。
在一种可能的实现方式中,所述根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组,包括:将位于不同主机且所在主机通过同一局域网进行通信的至少两个应用程序划分为一个程序分组;将位于不同主机且所在主机通过广域网进行通信的至少两个应用程序划分为一个程序分组。
在一种可能的实现方式中,所述根据包括所述应用程序对的所述程序分组对应的程序间通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置,包括:若所述应用程序对包括在第一程序分组中,则通过预先创建的内存交换配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过内存交换进行通信,其中,所述第一程序分组中的应用程序位于同一主机上;若所述应用程序对包括在第二程序分组中,则通过预先创建的局域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过局域网进行通信,其中,所述第二程序分组中的应用程序位于通过局域网通信的不同主机上;若所述应用程序对包括在第三程序分组中,则通过预先创建的广域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过广域网进行通信,其中,所述第三程序分组中的应用程序位于通过广域网通信的不同主机上。
在一种可能的实现方式中,所述方法还包括:若所述应用程序的运行环境为容器,则为该应用程序配置桥接网络,使该应用程序通过所述桥接网络接入该应用程序所在主机的默认网络和内存。
在一种可能的实现方式中,所述方法还包括:生成配置信息,其中,所述配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息;生成包括所述配置信息的配置清单,并将所述配置清单输出。
根据本申请实施例的第二方面,提供了一种网络配置装置,包括:获取模块,用于获取至少两个应用程序的环境信息,其中,所述环境信息用于指示所述应用程序所在的主机及主机之间的通信方式;分组模块,用于根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,其中,每个所述程序分组包括至少两个应用程序,不同的程序分组对应不同的通信方式,同一程序分组中各应用程序之间通过该程序分组对应的通信方式进行通信;配对模块,用于根据所述至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对;配置模块,用于根据包括所述应用程序对的所述程序分组对应的通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置。
在一种可能的实现方式中,所述网络配置装置还包括:第一生成模块,用于生成配置信 息,其中,所述配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息;第二生成模块,用于生成包括所述配置信息的配置清单,并将所述配置清单输出。
根据本申请实施例的第三方面,提供了一种电子设备,包括:处理器、通信接口、存储器和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述第一方面所提供网络配置方法对应的操作。
根据本申请实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机指令,所述计算机指令在被处理器执行时,使所述处理器执行上述第一方面所提供网络配置方法对应的操作。
根据本申请实施例的第五方面,提供了一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行如上述第一方面或第一方面的任一可能的实现方式提供的网络配置方法。
由上述技术方案,根据各应用程序的环境信息的不同,即应用程序所在的主机及主机之间的通信方式的不同,将应用程序划分为多个程序分组,由此可以将每个程序分组对应于一种程序间的通信方式,且可以将大量的应用程序划分为有限数量的程序分组,根据应用程序对所在程序分组的程序间通信方式,确定各应用程序对的通信方式,无需人工确定各应用程序间的通信方式,减少了人工劳动强度,并且由于对各应用程序配置通信网络的过程由系统自动执行无需人工参与,因此可以减少对大量应用程序配置通信网络时所耗费的时间,因此本方法适用于对大量应用程序配置通信网络。
附图说明
图1是本申请实施例提供的一种网络配置方法的流程图;
图2是本申请实施例提供的一种网络配置的拓扑图;
图3是本申请实施例提供的另一种网络配置方法的流程图;
图4是本申请实施例提供的一种网络配置装置的示意图;
图5是本申请实施例提供的另一种网络配置装置的示意图;
图6是本申请实施例提供的一种电子设备的示意图。
附图标记列表:
101:获取至少两个应用程序的环境信息
102:根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组
103:根据各应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对
104:根据应用程序对所在程序分组的程序间通信方式,对应用程序进行通信网络配置
105:生成配置信息
106:生成包括配置信息的配置清单,并将配置清单输出
100:网络配置方法       201-204:应用程序        205:第一主机
206:第二主机           207:云端                400:网络配置装置
401:获取模块           402:分组模块            403:配对模块
404:配置模块           405:第一生成模块        406:第二生成模块
600:电子设备           602:处理器              604:通信接口
606:存储器             608:通信总线            610:程序
N:内存通信             G:广域网通信            J:局域网通信
具体实施方式
如前,容器是一种主流的应用程序部署方式,由于容器使用沙箱机制,相互之间没有任何接口,即应用程序在容器中运行时与外界处于隔离状态,容器与主机之间或者容器与容器之间进行数据交换需要依赖数据分发服务,因此需要对运行于容器中和运行于主机中的应用程序配置数据分发服务的通信网络。目前,网络工程师人工配置各应用程序的数据分发服务的通信网络。然而,网络配置是一项复杂而专业的工作,配置通信网络时如何避免网络攻击的风险,以及达到更好的数据交换性能和平衡,需要网络工程师以大量时间来测试和验证,因此应用现有的网络配置方法对于大量的应用程序配置通信网络时人工劳动高,耗费时间长,因此现有的网络配置方法不适用于对大量应用程序配置通信网络。
在本申请实施例中,获取各应用程序的环境信息,根据该环境信息对各应用程序进行分组,获得程序分组,然后根据应用程序之间的通信需求确定应用程序对,并根据应用程序对所处的程序分组对应的程序间通信方式对该应用程序对中各应用程序配置网络,由此可见,根据环境信息的不同,即应用程序所在的主机及主机之间的通信方式的不同将应用程序划分为多个程序分组,由此可以将每个程序分组对应于一种程序间的通信方式,且可以将大量的应用程序划分为有限数量的程序分组,根据所在程序分组的程序间通信方式确定各应用程序对的通信方式,无需人工确定各应用程序间的通信方式,减少了人工劳动强度,对各应用程序配置通信网络的过程由系统自动执行无需人工参与,可以减少对大量应用程序配置通信网 络时所耗费的时间,因此本方法适用于对大量应用程序配置通信网络。
下面结合附图对本申请实施例提供的网络配置方法、装置和电子设备进行详细说明。
网络配置方法
图1是本申请实施例提供的一种网络配置方法的流程图。如图1所示,网络配置方法100包括如下步骤:
步骤101、获取至少两个应用程序的环境信息,其中,环境信息用于指示应用程序所在的主机及主机之间的通信方式。
根据多个应用程序的行为确定各应用程序的环境信息,应用程序的行为包括:交互行为,联网行为等等。环境信息用于指示应用程序所在的主机及主机之间的通信方式,该通信方式包括但不限于主机网络通信,局域网通信等等。
应理解,由于多个应用程序可能来自于多个主机,因此环境信息包括不同主机之间的通信方式,而如果多个应用程序来自于同一主机,且该主机无需与其他主机通信,则环境信息包括多个应用程序所在的主机。
步骤102、根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组,其中,每个程序分组包括至少两个应用程序,不同的程序分组对应不同的程序间通信方式,同一程序分组中各应用程序之间通过该程序分组对应的程序间通信方式进行通信。
根据各应用程序的环境信息对各应用程序进行分组,将应用程序间通过同一通信方式的多个应用程序划分为一个程序分组,不同的程序分组对应于不同的程序间通信方式,根据环境信息的不同,即应用程序所在的主机及主机之间的通信方式的不同,应用程序之间的通信方式不尽相同,例如:若两个应用程序处于同一主机上,则通过主机通信,若两个应用程序处于不同主机上在,则通过网络通信等等。
步骤103、根据至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对。
确定需要进行通信的多个应用程序,并将需要进行通信的多个应用程序两两配对,获得多个应用程序对。
需要说明的是,应用程序间的通信需求需要人为确定,人工根据应用程序之间的依赖关系和数据交换需求,设定通信需求,例如:第一应用程序的使用需要依赖第一应用程序,则设定为第一应用程序和第二应用程序具有通信需求,系统识别到该需求后,将第一应用程序和第二应用程序确定为一个应用程序对。
步骤104、根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置。
根据各应用程序对所在的应用程序分组的通信方式的不同,对应用程序对包括的两个应用程序进行通信网络配置,配置的网络与程序分组对应的程序间通信方式相对应,例如:程序分组对应的程序间通信方式为局域网通信,则对应用程序对包括的两个应用程序配置局域网网络。
应理解,由于存在同一应用程序与不同应用程序之间具有通信需求的情况,因此一个应用程序可能被分至不同的程序分组中,而不同的程序分组对应于不同的程序间通信方式,因此同一应用程序可能配置有多个网络,例如:第一应用程序需要与相同主机的第二应用程序和不同主机的第三应用程序进行通信,则第一应用程序配置网络时会配置同一主机通信网络和不同主机通信网络。
在本申请实施例中,根据各应用程序的环境信息的不同,即应用程序所在的主机及主机之间的通信方式的不同,将应用程序划分为多个程序分组,由此可以将每个程序分组对应于一种程序间的通信方式,且可以将大量的应用程序划分为有限数量的程序分组,根据应用程序对所在程序分组的程序间通信方式,确定各应用程序对的通信方式,无需人工确定各应用程序间的通信方式,减少了人工劳动强度,并且由于对各应用程序配置通信网络的过程由系统自动执行无需人工参与,因此可以减少对大量应用程序配置通信网络时所耗费的时间,因此本方法适用于对大量应用程序配置通信网络。
在一种可能的实现方式中,根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组时,可以根据环境信息,执行如下至少一项操作:
(i)将位于同一主机上的应用程序划分为一个程序分组;
(ii)根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组。
不同主机之间无法直接进行通信,需要通过网络进行通信,因此不同主机上的应用程序之间交换数据需要依赖所在主机的通信方式。分组时,将同一主机上的应用程序分为一组,即该程序分组中的应用程序之间通过所在的主机进行通信。不同主机上的应用程序根据通信方式的不同分为不同程序分组,即该程序分组中的应用程序之间通过所在的不同主机间的通信方式进行通信。
在本申请实施例中,将位于同一主机上的应用程序划分为一个程序分组,将位于不同主机上的应用程序根据所在主机间的通信方式划分为多个程序分组,由此可以在分组时将应用程序准确的分至对应的程序分组,避免了由于应用程序分组错误,导致不同主机上的应用程序分至同一主机上的应用程序所对应的程序分组,使应用程序间通信失败的情况发生,根据程序分组对各应用程序进行网络配置时更加准确,提高了对应用程序进行网络配置的准确率 和效率。
在一种可能的实现方式中,根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组时,将位于不同主机且所在主机通过同一局域网进行通信的至少两个应用程序划分为一个程序分组。将位于不同主机且所在主机通过广域网进行通信的至少两个应用程序划分为一个程序分组。
在本申请实施例中,根据不同主机之间的通信方式将位于不同主机上的应用程序进行分组,从而可以根据该分组对应的程序间通信方式不同,对位于不同主机上的应用程序配置不同的通信网络,细化了分组规则,使应用程序的网络配置更加准确,提高了对大量应用程序配置通信网络时的效率。
在一种可能的实现方式中,根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置时,若应用程序对包括在第一程序分组中,则通过预先创建的内存交换配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过内存交换进行通信,其中,第一程序分组中的应用程序位于同一主机上。
预先创建有内存交换配置模板,内存交换配置模板对应于同一主机上的应用程序划分的程序分组,该模板可以对位于同一主机上的两个需要进行通信的应用程序配置内存交换通信方式,即当两个应用程序位于同一主机上时,不需要网络进行通信,可以通过共享主机的内存进行数据交换。
可选的,若应用程序处于容器之中运行,则将“--ipc=host”命令添加到docker run脚本中,使容器连接到所在主机的内存中,从而可以对运行在同一主机上的容器之间或运行在同一主机上的容器和本地应用程序之间进行内存交换通信配置。
在本申请实施例中,当需要进行通信的两个应用程序位于同一主机上时,通过内存交换配置模板,配置两个应用程序之间的通信方式,使同一主机上的应用程序之间通过共享主机内存进行通信,从而使同一主机上的两个应用程序之间通信时的具有最佳的通信性能,提高了网络配置方法的实用性。
在一种可能的实现方式中,根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置时,若应用程序对包括在第二程序分组中,则通过预先创建的局域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过局域网进行通信,其中,第二程序分组中的应用程序位于通过局域网通信的不同主机上。
预先创建有局域网配置模板,局域网配置模板对应于位于不同主机且所在主机通过同一 局域网进行通信的应用程序划分的程序分组,该模板可以对位于不同主机上的两个需要进行通信的应用程序配置局域网通信,即当两个应用程序位不同主机上时,通过局域网进行数据交换。
具体的,可以为两个应用程序配置ipvlan或者macvlan网络,以优化通行时的网络性能和安全性。
应理解,IPvlan是对网络虚拟化技术的一种新转变。Linux实现轻量级,因为不是使用传统的Linux桥接器进行以隔离,而是与Linux以太网接口或子接口相关联,以强制实现网络之间的分离以及与物理网络的连接。IPvlan提供了许多独特的功能,并为各种模式的进一步创新提供了充足的空间。
还应理解,当应用程序运行于容器中时,可以使用macvlan网络驱动程序为每个容器的虚拟网络接口分配一个MAC地址,使其看起来是一个直接连接到物理网络的物理网络接口。在这种情况下,可以在容器主机上指定一个物理接口用于配置macvlan,以及macvlan的子网和网关。
在本申请实施例中,当需要进行通信的两个应用程序位于不同主机上,且所在主机之间的通信方式为局域网通信时,通过局域网配置模板,配置两个应用程序之间的通信方式,使两个应用程序通过局域网进行通信,实现了对不同主机上的应用程序配置通信网络,且配置时系统根据预先设定的局域网配置模板自动配置应用程序的网络,无需人工参与,从而使该网络配置方法可以适用于对大量应用程序进行网络配置。
在一种可能的实现方式中,根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置时,若应用程序对包括在第三程序分组中,则通过预先创建的广域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过广域网进行通信,其中,第三程序分组中的应用程序位于通过广域网通信的不同主机上。
预先创建有广域网配置模板,广域网配置模板对应于位于不同主机且所在主机通过广域网进行通信的应用程序划分的程序分组,该模板可以对位于不同主机上的两个需要进行通信的应用程序配置广域网通信,即当两个应用程序位不同主机上时,通过广域网进行数据交换。
具体的,可以对应用程序配置Overlay网络或3rd方插件Weave网络以进行应用程序间的通信。
应理解,Overlay网络驱动可以在多个主机之间创建一个分布式网络。该网络覆盖在主机的网络之上,可以使连接的主机进行安全通信。
还应理解,Weave Net可以创建一个虚拟网络,可以将多个主机上的容器跨主机相连接。 借助Weave Net网络,可以使基于微服务的应用程序在任何地方运行,例如:一台主机、多台主机,甚至是云端和数据中心等等。
可选的,若应用程序需要在安全的网络环境中运行,可以断开广域网运行,例如:一个数据库,同时运行在局域网上和广域网上,可以给运行在同一个局域网上的另一应用程序访问的权限,并断开与广域网的连接,以防止遭受网络攻击。
在本申请实施例中,当需要进行通信的两个应用程序位于不同主机上,且所在主机之间的通信方式为广域网通信时,通过广域网配置模板,配置两个应用程序之间的通信方式,使两个应用程序通过广域网进行通信,实现了对不同主机上的应用程序配置通信网络,且配置时系统根据预先设定的广域网配置模板自动配置应用程序的网络,无需人工参与,使该网络配置方法可以适用于对大量应用程序进行网络配置。
示例性的,图2是本申请实施例提供的一种网络配置的拓扑图,如图2所示,应用程序201和应用程序203需要进行通信,且均位于第一主机205上,因此为应用程序201和应用程序203配置内存交换通信N。应用程序201和应用程序204需要通信,应用程序201位于第一主机205上,应用程序204位于第二主机206上,第一主机205和第二主机206一局域网上,因此为应用程序201和应用程序204配置局域网通信J。应用程序202和应用程序204需要进行通信,应用程序202运行于云端207中,应用程序204位于第二主机206上,因此应用程序202和应用程序204配置广域网通信G。
在一种可能的实现方式中,若应用程序的运行环境为容器,则为该应用程序配置桥接网络,使该应用程序通过桥接网络接入该应用程序所在主机的默认网络和内存。
由于应用程序运行在容器中时与外界处于隔离状态,因此检测应用程序运行时的运行环境,若应用程序的运行环境为容器,则为该容器设置桥接网络,以使该容器可以通过桥接网络与所在主机相连接。
应理解,主机网络是主机的默认网络,直接在主机上运行的应用程序可以默认使用主机网络,无需配置。在容器中运行的应用程序可以通过在容器启动时指定网络参数(--network==host),通过此操作使容器可以通过桥接网络使用主机网络。
在本申请实施例中,检测应用程序的运行环境,若应用程序运行于容器中,则为容器设定桥接网络,以使容器可以通过桥接网络连接所在主机,从而使运行于容器中的应用程序可以通过所在主机与其他应用程序进行数据交换,进而可以使运行于主机本地的应用程序和运行于容器中的应用程序以相同的配置规则进行网络配置,降低了网络配置时的复杂度,提高了对大量应用进行网络配置的效率。
图3是本申请实施例提供的另一种网络配置方法的流程图,如图3所示,网络配置方法 300还包括如下步骤:
步骤301、获取至少两个应用程序的环境信息,其中,环境信息用于指示应用程序所在的主机及主机之间的通信方式。
步骤302、根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组,其中,每个程序分组包括至少两个应用程序,不同的程序分组对应不同的程序间通信方式,同一程序分组中各应用程序之间通过该程序分组对应的程序间通信方式进行通信。
步骤303、根据至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对。
步骤304、根据包括应用程序对的程序分组对应的程序间通信方式,对应用程序对包括的两个应用程序进行通信网络配置。
需要说明的是,上述步骤301至步骤304可参考上述实施例中的步骤101至步骤104,在此不再进行赘述。
步骤305、生成配置信息,其中,配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息。
生成包括各应用程序的程序分组信息、应用程序对信息和各应用程序的通信网络配置信息的配置信息。
步骤306、生成包括配置信息的配置清单,并将配置清单输出。
将配置信息作为配置清单输出。
在本申请实施例中,将程序分组信息、应用程序对信息和通信网络配置信息作为配置清单输出,该清单可以帮助用户在网络配置失败时,或者应用程序无法使用配置的网络通信时诊断所配置的网络的故障,从而可以降低网络诊断的知识门槛和工作量,提高了网络配置方法的实用性。
网络配置装置
图4是本申请实施例提供的一种网络配置装置的示意图。如图4所示,网络配置装置400包括:
获取模块401,用于获取至少两个应用程序的环境信息,其中,环境信息用于指示应用程序所在的主机及主机之间的通信方式。
分组模块402,用于根据环境信息对至少两个应用程序进行分组,获得至少一个程序分组,其中,每个程序分组包括至少两个应用程序,不同的程序分组对应不同的通信方式,同一程序分组中各应用程序之间通过该程序分组对应的通信方式进行通信。
配对模块403,用于根据至少两个应用程序之间的通信需求,确定至少一个需要进行通 信的应用程序对。
配置模块404,用于根据包括应用程序对的程序分组对应的通信方式,对应用程序对包括的两个应用程序进行通信网络配置。
在本申请实施例中,获取模块401可用于执行上述方法实施例中的步骤101,分组模块402可用于执行上述方法实施例中的步骤102,配对模块403可用于执行上述方法实施例中的步骤103,配置模块404可用于执行上述方法实施例中的步骤104。
在一种可能的实现方式中,分组模块402,可以用于根据环境信息,执行如下至少一项操作:(i)将位于同一主机上的应用程序划分为一个程序分组;(ii)根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组。
在一种可能的实现方式中,分组模块402,可以用于将位于不同主机且所在主机通过同一局域网进行通信的至少两个应用程序划分为一个程序分组;将位于不同主机且所在主机通过广域网进行通信的至少两个应用程序划分为一个程序分组。
在一种可能的实现方式中,分组模块402,可以用于若应用程序对包括在第一程序分组中,则通过预先创建的内存交换配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过内存交换进行通信,其中,第一程序分组中的应用程序位于同一主机上;若应用程序对包括在第二程序分组中,则通过预先创建的局域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过局域网进行通信,其中,第二程序分组中的应用程序位于通过局域网通信的不同主机上;若应用程序对包括在第三程序分组中,则通过预先创建的广域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过广域网进行通信,其中,第三程序分组中的应用程序位于通过广域网通信的不同主机上。
在一种可能的实现方式中,若应用程序的运行环境为容器,则为该应用程序配置桥接网络,使该应用程序通过桥接网络接入该应用程序所在主机的默认网络和内存。
图5是本申请实施例提供的另一种网络配置装置的示意图。如图5所示,在图4所示网络配置装置400的基础上,该网络配置装置400还包括:
第一生成模块405,用于生成配置信息,其中,配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息。
第二生成模块406,用于生成包括配置信息的配置清单,并将配置清单输出。
在本申请实施例中,获取模块401可用于执行上述方法实施例中的步骤301,分组模块402可用于执行上述方法实施例中的步骤302,配对模块403可用于执行上述方法实施例中的步骤303,配置模块404可用于执行上述方法实施例中的步骤304,第一生成模块405可用于 执行上述方法实施例中的步骤305,第二生成模块406可用于执行上述方法实施例中的步骤306。
电子设备
图6是本申请实施例提供的一种电子设备的示意图,本申请具体实施例并不对电子设备的具体实现做限定。
参见图6,本申请实施例提供的电子设备600包括:处理器(processor)602、通信接口(Communications Interface)604、存储器(memory)606、以及通信总线608。其中:
处理器602、通信接口604、以及存储器606通过通信总线608完成相互间的通信。
通信接口604,用于与其它电子设备或服务器进行通信。
处理器602,用于执行程序610,具体可以执行前述任一网络配置方法实施例中的相关步骤。
具体地,程序610可以包括程序代码,该程序代码包括计算机操作指令。
处理器602可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。智能设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。
存储器606,用于存放程序610。存储器606可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
程序610具体可以用于使得处理器602执行前述任一实施例中的网络配置方法。
程序610中各步骤的具体实现可以参见前述任一网络配置方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。
通过本申请实施例的电子设备,根据各应用程序的环境信息的不同,即应用程序所在的主机及主机之间的通信方式的不同,将应用程序划分为多个程序分组,由此可以将每个程序分组对应于一种程序间的通信方式,且可以将大量的应用程序划分为有限数量的程序分组,根据应用程序对所在程序分组的程序间通信方式,确定各应用程序对的通信方式,无需人工确定各应用程序间的通信方式,减少了人工劳动强度,并且由于对各应用程序配置通信网络的过程由系统自动执行无需人工参与,因此可以减少对大量应用程序配置通信网络时所耗费的时间,因此本方法适用于对大量应用程序配置通信网络。
计算机可读存储介质
本申请实施例还提供了一种计算机可读存储介质,存储用于使一机器执行如本文所述的网络配置方法的指令。具体地,可以提供配有存储介质的系统或者装置,在该存储介质上存储着实现上述实施例中任一实施例的功能的软件程序代码,且使该系统或者装置的计算机(或CPU或MPU)读出并执行存储在存储介质中的程序代码。
在这种情况下,从存储介质读取的程序代码本身可实现上述实施例中任何一项实施例的功能,因此程序代码和存储程序代码的存储介质构成了本申请的一部分。
用于提供程序代码的存储介质实施例包括软盘、硬盘、磁光盘、光盘(如CD-ROM、CD-R、CD-RW、DVD-ROM、DVD-RAM、DVD-RW、DVD+RW)、磁带、非易失性存储卡和ROM。可选择地,可以由通信网络从服务器计算机上下载程序代码。
此外,应该清楚的是,不仅可以通过执行计算机所读出的程序代码,而且可以通过基于程序代码的指令使计算机上操作的操作系统等来完成部分或者全部的实际操作,从而实现上述实施例中任意一项实施例的功能。
此外,可以理解的是,将由存储介质读出的程序代码写到插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展模块中设置的存储器中,随后基于程序代码的指令使安装在扩展板或者扩展模块上的CPU等来执行部分和全部实际操作,从而实现上述实施例中任一实施例的功能。
计算机程序产品
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行上述各实施例提供的网络配置方法。应理解,本实施例中的各方案具有上述方法实施例中对应的技术效果,此处不再赘述。
需要说明的是,上述各流程和各系统结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。上述各实施例中描述的系统结构可以是物理结构,也可以是逻辑结构,即,有些模块可能由同一物理实体实现,或者,有些模块可能分由多个物理实体实现,或者,可以由多个独立设备中的某些部件共同实现。
以上各实施例中,硬件模块可以通过机械方式或电气方式实现。例如,一个硬件模块可以包括永久性专用的电路或逻辑(如专门的处理器,FPGA或ASIC)来完成相应操作。硬件模块还可以包括可编程逻辑或电路(如通用处理器或其它可编程处理器),可以由软件进行临时的设置以完成相应操作。具体的实现方式(机械方式、或专用的永久性电路、或者临时设置的电路)可以基于成本和时间上的考虑来确定。
上文通过附图和优选实施例对本申请进行了详细展示和说明,然而本申请不限于这些已揭示的实施例,基与上述多个实施例本领域技术人员可以知晓,可以组合上述不同实施例中的代码审核手段得到本申请更多的实施例,这些实施例也在本申请的保护范围之内。

Claims (11)

  1. 一种网络配置方法(100),包括:
    获取至少两个应用程序的环境信息,其中,所述环境信息用于指示所述应用程序所在的主机及主机之间的通信方式;
    根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,其中,每个所述程序分组包括至少两个应用程序,不同的程序分组对应不同的程序间通信方式,同一程序分组中各应用程序之间通过该程序分组对应的程序间通信方式进行通信;
    根据所述至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对;
    根据包括所述应用程序对的所述程序分组对应的程序间通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置。
  2. 根据权利要求1所述的方法,其中,所述根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,包括:
    根据所述环境信息,执行如下至少一项操作:
    (i)将位于同一主机上的所述应用程序划分为一个程序分组;
    (ii)根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组。
  3. 根据权利要求2所述的方法,其中,所述根据所在主机之间的通信方式,对位于不同主机上的应用程序进行分组,获得至少一个程序分组,包括:
    将位于不同主机且所在主机通过同一局域网进行通信的至少两个应用程序划分为一个程序分组;
    将位于不同主机且所在主机通过广域网进行通信的至少两个应用程序划分为一个程序分组。
  4. 根据权利要求3所述的方法,其中,所述根据包括所述应用程序对的所述程序分组对应的程序间通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置,包括:
    若所述应用程序对包括在第一程序分组中,则通过预先创建的内存交换配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过内存交换进行通信,其中,所述第一程序分组中的应用程序位于同一主机上;
    若所述应用程序对包括在第二程序分组中,则通过预先创建的局域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过局域网进行通信,其中,所述第二程序分组中的应用程序位于通过局域网通信的不同主机上;
    若所述应用程序对包括在第三程序分组中,则通过预先创建的广域网配置模板,对该应用程序对包括的两个应用程序进行通信网络配置,使该应用程序对通过广域网进行通信,其 中,所述第三程序分组中的应用程序位于通过广域网通信的不同主机上。
  5. 根据权利要求1所述的方法,其中,所述方法还包括:若所述应用程序的运行环境为容器,则为该应用程序配置桥接网络,使该应用程序通过所述桥接网络接入该应用程序所在主机的默认网络和内存。
  6. 根据权利要求1-5中任一所述的方法,其中,所述方法还包括:
    生成配置信息,其中,所述配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息;
    生成包括所述配置信息的配置清单,并将所述配置清单输出。
  7. 一种网络配置装置(400),包括:
    获取模块(401),用于获取至少两个应用程序的环境信息,其中,所述环境信息用于指示所述应用程序所在的主机及主机之间的通信方式;
    分组模块(402),用于根据所述环境信息对所述至少两个应用程序进行分组,获得至少一个程序分组,其中,每个所述程序分组包括至少两个应用程序,不同的程序分组对应不同的通信方式,同一程序分组中各应用程序之间通过该程序分组对应的通信方式进行通信;
    配对模块(403),用于根据所述至少两个应用程序之间的通信需求,确定至少一个需要进行通信的应用程序对;
    配置模块(404),用于根据包括所述应用程序对的所述程序分组对应的通信方式,对所述应用程序对包括的两个应用程序进行通信网络配置。
  8. 根据权利要求6所述的装置,其中,所述网络配置装置(400)还包括:
    第一生成模块(405),用于生成配置信息,其中,所述配置信息用于指示程序分组信息、应用程序对信息和通信网络配置信息;
    第二生成模块(406),用于生成包括所述配置信息的配置清单,并将所述配置清单输出。
  9. 一种电子设备(600),其特征在于,包括:处理器(602)、通信接口(604)、存储器(606)和通信总线(608),所述处理器(602)、所述存储器(606)和所述通信接口(604)通过所述通信总线(608)完成相互间的通信;
    所述存储器(606)用于存放至少一可执行指令,所述可执行指令使所述处理器(602)执行如权利要求1-6中任一项所述的网络配置方法(100)对应的操作。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机指 令,所述计算机指令在被处理器执行时,使所述处理器执行权利要求1-7中任一项所述的方法。
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行根据权利要求1-6中任一项所述的方法。
PCT/CN2022/121753 2022-09-27 2022-09-27 网络配置方法、装置、电子设备和存储介质 Ceased WO2024065182A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202280099718.3A CN119866620A (zh) 2022-09-27 2022-09-27 网络配置方法、装置、电子设备和存储介质
EP22959832.1A EP4580135A4 (en) 2022-09-27 2022-09-27 METHOD AND APPARATUS FOR NETWORK CONFIGURATION, ELECTRONIC DEVICE AND STORAGE MEDIA
PCT/CN2022/121753 WO2024065182A1 (zh) 2022-09-27 2022-09-27 网络配置方法、装置、电子设备和存储介质
US19/114,553 US12549443B2 (en) 2022-09-27 2022-09-27 Network configuration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/121753 WO2024065182A1 (zh) 2022-09-27 2022-09-27 网络配置方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2024065182A1 true WO2024065182A1 (zh) 2024-04-04

Family

ID=90475087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121753 Ceased WO2024065182A1 (zh) 2022-09-27 2022-09-27 网络配置方法、装置、电子设备和存储介质

Country Status (4)

Country Link
US (1) US12549443B2 (zh)
EP (1) EP4580135A4 (zh)
CN (1) CN119866620A (zh)
WO (1) WO2024065182A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119172203A (zh) * 2024-11-14 2024-12-20 河南嵩山实验室产业研究院有限公司洛阳分公司 基于dds通信中间件的网络参与者容器间自发现通信方法、系统、设备及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024065182A1 (zh) * 2022-09-27 2024-04-04 西门子股份公司 网络配置方法、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454207A (zh) * 2017-08-14 2017-12-08 郑州云海信息技术有限公司 一种配置Overlay网络容器外部IP的方法及Docker集群
US20180359218A1 (en) * 2017-06-12 2018-12-13 Ca, Inc. Systems and methods for securing network traffic flow in a multi-service containerized application
CN110601949A (zh) * 2019-09-10 2019-12-20 中国人民解放军国防科技大学 一种多虚拟设备容器组网方法
CN111294827A (zh) * 2019-02-28 2020-06-16 展讯通信(上海)有限公司 一种应用程序的自适应网络通信方法及装置
CN111885075A (zh) * 2020-07-30 2020-11-03 广州华多网络科技有限公司 容器通信方法、装置、网络设备及存储介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274230A1 (en) * 2006-05-23 2007-11-29 Werber Ryan A System and method for modifying router firmware
US20070274285A1 (en) * 2006-05-23 2007-11-29 Werber Ryan A System and method for configuring a router
US20140095716A1 (en) * 2012-09-28 2014-04-03 International Business Machines Corporation Maximizing resources in a multi-application processing environement
US9990243B2 (en) * 2015-04-02 2018-06-05 Fixstream Networks Inc. Using spanning tree protocol to determine a layer 2 topology of an ethernet type network
US10007538B2 (en) * 2016-01-29 2018-06-26 Oracle International Corporation Assigning applications to virtual machines using constraint programming
US10476738B1 (en) * 2016-06-13 2019-11-12 Amazon Technologies, Inc. Virtual network segmentation
KR102563790B1 (ko) * 2018-05-18 2023-08-07 삼성전자주식회사 어플리케이션의 데이터 전송에 기반하여 네트워크 연결을 수행하기 위한 전자 장치 및 그에 관한 방법
US11422868B2 (en) * 2018-08-24 2022-08-23 Exosite LLC Product-as-a-service for connected devices
US10728145B2 (en) 2018-08-30 2020-07-28 Juniper Networks, Inc. Multiple virtual network interface support for virtual execution elements
US11394627B1 (en) * 2019-07-31 2022-07-19 Express Scripts Strategie Development, Inc. Systems and methods for monitoring inter-application communications in complex computing ecosystems
WO2021049794A1 (ko) * 2019-09-10 2021-03-18 삼성전자 주식회사 전력 및/또는 발열 제어를 구현하는 방법 및 그 전자 장치
CN114205226B (zh) * 2020-09-18 2023-03-28 华为技术有限公司 一种保障业务应用体验的方法和系统
CN114237812B (zh) * 2021-11-10 2025-07-22 上海浦东发展银行股份有限公司 容器网络管理系统
WO2024065182A1 (zh) * 2022-09-27 2024-04-04 西门子股份公司 网络配置方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180359218A1 (en) * 2017-06-12 2018-12-13 Ca, Inc. Systems and methods for securing network traffic flow in a multi-service containerized application
CN107454207A (zh) * 2017-08-14 2017-12-08 郑州云海信息技术有限公司 一种配置Overlay网络容器外部IP的方法及Docker集群
CN111294827A (zh) * 2019-02-28 2020-06-16 展讯通信(上海)有限公司 一种应用程序的自适应网络通信方法及装置
CN110601949A (zh) * 2019-09-10 2019-12-20 中国人民解放军国防科技大学 一种多虚拟设备容器组网方法
CN111885075A (zh) * 2020-07-30 2020-11-03 广州华多网络科技有限公司 容器通信方法、装置、网络设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4580135A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119172203A (zh) * 2024-11-14 2024-12-20 河南嵩山实验室产业研究院有限公司洛阳分公司 基于dds通信中间件的网络参与者容器间自发现通信方法、系统、设备及可读存储介质
CN119172203B (zh) * 2024-11-14 2025-03-21 河南嵩山实验室产业研究院有限公司洛阳分公司 基于dds通信中间件的网络参与者容器间自发现通信方法、系统、设备及可读存储介质

Also Published As

Publication number Publication date
EP4580135A1 (en) 2025-07-02
CN119866620A (zh) 2025-04-22
US20250267066A1 (en) 2025-08-21
US12549443B2 (en) 2026-02-10
EP4580135A4 (en) 2026-01-14

Similar Documents

Publication Publication Date Title
CN107749807B (zh) 一种面向nfv的网络功能验证方法及验证系统
CN106301829A (zh) 一种网络业务扩容的方法和装置
US20230142573A1 (en) Method, apparatus, and system for constructing knowledge graph, and computer storage medium
US12549443B2 (en) Network configuration method and apparatus
CN109474443B (zh) 一种新增服务器的配置方法、装置、系统和通信设备
US12199863B2 (en) Ghost routing
CN106716926A (zh) 硬件库存的自动化独立式引导电路
EP4333403B1 (en) Auto-scaling service mesh for virtual machines
US10289762B2 (en) Interconnection network simulator and method for simulating interconnection networks
CN113238897B (zh) 芯片的系统级测试方法、装置、计算机设备及存储介质
CN115629970A (zh) 脚本测试方法、装置及电子设备
CN118426685A (zh) 集群部署方法和计算设备
CN117857290A (zh) 网络靶场中基于配置代理的自动配置方法与系统
CN113472558B (zh) 网络部署的方法及装置
CN116319356A (zh) 一种基于园区网络的业务部署方法、设备及介质
US11411819B2 (en) Automatic network configuration in data protection operations
JP2018018415A (ja) 情報処理装置、情報処理システム、プログラム及び情報処理方法
WO2022017254A1 (zh) 业务模板的生成方法、装置、设备及存储介质
CN100417100C (zh) 一种大量设备的软件仿真方法
CN116614387B (zh) 基于网络拓扑的验证方法、装置、电子设备及存储介质
JP7723035B2 (ja) 負荷検証システム及び負荷検証方法
CN119402386B (zh) 网卡测试方法、装置、计算机设备及存储介质
CN119814534B (zh) 云物理机的故障诊断方法、装置、存储介质及电子设备
CN120856582B (zh) 云网络仿真测试系统、方法、设备、存储介质和程序产品
CN119697017B (zh) 一种部署验收边缘upf设备的方法及装置

Legal Events

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

Ref document number: 22959832

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280099718.3

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2022959832

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022959832

Country of ref document: EP

Effective date: 20250325

WWP Wipo information: published in national office

Ref document number: 202280099718.3

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 2022959832

Country of ref document: EP