A network architecture measurement method, device, electronic device and storage medium
By obtaining and analyzing the traffic parameters of network nodes, calculating and optimizing the flatness of the network architecture, the problem of being unable to quantify the flatness of the network architecture in the existing technology is solved, and quantitative evaluation and optimization of the network architecture is realized, satisfying the enterprise's cooperation The demand for cloud migration and cloud services has improved the efficiency of cloud service activation.
Patent Information
- Application Number
- CN202111646932.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-29
AI Technical Summary
The existing technology cannot quantitatively evaluate the flatness of the network architecture, resulting in the inability to meet the enterprise's demand for cloud migration and cloud service activation efficiency, affecting the development of telecommunications' cloud-entry dedicated line services.
By obtaining the parameters of the node, including the traffic of the access side interface and the aggregation side interface, calculate the flatness of each node, and optimize the network architecture according to the evaluation results, adjust the node with the smallest flatness and the largest passing traffic to achieve the network architecture Quantitative evaluation and optimization.
It realizes quantitative evaluation and optimization of the flatness of the network architecture, improves the flexibility and scalability of the network architecture, meets the enterprise's needs for cloud migration and cloud services, and improves the efficiency of cloud service activation.
Smart Images

Figure CN114500333B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network technology and security technology, and in particular to a network architecture measurement method, device, electronic device and storage medium. Background Art
[0002] The existing information, communication and technology (ICT) infrastructure of telecommunications is facing great challenges. With the rapid development of enterprise cloud services, the demand for one-hop access to the cloud and multi-cloud access by enterprise users has soared. The traditional network architecture is difficult to expand elastically, and the separation of network and cloud makes it difficult to achieve on-demand interconnection. These have seriously restricted the migration of enterprise services to the cloud and affected the efficiency of cloud service provisioning, making it impossible to meet the business demands of flexible access to the cloud and one-hop access to multiple clouds and the key service quality agreement (SLA) requirements of enterprises, thus hindering the development of dedicated cloud services for telecommunications. Therefore, there is an urgent need to seek a scientific network architecture measurement method to evaluate the flatness of the network architecture.
[0003] The existing technology mainly uses the level and hop count to describe the flatness of the network architecture, and takes the H network architecture and the W network architecture as examples to illustrate the limitations of the existing technology. Assume that over time, the local traffic of access ring A in the H network architecture increases from 1G to 5G and becomes congested; the access ring B in the W network architecture increases from 1G to 2G and is not congested.
[0004] From this point of view, using the hierarchy and the number of hops can only qualitatively evaluate the flatness of the network architecture, making the network architecture always fixed. Therefore, there is a technical problem that the flatness of the network architecture cannot be quantitatively evaluated. Summary of the invention
[0005] In view of the above problems, the present invention provides a network architecture measurement method, device, electronic device and storage medium, which can quantitatively evaluate the flatness of the network architecture according to the parameters corresponding to the nodes, thereby solving the technical problem in the prior art that the flatness of the network architecture cannot be quantitatively evaluated.
[0006] According to a first aspect of the present invention, a method for measuring a network architecture is provided, the method comprising the following steps:
[0007] Get the parameters corresponding to the node;
[0008] Performing a flatness evaluation on the network architecture according to the parameters corresponding to the nodes to obtain a flatness evaluation result of the network architecture;
[0009] The flatness of the network architecture is optimized according to the flatness evaluation result of the network architecture.
[0010] Optionally, before obtaining the parameters corresponding to the node, the method includes:
[0011] Identify the access-side interfaces and aggregation-side interfaces corresponding to the nodes in the network architecture.
[0012] Optionally, the parameters corresponding to the node include the inbound flow of the access side interface, the outbound flow of the access side interface, and the inbound flow of the aggregation side interface.
[0013] Optionally, performing flatness evaluation on the network architecture according to the parameters corresponding to the nodes to obtain a flatness evaluation result of the network architecture includes:
[0014] Obtaining the peak utilization of each aggregation side interface on the node;
[0015] Obtain the flatness of the node according to the inbound flow of the access side interface, the outbound flow of the access side interface, the inbound flow of the aggregation side interface, and the peak value of each aggregation side interface;
[0016] According to the flatness of each of the nodes, obtaining the flatness of the network architecture;
[0017] The flatness of the network architecture is evaluated according to the flatness of the network architecture to obtain a flatness evaluation result of the network architecture.
[0018] Optionally, acquiring the flatness of the node according to the inbound flow of the access side interface, the outbound flow of the access side interface, the inbound flow of the aggregation side interface, and the peak utilization of the aggregation side interface includes:
[0019] Acquire local traffic according to the inbound traffic of the access side interface and the outbound traffic of the access side interface;
[0020] Obtaining the transit traffic according to the inbound traffic of the aggregation side interface and the outbound traffic of the access side interface;
[0021] According to the peak utilization rate of each aggregation side interface, obtaining the average utilization rate of the aggregation side interface;
[0022] The flatness of the node is obtained according to the local traffic, the transit traffic and the average utilization rate of the aggregation side interface.
[0023] Optionally, the optimizing the flatness of the network architecture according to the flatness evaluation result of the network architecture includes:
[0024] Obtaining the equivalent local flow of each of the nodes;
[0025] According to the flatness of each node, the passing flow of each node, and the equivalent local flow of each node, obtaining the node with the smallest flatness, the node with the largest passing flow, and the node with the largest equivalent local flow in the network architecture;
[0026] The node with the smallest flatness, the node with the largest passing traffic, and the node with the largest equivalent local traffic are adjusted, and the flatness of the network architecture is re-obtained.
[0027] Optionally, obtaining the equivalent local traffic of each of the nodes includes:
[0028] Obtaining an equivalent coefficient of each of the nodes according to the local flow of each of the nodes and the passing flow of each of the nodes;
[0029] According to the equivalent coefficient of each node and the local flow of each node, the equivalent local flow of each node is obtained.
[0030] According to a second aspect of the present invention, a network architecture measurement device is provided, the device comprising:
[0031] A data acquisition module is used to obtain the parameters corresponding to the node;
[0032] A flatness evaluation result acquisition module, used to evaluate the flatness of the network architecture according to the parameters corresponding to the nodes, and obtain a flatness evaluation result of the network architecture;
[0033] The optimization module is used to optimize the flatness of the network architecture according to the flatness evaluation result of the network architecture.
[0034] Optionally, the device further comprises:
[0035] The identification module is used to identify the access side interface and the aggregation side interface corresponding to the node in the network architecture.
[0036] Optionally, the flatness evaluation result acquisition module includes:
[0037] A peak utilization acquisition submodule, used to acquire the peak utilization of each aggregation side interface on the node;
[0038] A node flatness calculation submodule, used to obtain the flatness of the node according to the inflow of the access side interface, the outflow of the access side interface, the inflow of the aggregation side interface and the peak value of each aggregation side interface;
[0039] A network architecture flatness calculation submodule, used to obtain the flatness of the network architecture according to the flatness of each node;
[0040] The flatness evaluation result acquisition submodule of the network architecture is used to evaluate the flatness of the network architecture according to the flatness of the network architecture to obtain the flatness evaluation result of the network architecture.
[0041] Optionally, the node flatness calculation submodule includes:
[0042] A local traffic calculation unit, configured to obtain local traffic according to the inbound traffic of the access side interface and the outbound traffic of the access side interface;
[0043] A passing flow calculation unit, used for obtaining the passing flow according to the inflow of the aggregation side interface and the outflow of the access side interface;
[0044] The average utilization rate calculation unit of the aggregation side interface is used to obtain the average utilization rate of the aggregation side interface according to the peak utilization rate of each aggregation side interface;
[0045] The flatness calculation unit of the node is used to obtain the flatness of the node according to the local traffic, the transit traffic and the average utilization rate of the aggregation side interface.
[0046] Optionally, the optimization module includes:
[0047] An equivalent local traffic acquisition submodule, used to acquire the equivalent local traffic of each of the nodes;
[0048] A priority transformation node selection submodule is used to obtain the node with the smallest flatness, the node with the largest passing flow, and the node with the largest equivalent local flow in the network architecture according to the flatness of each node, the passing flow of each node, and the equivalent local flow of each node;
[0049] The flatness optimization submodule of the network architecture is used to adjust the node with the smallest flatness, the node with the largest passing traffic, and the node with the largest equivalent local traffic, and to re-acquire the flatness of the network architecture.
[0050] Optionally, the equivalent local traffic acquisition submodule includes:
[0051] An equivalent coefficient calculation unit, used for obtaining an equivalent coefficient of each of the nodes according to the local flow of each of the nodes and the passing flow of each of the nodes;
[0052] The equivalent local flow calculation unit is used to obtain the equivalent local flow of each of the nodes according to the equivalent coefficient of each of the nodes and the local flow of each of the nodes.
[0053] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0054] processor;
[0055] a memory for storing instructions executable by the processor;
[0056] The processor is configured to execute the instructions to implement a network architecture measurement method as described in the first aspect.
[0057] According to a fourth aspect of the present invention, a computer storage medium is provided. When instructions in the computer storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute a network architecture measurement method as described in the first aspect.
[0058] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0059] The embodiments of the present invention can obtain the parameters corresponding to the nodes; evaluate the flatness of the network architecture according to the parameters corresponding to the nodes to obtain the flatness evaluation result of the network architecture; and optimize the flatness of the network architecture according to the flatness evaluation result of the network architecture. The present invention evaluates the flatness of the network architecture according to the parameters corresponding to the nodes to obtain the flatness evaluation result of the network architecture, thereby achieving a quantitative evaluation of the flatness of the network architecture, and solves the technical problem that the flatness of the network architecture cannot be quantitatively evaluated in the prior art; the present application adjusts the flatness of the network architecture according to the flatness evaluation result of the network architecture when the flatness evaluation result of the network architecture meets the preset conditions, thereby achieving the technical effect of gradually adjusting the network architecture to achieve an optimal flatness, thereby achieving the technical effect of optimizing the flatness of the network architecture.
[0060] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0062] Figure 1 is a flow chart of a network architecture measurement method according to an exemplary embodiment;
[0063] Figure 2 yes Figure 1 The flowchart of step 102 in the flowchart of a network architecture measurement method according to an exemplary embodiment shown;
[0064] Figure 3 yes Figure 2The flowchart of step 202 in the flowchart of step 102 in the flowchart of a method for measuring a network architecture according to an exemplary embodiment shown;
[0065] Figure 4 yes Figure 1 The flowchart of step 103 in the flowchart of a network architecture measurement method according to an exemplary embodiment shown;
[0066] Figure 5 yes Figure 4 The flowchart of step 401 in the flowchart of step 103 in the flowchart of a method for measuring a network architecture according to an exemplary embodiment shown;
[0067] Figure 6 is a device block diagram of a measurement device for a network architecture according to an exemplary embodiment;
[0068] Figure 7 yes Figure 6 The device block diagram of the flatness evaluation result acquisition module 602 in the device block diagram of a network architecture measurement device according to an exemplary embodiment is shown;
[0069] Figure 8 yes Figure 7 The device block diagram of a device for measuring a network architecture according to an exemplary embodiment shows a device block diagram of a flatness evaluation result acquisition module 602 in a device block diagram of a node flatness calculation submodule 702;
[0070] Fig. 9 yes Figure 6 The device block diagram of the optimization module 603 in the device block diagram of a measurement device for a network architecture according to an exemplary embodiment is shown;
[0071] Fig.10 yes Fig. 9 The device block diagram of the equivalent local traffic acquisition submodule 901 in the device block diagram of the optimization module 603 in the device block diagram of a measurement device for a network architecture according to an exemplary embodiment is shown;
[0072] Fig.11 yes Figure 1 A schematic diagram of an IP-based radio access network (IPRAN) network architecture in a network architecture measurement method according to an exemplary embodiment is shown;
[0073] Fig.12 yes Figure 4 The diagram shown is a schematic diagram of adjusting the nodes with priority for transformation in the flowchart of step 103 in the flowchart of a network architecture measurement method according to an exemplary embodiment. DETAILED DESCRIPTION
[0074] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully conveyed to those skilled in the art.
[0075] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0076] In conjunction with the accompanying drawings, a network architecture measurement method, device, electronic device and storage medium provided by an embodiment of the present invention are described in detail through specific embodiments and application scenarios.
[0077] The embodiment of the present invention is applied to the KAI weighted evaluation framework, specifically a 5-dimensional, 16-degree, and 43-subclass KAI weighted evaluation framework, as shown in Table 1; it realizes a comprehensive and multi-angle three-dimensional evaluation of the network architecture, ensuring that each dimension is accurate and objective, and each indicator is sourced and well-founded, and fully considers the rationality, flexible scalability, business carrying capacity, business service capacity, and security assurance capacity of the network architecture, so that the network architecture is no longer static, and provides a digital method for the optimization and evolution of the network architecture.
[0078] Table 1 KAI weighted evaluation framework
[0079]
[0080]
[0081] The first embodiment of the present invention relates to a network architecture measurement method, the flow chart of which is as follows: Figure 1 As shown, including:
[0082] Step 101, obtaining parameters corresponding to the node.
[0083] It should be noted that in the embodiment of the present invention, the node is a node where the aggregation ring and the access ring intersect in the network architecture. For the node, the parameters corresponding to the node can be obtained through a router device, including the inbound flow of the access side interface, the outbound flow of the access side interface, and the inbound flow of the aggregation side interface.
[0084] Furthermore, in the embodiment of the present application, before step 101, the following may be included: identifying access side interfaces and aggregation side interfaces corresponding to nodes in the network architecture.
[0085] It should be noted that, in the embodiment of the present invention, it is first necessary to identify the access side interface and the aggregation side interface corresponding to the node in the network architecture. Fig.11 As shown in the network architecture diagram of IP-based wireless access network (IPRAN), CSG is the access device connected to the user side or base station, ASG is the aggregation device, and RSG is the node connected to RNC; from the perspective of network architecture, CSG is the access side of ASG, and ASG is the access side of RSG. The following defines the access side interface and aggregation side interface of ASG from three networking models, with ASG as the main node. 1. Identification method of access side interface and aggregation side interface of ASG node in ring topology (including single return ring, dual return ring, open ring, tangent ring, ring-in-ring, ring-with-chain, super-large ring, etc.). Among them, the access side interface of ASG: the interface of CSG hanging down, the interface of base station (5G+4G+3G+2G) hanging down; the aggregation side interface of ASG: all interfaces on the ring, that is, the interface connected to ASG + the interface connected to RSG. 2. Identification method of access side interface and aggregation side interface of ASG node in chain topology (including super-long chain). Among them, the access side interface of ASG: the interface of the CSG hanging below, the interface of the base station (5G+4G+3G+2G) hanging below; the aggregation side interface of ASG: all the interfaces of ASG in the chain, that is: the interface connected to ASG + the interface connected to RSG. 3. The identification method of the access side interface and the aggregation side interface of the ASG node in the tree topology (including super large trees). Among them, the access side interface of ASG: the interface of the CSG hanging below, the interface of the base station (5G+4G+3G+2G) hanging below; the aggregation side interface of ASG: all the interfaces of ASG in the tree, that is: the interface connected to ASG + the interface connected to RSG.
[0086] Step 102, performing a flatness evaluation on the network architecture according to the parameters corresponding to the nodes to obtain a flatness evaluation result of the network architecture.
[0087] It should be noted that, in the embodiment of the present invention, by evaluating the flatness of the network architecture according to the parameters corresponding to the nodes, the flatness evaluation result of the network architecture is obtained, thereby realizing the quantitative evaluation of the flatness of the network architecture.
[0088] Furthermore, in the embodiments of the present application, Figure 2yes Figure 1 The flowchart of step 102 in the flowchart of a network architecture measurement method according to an exemplary embodiment is shown, as shown in FIG. Figure 2 As shown, step 102 may also include the following steps.
[0089] Step 201, obtaining the peak utilization rate of each aggregation-side interface on the node.
[0090] It should be noted that, in the embodiment of the present application, the peak utilization rate of each aggregation-side interface on the node can be obtained through the router device.
[0091] Step 202: Obtain the flatness of the node according to the inbound flow of the access side interface, the outbound flow of the access side interface, the inbound flow of the aggregation side interface, and the peak value of each aggregation side interface.
[0092] It should be noted that in the embodiment of the present application, the inbound flow of each access side interface on the node, the outbound flow of the access side interface, and the peak utilization of each aggregation side interface are obtained according to step 101, and the flatness of the node is calculated by the algorithm. The value of the flatness of the node ∈ [0,1], the closer to 0, the more degraded the topology structure of the node is, and the more priority should be given to transformation.
[0093] Step 203: Obtain the flatness of the network architecture according to the flatness of each of the nodes.
[0094] It should be noted that, in the embodiment of the present application, the flatness of the node calculated in step 304 is calculated by formula 5 to obtain the flatness value of the network architecture. Where N is the total number of nodes in the network architecture, F i is the flatness value of the i-th node in the network architecture.
[0095]
[0096] Step 204: perform a flatness evaluation on the network architecture according to the flatness of the network architecture to obtain a flatness evaluation result of the network architecture.
[0097] It should be noted that in the embodiment of the present application, the flatness of the network architecture is evaluated according to the flatness value of the network architecture. The flatness value of the network architecture ∈ [0,1]. The closer the flatness is to 1, the better the flatness of the network architecture; conversely, the closer it is to 0, the worse the flatness of the network architecture.
[0098] Furthermore, in the embodiments of the present application, Figure 3 yes Figure 2 The flowchart of step 202 in the flowchart of step 102 in the flowchart of a method for measuring a network architecture according to an exemplary embodiment is shown, as shown in FIG. Figure 3 As shown, step 202 may also include the following steps.
[0099] Step 301: Acquire local traffic according to the inbound traffic of the access side interface and the outbound traffic of the access side interface.
[0100] It should be noted that in the embodiment of the present application, the inbound flow and outbound flow of the access side interface of each access side interface on the node are obtained according to step 101, and the local flow of the node can be obtained by calculation through formula 1.
[0101] Local traffic = Σ inbound traffic of the access side interface + Σ outbound traffic of the access side interface (1)
[0102] Step 302: Obtain transit traffic according to the inbound traffic of the aggregation side interface and the outbound traffic of the access side interface.
[0103] It should be noted that in the embodiment of the present application, the outgoing flow of the access side interface and the incoming flow of the aggregation side interface of each access side interface on the node are obtained according to step 101, and the passing flow of the node can be obtained by calculation through formula 2.
[0104] Transit traffic = Σ inbound traffic of the aggregation side interface - Σ outbound traffic of the access side interface (2)
[0105] Step 303: Obtain an average utilization rate of the aggregation side interface according to the peak utilization rate of each aggregation side interface.
[0106] It should be noted that in the embodiment of the present application, the peak utilization of each aggregation side interface on the node obtained in step 201 is calculated according to formula 3 to obtain the average utilization of the aggregation measurement interface, wherein i refers to a certain aggregation measurement interface on the node, and n refers to the total number of aggregation measurement interfaces on the node.
[0107]
[0108] Step 304: Obtain the flatness of the node according to the local traffic, the transit traffic, and the average utilization rate of the aggregation-side interface.
[0109] It should be noted that in the embodiment of the present application, the local flow, transit flow and average utilization rate of the aggregation side interface calculated according to the above steps are calculated by formula 4 to obtain the flatness of the node.
[0110]
[0111] Step 103: Optimize the flatness of the network architecture according to the flatness evaluation result of the network architecture.
[0112] It should be noted that in the embodiment of the present invention, when the flatness value of the network architecture is closer to 0, that is, the flatness of the network architecture is worse, the nodes for priority transformation are selected from the network architecture, and the nodes are optimized, and the flatness of the nodes and the flatness of the network architecture are re-evaluated, and then the flatness evaluation results of the network architecture before and after optimization are compared, so as to gradually adjust the network architecture and ultimately achieve the flatness target.
[0113] Furthermore, in the embodiments of the present application, Figure 4 yes Figure 1 The flowchart of step 103 in the flowchart of a network architecture measurement method according to an exemplary embodiment is shown, as shown in FIG. Figure 4 As shown, step 103 may also include the following steps.
[0114] Step 401: Obtain the equivalent local traffic of each of the nodes.
[0115] It should be noted that in the embodiment of the present application, an algorithm is first used to obtain the equivalent local traffic of each node.
[0116] Step 402, based on the flatness of each node, the through-flow of each node and the equivalent local flow of each node, obtain the node with the smallest flatness, the node with the largest through-flow and the node with the largest equivalent local flow in the network architecture.
[0117] It should be noted that in the embodiment of the present application, when the flatness value of the network architecture is closer to 0, that is, the flatness of the network architecture is worse, it is necessary to select the nodes that are preferentially transformed from the network architecture. The selection logic of the nodes that are preferentially transformed is as follows: 1. In order to improve the flatness of the network architecture, that is, to improve the flatness of the nodes in the network architecture, it can be understood that according to the flatness value of each node in the network architecture, the node with the smallest flatness value is selected, that is, the smaller the flatness value of the node, the more it should be preferentially transformed; 2. In the case where the local flow of the node remains unchanged, the flatness of the node is improved, that is, to reduce the passing flow, it can be understood that according to the passing flow of each node in the network architecture, the node with the largest passing flow is selected, that is, the larger the passing flow of the node, the more it should be preferentially transformed; 3. Transform as few nodes as possible and reduce as much passing flow as possible; 4. According to the equivalent local flow of each node in the network architecture, the node with the largest equivalent local flow is selected, that is, the smaller the equivalent local flow of the node, the more it should be preferentially transformed.
[0118] Step 403: adjust the node with the smallest flatness, the node with the largest transit flow, and the node with the largest equivalent local flow, and re-acquire the flatness of the network architecture.
[0119] It should be noted that in the embodiment of the present application, the nodes that need to be modified first selected in step 402 are adjusted, and the flatness of the network architecture is recalculated. Fig.12 As shown in Table 2, R20 and R21 on the convergence ring are RSGs, and the rest are ASGs. Fig.12 Parameter information of nodes before network architecture optimization, including: local flow, passing flow, flatness, and equivalent local flow information.
[0120] Table 2 Node parameter information before network architecture optimization
[0121]
[0122] According to the parameter information of the nodes before network architecture optimization in Table 2, the local traffic of R13 / R14 on the aggregation ring is 5Gbps, and the local traffic of other nodes is 1Gbps. By calculating through Formula 3, it can be obtained that the average utilization rate of the aggregation side interface of the aggregation ring is 40%. Further, according to the parameter information of the nodes before network architecture optimization in Table 2, Fig.12 The nodes in the network architecture are adjusted. 1. All nodes on the aggregation ring are sorted by flatness, and the node with the smallest flatness value is node R11; 2. All nodes on the aggregation ring are sorted by equivalent local traffic, and the node with the largest equivalent local traffic is node R14. From this, it can be seen that the large equivalent local traffic of node R14 is the fundamental reason for the small flatness of node R11; 3. Optimize node R14, such as Fig.12 As shown by the dotted line: remove node R14 from the ring and directly connect node R20. At the same time, directly connect node R13 and node R15 to form a new network architecture. 4. Recalculate the flatness of the nodes in the optimized network architecture, and obtain the parameter information of the nodes shown in Table 3. Among them, the flatness of nodes R11, R12, and R13 are improved. Furthermore, the flatness of the network architecture is improved from 0.321 to 0.336, achieving the technical effect of improving the flatness of the entire network architecture.
[0123] Table 3 Parameter information of nodes after network architecture optimization
[0124]
[0125] Furthermore, in the embodiments of the present application, Figure 5 yes Figure 4 The flowchart of step 401 in the flowchart of step 103 in the flowchart of a network architecture measurement method according to an exemplary embodiment is shown, as shown in FIG. Figure 5 As shown, step 401 may also include the following steps.
[0126] Step 501: Obtain the equivalent coefficient of each node according to the local flow of each node and the passing flow of each node.
[0127] It should be noted that in the embodiment of the present application, the equivalent coefficient of each node is obtained by calculating according to the calculated local flow of each node and the passing flow of each node through Formula 6, where the value range of the equivalent coefficient is [1,2].
[0128] Equivalence coefficient = 1 + local flow / local flow + passing flow (6)
[0129] Step 502: Obtain the equivalent local flow of each of the nodes according to the equivalent coefficient of each of the nodes and the local flow of each of the nodes.
[0130] It should be noted that in the embodiment of the present application, the equivalent local flow of each node is obtained by calculating according to the calculated equivalent coefficient of each node and the passing flow of each node through Formula 7.
[0131] Equivalent local flow = local flow × equivalent coefficient (7)
[0132] The embodiment of the present invention provides a method for measuring a network architecture, the method comprising: obtaining parameters corresponding to a node, wherein the node is a node where a convergence ring and an access ring intersect in a network architecture; evaluating the flatness of the network architecture according to the parameters corresponding to the node, and obtaining a flatness evaluation result of the network architecture; optimizing the flatness of the network architecture when the flatness evaluation result of the network architecture meets a preset condition. The present invention evaluates the flatness of the network architecture according to the parameters corresponding to the node, obtains a flatness evaluation result of the network architecture, and realizes a quantitative evaluation of the flatness of the network architecture, solving the technical problem that the flatness of the network architecture cannot be quantitatively evaluated in the prior art; the present application adjusts the flatness of the network architecture according to the flatness evaluation result of the network architecture when the flatness evaluation result of the network architecture meets a preset condition, thereby realizing that the network architecture can be gradually adjusted to achieve an optimal flatness, and achieving the technical effect of optimizing the flatness of the network architecture. The present invention adds a KAI weighted evaluation framework of 43 subcategories on the basis of 5 dimensions and 16 degrees, so that the network architecture is no longer static, and provides a digital method for tuning and evolving the network architecture. The present invention introduces local traffic, passing traffic, and equivalent local traffic, and gives clear meanings and calculation methods to these concepts, so that each node in the network has its own exclusive parameters. Furthermore, the priority of the transformation of each node in the network architecture is given, making the evaluation of the network architecture more comprehensive and accurate, and ensuring that the optimization of the network architecture can be completed step by step and in batches.
[0133] The second embodiment of the present invention relates to a network architecture measurement device, the device block diagram of which is as follows: Figure 6 As shown, the device includes: a data acquisition module 601, a flatness evaluation result acquisition module 602, and an optimization module 603.
[0134] The data acquisition module 601 is used to acquire the parameters corresponding to the node.
[0135] The flatness evaluation result acquisition module 602 is used to evaluate the flatness of the network architecture according to the parameters corresponding to the nodes to obtain the flatness evaluation result of the network architecture.
[0136] The optimization module 603 is used to optimize the flatness of the network architecture according to the flatness evaluation result of the network architecture.
[0137] Optionally, Figure 6 The device block diagram of a network architecture measurement device shown in accordance with an exemplary embodiment may further include an identification module.
[0138] The identification module is used to identify the access side interface and the aggregation side interface corresponding to the node in the network architecture.
[0139] Optionally, Figure 7 yes Figure 6 The device block diagram of the flatness evaluation result acquisition module 602 in the device block diagram of a network architecture measurement device according to an exemplary embodiment is shown. Figure 7 The device block diagram includes a peak utilization acquisition submodule 701, a node flatness calculation submodule 702, a network architecture flatness calculation submodule 703, and a network architecture flatness evaluation result acquisition submodule 704.
[0140] The peak utilization acquisition submodule 701 is used to acquire the peak utilization of each aggregation-side interface on the node.
[0141] The node flatness calculation submodule 702 is used to obtain the flatness of the node according to the inflow of the access side interface, the outflow of the access side interface, the inflow of the aggregation side interface and the peak value of each aggregation side interface.
[0142] The network architecture flatness calculation submodule 703 is used to obtain the flatness of the network architecture according to the flatness of each node.
[0143] The network architecture flatness evaluation result acquisition submodule 704 is used to evaluate the flatness of the network architecture according to the flatness of the network architecture to obtain the flatness evaluation result of the network architecture.
[0144] Optionally, Figure 8 yes Figure 7 The device block diagram of the device block diagram of a network architecture measurement device according to an exemplary embodiment shows a device block diagram of a flatness evaluation result acquisition module 602 of a node flatness calculation submodule 702. Figure 8 The device block diagram includes a local flow calculation unit 801, a passing flow calculation unit 802, a convergence side interface average utilization calculation unit 803, and a node flatness calculation unit 804.
[0145] The local traffic calculation unit 801 is used to obtain the local traffic according to the inbound traffic of the access side interface and the outbound traffic of the access side interface.
[0146] The passing traffic calculation unit 802 is used to obtain the passing traffic according to the inbound traffic of the aggregation side interface and the outbound traffic of the access side interface.
[0147] The aggregation side interface average utilization calculation unit 803 is used to obtain the aggregation side interface average utilization according to each of the aggregation side interface peak utilizations.
[0148] The node flatness calculation unit 804 is used to obtain the flatness of the node according to the local traffic, the transit traffic and the average utilization rate of the aggregation side interface.
[0149] Optionally, Fig. 9 yes Figure 6 The device block diagram of the optimization module 603 in the device block diagram of a network architecture measurement device according to an exemplary embodiment is shown. Fig. 9 The device block diagram includes an equivalent local traffic acquisition submodule 901, a priority transformation node selection submodule 902, and a network architecture flatness optimization submodule 903.
[0150] The equivalent local traffic acquisition submodule 901 is used to acquire the equivalent local traffic of each of the nodes.
[0151] The priority node transformation selection submodule 902 is used to obtain the node with the smallest flatness, the node with the largest passing flow, and the node with the largest equivalent local flow in the network architecture based on the flatness of each node, the passing flow of each node, and the equivalent local flow of each node.
[0152] The flatness optimization submodule 903 of the network architecture is used to adjust the node with the smallest flatness, the node with the largest passing traffic, and the node with the largest equivalent local traffic, and re-acquire the flatness of the network architecture.
[0153] Optionally, Fig.10 yes Fig. 9The device block diagram of the equivalent local traffic acquisition submodule 901 in the device block diagram of the optimization module 603 in the device block diagram of a network architecture measurement device according to an exemplary embodiment is shown. Fig.10 The device block diagram includes an equivalent coefficient calculation unit 1001 and an equivalent local flow calculation unit 1002.
[0154] The equivalent coefficient calculation unit 1001 is used to obtain the equivalent coefficient of each node according to the local flow of each node and the passing flow of each node.
[0155] The equivalent local flow calculation unit 1002 is used to obtain the equivalent local flow of each node according to the equivalent coefficient of each node and the local flow of each node.
[0156] The embodiment of the present invention provides a method for measuring a network architecture, the method comprising: obtaining parameters corresponding to a node, wherein the node is a node where a convergence ring and an access ring intersect in a network architecture; evaluating the flatness of the network architecture according to the parameters corresponding to the node, and obtaining a flatness evaluation result of the network architecture; optimizing the flatness of the network architecture when the flatness evaluation result of the network architecture meets a preset condition. The present invention evaluates the flatness of the network architecture according to the parameters corresponding to the node, obtains a flatness evaluation result of the network architecture, and realizes a quantitative evaluation of the flatness of the network architecture, solving the technical problem that the flatness of the network architecture cannot be quantitatively evaluated in the prior art; the present application adjusts the flatness of the network architecture according to the flatness evaluation result of the network architecture when the flatness evaluation result of the network architecture meets a preset condition, thereby realizing that the network architecture can be gradually adjusted to achieve an optimal flatness, and achieving the technical effect of optimizing the flatness of the network architecture. The present invention adds a KAI weighted evaluation framework of 43 subcategories on the basis of 5 dimensions and 16 degrees, so that the network architecture is no longer static, and provides a digital method for tuning and evolving the network architecture. The present invention introduces local traffic, passing traffic, and equivalent local traffic, and gives clear meanings and calculation methods to these concepts, so that each node in the network has its own exclusive parameters. Furthermore, the priority of the transformation of each node in the network architecture is given, making the evaluation of the network architecture more comprehensive and accurate, and ensuring that the optimization of the network architecture can be completed step by step and in batches.
[0157] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0158] A third embodiment of the present invention relates to an electronic device, the electronic device comprising:
[0159] processor;
[0160] a memory for storing instructions executable by the processor;
[0161] The processor is configured to execute the instructions to implement a network architecture measurement method as described in the first aspect.
[0162] A fourth embodiment of the present invention provides a computer storage medium. When instructions in the computer storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute a network architecture measurement method as described in the first aspect.
[0163] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0164] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0165] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
Claims
1. A network architecture measurement method, characterized in that: The method comprises: Get the parameters corresponding to the node; The flatness of the network architecture is evaluated according to the parameters corresponding to the node to obtain the flatness evaluation result of the network architecture, including: obtaining the peak utilization rate of each aggregation side interface on the node; obtaining the flatness of the node according to the inflow of the access side interface, the outflow of the access side interface, the inflow of the aggregation side interface and the peak value of each aggregation side interface; obtaining the flatness of the network architecture according to the flatness of each node; evaluating the flatness of the network architecture according to the flatness of the network architecture to obtain the flatness evaluation result of the network architecture; The obtaining of the flatness of the node according to the inbound flow of the access side interface, the outbound flow of the access side interface, the inbound flow of the aggregation side interface, and the peak utilization rate of the aggregation side interface includes: According to the inbound flow of the access side interface and the outbound flow of the access side interface, the local flow is obtained; according to the inbound flow of the aggregation side interface and the outbound flow of the access side interface, the transit flow is obtained; according to the peak utilization of each aggregation side interface, the average utilization of the aggregation side interface is obtained; according to the local flow, the transit flow and the average utilization of the aggregation side interface, the flatness of the node is obtained; Wherein, obtaining the flatness of the network architecture according to the flatness of each of the nodes includes: N is the total number of nodes in the network architecture, F i is the flatness value of the i-th node in the network architecture; The flatness of the network architecture is optimized according to the flatness evaluation result of the network architecture.
2. The method according to claim 1, characterized in that: Before obtaining the parameters corresponding to the node, the method includes: Identify the access-side interfaces and aggregation-side interfaces corresponding to the nodes in the network architecture.
3. The method according to claim 1, characterized in that The parameters corresponding to the node include the inbound flow of the access side interface, the outbound flow of the access side interface, and the inbound flow of the aggregation side interface.
4. The method according to claim 1, characterized in that: The step of optimizing the flatness of the network architecture according to the flatness evaluation result of the network architecture includes: Obtaining the equivalent local flow of each of the nodes; According to the flatness of each node, the passing flow of each node, and the equivalent local flow of each node, obtaining the node with the smallest flatness, the node with the largest passing flow, and the node with the largest equivalent local flow in the network architecture; The node with the smallest flatness, the node with the largest passing traffic, and the node with the largest equivalent local traffic are adjusted, and the flatness of the network architecture is re-obtained.
5. The method according to claim 4, characterized in that The obtaining of the equivalent local traffic of each of the nodes includes: Obtaining an equivalent coefficient of each of the nodes according to the local flow of each of the nodes and the passing flow of each of the nodes; According to the equivalent coefficient of each node and the local flow of each node, the equivalent local flow of each node is obtained.
6. A network architecture measurement device, characterized in that: include: A data acquisition module is used to obtain the parameters corresponding to the node; A flatness evaluation result acquisition module is used to evaluate the flatness of the network architecture according to the parameters corresponding to the node to obtain the flatness evaluation result of the network architecture, including: obtaining the peak utilization rate of each aggregation side interface on the node; obtaining the flatness of the node according to the inflow of the access side interface, the outflow of the access side interface, the inflow of the aggregation side interface and the peak value of each aggregation side interface; obtaining the flatness of the network architecture according to the flatness of each node; evaluating the flatness of the network architecture according to the flatness of the network architecture to obtain the flatness evaluation result of the network architecture; wherein, obtaining the flatness of the network architecture according to the flatness of each node includes: N is the total number of nodes in the network architecture, F i is the flatness value of the i-th node in the network architecture; An optimization module, used for optimizing the flatness of the network architecture according to the flatness evaluation result of the network architecture; The flatness evaluation result acquisition module is specifically used to obtain local traffic based on the inbound traffic of the access side interface and the outbound traffic of the access side interface; obtain transit traffic based on the inbound traffic of the aggregation side interface and the outbound traffic of the access side interface; obtain the average utilization of the aggregation side interface based on the peak utilization of each aggregation side interface; and obtain the flatness of the node based on the local traffic, the transit traffic and the average utilization of the aggregation side interface.
7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor is used to implement a network architecture measurement method as described in any one of claims 1 to 5 when executing a program stored in a memory.
8. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a network architecture measurement method as described in any one of claims 1 to 5 are implemented.
