CN111865640A - Network architecture description method and device - Google Patents

Network architecture description method and device Download PDF

Info

Publication number
CN111865640A
CN111865640A CN201910366311.2A CN201910366311A CN111865640A CN 111865640 A CN111865640 A CN 111865640A CN 201910366311 A CN201910366311 A CN 201910366311A CN 111865640 A CN111865640 A CN 111865640A
Authority
CN
China
Prior art keywords
architecture
network
network architecture
description data
description
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
CN201910366311.2A
Other languages
Chinese (zh)
Other versions
CN111865640B (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.)
Huawei Technical Service Co Ltd
Original Assignee
Huawei Technical Service 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 Huawei Technical Service Co Ltd filed Critical Huawei Technical Service Co Ltd
Priority to CN201910366311.2A priority Critical patent/CN111865640B/en
Publication of CN111865640A publication Critical patent/CN111865640A/en
Application granted granted Critical
Publication of CN111865640B publication Critical patent/CN111865640B/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/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a network architecture description method and a device for realizing the method, wherein the method comprises the following steps: obtaining the architecture element and the description data of the architecture element, obtaining the description file of the network architecture according to the architecture element and the description data of the architecture element, and processing data according to the description file of the network architecture. By implementing the embodiment of the application, the network architecture can be described through the architecture elements and the description data of the architecture elements, and the accuracy of network architecture planning can be improved.

Description

Network architecture description method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network architecture description method and an apparatus thereof.
Background
The network architecture is a blueprint that provides a framework and technical foundation for designing, building, and managing a communication network. Currently, network architectures are described by means of text and network architecture diagrams, and network planners and designers can understand the definition of the network architecture through the network architecture diagrams and the related text descriptions.
However, describing the network architecture through the network architecture diagram and the text may cause ambiguity and ambiguity in the description of the network architecture, which may result in low accuracy in planning the network architecture depending on the network architecture diagram and the text description. Therefore, how to improve the accuracy of network architecture planning becomes an urgent technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a network architecture description method and a network architecture description device, which can describe a network architecture through architecture elements and description data of the architecture elements and are beneficial to improving the accuracy of network architecture planning.
In a first aspect, an embodiment of the present application provides a network architecture description method, which may be applied to a first device, and the method includes: obtaining the architecture element and the description data of the architecture element, obtaining the description file of the network architecture according to the architecture element and the description data of the architecture element, and processing data according to the description file of the network architecture.
In the technical scheme, any network architecture can be described through the architecture elements and the description data of the architecture elements, and the description file of the network architecture can be quickly and accurately obtained through the description data of the architecture elements and the description data of the architecture elements which can be identified by a computer.
In an implementation manner, the specific implementation manner of performing data processing according to the description file of the network architecture may be: and obtaining a network architecture according to the description file of the network architecture, and analyzing the network architecture to obtain an analysis result of the network architecture.
In the technical scheme, the performance of the network architecture can be evaluated in more detail by analyzing the network architecture, so that a basis for selecting the network architecture is provided for a client.
In one implementation, the analysis result of the network architecture may include an architecture index value, the network architecture may include a first network architecture and a second network architecture, and the method may further include: receiving an architecture comparison instruction, wherein the architecture comparison instruction can be used for comparing architecture index values of the first network architecture and the second network architecture; if the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture, the method prompts that the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture.
In the technical scheme, by comparing the architecture index value of the first network architecture with the architecture index value of the second network architecture, a user can select a more appropriate network architecture or a network architecture with higher performance, which is beneficial to improving economic benefits.
In one implementation, the specific implementation of the data processing according to the description file of the network architecture may be any one or more of the following operations: obtaining an architecture diagram of the network architecture according to the description file of the network architecture, and outputting the architecture diagram of the network architecture; storing a description file of the network architecture; and sending the description file of the network architecture to the second device so that the second device performs data processing according to the description file of the network architecture.
In the technical scheme, the architecture diagram of the network architecture is output for a user to check, so that the user can conveniently and quickly judge whether the required network architecture is accurately established according to the architecture diagram, and when the network architecture corresponding to the output architecture diagram is not the network architecture required by the user, the network architecture can be quickly modified. After the description file of the network architecture is obtained, the description file of the network architecture is stored in the network architecture database, so that the description file of the network architecture can be conveniently obtained from the network architecture database when the description file of the network architecture is needed subsequently. The description file of the network architecture is sent to the second device, and data processing is performed in the second device according to the description file of the network architecture, so that the description file of the network architecture can be transmitted, the utilization rate of the description file of the network architecture is improved, and meanwhile, the application range of the description file of the network architecture can be expanded. For example, when the first device is a network architecture server and the second device is a network architecture analysis server, the second device may obtain a description file of a network architecture to be analyzed from the first device and analyze the description file, and by this means, loads in the first device and the second device may be effectively reduced.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture corresponding to a set of architecture elements, and the method may further include: when an element adding instruction aiming at a first type of network architecture is received, acquiring a first architecture element, wherein the first type can be one of multiple types included by a first device; the first architecture element is added to a set of architecture elements corresponding to the first type of network architecture.
In the technical scheme, the new architecture elements (namely the first architecture elements) are added into the architecture element set corresponding to the network architecture, so that the network architecture has good expansibility, the future new network architecture is described by continuously adding the new architecture elements, and the application range of the network architecture is favorably expanded.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to a set of architecture elements, each architecture element in the set of architecture elements may correspond to a set of description data, and the method may further include: when a description data adding instruction for a second architecture element is received, acquiring first description data, wherein an architecture element set corresponding to a second type of network architecture comprises the second architecture element, and the second type may be one of multiple types included in the first device; and adding the first description data to the description data set corresponding to the second architecture element.
In the technical scheme, the network architecture has good expansibility by adding new description data (namely, the first description data) in the description data set corresponding to the architecture element, and the architecture element can better adapt to a future new network architecture by continuously adding new description data to describe the architecture element, thereby being beneficial to expanding the application range of the network architecture.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, each architecture element in the architecture element set may correspond to one description data set, and the specific implementation of obtaining the architecture element and the description data of the architecture element may be: in a case where a description instruction for a third type of network architecture is detected, outputting a set of architecture elements corresponding to the third type of network architecture in a network architecture interface (hereinafter, represented by the first network architecture interface), outputting a corresponding description data input box for each architecture element in the set of architecture elements, and outputting a corresponding description data set for each architecture element in the set of architecture elements, where the third type may be one of multiple types included in the first device; acquiring user operation of a description data input box output aiming at each architecture element in the architecture element set; and taking the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation.
In the technical scheme, the corresponding description data set is output for each architecture element in the architecture element set, so that a user can select the second description data in the description data set corresponding to each architecture element as the description data of the architecture element, the convenience of operation can be improved, and the efficiency of obtaining the description data of the architecture element is improved.
In one implementation, the method may further include: acquiring operation data of a network corresponding to a third network architecture; from the operating data, description data of the architectural elements comprised by the third network architecture is determined.
In the technical scheme, the operation data is actual operation data collected in an actual operation process of a network corresponding to the third network architecture, and since in an actual network deployment process, the network actually deployed may be different from a network expected to be built due to various reasons, the actual network architecture is analyzed by collecting the actual operation data of the network, and the actual network architecture is represented by the description data of the architecture elements and the description data of the architecture elements, so that the actual network architecture can be stored by storing the description data of the architecture elements and the description data of the architecture elements, and a user can know the actual network architecture more quickly.
In one implementation, before obtaining the architectural element and the description data of the architectural element, the method may further include: acquiring an image; the specific implementation of obtaining the architectural element and the description data of the architectural element may be: and acquiring the architecture element and the description data of the architecture element according to the image.
In the technical solution, the image may be a network architecture diagram of an existing network, and the first device identifies the image to further determine architecture elements included in a network architecture corresponding to the image and description data of each architecture element. A large number of known network architecture diagrams of existing networks can be represented by the architecture elements and the description data of the architecture elements, which further facilitates comparison between network architectures, thereby facilitating improvement of the performance of the planned network architecture.
In one implementation, the specific implementation of acquiring the image may be: under the condition that a description instruction of the network architecture diagram is detected, outputting a second network architecture interface; and obtaining the image according to the user operation set aiming at the second network architecture interface.
In the technical scheme, the image can be a new network architecture diagram which needs to be created by a user, and in this way, the image corresponding to the new network architecture can be quickly created, so that the required network architecture can be quickly customized conveniently.
In a second aspect, an embodiment of the present application provides a network architecture description device, where the device has a function of implementing the network architecture description method provided in the first aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions for a network architecture description apparatus according to the second aspect, which includes a program for executing the above-mentioned first aspect.
In a fourth aspect, an embodiment of the present application provides a first device, where the first device includes a memory and a processor, the memory stores program instructions, the processor is connected to the memory through a bus, and the processor calls the program instructions stored in the memory to cause the first device to perform the method according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which includes a program that, when executed, implements the method of the first aspect.
Drawings
Fig. 1a is a schematic flow chart of a network architecture description method disclosed in an embodiment of the present application;
FIG. 1b is an interface schematic diagram of a first network architecture interface disclosed in an embodiment of the present application;
FIG. 1c is an interface schematic diagram of a first network architecture interface obtained after selecting the 5G type in the first network architecture interface shown in FIG. 1b according to an embodiment of the present disclosure;
FIG. 1d is an interface schematic diagram of a second network architecture interface disclosed in an embodiment of the present application;
FIG. 1e is a schematic view of a scenario in which a user operation for creating a topological relationship between nodes is performed on the second network architecture interface shown in FIG. 1d according to an embodiment of the present application;
fig. 2 is a flow chart illustrating another method for describing a network architecture disclosed in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for describing a network architecture according to another embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a network architecture description apparatus disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a first device disclosed in an embodiment of the present application.
Detailed Description
The words which comprise the embodiments of the present application are described below:
architectural elements: the elements required to form the network architecture, and in one implementation, the architecture elements may include, but are not limited to: an overall hierarchy of the network architecture, sub-hierarchies, network functions of network nodes comprised by each hierarchy, inter-hierarchy topological relations, intra-hierarchy topological relations, transmission media between hierarchies, transmission media within a hierarchy, physical locations of mappings of each network node and bearer sites of mappings of each network node.
Description data of architecture elements: the method is used for representing specific values of the architecture elements, and when the description data of the architecture elements are different, the formed network architectures are different. It should be noted that the description data of the architecture element may be a numerical value, an image, a file, or other data form, as long as the data form can be used to characterize the description data, and the data form of the description data of the architecture element is not limited in the embodiment of the present application.
The total hierarchy of the network architecture is used to indicate which large hierarchy the network architecture is divided into, and the total hierarchy of the network architecture may include, but is not limited to, an access layer (access), an aggregation layer (aggregation), a core layer, and the like, that is, description data of the total hierarchy of the network architecture as an architecture element may include, but is not limited to, an access layer, an aggregation layer, a core layer, and the like.
The sub-hierarchy is used for subdividing a certain large hierarchy into a plurality of small hierarchies, for example, in the network deployment process, the convergence layer can be divided into a first convergence layer and a second convergence layer according to the actual situation, the network node in the first convergence layer is directly connected with the core layer, and the network node in the second convergence layer is connected with the network node in the first convergence layer. That is, the description data of the sub-hierarchy of the convergence layer as an architectural element may include, but is not limited to, a primary convergence layer and a secondary convergence layer.
Different levels in the network architecture are used for performing different functions, the functions performed by the respective levels may be determined by the network functions of the network nodes comprised by the respective levels, which in one implementation may be characterized by the network device. For example, the network functions of the network nodes included in the access layer may be characterized by a customer edge router (CE), the network functions of the network nodes included in the convergence layer may be characterized by a provider edge router (PE), and the network functions of the network nodes included in the core layer may be characterized by a provider backbone router (P), because the CE is a customer-side router to which a service provider is connected, the CE may provide service access for a customer, the PE is an edge router of a service provider backbone network, and the PE is connected to the CE and the P, and thus, the network functions of the network nodes included in the access layer, the convergence layer, and the core layer may be characterized by the CE, the PE, and the P, respectively.
It should be noted that the CE, PE, and P are private calluses of an operator for a router with a specific function, and other operators may have different calluses for routers with the same function as the PE (or the CE and P), for example, other operators may refer to routers with the same function as the PE as an Access Router (AR) and a Service Router (SR); other operators may refer to routers with the same functionality as P as a convergence router (BR), Core Router (CR).
In one implementation, in addition to the CE, PE, P, AR, SR, BR, and CR described above, the network functions of the network nodes included in the respective tiers may be characterized by the following network devices: broadband network gateway control device (BNG), Broadband Remote Access Server (BRAS), network side provider edge router (NPE), user-end provider edge router (UPE), upper layer operator edge device (SPE), Optical Line Terminal (OLT), data center (center, DC), Optical Transport Network (OTN), and Content Delivery Network (CDN). That is, the description data of the network functions of the network nodes included as each level of the architectural element may include, but is not limited to: CE. PE, P, AR, SR, BR, CR, BNG, BRAS, NPE, UPE, SPE, OLT, DC, OTN, and CDN.
The BNG is configured to perform translation from a Dynamic Host Configuration Protocol (DHCP) message to a remote authentication in user service (RADIUS) authentication message, and charge a flow/duration passing through the device after the authentication passes. The BRAS is a novel access gateway oriented to broadband network application, is located at an edge layer of a backbone network, can complete data access of an internet protocol address (IP) network/Asynchronous Transfer Mode (ATM) network of a user bandwidth, and realizes broadband internet access and other applications of commercial buildings and residential quarters. The NPE is a router device located at the network provider premises. A UPE is a PE device that connects directly to a CE. The SPE is a core device connected to the UPE and located inside a Virtual Private Lan Service (VPLS) fully connected network. The OLT is a terminal device for connecting a fiber trunk. A DC is a central repository of information and data for storage, management and transmission by surrounding networked enterprises or organizations, and may be used in facilities housing computer systems and related components (e.g., telecommunications and storage systems). OTN is a transport network based on wavelength division multiplexing technology, organized in an optical layer network. The CDN is a content delivery network constructed on the network, and by means of edge servers deployed in various places, a user can obtain required content nearby through functional modules of a central platform, such as load balancing, content delivery, scheduling and the like, so that network congestion is reduced, and the access response speed and hit rate of the user are improved.
The inter-level topological relationship may include, but is not limited to: dual-homing (dual-homing), full mesh topology (full mesh topology), semi-mesh interconnect (partially meshed), ring topology, and glyph topology. That is, the description data of the topological relationships between the hierarchies as elements of the architecture may include, but is not limited to: dual homing, full-mesh topology, semi-mesh interconnect, ring topology, and a hatch-type topology. Wherein the devices in dual homing are connected via two independent access points, one of which is a primary connection and the other is a backup connection, the backup connection being activated only when the primary connection fails. Any two devices in the full network topology have a link between them. Some of the nodes in a semi-mesh interconnect are organized in a full mesh topology, with other nodes connecting only one or two nodes. Ring topology refers to multiple devices connected together in a ring. The square topology means that a plurality of devices are connected together in a square shape.
The intra-hierarchy topological relationships may include, but are not limited to: pair and connectionless, that is, the description data of the intra-hierarchy topological relationships as architectural elements may include, but is not limited to: pair and no connection. The pair means that network nodes in the same hierarchy have a connection relationship, and the connectionless means that network nodes in the same hierarchy do not have a connection relationship.
Transmission media between tiers and within a tier may each include, but are not limited to: optical fiber and wavelength division interconnect, etc., that is, both the transmission medium between levels and the description data of the transmission medium within a level as an architectural element may include, but is not limited to: fiber and wavelength division interconnects, and the like.
The physical location mapped by each network node refers to a machine room location where the device corresponding to the network node is located when the network is actually deployed, and the physical location mapped by the network node may include, but is not limited to: the system comprises an access machine room, a common convergence machine room, a backbone convergence machine room, a core machine room, a backbone machine room and a core machine building. That is, the description data of the physical location mapped by each network node as an architectural element may include, but is not limited to: the system comprises an access machine room, a common convergence machine room, a backbone convergence machine room, a core machine room, a backbone machine room and a core machine building. It should be noted that the specific naming method of the physical location differs according to different operators, and the physical location is only the naming method of a certain operator and does not constitute a limitation to the embodiment of the present application.
The carrier site mapped by each network node refers to a specific physical space facility of the physical location mapped by the network node, and the physical space facility is used for providing environments required by the operation of the network node, such as wind, fire, water, electricity and the like. That is, the description data of the bearer station mapped by each network node as an architecture element may include, but is not limited to: wind, fire, water and electricity.
The network architecture description method and the device thereof provided by the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1a, fig. 1a is a schematic flowchart illustrating a method for describing a network architecture according to an embodiment of the present application, where the method may include, but is not limited to, the following steps:
step S101: the first device obtains an architectural element and description data for the architectural element.
In the embodiment of the present application, the architecture element and the description data of the architecture element have a definite definition in the first device (or other computer devices), that is, the meaning of the description data of each architecture element by the first device is clear and unambiguous, and similarly, the meaning of the description file of the network architecture obtained according to the architecture element and the description data of the architecture element by the first device is also definite, so that the network architecture planning is performed through the description file of the network architecture, and the planned network architecture can be made to be consistent with the network architecture corresponding to the description file.
Because the prior art performs network architecture planning according to a network architecture diagram and a text description, different network architecture planners may have different understandings for the same network architecture diagram, and thus actual network architectures planned by different network architecture planners based on the same network architecture diagram may be different, but when the embodiment of the present application is adopted, because an architecture element and each description data of the architecture element correspond to a definite and unique meaning in a first device, actual network architectures planned by different devices according to the same architecture element and the description data of the architecture element are the same, and compared with a manual planning manner, the embodiment of the present application adopts a manner that a device automatically identifies the architecture element and the description data of the architecture element to plan the actual network architecture, so that human errors (for example, a situation that a network architecture planners overlook or overlook a certain detail in a network architecture diagram) can be effectively reduced, therefore, the network architecture planning according to the description file of the network architecture is beneficial to improving the accuracy of the network architecture planning. In addition, the network architecture diagram and the text description adopted in the prior art cannot be identified and analyzed by the computer, so that the network architecture diagram and the text description cannot be effectively transmitted and applied.
In one implementation, the first device may include multiple types of network architectures, for example, the first device may include network architectures of the 3th Generation mobile communication technology (3G), the 4th Generation mobile communication technology (4G), the 5th Generation mobile communication technology (5G), and so on. Each type of network architecture may correspond to an architecture element set, all architecture elements in the architecture element set are elements required for forming a network structure of a type corresponding to the architecture element set, each architecture element in the architecture element set may correspond to a description data set, and each description data in the description data set may be used as description data of the architecture element corresponding to the description data set. It should be noted that the first device includes the network architectures of the 3G, 4G and 5G types, which are only used for example, and in other possible implementations, the first device may also include other types of network architectures, which is not limited in this embodiment of the present application.
In one implementation, the specific implementation manner of the first device obtaining the architectural element and the description data of the architectural element may be: under the condition that a description instruction for a third type of network architecture is detected, outputting a set of architecture elements corresponding to the third type of network architecture in the first network architecture interface, outputting a corresponding description data input box for each architecture element in the set of architecture elements, and outputting a corresponding description data set for each architecture element in the set of architecture elements, wherein the third type is one of multiple types included in the first device; acquiring user operation of a description data input box output aiming at each architecture element in the architecture element set; and taking the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation.
In the embodiment of the present application, the first device indicates that the user needs to create a network architecture belonging to the third type when detecting the description instruction for the network architecture of the third type. In an implementation manner, a user may set a network architecture through a first network architecture interface displayed in a first device, and the user may trigger the first device to display the first network architecture interface through a preset operation (e.g., clicking a network architecture application), at this time, all types of network architectures that may be created may be displayed in the first network architecture interface, taking an interface schematic diagram of the first network architecture interface shown in fig. 1b as an example, as can be seen from fig. 1b, the user may select any one of 3G, 4G, and 5G to create a network architecture belonging to the selected type.
If the user selects 5G (i.e. the third type), the first network architecture interface is changed from fig. 1b to fig. 1c, as shown in fig. 1c, at this time, a set of architecture elements (e.g. the total hierarchy of the network architecture, the network functions of the network nodes included in each hierarchy, the topological relationships between hierarchies, and the transmission media between hierarchies) corresponding to the network architecture of the 5G type may be displayed in the first network architecture interface, and a corresponding description data input box is displayed for each architecture element in the set of architecture elements, and when the user selects the access layer and the core layer as the total hierarchy of the network architecture of the 5G type in fig. 1c, a description data input box corresponding to the network functions of the network nodes in the access layer, a description data input box corresponding to the network functions of the network nodes in the core layer, and a description data input box corresponding to the topological relationships between the access layer and the core layer may be displayed in the first network architecture interface, And the description data input box corresponds to the transmission medium between the access layer and the core layer. The first device may detect a user operation of the description data input box output for each architecture element, and use the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation, that is, it may be determined that the user needs to use the second description data as the description data of the architecture element through the user operation, for example, the user may input P in the description data input box corresponding to the network function of the network node in the core layer, so that the first device may determine that the user needs to use P (i.e., the second description data) as the description data of the network function of the network node in the core layer. By outputting the corresponding description data set aiming at each architecture element in the architecture element set, a user can select the second description data from the description data set corresponding to each architecture element as the description data of the architecture element, so that the convenience of operation can be improved, and the efficiency of obtaining the description data of the architecture element can be improved.
In one implementation, the description data input box corresponding to each architecture element may include a description data selection key, after the user clicks the description data selection key, the first network architecture interface in the first device may display all description data that can be selected by the architecture element corresponding to the description data selection key, after clicking the description data selection key corresponding to the network function of the network node in the core layer is displayed in fig. 1c, P, BR and CR may be displayed, and the user may select any one or more of P, BR and CR as the network function of the network node in the core layer, as shown in fig. 1c, for example, the user selects P as the network function of the network node in the core layer. It should be noted that, according to a series of contents displayed in the first network architecture interface after clicking the description data selection key corresponding to the network function of the network node in the core layer in fig. 1c, it can be known that clicking the description data selection key corresponding to the network function of the network node in the access layer, clicking the description data selection key corresponding to the topology relationship between layers, and clicking the description data selection key corresponding to the transmission medium between layers, and displayed contents are not shown in fig. 1c for avoiding redundancy.
In one implementation, the first network architecture interface may further include a confirm create network architecture button (not shown), and after the user clicks the confirm create network architecture button, the first device may detect whether the description data of each architecture element in the first network architecture interface is filled, if the description data of each architecture element in the first network architecture interface is filled, the first device may continue to detect whether the description data of each architecture element belongs to the selectable description data corresponding to the architecture element, and if the description data of each architecture element belongs to the selectable description data corresponding to the architecture element, the description file of the network architecture is obtained according to the description data of each architecture element in the first network architecture interface; if the description data of the architecture element 1 in the first network architecture interface is not filled, the first device may output a first prompt message to prompt the user to complete the description data of the architecture element 1; if the description data of the architecture element 2 in the first network architecture interface does not belong to the optional description data corresponding to the architecture element, the first device may output a second prompt message to prompt the user to modify the description data of the architecture element 2 into any one of the corresponding optional description data.
The optional description data corresponding to the architecture element may be a description data set corresponding to the architecture element, only the description data in the description data set can be used as the description data of the architecture element, and the fact that the description data of the architecture element 2 does not belong to the optional description data corresponding to the architecture element indicates that the description data of the architecture element 2 filled in the first network architecture interface by the user cannot be used for describing the architecture element 2. For example, if the architectural element 2 is in an inter-hierarchy topological relationship, the description data of the architectural element 2 is an optical fiber, and it is obvious that the optical fiber cannot be used as the description data of the inter-hierarchy topological relationship, and therefore, the first device is beneficial to improving the accuracy of the created network architecture by outputting the second prompt message. The first device can avoid missing description data of the architecture elements required by the network architecture creation by outputting the first prompt message, and is beneficial to improving the accuracy of the created network architecture.
In one implementation, before obtaining the architectural element and the description data of the architectural element, the first device may further obtain an image; the specific implementation of the first device obtaining the architecture element and the description data of the architecture element may be: and acquiring the architecture element and the description data of the architecture element according to the image.
The image may be a network architecture diagram of an existing network, the image may be sent to the first device by other devices, or may be input into the first device by a user through an input device, which is not limited in this embodiment of the application. The specific implementation of the first device obtaining the architectural element and the description data of the architectural element according to the image may be: the first device identifies the image, and further determines the architecture elements included in the network architecture corresponding to the image and description data of each architecture element. For example, the topological relationship between the nodes can be determined by identifying whether a connecting line exists between each node in the image. In this way, the network architecture of a large number of known networks can be represented by the architecture elements and the description data of the architecture elements, and further, the first device can store the actual network architecture by storing the architecture elements and the description data of the architecture elements, so that the user can know the actual network architecture more quickly. In addition, a network architecture database can be created by storing a large number of architecture elements of the network architecture and description data of the architecture elements, and comparison between the network architectures can be conveniently performed through the network architecture database, so that the performance of the planned network architecture can be improved.
In one implementation, the image may be a new network architecture diagram that the user needs to create, and the image may be generated by the first device according to a user operation. The specific implementation of the first device acquiring the image may be: under the condition that a description instruction of the network architecture diagram is detected, outputting a second network architecture interface; and obtaining the image according to the user operation set aiming at the second network architecture interface.
In this embodiment, when detecting a description instruction of a network architecture diagram, the first device indicates that a user needs to create an image, where the image is an architecture diagram of a new network architecture and needs to be created in a manner arranged through a User Interface (UI), and then identifies, according to the image, an architecture element and description data included in the network architecture corresponding to the image. Therefore, in the case that the description instruction of the network architecture diagram is detected, the second network architecture interface needs to be output, so that a user can perform user operation on the output second network architecture interface. The set of user actions includes all user actions performed on the second network infrastructure interface, and all user actions may be triggered to form a complete image. Taking the interface schematic diagram of the second network architecture interface shown in fig. 1d as an example, if a user performs 4 user operations on the second network architecture interface, and the 4 user operations are respectively used to create different network nodes (node 1, node 2, node 3, and node 4), after the execution of the 4 user operations is finished, the created image (i.e., the network architecture diagram) may be displayed on the second network architecture interface, and the interface schematic diagram of the second network architecture interface may be as shown in fig. 1 d.
In one implementation, different types of user operations may be performed on the second network architecture interface, e.g., a user operation to create a node, a user operation to create a topological relationship between nodes (e.g., between two or more nodes), etc. A schematic diagram of a scenario in which a user operation for creating a topological relation between nodes is performed on the second network architecture interface shown in fig. 1d may be as shown in fig. 1e, and as can be seen from fig. 1e, after the nodes 1, 2, 3 and 4 are selected (after the nodes are selected, the nodes are displayed as black filled), the topological relation between the nodes 1, 2, 3 and 4 may be selected to be set to the ring topology or the full-network topology exemplarily listed in fig. 1 e. By the method, the image corresponding to the new network architecture can be quickly created, so that the required network architecture can be customized quickly, the efficiency of obtaining the architecture elements of the network architecture corresponding to the image and the description data of the architecture elements can be improved, and the subsequent network planning is facilitated. It should be noted that, in addition to setting the topological relationship among the node 1, the node 2, the node 3, and the node 4 to be the ring topology in the manner shown in fig. 1e, the topological relationship among the node 1, the node 2, the node 3, and the node 4 may also be set to be the ring topology by manually connecting the respective nodes, which is not limited in this embodiment of the present application.
In one implementation, the specific implementation of the first device obtaining the architectural element and the description data of the architectural element according to the image may be: according to the configuration parameters of the image, obtaining the architecture elements and the description data of the architecture elements of the network architecture corresponding to the image, where the configuration parameters may be parameters selected by a user when creating the image in the second network architecture interface, for example, when the user sets the topological relationship among the node 1, the node 2, the node 3, and the node 4 as a ring topology in fig. 1e, the ring topology may be used as the configuration parameters.
In one implementation, the specific implementation of the first device obtaining the architectural element and the description data of the architectural element according to the image may be: and identifying the image to obtain the architecture elements of the network architecture and the description data of the architecture elements corresponding to the image. For example, the topological relationship between the nodes can be determined by identifying whether a connecting line exists between each node in the image.
In one implementation, the specific implementation manner of the first device obtaining the architectural element and the description data of the architectural element may be: the first device receives a first architecture message sent by the third device, and the first architecture message may include an architecture element and description data of the architecture element. In one implementation, the first schema message may include schema elements and description data of the schema elements in a table form, or the first schema message may include schema elements and description data of the schema elements in a structured data form (such as key value pairs), which is not limited by the embodiment of the present application.
In one implementation, when a first architectural message includes an architectural element and description data for the architectural element in tabular form, the first architectural message may be represented by table 1:
table 1 first architecture message
Architectural element Description data of architecture elements
General hierarchy of network architecture Access layer, convergence layer and core layer
Network functions of network nodes in an access layer CE
Network function of a network node in a convergence layer PE
Network functions of network nodes in a core layer P
Topological relation between access layer and convergence layer Topology of Chinese character' kou
Convergence layer and core layer topology relationship Full network topology
Transmission medium between layers Optical fiber
In one implementation, the specific implementation manner of the first device obtaining the architectural element and the description data of the architectural element may be: the first device receives a second architecture message sent by the third device, where the second architecture message may include an architecture element and a description data identifier of the architecture element, and the first device obtains description data corresponding to the description data identifier of the architecture element, and uses the description data corresponding to the description data identifier of the architecture element as the description data of the architecture element. For example, when the architecture element is a total hierarchy of the network architecture, and the description data of the total hierarchy of the network architecture is an access layer, an aggregation layer, and a core layer, the description data identifier of the total hierarchy of the network architecture obtained by the first device may be 1, 2, and 3, where 1, 2, and 3 are used to identify the access layer, the aggregation layer, and the core layer, respectively. Because the data volume of the description data identification is smaller than that of the description data, the data volume needing to be transmitted can be effectively reduced by sending the description data identification instead of the description data, and the transmission efficiency is improved. It should be noted that, the first device stores a corresponding relationship between each piece of description data and a corresponding description data identifier.
In one implementation, the first device and the third device, and the second device to be mentioned below may be a User Equipment (UE), a remote terminal, a mobile terminal, a wireless communication device, a user equipment, a server, or the like, where the user equipment may be a mobile phone, a desktop computer, a laptop computer, a wearable device, or the like.
Step S102: the first device obtains a description file of the network architecture according to the architecture element and the description data of the architecture element.
Specifically, after the first device obtains the architecture element and the description data of the architecture element, the description file of the network architecture may be obtained according to the architecture element and the description data of the architecture element. The description file of the network architecture can be used for completely describing one network architecture. In one implementation, the data format of the description file of the network architecture may be a table (e.g., table 1), structured data, or a computer language (e.g., a machine language, an assembly language, or a high-level language), and the like, which is not limited in this application.
Step S103: and the first equipment carries out data processing according to the description file of the network architecture.
Specifically, after obtaining the description file of the network architecture, the first device may perform data processing according to the description file of the network architecture. In one implementation, the specific implementation manner of the first device performing data processing according to the description file of the network architecture may be one or more of the following steps: the first equipment obtains the architecture diagram of the network architecture according to the description file of the network architecture and outputs the architecture diagram of the network architecture; the first device stores a description file of the network architecture; the first device sends the description file of the network architecture to the second device, so that the second device performs data processing according to the description file of the network architecture.
The first device outputs the architecture diagram of the network architecture for the user to check, so that the user can conveniently and quickly judge whether the required network architecture is accurately established according to the architecture diagram, and when the network architecture corresponding to the output architecture diagram is not the network architecture required by the user, the first device can quickly modify the network architecture. In one implementation, when the network architecture corresponding to the output architecture diagram is not the network architecture required by the user, the modification manner adopted by the first device may be: the first device receives a modification instruction of a user for an architecture element in the architecture diagram, outputs optional description data corresponding to the architecture element, then receives a selection instruction of the user for target description data in the optional description data, and takes the target description data as the description data of the architecture element. For example, when 3 nodes are included in the architecture diagram and the connection relationship is represented between the 3 nodes through a connecting line, the user may click on a connecting line to cause the first device to output selection information of "whether the connecting line needs to be cancelled", and then the user may click on "ok" to cancel the connecting line, so that the topological relationship between the 3 nodes changes. Therefore, the description data of the architecture elements of the network architecture corresponding to the architecture diagram can be changed by modifying the architecture diagram, and the description data of the architecture elements of the network architecture can be modified more quickly by the method, so that the network architecture required by a user can be obtained as soon as possible.
After obtaining the description file of the network architecture, the first device may store the description file of the network architecture in the network architecture database, so that the description file of the network architecture may be obtained from the network architecture database when the description file of the network architecture is subsequently required. After the first device stores the description file of the network architecture, the description file of the network architecture can be sent to the second device, and data processing is performed in the second device according to the description file of the network architecture. By the method, the description file of the network architecture can be transmitted, the utilization rate of the description file of the network architecture is improved, and meanwhile, the application range of the description file of the network architecture can be expanded. For example, when the first device is a network architecture server and the second device is a network architecture analysis server, the second device may obtain a description file of a network architecture to be analyzed from the first device and analyze the description file, and by this means, loads in the first device and the second device may be effectively reduced.
Therefore, by implementing the embodiment of the application, any network architecture can be described through the architecture elements and the description data of the architecture elements, and the description file of the network architecture can be quickly and accurately obtained through the description data of the architecture elements and the description data of the architecture elements which can be identified by a computer.
Referring to fig. 2, fig. 2 is a flow chart illustrating another network architecture description method provided in the embodiment of the present application, which details how to compare architecture index values of a first network architecture and a second network architecture, and the method may include, but is not limited to, the following steps:
step S201: the first device obtains an architectural element and description data for the architectural element.
Step S202: the first device obtains a description file of the network architecture according to the architecture element and the description data of the architecture element, and the network architecture may include a first network architecture and a second network architecture.
It should be noted that, the execution processes of steps S201 to S202 can respectively refer to the detailed descriptions of steps S101 to S102 in fig. 1a, and are not described herein again.
Step S203: the first device receives an architecture comparison instruction for comparing architecture index values of the first network architecture and the second network architecture.
Specifically, after receiving the architecture comparison instruction, the first device may obtain an architecture index value of the first network architecture and an architecture index value of the second network architecture, and further compare the architecture index value of the first network architecture with the architecture index value of the second network architecture. For example, when the user needs to compare the performance of the first network architecture with that of the second network architecture and pays more attention to the architecture index 1, the user may operate the first device to generate an architecture comparison instruction, where the architecture comparison instruction is used to compare the first network architecture with the second network architecture with respect to the architecture index 1, and after the first device obtains the comparison result, the first device may output a prompt message to prompt which network architecture's architecture index 1 has a higher value than that of another network architecture's architecture index 1, so that the user selects the network architecture with the higher value of the architecture index 1 (it is assumed that the higher value of the architecture index 1 indicates that the performance of the network architecture is better).
In one implementation, after obtaining the description file of the network architecture, the first device may perform data processing according to the description file of the network architecture. In an implementation manner, a specific implementation manner of the first device performing data processing according to the description file of the network architecture may be: the first device obtains the network architecture according to the description file of the network architecture, and analyzes the network architecture to obtain an analysis result of the network architecture. For example, the total construction cost of the network architecture may be analyzed, or one or more of network capacity, end-to-end delay, reliability, survivability, network elasticity, service expandability, and the like of a network corresponding to the network architecture may also be analyzed. By analyzing the network architecture, the performance of the network architecture can be evaluated in a more detailed and multidimensional manner, and further a decision basis for selecting the network architecture is provided for a customer, for example, a network optimization suggestion can be provided for the customer according to an analysis result, or a network architecture and a technical route map which are relatively in line with future requirements can be suggested for the customer according to the analysis result, a market development target of the customer, a business evolution trend of a country, a current industry trend, a technical evolution route and the like, so that customer interest is aroused, and economic benefits are improved.
In one implementation, after obtaining the analysis result of the network architecture, the first device may store the analysis result in a preset memory. In one implementation, the analysis result of the network architecture may include an architecture index value, and in this case, the specific implementation manner of the first device obtaining the architecture index value of the first network architecture and the architecture index value of the second network architecture may be: the architecture index value of the first network architecture and the architecture index value of the second network architecture are obtained from a preset memory of the first device.
In one implementation, the specific implementation of the first device obtaining the architecture index value of the first network architecture and the architecture index value of the second network architecture may be: and obtaining a first network architecture according to the description file of the first network architecture, analyzing the first network architecture to obtain an architecture index value of the first network architecture, obtaining a second network architecture according to the description file of the second network architecture, and analyzing the second network architecture to obtain an architecture index value of the second network architecture.
In one implementation, the specific implementation of the first device obtaining the architecture index value of the first network architecture and the architecture index value of the second network architecture may be: the method comprises the steps that a first device inquires an architecture index value of a first network architecture and an architecture index value of a second network architecture in a preset memory, and if the architecture index value of the first network architecture and the architecture index value of the second network architecture exist in the preset memory, the architecture index value of the first network architecture and the architecture index value of the second network architecture are obtained; if the architecture index value of the first network architecture does not exist in the preset memory, the first network architecture is obtained according to the description file of the first network architecture, and the first network architecture is analyzed to obtain the architecture index value of the first network architecture. Similarly, if the architecture index value of the second network architecture does not exist in the preset memory, the second network architecture is obtained according to the description file of the second network architecture, and the second network architecture is analyzed to obtain the architecture index value of the second network architecture.
Step S204: the first device obtains a first network architecture according to the description file of the first network architecture, analyzes the first network architecture to obtain an architecture index value of the first network architecture, obtains a second network architecture according to the description file of the second network architecture, and analyzes the second network architecture to obtain an architecture index value of the second network architecture.
For example, when the architecture index is a total construction cost, and the total construction cost includes a link cost and an equipment cost, after the first device obtains the first network architecture, the link cost of the first network architecture may be obtained according to the total number of links included in the first network architecture, the link type (i.e., a transmission medium), and an average cost of a single link of each link type, and the equipment cost of the first network architecture may be obtained according to the number and type of network devices included in the first network architecture and an average price of a single network device of each type, and then a sum of the link cost and the equipment cost is taken as the total construction cost of the first network architecture. It should be noted that the total construction cost including the link cost and the equipment cost is only used for example, and in other possible implementations, the total construction cost may also include other costs, and the embodiment of the present application is not limited by this way.
Step S205: if the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture, the first device prompts that the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture.
Specifically, after the first device prompts that the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture, the user may determine that the performance of the first network architecture is better than the performance of the second network architecture, if the higher the architecture index value indicates that the performance of the network architecture is better. In one implementation, if the architecture index value of the first network architecture is less than or equal to the architecture index value of the second network architecture, the first device may also prompt that the architecture index value of the first network architecture is less than or equal to the architecture index value of the second network architecture.
In one implementation, after obtaining the first network architecture, the first device may analyze the first network architecture according to an actual situation to obtain one or more architecture index values of the first network architecture.
By comparing the architecture index value of the first network architecture with the architecture index value of the second network architecture, a user can select a more appropriate or higher-performance network architecture, and the economic benefit is improved. For example, when an operator needs to evolve an existing network architecture, it may be determined whether the change description data can successfully evolve the existing network architecture by changing description data for describing architecture elements of the existing network architecture and then comparing architecture index values of the existing network architecture before and after the change of the description data. For example, when an operator wishes to modify a topology relationship between network devices in an existing network architecture, where the description data of the topology relationship between hierarchies as an architecture element may be a dual-homing topology, a full-network topology, and a ring topology, and the existing network architecture includes 10 network devices, the operator may configure the topology relationship between hierarchies of 10 network devices into the dual-homing topology, the full-network topology, and the ring topology, respectively, and analyze the configured network architecture after the configuration is completed, to obtain an architecture index value of the network architecture, and determine why the topology relationship between hierarchies of 10 network devices is configured according to the architecture index value, so that the robustness of a network may be strongest, or when the topology relationship between hierarchies of 10 network devices is configured, the existing optical cable resource may satisfy an optical cable resource requirement in an actual network building process. When the existing optical cable resources of the operator are less, the operator needs to acquire a network architecture with less optical cable resource requirements in the actual networking process, so that the network architecture can adapt to the operator. When the existing optical cable resources of the operator are sufficient and the network required to be built by the operator has a high requirement on robustness, the operator can use the full-network topology as the inter-hierarchy topological relation of the network equipment to enhance the robustness of the actual network. On the other hand, in the prior art, when a new inter-hierarchy topological relation is configured, the efficiency is low and the error is prone to occur, and especially in scenes involving complex network structures, various network technologies and the like, the efficiency and the accuracy of manual planning by means of network architecture diagrams and text descriptions are low. In the embodiment of the present application, by defining the architecture elements and the description data of the architecture elements, when the device configures the inter-level topology relationship, only the description data of the inter-level topology relationship (one architecture element) needs to be modified, which greatly improves the configuration efficiency.
In one implementation, the first device may obtain operation data of a network corresponding to the third network architecture, and determine description data of an architecture element included in the third network architecture according to the operation data.
Wherein the operation data is actual operation data (information such as configuration scripts and operation parameters of devices) collected by a network corresponding to the third network architecture in an actual network operation process, and since a situation that a design state and an operation state are inconsistent may occur in the actual network deployment and operation process, the network obtained by the actual deployment is different from a network expected to be built, at this time, a network planning diagram designed by a network planner is different from the actual network, in order to better understand the network architecture of the actual network, the actual network architecture can be analyzed by collecting the actual operation data of the network, by machine learning or big data processing and other methods, the actual network architecture can be represented by description data of the architecture elements and the architecture elements, and the actual network architecture can be stored by storing the description data of the architecture elements and the architecture elements, so that the user can learn the actual network architecture more quickly. When the actual network architecture is stored by adopting the architecture elements and the description data of the architecture elements, the detailed and multi-dimensional comparison between the actual network architecture and other network architectures can be conveniently carried out, so that the actual network architecture is favorably evolved to the network architecture with better performance. For example, when the actual operation data includes packet transfer data between the network devices, the topological relationship between the network devices may be obtained through the packet transfer.
By implementing the embodiment of the application, the description file of the network architecture can be quickly and accurately obtained through the architecture elements and the description data of the architecture elements which can be identified by the computer, and further, when the network architecture is planned according to the description file of the network architecture, the accuracy of network architecture planning is favorably improved. In addition, by comparing the architecture index value of the first network architecture with the architecture index value of the second network architecture, a user can select a more appropriate network architecture or a network architecture with higher performance, and the economic benefit is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for describing a network architecture according to another embodiment of the present application, which details how to add a new architecture element to the network architecture, and the method may include, but is not limited to, the following steps:
step S301: the first device obtains an architectural element and description data for the architectural element.
Step S302: the first device obtains a description file of the network architecture according to the architecture element and the description data of the architecture element.
Step S303: and the first equipment carries out data processing according to the description file of the network architecture.
It should be noted that the execution processes of steps S301 to S302 can refer to the specific descriptions of steps S101 to S102 in fig. 1a, respectively, and the execution process of step S303 can refer to the specific descriptions of step S103 in fig. 1a or steps S203 to S205 in fig. 2, which are not repeated herein.
Step S304: the method comprises the steps that when a first device receives an element adding instruction aiming at a first type of network architecture, the first device obtains a first architecture element, the first device comprises multiple types of network architectures, each type of network architecture can correspond to one architecture element set, and the first type is one of the multiple types of the first device.
In the embodiment of the present application, a plurality of types of network architectures are stored in the first device, and as the network technology develops, the network architecture also needs to be evolved correspondingly to adapt to the development of the network technology. In one implementation, the evolution of the network architecture may appear as: adding a new architecture element in the original network architecture, and setting corresponding description data for the new architecture element.
When receiving an element addition instruction for the first type of network architecture, the first device indicates that a user needs to add a new architecture element to the architecture element set corresponding to the first type of network architecture, and at this time, the first device may acquire the new architecture element (i.e., the first architecture element) that needs to be added, and then add the new architecture element to the architecture element set corresponding to the first type of network architecture. For example, if the architecture element set corresponding to the 5G type network architecture includes the following architecture elements: when the architecture element 1, the architecture element 2, and the architecture element 3 are added, after receiving an element addition instruction for the first type of network architecture, the first device may obtain the architecture element 4 (i.e., the first architecture element), and add the architecture element 4 to the architecture element set corresponding to the network architecture of the 5G type, that is, after adding the architecture element 4, the architecture element set corresponding to the network architecture of the 5G type includes the architecture elements: architecture element 1, architecture element 2, architecture element 3, and architecture element 4.
In one implementation, when adding a new architecture element, the addition may be performed only for the first type of network architecture, for example, when the first device stores network architectures of 3G, 4G, and 5G types, if the newly added architecture element is only applicable to a network architecture of 5G type, the element addition instruction triggered by the user may be only used for adding an architecture element of a network architecture of 5G type (i.e., the first type). In an implementation, when a new architecture element is added, the addition may be performed for multiple types of network architectures, for example, when 3G, 4G, and 5G types of network architectures are stored in the first device, if the newly added architecture element is applicable to the 4G and 5G types of network architectures, the element addition instruction triggered by the user may be used to add the architecture element of the 4G and 5G types of network architectures.
It should be noted that, in the embodiment of the present application, the execution order of step S304 is not limited, and for example, step S304 may be executed before step S301, step S304 may be executed between step S301 and step S302, and step S304 may be executed between step S302 and step S303.
Step S305: the first device adds the first architectural element to a set of architectural elements corresponding to the first type of network architecture.
Specifically, after the first device obtains the first architecture element and adds the first architecture element to the architecture element set corresponding to the first type of network architecture, the description data set corresponding to the first architecture element may also be configured.
By adding new architecture elements (namely, the first architecture elements) in the architecture element set corresponding to the network architecture, the network architecture can have good expansibility, and the future new network architecture is described by continuously adding the new architecture elements, so that the application range of the network architecture is favorably expanded.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, each architecture element in the architecture element set may correspond to one description data set, and each description data in the description data set corresponding to the architecture element may be understood as a value of the architecture element, where it is to be noted that a data form of the description data is not limited to a numerical value, and may also be a table, an image, structured data, a computer language, or the like.
In one implementation, the evolution of the network architecture can also be represented as: and adding new description data in the description data set corresponding to the architecture element of the original network architecture. Specifically, the specific implementation of adding new description data to the description data set corresponding to the architecture element of the original network architecture may be: when receiving a description data adding instruction for a second architecture element, a first device acquires first description data, wherein an architecture element set corresponding to a second type of network architecture comprises the second architecture element, and the second type is one of multiple types included in the first device; and adding the first description data to the description data set corresponding to the second architecture element.
When receiving the description data adding instruction for the second architecture element, the first device indicates that the user needs to add new description data in the description data set of the second architecture element, and at this time, the first device may acquire the new description data (i.e., the first description data) that needs to be added, and then add the new description data to the description data set corresponding to the second architecture element. For example, if the description data set corresponding to the second architectural element includes description data: when the description data 1, the description data 2 and the description data 3 are received, after receiving a description data adding instruction for the second architecture element, the first device may obtain the description data 4 (i.e., the first description data), and add the description data 4 to the description data set corresponding to the second architecture element, that is, after adding the description data 4, the description data set corresponding to the second architecture element includes the description data: description data 1, description data 2, description data 3, and description data 4.
The network architecture has good expansibility by adding new description data (namely, the first description data) in the description data set corresponding to the architecture elements, and the architecture elements can better adapt to future new network architectures by continuously adding new description data to describe the architecture elements, thereby being beneficial to expanding the application range of the network architecture.
By implementing the embodiment of the application, the network architecture has good expansibility by adding the new architecture elements (namely the first architecture elements) in the architecture element set corresponding to the network architecture, and the future new network architecture is described by continuously adding the new architecture elements, thereby being beneficial to expanding the application range of the network architecture.
The method of the embodiments of the present application is set forth above in detail and the apparatus of the embodiments of the present application is provided below.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a network architecture description apparatus according to an embodiment of the present application, where the network architecture description apparatus 40 is used to execute steps executed by a first device in the method embodiments corresponding to fig. 1a to fig. 3, and the network architecture description apparatus 40 may include:
an obtaining module 401, configured to obtain an architecture element and description data of the architecture element;
a processing module 402, configured to obtain a description file of the network architecture according to the architecture element and the description data of the architecture element;
the processing module 402 is further configured to perform data processing according to the description file of the network architecture.
In an implementation manner, when the processing module 402 is configured to perform data processing according to a description file of a network architecture, the processing module may specifically be configured to: and obtaining a network architecture according to the description file of the network architecture, and analyzing the network architecture to obtain an analysis result of the network architecture.
In one implementation, the analysis result of the network architecture may include an architecture index value, the network architecture may include a first network architecture and a second network architecture, the network architecture description apparatus 40 may further include a prompt module 403, the obtaining module 401 may be further configured to receive an architecture comparison instruction, and the architecture comparison instruction may be configured to compare the architecture index values of the first network architecture and the second network architecture; the prompting module 403 may be configured to prompt the architecture index value of the first network architecture to be higher than the architecture index value of the second network architecture if the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture.
In an implementation manner, when the processing module 402 is configured to perform data processing according to a description file of a network architecture, it may be specifically configured to perform any one or more of the following steps: obtaining an architecture diagram of the network architecture according to the description file of the network architecture, and outputting the architecture diagram of the network architecture; storing a description file of the network architecture; and sending the description file of the network architecture to the second device so that the second device performs data processing according to the description file of the network architecture.
In an implementation manner, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, the network architecture description apparatus 40 may further include an adding module 404, and the obtaining module 401 may be further configured to obtain the first architecture element when an element adding instruction for the first type of network architecture is received, where the first type may be one of multiple types included in the first device; the adding module 404 may be configured to add the first architectural element to a set of architectural elements corresponding to the first type of network architecture.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, each architecture element in the architecture element set may correspond to one description data set, and the obtaining module 401 may be further configured to, when receiving a description data adding instruction for a second architecture element, obtain the first description data, where the architecture element set corresponding to the second type of network architecture includes the second architecture element, and the second type may be one of multiple types included in the first device; the adding module 404 may be further configured to add the first description data to the description data set corresponding to the second architectural element.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, each architecture element in the architecture element set may correspond to one description data set, and the obtaining module 401, when being configured to obtain an architecture element and description data of the architecture element, may specifically be configured to: in the case that a description instruction for a third type of network architecture is detected, outputting a set of architecture elements corresponding to the third type of network architecture in the network architecture interface, outputting a corresponding description data input box for each architecture element in the set of architecture elements, and outputting a corresponding description data set for each architecture element in the set of architecture elements, where the third type may be one of multiple types included in the first device; acquiring user operation of a description data input box output aiming at each architecture element in the architecture element set; and taking the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation.
In an implementation manner, the network architecture description apparatus 40 may further include a determining module 405, and the obtaining module 401 may be further configured to obtain operation data of a network corresponding to a third network architecture; the determining module 405 may be configured to determine, from the operating data, description data of an architectural element comprised by the third network architecture.
It should be noted that details that are not mentioned in the embodiment corresponding to fig. 4 and specific implementation manners of the steps executed by each module may refer to the embodiments shown in fig. 1a to fig. 3 and the foregoing details, and are not described again here.
In one implementation, the relevant functions implemented by the various modules in fig. 4 may be implemented in conjunction with a processor and a transceiver. Referring to fig. 5, fig. 5 is a schematic structural diagram of a first device according to an embodiment of the present disclosure, where the first device 50 may include a transceiver 501, a processor 502, and a memory 503, and the transceiver 501, the processor 502, and the memory 503 may be connected to each other through one or more communication buses, and may also be connected in other manners. The related functions implemented by the obtaining module 401, the processing module 402, the prompting module 403, the adding module 404 and the determining module 405 shown in fig. 4 may be implemented by the same processor 502, or may be implemented by a plurality of different processors 502.
The transceiver 501 may be used to transmit data and/or signaling as well as receive data and/or signaling. In the embodiment of the present application, the transceiver 501 may be configured to receive an element addition instruction for a first type of network architecture.
The processor 502 is configured to perform the respective functions of the first device in the methods described in fig. 1 a-3. The processor 502 may include one or more processors, for example, the processor 502 may be one or more Central Processing Units (CPUs), Network Processors (NPs), hardware chips, or any combination thereof. In the case where the processor 502 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
The memory 503 is used to store program codes and the like. The memory 503 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 503 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 503 may also comprise a combination of the above kinds of memories.
The processor 502 may call the program code stored in the memory 503 to perform the following operations:
obtaining an architecture element and description data of the architecture element;
obtaining a description file of the network architecture according to the architecture element and the description data of the architecture element;
and processing data according to the description file of the network architecture.
In one implementation, when the processor 502 executes data processing according to a description file of a network architecture, the following operations may be specifically executed: and obtaining a network architecture according to the description file of the network architecture, and analyzing the network architecture to obtain an analysis result of the network architecture.
In one implementation, the analysis result of the network architecture may include an architecture index value, the network architecture may include a first network architecture and a second network architecture, and the processor 502 may further perform the following operations: receiving an architecture comparison instruction, wherein the architecture comparison instruction can be used for comparing architecture index values of the first network architecture and the second network architecture; if the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture, the method prompts that the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture.
In one implementation, when the processor 502 performs data processing according to the description file of the network architecture, any one or more of the following operations may be specifically performed: obtaining an architecture diagram of the network architecture according to the description file of the network architecture, and outputting the architecture diagram of the network architecture; storing a description file of the network architecture; and sending the description file of the network architecture to the second device so that the second device performs data processing according to the description file of the network architecture.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to a set of architecture elements, and the processor 502 may further perform the following operations: when an element adding instruction aiming at a first type of network architecture is received, acquiring a first architecture element, wherein the first type can be one of multiple types included by a first device; the first architecture element is added to a set of architecture elements corresponding to the first type of network architecture.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to a set of architecture elements, each architecture element in the set of architecture elements may correspond to a set of description data, and the processor 502 may further perform the following operations: when a description data adding instruction for a second architecture element is received, acquiring first description data, wherein an architecture element set corresponding to a second type of network architecture comprises the second architecture element, and the second type may be one of multiple types included in the first device; and adding the first description data to the description data set corresponding to the second architecture element.
In one implementation, the first device may include multiple types of network architectures, each type of network architecture may correspond to one architecture element set, each architecture element in the architecture element set may correspond to one description data set, and the following operations may be specifically performed when the processor 502 acquires an architecture element and description data of the architecture element: in the case that a description instruction for a third type of network architecture is detected, outputting a set of architecture elements corresponding to the third type of network architecture in the network architecture interface, outputting a corresponding description data input box for each architecture element in the set of architecture elements, and outputting a corresponding description data set for each architecture element in the set of architecture elements, where the third type may be one of multiple types included in the first device; acquiring user operation of a description data input box output aiming at each architecture element in the architecture element set; and taking the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation.
In one implementation, the processor 502 may also perform the following operations: acquiring operation data of a network corresponding to a third network architecture; from the operating data, description data of the architectural elements comprised by the third network architecture is determined.
Further, the processor 502 may also execute operations corresponding to the first device in the embodiments shown in fig. 1a to fig. 3, which may specifically refer to the description in the method embodiments and will not be described herein again.
An embodiment of the present application further provides a computer-readable storage medium, which can be used to store computer software instructions for the network architecture describing apparatus in the embodiment shown in fig. 4, and which contains a program designed for executing the first device in the foregoing embodiment.
The computer readable storage medium includes, but is not limited to, flash memory, hard disk, solid state disk.
Embodiments of the present application further provide a computer program product, which, when executed by a computing device, can execute the method designed for the first device in the embodiments of fig. 1a to 3.
There is also provided in an embodiment of the present application a chip including a processor and a memory, where the memory includes the processor and the memory, and the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, and the computer program is used to implement the method in the above method embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A network architecture description method applied to a first device includes:
obtaining architecture elements and description data of the architecture elements;
obtaining a description file of the network architecture according to the architecture elements and the description data of the architecture elements;
and processing data according to the description file of the network architecture.
2. The method according to claim 1, wherein the data processing according to the description file of the network architecture comprises:
obtaining the network architecture according to the description file of the network architecture;
and analyzing the network architecture to obtain an analysis result of the network architecture.
3. The method of claim 2, wherein the analysis of the network architecture comprises an architecture index value, wherein the network architecture comprises a first network architecture and a second network architecture, and wherein the method further comprises:
Receiving an architecture comparison instruction for comparing architecture index values of the first network architecture and the second network architecture;
if the architecture index value of the first network architecture is higher than the architecture index value of the second network architecture, the architecture index value of the first network architecture is prompted to be higher than the architecture index value of the second network architecture.
4. The method according to claim 1, wherein said data processing according to the description file of the network architecture comprises one or more of the following steps:
obtaining an architecture diagram of the network architecture according to the description file of the network architecture, and outputting the architecture diagram of the network architecture;
storing a description file of the network architecture;
and sending the description file of the network architecture to second equipment so that the second equipment performs data processing according to the description file of the network architecture.
5. The method of any of claims 1 to 4, wherein the first device comprises a plurality of types of network architectures, one set of architecture elements for each type of network architecture, the method further comprising:
when an element adding instruction aiming at a first type of network architecture is received, acquiring a first architecture element, wherein the first type is one of the multiple types;
Adding the first architecture element to a set of architecture elements corresponding to the first type of network architecture.
6. The method according to any one of claims 1 to 4, wherein the first device comprises a plurality of types of network architectures, each type of network architecture corresponding to a set of architecture elements, each architecture element in the set of architecture elements corresponding to a set of description data, the method further comprising:
when a description data adding instruction for a second architecture element is received, acquiring first description data, wherein an architecture element set corresponding to a second type of network architecture comprises the second architecture element, and the second type is one of the multiple types;
and adding the first description data to the description data set corresponding to the second architecture element.
7. The method according to any one of claims 1 to 4, wherein the first device comprises multiple types of network architectures, each type of network architecture corresponds to one architecture element set, each architecture element in an architecture element set corresponds to one description data set, and the obtaining of architecture elements and description data of the architecture elements comprises:
In the case that a description instruction for a third type of network architecture is detected, outputting a set of architecture elements corresponding to the third type of network architecture in a network architecture interface, outputting a corresponding description data input box for each architecture element in the set of architecture elements, and outputting a corresponding description data set for each architecture element in the set of architecture elements, where the third type is one of the multiple types;
obtaining a user operation of a description data input box output aiming at each architecture element in the architecture element set;
and taking the second description data in the description data set corresponding to each architecture element in the architecture element set as the description data of the architecture element according to the user operation.
8. The method according to any one of claims 1 to 4, further comprising:
acquiring operation data of a network corresponding to a third network architecture;
according to the operation data, description data of the architecture elements included in the third network architecture is determined.
9. A network architecture description apparatus, comprising means for performing the method of any of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 8.
CN201910366311.2A 2019-04-30 2019-04-30 Network architecture description method, device and medium thereof Active CN111865640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910366311.2A CN111865640B (en) 2019-04-30 2019-04-30 Network architecture description method, device and medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910366311.2A CN111865640B (en) 2019-04-30 2019-04-30 Network architecture description method, device and medium thereof

Publications (2)

Publication Number Publication Date
CN111865640A true CN111865640A (en) 2020-10-30
CN111865640B CN111865640B (en) 2023-09-26

Family

ID=72966720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910366311.2A Active CN111865640B (en) 2019-04-30 2019-04-30 Network architecture description method, device and medium thereof

Country Status (1)

Country Link
CN (1) CN111865640B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333029A (en) * 2020-11-23 2021-02-05 网易(杭州)网络有限公司 Network architecture configuration information generation method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088364A1 (en) * 2008-10-08 2010-04-08 International Business Machines Corporation Social networking architecture in which profile data hosting is provided by the profile owner
CN103473619A (en) * 2013-09-26 2013-12-25 西安电子科技大学 Analysis method based on network architecture and application thereof
CN105809248A (en) * 2016-03-01 2016-07-27 中山大学 Method for configuring DANN onto SDN and an interaction method between them
CN105915407A (en) * 2016-04-13 2016-08-31 重庆邮电大学 Flow generator virtualization realization system and flow generator virtualization realization method based on SDN
CN107016175A (en) * 2017-03-23 2017-08-04 中国科学院计算技术研究所 It is applicable the Automation Design method, device and the optimization method of neural network processor
CN107171831A (en) * 2017-04-28 2017-09-15 华为技术有限公司 Network deployment method and device
CN108737201A (en) * 2018-06-30 2018-11-02 合肥微商圈信息科技有限公司 Machine room equipment and topology wiring visual query method
CN108768682A (en) * 2018-02-27 2018-11-06 中国科学院软件研究所 A kind of Information Network comprehensive performance evaluation system and method
CN109150602A (en) * 2018-08-16 2019-01-04 郑州云海信息技术有限公司 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088364A1 (en) * 2008-10-08 2010-04-08 International Business Machines Corporation Social networking architecture in which profile data hosting is provided by the profile owner
CN103473619A (en) * 2013-09-26 2013-12-25 西安电子科技大学 Analysis method based on network architecture and application thereof
CN105809248A (en) * 2016-03-01 2016-07-27 中山大学 Method for configuring DANN onto SDN and an interaction method between them
CN105915407A (en) * 2016-04-13 2016-08-31 重庆邮电大学 Flow generator virtualization realization system and flow generator virtualization realization method based on SDN
CN107016175A (en) * 2017-03-23 2017-08-04 中国科学院计算技术研究所 It is applicable the Automation Design method, device and the optimization method of neural network processor
CN107171831A (en) * 2017-04-28 2017-09-15 华为技术有限公司 Network deployment method and device
CN108768682A (en) * 2018-02-27 2018-11-06 中国科学院软件研究所 A kind of Information Network comprehensive performance evaluation system and method
CN108737201A (en) * 2018-06-30 2018-11-02 合肥微商圈信息科技有限公司 Machine room equipment and topology wiring visual query method
CN109150602A (en) * 2018-08-16 2019-01-04 郑州云海信息技术有限公司 A kind of method, apparatus, computer storage medium and the terminal of adaptation storage equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333029A (en) * 2020-11-23 2021-02-05 网易(杭州)网络有限公司 Network architecture configuration information generation method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111865640B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
US11178049B2 (en) Device deployment and net work management using a self-service portal
US10700958B2 (en) Network management system with traffic engineering for a software defined network
US9288143B2 (en) Data flow path determination
US20160253078A1 (en) Enhanced user interface systems including dynamic context selection for cloud-based networks
JP2018508137A (en) System and method for SDT to work with NFV and SDN
CN110266550B (en) Method and device for predicting fault influence
US9674045B2 (en) Methods, systems, and computer readable media for modeling packet technology services using a packet virtual network (PVN)
CN103685583A (en) Method and system for resolving domain names
JP2018523442A (en) Software defined topology for user plane (SDT)
CN108282362B (en) Network topology generation method, device and equipment
US8819206B2 (en) Graph based flexible service discovery and management system and method
CN103514245A (en) Creating searchable and global data base whose processing tracking is visible to user
US20090034433A1 (en) Method for Rebuilding an Ad Hoc Network and the Nodes Thereof
CN114091610A (en) Intelligent decision method and device
US20140156820A1 (en) Configuration information selection based on extracted information
US20150043911A1 (en) Network Depth Limited Network Followed by Compute Load Balancing Procedure for Embedding Cloud Services in Software-Defined Flexible-Grid Optical Transport Networks
CN108733698A (en) A kind of processing method and background service system of log information
CN111865640B (en) Network architecture description method, device and medium thereof
US20180034696A1 (en) System and method for joint embedding and backup provisioning in virtual networks
CN105207820A (en) Management method and device for terminal devices in local area network
CN113434190B (en) Data processing method and device, storage medium and electronic equipment
CN106603257A (en) Method for determining association relationship between station and switch port
CN115766426A (en) Computing resource processing method and device, electronic equipment and readable storage medium
CN116418664A (en) Method, device, system and storage medium for automatic network equipment model creation
US11550050B2 (en) Radar visualization of cloud native environments

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