WO2017215383A1 - 网元配置方法及装置、网元管理方法及装置 - Google Patents
网元配置方法及装置、网元管理方法及装置 Download PDFInfo
- Publication number
- WO2017215383A1 WO2017215383A1 PCT/CN2017/084208 CN2017084208W WO2017215383A1 WO 2017215383 A1 WO2017215383 A1 WO 2017215383A1 CN 2017084208 W CN2017084208 W CN 2017084208W WO 2017215383 A1 WO2017215383 A1 WO 2017215383A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network element
- network
- summary information
- managed
- port
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Definitions
- the present application relates to, but is not limited to, the field of communications, and in particular, to a network element configuration method and apparatus, and a network element management method and apparatus.
- the era of big data has arrived.
- the amount of information on the Internet is getting larger and larger, the bandwidth requirements are greater, and the speed requirements are faster. This puts higher requirements on the stability and reliability of the network equipment supporting the Internet. Therefore, the bandwidth capacity of the backbone network communication equipment. It has become a key factor in the stability and reliability of Internet burst traffic.
- the main means for operators to increase network bandwidth capacity is to build new capacity transmission equipment or expand capacity based on existing networks. Since these telecommunication equipments are usually in the backbone network, the distance between equipment and equipment is usually very long, and may even cross the market. Cross-province. After the installation of these devices is completed, the operator needs to supervise or configure it to ensure the normal communication of the data network. With the improvement of labor costs and the popularity of intelligence, the project site can be supervised after the equipment is installed. The device automatically discovers and supervises the new device network connected to it.
- Optical transmission equipment has the advantages of high transmission efficiency, large system capacity, and low transmission cost, and is an inevitable trend in the development of network equipment.
- optical network equipment is usually located in the backbone network, and equipment and equipment are often very far away.
- some foreign equipment may be placed on many untouched islands, so that after the equipment is installed, the maintenance personnel usually need to configure the equipment to open a new network on the equipment site, which will waste a lot of manpower, material resources and energy. Therefore, the traditional maintenance personnel to the site configuration opening mode has not kept pace with the development of the times, and it is urgent to develop an automatic configuration method that adapts to the remote automatic opening network.
- the embodiment of the invention provides a network element configuration method and device, so as to conveniently configure network element network parameters.
- the embodiment of the invention provides a network element management method and device, so as to conveniently manage network element network parameters.
- a network element configuration method including: the network management unit obtains summary information of the network element to be configured by using the first network element, where the first network element and the network element to be configured exist. The physical connection is sent to the network element to be configured indicated by the summary information.
- the summary information includes at least one of the following: a protocol type of a network element port, an Internet Protocol (IP) address, a network mask MASK, and a number of boards in the network element. The type of the board.
- IP Internet Protocol
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the method before the acquiring, by the first network element, the summary information of the to-be-configured network element, the method further includes: determining, by the network management, a port in the first network element, and determining the port If the specified network element is connected to the specified network element, the specified network element is used as the network element to be configured.
- the network management system obtains the summary information of the to-be-configured network element by using the first network element, and includes at least one of the following: receiving, by the first network element, the summary information from the to-be-configured network element; Obtaining, in the first network element, the summary information that is preset in the network element to be configured.
- the method further includes:
- a network element configuration apparatus which is applied to a network management, and includes: a first acquiring module, configured to acquire, by using a first network element, summary information of a network element to be configured, where the A network element is physically connected to the to-be-configured network element, and the first sending module is configured to send the parameter of the network configuration to the to-be-configured network element indicated by the summary information.
- the summary information includes at least one of the following: a protocol type of a network element port, a network element network protocol IP address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the apparatus further includes: a first determining module, configured to determine, in the first network element, that the network management unit obtains the summary information of the to-be-configured network element by using the first network element
- the port is configured to determine whether the port is connected to the specified network element, and the specified network element is used as the to-be-configured network element when the specified network element is connected to the port.
- the first obtaining module includes at least one of the following: a first acquiring subunit, configured to receive the digest information from the to-be-configured network element by using the first network element; And the unit is configured to obtain the summary information preset for the network element to be configured from the first network element.
- the device further includes:
- the querying module is configured to send the parameter of the network query to the to-be-configured network element indicated by the summary information.
- a storage medium is also provided.
- the storage medium is arranged to store program code for performing the following steps:
- the network management system obtains the summary information of the network element to be configured by using the first network element, where the first network element has a physical connection with the to-be-configured network element.
- the network management system sends the parameters of the network configuration to the to-be-configured network element indicated by the summary information.
- a network element management method including:
- the network management system obtains the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element;
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the method before the acquiring, by the first network element, the summary information of the network element to be managed, the method further includes:
- the network management system determines the port in the first network element, and determines whether the port is connected to the specified network element, and when the port is connected to the specified network element, the designated network element is used as the to-be-managed network. yuan.
- the network management device obtains the summary information of the to-be-managed network element by using the first network element, including at least one of the following:
- a network element management apparatus including:
- the second obtaining module is configured to obtain the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element;
- a second sending module configured to send the network management parameter to the to-be-managed network element indicated by the summary information
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the apparatus further includes: a second determining module, configured to determine, in the first network element, that the network management unit obtains the summary information of the to-be-managed network element by using the first network element
- the port is configured to determine whether the port is connected to the specified network element, and the designated network element is used as the to-be-managed network element when the specified network element is connected to the port.
- the second obtaining module includes at least one of the following: a third acquiring subunit, configured to receive the digest information from the to-be-managed network element by using the first network element; And the unit is configured to obtain the summary information preset for the to-be-managed network element from the first network element.
- a storage medium is also provided.
- the storage medium is arranged to store program code for performing the following steps:
- the network management system obtains the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element;
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the network management device detects that the first network element in the network area to which the network management network belongs has a physical network to be configured, and the network element to be configured sends its own summary information, such as its own IP address, to the first network element.
- the network management system obtains the summary information of the network element to be configured through the first network element.
- the network management system can directly communicate with the network element to be configured, and send the parameters required for the network configuration to the network element to be configured.
- the element can be configured with network parameters to quickly configure the network parameters of the NE.
- the network management device detects that the first network element in the network area to which the network management network belongs has a physical connection to be managed network element, and the to-be-managed network element sends its own summary information, such as its own IP address, to the first
- the network management unit obtains the summary information of the network element to be managed by the first network element.
- the network management system can directly communicate with the network element to be managed, and send the parameters required for the network configuration to the network element to be managed.
- the network element to be managed can manage network parameters (including configuration/query network parameters) and implement network parameters for fast management of network elements.
- FIG. 1 is a flowchart of a network configuration method according to an embodiment of the present invention.
- FIG. 2 is a flow chart of a method for configuring a network element
- FIG. 3 is a scenario diagram of a network element configuration according to an embodiment of the present invention.
- FIG. 4 is a flow chart of a network element configuration method according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a network element configuration method according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a format of an original message in a related art according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a format of an original message after being converted according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram 1 of a network element configuration apparatus according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram 2 of a network element configuration apparatus according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram 3 of a network element configuration apparatus according to an embodiment of the present invention.
- FIG. 11 is a flowchart of a network management method according to an embodiment of the present invention.
- FIG. 12 is a structural block diagram of a network element management apparatus according to an embodiment of the present invention.
- the summary information of the network element may include a network protocol IP address of the network element, a network mask MASK, and the like.
- the embodiment of the present application provides a network element configuration method, which is applied to a network management device.
- the method in this embodiment may be implemented in a mobile terminal, a computer terminal, or the like.
- the network management device includes the network management system.
- the first network element in the network management system does not have access to the network element to be configured.
- FIG. 1 is a flowchart of a network configuration method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
- Step S102 The network management system obtains the summary information of the network element to be configured by using the first network element, where the first network element has a physical connection with the to-be-configured network element.
- the first network element in the foregoing embodiment is a network element that can be managed by the network management system, and the network element to be configured is not in the network scope of the network management system.
- the network element to be configured may be a newly created network device.
- the summary information is obtained to confirm the network element to be configured, and to confirm which port of the first network element is connected to the network element to be configured.
- Step S104 The network management system sends the parameter of the network configuration to the to-be-configured network element indicated by the summary information.
- the network management system sends the parameters of the network configuration to the first network element, and the first network element forwards the parameters of the network configuration to the network element to be configured.
- the network management system sends the parameters of the network configuration to the network element to be configured, that is, the network management system sends a configuration command (configuration message) to the network element to be configured, where the configuration command (configuration message) carries the network configuration. parameter.
- the parameter of the network configuration may include at least one of the following parameters: a protocol type of the network element port, a network element network protocol IP address, and a network mask MASK.
- the first network element is physically connected to the network element to be configured, and is a neighbor network element. It should be emphasized that the “first” in the first network element is only for distinguishing the network element to be configured, and there is no actual limiting effect in the implementation of the method.
- the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol IP address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the summary information may also include board location information in the network element.
- the first network element communicates with the to-be-configured network element by running a link layer discovery protocol or a point-to-point protocol.
- the first network element is physically connected to the network element to be configured.
- the network element to be configured may be a newly created device. There are multiple methods for the two network devices to have physical connections for information communication.
- the physical connection may be a wired connection or a wireless connection.
- the method before the network management unit obtains the summary information of the to-be-configured network element by using the first network element, the method further includes: determining, by the network management, the port in the first network element, and determining whether the port is connected to the designated network. If the specified NE is connected to the port, the specified NE is used as the NE to be configured.
- a network element may have multiple ports. It detects which port of the first network element is connected to the newly created NE. That is, if there are multiple ports, you can query the ports one by one. Based on the information you have queried, you can determine which port the NE to be configured is connected to.
- the network management device obtains the summary information of the to-be-configured network element by using the first network element, and includes at least one of the following: receiving, by the first network element, the summary information from the to-be-configured network element; The summary information obtained in advance for the network element to be configured is obtained in the element.
- the network element to be configured can send the summary information to the first network element through the link layer discovery protocol of the physical connection, and the first network element forwards the summary information to the network element to be configured. This is a case where there is a case where the network element to be configured does not store its own summary information, such as an IP address, that is, it has never been configured, and the first network element automatically allocates summary information to the network element to be configured. Then upload it to the network management.
- the method further includes:
- the network management system sends the parameter of the network query to the network element to be configured indicated by the summary information.
- the network management system sends the parameters of the network query to the network element to be configured, that is, the network management system sends the query command (query message) to the network element to be configured, and the query command (query message) carries the network query.
- the parameter of the network query is the parameter of the network element to be configured that the network management wants to obtain.
- the function of the query is to refer to the original configuration, or query to confirm whether the configuration is successful.
- the parameter of the network query may include at least one of the following parameters: a protocol type of the network element port, a network element network protocol IP address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the network element and the network management are configured as follows:
- a common configuration query interface is configured on the network management system to configure/query the configured network element by sending an IP packet to the first network element in the foregoing embodiment.
- the network management system has a new configuration module for the convenient configuration query interface.
- the device sends a specific message to the first NE to configure/query the neighbor NEs of the NE, and performs NE IP configuration and monitoring port information on the neighbor NEs of the NE. Configure and query;
- the monitoring and forwarding module is configured on the network element, and is configured to receive the configuration/query message, determine the purpose of the message, and send the network element configuration query message processing module or the monitoring and forwarding module of other network elements to the internal network element; the monitoring and forwarding module can distinguish the message. Whether the type is configured/query neighbor NE message, if yes, it is sent to the internal network element for convenient configuration query message processing module for processing;
- the network element configuration query message processing module is further configured on the network element: configured to perform various configuration/query message processing on the local network element;
- a convenient configuration query message processing module is configured on the network element, and is configured to receive a message packet sent by the monitoring and forwarding module, and extract the port number of the neighboring network element specified in the packet, and re-encapsulate the message packet into an IP-free header.
- the Layer 2 communication packet format is sent to the port; and the convenient configuration query message processing module also receives the Layer 2 communication packet sent by other network elements without the IP header, and is converted into the network element configuration query message processing module to recognize
- the configuration/inquiry message is sent to the network element configuration query message processing module, and the processed response message is returned.
- FIG. 2 is a flow chart of a network element configuration method, and the following steps are corresponding to the block diagram:
- Step 1 NE1 (equivalent to the first network element in the foregoing embodiment) is deployed in the central equipment room, and the NE1 is included in the management of the network management after the network element IP and the monitoring port are configured;
- the NEs and the monitoring ports of the NEs and the NEs are unknown, and cannot be managed.
- the long-distance travel needs to be manually arrived at the network element deployment site, and the network element IP and the network element are configured at close distances.
- Step 3 After the traveler telephone communicates with the network management operator or returns to the central equipment room, the network element IP corresponding to the network element is configured on the network management system. After performing the above steps, the network management system integrates NE2 and NE3 into the management scope;
- Step 4 The network management system sends a configuration or query message to the network element NE, and the NE performs corresponding network parameter configuration according to the message.
- Step 5 If other network elements in the network need to be included in the network management, repeat the operations described in steps 2 and 3.
- FIG. 3 is a scenario diagram of a network element configuration according to an embodiment of the present invention.
- the network management EMS manages NE1, NE2, NE3, and NE4, and the NE5, NE6, and NE7 are to be configured, and the NE3 network management system is to be configured.
- the network element is included in the network management system.
- FIG. 4 is a flow chart of a method for configuring a network element according to an embodiment of the present invention. As shown in FIG. 4, a channel indicated by a thick line is a message channel according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a method for configuring a network element according to an embodiment of the present invention. As shown in FIG. 5, the steps are as follows:
- a network element (corresponding to the first network element in the foregoing embodiment) configured with the IP and the monitoring port is found on the network management topology, and the network element is recorded as NeA;
- S502 Query the neighbor NE device information that is connected to each monitoring port on the NeA.
- the query result may be that the NeA may have 0, one, or multiple neighbor NEs, and record the monitoring port number corresponding to each neighbor NE.
- S503 If the result of the query is 0, the neighboring network element of the NeA cannot be configured/queried; if the result of the query is not 0, the operation of S504 may be continued;
- S504 Select one of the queried neighboring network elements, and set the network element to NeB (corresponding to the network element to be configured in the foregoing embodiment), and perform convenient configuration/query on the NeB, regardless of whether the NeB is configured with the network element. IP and monitoring port information;
- the configuration interface query configuration/query message is conveniently configured, and the destination IP address is the IP of the NeA.
- the configuration/inquiring message encapsulates the monitoring port number of the NeB queried in S502; and sends the message to the NeA;
- the monitoring and forwarding module of the NeA receives the configuration/query message sent from the external device, and determines whether the received packet is a common configuration/query message or a convenient configuration/query message;
- the packet is forwarded to the device NE configuration query message processing module or other device monitoring and forwarding module for processing;
- FIG. 6 is a schematic diagram of a format of an original message according to an embodiment of the present invention.
- the original message is an IP packet.
- FIG. 7 is a format of the original message converted according to the embodiment of the present invention. As shown in Figure 7, the converted message message has no IP header Ip-head, and the packet payload in the converted message is the same as the packet-load content in the original message (DMAC refers to the device in Figure 6).
- the MAC address of the network element that is, the NeB in this embodiment; the SMAC refers to the MAC address of the source device network element, and in this embodiment, the network element NeA and the physical address (Media Access Control, abbreviated as MAC).
- NeB's convenient configuration query message processing module after receiving the message, parses the message content, converts the format shown in Figure 7 into the format shown in Figure 6, and forwards it to the network element configuration query message processing module to configure NeB. Query, the message returns along the original path.
- the staff of the network service department only needs to stay in the network management center equipment room, and then through the corresponding operation of the network management system and discover the devices of the newly built network, and quickly configure, and then quickly open the newly created equipment network.
- the premise of using this method to open a new network is that the newly created device network has physical connection with the currently monitored device network, including ordinary optical monitoring or electrical monitoring using the main optical service channel to transmit data.
- the convenient opening function described in the embodiment of the present invention can be flexibly configured, and the installation network does not need to be fixed before leaving the factory, and the engineering network fails. It is also an extremely convenient means of positioning and recovery.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making a
- the terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) performs the method of various embodiments of the present invention.
- a network element configuration apparatus is also provided, which is applied to the network management system, and is used to implement the foregoing embodiments and implementation manners.
- the term “module” may implement a combination of software and/or hardware of a predetermined function.
- the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 8 is a structural block diagram 1 of a network element configuration apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
- the first obtaining module 82 is configured to obtain, by using the first network element, summary information of the network element to be configured, where the first network element is physically connected to the to-be-configured network element;
- the first sending module 84 is connected to the first acquiring module 82, and is configured to send the parameter of the network configuration to the to-be-configured network element indicated by the summary information.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol IP address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element communicates with the to-be-configured network element by running a link layer discovery protocol or a point-to-point protocol.
- FIG. 9 is a structural block diagram 2 of a network element configuration apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes:
- the first determining module 92 is connected to the first obtaining module 82 and configured to be in the network management Before the first network element obtains the summary information of the to-be-configured network element, the network management determines the port in the first network element, and determines whether the port is connected to the specified network element, and when the specified network element is connected to the port, The specified network element is used as the network element to be configured.
- FIG. 10 is a structural block diagram 3 of a network element configuration apparatus according to an embodiment of the present invention.
- the first obtaining module 82 includes one of the following:
- the first obtaining sub-unit 1002 is configured to receive the summary information from the to-be-configured network element by using the first network element;
- the second obtaining sub-unit 1004 is configured to obtain the summary information preset for the network element to be configured from the first network element.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
- the forms are located in different processors.
- Embodiments of the present invention also provide a storage medium.
- the above storage medium may be configured to store program code for performing the following steps:
- the network management device obtains the summary information of the network element to be configured by using the first network element, where the first network element has a physical connection with the to-be-configured network element.
- the network management device sends the parameter of the network configuration to the to-be-configured network element indicated by the summary information.
- the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- mobile hard disk a magnetic disk
- magnetic disk a magnetic disk
- optical disk a variety of media that can store program code.
- the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium.
- the embodiment of the present application further provides a network element management method, which is applied to a network management device.
- the method in this embodiment may be executed in a mobile terminal, a computer terminal, or the like.
- the network management device includes the network management system.
- the first network element in the network management system does not have access to the network element to be managed.
- FIG. 11 is a flowchart of a network management method according to an embodiment of the present invention. As shown in FIG. 11, the process includes the following steps:
- step S202 the network management system obtains the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element.
- the first network element in the foregoing embodiment is a network element that can be managed by the network management system, and the network element to be configured is not in the network scope of the network management system.
- the network element to be configured may be a newly created network device.
- the summary information is obtained to confirm the network element to be configured, and to confirm which port of the first network element is connected to the network element to be configured.
- Step S204 The network management system sends the network management parameters to the to-be-managed network element indicated by the summary information.
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the network management system sends the parameters of the network configuration to the network element to be configured, that is, the network management system sends a configuration command (configuration message) to the network element to be configured, where the configuration command (configuration message) carries the network configuration. parameter.
- the parameter of the network configuration may include at least one of the following parameters: a protocol type of the network element port, a network element network protocol IP address, and a network mask MASK.
- the network management system sends the parameters of the network query to the network element to be configured, that is, the network management system sends the query command (query message) to the network element to be configured, and the query command (query message) carries the network query.
- the parameter of the network query is the parameter of the network element to be configured that the network management wants to obtain.
- the function of the query is to refer to the original configuration, or query to confirm whether the configuration is successful.
- the parameter of the network query may include at least one of the following parameters: a protocol of the network element port Type, network element network protocol IP address, network mask MASK, number of boards in the network element, type of the board.
- the number of boards in the NE can be queried and cannot be set. It is an objective information.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the method before the acquiring, by the first network element, the summary information of the network element to be managed, the method further includes:
- the network management system determines the port in the first network element, and determines whether the port is connected to the specified network element, and when the port is connected to the specified network element, the designated network element is used as the to-be-managed network. yuan.
- a network element may have multiple ports. It detects which port of the first network element is connected to the newly created NE. That is, if there are multiple ports, you can query the ports one by one. Based on the information you have queried, you can determine which port the NE to be configured is connected to.
- the network management device obtains the summary information of the to-be-managed network element by using the first network element, including at least one of the following:
- a network element management device is also provided, which is applied to the network management system, and the device is used to implement the foregoing embodiments and implementation manners, and has not been described again.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 12 is a structural block diagram of a network element management apparatus according to an embodiment of the present invention. As shown in FIG. 12, the apparatus includes:
- the second obtaining module 122 is configured to obtain the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element;
- the second sending module 124 is configured to send the network management parameter to the to-be-managed network element indicated by the summary information.
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the summary information includes at least one of the following: a protocol type of the network element port, a network element network protocol address, a network mask MASK, a number of boards in the network element, and a type of the board.
- the first network element and the to-be-configured network element communicate by running a link layer discovery protocol or a point-to-point protocol.
- the apparatus further includes: a second determining module, configured to determine, in the first network element, that the network management unit obtains the summary information of the to-be-managed network element by using the first network element
- the port is configured to determine whether the port is connected to the specified network element, and the designated network element is used as the to-be-managed network element when the specified network element is connected to the port.
- the second obtaining module 122 includes at least one of the following: a third acquiring subunit, configured to receive the digest information from the to-be-managed network element by using the first network element; And the sub-unit is configured to obtain the summary information preset for the to-be-managed network element from the first network element.
- Embodiments of the present invention also provide a storage medium.
- the above storage medium may be configured to store program code for performing the following steps:
- the network management system obtains the summary information of the to-be-managed network element by using the first network element, where the first network element has a physical connection with the to-be-managed network element;
- the parameter of the network management includes at least one of the following parameters: a parameter of the network configuration, and a parameter of the network query.
- the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- mobile hard disk a magnetic disk
- magnetic disk a magnetic disk
- optical disk a variety of media that can store program code.
- the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium.
- the modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices.
- the executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be
- Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
- embodiments of the invention are not limited to any specific combination of hardware and software.
- the network management device detects that the first network element in the network area to which the network management network belongs has a physical network to be managed, and the to-be-managed network element sends its own summary information, such as its own IP address, to the first network element.
- the network management system obtains the summary information of the network element to be managed through the first network element.
- the network management system can directly communicate with the network element to be managed, and send the parameters required for the network configuration to the network element to be managed.
- the element can manage network parameters (including configuration/query network parameters), and implements network parameters for fast management of network elements.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本文公布一种网元配置方法及装置,其中,该方法包括:网管通过第一网元获取待配置网元的摘要信息,其中,该第一网元与该待配置网元存在物理连接;该网管将网络配置的参数发送给该摘要信息所指示的该待配置网元。
Description
本申请涉及但不限于通信领域,尤指一种网元配置方法及装置、网元管理方法及装置。
大数据时代已经来临,互联网信息量越来越大,带宽要求更大,速度要求更快,如此对支撑互联网的网络设备的稳定性、可靠性提出更高要求,因此骨干网通信设备的带宽容量就成为了互联网突发流量稳定可靠性的关键因素。而运营商提高网络带宽容量的主要手段就是新建大容量的传输设备或在已有网络基础上进行扩容,由于这些电信设备通常处于骨干网,设备与设备间的距离通常很远,可能跨市甚至跨省。在这些设备安装完成后运营商需要对其进行相应的监管或配置才能保证数据网络的正常通信,随着人力成本的提高及智能化的普及,工程现场在安装完设备后,可以通过在已经监管的设备来自动发现与之相连的新建设备网络并对其进行监管。
光传输设备具有传输效率高、系统容量大、传输成本低的优势,是网络设备发展的必然趋势。但光网络设备通常位于骨干网,设备与设备之前往往距离非常遥远。比如在国外有些设备可能会布置在很多人迹罕至的海岛上,这样工程维护人员在设备安装好后通常需要到设备现场对相应设备做配置来开通新网络,这样就会浪费大量人力、物力、精力。因此传统的维护人员到现场的配置开通模式已经跟不上时代发展的步伐,迫切需要开发一种适应远距离自动开通网络的自动化配置方法。
工程应用中,也有先在设备生产出厂前,配置好基本属性的应用,不用到现场再查看网元配置,但有很大的局限性,不能灵活配置,一旦物流、安装过程出现疏忽,容易引起更大的麻烦。
发明概述
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种网元配置方法及装置,以实现方便地配置网元网络参数。
本发明实施例提供了一种网元管理方法及装置,以实现方便地管理网元网络参数。
根据本发明的一个实施例,提供了一种网元配置方法,包括:网管通过第一网元获取待配置网元的摘要信息,其中,所述第一网元与所述待配置网元存在物理连接;所述网管将网络配置的参数发送给所述摘要信息所指示的所述待配置网元。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议(Internet Protocol,简称为IP)地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,在所述网管通过第一网元获取所述待配置网元的摘要信息之前,所述方法还包括:网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待配置网元。
在一实施方式中,网管通过第一网元获取所述待配置网元的摘要信息,包括以下至少之一:通过所述第一网元从所述待配置网元接收所述摘要信息;从所述第一网元中获取为所述待配置网元预先设置的所述摘要信息。
在一实施方式中,所述网管通过第一网元获取待配置网元的摘要信息之后,所述方法还包括:
所述网管将网络查询的参数发送给所述摘要信息所指示的所述待配置
网元。
根据本发明的另一个实施例,提供了一种网元配置装置,应用于网管,包括:第一获取模块,设置为通过第一网元获取待配置网元的摘要信息,其中,所述第一网元与所述待配置网元存在物理连接;第一发送模块,设置为将网络配置的参数发送给所述摘要信息所指示的所述待配置网元。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,所述装置还包括:第一确定模块,设置为在所述网管通过第一网元获取所述待配置网元的摘要信息之前,网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待配置网元。
在一实施方式中,所述第一获取模块包括以下至少之一:第一获取子单元,设置为通过所述第一网元从所述待配置网元接收所述摘要信息;第二获取子单元,设置为从所述第一网元中获取为所述待配置网元预先设置的所述摘要信息。
在一实施方式中,所述装置还包括:
查询模块,设置为将网络查询的参数发送给所述摘要信息所指示的所述待配置网元。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
网管通过第一网元获取待配置网元的摘要信息,其中,所述第一网元与所述待配置网元存在物理连接;
所述网管将网络配置的参数发送给所述摘要信息所指示的所述待配置网元。根据本发明的另一个实施例,提供了一种网元管理方法,包括:
网管通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
所述网管将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,在所述网管通过第一网元获取待管理网元的摘要信息之前,所述方法还包括:
网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待管理网元。
在一实施方式中,网管通过第一网元获取所述待待管理网元的摘要信息,包括以下至少之一:
通过所述第一网元从所述待待管理网元接收所述摘要信息;
从所述第一网元中获取为所述待管理网元预先设置的所述摘要信息。
根据本发明的另一个实施例,提供了一种网元管理装置,包括:
第二获取模块,设置为通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
第二发送模块,设置为将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,所述装置还包括:第二确定模块,设置为在所述网管通过第一网元获取所述待管理网元的摘要信息之前,网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待管理网元。
在一实施方式中,所述第二获取模块包括以下至少之一:第三获取子单元,设置为通过所述第一网元从所述待管理网元接收所述摘要信息;第四获取子单元,设置为从所述第一网元中获取为所述待管理网元预先设置的所述摘要信息。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
网管通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
所述网管将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
通过本发明实施例,网管检测到网管所属网络范围内的第一网元有存在物理连接的待配置网元,待配置网元将自身的摘要信息,例如自身的IP地址发送给第一网元,网管通过第一网元获取待配置网元的摘要信息,网管获取了摘要信息之后,网管可以与待配置网元直接进行通信,将网络配置需要的参数发送给待配置网元,待配置网元可以配置网络参数,实现了快速配置网元的网络参数。
在本发明另一个实施例中,网管检测到网管所属网络范围内的第一网元有存在物理连接的待管理网元,待管理网元将自身的摘要信息,例如自身的IP地址发送给第一网元,网管通过第一网元获取待管理网元的摘要信息,网管获取了摘要信息之后,网管可以与待管理网元直接进行通信,将网络配置需要的参数发送给待管理网元,待管理网元可以管理网络参数(包括配置/查询网络参数),实现了快速管理网元的网络参数。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是根据本发明实施例的一种网络配置方法的流程图;
图2是一种网元配置方法流程框图;
图3是根据本发明实施例网元配置的场景图;
图4是根据本发明实施例的一种网元配置方法流程框图;
图5是根据本发明实施例的一种网元配置方法流程图;
图6是根据本发明实施例中的相关技术中原消息报文格式示意图;
图7是根据本发明实施例中的原消息报文转换后的格式示意图;
图8是根据本发明实施例的一种网元配置装置的结构框图一;
图9是根据本发明实施例的一种网元配置装置的结构框图二;
图10是根据本发明实施例的一种网元配置装置的结构框图三;
图11是根据本发明实施例的一种网络管理方法的流程图;
图12是根据本发明实施例的一种网元管理装置的结构框图。
详述
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后
次序。
网元的摘要信息可包括网元的网络协议IP地址,网络掩码MASK等。
实施例1
本申请实施例提供了一种网元配置方法,应用于网络管理设备中,本实施例的方法可以在移动终端,计算机终端或者类似的运算装置中执行。网络管理设备包括网管,网管内的第一网元,没有接入网管所属网络的待配置网元。
在本实施例中提供了一种运行于网管中的一种网络配置方法,图1是根据本发明实施例的一种网络配置方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,网管通过第一网元获取待配置网元的摘要信息,其中,该第一网元与该待配置网元存在物理连接。上述实施例中的第一网元是位于网管所属的网络范围内的已能被网管管理的网元,待配置网元不在网管所属的网络范围内,是还没有被网管管理上的网元。该待配置网元可以是新建的网络设备。获取摘要信息是为了确认待配置网元、并确认待配置网元连接的是第一网元的哪个端口。
步骤S104,该网管将网络配置的参数发送给该摘要信息所指示的该待配置网元。在一实施方式中,网管将网络配置的参数发送给第一网元,由第一网元将网络配置的参数转发给待配置网元。
其中,网管将网络配置的参数发送给所述待配置网元,也即:网管将配置指令(配置报文)发送给所述待配置网元,该配置指令(配置报文)携带网络配置的参数。
其中,网络配置的参数可以包括如下参数至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK。
在上述实施例中,第一网元与待配置网元存在物理连接,互相为邻居网元。需要强调的是,第一网元中的“第一”只是为了区分待配置网元,在方法实施过程中没有实际的限定作用。
上述步骤的执行主体可以为终端等,但不限于此。
在一实施方式中,该摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,该单板的类型。摘要信息还可以包括网元内的单板位置信息。
在一实施方式中,该第一网元与该待配置网元通过运行链路层发现协议或者点对点协议进行通信。第一网元与待配置网元物理连接,待配置网元可以是新建设备,两个网络设备存在物理连接进行信息沟通的方法有多种,上述的物理连接可以是有线连接或者无线连接。
在一实施方式中,在该网管通过第一网元获取该待配置网元的摘要信息之前,该方法还包括:网管确定该第一网元中的端口,以及确定该端口是否连接有指定网元,并在该端口连接有该指定网元时,将该指定网元作为该待配置网元。一个网元可能有多个端口,检测到第一网元哪个端口连接到新建的待配置网元。即如果是多个端口,可以将端口都逐个查询后,根据查询到的信息可判断确定待配置网元连接的是哪个端口。
在一实施方式中,网管通过第一网元获取该待配置网元的摘要信息,包括以下至少之一:通过该第一网元从该待配置网元接收该摘要信息;从该第一网元中获取为该待配置网元预先设置的该摘要信息。待配置网元可以将摘要信息通过物理连接的链路层发现协议发送给第一网元,第一网元将摘要信息转发给待配置网元。这是一种情况,还有一种情况是待配置网元中没有存储自身的摘要信息,例如IP地址,也就是说从来没有被配置过,第一网元自动给待配置网元分配摘要信息,然后上传到网管中。
在一实施方式中,所述网管通过第一网元获取待配置网元的摘要信息之后,所述方法还包括:
所述网管将网络查询的参数发送给所述摘要信息所指示的所述待配置网元。
其中,网管将网络查询的参数发送给所述待配置网元,也即:网管将查询指令(查询报文)发送给所述待配置网元,该查询指令(查询报文)携带网络查询的参数。该网络查询的参数为网管希望获取的待配置网元的参数。查询的作用是可以参考原有配置,或者配置后查询确认是否配置成功。
其中,网络查询的参数可以包括如下参数至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
下面记载了一种根据上述实施例的网元配置方法,为了实现上述实施例记载的方法步骤,对网元和网管进行如下设置:
网管上设置有普通配置查询界面:通过向上述实施例中的第一网元发送IP报文对待配置网元进行配置/查询;
网管设置有便捷配置查询界面新增模块;通过向第一网元发送配置/查询该网元的邻居网元的特定消息,以及对该网元的邻居网元进行网元IP配置、监控端口信息进行配置和查询;
网元上设置有监控转发模块:设置为接收配置/查询消息,判断该消息目的,发往网元内部的网元配置查询消息处理模块或其他网元的监控转发模块;监控转发模块可区分消息类型是否为配置/查询邻居网元消息,如果是则发往自身网元内部便捷配置查询消息处理模块进行处理;
网元上还设置有网元配置查询消息处理模块:设置为对本网元进行各项配置/查询消息处理;
网元上设置有便捷配置查询消息处理模块:设置为接收监控转发模块发过来消息报文,提取报文中指定查询的邻居网元的端口号,将该消息报文重新封装为无IP头的二层通信报文格式,向该端口发送;同时便捷配置查询消息处理模块还接收其他网元发送过来的,无IP头的二层通信报文,转换成网元配置查询消息处理模块能识别的配置/查询消息,将转换后的配置/查询消息发送给网元配置查询消息处理模块处理,处理后的应答消息原路返回。
为了与本申请文件记载的技术方案对比,将一种网元配置方法进行如图2描述,图2是一种网元配置方法流程框图,与该框图对应的由如下步骤:
步骤一,NE1(相当于上述实施例中的第一网元)部署在中心机房,NE1在配置网元IP及监控端口之后,纳入网管的管理中;
步骤二,NE2和NE3(相当于上述实施例的待配置网元)的网元IP和监控端口配置未知,无法进行管理,需长途差旅人工抵达网元部署地点,近距离配置网元IP及监控端口;
步骤三,差旅人员电话与网管操作员沟通或返回中心机房后,在网管上配置该网元对应的网元IP,执行上述步骤后,网管将NE2和NE3纳入管理范围;
步骤四,网管发送配置或查询消息到网元NE,NE依据该消息进行相应网络参数配置;
步骤五,若网络中还有其他网元需要纳入网管管理中,重复执行步骤二和三记载的操作。
图3是根据本发明实施例网元配置的场景图,如图3所示,网管EMS管理NE1、NE2、NE3、NE4,而NE5、NE6、NE7是待配置网元,通过NE3网管将待配置网元纳入网络管理系统中。
图4是根据本发明实施例的一种网元配置方法流程框图,如图4所示,粗线所示的通道是本发明实施例的报文通道。
图5是根据本发明实施例的一种网元配置方法流程图,如图5所示,步骤如下:
S501,在网管拓扑上找到一个已配置了IP及监控端口的网元(相当于上述实施例的第一网元),将该网元记为NeA;
S502,查询NeA上各监控端口连接的邻居网元设备信息;查询结果可能是NeA可能有0个、1个或多个邻居网元;并记录各查询到的邻居网元对应的监控端口号;
S503,如果查询到0个结果,则不能对NeA的邻居网元进行配置/查询操作;如果查询到的结果不为0,可以继续S504操作;
S504,选择其中一个查询到的邻居网元,设该网元为NeB(相当于上述实施例中的待配置网元),可以对NeB进行便捷配置/查询,无需考虑NeB是否被配置过网元IP和监控端口信息;
S505,便捷配置查询界面封装配置/查询消息,目的IP为NeA的IP,
配置/查询消息中封装S502中查询到的NeB的监控端口号;并将该消息发送给NeA;
S506,NeA的监控转发模块接收外部发来的配置/查询报文,判断收到的报文为普通配置/查询报文还是便捷配置/查询报文;
如果是普通配置/查询报文,将报文转给本设备网元配置查询消息处理模块或其他设备监控转发模块进行处理;
如果是便捷配置/查询报文,则进行S507操作;
S507,NeA的监控转发模块区分配置/查询报文类型后,如果是便捷配置/查询报文,则将报文发送给NeA的便捷配置查询消息处理模块进行处理;
S508,NeA的便捷配置查询消息处理模块收到报文后,提取该消息中封装的监控端口号信息,将报文重新封装成无IP的二层报文,从提取出来的监控端口号发送给NeB。图6是根据本发明实施例中的原消息报文格式示意图,如图6所示,原消息报文是IP报文;图7是根据本发明实施例中的原消息报文转换后的格式示意图,如图7所示,转换后的消息报文无IP头Ip-head,转换后报文中的数据包负载packet-load和原报文中packet-load内容相同(图6中DMAC指设备网元的MAC地址,即本实施例中NeB;SMAC指源设备网元的MAC地址,在本实施例中即已经配置的网元NeA,物理地址(Media Access Control,简称为MAC))。
S509,NeB的便捷配置查询消息处理模块收到报文后,将消息内容解析出来,从图7所示格式转换成图6所示格式,转发给网元配置查询消息处理模块对NeB进行配置和查询,消息沿原路返回。
通过上述实施例记载的方法,网络服务部的工作人员只需要待在网管中心机房,然后通过网管的相应操作与发现新建网络的设备并快速配置,然后快速开通新建的设备网络。利用此方法开通新建网络的前提是新建的设备网络与目前已经监控上的设备网络有物理连接,包括普通的光监控或者利用主光业务通道传输数据的电监控。使用本发明实施例中描述的便捷开通功能可以灵活配置,无需出厂前固定配死,出现工程网络出现故障
时,也是极为方便的定位和恢复手段。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例该的方法。
实施例2
在本实施例中还提供了一种网元配置装置,应用于网管,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图8是根据本发明实施例的一种网元配置装置的结构框图一,如图8所示,该装置包括:
第一获取模块82,设置为通过第一网元获取待配置网元的摘要信息,其中,该第一网元与该待配置网元存在物理连接;
第一发送模块84,与该第一获取模块82连接,设置为将网络配置的参数发送给该摘要信息所指示的该待配置网元。
在一实施方式中,该摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,该单板的类型。
在一实施方式中,该第一网元与该待配置网元通过运行链路层发现协议或者点对点协议进行通信。
图9是根据本发明实施例的一种网元配置装置的结构框图二,如图9所示,该装置包括:
第一确定模块92,连接在该第一获取模块82之前,设置为在该网管通
过第一网元获取该待配置网元的摘要信息之前,网管确定该第一网元中的端口,以及确定该端口是否连接有指定网元,并在该端口连接有该指定网元时,将该指定网元作为该待配置网元。
图10是根据本发明实施例的一种网元配置装置的结构框图三,如图10所示,该第一获取模块82包括以下之一:
第一获取子单元1002,设置为通过该第一网元从该待配置网元接收该摘要信息;
第二获取子单元1004,设置为从该第一网元中获取为该待配置网元预先设置的该摘要信息。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,网管通过第一网元获取待配置网元的摘要信息,其中,该第一网元与该待配置网元存在物理连接;
S2,该网管将网络配置的参数发送给该摘要信息所指示的该待配置网元。
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例记载的方法步骤。
本实施例中的示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。
实施例4
在本申请实施例还提供了一种网元管理方法,应用于网络管理设备中,本实施例的方法可以在移动终端,计算机终端或者类似的运算装置中执行。网络管理设备包括网管,网管内的第一网元,没有接入网管所属网络的待管理网元。
在本实施例中提供了一种运行于网管中的一种网络管理方法,图11是根据本发明实施例的一种网络管理方法的流程图,如图11所示,该流程包括如下步骤:
步骤S202,网管通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
上述实施例中的第一网元是位于网管所属的网络范围内的已能被网管管理的网元,待配置网元不在网管所属的网络范围内,是还没有被网管管理上的网元。该待配置网元可以是新建的网络设备。获取摘要信息是为了确认待配置网元、并确认待配置网元连接的是第一网元的哪个端口。
步骤S204,所述网管将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
其中,网管将网络配置的参数发送给所述待配置网元,也即:网管将配置指令(配置报文)发送给所述待配置网元,该配置指令(配置报文)携带网络配置的参数。
其中,网络配置的参数可以包括如下参数至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK。
其中,网管将网络查询的参数发送给所述待配置网元,也即:网管将查询指令(查询报文)发送给所述待配置网元,该查询指令(查询报文)携带网络查询的参数。该网络查询的参数为网管希望获取的待配置网元的参数。查询的作用是可以参考原有配置,或者配置后查询确认是否配置成功。
其中,网络查询的参数可以包括如下参数至少之一:网元端口的协议
类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
其中,网元内单板的数目,单板的类型可以查询,不可设置,是一个客观的信息。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,在所述网管通过第一网元获取待管理网元的摘要信息之前,所述方法还包括:
网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待管理网元。一个网元可能有多个端口,检测到第一网元哪个端口连接到新建的待配置网元。即如果是多个端口,可以将端口都逐个查询后,根据查询到的信息可判断确定待配置网元连接的是哪个端口。
在一实施方式中,网管通过第一网元获取所述待待管理网元的摘要信息,包括以下至少之一:
通过所述第一网元从所述待待管理网元接收所述摘要信息;
从所述第一网元中获取为所述待管理网元预先设置的所述摘要信息。
实施例5
在本实施例中还提供了一种网元管理装置,应用于网管,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图12是根据本发明实施例的一种网元管理装置的结构框图,如图12所示,该装置包括:
第二获取模块122,设置为通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
第二发送模块124,设置为将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
在一实施方式中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
在一实施方式中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
在一实施方式中,所述装置还包括:第二确定模块,设置为在所述网管通过第一网元获取所述待管理网元的摘要信息之前,网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待管理网元。
在一实施方式中,所述第二获取模块122包括以下至少之一:第三获取子单元,设置为通过所述第一网元从所述待管理网元接收所述摘要信息;第四获取子单元,设置为从所述第一网元中获取为所述待管理网元预先设置的所述摘要信息。
实施例6
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
网管通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;
所述网管将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;
其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例记载的方法步骤。
本实施例中的示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。
上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
通过本发明实施例,网管检测到网管所属网络范围内的第一网元有存在物理连接的待管理网元,待管理网元将自身的摘要信息,例如自身的IP地址发送给第一网元,网管通过第一网元获取待管理网元的摘要信息,网管获取了摘要信息之后,网管可以与待管理网元直接进行通信,将网络配置需要的参数发送给待管理网元,待管理网元可以管理网络参数(包括配置/查询网络参数),实现了快速管理网元的网络参数。
Claims (16)
- 一种网元配置方法,包括:网管通过第一网元获取待配置网元的摘要信息,其中,所述第一网元与所述待配置网元存在物理连接;所述网管将网络配置的参数发送给所述摘要信息所指示的所述待配置网元。
- 根据权利要求1所述的方法,其中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
- 根据权利要求1所述的方法,其中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
- 根据权利要求1所述的方法,其中,在所述网管通过第一网元获取所述待配置网元的摘要信息之前,所述方法还包括:网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待配置网元。
- 根据权利要求1所述的方法,其中,网管通过第一网元获取所述待配置网元的摘要信息,包括以下至少之一:通过所述第一网元从所述待配置网元接收所述摘要信息;从所述第一网元中获取为所述待配置网元预先设置的所述摘要信息。
- 根据权利要求1~5中任意一项所述的方法,其中,所述网管通过第一网元获取待配置网元的摘要信息之后,所述方法还包括:所述网管将网络查询的参数发送给所述摘要信息所指示的所述待配置网元。
- 一种网元配置装置,应用于网管,包括:第一获取模块,设置为通过第一网元获取待配置网元的摘要信息,其中,所述第一网元与所述待配置网元存在物理连接;第一发送模块,设置为将网络配置的参数发送给所述摘要信息所指示的所述待配置网元。
- 根据权利要求7所述的装置,其中,所述摘要信息包括以下至少之一:网元端口的协议类型,网元网络协议IP地址,网络掩码MASK,网元内单板的数目,所述单板的类型。
- 根据权利要求7所述的装置,其中,所述第一网元与所述待配置网元通过运行链路层发现协议或者点对点协议进行通信。
- 根据权利要求7所述的装置,其中,所述装置还包括:第一确定模块,设置为在所述网管通过第一网元获取所述待配置网元的摘要信息之前,网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待配置网元。
- 根据权利要求7所述的装置,其中,所述第一获取模块包括以下至少之一:第一获取子单元,设置为通过所述第一网元从所述待配置网元接收所述摘要信息;第二获取子单元,设置为从所述第一网元中获取为所述待配置网元预先设置的所述摘要信息。
- 根据权利要求7~11中任意一项所述的装置,其中,所述装置还包括:查询模块,设置为将网络查询的参数发送给所述摘要信息所指示的所述待配置网元。
- 一种网元管理方法,包括:网管通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;所述网管将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、 网络查询的参数。
- 根据权利要求13所述的方法,其中,在所述网管通过第一网元获取待管理网元的摘要信息之前,所述方法还包括:网管确定所述第一网元中的端口,以及确定所述端口是否连接有指定网元,并在所述端口连接有所述指定网元时,将所述指定网元作为所述待管理网元。
- 根据权利要求13所述的方法,其中,网管通过第一网元获取所述待待管理网元的摘要信息,包括以下至少之一:通过所述第一网元从所述待待管理网元接收所述摘要信息;从所述第一网元中获取为所述待管理网元预先设置的所述摘要信息。
- 一种网元管理装置,包括:第二获取模块,设置为通过第一网元获取待管理网元的摘要信息,其中,所述第一网元与所述待管理网元存在物理连接;第二发送模块,设置为将网络管理的参数发送给所述摘要信息所指示的所述待管理网元;其中,所述网络管理的参数包括如下参数至少之一:网络配置的参数、网络查询的参数。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610411213.2 | 2016-06-13 | ||
CN201610411213.2A CN107493182A (zh) | 2016-06-13 | 2016-06-13 | 网元配置方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215383A1 true WO2017215383A1 (zh) | 2017-12-21 |
Family
ID=60642410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/084208 WO2017215383A1 (zh) | 2016-06-13 | 2017-05-12 | 网元配置方法及装置、网元管理方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107493182A (zh) |
WO (1) | WO2017215383A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995502A (zh) * | 2019-12-18 | 2020-04-10 | 迈普通信技术股份有限公司 | 网络配置管理方法、装置、交换设备及可读存储介质 |
CN115296987A (zh) * | 2022-07-25 | 2022-11-04 | 武汉烽火技术服务有限公司 | 一种sdh设备网元自动上管方法及系统 |
CN115442268A (zh) * | 2022-08-30 | 2022-12-06 | 烽火通信科技股份有限公司 | 一种网元端口状态检测、定位系统及方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667938A (zh) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | 一种远程配置网元设备的方法和系统 |
CN101677291A (zh) * | 2008-09-18 | 2010-03-24 | 华为技术有限公司 | 一种网元设备自动配置的方法、装置及系统 |
CN101834742A (zh) * | 2010-05-06 | 2010-09-15 | 烽火通信科技股份有限公司 | 通过网管服务器远程配置网元的方法 |
CN102780569A (zh) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | 远程管理方法及网元设备 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579728B (zh) * | 2013-10-17 | 2019-02-26 | 中兴通讯股份有限公司 | 网元设备配置和管理方法、装置及网元设备 |
-
2016
- 2016-06-13 CN CN201610411213.2A patent/CN107493182A/zh not_active Withdrawn
-
2017
- 2017-05-12 WO PCT/CN2017/084208 patent/WO2017215383A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101677291A (zh) * | 2008-09-18 | 2010-03-24 | 华为技术有限公司 | 一种网元设备自动配置的方法、装置及系统 |
CN101667938A (zh) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | 一种远程配置网元设备的方法和系统 |
CN101834742A (zh) * | 2010-05-06 | 2010-09-15 | 烽火通信科技股份有限公司 | 通过网管服务器远程配置网元的方法 |
CN102780569A (zh) * | 2011-05-09 | 2012-11-14 | 中兴通讯股份有限公司 | 远程管理方法及网元设备 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995502A (zh) * | 2019-12-18 | 2020-04-10 | 迈普通信技术股份有限公司 | 网络配置管理方法、装置、交换设备及可读存储介质 |
CN110995502B (zh) * | 2019-12-18 | 2022-06-21 | 迈普通信技术股份有限公司 | 网络配置管理方法、装置、交换设备及可读存储介质 |
CN115296987A (zh) * | 2022-07-25 | 2022-11-04 | 武汉烽火技术服务有限公司 | 一种sdh设备网元自动上管方法及系统 |
CN115296987B (zh) * | 2022-07-25 | 2023-11-10 | 烽火通信科技股份有限公司 | 一种sdh设备网元自动上管方法及系统 |
CN115442268A (zh) * | 2022-08-30 | 2022-12-06 | 烽火通信科技股份有限公司 | 一种网元端口状态检测、定位系统及方法 |
CN115442268B (zh) * | 2022-08-30 | 2023-06-09 | 烽火通信科技股份有限公司 | 一种网元端口状态检测、定位系统及方法 |
Also Published As
Publication number | Publication date |
---|---|
CN107493182A (zh) | 2017-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9634928B2 (en) | Mesh network of simple nodes with centralized control | |
US11374857B2 (en) | Network device management method and apparatus, and system for indicating a network device to perform management operation | |
JP6001797B2 (ja) | モノのインターネットにおけるZigBeeネットワークを管理する方法 | |
US7773541B2 (en) | Obtaining identification information for a neighboring network element | |
US7778201B2 (en) | Determining a logical neighbor of a network element | |
WO2016101646A1 (zh) | 以太虚拟网络的接入方法及装置 | |
CN109391614B (zh) | 一种基于视联网调取监控数据的方法和装置 | |
CN107438016A (zh) | 网络管理方法、设备、系统以及存储介质 | |
CN113315645B (zh) | 配置性能探测指示信息的方法及相关设备 | |
CN102857377B (zh) | 一种列车网络在线拓扑自动生成方法 | |
US11588701B2 (en) | Method and system for determining network slice topology, and device | |
WO2017215383A1 (zh) | 网元配置方法及装置、网元管理方法及装置 | |
CN110351141B (zh) | FlexE接口管理方法、装置及网元 | |
CN104283802A (zh) | 邻居发现方法和设备 | |
CN105207909B (zh) | 一种发送信息的方法和网络装置 | |
CN105637806A (zh) | 网络拓扑确定方法和装置、集中式网络状态信息存储设备 | |
CN103200107B (zh) | 一种报文的传输方法和设备 | |
WO2015070763A1 (zh) | X2接口的自建立方法及装置 | |
CN103108347A (zh) | 有线网络和无线网络的关联告警方法及装置 | |
CN104486193A (zh) | 一种建立网络节点互联的方法及装置 | |
CN115695204A (zh) | 一种自动发现网络设备的方法、系统及存储介质 | |
CN104270307A (zh) | 一种bgp邻居的建立方法及设备 | |
CN111130887B (zh) | 一种设备间拓扑关系智能通告实现方法 | |
CN108123864B (zh) | Evpn隧道监控方法和装置 | |
CN106712994B (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: 17812494 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: 17812494 Country of ref document: EP Kind code of ref document: A1 |