CN115277428A - Method and apparatus for configuring a network - Google Patents

Method and apparatus for configuring a network Download PDF

Info

Publication number
CN115277428A
CN115277428A CN202210892868.1A CN202210892868A CN115277428A CN 115277428 A CN115277428 A CN 115277428A CN 202210892868 A CN202210892868 A CN 202210892868A CN 115277428 A CN115277428 A CN 115277428A
Authority
CN
China
Prior art keywords
network
topology map
topological graph
resource
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210892868.1A
Other languages
Chinese (zh)
Inventor
孙玉娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202210892868.1A priority Critical patent/CN115277428A/en
Publication of CN115277428A publication Critical patent/CN115277428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0889Techniques to speed-up the configuration process
    • 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/12Discovery or management of network topologies
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

The application discloses a method and a device for configuring a network, and relates to the technical field of computers. The method comprises the following steps: acquiring a network topological graph; analyzing the network topological graph to obtain network configuration parameters; a target network is created based on the network configuration data. By adopting the method, the network can be established based on the graphical network topological graph, and the efficiency and the accuracy of the network configuration are improved.

Description

Method and apparatus for configuring a network
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to a method and apparatus for configuring a network.
Background
Cloud computing is a service related to information technology, software and the internet, and integrates a plurality of computing resources, realizes automatic management through software, and improves the utilization efficiency of resources such as computing or storage. Before using cloud computing service, a network needs to be configured, and the existing network configuration method is to configure parameters of each network node one by one based on an operation manual.
The existing method for configuring the network has the problems of low configuration efficiency and low configuration accuracy.
Disclosure of Invention
The present disclosure provides a method, apparatus, electronic device, and computer-readable storage medium for configuring a network.
According to a first aspect of the present disclosure, there is provided a method for configuring a network, comprising: acquiring a network topological graph; analyzing the network topological graph to obtain network configuration parameters; a target network is created based on the network configuration data.
In some embodiments, obtaining a network topology map comprises: displaying a network topological graph drawing interface; and acquiring a network topological graph drawn by a user based on the network topological graph drawing interface.
In some embodiments, the method for configuring a network further comprises: and acquiring the configuration information of each network resource in the network topological graph from the user.
In some embodiments, parsing the network topology map to obtain the network configuration parameters includes: analyzing the network topological graph, obtaining the identification of at least one network resource in the network topological graph, and obtaining the connection relation among all the network resources in the at least one network resource.
In some embodiments, creating a target network based on the network configuration data comprises: creating at least one network resource based on the identification of the at least one network resource; and establishing communication connection relations among the network resources based on the connection relations among the network resources.
In some embodiments, the network topology map comprises a cloud computing network topology map and the network configuration parameters comprise network configuration parameters of cloud resources.
According to a second aspect of the present disclosure, there is provided an apparatus for configuring a network, comprising: an acquisition unit configured to acquire a network topology map; the analysis unit is configured to analyze the network topological graph to obtain network configuration parameters; a configuration unit configured to create a target network based on the network configuration data.
In some embodiments, the obtaining unit comprises: a display module configured to display a network topology map drawing interface; and the acquisition module is configured to acquire the network topological graph drawn by the user based on the network topological graph drawing interface.
In some embodiments, the means for configuring the network further comprises: and the configuration information acquisition module is configured to acquire the configuration information of each network resource in the network topological graph from the user.
In some embodiments, a parsing unit comprises: the analysis module is configured to analyze the network topology map, obtain an identifier of at least one network resource in the network topology map, and obtain a connection relation between the network resources in the at least one network resource.
In some embodiments, a configuration unit comprises: a first creation module configured to create at least one network resource based on an identification of the at least one network resource; and the second establishing module is configured to establish communication connection relations among the network resources based on the connection relations among the network resources.
In some embodiments, the network topology map comprises a cloud computing network topology map and the network configuration parameters comprise network configuration parameters of cloud resources.
According to a third aspect of the present disclosure, an embodiment of the present disclosure provides an electronic device, including: one or more processors: a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement a method for configuring a network as provided by the first aspect.
According to a fourth aspect of the present disclosure, embodiments of the present disclosure provide a computer readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method for configuring a network as provided in the first aspect.
The method and the device for configuring the network provided by the disclosure comprise the following steps: acquiring a network topological graph, analyzing the network topological graph and acquiring network configuration parameters; the target network is established based on the network configuration data, the network can be established based on the graphical network topological graph, the network resource is prevented from being established and configured one by maintenance personnel, and the efficiency and the accuracy of network configuration are improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be considered limiting of the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for configuring a network according to the present application;
FIG. 3 is a flow diagram of another embodiment of a method for configuring a network according to the present application;
FIG. 4 is a flow chart of one application scenario of a method for configuring a network according to the present application;
FIG. 5 is a flow chart of one application scenario of a method for configuring a network according to the present application;
FIG. 6 is a flow chart of one application scenario of a method for configuring a network according to the present application;
FIG. 7 is a schematic diagram of a network topology map rendering in one application scenario of a method for configuring a network according to the present application;
FIG. 8 is a schematic block diagram illustrating one embodiment of an apparatus for configuring a network according to the present application;
fig. 9 is a block diagram of an electronic device for implementing a method for configuring a network according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for configuring a network or the apparatus for configuring a network of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be user terminal devices on which various client applications may be installed, such as drawing-like applications, data maintenance-like applications, image-like applications, video-like applications, search-like applications, financial-like applications, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting reception of server messages, including but not limited to smartphones, tablets, e-book readers, electronic players, laptop and desktop computers, and the like.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, and 103 are hardware, various electronic devices may be used, and when the terminal devices 101, 102, and 103 are software, the electronic devices may be installed in the above-listed electronic devices. It may be implemented as multiple pieces of software or software modules (e.g., multiple software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may obtain a network topology map, analyze the network topology map, and obtain network configuration parameters; a target network is created based on the network configuration data.
It should be noted that the method for configuring a network provided by the embodiment of the present disclosure may be performed by the server 105, and accordingly, the apparatus for configuring a network may be disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for configuring a network according to the present disclosure is shown, comprising the steps of:
step 201, acquiring a network topology map.
In this embodiment, an execution subject (e.g., a server shown in fig. 1) of the method for configuring a network may acquire a network topology map in a wired or wireless manner, where the network topology map refers to a network structure map composed of network node devices and communication media.
Step 202, analyzing the network topological graph to obtain the network configuration parameters.
In this embodiment, the obtained network topology map may be analyzed to obtain configuration parameters of each network node and a connection configuration relationship between each network node.
Step 203, a target network is created based on the network configuration data.
In this embodiment, a target network conforming to the network topology can be created according to the device/resource names on the network nodes indicated in the network topology and the connection configuration relationship between the nodes.
The method for configuring the network provided by the embodiment acquires a network topological graph, analyzes the network topological graph and acquires network configuration parameters; the target network is established based on the network configuration data, the network can be established based on the graphical network topological graph, the network resource is prevented from being established and configured one by maintenance personnel, and the efficiency and the accuracy of network configuration are improved.
With continued reference to fig. 3, a flow 300 of another embodiment of a method for configuring a network according to the present disclosure is shown, comprising the steps of:
and step 301, displaying a network topology drawing interface.
In this embodiment, an execution subject (e.g., a server shown in fig. 1) of the method for configuring a network may display a network topology drawing interface based on a terminal device or a display device.
Step 302, based on the network topology drawing interface, obtaining the network topology drawing drawn by the user.
In this embodiment, the network topology map drawn by the user may be obtained based on the network topology map drawing interface. The user can generate various network resources on the drawing interface by adopting a dragging mode based on the network resources (such as servers, gateways, switches and the like) provided by the network topology drawing interface, and draw connecting lines among the network resources based on the network topology relation.
Step 303, acquiring a network topology map.
And step 304, analyzing the network topological graph to obtain network configuration parameters.
Step 305, a target network is created based on the network configuration data.
In this embodiment, the descriptions of step 303, step 304, and step 305 are the same as the descriptions of step 201, step 202, and step 203, and are not repeated here.
Compared with the method of the embodiment described in fig. 2, the method for configuring a network provided in this embodiment adds the steps of providing a network topology drawing interface and obtaining a network topology drawing by a user based on the drawing interface, so that the user can improve the efficiency of creating a network and the convenience of creating a network.
Optionally, the method for configuring a network further comprises: and acquiring the configuration information of each network resource in the network topological graph from the user.
In this embodiment, the network topology drawing interface may further obtain configuration information input by the user for each network resource, for example: description information, specification information of the network resource, etc.
In some optional implementations of the embodiments described above in conjunction with fig. 2 and fig. 3, the parsing the network topology map to obtain the network configuration parameters includes: analyzing the network topological graph, obtaining the identifier of at least one network resource in the network topological graph, and obtaining the connection relation among the network resources in the at least one network resource.
In this embodiment, the network topology map may be analyzed, the identifier, name, description information, specification, and the like of the network resource on each node in the network topology map may be obtained, and the connection relationship between the networks in the topology map may be obtained.
Optionally, creating the target network based on the network configuration data includes: creating at least one network resource based on the identification of the at least one network resource; and establishing a communication connection relation among the network resources based on the connection relation among the network resources.
In this embodiment, a network resource corresponding to each identifier of at least one network resource may be created based on each identifier of the network resource, and a communication connection relationship between the network resources may be created based on a connection relationship between the network resources in the topology diagram.
In some alternative implementations of the embodiments described above in connection with fig. 2 and 3, the network topology map comprises a cloud computing network topology map, and the network configuration parameters comprise network configuration parameters of cloud resources.
In this embodiment, the method for configuring a network may be applied to a cloud computing application scenario, where the network topology refers to a topology of a cloud computing network, and the network configuration parameters refer to configuration parameters of various cloud resources/cloud computing resources in the cloud computing network.
In some application scenarios, as shown in fig. 4, in a stage of drawing a network topology diagram by a user, the user may select a shape based on a graph provided by a drawing interface, so as to enable the system to generate a resource configuration corresponding to the shape, and the user performs a connection between the graphs in the drawing interface, so as to enable the system to generate a routing configuration based on the connection. In the stage of configuring the network by the system, after confirming the network topological graph based on the interface, the system issues the configuration parameters, creates the corresponding resources based on the configuration parameters, and then issues the resource data to the module transponder to complete the network creation.
In some application scenarios, as shown in fig. 5, the system obtains a network topology relationship based on the drawing interface, transmits the topology relationship to the system controller based on the intermediate layer, and the controller issues the topology relationship to each corresponding module repeater for generating a configuration table entry corresponding to a network resource in the topology relationship
In some application scenarios, as shown in fig. 6, a user draws a shape required by topology from a shape bar based on a network topology drawing interface, where shape elements constituting the topology drawing are resource modules given by a cloud network provider, each resource module corresponds to a configuration resource in a network configuration, as shown in fig. 7, a vpc (virtual private network) shape element represents a vpc resource module, and a corresponding configuration resource is a vpc capable of configuring a network cidr (classless inter-domain routing); a subnet (sub network) shape element represents a subnet resource module, and the corresponding configuration resource is a subnet capable of configuring the network cidr; the vpc interface shape element represents a vpc interface resource module, and the corresponding configuration resource is a vpc interface which can configure a relevant vpc network segment; the vpn (virtual private network) tunnel shape element represents a vpn tunnel resource module, and the corresponding configuration resource is a vpn tunnel capable of configuring vpn tunnel information.
When the specific drawing is carried out, a user can find out elements needing shapes from the module bar of the component to assemble, for example, drag a vpc shape, click and edit the configured cidr 1.0.0.0/16 according to the requirement, and configure the identifier of the vpc as name1 and the description information as description1, and after the operation is finished, the system can generate a configuration with the identifier of name1, the description information as description1 and the cidr as 10.0.0.0/16; continuing to drag the subnet shape into the vpc shape to represent the inclusion relationship, wherein the subnet represents that the subnet is the subnet in the vpc, and configuring the network cidr 2.0.0.0/24 and the routing information based on the requirement, and after the operation, the system can create the configuration with the cidr of 10.0.0.0/24; continuing to drag a border gateway bgw (border gateway) shape, configuring BGP (border gateway protocol) ASN1 or routing information, and after the operation, creating a BGP ASN (autonomous system number) as the border gateway bgw configuration of the ASN1 by the system; dragging an IDC (Internet data center) shape to designate a user gateway ip (Internet protocol ) configuration network segment cidr 3.168.0.0/24, and establishing designated ip user gateway configuration by the system; and dragging the two vpn tunnel shapes, creating two vpn tunnel configurations with the user gateway ip by the system, connecting the bgw shape with the IDC shape, wherein a connecting line indicates that the route can be reached, and the next hop from the bgw to the IDC route created by the system is the vpn tunnel route configuration. Connecting the bgw shape with the vpc shape, the system creates a route configuration on the bgw to the vpc.
After the configuration is completed, whether the network topology is correct or not can be confirmed based on an automatic verification function of the system or based on an operator, and the configuration parameters of the network topology are issued after the correctness is confirmed.
The system issues the configuration parameters to a system controller, the system controller can establish resources corresponding to each identifier, each description information and each network address according to the configuration parameters, wherein the resources comprise vpc, cidr, subnet and the like, establish bgw1 according to bgw configuration, establish vpn tunnel 1 and vpn tunnel 2 according to vpn tunnel configuration, establish routes to IDC in a subnet routing table of subnet1 according to connecting lines, establish routes to IDC and vpc on bgw, establish and complete related resources, issue resource information to each related module data transponder, and generate items required for forwarding.
In the application scenario, a cloud host can be created, a template is created, if the shape of the cloud host with the specified model is put into the shape of the existing or newly-built subnet, the specific model of the cloud host is newly added in the subnet, and then the system issues the creation of the cloud host according to the configuration.
With further reference to fig. 8, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for configuring a network, which corresponds to the method embodiments shown in fig. 2 and fig. 3, and which is specifically applicable to various electronic devices.
As shown in fig. 8, the apparatus for configuring a network according to this embodiment includes: an acquisition unit 801, an analysis unit 802, and a configuration unit 803. The acquisition unit is configured to acquire a network topology map; the analysis unit is configured to analyze the network topological graph to obtain network configuration parameters; a configuration unit configured to create a target network based on the network configuration data.
In some embodiments, the obtaining unit comprises: the display module is configured to display a network topological graph drawing interface; and the acquisition module is configured to acquire the network topological graph drawn by the user based on the network topological graph drawing interface.
In some embodiments, the means for configuring the network further comprises: and the configuration information acquisition module is configured to acquire the configuration information of each network resource in the network topology map from the user.
In some embodiments, the parsing unit comprises: the analysis module is configured to analyze the network topology map, obtain an identifier of at least one network resource in the network topology map, and obtain a connection relation between the network resources in the at least one network resource.
In some embodiments, a configuration unit comprises: a first creation module configured to create at least one network resource based on an identification of the at least one network resource; and the second establishing module is configured to establish the communication connection relation among the network resources based on the connection relation among the network resources.
In some embodiments, the network topology map comprises a cloud computing network topology map and the network configuration parameters comprise network configuration parameters of the cloud resources.
The units in the apparatus 800 described above correspond to the steps in the method described with reference to fig. 2 and 3. Thus, the operations, features and technical effects that can be achieved by the method for configuring a network described above are also applicable to the apparatus 800 and the units included therein, and are not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 9, a block diagram of an electronic device 900 for configuring a network according to an embodiment of the application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 9, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 9 illustrates an example of a processor 901.
Memory 902 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for configuring a network provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for configuring a network provided by the present application.
The memory 902, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for configuring a network in the embodiment of the present application (for example, the obtaining unit 801, the parsing unit 802, and the configuration unit 803 shown in fig. 8). The processor 901 executes various functional applications of the server and data processing by executing non-transitory software programs, instructions, and modules stored in the memory 902, that is, implements the method for configuring the network in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device for extracting the video clip, and the like. Further, the memory 902 may include high speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to an electronic device for retrieving video clips over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method for configuring a network may further include: an input device 903, an output device 904, and a bus 905. The processor 901, the memory 902, the input device 903, and the output device 904 may be connected by a bus 905 or in other ways, and are exemplified by the bus 905 in fig. 9.
The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus for extracting the video clip, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A method for configuring a network, comprising:
acquiring a network topological graph;
analyzing the network topological graph to obtain network configuration parameters;
a target network is created based on the network configuration data.
2. The method of claim 1, wherein the obtaining a network topology map comprises:
displaying a network topological graph drawing interface;
and acquiring the network topological graph drawn by the user based on the network topological graph drawing interface.
3. The method of claim 2, wherein the method further comprises:
and acquiring the configuration information of each network resource in the network topological graph from the user.
4. The method of claim 1, wherein the parsing the network topology map to obtain network configuration parameters comprises:
analyzing the network topological graph, obtaining the identifier of at least one network resource in the network topological graph, and obtaining the connection relation among the network resources in the at least one network resource.
5. The method of claim 4, wherein the creating a target network based on the network configuration data comprises:
creating the at least one network resource based on the identification of the at least one network resource;
and establishing communication connection relation among the network resources based on the connection relation among the network resources.
6. The method of any of claims 1-5, wherein the network topology map comprises a cloud computing network topology map and the network configuration parameters comprise network configuration parameters of cloud resources.
7. An apparatus for configuring a network, comprising:
an acquisition unit configured to acquire a network topology map;
the analysis unit is configured to analyze the network topological graph to obtain network configuration parameters;
a configuration unit configured to create a target network based on the network configuration data.
8. The apparatus of claim 7, wherein the obtaining unit comprises:
a display module configured to display a network topology map drawing interface;
the acquisition module is configured to acquire the network topology map drawn by the user based on the network topology map drawing interface.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a configuration information obtaining module configured to obtain configuration information of each network resource in the network topology map from the user.
10. The apparatus of claim 7, wherein the parsing unit comprises:
the analysis module is configured to analyze the network topology map, obtain an identifier of at least one network resource in the network topology map, and obtain a connection relation between the network resources in the at least one network resource.
11. The apparatus of claim 10, wherein the configuration unit comprises:
a first creation module configured to create the at least one network resource based on the identification of the at least one network resource;
and the second establishing module is configured to establish the communication connection relation among the network resources based on the connection relation among the network resources.
12. The apparatus of one of claims 7-11, wherein the network topology map comprises a cloud computing network topology map and the network configuration parameters comprise network configuration parameters of cloud resources.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202210892868.1A 2022-07-27 2022-07-27 Method and apparatus for configuring a network Pending CN115277428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210892868.1A CN115277428A (en) 2022-07-27 2022-07-27 Method and apparatus for configuring a network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210892868.1A CN115277428A (en) 2022-07-27 2022-07-27 Method and apparatus for configuring a network

Publications (1)

Publication Number Publication Date
CN115277428A true CN115277428A (en) 2022-11-01

Family

ID=83771936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210892868.1A Pending CN115277428A (en) 2022-07-27 2022-07-27 Method and apparatus for configuring a network

Country Status (1)

Country Link
CN (1) CN115277428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514586A (en) * 2022-11-24 2022-12-23 河北纬坤电子科技有限公司 Access control policy configuration method and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205204A (en) * 2010-03-24 2011-10-13 Fujitsu Frontech Ltd Method, device and program for resources distribution
CN106685716A (en) * 2016-12-29 2017-05-17 平安科技(深圳)有限公司 Network topology self-adapting data visualization method and device
CN107426335A (en) * 2017-08-15 2017-12-01 成都千牛信息技术有限公司 A kind of system and application method for automatically generating cloud environment configuration file
US20180018082A1 (en) * 2016-07-15 2018-01-18 Cisco Technology, Inc. Interface for network configuration via graphical representations of network topology and internetworking services
US20180337824A1 (en) * 2017-05-18 2018-11-22 Datera, Inc. System and method for an improved placement of storage nodes in network
CN109861861A (en) * 2019-01-31 2019-06-07 北京全路通信信号研究设计院集团有限公司 A kind of quickly configuration method can be used for network communication equipment and system
WO2020010887A1 (en) * 2018-07-09 2020-01-16 中兴通讯股份有限公司 Network deployment method and apparatus
CN111046243A (en) * 2019-11-29 2020-04-21 苏州浪潮智能科技有限公司 Method, equipment and medium for configuring SONIC (self-organizing network) based on network topology map
CN111541569A (en) * 2020-04-22 2020-08-14 国家电网有限公司信息通信分公司 Network node configuration method and device
CN112825502A (en) * 2019-11-20 2021-05-21 中兴通讯股份有限公司 Network slice creation method, basic network controller, system, and storage medium
CN112968798A (en) * 2021-02-04 2021-06-15 西安热工研究院有限公司 Virtual and real network environment automatic generation method suitable for electric power industrial control target range platform
CN113498137A (en) * 2020-04-08 2021-10-12 华为技术有限公司 Method and device for obtaining cell relation model and recommending cell switching guide parameters
CN114553752A (en) * 2020-11-26 2022-05-27 南方电网数字电网研究院有限公司 Network performance testing method and device based on simulation software and computer equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205204A (en) * 2010-03-24 2011-10-13 Fujitsu Frontech Ltd Method, device and program for resources distribution
US20180018082A1 (en) * 2016-07-15 2018-01-18 Cisco Technology, Inc. Interface for network configuration via graphical representations of network topology and internetworking services
CN106685716A (en) * 2016-12-29 2017-05-17 平安科技(深圳)有限公司 Network topology self-adapting data visualization method and device
US20180337824A1 (en) * 2017-05-18 2018-11-22 Datera, Inc. System and method for an improved placement of storage nodes in network
CN107426335A (en) * 2017-08-15 2017-12-01 成都千牛信息技术有限公司 A kind of system and application method for automatically generating cloud environment configuration file
WO2020010887A1 (en) * 2018-07-09 2020-01-16 中兴通讯股份有限公司 Network deployment method and apparatus
CN109861861A (en) * 2019-01-31 2019-06-07 北京全路通信信号研究设计院集团有限公司 A kind of quickly configuration method can be used for network communication equipment and system
CN112825502A (en) * 2019-11-20 2021-05-21 中兴通讯股份有限公司 Network slice creation method, basic network controller, system, and storage medium
CN111046243A (en) * 2019-11-29 2020-04-21 苏州浪潮智能科技有限公司 Method, equipment and medium for configuring SONIC (self-organizing network) based on network topology map
CN113498137A (en) * 2020-04-08 2021-10-12 华为技术有限公司 Method and device for obtaining cell relation model and recommending cell switching guide parameters
CN111541569A (en) * 2020-04-22 2020-08-14 国家电网有限公司信息通信分公司 Network node configuration method and device
CN114553752A (en) * 2020-11-26 2022-05-27 南方电网数字电网研究院有限公司 Network performance testing method and device based on simulation software and computer equipment
CN112968798A (en) * 2021-02-04 2021-06-15 西安热工研究院有限公司 Virtual and real network environment automatic generation method suitable for electric power industrial control target range platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵一方;张冬梅;: "一种抵抗路由欺骗的网络拓扑发现算法", 信息网络安全, no. 07 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514586A (en) * 2022-11-24 2022-12-23 河北纬坤电子科技有限公司 Access control policy configuration method and electronic equipment
CN115514586B (en) * 2022-11-24 2023-03-21 河北纬坤电子科技有限公司 Access control policy configuration method and electronic equipment

Similar Documents

Publication Publication Date Title
US10797970B2 (en) Interactive hierarchical network chord diagram for application dependency mapping
CN113141386B (en) Kubernetes cluster access method, device, equipment and medium in private network
CN111753997B (en) Distributed training method, system, device and storage medium
US9473369B2 (en) Application topology based on network traffic
CN111767069B (en) Applet processing method, server, device and storage medium
CN107040416B (en) Virtual data center visual management method based on Cairngorm framework
CN112000365A (en) Service grid configuration method, device, equipment and medium based on micro-service architecture
US20140355441A1 (en) Method and apparatus of delivering assured services over unreliable internet infrastructure by using virtual overlay network architecture over a public cloud backbone
US9973460B2 (en) Familiarity-based involvement on an online group conversation
US11177974B2 (en) Consistent provision of member node group information on virtual overlay network
CN110619002A (en) Data processing method, device and storage medium
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
US10608942B1 (en) Reducing routes based on network traffic utilization
CN115277428A (en) Method and apparatus for configuring a network
CN111610972A (en) Page generation method, device, equipment and storage medium
US8683425B2 (en) System for generating application architecture design work products
CN112532720A (en) Data forwarding method, device, equipment and storage medium
CN112084000A (en) Container cluster testing method and device
CN112532528A (en) Message routing method and device for rule engine
WO2023169193A1 (en) Method and device for generating smart contract
CN115543423A (en) Method, device and equipment for generating benchmarks and storage medium
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
US10084676B2 (en) Auditing networking devices
CN112231336A (en) Method, device, storage medium and electronic equipment for identifying user
CN109271310B (en) Development testing method and device for network function of mobile application program

Legal Events

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