CN112350872A - Network architecture configuration information generation method and device, storage medium and electronic equipment - Google Patents

Network architecture configuration information generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112350872A
CN112350872A CN202011325038.8A CN202011325038A CN112350872A CN 112350872 A CN112350872 A CN 112350872A CN 202011325038 A CN202011325038 A CN 202011325038A CN 112350872 A CN112350872 A CN 112350872A
Authority
CN
China
Prior art keywords
port
information
target
capacity expansion
model
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.)
Granted
Application number
CN202011325038.8A
Other languages
Chinese (zh)
Other versions
CN112350872B (en
Inventor
苏保林
江芳正
熊振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011325038.8A priority Critical patent/CN112350872B/en
Publication of CN112350872A publication Critical patent/CN112350872A/en
Application granted granted Critical
Publication of CN112350872B publication Critical patent/CN112350872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a network architecture configuration information generation method, a network architecture configuration information generation device, a storage medium and electronic equipment. The method comprises the following steps: acquiring a link capacity expansion demand parameter of a capacity expansion project, and determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the dictionary set to be selected, the port state information and the initial available port dictionary set, and generating target interconnection relation information corresponding to the capacity expansion project; according to the target interconnection relation information, network architecture configuration information of the capacity expansion project is generated, and the capacity expansion accuracy and the working efficiency of the link are improved.

Description

Network architecture configuration information generation method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating network architecture configuration information, a storage medium, and an electronic device.
Background
At present, when a network construction engineer performs bandwidth expansion of network links between machine room network modules, network hardware schemes such as how to connect core network devices of the machine room network modules at each end, a bill of materials to be purchased integrally, how to assemble and install purchased materials and the like need to be manually calculated according to various types of devices and quantities actually constructed. Along with the rapid development of company services, the quantity of expansion requirements of network links among machine room network modules is more and more, the requirement scenes are various (including but not limited to scenes such as expansion related to the types of architecture roles at two ends, total bandwidth required for link expansion, module required rate and distance, delivery time and the like), the reference of the use conditions of actual ports of network equipment at two ends related to expansion is provided, meanwhile, the requirements of the services on efficiency and accuracy are stricter, the workload is large through manual calculation for each expansion list, the calculation process is complex, errors are easy to occur, the working efficiency and quality are influenced, and the development and stability of the whole company services are influenced finally.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating network architecture configuration information, a storage medium and an electronic device, which can generate network architecture configuration information corresponding to capacity expansion projects according to different link capacity expansion demand parameters, improve the accuracy of generation of a network device hardware scheme in a link capacity expansion process, and improve working efficiency and quality.
The embodiment of the application provides a method for generating network architecture configuration information, which provides a network architecture application through a terminal device, wherein the network architecture application comprises an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and the method comprises the following steps:
acquiring a link capacity expansion demand parameter of a capacity expansion project, wherein the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module;
determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment according to the link capacity expansion demand parameter;
generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model;
generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model;
generating an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set;
generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set;
and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information.
The embodiment of the present application further provides a device for generating network architecture configuration information, which provides a network architecture application through a terminal device, where the network architecture application includes an interconnection specification model, a port grouping model, a port mapping model, a material model, and an architecture role model, and the device includes:
an obtaining module, configured to obtain a link capacity expansion requirement parameter of a capacity expansion project, where the link capacity expansion requirement parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module;
a determining module, configured to determine, according to the link capacity expansion requirement parameter, a target network device corresponding to the capacity expansion item and port state information of the target network device;
the first generation module is used for generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model;
the second generation module is used for generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model;
a third generating module, configured to generate an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information, and the initial available port dictionary set;
the fourth generation module is used for generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set;
and the fifth generation module is used for generating the network architecture configuration information of the capacity expansion project according to the target interconnection relationship information.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, where the computer program is suitable for being loaded by a processor to perform the steps in the network architecture configuration information generating method according to any of the above embodiments.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor executes, by calling the computer program stored in the memory, the steps in the method for generating network architecture configuration information according to any of the above embodiments.
The network architecture configuration information generation method, device, storage medium, and electronic device provided in the embodiments of the present application provide a network architecture application through a terminal device, where the network architecture application includes an interconnection specification model, a port grouping model, a port mapping model, a material model, and an architecture role model, and obtains a link capacity expansion demand parameter of a capacity expansion project, where the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the expansion project and port state information of the target network equipment according to the link expansion requirement parameter; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the port dictionary set to be selected, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information. According to the method and the device, the network architecture configuration information corresponding to the capacity expansion project can be generated according to the capacity expansion demand parameters of different links, the accuracy of the generation of the hardware scheme of the network equipment in the link capacity expansion process is improved, and the working efficiency and the quality are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an application interface schematic diagram of a link capacity expansion demand scenario provided in an embodiment of the present application.
Fig. 2 to fig. 5 are schematic application interfaces of the interconnection specification model provided in the embodiment of the present application.
Fig. 6 is a schematic application interface diagram of a port grouping model according to an embodiment of the present application.
Fig. 7 is an application interface schematic diagram of a port mapping model according to an embodiment of the present application.
Fig. 8 is a schematic application interface diagram of a non-module material model according to an embodiment of the present application.
Fig. 9 is an application interface schematic diagram of a module material model provided in the embodiment of the present application.
Fig. 10 is a schematic diagram of a first application interface of an architecture role model according to an embodiment of the present application.
Fig. 11 is a schematic diagram of a second application interface of the architecture role model according to the embodiment of the present application.
Fig. 12 is a schematic diagram of a third application interface of the architecture role model according to the embodiment of the present application.
Fig. 13 is a schematic diagram of a fourth application interface of the architecture role model according to the embodiment of the present application.
Fig. 14 is a schematic overall architecture diagram of a network link capacity expansion hardware scheme generation system according to an embodiment of the present application.
Fig. 15 is a first flowchart of a method for generating network architecture configuration information according to an embodiment of the present application.
Fig. 16 is a second flowchart of the method for generating network architecture configuration information according to the embodiment of the present application.
Fig. 17 is a third flow chart of the method for generating network architecture configuration information according to the embodiment of the present application.
Fig. 18 is a fourth flowchart illustrating a network architecture configuration information generating method according to an embodiment of the present application.
Fig. 19 is a schematic diagram of an actual interconnection relationship information interface provided in the embodiment of the present application.
Fig. 20 is a schematic diagram of a trigger interface of the newly created capacity expansion planning scheme according to the embodiment of the present application.
Fig. 21 is a schematic view of an installation scheme interface provided in an embodiment of the present application.
Fig. 22 is a schematic diagram of a bill of material interface provided in an embodiment of the present application.
Fig. 23 is a schematic structural diagram of a network architecture configuration information generating device according to an embodiment of the present application.
Fig. 24 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method and a device for generating network architecture configuration information, a storage medium and electronic equipment. Specifically, the network architecture configuration information generating method according to the embodiment of the present application may be executed by an electronic device, where the electronic device may be a terminal or a server. The terminal may be a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), an intelligent wearable device, and the like, and the terminal may further include a client, which may be a network architecture application client, a browser client carrying a network architecture application program, or an instant messaging client. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
For example, when the network architecture configuration information generation method is operated on a terminal device, a network architecture application for performing network architecture definition and generating a network device hardware solution is deployed on the terminal device, five models are further defined in the network architecture application, the five models include an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, the terminal device is used for presenting a graphical user interface of the network architecture application, and the graphical user interface may include model interfaces corresponding to the five models respectively. The terminal device is used for interacting with a user through a graphical user interface. For example, the terminal device may include a touch display screen for presenting a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the network architecture application, generating the graphical user interface, responding to the operation instructions, and controlling display of the graphical user interface on the touch display screen. Specifically, a user opens the network architecture application on a terminal device, and generates network architecture configuration information corresponding to a capacity expansion project based on a link capacity expansion demand parameter and hardware attribute information of each hardware model when capacity expansion of a network link is performed through each hardware model and corresponding hardware attribute information in the network architecture application which are planned and defined in advance. Specifically, a link capacity expansion demand parameter of the capacity expansion project is obtained, where the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the expansion project and port state information of the target network equipment according to the link expansion requirement parameter; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the port dictionary set to be selected, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information. According to the method and the device, the network architecture configuration information corresponding to the capacity expansion project can be generated according to the capacity expansion demand parameters of different links, the accuracy of the generation of the hardware scheme of the network equipment in the link capacity expansion process is improved, and the working efficiency and the quality are improved.
For example, when the network architecture configuration information generation method runs on a server of a cloud platform, the running body of the network architecture application and the graphical user interface presentation body related to the network architecture application are separated, and the storage and running of the network architecture configuration information generation method are completed on the cloud server. The graphical user interface presentation is completed on a network architecture application client of the cloud platform, and the network architecture application client is mainly used for receiving and sending network architecture related data and presenting the graphical user interface, for example, the network architecture application client may operate on a display device with a data transmission function near a user side, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, and the like, but the device for processing the network architecture related data is a server at the cloud end. When network architecture configuration is carried out, a user operates a network architecture application client to send an operation instruction to a server of a cloud platform, the server of the cloud platform carries out data processing according to the operation instruction, processed network architecture configuration information is returned to the network architecture application client through a network, and finally the network architecture configuration information is displayed through the client. Specifically, a network architecture application for defining a network architecture and generating a network device hardware scheme is deployed on the terminal device, and five models including an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model are further defined in the network architecture application. The method comprises the steps that a user opens a network architecture application on a terminal device, and through each hardware model and corresponding hardware attribute information in the network architecture application which are planned and defined in advance, when network link capacity expansion is carried out, a cloud server generates network architecture configuration information corresponding to capacity expansion projects based on link capacity expansion demand parameters and the hardware attribute information of each hardware model, and sends the network architecture configuration information corresponding to the capacity expansion projects to the terminal device for display. Specifically, the terminal device generates an instruction based on configuration information triggered by a user, and sends the instruction and related attribute information to the server, so that the server obtains a link capacity expansion requirement parameter of a capacity expansion project, where the link capacity expansion requirement parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the expansion project and port state information of the target network equipment according to the link expansion requirement parameter; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the port dictionary set to be selected, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; according to the target interconnection relation information, network architecture configuration information of the capacity expansion project is generated, and the network architecture configuration information of the capacity expansion project is sent to the terminal equipment, so that the network architecture configuration information of the corresponding capacity expansion project is generated according to different link capacity expansion demand parameters, the accuracy of generation of a network equipment hardware scheme in a link capacity expansion process is improved, and the working efficiency and quality are improved.
The network architecture application can be presented by a client or a browser page through providing visual network architecture application, so that an architect can conveniently define hardware attribute information associated with network equipment through the network architecture application presented by the client or the page to complete a structural hardware model, namely after the network architecture definition is completed, a network construction engineer automatically generates a network equipment hardware scheme required by meeting requirements when the network bandwidth expansion requirements are appointed among network modules and architecture roles under different scenes by combining port use states corresponding to expansion equipment and adopting a unified abstract hardware model core algorithm when link expansion is performed.
As shown in fig. 1, an application interface schematic diagram of a link capacity expansion demand scenario between certain computer room network modules shows a link capacity expansion demand parameter related to the current link capacity expansion, where the link capacity expansion demand parameter may include information such as a capacity expansion scenario, a capacity expansion total bandwidth, a single port rate, a module distance, a computer room network module, and the like. For example, the main requirements are: the expansion scene is a DR-intranet core, the total expansion bandwidth from a source network module 'singapore-XXXXX-QCDR' to a destination network module 'singapore-XXXXXXX-L' is 1600G, wherein the single port speed of the port modules of the expansion equipment related to the two ends is required to be 100G, and the module distance is required to be 2 km. The link capacity expansion algorithm analyzes and obtains network hardware model data and network equipment port occupation state data according to the requirements, finally calculates and generates network equipment ports at two ends of the current network link capacity expansion, namely connection relations, further reverses key values on the connection relations to generate a target installation scheme, summarizes the target installation scheme to generate a target material list, and accordingly generates a specific network equipment hardware scheme corresponding to the current network bandwidth capacity expansion requirement scene.
Specifically, the network architecture application defines 5 major models, which are respectively: the system comprises an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model.
The interconnection specification model is used for describing interconnection relationships (i.e., connection rules) between roles of different architectures under a certain network architecture. Specifically, the user may define, in advance, interconnection specification information between the home-end architecture role and the peer-end architecture role in the interconnection specification model, where the interconnection specification information may include information such as a type of the home-end architecture role, a type of the peer-end architecture role, a block code, a home-end port group, an interconnection specification, a number of links, and the like. The data of the home-end interconnection specification record of the interconnection specification model shown in fig. 2 includes a front end of the home-end interconnection specification record of the interconnection specification model shown in fig. 2, a recorded home-end architecture role (such as DR), an opposite-end architecture role (such as an intranet core), a home-end port group (such as 1-ALL,2-ALL), and a database end of the home-end interconnection specification record of the interconnection specification model shown in fig. 3, where corresponding data of the home-end architecture role, the opposite-end architecture role, the home-end port group, and the like of the front end in fig. 2 are recorded in a database. The interconnection specification record of the interconnection specification model shown in fig. 4 includes a front end, a recorded home-end architecture role (such as an intranet core), an opposite-end architecture role (such as DR), a home-end port group (such as 1-MAN,2-MAN,3-MAN,4-MAN), and a database end of the interconnection specification record of the opposite-end interconnection specification of the interconnection specification model shown in fig. 5, where corresponding data of the home-end architecture role, the opposite-end architecture role, the home-end port group, and the like of the front end in fig. 4 are recorded in the database. The interconnection specification model has several important field attributes:
(1) the home terminal architecture role and the opposite terminal architecture role: network element types corresponding to two ends of network connection define that any end is a local end architecture role, and the other end is an opposite end architecture role. Each architecture role may include one or more network devices, and a network device refers to a device that performs an information exchange function in a communication system. The architecture role refers to different types of network element roles under the network architecture.
(2) Grouping and coding: the interlinkage specification generally exists in pairs, so that two interlinkage specification records with the same group coding are the same group.
(3) Home port group: and the specific network element serial numbers of the local terminal architecture role network elements are interconnected with the opposite terminal architecture role network elements.
(4) Interconnection specification: it is described how a single network element at the home terminal is interconnected with a network element at an opposite terminal, which is generally "bandwidth-shared", and represents that a specific network device included in the single network element at the home terminal is interconnected with each network element at the opposite terminal one by one.
(5) The number of links: the number of the connections of the single network element at the home terminal and the single network element at the opposite terminal.
Specifically, a user may define port grouping information of each architecture role in the port grouping model in advance, where the port grouping information may include port grouping detail information, a port rate, and a port distance of each architecture role, and the port grouping detail information may include information such as a port name, a port group number, a port function region, and a use order of a logical port. The port grouping model of the DR architecture role as shown in fig. 6 has several important attributes:
(1) port group number: the number size represents the priority of the selected port in the scheme calculation process, and a smaller number represents a higher priority. The same number represents the same functional group, i.e. the same number requires a peer network element role.
(2) Port name: the logical port name is described.
(3) Functional area: describing the type of connection the current port is used to connect, such as ALL stands for any type architectural role.
The port mapping model is used for describing a mapping relation between a logical port and an actual physical port in a port grouping model corresponding to a specific architecture role of a specific manufacturer model under a certain network architecture. The actual physical port names may differ from vendor to vendor. As shown in fig. 7, a CE12808 model of hua is described under the DR QCDR-overlap 1.0 network architecture, and the architecture role is the port mapping model of QCDR, and the physical port name corresponding to the logical port of 1-ALL1 shown in the figure is "1-10 GE 1/0/0".
The material model is used for describing the associated attributes of hardware material devices related to the network devices in a structured manner, specifically, a user may define material attribute information of the hardware material devices related to each network device in the material model in advance, where the hardware material devices may include a machine frame, a board card, a power supply, a fan, a network device interface module, and the like, and the material attribute information may include information of a general model, a standard model, a material Part Number (PN), a material description, a material type, a speed, a distance, a container size, a manufacturer, a port prefix, a standard port prefix, a light splitting port Number, a wavelength, an interface type, and the like of the hardware material devices. For example, the material model shown in fig. 8 is a non-module material model, and describes information such as a general model, a standard model, a material PN, a speed, a container size, a manufacturer, and a port prefix of a machine frame, a board, a power supply, a fan, and the like. The material model shown in fig. 9 is a module material model, which describes attributes corresponding to each interface module, and mainly includes information such as a general model, a standard model, a material PN, a rate, a distance, a manufacturer, a port prefix, and the like of the network device interface module.
The architecture role model is used for generating a unique architecture snapshot identifier for a specific network architecture, manufacturer model and architecture role, and a specific hardware matching definition corresponding to the architecture snapshot identifier is the architecture role model. The hardware matching means that the specific network element roles of the network architecture are composed of specific types of materials in a set. Specifically, the user may define hardware supporting information corresponding to the framework snapshot identifier in the material model in advance, and the hardware supporting information corresponding to the framework snapshot identifier may be divided from the composition of the information, and the hardware supporting information corresponding to the framework snapshot identifier may include basic information associated with the framework snapshot identifier of each framework role, machine frame slot position material composition information, board card port material composition information, and the like. The basic information may include a machine frame manufacturer model (model information), network element stacking information, and the like, as shown in fig. 10 and 11, the basic information associated with the architecture snapshot "DR QCDR-overlap 1.0_ CE12808-AC _ QCDR" may be displayed through the network element ID (2970) shown in fig. 10, so that the basic information corresponding to the network element ID (2970) is displayed in fig. 11. The machine frame slot material composition information may include type number information such as a fan type, a power supply type, and a board card type corresponding to each slot, and as shown in fig. 12, the machine frame slot material composition information related to the framework snapshot includes, for example, what type of fan, power supply, board card, and the like can be inserted into each slot. The board card port material composition information may include a board card model and a module model corresponding to each slot hardware, as shown in fig. 13, the board card port material composition information related to the framework snapshot includes, for example, which slot can be inserted with a board card of what model, and what model can be inserted with a module on the board card. The hardware supporting information corresponding to the snapshot identifier may include slot position relation information and model information. For example, the slot position relationship information may be a relationship between the slot position and hardware material devices such as fans, boards, power supplies, modules and the like of various types, and the type information is a type of the hardware material devices such as the fans, the boards, the power supplies, the modules and the like matched with the slot position.
For example, the network architecture application may further provide a custom interface, where the custom interface is used for a user to customize the hybrid planning logic instance on the interface, specifically, the user selects an architecture snapshot and starts a custom name for each architecture role through the interface, and displays the defined architecture snapshot through the architecture model. For example, the network architecture application may further provide a trigger interface, where the trigger interface is used for a user to input a trigger instruction for generating a logic instance on the interface, the trigger instruction may carry vendor information selected by the user, a request for generating the logic instance, and the like, and the trigger interface further provides a query interface of the generated logic instance, so that the user clicks the query interface of the logic instance of the corresponding vendor, and thus, the corresponding logic instance information may be viewed.
Fig. 14 is a schematic diagram illustrating an overall architecture of a network link capacity expansion hardware scheme generation system according to an embodiment of the present application. The system can divide the whole framework into four layers, which are respectively: the system comprises a structured data layer, a model data cache layer, a hardware model core algorithm layer and a link capacity expansion scheme generation interface layer. The hardware model core algorithm layer calculates the five defined hardware models to generate a network equipment hardware scheme related to a new project of the network construction, wherein the network equipment hardware scheme comprises an interconnection relation, an installation scheme, a purchase list and the like. The specific layering conditions were as follows:
(1) the first layer is a structured data layer, which is used for structured management of data of each hardware model, and related model data of various hardware models (an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model) defined by a front end can be stored in a database cluster, as shown in fig. 10, the structured data layer is divided into two database clusters, one master and one backup, the master DB cluster (DB Set1) is responsible for real-time model data reading and writing, the backup DB cluster (DB Set2) is responsible for real-time model data synchronization from the master DB cluster, and the backup DB cluster is only responsible for reading of hardware model data.
(2) The second layer is a model data cache layer, and is used for caching the model data of the planning instance calculation related model into a memory system when the hardware model core algorithm layer performs real-time calculation, and finally providing high-efficiency data access service for the hardware model core algorithm layer through a cache query function interface in a unified manner. Specifically, in order to avoid frequently and directly reading the structured data layer when the hardware model core algorithm layer performs real-time calculation and reduce the pressure of database access, the model data caching layer is responsible for caching the model data of the interconnection standard model, the port grouping model, the port mapping model, the architecture role model and the material model defined by the specific network architecture related to the planning example calculation into a memory system, and finally, the high-efficiency data access service is uniformly provided for the hardware model core algorithm layer through the caching query function interface.
(3) The third layer is a hardware model core algorithm layer, and is configured to calculate and generate total interconnection relationship information between all interconnected home devices and peer devices in the whole architecture role, where the total interconnection relationship information may include a dictionary data structure of hardware attribute information and physical port dimensions, where the hardware attribute information may be material attribute information and hardware supporting information corresponding to physical ports and physical ports of all interconnected home devices and peer devices, for example, hardware attributes corresponding to materials such as boards, frames, fans, and power supplies corresponding to the physical ports and physical ports of all interconnected home devices and peer devices, and for example, the hardware attributes may include information such as a standard model, a slot Number, a product Serial Number (SN), and a manufacturer. The hardware model core algorithm layer is also used for calculating a target installation scheme and a target bill of materials for generating the link capacity expansion project. The specific hardware model core algorithm logic is detailed as follows:
firstly, for a hardware model core algorithm, a total hardware scheme of a network device under the planning of the whole network architecture needs to be generated in advance (that is, total interconnection relationship information is generated), and the total hardware scheme is stored for being called when network construction or link capacity expansion is performed. Described in the hardware model core algorithm layer shown in fig. 14 is the logic if port selection is solved by object-oriented design, which is explained in detail as follows:
there are three classes of objects in the hardware model core algorithm: a first class object, a second class object, and a third class object. The first class object comprises a pair of second class objects with connection relation, and the second class objects comprise a plurality of third class objects. As shown in fig. 14, the first type object is a Group object, the second type object is an ArchNe object, and the third type object is a Chassis object.
The first type of object is a Group object, the Group object represents a framework role object in the interconnection specification model, and each Group object describes a rule how a local end framework role and an opposite end framework role in each pair of interconnection specification models are interconnected. For example, as shown in fig. 14, there are a plurality of Group objects such as Group1 through Group pn, for example, a Group1 object, where 2 LA network elements (ArchNe objects) at the local end are interconnected with 2 LC network element (ArchNe objects) at the opposite end, where the number of links is 2, that is, the number of connections between each LA network element and each LC network element is 2, so that the Group1 object has 2 × 8 connections. In addition, the Group pn shown in fig. 14 is another Group object, and is an interconnection rule between 2 XGWL network elements at the local end and two LC network elements at the opposite end, where the number of links is 2, that is, the number of connections between each XGWL network element and each LC network element is 2, so that the Group pn object has 2 × 2 — 8 connections.
The second type of object is an ArchNe object, which represents a network element of a certain type of architecture role, and may be composed of one device or multiple devices. For example, the LA ArchNe1 object shown in fig. 14 is composed of 2 LA network devices, and the LC ArchNe1 object is composed of 1 LC network device.
The third class object is a Chassis object, and the Chassis object represents a single network device of a certain class of architectural role, such as the Chassis1 object under the LC ArchNe1 object shown in fig. 14.
The hardware model core algorithm logic is as follows: traversing each Group object, calling each ArchNe object to pick a port (pick _ port) method to pick a port, wherein the internal pick port logic of the pick _ port method is as follows: taking the local side architecture role as LA for example, the target logical ports (such as "LC 1" and "LC 2") of the opposite side architecture role specified by the interconnection specification model based on the link capacity expansion requirement parameter are obtained through the port grouping model, and the physical port names of the candidate ports (such as "huntredgige 1/0/25" and "huntredgige 1/0/27") corresponding to the target logical ports of "LC 1" and "LC 2" are obtained according to the port mapping model, where the physical port names of the candidate ports are defined as the candidate ports, and the candidate ports may have a set formed by a plurality of ports. And traversing the dictionary set of the ports to be selected, and filtering the ports which meet the conditions through a filtering Condition algorithm one by one according to a certain Condition (Condition). The filtering condition algorithm is specifically as follows:
preferably, an initial set of available ports is created for each target network device, and the construction rule is as follows: acquiring hardware supporting information corresponding to a framework snapshot identifier of a target network device in a framework role model according to a framework role to which the target network device belongs, for example, acquiring information such as a machine frame of what model is matched with the target network device from the corresponding hardware supporting information, what model of board card or other components can be inserted into each slot, and what model of port module can be inserted into the board card of the corresponding model, organizing and generating suffix information (such as '1/0/25' and '1/0/27') of each initial available port physical port through slot position relation information in the hardware supporting information, according to model information in the hardware supporting information and material attribute information in a combined material model (a module material model and a non-module material model), and simultaneously combining requirements of a port rate and a port distance of a function region planned in a port grouping model, the port prefixes in the material attribute information recorded by the material model which meets the planning requirement are searched and filtered, and the port prefixes in the material attribute information recorded by the material model which meets the planning requirement can be directly obtained as prefix information (such as 'HundredGigE' and 'FortyGe') of an initial available port physical port, so that the complete initial available port physical port name (such as 'HundredGigE 1/0/25' and 'FortyGe 1/0/25') can be generated by splicing the port suffixes and the prefix information, the name of the initial available port physical port is used as a Key, and the affiliated hardware supporting information (such as board card information) and the material attribute information (such as information of a model, a manufacturer, a type and the like corresponding to a port module) are used as a Value to form an initial available port dictionary set.
Then, according to port state information corresponding to the current capacity expansion device, acquiring a port of which the port state information is in a used state, wherein the used state includes a pre-occupied state and an occupied state, then checking whether each port of which the port state information is in the used state is in an initial available port dictionary set one by one, if so, adjusting a physical port in the initial available port dictionary to be a Value of Key, and specifically adjusting the content: a) marking the port use state in the initial available port dictionary as 'used', namely, not selectable; b) and marking the board card to which the port in the initial available port dictionary belongs as purchased, and avoiding repeated purchase of the board card. And circulating all the ports of which the port state information in the current capacity expansion equipment is in the used state to generate a new initialized available port dictionary set defined as an available port dictionary set.
Final filtration conditions: judging whether the physical port name of the port to be selected is in the available port dictionary set and the port state information is not in the used state, if so, immediately selecting the port as the actual selection port, otherwise, filtering the port, taking the example as the example, the "HundredGigE 1/0/25" is selected as the actual selection port, and the "FortyGe 1/0/25" is not selected (because the port is not in the intersection of the available port dictionary set and the candidate port dictionary set). After the local terminal device selects a material port (actual selection port), the physical port (actual selection port) interconnected with the opposite terminal device can be deduced by the opposite terminal selection logic and the like, so that an interconnection relation is generated. When the current Goup objects have 8 connections, 16 actual selection ports (8 local terminals + 8 opposite terminals) meeting the requirements are generated by the operation cycle of 8 times, and similarly, after all the Goup objects are traversed and the operation is performed in this way, the interconnection relation scheme in the whole planning architecture example can be completed, that is, the actual selection port dictionary sets of the local terminal device and the opposite terminal device of all the logical devices.
(4) The fourth layer is a link capacity expansion scheme generation interface layer, firstly, acquiring link capacity expansion demand parameters, acquiring related hardware model data, matching the network equipment of the current capacity expansion and inquiring port state information of the network equipment of the current capacity expansion by analyzing the link capacity expansion demand parameters, wherein the hardware model data mainly comprises information such as interconnection specifications, demand port quantity, single-port speed, single-port distance, architecture snapshot and the like, and then generating local-end and opposite-end port information and port hardware attribute information (such as information of standard models, slot numbers, SN, manufacturers, affiliated board card numbers and the like) meeting the capacity expansion demand of the current link through calling a hardware model core algorithm layer so as to generate a connection relation; in the mapping from the physical port constructed by the hardware model core algorithm layer to the hardware attribute information associated with the port, the material attribute information and the hardware matching information respectively corresponding to the physical port of the local terminal and the physical port of the opposite terminal can be obtained and then extracted to generate a target material installation scheme of the capacity expansion; based on the target material installation scheme of the current expansion, the quantity is classified according to the standard models, and the target material list of the current expansion can be generated.
Referring to fig. 15 to fig. 22, an embodiment of the present application provides a network architecture configuration information generating method, which may be performed by any device that performs the network architecture configuration information generating method, where the device may be implemented by software and/or hardware, and the device may be integrated in an electronic device. As shown in fig. 15, the method provides a network architecture application through a terminal device, where the network architecture application includes an interconnection specification model, a port grouping model, a port mapping model, a material model, and an architecture role model, and a specific process of the method may be as follows:
step 101, obtaining a link capacity expansion demand parameter of a capacity expansion project, where the link capacity expansion demand parameter includes at least one of: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and computer room network module.
For example, as shown in fig. 1, an application interface diagram of a link capacity expansion demand scenario between certain computer room network modules shows a link capacity expansion demand parameter related to the current link capacity expansion, where the link capacity expansion demand parameter may include information such as a capacity expansion scenario, a capacity expansion total bandwidth, a single port rate, a module distance, a computer room network module, and the like. The expansion scene is a DR-intranet core, and the local end architecture role can be determined to be DR, and the opposite end architecture role is the intranet core.
Step 102, determining a target network device corresponding to the capacity expansion project and port state information of the target network device according to the link capacity expansion requirement parameter.
Specifically, by analyzing the link capacity expansion requirement parameter, the relevant hardware model data of the capacity expansion project, the target network device corresponding to the capacity expansion project, and the port state information of the target network device may be obtained. The hardware model data mainly comprises information such as interconnection specifications, required port number, single-port rate, single-port distance, architecture snapshots and the like.
Specifically, according to the machine room network module, target network equipment corresponding to the capacity expansion project and port state information of the target network equipment are determined.
For example, according to the machine room network module in the network link capacity expansion requirement parameter, the target network device matched with the current capacity expansion is searched, and then the port state information corresponding to the target network device is inquired.
Step 103, generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model, and the port mapping information of the port mapping model.
Optionally, as shown in fig. 16, step 103 may be implemented by steps 1031 to 1035, and specifically includes:
step 1031, according to the capacity expansion scene, searching target interconnection specification information matched with the capacity expansion project from the interconnection specification information of the interconnection specification model;
step 1032, determining the number of target ports of the expansion project according to the total expansion bandwidth;
step 1033, according to the target interconnection specification information and the number of the target ports, traversing the local-end architecture role and the opposite-end architecture role specified in the target interconnection specification information to determine a target logical port corresponding to each target network device in each architecture role from the port grouping information;
step 1034, determining the physical port name of the port to be selected corresponding to the target logical port according to the port mapping information;
and 1035, generating a dictionary set of the ports to be selected of the expansion project according to the names of the physical ports to be selected and port grouping detail information corresponding to the names of the physical ports to be selected.
Optionally, the generating a dictionary set to be selected according to the name of the physical port to be selected and port grouping detail information corresponding to the name of the physical port to be selected includes:
taking the physical port name of the port to be selected as a key, taking port grouping detail information corresponding to the physical port name of the port to be selected as a value, and generating a dictionary of the port to be selected;
and traversing the local terminal architecture role and the opposite terminal architecture role in the target interconnection specification information to generate the dictionary of the ports to be selected corresponding to all the target network devices, wherein the dictionary of the ports to be selected corresponding to all the target network devices forms the dictionary set of the ports to be selected.
Specifically, a hardware model core algorithm in the hardware model core algorithm layer in fig. 14 may be called to calculate and generate the candidate port dictionary set, and the specific calculation logic may refer to the algorithm logic described in fig. 14, which is not described herein again. For example, the terminal device drives a hardware model core algorithm layer to obtain interconnection specification information between a local end architecture role and an opposite end architecture role in the interconnection specification model, port grouping information of the port grouping model, and port mapping information of the port mapping model from a model data cache layer. The interconnection specification information comprises the type of a local end architecture role, the type of an opposite end architecture role, block coding, a local end port group, interconnection specification and the number of links. The port grouping information comprises port grouping detail information, port rate and port distance of each architecture role, and the port grouping detail information comprises a logic port, a port group number, a port functional area identifier, a group ID, a group weight, a functional area type and a same group using sequence. The port mapping information includes mapping relationships between the logical ports and physical ports in the port grouping model corresponding to each architecture role.
Then, according to the capacity expansion scenario, target interconnection specification information matched with the capacity expansion project is searched from interconnection specification information of the interconnection specification model, the number of target ports of the capacity expansion project is determined according to the total capacity expansion bandwidth, then according to the target interconnection specification information and the number of the target ports, a home-end architecture role and an opposite-end architecture role specified in the target interconnection specification information are traversed, a target logic port corresponding to each target network device in each architecture role is determined from the port grouping information, then port grouping information and port mapping information of functional areas corresponding to the home-end device and the opposite-end device are sequentially loaded in combination with a port grouping model and a port mapping model, and finally, physical ports are used as indexes, and port grouping detail information (such as group IDs, group weights, functional area types, a configuration index, and a, Same set of usage orders, etc.) as the set of candidate port dictionaries for the value.
For example, when the target network device is a home device, a port is selected for a target home device in a home architecture role based on a hardware model core algorithm in a hardware model core algorithm layer, a first target logical port corresponding to the target home device in an opposite architecture role specified by target interconnection specification information is found out from a port grouping model, then a first candidate port physical port name corresponding to the first target logical port corresponding to the target home device is obtained according to a port mapping model, then the first candidate port physical port is used as a key (key), and port grouping detail information corresponding to the first candidate port physical port is used as a value (value) to form a first candidate port dictionary.
For example, when the target network device is an opposite-end device, a port is selected for a target opposite-end device in an opposite-end architecture role based on a hardware model core algorithm in a hardware model core algorithm layer, a second target logical port corresponding to the target opposite-end device in a local-end architecture role specified in target interconnection specification information is found out from a port grouping model, then a second candidate port physical port name corresponding to the second target logical port corresponding to the target opposite-end device is obtained according to a port mapping model, then the second candidate port physical port is used as a key, and port grouping detail information corresponding to the second candidate port physical port is used as a value to form a second candidate port dictionary.
And then traversing the local terminal architecture role and the opposite terminal architecture role in the target interconnection specification information, and finally loading to obtain a plurality of to-be-selected port dictionaries which take the to-be-selected port physical port name as a key and take the port grouping detail information corresponding to the to-be-selected port physical port name as a value, wherein the to-be-selected port dictionaries form a to-be-selected port dictionary set. And the to-be-selected port dictionary set comprises to-be-selected port dictionaries corresponding to all target network devices of the capacity expansion project.
And 104, generating an initial available dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model.
Optionally, as shown in fig. 17, step 104 may be implemented through step 1041 to step 1046, and specifically includes:
step 1041, determining a target architecture snapshot identifier matched with the capacity expansion project according to the machine room network module;
1042, obtaining target hardware matching information corresponding to the target architecture snapshot identifier in the architecture role model, where the target hardware matching information includes model information and slot position relation information;
step 1043, determining a target port distance and a target port rate in the port grouping information according to the single port rate and the module distance;
step 1044 of determining target material attribute information corresponding to the capacity expansion item from the material attribute information of the material model according to the target port distance and the target port speed;
step 1045, generating an initial available port physical port name according to the target hardware matching information and the target material attribute information;
step 1046, generating an initial available port dictionary set of the expansion project according to the initial available port physical port name, and the hardware matching information and the material attribute information corresponding to the initial available port physical port name.
Optionally, the generating an initial available port physical port name according to the target hardware matching information and the target material attribute information includes:
generating suffix information of an initial available port physical port matched with the target network equipment according to the slot position relation information in the target hardware matching information;
determining prefix information of the initial available port physical port according to model information in the target hardware matching information and the target material attribute information;
and splicing the prefix information and the suffix information of the initial available port physical port to generate an initial available port physical port name.
Specifically, the initial available dictionary set may be generated based on a hardware model core algorithm in the hardware model core algorithm layer shown in fig. 14, and the specific calculation logic may refer to the algorithm logic described in fig. 14, which is not described herein again. For example, the terminal device drives a hardware model core algorithm layer to obtain hardware supporting information corresponding to the architecture snapshot identifier of each architecture role in the architecture role model from a model data cache layer, obtain material attribute information of the material model, and obtain a port distance and a port rate in the port grouping information. The material attribute information comprises at least one of a general model, a standard model, a material part number, a material description, a material type, a speed, a distance, a container size, a manufacturer, a port prefix, a standard port prefix, a light splitting port number, a wavelength and an interface type of the hardware material equipment. The hardware supporting information can include basic information associated with the architecture snapshot identifier of each architecture role, machine frame slot position material composition information and board card port material composition information. The hardware supporting information is divided from the type of information, and the hardware supporting information may include slot position relation information and model information.
Then, according to the hardware matching information matched with the target architecture snapshot identification matched with the capacity expansion item in the architecture role model and in combination with the material attribute information of the material model, searching information such as model information of a basic manufacturer, stacking information and hardware matching related to the corresponding target architecture snapshot identification, filtering according to the port distance and the port speed (filtering is not needed if the port distance and the port speed are not specified) specified in the port grouping model matched with the single port speed and the module distance of the capacity expansion item, so as to filter out the business board card and the pluggable module model which are in accordance with the required model in the material model, and the business board card and the record corresponding to the module which are in accordance with the filtering conditions such as the port speed, the port distance and the like in the material model, which contain the prefix information of the initial available port physical port, and then generating the suffix information of the initial available port physical port by combining the slot position relation information of, and splicing and combining the prefix information and the suffix information into a complete physical port capable of using the initial port, and further generating an initial dictionary set capable of using the port.
And traversing a home terminal architecture role and an opposite terminal architecture role corresponding to the capacity expansion project, and finally loading to obtain a plurality of initial available port dictionaries which take the initial available port physical port name as a key and take the hardware matching information and the material attribute information corresponding to the initial available port physical port name as values, wherein the plurality of initial available port dictionaries form an initial available port dictionary set. The initial available port dictionary set comprises initial available port dictionaries corresponding to all target network devices of capacity expansion projects.
And 105, generating an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set.
Optionally, as shown in fig. 18, step 105 may be implemented through steps 1051 to 1054, and specifically includes:
step 1051, according to the port state information of the target network device, adjusting the use state information in the initial available port dictionary of the initial available port dictionary set to obtain an available port dictionary set;
step 1052, determining whether the physical port name of the port to be selected in the port dictionary set exists in the available port dictionary set and the corresponding port state information is not in a used state;
step 1053, determining an actual selection port according to the physical port name of the target to-be-selected port which exists in the dictionary set of the available port and corresponding port state information of which is not in a used state in the dictionary set of the to-be-selected port;
step 1054, generating an actual selection port dictionary set according to the target physical port name of the actual selection port, the hardware matching information and the material attribute information corresponding to the target physical port name of the actual selection port, where the actual selection port dictionary set includes actual selection port dictionaries corresponding to all network devices of the capacity expansion project.
Optionally, the adjusting, according to the port state information of the target network device, the use state information in the initial available port dictionary of the initial available port dictionary set to obtain an available port dictionary set includes:
acquiring a port of which the port state information is in a used state in the target network equipment according to the port state information of the target network equipment;
judging whether the ports of which the state information of each port is in the used state exist in the initial available port dictionary set one by one;
if so, adjusting the port use state information and the board card purchase information to which the port belongs in the initial available port dictionary of the initial available port dictionary set;
and traversing the port of which the port state information is in the used state in the target network equipment, and adjusting the use state information in the initialized available port dictionary set to obtain an available port dictionary set.
Specifically, the available port dictionary set may be generated based on the hardware model core algorithm in the hardware model core algorithm layer shown in fig. 14, that is, according to the port names of which the port states of the current capacity expansion device are "occupied" and "pre-occupied", the use states of the ports in the "initial available ports" are adjusted to be "used" (that is, cannot be used any more), meanwhile, the board cards to which the ports belong are set to be purchased (that is, no purchase is needed again, and repeated purchase is avoided), and the finally generated port dictionary set is defined as the available port dictionary set.
Then, an actual selection port dictionary set is generated based on the hardware model core algorithm in the hardware model core algorithm layer shown in fig. 14, for example, it is determined whether the name of the physical port to be selected is in the available port dictionary set and the port state information is not in the used state, if so, the port is immediately selected as the actual selection port, otherwise, the port is filtered, and the specific calculation logic may refer to the algorithm logic described in fig. 14, which is not described herein again.
And 106, generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set.
Specifically, all the architecture roles in the target interconnection specification information are traversed, physical ports to be selected (such as code a ports) are sequentially traversed from a dictionary set to be selected corresponding to the architecture roles according to interconnection rules in the target interconnection specification information, whether corresponding physical ports (a ports) to be selected exist in the dictionary set to be used or not is judged, if the corresponding physical ports (a ports) to be used exist and the use state information of the physical ports to be used is not in the used state, the a ports corresponding to the architecture roles are selected as actual selection ports, and if the corresponding physical ports (a ports) to be used do not exist, the next physical ports to be selected are traversed. Combining the selected ports with Value attributes of the available port physical ports corresponding to the selected ports to form an actual selection port dictionary set, namely, selecting the actual selection port corresponding to the local device from the dictionary set to be selected by the local device, and selecting the actual selection port corresponding to the opposite device from the dictionary set to be selected by the opposite device according to the principle of the opposite selection mode, so as to generate a connection relationship between the local device and the opposite device based on the interconnection specification information, and analogize to generate all the connection relationships in the interconnection rule, and when all the target network devices in all the target interconnection specification information are traversed, the target interconnection relationship information of all the target network devices can be generated.
The target interconnection relationship information may include information such as a connection type, a home device name, a home physical port, a home original port, an opposite device name, an opposite physical port, an opposite original port, a wavelength division plane, and the like. For example, as shown in fig. 19, the generated target interconnection relationship information may be displayed on a graphical user interface.
The target interconnection relationship information further includes hardware attribute information and a dictionary data structure of physical port dimensions, where the hardware attribute information may be physical ports of all interconnected home terminal devices and opposite terminal devices, and material attribute information and hardware supporting information corresponding to the physical ports.
And 107, generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information.
For example, as shown in fig. 20, in the new expansion planning scheme trigger interface, an automatic computation scheme trigger button may be provided on the new expansion planning scheme trigger interface, a user clicks the automatic computation scheme trigger button in the interface to create an expansion planning scheme trigger instruction, and the terminal device invokes a hardware model core algorithm according to the new expansion planning scheme trigger instruction, and finally generates a specific network device hardware scheme corresponding to the network bandwidth expansion demand scenario by computing in combination with the link expansion demand parameter, the hardware attribute information of each hardware model and the device port occupation state information.
Specifically, when the target installation scheme is generated, the key values of the actual selection port dictionary may be inverted to obtain the target installation scheme. For example, the key value of a is inverted to B, and if a is { key1: value1, key2: value2}, then B may be { value1: key1, value2: key2}, where key1 and key2 represent different physical ports, value1 and value2 represent different material models, and B represents that a material of a specific model is inserted into a specific material port, i.e., a target installation scheme.
The relationship between the material model and the physical port in the hardware attribute information associated with the actual selection port is a target installation scheme, and the target installation scheme describes which type of material is installed on which physical port, for example, refer to an installation scheme interface diagram shown in fig. 21.
And then summarizing the material demand quantity in the target installation scheme according to the information such as the standard model in the target installation scheme, and the like, so that a target bill of materials can be generated. For example, referring to the schematic diagram of the bill of materials interface shown in fig. 22, the target bill of materials (i.e., the required bill of materials in the diagram) may include information such as a room management unit, a category, a device type, a material name, a manufacturer, a standard model, whether it is a core network device, a manufacturer, a purchase amount, a waste amount, and the like.
The embodiment of the application can define a network architecture once and multiplex link capacity expansion of the same scene for multiple times. By providing visual network architecture application, the network architecture application can be presented by a client or a browser page, so that an architect can conveniently define hardware attribute information associated with network equipment through the network architecture application presented by the client or the page, a structured hardware model is constructed, and unified management of network hardware attributes is realized. And then, when carrying out network link capacity expansion, a network construction engineer constructs a hardware model related to the network equipment in a structuralized mode, combines the port occupation states corresponding to the capacity expansion equipment, and adopts a unified and abstract hardware model core algorithm to automatically generate a network equipment hardware scheme required by meeting the requirement when the capacity expansion requirement of the specified network bandwidth among network modules and architecture roles is met in different scenes.
The embodiment of the application can be efficiently generated by one key, the scheme is accurate, the standard management of network link capacity expansion can be realized, the unified and structured management of network hardware attributes and the overall management of network equipment ports can be realized.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The method for generating network architecture configuration information provided by the embodiment of the application provides a network architecture application through a terminal device, the network architecture application includes an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and obtains link capacity expansion demand parameters of a capacity expansion project, and the link capacity expansion demand parameters include at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the expansion project and port state information of the target network equipment according to the link expansion requirement parameter; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the port dictionary set to be selected, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information. According to the method and the device, the network architecture configuration information corresponding to the capacity expansion project can be generated according to the capacity expansion demand parameters of different links, the accuracy of the generation of the hardware scheme of the network equipment in the link capacity expansion process is improved, and the working efficiency and the quality are improved.
In order to better implement the network architecture configuration information generation method according to the embodiment of the present application, an embodiment of the present application further provides a network architecture configuration information generation apparatus. Referring to fig. 23, fig. 23 is a schematic structural diagram of a network architecture configuration information generating device according to an embodiment of the present application. The network architecture application is provided by a terminal device, and includes an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and the network architecture configuration information generating apparatus 300 may include:
an obtaining module 301, configured to obtain a link capacity expansion requirement parameter of a capacity expansion project, where the link capacity expansion requirement parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module;
a determining module 302, configured to determine, according to the link capacity expansion requirement parameter, a target network device corresponding to the capacity expansion item and port state information of the target network device;
a first generating module 303, configured to generate a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model, and the port mapping information of the port mapping model;
a second generating module 304, configured to generate an initial available dictionary set according to the link capacity expansion requirement parameter, the hardware supporting information of the architecture role model, and the material attribute information of the material model;
a third generating module 305, configured to generate an actual selection dictionary set according to the to-be-selected dictionary set, the port state information, and the initial available dictionary set;
a fourth generating module 306, configured to generate target interconnection relationship information corresponding to the expansion project according to the actual selection dictionary set;
a fifth generating module 307, configured to generate network architecture configuration information of the volume expansion project according to the target interconnection relationship information.
Optionally, the first generating module 303 is configured to:
according to the capacity expansion scene, searching target interconnection specification information matched with the capacity expansion project from interconnection specification information of the interconnection specification model;
determining the number of target ports of the expansion project according to the total expansion bandwidth;
traversing a local end architecture role and an opposite end architecture role specified in the target interconnection specification information according to the target interconnection specification information and the number of the target ports so as to determine a target logic port corresponding to each target network device in each architecture role from the port grouping information;
determining the physical port name of the port to be selected corresponding to the target logical port according to the port mapping information;
and generating a dictionary set of the ports to be selected of the capacity expansion project according to the names of the physical ports to be selected and port grouping detail information corresponding to the names of the physical ports to be selected.
Optionally, the first generating module 303 is configured to generate a dictionary set to be selected according to the name of the physical port to be selected and port grouping detail information corresponding to the name of the physical port to be selected, where the generating includes:
taking the physical port name of the port to be selected as a key, taking port grouping detail information corresponding to the physical port name of the port to be selected as a value, and generating a dictionary of the port to be selected;
and traversing the local terminal architecture role and the opposite terminal architecture role in the target interconnection specification information to generate the dictionary of the ports to be selected corresponding to all the target network devices, wherein the dictionary of the ports to be selected corresponding to all the target network devices forms the dictionary set of the ports to be selected.
Optionally, the second generating module 304 is configured to:
determining a target architecture snapshot identifier matched with the capacity expansion project according to the machine room network module;
acquiring target hardware matching information corresponding to the target architecture snapshot identifier in the architecture role model, wherein the target hardware matching information comprises model information and slot position relation information;
determining a target port distance and a target port speed in the port grouping information according to the single port speed and the module distance;
determining target material attribute information corresponding to the capacity expansion project from the material attribute information of the material model according to the target port distance and the target port speed;
generating an initial available port physical port name according to the target hardware matching information and the target material attribute information;
and generating an initial available port dictionary set of the capacity expansion project according to the initial available port physical port name, and the hardware matching information and the material attribute information corresponding to the initial available port physical port name.
Optionally, the second generating module 304 is configured to generate an initial available port physical port name according to the target hardware matching information and the target material attribute information, and includes:
generating suffix information of an initial available port physical port matched with the target network equipment according to the slot position relation information in the target hardware matching information;
determining prefix information of the initial available port physical port according to model information in the target hardware matching information and the target material attribute information;
and splicing the prefix information and the suffix information of the initial available port physical port to generate an initial available port physical port name.
Optionally, the third generating module 305 is configured to:
adjusting the use state information in the initial available port dictionary of the initial available port dictionary set according to the port state information of the target network equipment to obtain an available port dictionary set;
judging whether the physical port name of the port to be selected in the dictionary set to be selected exists in the dictionary set to be used or not and whether the corresponding port state information is not in a used state or not;
determining an actual selection port according to a physical port name of a target to-be-selected port, which exists in the available port dictionary set and corresponds to which port state information is not in a used state, in the to-be-selected port dictionary set;
and generating an actual selection port dictionary set according to the target physical port name of the actual selection port, and the hardware matching information and the material attribute information corresponding to the target physical port name of the actual selection port, wherein the actual selection port dictionary set comprises actual selection port dictionaries corresponding to all network devices of the capacity expansion project.
Optionally, the third generating module 305 is configured to, according to the port state information of the target network device, adjust the use state information in the initial available port dictionary of the initial available port dictionary set to obtain an available port dictionary set, where the third generating module includes:
acquiring a port of which the port state information is in a used state in the target network equipment according to the port state information of the target network equipment;
judging whether the ports of which the state information of each port is in the used state exist in the initial available port dictionary set one by one;
if so, adjusting the port use state information and the board card purchase information to which the port belongs in the initial available port dictionary of the initial available port dictionary set;
and traversing the port of which the port state information is in the used state in the target network equipment, and adjusting the use state information in the initialized available port dictionary set to obtain an available port dictionary set.
Optionally, the determining module 302 is configured to determine, according to the machine room network module, a target network device corresponding to the capacity expansion item and port state information of the target network device.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The network architecture configuration information generating apparatus 300 provided in this embodiment of the present application provides a network architecture application through a terminal device, where the network architecture application includes an interconnection specification model, a port grouping model, a port mapping model, a material model, and an architecture role model, and the obtaining module 301 obtains a link capacity expansion requirement parameter of a capacity expansion project, where the link capacity expansion requirement parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; the determining module 302 determines the target network device corresponding to the capacity expansion project and the port state information of the target network device according to the link capacity expansion requirement parameter; the first generation module 303 generates a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model, and the port mapping information of the port mapping model; the second generating module 304 generates an initial available dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model, and the material attribute information of the material model; the third generating module 305 generates an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set; the fourth generation module 306 generates target interconnection relationship information corresponding to the expansion project according to the actual selection dictionary set; the fifth generating module 307 generates network architecture configuration information of the expansion project according to the target interconnection relationship information. According to the method and the device, the network architecture configuration information corresponding to the capacity expansion project can be generated according to the capacity expansion demand parameters of different links, the accuracy of the generation of the hardware scheme of the network equipment in the link capacity expansion process is improved, and the working efficiency and the quality are improved.
Correspondingly, the embodiment of the application further provides an electronic device, which may be a terminal or a server, and the terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer, and a personal digital assistant. As shown in fig. 24, fig. 24 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 401 is a control center of the electronic device 400, connects various parts of the whole electronic device 400 by using various interfaces and lines, performs various functions of the electronic device 400 and processes data by running or loading software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device 400.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, so as to implement various functions:
acquiring a link capacity expansion demand parameter of a capacity expansion project, wherein the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment according to the link capacity expansion demand parameter; generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model; generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model; generating an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In some embodiments, as shown in fig. 24, the electronic device 400 further comprises: touch-sensitive display screen 403, radio frequency circuit 404, audio circuit 405, input unit 406 and power 407. The processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power source 407. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 24 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The touch display screen 403 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. In some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. In some embodiments, the touch panel may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 401, and can receive and execute commands sent by the processor 401. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel may transmit the touch operation to the processor 401 to determine the type of the touch event, and then the processor 401 may provide a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 403 may also be used as a part of the input unit 406 to implement an input function.
The rf circuit 404 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 405 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 405 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, which is then processed by the audio data output processor 401 and then transmitted to, for example, another electronic device via the rf circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the electronic device 400. In some embodiments, the power supply 407 may be logically coupled to the processor 401 via a power management system, such that the power management system may perform functions of managing charging, discharging, and power consumption. The power supply 407 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown in fig. 5, the electronic device 400 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The electronic device provided by the embodiment of the application provides a network architecture application, the network architecture application comprises an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and obtains link capacity expansion demand parameters of a capacity expansion project, and the link capacity expansion demand parameters comprise at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the expansion project and port state information of the target network equipment according to the link expansion requirement parameter; generating a dictionary set to be selected according to link capacity expansion requirement parameters, interconnection specification information of an interconnection specification model, port grouping information of a port grouping model and port mapping information of the port mapping model; generating an initial available dictionary set according to link capacity expansion demand parameters, hardware matching information of the architecture role model and material attribute information of the material model; generating an actual selection port dictionary set according to the port dictionary set to be selected, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information. According to the method and the device, the network architecture configuration information corresponding to the capacity expansion project can be generated according to the capacity expansion demand parameters of different links, the accuracy of the generation of the hardware scheme of the network equipment in the link capacity expansion process is improved, and the working efficiency and the quality are improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any network architecture configuration information generation method provided by the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring a link capacity expansion demand parameter of a capacity expansion project, wherein the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module; determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment according to the link capacity expansion demand parameter; generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model; generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model; generating an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set; generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set; and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any of the network architecture configuration information generation methods provided in the embodiments of the present application, beneficial effects that can be achieved by any of the network architecture configuration information generation methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The method, the apparatus, the storage medium, and the electronic device for generating network architecture configuration information provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and embodiments of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A network architecture configuration information generation method is characterized in that a network architecture application is provided through a terminal device, the network architecture application comprises an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and the method comprises the following steps:
acquiring a link capacity expansion demand parameter of a capacity expansion project, wherein the link capacity expansion demand parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module;
determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment according to the link capacity expansion demand parameter;
generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model;
generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model;
generating an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information and the initial available port dictionary set;
generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set;
and generating network architecture configuration information of the capacity expansion project according to the target interconnection relation information.
2. The method for generating network architecture configuration information according to claim 1, wherein the generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model, and the port mapping information of the port mapping model includes:
according to the capacity expansion scene, searching target interconnection specification information matched with the capacity expansion project from interconnection specification information of the interconnection specification model;
determining the number of target ports of the expansion project according to the total expansion bandwidth;
traversing a local end architecture role and an opposite end architecture role specified in the target interconnection specification information according to the target interconnection specification information and the number of the target ports so as to determine a target logic port corresponding to each target network device in each architecture role from the port grouping information;
determining the physical port name of the port to be selected corresponding to the target logical port according to the port mapping information;
and generating a dictionary set of the ports to be selected of the capacity expansion project according to the names of the physical ports to be selected and port grouping detail information corresponding to the names of the physical ports to be selected.
3. The method for generating network architecture configuration information according to claim 2, wherein the generating a candidate port dictionary set according to the candidate port physical port name and port grouping detail information corresponding to the candidate port physical port name includes:
taking the physical port name of the port to be selected as a key, taking port grouping detail information corresponding to the physical port name of the port to be selected as a value, and generating a dictionary of the port to be selected;
and traversing the local terminal architecture role and the opposite terminal architecture role in the target interconnection specification information to generate the dictionary of the ports to be selected corresponding to all the target network devices, wherein the dictionary of the ports to be selected corresponding to all the target network devices forms the dictionary set of the ports to be selected.
4. The method for generating network architecture configuration information according to claim 2, wherein the generating an initial available dictionary set according to the link capacity expansion requirement parameter, the hardware supporting information of the architecture role model, and the material attribute information of the material model includes:
determining a target architecture snapshot identifier matched with the capacity expansion project according to the machine room network module;
acquiring target hardware matching information corresponding to the target architecture snapshot identifier in the architecture role model, wherein the target hardware matching information comprises model information and slot position relation information;
determining a target port distance and a target port speed in the port grouping information according to the single port speed and the module distance;
determining target material attribute information corresponding to the capacity expansion project from the material attribute information of the material model according to the target port distance and the target port speed;
generating an initial available port physical port name according to the target hardware matching information and the target material attribute information;
and generating an initial available port dictionary set of the capacity expansion project according to the initial available port physical port name, and the hardware matching information and the material attribute information corresponding to the initial available port physical port name.
5. The method for generating network architecture configuration information according to claim 4, wherein the generating an initial available port physical port name according to the target hardware mating information and the target material attribute information includes:
generating suffix information of an initial available port physical port matched with the target network equipment according to the slot position relation information in the target hardware matching information;
determining prefix information of the initial available port physical port according to model information in the target hardware matching information and the target material attribute information;
and splicing the prefix information and the suffix information of the initial available port physical port to generate an initial available port physical port name.
6. The method for generating network architecture configuration information according to claim 4, wherein the generating a set of actual selection port dictionaries according to the set of to-be-selected port dictionaries, the port state information, and the set of initial available port dictionaries comprises:
adjusting the use state information in the initial available port dictionary of the initial available port dictionary set according to the port state information of the target network equipment to obtain an available port dictionary set;
judging whether the physical port name of the port to be selected in the dictionary set to be selected exists in the dictionary set to be used or not and whether the corresponding port state information is not in a used state or not;
determining an actual selection port according to a physical port name of a target to-be-selected port, which exists in the available port dictionary set and corresponds to which port state information is not in a used state, in the to-be-selected port dictionary set;
and generating an actual selection port dictionary set according to the target physical port name of the actual selection port, and the hardware matching information and the material attribute information corresponding to the target physical port name of the actual selection port, wherein the actual selection port dictionary set comprises actual selection port dictionaries corresponding to all network devices of the capacity expansion project.
7. The method for generating network architecture configuration information according to claim 6, wherein the adjusting the usage state information in the initial available port dictionary of the initial available port dictionary set according to the port state information of the target network device to obtain the available port dictionary set comprises:
acquiring a port of which the port state information is in a used state in the target network equipment according to the port state information of the target network equipment;
judging whether the ports of which the state information of each port is in the used state exist in the initial available port dictionary set one by one;
if so, adjusting the port use state information and the board card purchase information to which the port belongs in the initial available port dictionary of the initial available port dictionary set;
and traversing the port of which the port state information is in the used state in the target network equipment, and adjusting the use state information in the initialized available port dictionary set to obtain an available port dictionary set.
8. The method for generating network architecture configuration information according to claim 1, wherein the determining, according to the link capacity expansion requirement parameter, the target network device corresponding to the capacity expansion item and the port state information of the target network device includes:
and determining target network equipment corresponding to the capacity expansion project and port state information of the target network equipment according to the machine room network module.
9. A network architecture configuration information generation device is characterized in that a network architecture application is provided through a terminal device, the network architecture application comprises an interconnection specification model, a port grouping model, a port mapping model, a material model and an architecture role model, and the device comprises:
an obtaining module, configured to obtain a link capacity expansion requirement parameter of a capacity expansion project, where the link capacity expansion requirement parameter includes at least one of the following parameters: capacity expansion scene, capacity expansion total bandwidth, single-port rate, module distance and machine room network module;
a determining module, configured to determine, according to the link capacity expansion requirement parameter, a target network device corresponding to the capacity expansion item and port state information of the target network device;
the first generation module is used for generating a dictionary set to be selected according to the link capacity expansion requirement parameter, the interconnection specification information of the interconnection specification model, the port grouping information of the port grouping model and the port mapping information of the port mapping model;
the second generation module is used for generating an initial available port dictionary set according to the link capacity expansion demand parameter, the hardware matching information of the architecture role model and the material attribute information of the material model;
a third generating module, configured to generate an actual selection port dictionary set according to the to-be-selected port dictionary set, the port state information, and the initial available port dictionary set;
the fourth generation module is used for generating target interconnection relation information corresponding to the capacity expansion project according to the actual selection dictionary set;
and the fifth generation module is used for generating the network architecture configuration information of the capacity expansion project according to the target interconnection relationship information.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program adapted to be loaded by a processor for performing the steps in the network architecture configuration information generating method according to any one of claims 1 to 8.
11. An electronic device, characterized in that the electronic device comprises a memory in which a computer program is stored and a processor, and the processor executes the steps in the network architecture configuration information generation method according to any one of claims 1 to 8 by calling the computer program stored in the memory.
CN202011325038.8A 2020-11-23 2020-11-23 Network architecture configuration information generation method and device, storage medium and electronic equipment Active CN112350872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011325038.8A CN112350872B (en) 2020-11-23 2020-11-23 Network architecture configuration information generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011325038.8A CN112350872B (en) 2020-11-23 2020-11-23 Network architecture configuration information generation method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112350872A true CN112350872A (en) 2021-02-09
CN112350872B CN112350872B (en) 2022-07-22

Family

ID=74365429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011325038.8A Active CN112350872B (en) 2020-11-23 2020-11-23 Network architecture configuration information generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112350872B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721765A (en) * 2021-08-26 2021-11-30 苏州浪潮智能科技有限公司 Method, device and equipment for controlling input/output port of equipment
CN115378823A (en) * 2022-08-22 2022-11-22 中国建设银行股份有限公司 Public cloud landing planning method and device, electronic equipment and storage medium
CN116193148A (en) * 2023-04-28 2023-05-30 北京小鸟科技股份有限公司 System for compatibility self-adaption of distributed audio/video nodes and control units

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012025773A1 (en) * 2010-08-25 2012-03-01 Telefonaktiebolaget L M Ericsson (Publ) Infrastructure model generation system and method
CN103532738A (en) * 2013-09-26 2014-01-22 福建星网锐捷网络有限公司 Port connection relationship determination method and device
CN104506370A (en) * 2014-12-31 2015-04-08 杭州华三通信技术有限公司 Management method and management device for non-network-management system
CN104639351A (en) * 2013-11-11 2015-05-20 卫信科技有限公司 Processing system and method for constructing network structure deployment diagram
CN106162680A (en) * 2015-03-24 2016-11-23 中国移动通信集团福建有限公司 Dilatation parameter determination method and device
CN107770783A (en) * 2017-09-30 2018-03-06 华为技术有限公司 A kind of base station extending capacity reformation Design Method and relevant device
CN108011907A (en) * 2016-10-31 2018-05-08 华为技术有限公司 The resource allocation methods and device of adapted telecommunication net
CN111193603A (en) * 2019-08-06 2020-05-22 腾讯科技(深圳)有限公司 Network architecture generation method and device, readable storage medium and computer equipment
CN111355606A (en) * 2020-02-10 2020-06-30 天津大学 Web application-oriented container cluster self-adaptive expansion and contraction system and method
CN111625195A (en) * 2020-05-26 2020-09-04 北京百度网讯科技有限公司 Method and device for server capacity expansion

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012025773A1 (en) * 2010-08-25 2012-03-01 Telefonaktiebolaget L M Ericsson (Publ) Infrastructure model generation system and method
CN103532738A (en) * 2013-09-26 2014-01-22 福建星网锐捷网络有限公司 Port connection relationship determination method and device
CN104639351A (en) * 2013-11-11 2015-05-20 卫信科技有限公司 Processing system and method for constructing network structure deployment diagram
CN104506370A (en) * 2014-12-31 2015-04-08 杭州华三通信技术有限公司 Management method and management device for non-network-management system
CN106162680A (en) * 2015-03-24 2016-11-23 中国移动通信集团福建有限公司 Dilatation parameter determination method and device
CN108011907A (en) * 2016-10-31 2018-05-08 华为技术有限公司 The resource allocation methods and device of adapted telecommunication net
CN107770783A (en) * 2017-09-30 2018-03-06 华为技术有限公司 A kind of base station extending capacity reformation Design Method and relevant device
CN111193603A (en) * 2019-08-06 2020-05-22 腾讯科技(深圳)有限公司 Network architecture generation method and device, readable storage medium and computer equipment
CN111355606A (en) * 2020-02-10 2020-06-30 天津大学 Web application-oriented container cluster self-adaptive expansion and contraction system and method
CN111625195A (en) * 2020-05-26 2020-09-04 北京百度网讯科技有限公司 Method and device for server capacity expansion

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721765A (en) * 2021-08-26 2021-11-30 苏州浪潮智能科技有限公司 Method, device and equipment for controlling input/output port of equipment
CN113721765B (en) * 2021-08-26 2023-07-25 苏州浪潮智能科技有限公司 Control method, device and equipment for input/output port of equipment
CN115378823A (en) * 2022-08-22 2022-11-22 中国建设银行股份有限公司 Public cloud landing planning method and device, electronic equipment and storage medium
CN115378823B (en) * 2022-08-22 2024-05-24 中国建设银行股份有限公司 Public cloud drop planning method and device, electronic equipment and storage medium
CN116193148A (en) * 2023-04-28 2023-05-30 北京小鸟科技股份有限公司 System for compatibility self-adaption of distributed audio/video nodes and control units
CN116193148B (en) * 2023-04-28 2023-06-23 北京小鸟科技股份有限公司 System for compatibility self-adaption of distributed audio/video nodes and control units

Also Published As

Publication number Publication date
CN112350872B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN112350872B (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN111104425A (en) Data processing method and device
CN112329184B (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN114595124B (en) Time sequence abnormity detection model evaluation method, related device and storage medium
CN111914180B (en) User characteristic determining method, device, equipment and medium based on graph structure
CN115588131A (en) Model robustness detection method, related device and storage medium
CN112561084B (en) Feature extraction method and device, computer equipment and storage medium
CN115471495B (en) Model robustness detection method, related device and storage medium
CN112333029B (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN115546516A (en) Personnel gathering method and device, computer equipment and storage medium
CN114676371A (en) Page element information replacement method and device, computer equipment and storage medium
CN114579136A (en) Code processing method and device, computer equipment and storage medium
CN114547430A (en) Information object label labeling method, device, equipment and storage medium
CN110620680A (en) AR-based operation and maintenance knowledge pushing method
CN113783909B (en) Data demand generation method, device, terminal, server and storage medium
CN115525554B (en) Automatic test method, system and storage medium for model
CN116582417B (en) Data processing method, device, computer equipment and storage medium
CN116049417A (en) Knowledge graph display method and device based on vehicle model and computer equipment
Rui et al. SEWMS: An edge‐based smart wearable maintenance system in communication network
CN114691145A (en) Code processing method and device, computer equipment and storage medium
CN113961585A (en) Data processing method and device, electronic equipment and storage medium
CN115470233A (en) Service parameter management method, device, electronic equipment and storage medium
CN115981550A (en) Data processing method and device, computer readable storage medium and electronic equipment
CN118069663A (en) Logistics settlement data processing method and device, storage medium and computer equipment

Legal Events

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