CN113132501A - System, method, device and medium for managing multiple optical transport network devices by single IP address - Google Patents
System, method, device and medium for managing multiple optical transport network devices by single IP address Download PDFInfo
- Publication number
- CN113132501A CN113132501A CN201911407591.3A CN201911407591A CN113132501A CN 113132501 A CN113132501 A CN 113132501A CN 201911407591 A CN201911407591 A CN 201911407591A CN 113132501 A CN113132501 A CN 113132501A
- Authority
- CN
- China
- Prior art keywords
- address
- equipment
- transport network
- optical transport
- management system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 125
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004891 communication Methods 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 24
- 238000007726 management method Methods 0.000 abstract description 85
- 230000003044 adaptive effect Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000010410 layer Substances 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- 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/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Optical Communication System (AREA)
Abstract
The invention provides a system, a method, a device and a medium for managing a plurality of optical transport network devices by a single IP address, comprising the following steps: a device management system; a gateway device configured with an IP address for communicating with the device management system; one or more serially connected optical transport network devices configured with an internal IP address for communicating with a gateway device for communicating with the device management system through the gateway device. The invention greatly reduces the number of IP addresses which need to be allocated and used for the equipment in the client network, simplifies the network planning and management complexity when managing large-scale equipment, is convenient for an equipment management system to abstract physical equipment into a management object for modeling, and introduces the equipment machine frame number into the naming of the modeling object for adaptive management.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a system, a method, a device, and a medium for managing multiple optical transport network devices by using a single IP address.
Background
Optical transport network equipment using OTN technology has always played an important role in optical networks. The functions of transparent transmission, perfect OAM, protection and the like of the OTN can meet the requirement of the novel service on the service quality. The OTN can provide a point-to-point private line, mainly aiming at three types of requirements: the special line service and the internet service, the honored guest client and the common client, and the OTN transmission and the packet transmission, and the access type OTN can realize the end-to-end OTN connection from the access network to the metropolitan area network and the core network. With the development of new services, such as the development of 5G and internet of things technologies and applications, the bandwidth demand of access services is rapidly increasing, the sinking and deployment of optical transmission network equipment become a great trend, an end-to-end OTN optical transmission network covering a metropolitan access layer, a metropolitan convergence layer, a metropolitan core layer and a long-distance trunk layer is constructed, and the realization of the "optical speed direct" of the bearer service is a necessary trend of future network development.
Edge data centers have evolved to address the challenges presented by network latency and application availability. IDC data shows that more than 50% of data needs to be analyzed, processed and stored at the edge side of the network in 2020, the edge computing market scale is over trillion, and the IDC data becomes a market which is equal to cloud computing in autumn. Edge data centers can play an important role in applications that rely on providing video-on-demand services, financial information for financial markets, retail enterprises operating secure EPOS systems, micro-base stations for telecommunications carriers, and support for unmanned vehicles. Meanwhile, interconnection requirements and high-bandwidth and high-quality private line services are generated among a large number of edge data centers.
Therefore, the construction of the optical transport network will be rapidly developed in the future, and the deployment number of the optical transport network devices will be greatly increased, which is accompanied by the challenge of managing a large-scale optical transport network, and the increase of the device number increases the difficulty for planning and deploying the network devices and the management complexity of the device management system.
At present, the common design is that each device in the optical transport network needs to configure a corresponding IP address, and complete communication including management protocol and report message with the management system. With the increase of the scale of the optical transport network and the increase of the number of devices, the demand for the number of IP addresses in the network will also increase sharply, and generally speaking, the IP address resources of the client network are precious and limited, and the demand for the IP addresses with large data volume greatly increases the difficulty and complexity of network design for the planning of the whole network, and also puts very high requirements on the device management system. Therefore, how to provide a method for reducing the requirement on the number of IP addresses and reducing the difficulty of network planning and the complexity of a management system when deploying and managing a large-scale optical transport network is an urgent technical problem in the art to be solved.
Content of application
In view of the above-mentioned shortcomings of the prior art, the present invention aims to provide a system, a method, a device and a medium for managing multiple optical transport network devices by using a single IP address, so as to solve the technical problem of how to provide a method for managing multiple devices by using a single IP address for an optical transport network.
To achieve the above and other related objects, a first aspect of the present invention provides a system for managing a plurality of optical transport network devices by a single IP address, comprising: a device management system; a gateway device configured with an IP address for communicating with the device management system; one or more serially connected optical transport network devices configured with an internal IP address for communicating with a gateway device for communicating with the device management system through the gateway device.
In some embodiments of the first aspect of the present invention, the gateway device is configured with a fixed device subrack number; the optical transport network equipment generates a corresponding equipment machine frame number based on a hardware switch of the optical transport network equipment, and generates a corresponding internal IP address based on the equipment machine frame number; the equipment frame number, the internal IP address and the communication port number of the optical transport network equipment are in one-to-one correspondence.
In some embodiments of the first aspect of the present invention, the optical transport network device includes a plurality of groups of dip switches, the on-off state of each group of dip switches is mapped to a corresponding on-off value, and the device frame number is calculated by the on-off values of the plurality of groups of dip switches; and setting the last part of the internal IP address of the optical transport network equipment according to the equipment machine frame number.
In some embodiments of the first aspect of the present invention, after receiving the message issued by the device management system, the gateway device queries corresponding internal IP address information according to the target port number information in the issued message, and forwards the issued message to the corresponding optical transport network device.
In some embodiments of the first aspect of the present invention, after receiving the information reported by the otn device, the gateway device modifies the source IP address in the report message into the IP address of the gateway device itself, and reports the message to the device management system after introducing the device frame number corresponding to the source IP address into the report message.
To achieve the above and other related objects, a second aspect of the present invention provides a method for managing a plurality of optical transport network devices by a single IP address, applied to a gateway device; the method comprises the following steps: configuring an IP address for communication with a device management system; and communicating with the optical transport network equipment based on the internal IP address configured by the optical transport network equipment so as to forward the information issued by the equipment management system to the corresponding optical transport network equipment and transmit the information reported by the optical transport network equipment to the equipment management system.
To achieve the above and other related objects, a third aspect of the present invention provides a method for managing a plurality of optical transport network devices by a single IP address, applied to the optical transport network devices; the method comprises the following steps: configuring an internal IP address for communicating with a gateway device; and communicating with a device management system through the gateway device based on the internal IP address.
To achieve the above and other related objects, a fourth aspect of the present invention provides a gateway device, comprising a processor and a memory; the memory is used for storing a computer program; the processor is configured to execute the computer program stored by the memory to cause the apparatus to perform the method.
To achieve the above and other related objects, a fifth aspect of the present invention provides an optical transport network device, including a processor and a memory; the memory is used for storing a computer program; the processor is configured to execute the computer program stored by the memory to cause the apparatus to perform the method.
To achieve the above and other related objects, a sixth aspect of the present invention provides a computer readable storage medium having stored thereon a first computer program and/or a second computer program, which when executed by a processor, performs the method of the second aspect of the present invention; which when executed by a processor implements the method of the third aspect of the invention.
As described above, the system, method, device and medium for managing multiple optical transport network devices by using a single IP address according to the present invention have the following advantages: the invention provides a technical scheme for managing a plurality of devices by adopting a single IP address for an optical transport network, greatly reduces the number of IP addresses which need to be allocated and used for the devices in a client network, simplifies network planning and management complexity when large-scale devices are managed, is convenient for an equipment management system to abstract physical devices into a management object for modeling, and introduces the device frame number into the naming of the modeling object for adaptive management.
Drawings
Fig. 1 is a schematic system structure diagram illustrating a single IP address managing multiple otn devices according to an embodiment of the present invention.
Fig. 2A is a schematic diagram illustrating an SNMP message forwarding process according to an embodiment of the present invention.
Fig. 2B is a schematic diagram illustrating an SNMP message forwarding process according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a method for managing multiple otns for a single IP address according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a method for managing multiple otns for a single IP address according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a gateway device according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an optical transport network device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It is noted that in the following description, reference is made to the accompanying drawings which illustrate several embodiments of the present invention. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present invention is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "above," "upper," and the like, may be used herein to facilitate describing one element or feature's relationship to another element or feature as illustrated in the figures.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," "retained," and the like are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," and/or "comprising," when used in this specification, specify the presence of stated features, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions or operations are inherently mutually exclusive in some way.
An Optical Transport Network (OTN) is a transport network that implements transport, multiplexing, routing, and monitoring of service signals in an optical domain, and ensures performance indexes and survivability thereof. In the current optical transport network, each device needs to configure a corresponding IP address to complete communication including management protocol and report message with the device management system.
In general, an SNMP protocol is adopted for communication between an optical transport network frame device and a device management system, where the protocol is a network management protocol based on UDP, the device management system reads and modifies configuration attributes of a device through a specified port (e.g., 161 port), and the device sends a message, such as event information and alarm information, generated on a network element to the device management system through a specified port (e.g., 162 port). Therefore, each device managed in the network needs to be assigned an IP address to communicate with the management system, so that when large-scale devices are managed, valuable IP address resources of clients are greatly consumed, and complexity of network planning and device management is increased.
In view of this, the present invention provides a system, a method, a device and a medium for managing multiple optical transport network devices by using a single IP address, which provides a technical solution for managing multiple devices by using a single IP address for an optical transport network, greatly reduces the number of IP addresses to be allocated and used for devices in a client network, simplifies network planning and management complexity in managing large-scale devices, facilitates the device management system to abstract physical devices into management objects for modeling, and introduces device frame numbers into the naming of the modeling objects for adaptive management.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention are further described in detail by the following embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Fig. 1 is a schematic diagram illustrating a system architecture for managing multiple optical transport network devices by using a single IP address according to an embodiment of the present invention. It should be noted that the management system of this embodiment is based on the optimization of the existing otn device management system, and specifically includes a device management system 11, a gateway device 12, and one or more otns devices (in this embodiment, a plurality of otns devices are selected and respectively denoted as an otn device 13, an otn device 14, and an otn device 15).
In this embodiment, the device management system 11 only directly communicates with the gateway device 12, one port of the gateway device 12 is connected to the device management system 11, the other port is connected to the optical transport network device 13, the optical transport network device 13 is connected to the next optical transport network device 14, the optical transport network device 14 is connected to the next optical transport network device 15, and so on, all the optical transport network devices are connected in series in the chain structure.
Specifically, the gateway device 12 is configured with an IP address for SNMP communication with the device management system 11; the optical transport network device is configured with an internal IP address for communicating with the gateway device 12 to communicate with the device management system 11 through the gateway device 12.
In a preferred implementation of this embodiment, the gateway device 12 is configured with a fixed device subrack number; the optical transport network equipment generates a corresponding equipment machine frame number based on a hardware switch of the optical transport network equipment, and generates a corresponding internal IP address based on the equipment machine frame number; the equipment machine frame number, the internal IP address and the communication port number of the optical transport network equipment are in one-to-one correspondence. Namely, each optical transport network device is provided with a hardware switch, the hardware switch is read by software to generate a device subrack number Shelf _ ID, and an internal IP address is generated according to the device subrack number Shelf _ ID.
It should be noted that the equipment Shelf number Shelf _ ID of the gateway device is fixed (for example, may be fixed to 1), and the equipment Shelf numbers of other optical transport network devices may be flexibly configured, but the equipment Shelf numbers of the optical transport network devices belonging to the same gateway device may not be duplicated, so as to avoid communication confusion.
Specifically, the optical transport network equipment comprises a plurality of groups of dial switches, the on-off state of each group of dial switches is mapped into a corresponding on-off value, and the machine frame number of the equipment is calculated according to the on-off values of the plurality of groups of dial switches; and setting the last part of the internal IP address of the optical transport network equipment according to the equipment machine frame number. For example, each hardware dial switch is composed of 5 groups of independent switch switches, each switch has two switch states, the software reads the switch states and respectively maps the switch states into values 0 and 1, the values of the 5 groups of switch switches are read and the corresponding equipment machine frame number Shelf _ ID is calculated, and meanwhile, based on the calculated Shelf _ ID value, the last part of the internal IP address is set according to the equipment machine frame number Shelf _ ID and is used for internal communication between the equipment. The corresponding calculation table is as follows:
table 1: calculating Shelf _ ID value and internal IP corresponding table according to dial switch
As can be seen from table 1, the software calculates the number Shelf _ ID of the corresponding equipment subrack by reading the Switch value, for example: the read values of Switch 1-Switch 5 are 0,0,0,1,1, respectively, and the number Shelf _ ID of the corresponding equipment subrack is 3 (2)0+21). The last part of the internal IP address is set according to the calculated Shelf _ ID, if the Shelf _ ID value is 0, the internal IP address is reserved and not used, if the Shelf _ ID value is 1, the internal IP address is fixedly distributed to the gateway equipment, and Shelf _ ID values of other equipment machine frames can be set to be values between 2 and 31 at will, so that a very flexible mechanism is provided for expansion and change of a corresponding system.
In this embodiment, since only the gateway device is directly connected to the device management system, and the other optical transport network devices are indirectly connected to the device management system, only the gateway device needs to configure an IP address for communicating with the device management system, and the optical transport network device configures an internal IP address for communicating with the gateway device, and forwards a communication message between the other device and the management system by the gateway device. The specific communication mechanism is as follows:
1) SNMP communication between the gateway device and the device management system uses the 161 port, i.e. the device management system reads and modifies the configuration attributes of the device through the 161 port.
2) The SNMP communication IP addresses between the otn device and the device management system all adopt the IP address of the gateway device, and the communication ports correspond to the serial number Shelf _ ID of the device frame one by one, as shown in table 2. The gateway device forwards the SNMP message received by a specific port (e.g., the 161 port) to the device 161 port corresponding to the corresponding internal IP address according to the correspondence in table 2.
Table 2: shelf _ ID and internal IP and SNMP communication port corresponding table
3) When the optical transport network equipment reports a message (such as event information or alarm information generated on a network element), the reported message adopts a port 162, the gateway equipment only needs to modify a source IP address in the source message into a self address and forward the self address to the equipment management system, and a Shelf _ ID field is introduced into a format of the reported message, so that the equipment management system can determine which equipment machine frame the reported message specifically comes from through the Shelf _ ID field. Specifically, the message format is shown in table 3 below:
table 3: device reporting information format
Shelf_ID | Message header | Message body |
In a preferred implementation manner of this embodiment, the gateway device forwards communication information between other optical transport network devices and the device management system, the message forwarding process includes an SNMP message forwarding processing process and a device report message forwarding processing process, and the forwarding mechanism defines a rule in the post output chain to modify and complete forwarding of the content of the forwarded message packet based on the iptables function of linux.
In the process of message distribution, after receiving the message distributed by the device management system, the gateway device queries corresponding internal IP address information according to the target port number information in the distributed message, and forwards the distributed message to corresponding optical transport network devices. After receiving the SNMP message sent by the device management system, the gateway device queries the corresponding relation with the internal IP address according to the SNMP communication port number, modifies the destination address into the internal IP address, modifies the port number into a 161 port, and forwards the message to the corresponding device for processing.
Taking the SNMP message forwarding processing flow shown in fig. 2A as an example, the device management system (IP address is 192.168.21.8) communicates with the gateway device (IP address is 192.168.21.7, internal IP address is 1.1.1.1), the gateway device is connected to the device 2 (internal IP address is 1.1.1.2), and the device 2 is connected to the device 3 (internal IP address is 1.1.1.3). If the gateway device receives a message from the SNMP communication port with the port number 16102, the gateway device forwards the received message to the port 161 of the optical transport network device with the internal IP address 1.1.1.2 according to the correspondence between the SNMP communication port number and the internal IP address; if the gateway device receives a message from the SNMP communication port with the port number 16103, the gateway device forwards the received message to the port 161 of the optical transport network with the internal IP address 1.1.1.3 according to the correspondence between the SNMP communication port number and the internal IP address.
In the process of reporting the message, after the gateway equipment receives the information reported by the optical transport network equipment, the source IP address in the reported message is modified into the IP address of the gateway equipment, and the message is reported to the equipment management system after the equipment machine frame number corresponding to the source IP address is introduced into the reported message. Namely, after receiving the report message of other devices, the gateway device modifies the source IP address in the message packet and forwards the message to the device management system, wherein the report message includes the device machine frame number Shelf _ ID field, and the device management system determines which device machine frame the report message specifically comes from according to the information of the field.
Taking the SNMP message reporting processing flow shown in fig. 2B as an example, the device management system (IP address is 192.168.21.8) communicates with the gateway device (IP address is 192.168.21.7, internal IP address is 1.1.1.1) through the router, the gateway device is connected to the device 2 (internal IP address is 1.1.1.2), and the device 2 is connected to the device 3 (internal IP address is 1.1.1.3). If the otn device reports a message using 162 port, for example, device 2 (internal IP address is 1.1.1.2) reports a message, the gateway device modifies the source IP address in the source message to its own IP address 192.168.21.7, introduces Shelf _ ID field in the format of the report message, and forwards the message to the device management system; for example, the device 3 (the internal IP address is 1.1.1.3) reports the message, the gateway device modifies the source IP address in the source message to its own IP address 192.168.21.7, introduces the Shelf _ ID field in the format of the report message, and forwards the message to the device management system.
In a preferred implementation of this embodiment, the device management system abstracts and models physical devices into management objects, including but not limited to devices, subracks, channels, boards, or ports, etc. Aiming at the condition that a single IP address manages a plurality of optical transport network devices, a machine frame number is introduced into the name of a modeling object for adaptation, so that the management object corresponds to the physical device one by one. Wherein, the shelf represents the frame id, the slotid represents the channel id, the cardtype represents the board type, the port id represents the port id, and the naming rule of the management object is specifically as shown in the following table 4:
table 4: naming rules for managing objects
Before the equipment management system issues the SNMP message, according to the mapping relation between the equipment machine frame number Shelf _ ID and the communication port, the destination address of the SNMP message is set as gateway equipment, the destination port is set as a corresponding port, and as described above, the gateway equipment forwards the message to the corresponding equipment machine frame; when the equipment management system receives the report message sent by the gateway equipment, the specific equipment machine frame for reporting the message is determined to carry out corresponding processing according to the Shelf _ ID field in the message.
As can be seen from the above, the system for managing multiple optical transport network devices by using a single IP address provided in this embodiment greatly reduces the number of IP addresses that need to be allocated to devices in a client network, simplifies network planning and management complexity in managing large-scale devices, and facilitates the device management system to abstract physical devices into a management object for modeling, and introduces a device machine frame number into the naming of the modeling object for adaptive management.
Example two
Fig. 3 is a schematic flow chart illustrating a method for managing multiple optical transport network devices by using a single IP address according to an embodiment of the present invention. The method provided by the present embodiment includes steps S31 and S32, which are applied to a gateway device in a system in which a single IP address manages a plurality of optical transport network devices.
Step S31: an IP address is configured for communication with a device management system.
Step S32: and communicating with the optical transport network equipment based on the internal IP address configured by the optical transport network equipment so as to forward the information issued by the equipment management system to the corresponding optical transport network equipment and transmit the information reported by the optical transport network equipment to the equipment management system.
Specifically, the gateway device is configured with a fixed device subrack number; the optical transport network equipment generates a corresponding equipment machine frame number based on a hardware switch of the optical transport network equipment, and generates a corresponding internal IP address based on the equipment machine frame number; the optical transport network equipment comprises an optical transport network equipment frame, an internal IP address and an SNMP port number, wherein the equipment frame number, the internal IP address and the SNMP port number of the optical transport network equipment correspond to one another one to one.
After receiving the message issued by the device management system, inquiring corresponding internal IP address information according to the target port number information in the issued message, and forwarding the issued message to corresponding optical transport network equipment. After receiving the SNMP message sent by the device management system, the gateway device queries the corresponding relationship with the internal IP address according to the SNMP port number, modifies the destination address to the internal IP address, modifies the port number (for example, 161 port), and forwards the message to the corresponding device for processing.
After receiving the information reported by the optical transport network equipment, modifying the source IP address in the reported information into the IP address of the equipment, introducing the equipment machine frame number corresponding to the source IP address into the reported information, and reporting the information to an equipment management system. Namely, after receiving the report message of other devices, the gateway device modifies the source IP address in the message packet and forwards the message to the device management system, wherein the report message includes the device machine frame number Shelf _ ID field, and the device management system determines which device machine frame the report message specifically comes from according to the information of the field.
It should be noted that the method for managing multiple otns with a single IP address in this embodiment is similar to the embodiment of the system for managing multiple otns with a single IP address in the above embodiment, and therefore, the description is omitted.
EXAMPLE III
Fig. 4 is a schematic flow chart illustrating a method for managing multiple optical transport network devices by using a single IP address according to an embodiment of the present invention. The method provided by the present embodiment includes steps S41 and S42, which are applied to an optical transport network device in a system in which a single IP address manages a plurality of optical transport network devices.
Step S41: an internal IP address is configured for communication with the gateway device.
Specifically, the OTN device generates a corresponding device machine frame number based on a hardware switch thereof, and generates a corresponding internal IP address based on the device machine frame number; the equipment machine frame number, the internal IP address and the communication port number of the optical transport network equipment are in one-to-one correspondence. Namely, each optical transport network device is provided with a hardware switch, the hardware switch is read by software to generate a device subrack number Shelf _ ID, and an internal IP address is generated according to the device subrack number Shelf _ ID.
It should be noted that the equipment Shelf number Shelf _ ID of the gateway device is fixed (for example, may be fixed to 1), and the equipment Shelf numbers of other optical transport network devices may be flexibly configured, but the equipment Shelf numbers of the optical transport network devices belonging to the same gateway device may not be duplicated, so as to avoid communication confusion.
For example, each hardware dial switch is composed of 5 groups of independent switch switches, each switch has two switch states, the software reads the switch states and respectively maps the switch states into values 0 and 1, the values of the 5 groups of switch switches are read and the corresponding equipment machine frame number Shelf _ ID is calculated, and meanwhile, based on the calculated Shelf _ ID value, the last part of the internal IP address is set according to the equipment machine frame number Shelf _ ID and is used for internal communication between the equipment.
Step S42: and communicating with a device management system through the gateway device based on the internal IP address. Namely, the gateway device receives the message issued by the device management system, and reports the message to the device management system through the gateway device.
It should be noted that the method for managing multiple otns with a single IP address in this embodiment is similar to the embodiment of the system for managing multiple otns with a single IP address in the above embodiment, and therefore, the description is omitted.
Example four
Fig. 5 is a schematic structural diagram of a gateway device in an embodiment of the present invention. The gateway device provided by this embodiment includes: a processor 51, a memory 52, a communicator 53; the memory 52 is connected to the processor 51 and the communicator 53 through the system bus and completes communication with each other, the memory 52 is used for storing computer programs, the communicator 53 is used for communicating with other devices, and the processor 51 is used for running the computer programs, so that the electronic terminal executes the steps of the method for managing a plurality of optical transport network devices by using a single IP address.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a gateway device in an embodiment of the present invention. The gateway device provided by this embodiment includes: a processor 61, a memory 62, a communicator 63; the memory 62 is connected to the processor 61 and the communicator 63 through the system bus and completes mutual communication, the memory 62 is used for storing computer programs, the communicator 63 is used for communicating with other devices, and the processor 61 is used for running the computer programs, so that the electronic terminal executes the steps of the method for managing a plurality of optical transport network devices by a single IP address.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
EXAMPLE six
The present embodiment provides a computer-readable storage medium on which a first computer program and/or a second computer program is stored, characterized in that the first computer program, when executed by a processor, implements a method of managing a plurality of optical transport network devices for a single IP address applied to a gateway device; the second computer program, when executed by a processor, implements a method for managing a plurality of optical transport network devices for application to a single IP address of an optical transport network device.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In summary, the present invention provides a system, a method, a device and a medium for managing multiple optical transport network devices by using a single IP address, and aims to provide a technical solution for managing multiple devices by using a single IP address for an optical transport network. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (12)
1. A system for managing a plurality of optical transport network devices by a single IP address, comprising:
a device management system;
a gateway device configured with an IP address for communicating with the device management system;
one or more serially connected optical transport network devices configured with an internal IP address for communicating with a gateway device for communicating with the device management system through the gateway device.
2. The system of claim 1, comprising:
the gateway equipment is configured with a fixed equipment machine frame number;
the optical transport network equipment generates a corresponding equipment machine frame number based on a hardware switch of the optical transport network equipment, and generates a corresponding internal IP address based on the equipment machine frame number; the equipment frame number, the internal IP address and the communication port number of the optical transport network equipment are in one-to-one correspondence.
3. The system of claim 2, wherein the optical transport network equipment comprises a plurality of groups of dip switches, the switch state of each group of dip switches is mapped to a corresponding switch value, and the equipment subrack number is calculated through the switch values of the plurality of groups of dip switches; and setting the last part of the internal IP address of the optical transport network equipment according to the equipment machine frame number.
4. The system of claim 1, comprising:
and after receiving the message issued by the equipment management system, the gateway equipment queries corresponding internal IP address information according to the target port number information in the issued message and forwards the issued message to corresponding optical transport network equipment.
5. The system of claim 1, comprising:
and after receiving the information reported by the optical transport network equipment, the gateway equipment modifies the source IP address in the reported information into the IP address of the gateway equipment, introduces the equipment frame number corresponding to the source IP address into the reported information, and reports the information to an equipment management system.
6. A method for managing a plurality of optical transport network devices by a single IP address, which is applied to the gateway device of claim 1; the method comprises the following steps:
configuring an IP address for communication with a device management system;
and communicating with the optical transport network equipment based on the internal IP address configured by the optical transport network equipment so as to forward the information issued by the equipment management system to the corresponding optical transport network equipment and transmit the information reported by the optical transport network equipment to the equipment management system.
7. The method of claim 6, comprising:
after receiving a message issued by an equipment management system, inquiring corresponding internal IP address information according to target port number information in the issued message, and forwarding the issued message to corresponding optical transport network equipment;
after receiving the information reported by the optical transport network equipment, modifying the source IP address in the reported information into the IP address of the equipment, introducing the equipment machine frame number corresponding to the source IP address into the reported information, and reporting the information to an equipment management system;
the gateway equipment is configured with a fixed equipment machine frame number; the optical transport network equipment generates a corresponding equipment machine frame number based on a hardware switch of the optical transport network equipment, and generates a corresponding internal IP address based on the equipment machine frame number; the optical transport network equipment comprises an optical transport network equipment frame, an internal IP address and an SNMP port number, wherein the equipment frame number, the internal IP address and the SNMP port number of the optical transport network equipment correspond to one another one to one.
8. A method for managing a plurality of optical transport network devices by a single IP address, which is applied to the optical transport network device of claim 1; the method comprises the following steps:
configuring an internal IP address for communicating with a gateway device;
and communicating with a device management system through the gateway device based on the internal IP address.
9. The method of claim 8, comprising:
generating a corresponding equipment machine frame number based on the hardware switch;
generating a corresponding internal IP address based on the equipment machine frame number;
and the equipment machine frame number, the internal IP address and the SNMP port number are in one-to-one correspondence.
10. A gateway device, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the memory-stored computer program to cause the apparatus to perform the method of managing a plurality of optical transport network devices by a single IP address as claimed in claim 6 or 7.
11. An optical transport network apparatus, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the memory stored computer program to cause the apparatus to perform the method of managing a plurality of optical transport network devices by a single IP address as claimed in claim 8 or 9.
12. A computer-readable storage medium, on which a first computer program and/or a second computer program is stored, characterized in that the first computer program, when being executed by a processor, implements the method of single IP address management of multiple optical transport network devices of claim 6 or 7; the first computer program, when executed by a processor, implements the method of single IP address management of multiple optical transport network devices of claim 8 or 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911407591.3A CN113132501A (en) | 2019-12-31 | 2019-12-31 | System, method, device and medium for managing multiple optical transport network devices by single IP address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911407591.3A CN113132501A (en) | 2019-12-31 | 2019-12-31 | System, method, device and medium for managing multiple optical transport network devices by single IP address |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113132501A true CN113132501A (en) | 2021-07-16 |
Family
ID=76769624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911407591.3A Pending CN113132501A (en) | 2019-12-31 | 2019-12-31 | System, method, device and medium for managing multiple optical transport network devices by single IP address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113132501A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114401179A (en) * | 2022-01-11 | 2022-04-26 | 中国联合网络通信集团有限公司 | Network element management method, device, equipment and storage medium |
CN114697774A (en) * | 2022-04-11 | 2022-07-01 | 中国电信股份有限公司 | Port management method and device, computer-readable storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859251A (en) * | 2006-01-26 | 2006-11-08 | 华为技术有限公司 | Method for realizing communication unit interconnection |
CN1937525A (en) * | 2006-09-27 | 2007-03-28 | 华为技术有限公司 | Network management method and system |
KR20070079860A (en) * | 2006-02-03 | 2007-08-08 | 삼성전자주식회사 | System and method for managing plural element by public internet protocol |
CN102035661A (en) * | 2009-09-24 | 2011-04-27 | 中兴通讯股份有限公司 | Method, device and system for managing optical network unit |
CN102149024A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method, device and system for vicariously managing ONU (Optical Network Unit) by OLT (Optical Line Terminal) |
-
2019
- 2019-12-31 CN CN201911407591.3A patent/CN113132501A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859251A (en) * | 2006-01-26 | 2006-11-08 | 华为技术有限公司 | Method for realizing communication unit interconnection |
KR20070079860A (en) * | 2006-02-03 | 2007-08-08 | 삼성전자주식회사 | System and method for managing plural element by public internet protocol |
CN1937525A (en) * | 2006-09-27 | 2007-03-28 | 华为技术有限公司 | Network management method and system |
CN102035661A (en) * | 2009-09-24 | 2011-04-27 | 中兴通讯股份有限公司 | Method, device and system for managing optical network unit |
CN102149024A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method, device and system for vicariously managing ONU (Optical Network Unit) by OLT (Optical Line Terminal) |
Non-Patent Citations (2)
Title |
---|
周艳艳: "《Linux服务器搭建完全技术宝典》", 30 June 2010 * |
赵时旻: "《轨道交通信息工程案例集》", 31 May 2007 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114401179A (en) * | 2022-01-11 | 2022-04-26 | 中国联合网络通信集团有限公司 | Network element management method, device, equipment and storage medium |
CN114401179B (en) * | 2022-01-11 | 2023-09-05 | 中国联合网络通信集团有限公司 | Network element management method, device, equipment and storage medium |
CN114697774A (en) * | 2022-04-11 | 2022-07-01 | 中国电信股份有限公司 | Port management method and device, computer-readable storage medium and electronic equipment |
CN114697774B (en) * | 2022-04-11 | 2023-10-03 | 中国电信股份有限公司 | Port management method and device, computer readable storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106936777B (en) | Cloud computing distributed network implementation method and system based on OpenFlow | |
US8842671B2 (en) | Packet switching based on global identifier | |
US10129182B2 (en) | Methods and apparatus for providing services in distributed switch | |
US10097479B1 (en) | Methods and apparatus for randomly distributing traffic in a multi-path switch fabric | |
US9137176B2 (en) | Dual-role modular scaled-out fabric coupler chassis | |
US20120131225A1 (en) | Data center network system and packet forwarding method thereof | |
US10868716B1 (en) | Hierarchical resource groups for providing segregated management access to a distributed switch | |
US9485198B1 (en) | Methods and apparatus for multicast traffic failover in a network | |
US10097481B2 (en) | Methods and apparatus for providing services in distributed switch | |
EP2466822A1 (en) | Methods and apparatus for managing next hop identifiers in a distributed switch fabric system | |
US8615015B1 (en) | Apparatus, systems and methods for aggregate routes within a communications network | |
EP3682597B1 (en) | Modeling access networks as trees in software-defined network controllers | |
US9467374B2 (en) | Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway | |
US8532114B2 (en) | Cluster router and cluster routing method | |
US9596137B1 (en) | Methods and apparatus for configuration binding in a distributed switch | |
CN103078798A (en) | Method and equipment for establishing route table | |
CN108347392B (en) | Cross-board processing method, device and system for service message | |
CN108471390B (en) | Cross-board processing system for service message and redirection method for service message | |
US11588756B2 (en) | Networking system having multiple components with multiple loci of control | |
CN107547346B (en) | Message transmission method and device | |
CN108965134B (en) | Message forwarding method and device | |
US9124519B2 (en) | System guided surrogating control in broadcast and multicast | |
CN113132501A (en) | System, method, device and medium for managing multiple optical transport network devices by single IP address | |
CN111277423A (en) | Data center flow intercommunication method, device, equipment and storage medium | |
CN116506348A (en) | Communication network system, message forwarding method and message forwarding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210716 |