WO2020048453A1 - 网元管理方法、装置、系统及存储介质 - Google Patents

网元管理方法、装置、系统及存储介质 Download PDF

Info

Publication number
WO2020048453A1
WO2020048453A1 PCT/CN2019/104213 CN2019104213W WO2020048453A1 WO 2020048453 A1 WO2020048453 A1 WO 2020048453A1 CN 2019104213 W CN2019104213 W CN 2019104213W WO 2020048453 A1 WO2020048453 A1 WO 2020048453A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
unit
response
test
message
Prior art date
Application number
PCT/CN2019/104213
Other languages
English (en)
French (fr)
Inventor
王帮金
Original Assignee
南京中兴软件有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南京中兴软件有限责任公司 filed Critical 南京中兴软件有限责任公司
Publication of WO2020048453A1 publication Critical patent/WO2020048453A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Definitions

  • This application relates to the field of communication technology.
  • the fifth generation mobile communication technology (5-Generation wireless telephone technology, 5G) network has a large number of network elements managed by the network management, with a scale of more than 100,000 orders of magnitude. It requires high management server management and message processing capabilities. In order to ensure the normal and reliable network management, a pressure test needs to be performed to simulate the actual network load of the network management. This requires that a large number of network elements can be managed by the network management at the same time. Generally, a large number of network elements are simulated by the simulated network element tools.
  • 5G fifth generation mobile communication technology
  • an embodiment of the present disclosure provides a network element management method.
  • the method includes: receiving a test message sent by the network management proxy unit through a link established with the network management proxy unit, where the test message carries a virtual Identity information of the network element; triggering the network element simulation application unit to respond to the test message; receiving a test response of the network element simulation application unit in response to the test message, the test response is an identity information identifier carrying the virtual network element
  • the virtual network element is sent by the network element simulation application unit; and the test response is forwarded to the network management proxy unit through the link.
  • an embodiment of the present disclosure provides a network element management system.
  • the network element management system includes: a network management agent unit configured to receive the inputted identity information of a virtual network element, and establishes a connection with the network element agent unit.
  • the link sends a test message to the network element proxy unit, the test message carries the identity information of the virtual network element; and receives a response from the network element simulation application unit forwarded by the network element proxy unit through the link A test response of the test message;
  • a network element proxy unit configured to receive a test message sent by the network management proxy unit through a link established with the network management proxy unit, the test message carrying identity information of the virtual network element Triggering a network element simulation application unit to respond to the test message; receiving a test response of the network element simulation application unit in response to the test message, and forwarding the test response to the network management agent unit through the link; and a network element
  • the simulation application unit is configured to send a virtual network element identified by the identity information of the virtual network element to the network element proxy unit
  • an embodiment of the present disclosure provides a network management agent device.
  • the network management agent device includes: a first sending unit configured to receive the inputted identity information of a virtual network element, The link sends a test message to the network element proxy device, where the test message carries the identity information of the virtual network element; and a first receiving unit configured to receive the network element proxy device through the link
  • the forwarded network element simulation application device responds to the test response of the test message, and the network element simulation application device is configured to carry a virtual network element identified by the identity information of the virtual network element.
  • an embodiment of the present disclosure provides a network element proxy device.
  • the network element proxy device includes: a second receiving unit configured to receive a packet sent by the network management proxy device through a link established with the network management proxy unit. A test message, the test message carrying the identity information of the virtual network element; a trigger unit configured to trigger a network element simulation application device to respond to the test message; a third receiving unit configured to receive the network element simulation application The device responds to a test response of the test message, the test response being sent by the network element simulation application device carrying the virtual network element identified by the identity information of the virtual network element; and a second sending unit configured to pass The link forwards the test response to the network management proxy device.
  • an embodiment of the present disclosure further provides a network management agent device, including: a processor and a memory for storing a computer program capable of running on the processor, wherein when the processor is used to run the computer program, Perform the steps of the method according to any of the first aspects above.
  • an embodiment of the present disclosure further provides a network element proxy device, including a processor and a memory for storing a computer program capable of running on the processor, where the processor is configured to run the computer program , Performing the steps of the method according to any one of the second aspects above.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the first processor, the first processor implements any of the operations described in the first aspect.
  • the second processor implements the method according to any one of the second aspects.
  • FIG. 2 is a device structure diagram of a network element simulation side according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of interaction between a network management side and a network element simulation side according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a network element management method according to an embodiment of the present disclosure
  • FIG. 5 is another schematic flowchart of a network element management method according to an embodiment of the present disclosure.
  • FIG. 6 is an interaction flowchart of a network element management method according to an embodiment of the present disclosure
  • FIG. 7 is another interaction flowchart of a network element management method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of creating a virtual network element according to an embodiment of the present disclosure.
  • FIG. 9 is another interaction flowchart of a network element management method according to an embodiment of the present disclosure.
  • FIG. 10 is an interaction flowchart of a network element simulation application unit actively reporting a data configuration change message according to an embodiment of the present disclosure
  • FIG. 11 is a schematic structural diagram of a network management agent device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a network element proxy device according to an embodiment of the present disclosure.
  • FIG. 14 is a structural diagram of a trigger unit in a network element proxy device according to an embodiment of the present disclosure.
  • the interactive test between the network management server and the network element is an important part of the network management test.
  • the simulation network element tool needs the same number of Internet Protocol (IP) addresses when simulating a large number of network elements.
  • IP Internet Protocol
  • a network management agent unit is introduced on the network management side
  • a network element proxy unit is introduced on the network element simulation side
  • a network management proxy unit is introduced on the network element simulation side.
  • a link can be established based on Transmission Control Protocol / Internet Protocol (TCP / IP), and communication between the network management side and the network element simulation side can be realized on the link, so that any IP address and port can be used to Simulate a large number of virtual network elements without the need for real IP addresses and ports to identify virtual network elements.
  • TCP / IP Transmission Control Protocol / Internet Protocol
  • FIG. 2 is a device structure diagram of a network element simulation side according to an embodiment of the present disclosure.
  • the network element simulation side proposed by the present disclosure includes a network element proxy unit and a network element simulation application unit.
  • the network element proxy unit is configured to receive a test message sent by the network management proxy unit through a link established with the network management proxy unit, and trigger the network element simulation application unit to respond to the test message, and send a test response to the network management proxy unit through the link.
  • the network administrator before testing the network management server, the network administrator needs to input the identity information of the network element proxy unit for the network management parameter of the environment variable on the input interface of the network management server to trigger The network management proxy unit and the network element proxy unit establish a TCP / IP-based link. After the link is established, when testing the network management server, the network administrator also needs to enter the identity information of the virtual network element for the network management parameter of the environment variable on the input interface of the network management server to trigger the network management agent unit to trigger the test according to the current needs.
  • the identity information of the network element proxy unit may specifically be the IP address and port of the network element proxy unit, and the identity information of the virtual network element may specifically be the IP address and port of the virtual network element.
  • FIG. 3 shows the network management side and the network element simulation side according to the embodiment of the present disclosure. Schematic diagram of interaction.
  • the network management proxy unit sends a test message to the network element proxy unit, which is the process A shown in Figure 3.
  • the network element proxy unit triggers the network element simulation application.
  • the unit responds to the test message, which is the process B shown in Figure 3.
  • the network element simulates the application unit to respond to the test message, it sends the test response to the network element proxy unit, which is the process C shown in Figure 3.
  • the meta-agent unit forwards the test response to the network management agent unit, which is the D process shown in FIG. 3.
  • the network element simulation application unit detects a change in the configuration data of the virtual network element, it will also actively report a data configuration change message to the network element proxy unit, and forward the configuration data change packet to the network manager through the network element proxy unit.
  • the agent unit is the C process and the D process shown in FIG. 3.
  • the network element proxy unit can receive test messages sent by the network management proxy unit for multiple different virtual network elements, and simulate the application unit on the network element.
  • the test application of different virtual network elements is implemented in the network, and the interaction between the multiple virtual network elements and the network management agent unit is performed on the established link.
  • the network management agent unit does not need to be established with each virtual network element. TCP / IP based link.
  • the basic idea of the embodiment of the present disclosure is: after the network management agent unit and the network element agent unit have established a link, based on the link, the interaction between the network management side and the network element simulation side is implemented to implement a large number of virtual The interaction between the network element and the network management side.
  • the management of the virtual network element by the network management side involves a network management proxy unit, a network element proxy unit, and a network element simulation application unit, and may also involve a southbound interface and a network management configuration unit on the network management side.
  • FIG. 4 is a schematic flowchart of a network element management method according to an embodiment of the present disclosure. As shown in FIG. 4, in the embodiment of the present disclosure The network element management method applied to the network management agent unit may include the following steps: Steps S401-S402.
  • step S401 the inputted identity information of the virtual network element is received, and a test message is sent to the network element proxy unit through the link established with the network element proxy unit, and the test message carries the identity information of the virtual network element.
  • the network management proxy unit when the network administrator inputs the identity information of the virtual network element on the input interface of the network management server for the network management parameter of the environment variable, the network management proxy unit will be triggered to pass the established link with the network element proxy unit The road sends a test message to the network element proxy unit, and the test message carries the identity information of the virtual network element.
  • the test message sent by the network management proxy unit to the network element proxy unit is implemented based on the established link between the network management proxy unit and the network element proxy unit.
  • the virtual network element The identity information is only used to identify the virtual network element and is not used for real link establishment.
  • the identity information of the virtual network element needs to be configured on the network management side in advance to identify the virtual network element on the simulation side of the network element, that is, the virtual network carried on the network element simulation application unit. yuan.
  • the link between the network management proxy unit and the network element proxy unit need only be established once. Specifically, when the identity information of the network element proxy unit is received, the network management proxy unit sends a chain establishment request to the network element proxy unit identified by the identity information of the network element proxy unit, and the network management proxy unit and the network element proxy unit perform a three-way handshake.
  • the link establishment process that is, the network management proxy unit and the network element proxy unit can establish a link based on TCP / IP.
  • the network management proxy unit does not receive the heartbeat packet sent by the network element proxy unit within a certain period of time, it indicates that the link between the network element proxy unit and the network management proxy unit has been disconnected. At this time, the link establishment process needs to be performed again. .
  • the network management agent unit can interact with the network element simulation side to test messages based on the existing protocol.
  • the existing protocol may be a Network Configuration Protocol (NETCONF) or a Simple Network Management Protocol (SNMP).
  • NETCONF is used as an example for description, and NETCONF includes a capability negotiation message. And configuration data query messages.
  • the network management proxy unit needs to establish a session with the virtual network element and interact with the capabilities of the two parties through the establishment of the session.
  • the test message is a capability negotiation message. After capability negotiation on the simulation side of the network element, the establishment of the session between the network management side and the virtual network element is completed.
  • the test message is a configuration data query message. After receiving the data configuration response, the network management proxy unit forwards the data configuration response to the network management configuration unit on the network management side so that The network management configuration unit performs subsequent operations on data configuration, such as modifying and deleting configuration data.
  • step S402 the network element simulation application unit forwards the test response of the test message forwarded by the network element proxy unit through the link, and the network element simulation application unit is used to carry the virtual network element identified by the identity information of the virtual network element.
  • the network management proxy unit receives the test response of the network element simulation application unit response test message forwarded by the network element proxy unit based on the established link with the network element proxy unit.
  • the network element simulation application unit is used to carry the virtual network element identified by the identity information of the virtual network element, and the network management proxy unit controls the virtual network element by sending a corresponding test message.
  • the test messages are sent through the network element simulation application unit to realize feedback.
  • the network management proxy unit When the network management proxy unit needs to perform the capability negotiation test, it will send a capacity negotiation message to the network element proxy unit. After sending the capacity negotiation message, the network management proxy unit will receive feedback from the simulation side of the network element. Specifically: the network management proxy unit passes The link receives the capability negotiation response from the network element simulation application unit that responds to the capability negotiation message forwarded by the network element proxy unit.
  • the capability negotiation response carries the capability information of the virtual network element.
  • the capability information of the virtual network element is the capability received by the network element simulation application unit. It is determined through capability negotiation after the negotiation message.
  • the network management proxy unit When the network management proxy unit needs to test the query configuration data, it will send a configuration data query message to the network element proxy unit. After sending the configuration data query message, the network management proxy unit will receive feedback from the simulation side of the network element. Specifically: the network management The proxy unit receives the data configuration response of the network element simulation application unit forwarded by the network element proxy unit in response to the configuration data query message, the data configuration response carries the configuration data of the virtual network element, and the configuration data is received by the network element simulation application unit. It is obtained after querying the configuration data query message.
  • the configuration data of the virtual network element may be reset.
  • the network element simulation application unit will detect that the configuration data of the virtual network element has changed. At this time, the network element simulation application unit will actively report the modified data corresponding to the virtual network element.
  • the data configuration change message of the configuration data of the network element is sent to the network element proxy unit, and the network management proxy unit will synchronously receive the data configuration change packet forwarded by the network element proxy unit, and forward the message to the network management configuration unit for network management configuration. The unit makes adjustments to the stored configuration data.
  • the identity information of the virtual network element when the identity information of the virtual network element is configured on the network management side, it will trigger the network management proxy unit to interact with the virtual network element based on the link established with the network element proxy unit.
  • the established link transmits test messages without establishing a link with each virtual network element separately, thereby implementing information interaction with the simulation side of the network element based on a real identity information, that is, the identity information of the network element proxy unit.
  • the identity information of the virtual network element can be freely configured on the network management side.
  • FIG. 5 is another schematic flowchart of a network element management method according to an embodiment of the present disclosure.
  • the network element management method applied to the network element proxy unit may include the following steps: steps S501-S504.
  • step S501 a test message sent by the network management proxy unit is received through a link established with the network management proxy unit, and the test message carries identity information of the virtual network element.
  • the network element proxy unit and the network management proxy unit receive a test message sent by the network management proxy unit based on the established link, and the test message carries the identity information of the virtual network element.
  • the test message sent by the network management proxy unit by the network element proxy unit is implemented based on the established link between the network management proxy unit and the network element proxy unit.
  • the virtual network element The identity information is only used to identify the virtual network element and is not used for real link establishment.
  • the identity information of the virtual network element needs to be configured on the network management side in advance.
  • the link between the network management proxy unit and the network element proxy unit need only be established once. Specifically, after the network element proxy unit receives the chain establishment request sent by the network management proxy unit, the network element proxy unit and the network management proxy unit perform a three-way handshake to complete the network link establishment process, that is, the network element proxy unit and the network management proxy unit are established based on TCP / IP. link. When the network element proxy unit does not receive the heartbeat packet sent by the network management proxy unit within a certain period of time, it indicates that the link between the network management proxy unit and the network element proxy unit has been disconnected. At this time, the link establishment process needs to be performed again. .
  • step S502 the network element simulation application unit is triggered to respond to the test message.
  • the network element proxy unit can trigger the network element simulation application unit to respond to the test message after receiving the test message sent by the network management proxy unit.
  • the network element proxy unit parses the test message to obtain the identity information of the virtual network element, and maps the identity information of the virtual network element to a unique identifier, which is used to identify the virtual network element in the network element simulation application unit. After the mapping is completed, the network element proxy unit sends the unique identification and test content in the test message to the network element simulation application unit, and the network element simulation application unit responds to the test content.
  • the network element simulation side can interact with the network management agent unit to test messages based on the existing protocol.
  • the existing protocol can be NETCONF or SNMP.
  • NETCONF is used as an example for description.
  • the NETCONF includes a capability negotiation message and a configuration data query message.
  • the network element proxy unit When the network management proxy unit needs to perform the capability negotiation test, the network element proxy unit will receive the capacity negotiation message sent by the network management proxy unit. When the network management proxy unit needs to test the query configuration data, the network element proxy unit will receive the network management proxy unit. Configuration data query message. Specifically, after the network element proxy unit on the simulation side of the network element receives the test message, it parses out the identification information used to identify the virtual network element in the test message, and maps the identity information of the virtual network element to the simulation in the network element. The unique identification of the virtual network element in the application unit, and then the network element proxy unit sends the unique identification and test content to the network element simulation application unit.
  • step S503 a test response from the network element simulation application unit to the test message is received, and the test response is sent by the network element simulation application unit carrying the virtual network element identified by the identity information of the virtual network element.
  • the network element proxy unit receives the capability negotiation response of the network element simulation application unit in response to the capability negotiation message, and the capability negotiation response carries the capability information of the virtual network element.
  • the capability information is determined through the capability negotiation after the network element simulation application unit receives the capability negotiation message.
  • the network element proxy unit receives a data configuration response from the network element simulation application unit in response to the configuration data query message.
  • the data configuration response carries the configuration data of the virtual network element, and the configuration data is the network element.
  • the simulation application unit obtains the query after receiving the configuration data query message.
  • step S504 the test response is forwarded to the network management agent unit through the link.
  • the network element proxy unit after receiving the test response from the network element simulation application unit, the network element proxy unit forwards the test response to the network management proxy unit through the link.
  • test message when the test message is a capability negotiation message, after the network management proxy unit and the network element simulation side perform capability negotiation, the session establishment between the network management proxy unit and the virtual network element is completed; when the test message is a configuration data query message, After receiving the data configuration response from the network element simulation application unit, the network element proxy unit forwards the data configuration response to the network management proxy unit through the link between the network management proxy unit and the network element proxy unit. The data configuration response is forwarded to the network management configuration unit on the network management side, so that the network management configuration unit can perform subsequent operations on the data configuration, such as modifying and deleting.
  • the configuration data of the virtual network element may be reset.
  • the network element simulation application unit will detect that the configuration data of the virtual network element has changed.
  • the network element proxy unit will receive the data configuration change reported by the network element simulation application unit.
  • the message, the data configuration change message carries the changed configuration data corresponding to the virtual network element, and is set to the network management configuration unit to adjust the stored configuration data according to the configuration data.
  • the network element proxy unit is configured to establish a link with the network management proxy unit, and perform test message interaction between the network management proxy unit and the virtual network element on the established link without
  • Each virtual network element is required to establish a link with the network management agent unit separately, thereby implementing a test message interaction with the network management side based on a real identity information, that is, the identity information of the network element proxy unit.
  • the identity information of the virtual network element can be Feel free to configure.
  • the embodiment of the present disclosure provides a network element management method, which is applied to a network management agent unit and a network element agent unit.
  • the network management proxy unit sends a test message to the network element proxy unit through the link established with the network element proxy unit, and the test message carries the virtual network element.
  • the network element proxy unit Based on the received test message, the network element proxy unit triggers the network element simulation application unit to respond to the test message; subsequently, the network element proxy unit receives the test response of the network element simulation application unit, and forwards the test response to the link based on Network management agent unit on the network management side.
  • FIG. 6 is an interaction flowchart of a network element management method according to an embodiment of the present disclosure. As shown in FIG. 6, in the embodiment of the present disclosure, the interaction process of the network management agent unit and the network element agent unit may include the following steps: Steps S601-S604.
  • step S601 the network management proxy unit sends a test message to the network element proxy unit through the link established with the network element proxy unit.
  • the network management proxy unit when the network administrator inputs the identity information of the virtual network element for the network management parameter of the environment variable on the input interface of the network management server, the network management proxy unit can A test message is sent to the network element proxy unit through this link. It should be noted that the test message carries the identity information of the virtual network element.
  • step S602 the network element proxy unit receives the test message sent by the network management proxy unit through the link established with the network management proxy unit, and triggers the network element simulation application unit to respond to the test message.
  • the network element proxy unit parses the received test message, obtains the identity information of the virtual network element, and maps the identity information of the virtual network element into a unique identifier, which is used to identify the virtual network in the network element simulation application unit. After the mapping is completed, the network element proxy unit sends the unique identification and test content in the test message to the network element simulation application unit, and the network element simulation application unit responds to the test content.
  • step S603 the network element proxy unit receives a test response from the network element simulation application unit in response to the test message.
  • the network element proxy unit after the network element proxy unit sends the test content and the unique identification to the network element simulation application unit, it receives a test response in which the network element simulation application unit feeds back a test message.
  • step S604 the network element proxy unit forwards the test response to the network management proxy unit on the network management side through the link established with the network management proxy unit.
  • the network element proxy unit after receiving the test response of the network element simulation application unit, forwards the test response to the network management proxy unit through the link established with the network management proxy unit, thereby implementing Test of network management server.
  • FIG. 7 is another interaction flowchart of a network element management method according to an embodiment of the present disclosure.
  • a network administrator inputs information from a server on a network management side.
  • the interface inputs the identity information of the network element proxy unit for the network management parameter of the environment variable, and triggers the network management proxy unit and the network element proxy unit to establish a TCP / IP-based link.
  • the network administrator inputs the identity information of the virtual network element based on the network management parameter of the environment variable, and triggers the network management agent unit to trigger the test according to the current needs.
  • the network management side is the network configuration client Netconf Client
  • the network element simulation side is the network configuration server Netconf Server.
  • the interactive process of establishing a connection between the network management agent unit, the network element agent unit, and the network element simulation application unit may include the following steps: Steps S701-S706.
  • step S701 the network management proxy unit sends a capability negotiation message containing the identity information of the virtual network element to the network element proxy unit through the link established with the network element proxy unit.
  • the Netconf Client is implemented based on the openconf of the Netconf project of daylight.
  • a proxy mode is added therein, that is, a network management proxy unit, which can send all the Netconf Clients originally issued by the southbound interface.
  • the test message is sent through the network management proxy unit, and the network management proxy unit sends the test message to the network element proxy unit.
  • the network element proxy unit is a Netty-based Socket proxy server. If the environment variable on the network management side is configured with the identity information of the network element proxy unit, such as the IP address and port of the socket proxy, when the identity information of the virtual network element is configured in the environment variable on the network management side, it is originally issued by the southbound interface.
  • the capability negotiation message will be sent to the IP address and port where the Socket proxy is located through the network management proxy unit, and the identity information of the virtual network element, such as the IP address and port of the virtual network element, will be included in the capability negotiation message; if no Socket proxy is configured IP address and port, the capability negotiation message is sent directly from the southbound interface to the real network element.
  • step S702 after receiving the capability negotiation message, the network element proxy unit parses the capability negotiation message, obtains the identity information of the virtual network element, and maps the identity information of the virtual network element to a unique identifier.
  • the network element proxy unit after receiving the capability negotiation message, parses the capability negotiation message to obtain the IP address and port of the virtual network element, and obtains the IP address and port of the virtual network element. Maps to a unique identifier, which is used to identify the virtual network element in the network element simulation application unit.
  • step S703 the network element proxy unit sends the capability negotiation content and the unique identifier in the capability negotiation message to the network element simulation application unit.
  • step S704 the network element simulation application unit constructs a capability negotiation response of the capability negotiation content according to the NETCONF.
  • the network element simulation application unit after receiving the capability negotiation content and the unique identifier sent by the network element proxy unit, the network element simulation application unit will respond to the capability negotiation content. Specifically, the network element simulation application unit constructs a capability set list ⁇ hello> element that uniquely identifies the virtual network element characterized by the element.
  • step S705 the network element simulation application unit sends a capability negotiation response to the network element proxy unit.
  • the network element simulation application unit sends the capability set list ⁇ hello> element to the network element proxy unit.
  • step S706 the network element proxy unit forwards the capability negotiation response to the network management proxy unit through a link established in advance.
  • the network element proxy unit forwards the capability set list ⁇ hello> element to the network proxy unit through the established link.
  • the network element proxy unit that is, the Socket proxy server and the network management proxy unit, exchanges the capability negotiation message specified by NETCONF based on the established link, and forwards the capability negotiation response to the network management proxy Unit to notify the capabilities of the virtual network element.
  • the capability negotiation between the network management proxy unit and the virtual network element is completed based on the established link between the network management proxy unit and the network element proxy unit.
  • the network management agent unit and different virtual network elements do not need to establish a corresponding number of links in essence. No matter how many virtual network elements the network management agent unit communicates with, it only needs to communicate on the link between the network management agent unit and the network element agent unit.
  • the network management proxy unit, the network element proxy unit and the network element simulation application unit on the network element simulation side establish a corresponding number of threads based on links to implement simulation of a large number of virtual network elements, and one of the threads represents A virtual network element.
  • the identity information of the virtual network element is only used to identify the virtual network element and is not used for real link establishment. Therefore, the identity information of the virtual network element can be arbitrarily configured.
  • FIG. 8 is a schematic diagram of creating a virtual network element according to an embodiment of the present disclosure.
  • the identity information of the network element proxy unit is input for the network management parameter of the environment variable.
  • the network management side and the network element simulation side can establish the link through the network management proxy unit and the network element proxy unit.
  • the network administrator uses the environment variables in the environment variables.
  • the identity information of the virtual network element is entered in the network management proxy unit and the network element proxy unit.
  • the identity information of the network element proxy unit such as port 830 specified by NETCONF, can be used to construct network elements 1 to N to simulate a large number of networks.
  • Test simulation of virtual network elements based on network element simulation application units.
  • the interaction from network element 1 to network element N and the network management side are all performed on the same link.
  • the identity information of network element 1 to network element N is only used to correspond to a virtual network element, so that the virtual network element is processed.
  • logo is only used to correspond to a virtual network element, so that the virtual network element is processed.
  • FIG. 9 is another interaction flowchart of a network element management method according to an embodiment of the present disclosure.
  • the same principle as in the embodiment of FIG. 7 is shown in FIG. 9.
  • the interactive process of establishing a connection between the network management configuration unit, the network management proxy unit, the network element proxy unit, and the network element simulation application unit may include the following steps: steps S901-S908.
  • step S901 the network management proxy unit sends a configuration data query message carrying the identity information of the virtual network element to the network element proxy unit through the established link with the network element proxy unit.
  • the network element proxy unit is a Netty-based Socket proxy server. If the environment variable on the network management side is configured with the identity information of the network element proxy unit, such as the IP address and port of the socket proxy, when the identity information of the virtual network element is configured in the environment variable on the network management side, it is originally issued by the southbound interface.
  • the configuration data query message will be sent to the IP address and port where the Socket proxy is located through the network management proxy unit, and the identity information of the virtual network element, such as the IP address and port of the virtual network element, will be included in the configuration data query message;
  • the IP address and port of the Socket proxy will send configuration data query messages directly to the real network element from the southbound interface.
  • the configuration data query message is sent to the network element proxy unit via the network management proxy unit.
  • step S902 after receiving the configuration data query message, the network element proxy unit parses the configuration data query message to obtain the identity information of the virtual network element, and maps the identity information of the virtual network element to a unique identifier.
  • the network element proxy unit after receiving the configuration data query message, parses the configuration data query message to obtain the IP address and port of the virtual network element, and obtains the IP address of the virtual network element. And the port are mapped to a unique identifier, which is used to identify the virtual network element in the network element simulation application unit.
  • step S903 the network element proxy unit sends the configuration data query content and the unique identifier in the configuration data query message to the network element simulation application unit.
  • step S904 the network element simulation application unit constructs a data configuration response of the configuration data query content according to the NETCONF.
  • the network element simulation application unit after receiving the configuration data query content and the unique identifier sent by the network element proxy unit, the network element simulation application unit queries the data configuration of the virtual network element identified by the identity information of the virtual network element.
  • step S905 the network element simulation application unit sends a data configuration response to the network element proxy unit.
  • the network element simulation application unit sends the data configuration of the virtual network element identified by the identity information of the virtual network element to the network element proxy unit.
  • step S906 the network element proxy unit forwards the data configuration response to the network management proxy unit through the established link.
  • the network element proxy unit forwards the data configuration of the virtual network element identified by the identity information of the virtual network element to the network management proxy unit through the established link.
  • step S907 the network management proxy unit forwards the data configuration response to the network management configuration unit in the network management.
  • step S908 the network management configuration unit processes the data configuration response.
  • the network management configuration unit modifies the configuration data of the virtual network element.
  • FIG. 10 is an interaction of a network element simulation application unit actively reporting a data configuration change message according to an embodiment of the present disclosure.
  • the flowchart, as shown in FIG. 10, is exemplary.
  • the interaction process between the network management side and the network element simulation side may further include the following steps: steps S1001-S1005.
  • step S1001 the network element simulation application unit constructs a data configuration change message.
  • the configuration data of the virtual network element may be reset.
  • the network element simulation application unit will detect that the configuration data of the virtual network element has changed. At this time, the network element simulation application unit will construct a data configuration change message.
  • step S1002 the network element simulation application unit sends the constructed data configuration change message to the network element proxy unit.
  • the network element simulation application unit sends a data configuration change message carrying the changed configuration data corresponding to the virtual network element to the network element proxy unit.
  • step S1003 the network element proxy unit forwards the data configuration change message to the network management proxy unit through the established link.
  • step S1004 the network management proxy unit forwards the data configuration change message to the network management configuration unit.
  • step S1005 the network management configuration unit processes the received data configuration change message.
  • the network management proxy unit obtains the data configuration of the virtual network element based on the established link with the network element proxy unit, that is, the management of the virtual network element by the network management side is implemented.
  • the virtual network element among them performs test interaction with the network management side on the established link, so the identity information of the virtual network element can be arbitrarily configured.
  • FIG. 11 is a schematic structural diagram of a network management proxy device according to an embodiment of the present disclosure. As shown in FIG. 11, the network management proxy device 100 includes a first sending unit 101 and a first A receiving unit 102.
  • the first sending unit 101 is configured to receive the inputted identity information of a virtual network element, and send a test message to the network element proxy device through a link established with the network element proxy device, where the test message carries a virtual The identity information of the network element.
  • the first receiving unit 102 is configured to receive a test response of the network element simulation application device forwarded by the network element proxy device in response to the test message through the link, and the network element simulation application device is configured to carry the virtual A virtual network element identified by the identity information of the network element.
  • the first sending unit 101 is further configured to, before forwarding the test message to the network element proxy device, receive the input identity information of the network element proxy device, and identify the identity information to the network element proxy unit.
  • the network element proxy device sends a chain establishment request; the first receiving unit 102 is further configured to perform a handshake with the network element proxy device based on the chain establishment request to complete the establishment of the link.
  • the first receiving unit 102 is further configured to receive the network element simulation application device forwarded by the network element proxy device through the link.
  • the capability negotiation response of the capability negotiation message where the capability negotiation response carries capability information of the virtual network element, and the capability information of the virtual network element is passed by the network element simulation application device after receiving the capability negotiation message. Determined by capacity negotiation.
  • the first receiving unit 102 is further configured to receive a response of the network element simulation application unit forwarded by the network element proxy device through the link.
  • a data configuration response of the configuration data query message where the data configuration response carries configuration data of the virtual network element, and the configuration data is obtained by querying the network element simulation application device after receiving the configuration data query message of.
  • the first receiving unit 102 is further configured to receive a data configuration change message forwarded by the network element proxy device through the link, and the data configuration change message carries a modified, corresponding Configuration data in a virtual network element; the first sending unit is further configured to forward the data configuration change message to a network management configuration device; wherein the data configuration change message is reported actively by the network element simulation application device, It is set that the network management configuration device adjusts the stored configuration data according to the configuration data.
  • the network management agent device provided in the foregoing embodiment performs network element management
  • only the above-mentioned division of the program modules is used as an example.
  • the above processing may be allocated by different program modules as required. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the network management agent device provided in the foregoing embodiment and the embodiment of the network element management method belong to the same concept. For specific implementation processes, refer to the method embodiment, and details are not described herein again.
  • FIG. 12 is another schematic structural diagram of a network management proxy device according to an embodiment of the present disclosure.
  • the network management proxy device 500 includes: at least one A first processor 501, a first memory 502 storing instructions executable by the first processor 501, a first user interface 503, a first network interface 504, and a connection for connecting the first process 501, the first memory 502, and the first The first bus 505 of the user interface 503 and the first network interface 504.
  • the components in the network management agent device 500 are coupled together through a first bus 505. It can be understood that the first bus 505 is used to implement connection and communication between these components.
  • the first bus 505 includes a data bus, a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as the first bus 505 in FIG. 12.
  • the first user interface 503 and the first network interface 504 are used to receive and send data, and the first processor 501 is configured to execute a computer program stored in the first memory 502 to implement the network element management method described in connection with the embodiments.
  • the first user interface 503 may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a button, a touch panel, or a touch screen.
  • the first memory 502 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • Non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable, Programmable, Read-Only memory) ), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical Disk Or CD-ROM (Compact Disc, Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Access Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ).
  • the first memory 502 described in embodiments of the present disclosure is intended to include, but is not limited to, these and any other suitable types of memory.
  • the first memory 502 in the embodiment of the present disclosure is used to store various types of data to support the operation of the network management agent device 500.
  • Examples of such data include: any computer program for operating on the network management agent device 500, such as an operating system 5021 and an application program 5022.
  • the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks.
  • the application program 5022 may include various application programs, such as a media player (Player), a browser (Browser), and the like, and is configured to implement various application services.
  • a program that implements the methods of the embodiments of the present disclosure may be contained in an application program 5022.
  • the method disclosed in the foregoing embodiment of the present disclosure may be applied to the first processor 501, or implemented by the first processor 501.
  • the first processor 501 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by using an integrated logic circuit of hardware in the first processor 501 or an instruction in the form of software.
  • the above-mentioned first processor 501 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the first processor 501 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure.
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in combination with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • the storage medium is located in the first memory 502.
  • the first processor 501 reads the information in the first memory 502 and completes the steps of the foregoing method in combination with its hardware.
  • the network management agent device 500 may be configured by one or more application-specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD), Complex programmable logic device (CPLD, Complex Programmable Logic Device), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller), microprocessor (Microprocessor), or other electronic components.
  • ASIC Application Specific Integrated Circuit
  • DSP Programmable Logic Device
  • PLD Complex programmable logic device
  • CPLD Complex programmable logic device
  • FPGA Field Programmable Gate Array
  • general-purpose processor controller
  • controller microcontroller
  • MCU Micro Controller
  • microprocessor Microprocessor
  • the embodiment of the present disclosure further provides a computer-readable storage medium, for example, a first memory 502 including a computer program, and the computer program may be executed by the first processor 501 of the network management agent device 500 to complete The steps described in the foregoing method.
  • the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM, or various devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
  • a computer-readable storage medium stores a computer program thereon.
  • the computer program is run by a processor, the network element management method described in conjunction with the foregoing embodiments is performed.
  • FIG. 13 is a schematic structural diagram of a network element proxy device according to an embodiment of the present disclosure.
  • the network element proxy device 200 includes a second receiving unit. 201, a triggering unit 202, a third receiving unit 203, and a second sending unit 204.
  • the second receiving unit 201 is configured to receive a test message sent by the network management proxy device through a link established with the network management proxy unit, where the test message carries identity information of a virtual network element.
  • the trigger unit 202 is configured to trigger a network element simulation application device to respond to the test message.
  • the third receiving unit 203 is configured to receive a test response of the network element simulation application device in response to the test message, where the test response is the network of the virtual network element that carries the identity information of the virtual network element. Issued by Meta Simulation Application.
  • the second sending unit 204 is configured to forward the test response to the network management proxy device through the link.
  • FIG. 14 is a structural diagram of a triggering unit in a network element proxy device according to an embodiment of the present disclosure.
  • the triggering unit 202 may further include a parsing unit 202A and a mapping unit 202B. .
  • the parsing unit 202A is configured to parse the test message to obtain identity information of the virtual network element.
  • the mapping unit 202B is configured to map a unique identifier according to the identity information of the virtual network element, and the unique identifier is used to identify the virtual network element in the network element simulation application device.
  • the second sending unit 204 is further configured to send the unique identification and the test content in the test message to the network element simulation application device, and the network element simulation application device responds to the test content.
  • the second receiving unit 201 is further configured to receive a link establishment request sent by the network management agent device before receiving a test message sent by the network management agent device through a link established with the network management agent device; based on The chain establishment request shakes hands with the network management proxy device to complete the establishment of the link.
  • the third receiving unit 203 is further configured to receive a capability negotiation response of the network element simulation application device in response to the capability negotiation message.
  • the capability negotiation response carries capability information of the virtual network element, and the capability information of the virtual network element is determined by the network element simulation application device through capability negotiation after receiving the capability negotiation message.
  • the third receiving unit 203 is further configured to receive a data configuration response from the network element simulation application device in response to the configuration data query message,
  • the data configuration response carries configuration data of the virtual network element, and the configuration data is obtained by the network element simulation application device after querying the configuration data query message.
  • the third receiving unit 203 is further configured to receive a data configuration change message actively reported by the network element simulation application device, and the data configuration change message carries the changed data corresponding to the virtual network.
  • the meta configuration data is set to the network management configuration unit to adjust the stored configuration data according to the configuration data.
  • the network element proxy device provided in the foregoing embodiment simulates the application of the network element
  • only the division of the foregoing program modules is used as an example.
  • the above processing may be allocated to different programs according to requirements.
  • the module is completed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above.
  • the embodiments of the network element proxy device and the network element management method provided by the foregoing embodiments belong to the same concept. For specific implementation processes, refer to the foregoing method embodiments, and details are not described herein again.
  • FIG. 15 is another schematic structural diagram of a network element proxy device according to an embodiment of the present disclosure.
  • the network element proxy device 600 includes : At least one second processor 601, a second memory 602 storing instructions executable by the second processor 601, a second user interface 603, a second network interface 604, and a connection for the second process 601 and the second memory 602 And a second bus 605 of the second user interface 603 and the second network interface 604.
  • Each component in the network management agent device 600 is coupled together through a second bus 605.
  • the second bus 605 is used to implement connection and communication between these components.
  • the second bus 605 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as the second bus 605 in FIG. 15.
  • the second user interface 603 and the second network interface 604 are used to receive and send data, and the second processor 601 is used to execute a computer program stored in the second memory 602 to implement the network element management method described in connection with the embodiments.
  • the second user interface 603 may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a button, a touch panel, or a touch screen.
  • the second memory 602 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • Non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable, Programmable, Read-Only memory) ), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical Disk Or CD-ROM (Compact Disc, Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Random Dynamic Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ).
  • the second memory 602 described in embodiments of the present disclosure is intended to include, but is not limited to, these and any other suitable types of memory.
  • the second memory 602 in the embodiment of the present disclosure is used to store various types of data to support the operation of the network element proxy device 600.
  • Examples of such data include: any computer program for operating on the network element proxy device 600, such as an operating system 6021 and an application program 6022.
  • the operating system 6021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, which are set to implement various basic services and process hardware-based tasks.
  • the application program 6022 may include various application programs, such as a media player (Player), a browser (Browser), and the like, and is configured to implement various application services.
  • a program for implementing the method of the embodiment of the present disclosure may be included in the application program 6022.
  • the method disclosed in the foregoing embodiment of the present disclosure may be applied to the second processor 601, or implemented by the second processor 601.
  • the second processor 601 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by using hardware integrated logic circuits or instructions in the form of software in the second processor 601.
  • the above-mentioned second processor 601 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the second processor 601 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure.
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in combination with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • the storage medium is located in the second memory 602.
  • the second processor 601 reads the information in the second memory 602 and completes the steps of the foregoing method in combination with its hardware.
  • the network element proxy device 600 may be implemented by one or more application-specific integrated circuits (ASICs, Application Specific Integrated Circuits), DSPs, programmable logic devices (PLDs, Programmable Logic Devices), and complex programmable logic devices.
  • ASICs Application Specific Integrated Circuits
  • DSPs digital signal processors
  • PLDs programmable logic devices
  • complex programmable logic devices CPLD, Complex, Programmable, Logic, Device
  • FPGA Field Programmable Gate Array
  • MCU Microcontroller
  • microprocessor or Other electronic component implementations, which are arranged to perform the aforementioned method.
  • an embodiment of the present disclosure further provides a computer-readable storage medium, for example, a second memory 602 including a computer program, and the computer program may be executed by the second processor 601 of the network element proxy device 600 to Complete the steps described in the previous method.
  • the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM, or various devices including one or any combination of the above memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
  • the computer-readable storage medium stores a computer program thereon, and when the computer program is run by a processor, the network element management method described in connection with the embodiments is performed.
  • the network element management system includes a network management proxy unit, a network element proxy unit, and a network element simulation application unit.
  • the network element management system includes a network management proxy unit, a network element proxy unit, and a network element simulation application unit.
  • FIG. 3 For a specific structure, see FIG. 3.
  • the network management proxy unit is configured to receive the input identity information of the virtual network element, and send a test message to the network element proxy unit through a link established with the network element proxy unit, where the test message carries the virtual network element. Identity information of the network element; receiving a test response from the network element simulation application unit forwarded by the network element proxy unit in response to the test message through the link.
  • the network element proxy unit is configured to receive a test message sent by the network management proxy unit through a link established with the network management proxy unit, where the test message carries identity information of the virtual network element; triggering the network element simulation application unit to respond The test message; and receiving a test response from the network element simulation application unit in response to the test message, and forwarding the test response to the network management proxy unit through the link.
  • the network element simulation application unit is configured as a virtual network element carrying the identity information identifier of the virtual network element, and sends a test response in response to the test message to the network element proxy unit.
  • the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) containing computer-usable program code therein.
  • computer-usable storage media including, but not limited to, magnetic disk storage, optical storage, and the like
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

提供了一种网元管理方法、装置、系统及存储介质,所述方法包括:接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;以及通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应,所述网元模拟应用单元用于承载所述虚拟网元的身份信息标识的虚拟网元。

Description

网元管理方法、装置、系统及存储介质 技术领域
本申请涉及通信技术领域。
背景技术
网管服务器与网元间存在大量消息交互,包括网管服务器从网元获取配置数据、激活配置数据到网元等。第五代移动通信技术(5-Generation wireless telephone technology,5G)网络的网管管理的网元数量众多,规模超过10万网元数量级,对网管服务器的管理能力、消息处理能力要求都很高。为了保证网管的正常可靠,需要进行压力测试,模拟网管的真实网络负载情况,而这需要有大量网元能够同时被网管管理,通常,由模拟网元工具来模拟出大量网元。
发明内容
第一方面,本公开实施例提供一种网元管理方法,所述方法包括:接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;以及通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应,所述网元模拟应用单元用于承载所述虚拟网元的身份信息标识的虚拟网元。
第二方面,本公开实施例提供一种网元管理方法,所述方法包括:通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;触发网元模拟应用单元响应所述测试消息;接收所述网元模拟应用单元响应所述测试消息的测试响应,所述测试响应为承载所述虚拟网元的身份信息标识的虚拟网元的所述网元模拟应用单元发出的;以及通过所述链路转发所述测试响应给所述网管代理单元。
第三方面,本公开实施例提供一种网元管理系统,所述网元管理系统包括:网管代理单元,其设置为接收到输入的虚拟网元的身份 信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应;网元代理单元,其设置为通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;触发网元模拟应用单元响应所述测试消息;接收所述网元模拟应用单元响应所述测试消息的测试响应,通过所述链路转发所述测试响应给所述网管代理单元;以及网元模拟应用单元,其设置为承载所述虚拟网元的身份信息标识的虚拟网元,向所述网元代理单元发送响应所述测试消息的测试响应。
第四方面,本公开实施例提供一种网管代理装置,所述网管代理装置包括:第一发送单元,其设置为接收到输入的虚拟网元的身份信息,通过与网元代理装置已建立的链路向所述网元代理装置发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;以及第一接收单元,其设置为通过所述链路接收所述网元代理装置转发的网元模拟应用装置响应所述测试消息的测试响应,所述网元模拟应用装置用于承载所述虚拟网元的身份信息标识的虚拟网元。
第五方面,本公开实施例提供一种网元代理装置,所述网元代理装置包括:第二接收单元,其设置为通过与网管代理单元已建立的链路接收所述网管代理装置发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;触发单元,其设置为触发网元模拟应用装置响应所述测试消息;第三接收单元,其设置为接收所述网元模拟应用装置响应所述测试消息的测试响应,所述测试响应为承载所述虚拟网元的身份信息标识的虚拟网元的所述网元模拟应用装置发出的;以及第二发送单元,其设置为通过所述链路转发所述测试响应给所述网管代理装置。
第六方面,本公开实施例还提供一种网管代理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行如上述第一方面中任一项所述方法的步骤。
第七方面,本公开实施例还提供一种网元代理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行如上述第二方面中任一项所述方法的步骤。
第八方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被第一处理器执行时使得所述第一处理器实现如上述第一方面中任一项所述的方法或者被第二处理器执行时使得所述第二处理器实现如上述第二方面中任一项所述的方法。
附图说明
图1为根据本公开实施例的网管侧的装置结构图;
图2为根据本公开实施例的网元模拟侧的装置结构图;
图3为根据本公开实施例的网管侧与网元模拟侧进行交互的示意图;
图4为根据本公开实施例的一种网元管理方法的流程示意图;
图5为根据本公开实施例的一种网元管理方法的另一流程示意图;
图6为根据本公开实施例的一种网元管理方法的交互流程图;
图7为根据本公开实施例的一种网元管理方法的另一交互流程图;
图8为根据本公开实施例的一种虚拟网元创建的示意图;
图9为根据本公开实施例的一种网元管理方法的另一交互流程图;
图10为根据本公开实施例的一种网元模拟应用单元主动上报数据配置变更报文的交互流程图;
图11为根据本公开实施例的一种网管代理装置的结构示意图;
图12为根据本公开实施例的一种网管代理装置的另一结构示意图;
图13为根据本公开实施例的一种网元代理装置的结构示意图;
图14为根据本公开实施例的一种网元代理装置中触发单元的结构图;以及
图15为根据本公开实施例的一种网元代理装置的另一结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。
网管服务器与网元之间进行交互的测试是网管测试中的重要组成部分。在一些情况下,模拟网元工具在模拟大量网元时,需要相同数量的网络协议(Internet Protocol,IP)地址。对于一个模拟工具而言,很难在公共网络中获取到这么多真实的IP地址,极大影响了网管服务器对于通信业务的压力测试。
对此,在本公开的实施例中,通过对网管侧和网元模拟侧进行改进,在网管侧引入网管代理单元,在网元模拟侧引入网元代理单元,网管代理单元和网元代理单元可以基于传输控制协议/网络协议(Transmission Control Protocol/Internet Protocol,TCP/IP)建立链路,并在该链路上实现网管侧和网元模拟侧的通信,使得可以使用任意IP地址和端口来模拟大量虚拟网元,而不再需要真实的IP地址和端口来标识虚拟网元。
图1为根据本公开实施例的网管侧的装置结构图,如图1所示,本公开提出的网管侧包括网管代理单元和其他单元,其中,网管代理单元用于通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,并通过所述链路接收网元代理单元返回的测试响应。在本公开的实施例中,其他单元包括如南向接口、配置管理单元南向接口支持多种形式的接口协议,提供对网元的管理功能;配置管理单元负责监控和管理网元的配置情况。
图2为根据本公开实施例的网元模拟侧的装置结构图,如图2所示,本公开提出的网元模拟侧包括网元代理单元和网元模拟应用单元。网元代理单元用于通过与网管代理单元已建立的链路接收网管代 理单元发送的测试消息,并触发网元模拟应用单元响应该测试消息,通过所述链路向网管代理单元发送测试响应。需要说明的是,在本公开的实施例中,在对网管服务器进行测试之前,网络管理员需要在网管侧服务器的输入界面针对环境变量这一网管参数输入网元代理单元的身份信息,以触发网管代理单元和网元代理单元建立基于TCP/IP的链路。链路建立之后,对网管服务器进行测试时,也需要网络管理员在网管侧服务器的输入界面针对环境变量这一网管参数输入虚拟网元的身份信息,以触发网管代理单元根据当前需要触发测试。所述网元代理单元的身份信息具体可以是网元代理单元的IP地址和端口,虚拟网元的身份信息具体可以是虚拟网元的IP地址和端口。
通过网管代理单元和网元代理单元已建立的链路,网管侧的环境变量中输入了虚拟网元的身份信息后,具体地,图3为根据本公开实施例的网管侧与网元模拟侧进行交互的示意图,如图3所示,网管代理单元会发送测试消息给网元代理单元,即图3中所示的A过程;网元代理单元在收到测试消息后,触发网元模拟应用单元响应测试消息,即图3中所示的B过程;当网元模拟应用单元响应测试消息后,会将测试响应发送给网元代理单元,即图3中所示的C过程;最后,网元代理单元将测试响应转发给网管代理单元,即图3中所示的D过程。同时,网元模拟应用单元在监测到虚拟网元的配置数据发生变化时,也会主动上报数据配置变更报文给网元代理单元,并通过网元代理单元将配置数据变更报文转发给网管代理单元,即图3中所示的C过程和D过程。
以上网管侧和网元模拟侧在已建立的链路上进行交互的过程中,网元代理单元可接收网管代理单元发送的对多个不同虚拟网元的测试消息,并在网元模拟应用单元中实现不同虚拟网元的测试应用,而该多个虚拟网元和网管代理单元的交互均是在已经建立好的链路上执行的,网管代理单元并不需要和每个虚拟网元都建立基于TCP/IP的链路。因此,在本公开的实施例中,虚拟网元的身份信息只是用来对应一个虚拟网元,从而对该虚拟网元予以标识,各虚拟网元与网管 代理单元之间的交互均可以通过已建立好的链路进行,虚拟网元的身份信息可以任意配置。
基于以上,本公开实施例的基本思想是:在网管代理单元和网元代理单元已建立好链路后,基于该链路来实现网管侧和网元模拟侧的交互,以此来实现大量虚拟网元与网管侧的交互。
在本申请实施例中,网管侧对虚拟网元的管理涉及网管代理单元、网元代理单元、网元模拟应用单元,还可涉及到网管侧的南向接口、网管配置单元。
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。
本公开实施例提供一种网元管理方法,应用于网管代理单元中,图4为根据本公开实施例的一种网元管理方法的流程示意图,如图4所示,在本公开的实施例中,应用于网管代理单元的网元管理方法可以包括以下步骤:步骤S401-S402。
在步骤S401,接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向网元代理单元发送测试消息,测试消息中携带有虚拟网元的身份信息。
在本公开的实施例中,当网络管理员在网管侧服务器的输入界面针对环境变量这一网管参数输入虚拟网元的身份信息时,会触发网管代理单元通过与网元代理单元已建立的链路向网元代理单元发送测试消息,测试消息中携带有虚拟网元的身份信息。
需要说明的是,在本公开的实施例中,网管代理单元向网元代理单元发送测试消息是建立在网管代理单元和网元代理单元已建立好的链路基础上实现的,虚拟网元的身份信息只是用来标识虚拟网元,并不用于真实的链路建立。在网络管理员需要对网管服务器的压力进行测试时,需要事先在网管侧配置虚拟网元的身份信息,以此标识网元模拟侧的虚拟网元,即承载于网元模拟应用单元的虚拟网元。
在本公开的实施例中,网管代理单元和网元代理单元之间的链路只需建立一次即可。具体地,当接收到输入的网元代理单元的身份信息,网管代理单元向网元代理单元的身份信息标识的网元代理单元 发送建链请求,网管代理单元与网元代理单元进行三次握手完成链路建立过程,即网管代理单元和网元代理单元可基于TCP/IP建立链路。当网管代理单元在一定时间内没有收到网元代理单元发送的心跳报文后,说明网元代理单元和网管代理单元之间的链路已经断开,此时,需要重新执行链路建立过程。
在确保链路建立好的基础上,网管代理单元就可和网元模拟侧基于现有协议来交互测试消息了。现有协议可以是网络配置协议(Network Configuration Protocol,NETCONF)或简单网络管理协议(Simple Network Management Protocol,SNMP),在本公开的实施例中,以NETCONF为例进行说明,NETCONF中包括能力协商消息和配置数据查询消息。
示例性的,网管代理单元需要进行能力协商的测试时,网管代理单元需要和虚拟网元建立会话,通过会话的建立来交互双方的能力,此时,测试消息为能力协商消息,网管代理单元和网元模拟侧进行能力协商之后,即完成了网管侧和虚拟网元之间会话的建立。当网管代理单元需要对查询配置数据进行测试时,此时,测试消息为配置数据查询消息,网管代理单元在收到数据配置响应后,会将数据配置响应转发给网管侧的网管配置单元,以便网管配置单元对数据配置进行后续操作,如对配置数据进行修改、删除等操作。
在步骤S402,通过链路接收网元代理单元转发的网元模拟应用单元响应测试消息的测试响应,网元模拟应用单元用于承载虚拟网元的身份信息标识的虚拟网元。
在本公开的实施例中,网管代理单元基于和网元代理单元已建立好的链路接收网元代理单元转发的网元模拟应用单元响应测试消息的测试响应。
需要说明的是,在本公开的实施例中,网元模拟应用单元用于承载虚拟网元的身份信息标识的虚拟网元,网管代理单元对虚拟网元的控制,是通过发送相应的测试消息来实现的,而发送的测试消息,均通过网元模拟应用单元来实现反馈。
当网管代理单元需要进行能力协商的测试时,会发送能力协商 消息给网元代理单元,网管代理单元在发送能力协商消息后,会接收到网元模拟侧的反馈,具体地:网管代理单元通过链路接收网元代理单元转发的网元模拟应用单元响应能力协商消息的能力协商响应,能力协商响应携带有虚拟网元的能力信息,虚拟网元的能力信息为网元模拟应用单元收到能力协商消息后通过能力协商所确定的。
当网管代理单元需要对查询配置数据进行测试时,会发送配置数据查询消息给网元代理单元,网管代理单元在发送配置数据查询消息后,会接收到网元模拟侧的反馈,具体地:网管代理单元通过链路接收网元代理单元转发的网元模拟应用单元响应所述配置数据查询消息的数据配置响应,数据配置响应携带有虚拟网元的配置数据,配置数据为网元模拟应用单元收到配置数据查询消息后查询得到的。
在本公开的实施例中,当网络管理员设置好虚拟网元的配置数据之后,可能还会重新设置虚拟网元的配置数据。当网络管理员重新设置了原有配置数据后,网元模拟应用单元会监测到虚拟网元的配置数据发生变更,此时,网元模拟应用单元会主动上报携带有更改后的、对应于虚拟网元的配置数据的数据配置变更报文给网元代理单元,网管代理单元会同步接收到网元代理单元转发的数据配置变更报文,并将该报文转发给网管配置单元,以便网管配置单元对存储的配置数据做调整。
可以理解的是,在本公开的实施例中,当网管侧配置虚拟网元的身份信息时,会触发网管代理单元能根据与网元代理单元已建立的链路和虚拟网元进行交互,通过建立的链路传输测试消息,而不需要与每个虚拟网元分别去建立链路,从而实现了基于一个真实的身份信息、即网元代理单元的身份信息来与网元模拟侧进行信息交互,虚拟网元的身份信息可在网管侧随意配置。
本公开实施例提供一种网元管理方法,应用于网元代理单元中,图5为根据本公开实施例的一种网元管理方法的另一流程示意图,如图5所示,在本公开的实施例中,应用于网元代理单元的网元管理方法可以包括以下步骤:步骤S501-S504。
在步骤S501,通过与网管代理单元已建立的链路接收网管代理 单元发送的测试消息,测试消息中携带有虚拟网元的身份信息。
在本公开的实施例中,网元代理单元与网管代理单元基于已建立的链路接收网管代理单元发送的测试消息,测试消息中携带有虚拟网元的身份信息。
需要说明的是,在本公开的实施例中,网元代理单元接收网管代理单元发送的测试消息是建立在网管代理单元和网元代理单元已建立好的链路基础上实现的,虚拟网元的身份信息只是用来标识虚拟网元,并不用于真实的链路建立。在网络管理员需要对网管服务器的压力进行测试时,需要事先在网管侧配置虚拟网元的身份信息。
在本公开的实施例中,网管代理单元和网元代理单元之间的链路只需建立一次即可。具体地,网元代理单元接收网管代理单元发送的建链请求后,网元代理单元与网管代理单元进行三次握手完成网络链路建立过程,即网元代理单元和网管代理单元基于TCP/IP建立链路。当网元代理单元在一定时间内没有收到网管代理单元发送的心跳报文后,说明网管代理单元和网元代理单元之间的链路已经断开,此时,需要重新执行链路建立过程。
在步骤S502,触发网元模拟应用单元响应测试消息。
在本公开的实施例中,在链路建立好后,网元代理单元在收到网管代理单元发送的测试消息后就可触发网元模拟应用单元响应测试消息了。
具体地,网元代理单元解析测试消息,获取虚拟网元的身份信息,并将虚拟网元的身份信息映射成唯一标识,该唯一标识用于在网元模拟应用单元中标识虚拟网元,当映射完成后,网元代理单元将唯一标识和测试消息中的测试内容发送给网元模拟应用单元,由网元模拟应用单元来响应测试内容。
在确保链路建立好的基础上,网元模拟侧就可和网管代理单元基于现有协议来交互测试消息了。现有协议,可以是NETCONF或SNMP。在本公开的实施例中,以NETCONF为例进行说明,NETCONF中包括能力协商消息和配置数据查询消息。
当网管代理单元需要进行能力协商的测试时,网元代理单元会 接收网管代理单元发送的能力协商消息;当网管代理单元需要对查询配置数据进行测试时,网元代理单元会接收网管代理单元发送的配置数据查询消息。具体地:当网元模拟侧的网元代理单元接收到测试消息后,会解析出测试消息中的用于标识虚拟网元的身份信息,并将虚拟网元的身份信息映射成在网元模拟应用单元中标识虚拟网元的唯一标识,随后网元代理单元将唯一标识和测试内容发送给网元模拟应用单元。
在步骤S503,接收网元模拟应用单元响应测试消息的测试响应,测试响应为承载虚拟网元的身份信息标识的虚拟网元的网元模拟应用单元发出的。
在本公开的实施例中,网元代理单元在将唯一标识和测试内容发送给网元模拟应用单元后,会收到网元模拟应用单元响应测试消息的测试响应。需要说明的是,在本公开的实施例中,网元模拟应用单元用于承载虚拟网元的身份信息标识的虚拟网元,即虚拟网元的功能依托网元模拟应用单元来模拟实现。
具体地,当测试内容表征为进行能力协商的测试时,网元代理单元接收网元模拟应用单元响应能力协商消息的能力协商响应,能力协商响应携带有虚拟网元的能力信息,虚拟网元的能力信息为网元模拟应用单元收到能力协商消息后通过能力协商所确定的。
当测试内容表征为进行配置数据查询的测试时,网元代理单元接收网元模拟应用单元响应配置数据查询消息的数据配置响应,数据配置响应携带有虚拟网元的配置数据,配置数据为网元模拟应用单元收到配置数据查询消息后查询得到的。
在步骤S504,通过链路转发测试响应给网管代理单元。
在本公开的实施例中,网元代理单元收到网元模拟应用单元的测试响应后,会通过链路转发测试响应给网管代理单元。
示例性的,当测试消息为能力协商消息时,网管代理单元和网元模拟侧进行能力协商之后,即完成了网管代理单元和虚拟网元的会话建立;当测试消息为配置数据查询消息时,网元代理单元在收到网元模拟应用单元反馈的数据配置响应后,会通过网管代理单元和网元 代理单元之间的链路将数据配置响应转发给网管代理单元,随后网管代理单元再将数据配置响应转发给网管侧的网管配置单元,以便网管配置单元对数据配置进行后续操作,如修改、删除等操作。
在本公开的实施例中,当网络管理员设置好虚拟网元的配置数据之后,可能还会重新设置虚拟网元的配置数据。当网络管理员重新设置了原有配置数据后,网元模拟应用单元会监测到虚拟网元的配置数据发生变更,此时,网元代理单元会接收网元模拟应用单元主动上报的数据配置变更报文,数据配置变更报文携带有更改后的、对应于虚拟网元的配置数据,其设置为网管配置单元根据配置数据调整存储的配置数据。
可以理解的是,在本公开的实施例中,网元代理单元用于和网管代理单元建立链路,并在已建立的链路上来进行网管代理单元和虚拟网元的测试消息交互,而不需要每个虚拟网元分别与网管代理单元去建立链路,从而实现了基于一个真实的身份信息,即网元代理单元的身份信息来与网管侧进行测试消息交互,虚拟网元的身份信息可随意配置。
本公开实施例提供了一种网元管理方法,应用于网管代理单元、网元代理单元中。当网管代理单元和网元代理单元间的链路建立好之后,网管代理单元通过与网元代理单元已建立的链路向网元代理单元发送测试消息,所述测试消息中携带有虚拟网元的身份信息;网元代理单元基于收到的测试消息,触发网元模拟应用单元响应测试消息;随后,网元代理单元接收网元模拟应用单元的测试响应,并将测试响应基于链路转发给网管侧的网管代理单元。
图6为根据本公开实施例的一种网元管理方法的交互流程图,如图6所示,在本公开的实施例中,网管代理单元、网元代理单元的交互过程可以包括以下步骤:步骤S601-S604。
在步骤S601,网管代理单元通过与网元代理单元已建立的链路向网元代理单元发送测试消息。
在本公开的实施例中,当网络管理员在网管侧服务器的输入界面针对环境变量这一网管参数输入了虚拟网元的身份信息时,在链路 建立好的基础上,网管代理单元就可通过该链路给网元代理单元发送测试消息了。需要说明的是,该测试消息中携带有虚拟网元的身份信息。
在步骤S602,网元代理单元通过与网管代理单元已建立的链路接收到网管代理单元发送的测试消息,触发网元模拟应用单元响应测试消息。
具体地,网元代理单元解析接收到的测试消息,获取虚拟网元的身份信息,并将虚拟网元的身份信息映射成唯一标识,该唯一标识用于在网元模拟应用单元中标识虚拟网元,当映射完成后,网元代理单元将唯一标识和测试消息中的测试内容发送给网元模拟应用单元,由网元模拟应用单元来响应测试内容。
在步骤S603,网元代理单元接收网元模拟应用单元响应测试消息的测试响应。
在本公开的实施例中,网元代理单元在发送测试内容和唯一标识给网元模拟应用单元后,会接收网元模拟应用单元反馈测试消息的测试响应。
在步骤S604,网元代理单元通过与网管代理单元已建立的链路将测试响应转发给网管侧的网管代理单元。
在本公开的实施例中,网元代理单元在接收到网元模拟应用单元的测试响应后,会通过已和网管代理单元建立的链路上将测试响应转发给网管代理单元,以此实现对网管服务器的测试。
图7为根据本公开实施例的一种网元管理方法的另一交互流程图,如图7所示,示例性的,在本公开的实施例中,网络管理员通过在网管侧服务器的输入界面针对环境变量这一网管参数输入网元代理单元的身份信息,触发网管代理单元和网元代理单元建立基于TCP/IP的链路。链路建立之后,网络管理员针对环境变量这一网管参数输入虚拟网元的身份信息,触发网管代理单元来根据当前需要触发测试。以NETCONF的能力协商消息为例进行说明,网管侧是网络配置的客户端Netconf Client,网元模拟侧是网络配置的服务端Netconf Server。网管代理单元、网元代理单元以及网元模拟应用单 元建立连接的交互过程可以包括如下步骤:步骤S701-S706。
在步骤S701,网管代理单元通过与网元代理单元已建立好的链路发送含有虚拟网元的身份信息的能力协商消息给网元代理单元。
示例性的,在本公开的实施例中,Netconf Client是基于opendaylight的Netconf项目实现的,在其中增加了一种代理方式,即网管代理单元,可将所有Netconf Client中原来由南向接口发出的测试消息,都通过网管代理单元来发送,且网管代理单元将测试消息发送到网元代理单元。
具体地,在本公开的实施例中,网元代理单元是一个基于Netty的Socket代理服务器。若网管侧的环境变量中配置有网元代理单元的身份信息,如Socket代理的IP地址和端口,当网管侧的环境变量中配置了虚拟网元的身份信息后,则原来由南向接口发出的能力协商消息,会通过网管代理单元发送给Socket代理所在的IP地址和端口,并在能力协商消息中附带虚拟网元的身份信息,如虚拟网元的IP地址和端口;若没有配置Socket代理的IP地址和端口,则会由南向接口直接向真实网元发送能力协商消息。
在步骤S702,网元代理单元接收到能力协商消息后,解析能力协商消息,获取虚拟网元的身份标识信信息,并将虚拟网元的身份信息映射成唯一标识。
示例性的,在本公开的实施例中,网元代理单元在收到能力协商消息后,会解析能力协商消息来获取虚拟网元的IP地址和端口,并将虚拟网元的IP地址和端口映射成唯一标识,该唯一标识用来在网元模拟应用单元中标识虚拟网元。
在步骤S703,网元代理单元将能力协商消息中的能力协商内容和唯一标识给网元模拟应用单元。
需要说明的是,在NETCONF中,能力协商的过程是通过交换hello消息来实现的。
在步骤S704,网元模拟应用单元根据NETCONF构造能力协商内容的能力协商响应。
在本公开的实施例中,网元模拟应用单元在收到网元代理单元 发送的能力协商内容和唯一标识后,会响应能力协商内容。具体地,网元模拟应用单元会构造一个包含唯一标识所表征的虚拟网元的能力集列表<hello>元素。
在步骤S705,网元模拟应用单元将能力协商响应发送给网元代理单元。
具体地,网元模拟应用单元将能力集列表<hello>元素发送给网元代理单元。
在步骤S706,网元代理单元将能力协商响应通过事先建立的链路转发给网管代理单元。
具体地,网元代理单元将能力集列表<hello>元素通过已建立的链路转发给网代理单元。
示例性的,在本公开的实施例中,会由网元代理单元,即Socket代理服务器和网管代理单元基于已建立的链路来交互NETCONF规定的能力协商消息,并转发能力协商响应给网管代理单元来通知虚拟网元的能力。
在本公开的实施例中,通过上述S701-S706,基于网管代理单元和网元代理单元已建立的链路,来完成网管代理单元和虚拟网元的能力协商。网管代理单元和不同虚拟网元本质上并不需要建立相应数量的链路,网管代理单元无论和多少虚拟网元通信,只需要在网管代理单元和网元代理单元的链路上通信即可。示例性的,如网管代理单元和网元模拟侧的网元代理单元及网元模拟应用单元基于链路建立相应数量的线程,来实现大量虚拟网元的模拟,其中的一个线程,就代表了一个虚拟网元。在网元模拟侧,虚拟网元的身份信息只是用来标识虚拟网元,并不用于真实的链路建立,因此,虚拟网元的身份信息可以随意配置。
图8为根据本公开实施例的一种虚拟网元创建的示意图,如图8所示,在网络管理员在网管侧服务器的输入界面针对环境变量这一网管参数输入网元代理单元的身份信息后,网管侧和网元模拟侧就可通过网管代理单元和网元代理单元来建立链路了,在链路建立的基础上,在需要对网管服务器进行测试时,通过网络管理员在环境变量中输入 虚拟网元的身份信息,网管代理单元和网元代理单元即可通过网元代理单元的身份信息,如NETCONF规定的830端口来构造网元1至网元N,以此来模拟大量网元,并基于网元模拟应用单元来实现对虚拟网元的测试模拟。网元1至网元N和网管侧的交互,均是在同一个链路上执行,网元1至网元N的身份信息,只是用来对应一个虚拟网元,从而对该虚拟网元予以标识。
图9为根据本公开实施例的一种网元管理方法的另一交互流程图,与图7的实施例中相同的原理,如图9所示,示例性的,在本公开的实施例中,以NETCONF中的配置数据查询消息为例进行说明,网管配置单元、网管代理单元、网元代理单元以及网元模拟应用单元建立连接的交互过程可以包括如下步骤:步骤S901-S908。
在步骤S901,网管代理单元通过与网元代理单元已建立好的链路发送携带有虚拟网元身份信息的配置数据查询消息给网元代理单元。
在本公开的实施例中,网元代理单元是一个基于Netty的Socket代理服务器。若网管侧的环境变量中配置有网元代理单元的身份信息,如Socket代理的IP地址和端口,当网管侧的环境变量中配置了虚拟网元的身份信息后,则原来由南向接口发出的配置数据查询消息,会通过网管代理单元发送给Socket代理所在的IP地址和端口,并在配置数据查询消息中附带虚拟网元的身份信息,如虚拟网元的IP地址和端口;若没有配置Socket代理的IP地址和端口,则会由南向接口直接向真实网元发送配置数据查询消息。
示例性的,在NETCONF中,配置数据查询消息是通过网管代理单元发送get-config消息给网元代理单元的。
在步骤S902,网元代理单元接收到配置数据查询消息后,解析配置数据查询消息,获取虚拟网元的身份信息,并将虚拟网元的身份信息映射成唯一标识。
示例性的,在本公开的实施例中,网元代理单元在收到配置数据查询消息后,会解析配置数据查询消息来获取虚拟网元的IP地址和端口,并将虚拟网元的IP地址和端口映射成唯一标识,该唯一标 识用来在网元模拟应用单元中标识虚拟网元。
在步骤S903,网元代理单元将配置数据查询消息中的配置数据查询内容和唯一标识给网元模拟应用单元。
在步骤S904,网元模拟应用单元根据NETCONF构造配置数据查询内容的数据配置响应。
在本公开的实施例中,网元模拟应用单元在收到网元代理单元发送的配置数据查询内容和唯一标识后,会查询虚拟网元的身份信息所标识的虚拟网元的数据配置。
在步骤S905,网元模拟应用单元将数据配置响应发送给网元代理单元。
在本公开的实施例中,网元模拟应用单元将虚拟网元的身份信息所标识的虚拟网元的数据配置发送给网元代理单元。
在步骤S906,网元代理单元将数据配置响应通过已建立好的链路转发给网管代理单元。
在本公开的实施例中,网元代理单元将虚拟网元的身份信息所标识的虚拟网元的数据配置通过已建立好的链路转发给网管代理单元。
在步骤S907,网管代理单元将数据配置响应转发给网管中的网管配置单元。
在步骤S908,网管配置单元处理数据配置响应。
示例性地,如网管配置单元对虚拟网元的配置数据进行修改。
在图9所示的网管代理单元和网元代理单元之间处理配置数据查询消息的基础上,图10为根据本公开实施例的一种网元模拟应用单元主动上报数据配置变更报文的交互流程图,如图10所示,示例性的,在本公开的实施例中,网管侧和网元模拟侧的交互过程还可以包括以下步骤:步骤S1001-S1005。
在步骤S1001,网元模拟应用单元构造数据配置变更报文。
具体地,在本公开的实施例中,当网络管理员设置好虚拟网元的配置数据之后,可能还会重新设置虚拟网元的配置数据。当网络管理员重新设置了原有配置数据后,网元模拟应用单元会监测到虚拟网 元的配置数据发生变更,此时,网元模拟应用单元会构造数据配置变更报文。
在步骤S1002,网元模拟应用单元将构造好的数据配置变更报文发送给网元代理单元。
具体地,网元模拟应用单元将携带有更改后的、对应于虚拟网元的配置数据的数据配置变更报文发送给网元代理单元。
在步骤S1003,网元代理单元将数据配置变更报文通过已建立好的链路转发给网管代理单元。
在本公开的实施例中,网元代理单元根据和网管代理单元已建立好的链路上,将数据配置变更报文发送给网管代理单元。
在步骤S1004,网管代理单元将数据配置变更报文转发给网管配置单元。
在步骤S1005,网管配置单元处理收到的数据配置变更报文。
在图9和图10所示的实施例中,网管代理单元会基于和网元代理单元间已建立的链路获取到虚拟网元的数据配置情况,即实现网管侧对虚拟网元的管理,而其中的虚拟网元通过在已建立的链路上和网管侧进行测试交互,因此虚拟网元的身份信息可以任意配置。
本公开实施例提供一种网管代理装置,图11为根据本公开实施例的一种网管代理装置的结构示意图,如图11所示,所述网管代理装置100包括:第一发送单元101和第一接收单元102。
所述第一发送单元101设置为接收到输入的虚拟网元的身份信息,通过与网元代理装置已建立的链路向所述网元代理装置发送测试消息,所述测试消息中携带有虚拟网元的身份信息。
所述第一接收单元102设置为通过所述链路接收所述网元代理装置转发的网元模拟应用装置响应所述测试消息的测试响应,所述网元模拟应用装置用于承载所述虚拟网元的身份信息标识的虚拟网元。
在其他实施例中,所述第一发送单元101还设置为在向网元代理装置转发测试消息之前,接收到输入的网元代理装置的身份信息,向所述网元代理单元的身份信息标识的网元代理装置发送建链请求;所述第一接收单元102还设置为基于所述建链请求与所述网元代理 装置进行握手完成所述链路的建立。
在其他实施例中,在所述测试消息为能力协商消息的情况下,所述第一接收单元102还设置为通过所述链路接收所述网元代理装置转发的网元模拟应用装置响应所述能力协商消息的能力协商响应,所述能力协商响应携带有所述虚拟网元的能力信息,所述虚拟网元的能力信息为所述网元模拟应用装置收到所述能力协商消息后通过能力协商所确定的。
在其他实施例中,在所述测试消息为配置数据查询消息的情况下,所述第一接收单元102还设置为通过所述链路接收所述网元代理装置转发的网元模拟应用单元响应所述配置数据查询消息的数据配置响应,所述数据配置响应携带有所述虚拟网元的配置数据,所述配置数据为所述网元模拟应用装置收到所述配置数据查询消息后查询得到的。
在其他实施例中,所述第一接收单元102还设置为通过所述链路接收所述网元代理装置转发的数据配置变更报文,所述数据配置变更报文携带有更改后的、对应于虚拟网元的配置数据;所述第一发送单元还设置为转发所述数据配置变更报文给网管配置装置;其中,所述数据配置变更报文由所述网元模拟应用装置主动上报,其设置为所述网管配置装置根据所述配置数据调整存储的配置数据。
需要说明的是:上述实施例提供的网管代理装置在进行网元管理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的网管代理装置与网元管理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
对应的,本公开实施例还提供一种网管代理装置,图12为根据本公开实施例的一种网管代理装置的另一结构示意图,如图12所示,该网管代理装置500包括:至少一个第一处理器501、存储有第一处理器501可执行指令的第一存储器502、第一用户接口503、第一网络接口504,和用于连接第一处理501、第一存储器502以及第一用 户接口503、第一网络接口504的第一总线505。网管代理装置500中的各个组件通过第一总线505耦合在一起。可理解,第一总线505用于实现这些组件之间的连接通信。第一总线505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为第一总线505。
第一用户接口503和第一网络接口504用于接收和发送数据,第一处理器501用于执行第一存储器502中存储的计算机程序,以实现结合各实施例描述的网元管理方法。
在实际应用中,第一用户接口503可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。
可以理解,第一存储器502可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM, SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的第一存储器502旨在包括但不限于这些和任意其它适合类型的存储器。
本公开实施例中的第一存储器502用于存储各种类型的数据以支持网管代理装置500的操作。这些数据的示例包括:用于在网管代理装置500上操作的任何计算机程序,如操作系统5021和应用程序5022。操作系统5021包含各种系统程序,例如框架层、核心库层、驱动层等,其设置为实现各种基础业务以及处理基于硬件的任务。应用程序5022可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,其设置为实现各种应用业务。实现本公开实施例方法的程序可以包含在应用程序5022中。
上述本公开实施例揭示的方法可以应用于第一处理器501中,或者由第一处理器501实现。第一处理器501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过第一处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的第一处理器501可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。第一处理器501可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器502,第一处理器501读取第一存储器502中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,网管代理装置500可以被一个或多个设置为执行前述方法的应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate  Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现。
在示例性实施例中,本公开实施例还提供了一种计算机可读存储介质,例如包括计算机程序的第一存储器502,上述计算机程序可由网管代理装置500的第一处理器501执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。
一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,执行结合以上各实施例描述的网元管理方法。
本公开实施例提供一种网元代理装置,图13为根据本公开实施例的一种网元代理装置的结构示意图,如图13所示,所述网元代理装置200包括:第二接收单元201、触发单元202、第三接收单元203和第二发送单元204。
所述第二接收单元201,设置为通过与网管代理单元已建立的链路接收所述网管代理装置发送的测试消息,所述测试消息中携带有虚拟网元的身份信息。
所述触发单元202设置为触发网元模拟应用装置响应所述测试消息。
所述第三接收单元203,设置为接收所述网元模拟应用装置响应所述测试消息的测试响应,所述测试响应为承载所述虚拟网元的身份信息标识的虚拟网元的所述网元模拟应用装置发出的。
所述第二发送单元204设置为通过所述链路转发所述测试响应给所述网管代理装置。
在其他实施例中,如图14所示,图14为根据本公开实施例的一种网元代理装置中触发单元的结构图,所述触发单元202还可以包括:解析单元202A和映射单元202B。
所述解析单元202A设置为解析所述测试消息,获取所述虚拟网元的身份信息。
所述映射单元202B设置为根据所述虚拟网元的身份信息映射唯一标识,所述唯一标识用于在所述网元模拟应用装置中标识虚拟网元。
所述第二发送单元204还设置为发送所述唯一标识和所述测试消息中的测试内容给所述网元模拟应用装置,由所述网元模拟应用装置响应所述测试内容。
在其他实施例中,所述第二接收单元201还设置为在通过与网管代理装置已建立的链路接收所述网管代理装置发送的测试消息之前,接收网管代理装置发送的建链请求;基于所述建链请求与所述网管代理装置进行握手完成所述链路的建立。
在其他实施例中,在所述测试消息为能力协商消息的情况下,所述第三接收单元203还设置为接收所述网元模拟应用装置响应所述能力协商消息的能力协商响应,所述能力协商响应携带有所述虚拟网元的能力信息,所述虚拟网元的能力信息为所述网元模拟应用装置收到所述能力协商消息后通过能力协商所确定的。
在其他实施例中,在所述测试消息为配置数据查询消息的情况下,所述第三接收单元203还设置为接收所述网元模拟应用装置响应所述配置数据查询消息的数据配置响应,所述数据配置响应携带有所述虚拟网元的配置数据,所述配置数据为所述网元模拟应用装置收到所述配置数据查询消息后查询得到的。
在其他实施例中,所述第三接收单元203还设置为接收所述网元模拟应用装置主动上报的数据配置变更报文,所述数据配置变更报文携带有更改后的、对应于虚拟网元的配置数据,其设置为网管配置单元根据所述配置数据调整存储的配置数据。
需要说明的是:上述实施例提供的网元代理装置在模拟网元的应用时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的网元代理装置与网元管理方法的实施例属于同一构思,其具体实现过程详见上述各方法实施例,这里不再赘述。
对应的,本公开实施例还提供一种网元代理装置,图15为根据 本公开实施例的一种网元代理装置的另一结构示意图,如图15所示,该网元代理装置600包括:至少一个第二处理器601、存储有第二处理器601可执行指令的第二存储器602、第二用户接口603、第二网络接口604,和用于连接第二处理601、第二存储器602以及第二用户接口603、第二网络接口604的第二总线605。网管代理装置600中的各个组件通过第二总线605耦合在一起。可理解,第二总线605用于实现这些组件之间的连接通信。第二总线605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为第二总线605。
第二用户接口603和第二网络接口604用于接收和发送数据,第二处理器601用于执行第二存储器602中存储的计算机程序,以实现结合各实施例描述的网元管理方法。
在实际应用中,第二用户接口603可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。
可以理解,第二存储器602可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access  Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的第二存储器602旨在包括但不限于这些和任意其它适合类型的存储器。
本公开实施例中的第二存储器602用于存储各种类型的数据以支持网元代理装置600的操作。这些数据的示例包括:用于在网元代理装置600上操作的任何计算机程序,如操作系统6021和应用程序6022。操作系统6021包含各种系统程序,例如框架层、核心库层、驱动层等,其设置为实现各种基础业务以及处理基于硬件的任务。应用程序6022可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,其设置为实现各种应用业务。实现本公开实施例方法的程序可以包含在应用程序6022中。
上述本公开实施例揭示的方法可以应用于第二处理器601中,或者由第二处理器601实现。第二处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过第二处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的第二处理器601可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。第二处理器601可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器602,第二处理器601读取第二存储器602中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,网元代理装置600可以被一个或多个应用 专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,其设置为执行前述方法。
在示例性实施例中,本公开实施例还提供了一种计算机可读存储介质,例如包括计算机程序的第二存储器602,上述计算机程序可由网元代理装置600的第二处理器601执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。
所述计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器运行时,执行结合各实施例描述的网元管理方法。
本公开实施例提供一种网元管理系统,所述网元管理系统包括网管代理单元、网元代理单元和网元模拟应用单元,具体结构参见图3。
所述网管代理单元设置为接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应。
所述网元代理单元设置为通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;触发网元模拟应用单元响应所述测试消息;以及接收所述网元模拟应用单元响应所述测试消息的测试响应,通过所述链路转发所述测试响应给所述网管代理单元。
所述网元模拟应用单元设置为承载所述虚拟网元的身份信息标 识的虚拟网元,向所述网元代理单元发送响应所述测试消息的测试响应。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图中一个流程或多个流程和/或方框图中一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图中一个流程或多个流程和/或方框图中一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图中一个流程或多个流程和/或方框图中一个方框或多个方框中指定的功能的步骤。

Claims (19)

  1. 一种网元管理方法,包括:
    接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;以及
    通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应,所述网元模拟应用单元用于承载所述虚拟网元的身份信息标识的虚拟网元。
  2. 根据权利要求1所述的方法,其中,所述通过与网元代理单元已建立的链路向所述网元代理单元转发测试消息的步骤之前,还包括:
    接收到输入的网元代理单元的身份信息,向所述网元代理单元的身份信息标识的网元代理单元发送建链请求;以及
    基于所述建链请求与所述网元代理单元完成所述链路的建立。
  3. 根据权利要求1所述的方法,其中,所述测试消息为能力协商消息,
    所述通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应的步骤包括:
    通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述能力协商消息的能力协商响应,所述能力协商响应携带有所述虚拟网元的能力信息,所述虚拟网元的能力信息为所述网元模拟应用单元收到所述能力协商消息后通过能力协商所确定的。
  4. 根据权利要求1所述的方法,其中,所述测试消息为配置数据查询消息,
    所述通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应的步骤包括:
    通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述配置数据查询消息的数据配置响应,所述数据配置响应携带有所述虚拟网元的配置数据,所述配置数据为所述网元模拟应用单元收到所述配置数据查询消息后查询得到的。
  5. 根据权利要求4所述的方法,其中,在所述通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述配置数据查询消息的数据配置响应的步骤之后,还包括:
    通过所述链路接收所述网元代理单元转发的数据配置变更报文,所述数据配置变更报文携带有更改后的、对应于虚拟网元的配置数据;以及
    转发所述数据配置变更报文给网管配置单元;
    其中,所述数据配置变更报文由所述网元模拟应用单元主动上报,其设置为所述网管配置单元根据所述配置数据调整存储的配置数据。
  6. 根据权利要求1所述的方法,其中,所述网元模拟应用单元的所述测试响应对应于由所述虚拟网元的身份信息标识的虚拟网元。
  7. 一种网元管理方法,包括:
    通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;
    触发网元模拟应用单元响应所述测试消息;
    接收所述网元模拟应用单元响应所述测试消息的测试响应,所述测试响应为承载所述虚拟网元的身份信息标识的虚拟网元的所述网元模拟应用单元发出的;以及
    通过所述链路转发所述测试响应给所述网管代理单元。
  8. 根据权利要求7所述的方法,其中,所述触发网元模拟应用单元响应所述测试消息的步骤包括:
    解析所述测试消息,获取所述虚拟网元的身份信息;
    根据所述虚拟网元的身份信息映射唯一标识,所述唯一标识用于在所述网元模拟应用单元中标识虚拟网元;以及
    发送所述唯一标识和所述测试消息中的测试内容给所述网元模拟应用单元,由所述网元模拟应用单元响应所述测试内容。
  9. 根据权利要求7所述的方法,其中,所述通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息的步骤之前,还包括:
    接收网管代理单元发送的建链请求;以及
    基于所述建链请求与所述网管代理单元完成所述链路的建立。
  10. 根据权利要求7所述的方法,其中,所述测试消息为能力协商消息,
    所述接收所述网元模拟应用单元响应所述测试消息的测试响应的步骤包括:
    接收所述网元模拟应用单元响应所述能力协商消息的能力协商响应,所述能力协商响应携带有所述虚拟网元的能力信息,所述虚拟网元的能力信息为所述网元模拟应用单元收到所述能力协商消息后通过能力协商所确定的。
  11. 根据权利要求7所述的方法,其中,所述测试消息为配置数据查询消息,
    所述接收所述网元模拟应用单元响应所述测试消息的测试响应的步骤包括:
    接收所述网元模拟应用单元响应所述配置数据查询消息的数据配置响应,所述数据配置响应携带有所述虚拟网元的配置数据,所述配置数据为所述网元模拟应用单元收到所述配置数据查询消息后查询得到的。
  12. 根据权利要求11所述的方法,其中,在所述接收所述网元模拟应用单元响应所述配置数据查询消息的数据配置响应的步骤之后,还包括:
    接收所述网元模拟应用单元主动上报的数据配置变更报文,所述数据配置变更报文携带有更改后的、对应于虚拟网元的配置数据,其设置为网管配置单元根据所述配置数据调整存储的配置数据。
  13. 根据权利要求7所述的方法,其中,所述网元模拟应用单元的所述测试响应对应于由所述虚拟网元的身份信息标识的虚拟网元。
  14. 一种网管代理装置,包括:
    第一发送单元,其设置为接收到输入的虚拟网元的身份信息,通过与网元代理装置已建立的链路向所述网元代理装置发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;以及
    第一接收单元,其设置为通过所述链路接收所述网元代理装置转发的网元模拟应用装置响应所述测试消息的测试响应,所述网元模拟应用装置用于承载所述虚拟网元的身份信息标识的虚拟网元。
  15. 一种网元代理装置,其中,所述网元代理装置包括:
    第二接收单元,其设置为通过与网管代理单元已建立的链路接收所述网管代理装置发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;
    触发单元,其设置为触发网元模拟应用装置响应所述测试消息;
    第三接收单元,其设置为接收所述网元模拟应用装置响应所述测试消息的测试响应,所述测试响应为承载所述虚拟网元的身份信息标识的虚拟网元的所述网元模拟应用装置发出的;以及
    第二发送单元,其设置为通过所述链路转发所述测试响应给所述网管代理装置。
  16. 一种网元管理系统,其中,所述网元管理系统包括:
    网管代理单元,其设置为接收到输入的虚拟网元的身份信息,通过与网元代理单元已建立的链路向所述网元代理单元发送测试消息,所述测试消息中携带有所述虚拟网元的身份信息;通过所述链路接收所述网元代理单元转发的网元模拟应用单元响应所述测试消息的测试响应;
    网元代理单元,其设置为通过与网管代理单元已建立的链路接收所述网管代理单元发送的测试消息,所述测试消息中携带有虚拟网元的身份信息;触发网元模拟应用单元响应所述测试消息;接收所述网元模拟应用单元响应所述测试消息的测试响应,通过所述链路转发所述测试响应给所述网管代理单元;以及
    网元模拟应用单元,其设置为承载所述虚拟网元的身份信息标识的虚拟网元,向所述网元代理单元发送响应所述测试消息的测试响应。
  17. 一种网管代理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
    其中,所述处理器用于运行所述计算机程序时,执行权利要求1至5任一项所述方法的步骤。
  18. 一种网元代理装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
    其中,所述处理器用于运行所述计算机程序时,执行权利要求6至11中任一项所述的方法。
  19. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被第一处理器执行时使得所述第一处理器实现权利要求1至6中任一项所述的方法;
    或者,被第二处理器执行时使得所述第二处理器实现权利要求7至13中任一项所述的方法。
PCT/CN2019/104213 2018-09-03 2019-09-03 网元管理方法、装置、系统及存储介质 WO2020048453A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811023520.9 2018-09-03
CN201811023520.9A CN110875840B (zh) 2018-09-03 2018-09-03 一种网元管理方法、装置、系统及存储介质

Publications (1)

Publication Number Publication Date
WO2020048453A1 true WO2020048453A1 (zh) 2020-03-12

Family

ID=69716024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104213 WO2020048453A1 (zh) 2018-09-03 2019-09-03 网元管理方法、装置、系统及存储介质

Country Status (2)

Country Link
CN (1) CN110875840B (zh)
WO (1) WO2020048453A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934942A (zh) * 2020-06-28 2020-11-13 珠海世纪鼎利科技股份有限公司 网络性能测试方法、系统、装置、设备和存储介质
CN112054922A (zh) * 2020-08-10 2020-12-08 烽火通信科技股份有限公司 网管升级方法、装置、设备及可读存储介质
CN112769901A (zh) * 2020-12-23 2021-05-07 交控科技股份有限公司 一种轨道交通信号设备通信交互方法及系统
CN114124727A (zh) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 一种网管通信压力测试方法及系统
CN114745258A (zh) * 2020-12-23 2022-07-12 中移(苏州)软件技术有限公司 网元功能体的生成方法、装置、设备及存储介质
CN116501559A (zh) * 2023-04-18 2023-07-28 杭州指令集智能科技有限公司 基于Netty实现分布式HTTP接口性能测试方法
CN117008999A (zh) * 2023-08-16 2023-11-07 中科驭数(北京)科技有限公司 一种数据处理器中片上系统与主机配置同步方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543473B (zh) * 2020-12-29 2022-09-06 中国移动通信集团江苏有限公司 基于网元仿真的测试方法、装置、设备及计算机存储介质
CN116055353B (zh) * 2023-01-28 2023-06-30 中国信息通信研究院 通信网元技术接口性能的测试装置、测试方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796302A (zh) * 2015-04-17 2015-07-22 大唐移动通信设备有限公司 一种模拟网元的测试方法和系统
CN105245379A (zh) * 2015-10-22 2016-01-13 上海斐讯数据通信技术有限公司 一种模拟snmp网元进行网管系统测试方法及装置
WO2016131328A1 (zh) * 2015-08-03 2016-08-25 中兴通讯股份有限公司 一种基于网元模拟器的测试方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407664C (zh) * 2005-01-13 2008-07-30 中兴通讯股份有限公司 一种多网元仿真测试系统及实现方法
US8625421B2 (en) * 2012-02-03 2014-01-07 Telefonaktiebolaget L M Ericsson (Publ) DAD-NS triggered address resolution for DoS attack protection
CN105391601B (zh) * 2015-12-09 2018-08-07 瑞斯康达科技发展股份有限公司 一种网管设备的性能测试方法及系统
CN108737134A (zh) * 2017-04-19 2018-11-02 中兴通讯股份有限公司 一种模拟网元测试方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796302A (zh) * 2015-04-17 2015-07-22 大唐移动通信设备有限公司 一种模拟网元的测试方法和系统
WO2016131328A1 (zh) * 2015-08-03 2016-08-25 中兴通讯股份有限公司 一种基于网元模拟器的测试方法及装置
CN105245379A (zh) * 2015-10-22 2016-01-13 上海斐讯数据通信技术有限公司 一种模拟snmp网元进行网管系统测试方法及装置

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934942A (zh) * 2020-06-28 2020-11-13 珠海世纪鼎利科技股份有限公司 网络性能测试方法、系统、装置、设备和存储介质
CN112054922A (zh) * 2020-08-10 2020-12-08 烽火通信科技股份有限公司 网管升级方法、装置、设备及可读存储介质
CN112054922B (zh) * 2020-08-10 2022-07-29 烽火通信科技股份有限公司 网管升级方法、装置、设备及可读存储介质
CN114745258B (zh) * 2020-12-23 2023-09-05 中移(苏州)软件技术有限公司 网元功能体的生成方法、装置、设备及存储介质
CN112769901A (zh) * 2020-12-23 2021-05-07 交控科技股份有限公司 一种轨道交通信号设备通信交互方法及系统
CN114745258A (zh) * 2020-12-23 2022-07-12 中移(苏州)软件技术有限公司 网元功能体的生成方法、装置、设备及存储介质
CN112769901B (zh) * 2020-12-23 2023-02-28 交控科技股份有限公司 一种轨道交通信号设备通信交互方法及系统
CN114124727A (zh) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 一种网管通信压力测试方法及系统
CN114124727B (zh) * 2021-11-08 2023-10-31 中信科移动通信技术股份有限公司 一种网管通信压力测试方法及系统
CN116501559A (zh) * 2023-04-18 2023-07-28 杭州指令集智能科技有限公司 基于Netty实现分布式HTTP接口性能测试方法
CN116501559B (zh) * 2023-04-18 2024-04-26 杭州指令集智能科技有限公司 基于Netty实现分布式HTTP接口性能测试方法
CN117008999A (zh) * 2023-08-16 2023-11-07 中科驭数(北京)科技有限公司 一种数据处理器中片上系统与主机配置同步方法及装置
CN117008999B (zh) * 2023-08-16 2024-10-18 中科驭数(北京)科技有限公司 一种数据处理器中片上系统与主机配置同步方法及装置

Also Published As

Publication number Publication date
CN110875840A (zh) 2020-03-10
CN110875840B (zh) 2021-10-15

Similar Documents

Publication Publication Date Title
WO2020048453A1 (zh) 网元管理方法、装置、系统及存储介质
JP5937724B2 (ja) ネットワーク複製のための技法
US9525598B1 (en) Network testing device for automated topology validation
WO2019041930A1 (zh) 巡检方法、装置、系统、计算机设备和存储介质
CN105915529B (zh) 一种报文生成方法及装置
CN104579822A (zh) 基于Http协议的移动应用自动化性能测试系统及方法
US20150363340A1 (en) Providing multiple synchronous serial console sessions using data buffering
US9875311B2 (en) Collaborative CAx updates
CN112445700B (zh) 测试方法和装置
CN110519127B (zh) 网络延时的探测方法、装置和存储介质
CN108228444A (zh) 一种测试方法和装置
RO131668A2 (ro) Metode, sisteme şi suport citibil pe calculator, pentru partajarea sesiunii de aplicaţie
CN113268308A (zh) 信息处理方法、装置以及存储介质
CN113127307A (zh) 溯源请求的处理方法、相关装置、系统及存储介质
US9800490B2 (en) Testing by simulation using variations of real-time traffic
Hine et al. Scalable emulation of enterprise systems
CN112527453B (zh) 虚拟化信息仿真系统、方法及计算机可读存储介质
CN116095080A (zh) 跨云数据互联网络通信方法、装置及系统
CN114466000A (zh) 一种cdn网关回源方法及装置
US20190325094A1 (en) System and method for automating the creation of machine learning based hardware and software component simulators
CN117234951B (zh) 应用系统的功能测试方法、装置、计算机设备、存储介质
CN105227659B (zh) 一种网络通信方法及设备
CN110768855A (zh) 链路化性能测试的方法和装置
CN117294783B (zh) 芯片验证方法、装置和设备
CN115174461B (zh) 一种基于网络请求的系统测试方法以及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19856979

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19856979

Country of ref document: EP

Kind code of ref document: A1