A network element testing method, device and processing equipment
By collecting and comparing network element logs and network data on the DevOps platform, automated testing is implemented, which solves the problem of high network data testing costs in the existing technology and ensures data integrity and accuracy of network element version iterations.
Patent Information
- Application Number
- CN202111226905.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-10-21
AI Technical Summary
In the process of testing the integrity, accuracy and consistency of network data on the existing network, a lot of manpower and material costs are required, which cannot be effectively used in each iterative upgrade of the communication network element.
By collecting log data and network data of network elements to be tested on the DevOps platform, and comparing them based on templates to verify their completeness, accuracy and consistency, automated testing is achieved.
It greatly reduces labor and material costs and ensures that the integrity, accuracy and consistency of network data can be tested for each network element version iteration.
Smart Images

Figure CN116016245B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network management technology, and in particular to a method and device for determining a network element test party, and a processing device. Background Art
[0002] Communication network performance data (referred to as network performance data) usually refers to performance indicators, which are important indicators for monitoring the operating status of the system. The main contents include business indicators, such as connection establishment success rate, latency, response latency, switching success rate, etc. Network resource data can describe the network architecture and is mainly used for network configuration management and data sharing. The integrity, accuracy and consistency of network performance data and network resource data (hereinafter usually referred to as network data) directly affect the network monitoring effect. Therefore, when upgrading network equipment / software in the existing network, dialing test, instrument measurement and manual verification methods are usually used for full verification, which is an important part of the acceptance of communication network construction projects.
[0003] However, in the process of testing the integrity, accuracy and consistency of network data, the existing network adopts dialing test, instrument measurement and manual verification methods, which requires the organization of personnel to conduct dialing test and develop instrument docking interface. The main disadvantage of this method is that it consumes huge manpower and material costs and cannot be used in every version iteration upgrade of communication network elements. Summary of the invention
[0004] In order to solve the above technical problems, the embodiments of the present invention provide a network element testing method and apparatus, a processing device, a chip and a computer-readable storage medium.
[0005] The network element testing method provided in the embodiment of the present application includes:
[0006] Collecting log data from the network element to be tested, where the log data is generated by a user plane and / or a control plane of the network element to be tested;
[0007] Collecting network data from at least one of the network element to be tested, the network element management system EMS, and the network management system NMS;
[0008] The log data and the network data are compared based on the template, and at least one of the following of the network data is verified: completeness, accuracy, and consistency.
[0009] The network element testing device provided in the embodiment of the present application is applied to the DevOps platform, and the device includes:
[0010] A collection unit, configured to collect log data from the network element to be tested, wherein the log data is generated by a user plane and / or a control plane of the network element to be tested; and collect network data from at least one of the network element to be tested, the EMS and the NMS;
[0011] A processing unit is used to compare the log data with the network data based on a template, and verify at least one of the following of the network data: completeness, accuracy, and consistency.
[0012] The processing device provided in the embodiment of the present application includes: a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute any one of the above-mentioned network element testing methods.
[0013] The chip provided in the embodiment of the present application includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes any one of the above methods.
[0014] The core computer-readable storage medium provided in the embodiment of the present application is used to store a computer program, and the computer program enables a computer to execute any one of the above methods.
[0015] In the technical solution of the embodiment of the present application, based on the integrated R&D and operation (DevOps) platform in the integrated testing phase of the network element, the integrity, accuracy and consistency of network data (such as network performance data, network resource data) can be tested in an automated manner in each network element version iteration, thereby greatly reducing manpower and material costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of open-test-operation and maintenance;
[0017] Figure 2 This is a test architecture diagram provided by an embodiment of the present application;
[0018] Figure 3 It is a flowchart of a network element testing method provided in an embodiment of the present application;
[0019] Figure 4 It is a schematic diagram of the structure of the network element testing device provided in an embodiment of the present application;
[0020] Figure 5 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0021] Figure 6 It is a schematic structural diagram of the chip of an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] It should be noted that in the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the embodiments of the present application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0024] It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.
[0025] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.
[0026] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0027] DevOps is a combination of development and operations. It is a collective term for a set of processes, methods and systems that promote communication, collaboration and integration between development (application / software engineering), technical operations and quality assurance departments, aiming to respond to the ever-changing market demands with high-quality and continuously released products. Quality assurance in DevOps runs through the entire product delivery cycle and is a bridge between development and operations. Without a comprehensive quality assurance and testing strategy, continuous development and delivery cannot be achieved.
[0028] As a key link in DevOps, continuous testing is the most important method for product quality assurance. Traditional testing is mainly manual testing, with less investment in code-level testing, and focuses on discovering and fixing defects. The emergence of agile testing has increased the proportion of automated testing, focusing on unit testing with fast bottom-level running speed and low consumption. Compared with traditional testing, feedback is more timely and the cost of fixing defects is low. Based on agile testing, continuous testing emphasizes continuous testing, and through the collaborative work of various departments, defects are continuously discovered and quickly fixed. The position of continuous testing in the DevOps pipeline is as follows: Figure 1 As shown in the figure, pre-deployment testing can be combined with operation and maintenance to achieve seamless connection from testing to operation and maintenance.
[0029] In the traditional waterfall-style Network Function Virtualization (NFV) network element development model, there is no collaboration between the development, testing, and operation and maintenance teams. The development team is responsible for code writing and corresponding unit testing; the testing team writes and executes manual test cases, focusing on business scenario testing and system integration testing; large-scale product quality verification is often performed before online deployment. In particular, NFV network elements include functional modules of the user plane, control plane, and management plane. In the traditional research and development process, the functional modules of the user plane and control plane are first integrated and verified, and the functional modules of the management plane are finally verified. In this way, the construction project is often delayed due to insufficient verification of the management capabilities of the NFV network elements, and network resource data and network performance data cannot be collected or collected incorrectly in the early stage of the existing network operation. To this end, the following technical solutions of the embodiments of the present application are proposed.
[0030] It should be noted that the "network element" to be tested in the technical solution of the embodiment of the present application may be a "NFV network element". As an example, the "NFV network element" may be a network element in a 5G system or a network element in a 6G system. The present application does not limit the type of network element to be tested (referred to as the network element to be tested).
[0031] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.
[0032] In the technical solution of the embodiment of the present application, in the overall process of DevOps for network elements from development to operation and maintenance, testing is no longer a separate stage, but an integral part of the iteration plan. The test and operation personnel always keep in sync with the developers and are jointly responsible for product quality assurance. In this way, DevOps breaks the barrier between development and operation and maintenance. For the network elements to be tested, in order to speed up the iterative development speed, the management plane, the user plane and the control plane are required to be integrated and verified together, so that the log data generated in the user plane and control plane verification can be directly used to verify the integrity and accuracy of the network data output by the management plane.
[0033] Figure 2 This is a test architecture diagram provided by an embodiment of the present application, such as Figure 2 As shown in FIG. 1 , the architecture includes a DevOps platform, a network element (NE) to be tested, an element management system (EMS) and a network management system (NMS). Among them, NE sends the network data of its management plane to EMS, EMS summarizes the network data of multiple NEs and sends it to NMS, and NMS summarizes the network data of multiple EMSs. Generally, multiple EMSs can be connected to one NMS, and multiple NEs can be connected to one EMS. For NE, each NE has a user plane, a control plane and a management plane. The user plane has user plane functions, the control plane has control plane functions, and the management plane has management plane functions. The data generated by the user plane can be called user plane data, the data generated by the control plane can be called control plane data, and the data generated by the management plane can be called management plane data. The data generated by the management plane of NE includes network performance data and network resource data (hereinafter generally referred to as network data). NE submits the network data generated by its management plane to EMS, and EMS submits it to NMS.
[0034] Since the names and formats of network data output by the management planes of different NEs are not completely consistent with those defined in the standard, they need to be converted into content that complies with the standard in the EMS (here, whether the standard is met can be verified through consistency testing, including whether the names and formats of network data meet the requirements of the standard). In order to implement automated comparative testing, different versions of network resource data and network performance data need to be mapped to standard names in the form of preset templates in the DevOps platform.
[0035] Figure 3 Schematic diagram of the flow of the network element testing method provided in the embodiment of the present application, which is applied to the DevOps platform, such as Figure 3 As shown, the network element testing method includes the following steps:
[0036] Step 301: Collect log data from a network element to be tested, where the log data is generated by a user plane and / or a control plane of the network element to be tested.
[0037] Step 302: Collect network data from at least one of the network element to be tested, the EMS, and the NMS.
[0038] Step 303: Compare the log data and the network data based on the template, and verify at least one of the following of the network data: completeness, accuracy, and consistency.
[0039] In an embodiment of the present application, the network data includes network performance data and / or network resource data.
[0040] In an embodiment of the present application, a template is pre-installed in the DevOps platform, and the template includes first template information corresponding to the network element to be tested, second template information corresponding to the EMS, and third template information corresponding to the NMS; wherein the first template information includes the name and format of the network performance data and / or network resource data corresponding to the network element to be tested; the second template information includes the name and format of the network performance data and / or network resource data corresponding to the EMS; and the third template information includes the name and format of the network performance data and / or network resource data corresponding to the NMS.
[0041] Further, in some optional embodiments, the first template information also includes the network element name and / or version number corresponding to the network element to be tested; the second template information also includes the network element name and / or version number corresponding to the EMS; the third template information also includes the network element name and / or version number corresponding to the NMS.
[0042] In the above scheme, the network performance data and / or network resource data corresponding to the network element to be tested refers to: the network performance data and / or network resource data output by the management plane of the network element to be tested; the network performance data and / or network resource data corresponding to the EMS refers to: the network performance data and / or network resource data output by the EMS; the network performance data and / or network resource data corresponding to the NMS refers to: the network performance data and / or network resource data received by the NMS. Here, refer to Figure 2 , the network performance data and / or network resource data generated by the management plane of the network element to be tested is sent by the network element to be tested to the EMS, and then sent by the EMS to the NMS.
[0043] As an example, the content of the template can refer to the following Table 1, including the network element name, the version number of the network element, the network resource data corresponding to the network element, and the network performance data corresponding to the network element. Among them, the format of the network data output by the EMS northbound interface is required to fully comply with the standard definition. Table 1 takes the Access and Mobility Management Function (AMF) in the 5G system as an example of the network element to be tested.
[0044]
[0045]
[0046] Table 1
[0047] In an embodiment of the present application, during the functional testing of the network element to be tested through the DevOps platform, the network element to be tested records the original data of its user plane and control plane in the log data. The DevOps platform collects the log data, combines the above template, and compares the log data with the network data (such as network resource data and / or network performance data) to verify at least one of the following of the network data: completeness, accuracy, and consistency. As an example: Taking the network element to be tested as AMF as an example, AMF records the user number of each session in the log data. The DevOps platform calculates the number of registered users within the statistical period based on the log data, and compares the number of registered users calculated by itself with the network data output by the management plane of AMF, so as to verify the accuracy of the network data. Further, if the verification is accurate, the DevOps platform can verify the scheduling accuracy of the network data received by the EMS southbound interface, the data output by the EMS northbound interface, and the network data received by the NMS southbound interface in turn according to the log data.
[0048] The following describes how to verify the integrity, accuracy, and consistency of network data.
[0049] Integrity Verification
[0050] In the embodiment of the present application, the integrity of the network data includes the integrity of the number of the network data and / or the integrity of the time granularity of the network data.
[0051] In the embodiment of the present application, the integrity of the network data can be verified by the following methods: counting the number of collected network data; verifying whether the collected network data is complete based on the number of counted network data and the number of network data provided in the template or the number of network data required to be reported. Further, in some optional implementations, the degree of integrity of the collected network data is calculated based on the number of counted network data and the number of network data provided in the template or the number of network data required to be reported.
[0052] As an example: if X network resource data (taking the template as an example: 14) and Y network performance data (taking the template as an example: 18) are required to be reported, then the DevOps platform calculates the percentage according to the number of network resource data and performance data actually output by NE, EMS or NMS (that is, the DevOps platform collects from NE, EMS or NMS), and thus obtains the degree of integrity. For example, if the DevOps platform collects 4 network resource data and 7 network performance data, then the degree of integrity of the network resource data is 4 / X, and the degree of integrity of the network performance data is 7 / Y. Further, a statistical period can be defined, requiring X network resource data (taking the template as an example: 14) and Y network performance data (taking the template as an example: 18) to be reported within N minutes. If the DevOps platform collects 4 network resource data and 7 network performance data within M minutes, then the degree of integrity of the network resource data is 4N / XM, and the degree of integrity of the network performance data is 7N / YM.
[0053] Accuracy Verification
[0054] In the embodiment of the present application, the accuracy of the network data can be verified by: analyzing the value of the network data based on the log data; verifying whether the collected network data is accurate based on the value of the analyzed network data and the value of the collected network data. Further, in some optional implementations, the accuracy of the collected network data is calculated based on the value of the analyzed network data and the value of the collected network data.
[0055] As an example: the log data saves the call records shown in Table 2 below.
[0056]
[0057] Table 2
[0058] According to the log data shown in Table 2, the DevOps platform calculates that the value of the network data in the period from 20210818 09:00:00 to 20210818 09:15:00 should be AMF.AuthReq = 4, auth_Fail = 1. If the value of the network data output by the network element to be tested is different from the result of the DevOps platform's analysis of the log data, the network data output by the network element to be tested is considered inaccurate. Furthermore, the DevOps platform can calculate the percentage based on the number of network data with the same value and the total number of network data to obtain the accuracy.
[0059] Consistency Verification
[0060] In an embodiment of the present application, the consistency of network data can be verified in the following manner: based on the name and format of the network data specified in the template and the name and format of the collected network data, verify whether the collected network data is consistent. Further, in some optional implementations, the consistency of the collected network data is calculated based on the name and format of the network data specified in the template and the name and format of the collected network data.
[0061] As an example: the name and format of the network data output by the EMS on the northbound interface (that is, received by the NMS on the southbound interface) meet the requirements of the standard. For example: the DevOps platform can determine that the name of the network performance data output according to the standard is AMF.AuthReq based on the template, but the name of the network performance data collected by the DevOps platform is AMF.Auth_Req or amf.authreq, then the DevOps platform considers it inconsistent. Furthermore, the DevOps platform can calculate the percentage based on the number of network data consistent with the standard compared with the total number defined by the standard to obtain the degree of consistency.
[0062] In the embodiment of the present application, since the functions of the network element to be tested are of different types, mainly data forwarding and mainly signaling processing, the reasons for the inability to generate or send data blocking on the management plane are different. In order to effectively analyze the processing capability of the management plane of the network element to be tested, the present application defines the management plane processing capability of the network element to be tested (that is, the network element management interface processing capability), and the management plane processing capability of the network element to be tested is calculated by weighted summing the network element service load, infrastructure resource load, the inverse of the network data reporting delay, and the degree of integrity of the network data. Specifically, the management plane processing capability of the network element to be tested is calculated by the following formula:
[0063] NE_Manage=α1*Throughput / Capacity+α2*Load CPU +α3*Load MEM+α4 / Delay+α5*Integrity;
[0064] NE_Manage indicates the management plane processing capability of the network element, Throughput indicates the service flow or message processing volume, Capacity indicates the capacity of the network element, which is the maximum flow or message processing volume, and Load indicates the maximum flow or message processing volume. CPU and Load MEM They represent the CPU and memory load of the network element infrastructure respectively, Delay represents the network data reporting delay of the network element, and Integrity represents the integrity of the network data output by the network element; α1, α2, α3, α4 and α5 represent adjustment coefficients respectively, which are set as needed according to the usage scenario.
[0065] Here, the processing capability of the management plane (that is, the processing capability of the network element management interface) is used to guide the planning of network element expansion and contraction, and to establish a capability improvement baseline and achieve continuous improvement through comparison between similar network elements from different equipment vendors.
[0066] The technical solution of the embodiment of the present application is based on the DevOps platform in the integration test link of the network element, and statistically analyzes the standard (enterprise standard, industry standard or international standard) definition content and log data in an automated manner, and then compares them with the network performance data and network resource data, so as to test the integrity, accuracy and consistency of the network performance data and network resource data. In this way, it can be ensured that the integrity, accuracy and consistency of the network performance data and network resource data can be tested for each iteration of the network element version, thereby greatly reducing the manpower and material costs.
[0067] The technical solution of the embodiment of the present application is described below in conjunction with specific application examples.
[0068] When the operator receives the software version update notification from the manufacturer, it will sequentially perform a series of processes such as quality management (i.e. product scanning), acceptance testing, online deployment, and operation monitoring. This series of processes is also the DevOps process. The following describes the two links of "quality management" and "acceptance testing", where "acceptance testing" applies the relevant solutions of the "network element testing method" in the above solution of the embodiment of this application.
[0069] Quality Management
[0070] When an operator receives an update notification for a software product, it should use the private key agreed upon by the telecom manufacturer and the operator to decrypt the version metadata, thereby completing the acquisition of the software version from the public product library.
[0071] After the product is obtained, the DevOps platform should first perform signature verification on the product to ensure the software is trustworthy. After that, it will conduct a security scan of the software product, including but not limited to code security scanning, open source compliance scanning, virus vulnerability scanning, etc. If the scan finds a security issue, the DevOps platform will terminate the operation process.
[0072] Here, the scanning process can be completed through a series of security tools, and the security tools need to be integrated into the DevOps platform.
[0073] Acceptance Testing
[0074] Acceptance testing is the testing and verification of new software or new software versions delivered by suppliers by operators. Depending on the impact of the test on the environment, the test can be blue-green testing, A / B testing, or other types of testing. In terms of test types, with the introduction of software-based network elements and the decoupling of software layers, software verification mainly involves integration testing in the horizontal direction, and compatibility testing in the vertical direction. Taking software-based network elements as an example, according to the functional plane, it can also be subdivided into user plane, control plane, and management plane testing.
[0075] In the DevOps automation process, acceptance testing should be performed automatically. In order to automate testing in a multi-vendor environment, it is necessary to uniformly perform testing according to the test specifications released by the operator. Since different manufacturers implement test cases differently, the operator side recommends using a unified test framework to schedule test cases from different vendors, while providing the integration and calling capabilities of third-party test tools.
[0076] At the same time, in order to facilitate the operator-side test framework to correctly understand and schedule test cases from different suppliers, it is recommended to establish a unified description template for test cases to standardize the description of test cases delivered by different suppliers. The general test case description template should at least include the description, input, script specification, format output, etc. of the test case, so as to facilitate the general test framework to be used for automatic filtering and screening of test cases, customized input of test cases based on the environment, automatic execution of test cases, and visual display of test results.
[0077] For software-based network elements, in order to simultaneously verify the management plane functions during the user plane and control plane testing process, it is recommended to compare and analyze the standard definition content of network resources and performance data with the log data of the network element user plane and control plane in an automated manner based on the DevOps method during the integration test phase, and obtain the integrity, accuracy and consistency test results of the network resource and performance data between NE, EMS northbound interface and NMS, so as to solve the problem of inadequate network management caused by insufficient management function verification. Since the network resources and performance data stored in software-based network elements and NMS are stored in a custom manner, in order to effectively carry out verification tests, it is recommended to use predefined templates to store the resources and performance data of the same network element type in different names in the network element, EMS northbound interface and NMS to establish a mapping relationship. The main fields of the template used for data mapping include: NE, EMS northbound interface, NMS, version number, network resource data and network performance data. The specific test method is as follows:
[0078] Integrity test: During the statistical period, the integrity level is obtained by calculating the percentage of network elements and performance indicators in the network resource data and network performance data output by NE, EMS and NMS according to the predefined template and the time granularity.
[0079] Accuracy test: The original recorded information of the user plane and control plane in the log data is counted according to the definition of network performance data, and then compared with the network performance data of the management plane. The accuracy is obtained by calculating the percentage of the number of performance data with the same value compared with the total number.
[0080] Conformance test: The degree of consistency is obtained by calculating the percentage of resource and performance data output by the EMS northbound interface that conforms to the name and format requirements of the standard and the total number of resource and performance data defined in the standard.
[0081] At the same time, in order to comprehensively evaluate the management plane processing capabilities of software-based network elements and better support the operation and management of communication networks, including guiding the scaling planning of network elements according to the processing capabilities of network element management interfaces and establishing a baseline for capacity improvement between different equipment vendors, it is recommended to define the network element management plane processing capabilities and conduct capacity evaluation in the testing phase. It is recommended that the network element management plane processing capabilities comprehensively consider the network element business load, infrastructure resource load, network data reporting delay and integrity, etc. It is recommended that the network element management plane processing capabilities be defined as the weighted sum of the network element business load, infrastructure resource load, the inverse of the network data reporting delay and the integrity of the network data. The calculation formula can be as follows:
[0082] NE_Manage=α1*Throughput / Capacity+α2*Load CPU +α3*Load MEM+α4 / Delay+α5*Integrity, where Throughput represents the service flow or message processing volume, Capacity represents the network element capacity, i.e. the maximum flow or message processing volume, and Load CPU and Load MEM They represent the CPU and memory load of the network element infrastructure, Delay represents the delay in reporting network element resources and performance data, and Integrity represents the integrity of the network data output by the network element to be tested. α1, α2, α3, α4 and α5 represent adjustment coefficients, and the adjustment system can be set as needed according to the usage scenario.
[0083] Figure 4 Schematic diagram of the structure of the network element testing device provided in the embodiment of the present application, which is applied to the DevOps platform, such as Figure 4 As shown, the network element testing device includes:
[0084] The collecting unit 401 is used to collect log data from the network element to be tested, where the log data is generated by the user plane and / or the control plane of the network element to be tested; collect network data from at least one network element among the network element to be tested, the EMS and the NMS;
[0085] The processing unit 402 is used to compare the log data with the network data based on the template, and verify at least one of the following of the network data: completeness, accuracy, and consistency.
[0086] In some optional implementations, the network data includes network performance data and / or network resource data.
[0087] In some optional embodiments, the template includes first template information corresponding to the network element to be tested, second template information corresponding to the EMS, and third template information corresponding to the NMS; wherein, the first template information includes the name and format of the network performance data and / or network resource data corresponding to the network element to be tested; the second template information includes the name and format of the network performance data and / or network resource data corresponding to the EMS; the third template information includes the name and format of the network performance data and / or network resource data corresponding to the NMS.
[0088] In some optional implementations, the first template information also includes the network element name and / or version number corresponding to the network element to be tested; the second template information also includes the network element name and / or version number corresponding to the EMS; the third template information also includes the network element name and / or version number corresponding to the NMS.
[0089] In some optional implementations, the network performance data and / or network resource data corresponding to the network element to be tested refer to: the network performance data and / or network resource data output by the management plane of the network element to be tested; the network performance data and / or network resource data corresponding to the EMS refer to: the network performance data and / or network resource data output by the EMS; the network performance data and / or network resource data corresponding to the NMS refer to: the network performance data and / or network resource data received by the NMS.
[0090] In some optional implementations, the network performance data and / or network resource data generated by the management plane of the network element to be tested is sent by the network element to be tested to the EMS, and then sent by the EMS to the NMS.
[0091] In some optional implementations, the integrity of the network data includes the integrity of the number of the network data and / or the integrity of the time granularity of the network data.
[0092] In some optional implementations, the processing unit 402 is specifically used to: count the number of collected network data; and verify whether the collected network data is complete based on the counted number of network data and the number of network data provided in the template or the number of network data required to be reported.
[0093] In some optional implementations, the processing unit 402 is further configured to calculate the integrity of the collected network data based on the number of counted network data and the number of network data provided in the template or the number of network data required to be reported.
[0094] In some optional implementations, the processing unit 402 is specifically used to: analyze the values of the network data based on the log data; and verify whether the collected network data is accurate based on the values of the analyzed network data and the values of the collected network data.
[0095] In some optional implementations, the processing unit 402 is further configured to calculate the accuracy of the collected network data based on the values of the analyzed network data and the values of the collected network data.
[0096] In some optional implementations, the processing unit 402 is specifically configured to verify whether the collected network data is consistent with the name and format of the network data specified in the template and the name and format of the collected network data.
[0097] In some optional implementations, the processing unit 402 is further configured to calculate the consistency of the collected network data based on the name and format of the network data specified in the template and the name and format of the collected network data.
[0098] In some optional implementations, the management plane processing capability of the network element to be tested is calculated by taking a weighted sum of the network element service load, infrastructure resource load, the inverse of the network data reporting delay, and the degree of integrity of the network data.
[0099] In some optional implementations, the management plane processing capability of the network element to be tested is calculated by the following formula:
[0100] NE_Manage=α1*Throughput / Capacity+α2*Load CPU +α3*Load MEM +α4 / Delay+α5*Integrity;
[0101] NE_Manage indicates the management plane processing capability of the network element, Throughput indicates the service flow or message processing volume, Capacity indicates the capacity of the network element, which is the maximum flow or message processing volume, and Load indicates the maximum flow or message processing volume. CPU and Load MEM They represent the CPU and memory load of the network element infrastructure respectively, Delay represents the network data reporting delay of the network element, and Integrity represents the integrity of the network data output by the network element; α1, α2, α3, α4 and α5 represent adjustment coefficients respectively.
[0102] Those skilled in the art should understand that Figure 4 The implementation functions of each unit in the network element testing device shown can be understood by referring to the relevant description of the aforementioned method. Figure 4 The functions of each unit in the network element testing device shown can be implemented by a program running on a processor, or by a specific logic circuit.
[0103] Figure 5 is a schematic structural diagram of a communication device 500 provided in an embodiment of the present application. The communication device may be a processing device, Figure 5 The communication device 500 shown includes a processor 510, and the processor 510 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0104] Alternatively, if Figure 5 As shown, the communication device 500 may further include a memory 520. The processor 510 may call and run a computer program from the memory 520 to implement the method in the embodiment of the present application.
[0105] The memory 520 may be a separate device independent of the processor 510 , or may be integrated into the processor 510 .
[0106] Alternatively, if Figure 5 As shown, the communication device 500 may further include a transceiver 530, and the processor 510 may control the transceiver 530 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0107] The transceiver 530 may include a transmitter and a receiver. The transceiver 530 may further include an antenna, and the number of the antennas may be one or more.
[0108] Optionally, the communication device 500 may specifically be a processing device of an embodiment of the present application, and the communication device 500 may implement corresponding processes implemented by the processing device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0109] Figure 6 It is a schematic structural diagram of the chip of an embodiment of the present application. Figure 6 The chip 600 shown includes a processor 610, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0110] Alternatively, if Figure 6 As shown, the chip 600 may further include a memory 620. The processor 610 may call and run a computer program from the memory 620 to implement the method in the embodiment of the present application.
[0111] The memory 620 may be a separate device independent of the processor 610 , or may be integrated into the processor 610 .
[0112] Optionally, the chip 600 may further include an input interface 630. The processor 610 may control the input interface 630 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0113] Optionally, the chip 600 may further include an output interface 640. The processor 610 may control the output interface 640 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0114] Optionally, the chip can be applied to the processing device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the processing device in each method of the embodiments of the present application. For the sake of brevity, it will not be repeated here.
[0115] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0116] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software templates in the decoding processor are combined and executed. The software template can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0117] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0118] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
[0119] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
[0120] Optionally, the computer-readable storage medium can be applied to the processing device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the processing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0121] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0122] Optionally, the computer program product can be applied to the processing device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the processing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0123] The embodiment of the present application also provides a computer program.
[0124] Optionally, the computer program can be applied to the processing device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the processing device in the various methods of the embodiments of the present application. For the sake of brevity, they are not described here.
[0125] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0127] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0130] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0131] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A network element testing method, characterized in that: Applied to the DevOps platform integrating R&D and operation, the method includes: Collecting log data from the network element to be tested, where the log data is generated by a user plane and / or a control plane of the network element to be tested; Collecting network data from at least one of the network element to be tested, the network element management system EMS, and the network management system NMS; Comparing the log data with the network data based on the template, and verifying at least one of the following of the network data: completeness, accuracy, and consistency; The management plane processing capability of the network element to be tested is calculated by weighted summing the network element service load, infrastructure resource load, the inverse of the network data reporting delay and the integrity of the network data; NE_Manage=α1*Throughput / Capacity+α2*Load CPU +α3*Load MEM +α 4 / Delay+α5*Integrity; NE_Manage indicates the management plane processing capability of the network element, Throughput indicates the service flow or message processing volume, Capacity indicates the capacity of the network element, which is the maximum flow or message processing volume, and Load indicates the maximum flow or message processing volume. CPU and Load MEM They represent the CPU and memory load of the network element infrastructure respectively, Delay represents the network data reporting delay of the network element, and Integrity represents the integrity of the network data output by the network element; α1, α2, α3, α4 and α5 represent adjustment coefficients respectively.
2. The method according to claim 1, characterized in that The network data includes network performance data and / or network resource data.
3. The method according to claim 1, characterized in that: The template includes first template information corresponding to the network element to be tested, second template information corresponding to the EMS, and third template information corresponding to the NMS; wherein, The first template information includes the name and format of the network performance data and / or network resource data corresponding to the network element to be tested; The second template information includes the name and format of the network performance data and / or network resource data corresponding to the EMS; The third template information includes the name and format of the network performance data and / or network resource data corresponding to the NMS.
4. The method according to claim 3, characterized in that The first template information also includes a network element name and / or a version number corresponding to the network element to be tested; The second template information also includes a network element name and / or version number corresponding to the EMS; The third template information also includes the network element name and / or version number corresponding to the NMS.
5. The method according to claim 3, characterized in that: The network performance data and / or network resource data corresponding to the network element to be tested refers to: the network performance data and / or network resource data output by the management plane of the network element to be tested; The network performance data and / or network resource data corresponding to the EMS refers to: the network performance data and / or network resource data output by the EMS; The network performance data and / or network resource data corresponding to the NMS refers to: the network performance data and / or network resource data received by the NMS.
6. The method according to claim 5, characterized in that The network performance data and / or network resource data generated by the management plane of the network element to be tested is sent by the network element to be tested to the EMS, and then sent by the EMS to the NMS.
7. The method according to any one of claims 1 to 6, characterized in that The integrity of the network data includes the integrity of the number of the network data and / or the integrity of the time granularity of the network data.
8. The method according to claim 7, characterized in that The verifying the integrity of the network data comprises: Count the number of collected network data; Whether the collected network data is complete is verified based on the number of counted network data and the number of network data provided in the template or the number of network data required to be reported.
9. The method according to claim 8, characterized in that The method further comprises: The degree of integrity of the collected network data is calculated based on the number of counted network data and the number of network data provided in the template or the number of network data required to be reported.
10. The method according to any one of claims 1 to 6, characterized in that The verifying the accuracy of the network data includes: Analyze the value of network data based on the log data; Based on the values of the analyzed network data and the values of the collected network data, it is verified whether the collected network data is accurate.
11. The method according to claim 10, characterized in that The method further comprises: The accuracy of the collected network data is calculated based on the values of the analyzed network data and the values of the collected network data.
12. The method according to any one of claims 1 to 6, characterized in that The verifying the consistency of the network data includes: Based on the name and format of the network data specified in the template and the name and format of the collected network data, it is verified whether the collected network data is consistent.
13. The method according to claim 12, characterized in that The method further comprises: The consistency degree of the collected network data is calculated based on the name and format of the network data specified in the template and the name and format of the collected network data.
14. A network element testing device, characterized in that: Applied to the DevOps platform, the device includes: A collection unit, configured to collect log data from the network element to be tested, wherein the log data is generated by a user plane and / or a control plane of the network element to be tested; and collect network data from at least one of the network element to be tested, the EMS and the NMS; A processing unit, configured to compare the log data with the network data based on a template, and verify at least one of the following aspects of the network data: completeness, accuracy, and consistency; wherein: The management plane processing capability of the network element to be tested is calculated by weighted summing the network element service load, infrastructure resource load, the inverse of the network data reporting delay, and the integrity of the network data: NE_Manage=α1*Throughput / Capacity+α2*Load CPU +α3*Load MEM +α 4 / Delay+α5*Integrity; NE_Manage indicates the management plane processing capability of the network element, Throughput indicates the service flow or message processing volume, Capacity indicates the capacity of the network element, which is the maximum flow or message processing volume, and Load indicates the maximum flow or message processing volume. CPU and Load MEM They represent the CPU and memory load of the network element infrastructure respectively, Delay represents the network data reporting delay of the network element, and Integrity represents the integrity of the network data output by the network element; α1, α2, α3, α4 and α5 represent adjustment coefficients respectively.
15. A processing device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 13.
16. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 13.
17. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Automatic comparison method and system for the consistency test of the network management interface information model
CN101009608A
Platform and method for testing northbound interface
CN102104504A
Method for automatically managing net element version and network system
CN102118260A
Configuration data verification method and device of network element, and network management equipment
CN106603259A
Test system and method for user plane function network element in 5G core network
CN110048904A
