CN115733785A - Network equipment management method, device, system and storage medium - Google Patents

Network equipment management method, device, system and storage medium Download PDF

Info

Publication number
CN115733785A
CN115733785A CN202110996002.0A CN202110996002A CN115733785A CN 115733785 A CN115733785 A CN 115733785A CN 202110996002 A CN202110996002 A CN 202110996002A CN 115733785 A CN115733785 A CN 115733785A
Authority
CN
China
Prior art keywords
protocol adapter
protocol
network equipment
network device
communication
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
Application number
CN202110996002.0A
Other languages
Chinese (zh)
Inventor
王尔涛
杨威
温兴宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202110996002.0A priority Critical patent/CN115733785A/en
Priority to PCT/CN2022/112563 priority patent/WO2023024956A1/en
Publication of CN115733785A publication Critical patent/CN115733785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a network equipment management method, a device, a system and a storage medium, which can distribute the accessed network equipment with different protocol types to corresponding protocol adapters for management in a distributed scene, and update a routing table, so that the network equipment with different protocol types can be correctly addressed, and upper-layer application can be interacted with the network equipment with different protocol types, and meanwhile, the isolation of the upper-layer application and the network equipment is realized; the method eliminates the difference between the network devices with different protocol types, can realize the dynamic addition of the network device types without influencing the original framework, and achieves the purposes of self-adapting and high-efficiency management of the network devices.

Description

Network equipment management method, device, system and storage medium
Technical Field
The present application relates to, but not limited to, the field of communications technologies, and in particular, to a method, an apparatus, a system, and a storage medium for managing network devices.
Background
With the evolution of communication technology, the rapid development of mobile technology and the popularization of intelligent terminals, the multi-system integration and coexistence technology in the network is concerned. At present, in order to facilitate multi-system and multi-layer network cooperative operation, network devices of various protocol types are all accessed into a network device management system for management. However, there are many systems coexisting and network devices accessing, which bring management difficulties to some extent.
Disclosure of Invention
The embodiment of the application provides a network equipment management method, a device, a system and a storage medium, which can distribute the accessed network equipment with different protocol types to corresponding protocol adapters for management in a distributed scene, and update a routing table, so that the network equipment with different protocol types can be correctly addressed, and upper-layer application can interact with the network equipment with different protocol types and is isolated from the network equipment; the method eliminates the difference between network devices with different protocol types, can realize dynamic addition of the network device types without influencing the original architecture, and achieves the purposes of self-adapting and high-efficiency management of the network devices.
In a first aspect, an embodiment of the present application provides a network device management method, which is applied to a distributed service architecture, and the method includes:
acquiring network equipment information and protocol adapter information;
establishing a mapping relation between the network equipment and the protocol adapter according to a preset algorithm;
and updating a routing table according to the mapping relation, wherein the routing table is used for establishing communication between the application and the network equipment.
In a second aspect, an embodiment of the present application further provides a protocol adapter management method, which is applied to a protocol adaptation manager in a distributed service architecture, where the method includes:
receiving protocol adapter information, wherein the protocol adapter information comprises protocol type information;
registering the protocol adapter to the protocol adaptation manager according to the protocol type information;
according to the network device management method of the first aspect, the network device having the mapping relationship with the protocol adapter is managed.
In a third aspect, an embodiment of the present application provides a communication method, which is applied to a distributed service architecture, where the method includes:
receiving a communication request sent by an application;
determining a target protocol adapter address according to the communication request and a routing table, the routing table being obtained according to the network device management method of the first aspect;
forwarding the communication request according to the target protocol adapter address;
receiving a processing result returned by the target protocol adapter;
and returning the processing result to the application.
In a fourth aspect, an embodiment of the present application further provides a communication method, which is applied to a protocol adapter in a distributed service architecture, where the method includes:
receiving a communication request of an application forwarded according to a routing table;
establishing communication connection with the network equipment with the mapping relation with the protocol adapter;
sending the communication request to the network device;
forwarding the processing result of the network device to the application;
wherein the routing table and the mapping relationship are obtained according to the network device management method of the first aspect.
In a fifth aspect, an embodiment of the present application further provides another communication method, which is applied to a network device in a distributed service architecture, and the method includes:
establishing communication connection with a protocol adapter having a mapping relationship with the network device, the mapping relationship being obtained according to the network device management method of the first aspect;
receiving a communication request forwarded by the protocol adapter, wherein the communication request is originated from an application;
and sending a processing result corresponding to the communication request to the protocol adapter.
In a sixth aspect, an embodiment of the present application provides a network device management apparatus, which is applied to a distributed service architecture, and the apparatus includes:
the information acquisition module is used for acquiring network equipment information and protocol adapter information;
the mapping relation establishing module is used for establishing the mapping relation between the network equipment and the protocol adapter according to a preset algorithm;
and the routing table updating module is used for updating a routing table according to the mapping relation, and the routing table is used for establishing communication between the application and the network equipment.
In a seventh aspect, an embodiment of the present application provides a protocol adaptation management apparatus, which is applied to a distributed service architecture, where the protocol adaptation management apparatus includes:
the protocol adapter information receiving module is used for receiving protocol adapter information, and the protocol adapter information comprises protocol type information;
the protocol adapter management module is used for registering the protocol adapter to the protocol adaptation manager according to the protocol type information;
a network device management module, configured to manage, according to the network device management method in the first aspect, the network device having the mapping relationship with the protocol adapter.
In an eighth aspect, an embodiment of the present application further provides a communication apparatus, applied to a distributed service architecture, for providing a communication forwarding service, where the apparatus includes:
the receiving module is used for receiving the communication request sent by the application and receiving the processing result returned by the target protocol adapter;
a protocol adapter address determining module, configured to determine a target protocol adapter address according to the communication request and a routing table, where the routing table is obtained according to the network device management method in the first aspect;
and the forwarding module is used for forwarding the communication request and forwarding the processing result to the application according to the target protocol adapter address.
In a ninth aspect, an embodiment of the present application further provides a communication apparatus, where the communication apparatus is applied to a protocol adapter in a distributed service architecture, and the apparatus includes:
the receiving module is used for receiving the communication request of the application forwarded according to the routing table;
the network equipment communication establishing module is used for establishing communication connection with the network equipment with the mapping relation with the protocol adapter;
the forwarding module is used for sending the communication request to the network equipment and forwarding a processing result of the network equipment to the application;
wherein the routing table and the mapping relationship are obtained according to the network device management method of the first aspect.
In a tenth aspect, an embodiment of the present application further provides another communication apparatus, where the communication apparatus is applied to a network device in a distributed service architecture, and the apparatus includes:
a protocol adapter communication establishing module, configured to establish a communication connection with a protocol adapter having a mapping relationship with the network device, where the mapping relationship is obtained according to the network device management method in the first aspect;
a receiving module, configured to receive a communication request forwarded by the protocol adapter, where the communication request is originated from an application;
and the sending module is used for sending the processing result corresponding to the communication request to the protocol adapter.
In an eleventh aspect, an embodiment of the present application further provides a network device management system, including a network device management apparatus, a communication apparatus, and a protocol adaptation management apparatus:
the network device management apparatus comprises the network device management apparatus according to the sixth aspect;
the protocol adaptation manager comprises the protocol adaptation management apparatus according to the seventh aspect;
the communication device comprises a communication device as described in the eighth aspect.
In a twelfth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are configured to execute the network device management method according to the first aspect, or to execute the protocol adapter management method according to the second aspect, or to execute the communication method according to the third aspect.
According to the method and the device, the accessed network devices of different protocol types can be distributed to the corresponding protocol adapters for management in a distributed scene, and the routing table is updated, so that the network devices of different protocol types can be correctly addressed, an upper layer application can be isolated from the network devices while interacting with the network devices of different protocol types, and a large amount of asynchronous messages can be rapidly responded; meanwhile, the difference between the network devices with different protocol types is eliminated, the dynamic addition of the network device types can be realized without influencing the original framework, and the purpose of managing the network devices in a self-adaptive and high-efficiency manner is achieved.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
Fig. 1 is a flowchart of a network device management method according to an embodiment of the present application;
fig. 2 is a flowchart of a network device management method according to another embodiment of the present application;
fig. 3 is a flowchart of a network device management method according to another embodiment of the present application;
fig. 4 is a flowchart of a network device management method according to another embodiment of the present application;
FIG. 5 is a flowchart of a protocol adapter management method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a network device management system framework according to an embodiment of the present application;
FIG. 7 is a block diagram of a communication device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a Zookeeper-based distributed service architecture according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. In the description of the present application, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, nor order.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
A network device: the variety of network devices, including: a switch, a router, a base station (such as a baseband processing unit BBU, a radio remote unit RRU), and the like.
Protocol Adapter (protocol Adapter, PA): the southbound interface is responsible for a plug-in which is communicated and interacted with network equipment, and can realize the 3GPP interface protocol function, for example, the processing of a CORBA protocol, a SOAP protocol, a RESTFul protocol and the like can be realized; accordingly, the protocol adapter may include CORBA adapter, SOAP adapter, and RESTFul adapter, etc.
South (Southbound): the interface of the management network or the device, i.e. the interface provided downwards.
Southward Access Layer (SAL): also called south adaptation layer, is an infrastructure service, and provides the south access service of managed network equipment for the upper application of network management.
Distributed Collaborative Service (DCS): the southbound object is used for dynamically managing various protocol adapters and adapter management.
Application (App): and the user-oriented upper layer application.
With the evolution of communication technology, networks of multiple systems coexist, network devices of various different protocol types can be accessed into a network device management system for management, and the management has the following three characteristics: one is that the network device has many protocol types. Therefore, the management problem of the network equipment under different communication protocols needs to be solved, the difference between different protocols is eliminated, the network equipment is uniformly managed, and the purpose of dynamically managing the network equipment is achieved when the new protocol network equipment is accessed without adjusting the original management system architecture; secondly, the number of network devices for access management is large. For a large amount of network equipment access, multi-node distributed management can be carried out, elastic expansion is supported, the reliability, the availability and the access efficiency of a system are ensured, and meanwhile fault transfer is realized; thirdly, a large amount of downlink and uplink messages are interacted between the network equipment management system and the network equipment. Under the condition that the network equipment protocol is not exposed, namely the network equipment protocol does not need to be concerned, the application layer of the network equipment management system is in charge of protocol coding, addressing, storage, updating of a routing table and the like through a routing module, interaction with uplink and downlink messages of network equipment with different protocols is realized, and meanwhile, the network equipment management system can deal with message storms.
Based on this, the application provides a network device management method, apparatus, system and storage medium, which can allocate the accessed network devices of different protocol types to the corresponding protocol adapters for management in a distributed scenario, and update the routing table, so that the network devices of different protocol types can be correctly addressed, and the upper layer application can interact with the network devices of different protocol types and is isolated from the network devices; the method eliminates the difference between the network devices with different protocol types, can realize the dynamic addition of the network device types without influencing the original framework, and achieves the purposes of self-adapting and high-efficiency management of the network devices.
The related art will be further explained with reference to fig. 1.
Fig. 1 is a flowchart of a network device management method according to an embodiment of the present application, where the network device management method in the embodiment at least includes the following steps:
step S110: and acquiring the network equipment information and the protocol adapter information.
In some embodiments, the network device management method is provided by a distributed collaborative services DCS.
In some embodiments, the distributed collaboration service DCS dynamically monitors the resource database through the message middleware to acquire creation and deletion of network device information.
In some embodiments, the distributed collaboration service DCS actively acquires creation and deletion of network device information through an interface.
In some embodiments, the distributed collaboration service DCS is able to listen to the creation and deletion of protocol adapter instances.
By acquiring the information of the network equipment and the information of the protocol adapter in real time, the network equipment is dynamically allocated to the protocol adapter for management, so that the network equipment is more accurately and timely allocated relative to the protocol adapter, a routing table can be accurately and timely updated, and the smoothness of a communication link is ensured.
Step S120: and establishing a mapping relation between the network equipment and the protocol adapter according to a preset algorithm.
In some embodiments, the eligible protocol adapter instances are mounted under distributed nodes of the distributed collaborative services architecture, and thus the mapping between the network device and the protocol adapter PA essentially represents the mapping between the network device and the distributed nodes of the distributed services architecture.
In some embodiments, the protocol adapter PA carries an algorithm packet during registration, the algorithm packet includes a preset algorithm for network device allocation, and the distributed cooperative service DCS may perform the network device allocation according to the algorithm in the algorithm packet.
In some embodiments, the protocol adapter PA does not specify an algorithm at registration, and therefore The distributed collaborative service DCS has a default algorithm, the Least Priority algorithm and The equipartition algorithm, respectively. Those skilled in The art know The specific meanings of The Least Priority algorithm and The averaging algorithm, and therefore, the detailed description thereof is omitted here.
Step S130: and updating a routing table according to the mapping relation, wherein the routing table is used for establishing communication between the application and the network equipment.
In some embodiments, the distributed collaboration service DCS dynamically assigns network devices to protocol adapters for management, updating routing tables. It is worth noting that if it is the first update, it is equivalent to creating a routing table. The routing table is capable of establishing indirect communication between the application and the network device.
According to the method and the device, the network devices of different protocol types can be distributed to the corresponding protocol adapters for management in a distributed scene, and the routing table is updated, so that the network devices of different protocol types can be correctly addressed, and upper-layer applications can interact with the network devices of different protocol types and are isolated from the network devices; the method eliminates the difference between the network devices with different protocol types, can realize the dynamic addition of the network device types without influencing the original framework, and achieves the purposes of self-adapting and high-efficiency management of the network devices.
Another embodiment of the present application will be described in detail below with reference to fig. 2.
Fig. 2 is a flowchart of a network device management method according to another embodiment of the present application, including at least the following steps:
step S111: dynamically monitoring the creation and deletion of network equipment information through message middleware; the creation and deletion of the protocol adapter instance is snooped.
The message middleware utilizes an efficient and reliable message transmission mechanism to carry out asynchronous data transmission, carries out integration of a distributed system based on data communication, and can extend communication among processes in a distributed environment by providing a message queue model and the message transmission mechanism.
Step S121: and the protocol adapter instance exists and has network equipment management capability, and the protocol adapter instance is mounted to distributed nodes of the distributed collaborative service architecture.
In some embodiments, the protocol adapter that determines the protocol type has been successfully registered, and the protocol adapter instance corresponding to the protocol type has been created and is valid, and the specific registration process is described in the following embodiments. The protocol adapter instance needs to be mounted under the distributed nodes of the distributed service architecture to implement specific operation and management of the network device.
Step S122: and distributing the network equipment to distributed nodes for management according to an equipartition algorithm.
In some embodiments, other algorithms may be employed to assign network devices, such as The Least Priority algorithm, and The like.
In some embodiments, the distributed cooperative service DCS acquires the designated algorithm packet through the interface provided by the southbound protocol adaptation manager, and loads and executes the designated algorithm packet, calculates the allocation result, and allocates the network element and the network device thereof to the corresponding protocol adapter instance node.
Step S131: and updating a routing table according to the mapping relation between the network equipment and the protocol adapter, wherein the routing table is used for establishing communication between the application and the network equipment.
In some embodiments, the routing table is updated based on an assignment of the distributed collaborative services DCS to the network device with respect to the protocol adapter instance. It is worth noting that if it is the first update, it is equivalent to creating a routing table. The routing table is capable of establishing indirect communication between the application and the network device.
According to the method and the device, the accessed network devices of different protocol types can be distributed to the corresponding protocol adapters for management in a distributed scene, and the routing table is updated, so that the network devices of different protocol types can be correctly addressed, and an upper layer application can be isolated from the network devices while interacting with the network devices of different protocol types; the method eliminates the difference between the network devices with different protocol types, can realize the dynamic addition of the network device types without influencing the original framework, and achieves the purposes of self-adapting and high-efficiency management of the network devices.
Fig. 3 is a flowchart of a network device management method according to another embodiment of the present application, which includes at least the following steps:
step S112: acquiring the creation and deletion of network equipment information through an interface; the creation and deletion of the protocol adapter instance is snooped.
In some embodiments, the distributed collaboration service DCS is able to directly obtain network device information through the interface.
Step S123: and if the protocol adapter instance does not exist, the network equipment is distributed to the cache nodes of the distributed service architecture by default for management.
In some embodiments, there may be no protocol adapter instance due to unsuccessful registration of a protocol adapter, and in this case, in order to implement management of the network device, the network device needs to be allocated to a cache node of the distributed service architecture for management, and when a qualified protocol adapter instance appears, the network device needs to be reallocated and transferred again, which enables the entire distributed service architecture to be more flexible, and makes it more reliable, usable, and efficient to access. It should be noted that when the network device is mounted on the cache node, no communication is performed, and only after a new instance is registered, the network device is allocated to the registered instance from the cache node and performs communication again.
Step S132: and updating a routing table according to the mapping relation between the network equipment and the cache node, wherein the routing table is used for establishing communication between the application and the network equipment.
In some embodiments, the routing table is updated according to an allocation result of the distributed cooperative service DCS to the network device with respect to the cache nodes of the distributed service architecture. It is worth noting that if it is the first update, it is equivalent to creating a routing table. The routing table is capable of establishing indirect communication between the application and the network device.
The network equipment management method provided by the embodiment of the application is suitable for the specific application scene that the protocol adapter instance is not successfully created, the network equipment is more flexibly managed, the whole distributed service architecture is more elastic, and the reliability, the availability and the access efficiency are higher.
Fig. 4 is a flowchart of a network device management method according to another embodiment of the present application, which includes at least the following steps:
step S112: acquiring the creation and deletion of network equipment information through an interface; the creation and deletion of the protocol adapter instance is snooped.
In some embodiments, the distributed collaboration service DCS is able to directly obtain network device information through the interface.
Step S124: and the number of the network equipment managed under the protocol adapter instance reaches a threshold value, and the network equipment is distributed to the cache nodes of the distributed cooperative service architecture for management according to a preset algorithm.
In some embodiments, after the protocol adapter PA is successfully registered, the protocol adapter instance may be created, and at this time, multiple protocol adapter instances may be created at a time, and the maximum number of network devices that can be managed by each instance, that is, a threshold, is set in advance, so as to improve the management efficiency of the network devices. When the number of the network devices managed under a specific protocol adapter instance reaches a threshold value, the instance does not have the management capability, and therefore the network devices are distributed to the cache nodes of the distributed collaborative service architecture for management.
In some embodiments, when some instances release some network devices and enable the protocol adapter instance meeting the conditions, the re-allocation and transfer are performed, which can make the whole distributed service architecture more flexible, and make it more reliable, available and access efficient.
Step S132: and updating a routing table according to the mapping relation between the network equipment and the cache node, wherein the routing table is used for establishing communication between the application and the network equipment.
In some embodiments, the routing table is updated according to an allocation result of the distributed cooperative service DCS to the network device with respect to the cache nodes of the distributed service architecture. It is worth noting that if it is the first update, it is equivalent to creating a routing table. The routing table is capable of establishing indirect communication between the application and the network device.
The network equipment management method provided by the embodiment of the application is suitable for a specific application scene that the management quantity of the network equipment exceeds a threshold value in a protocol adapter instance, on one hand, the network equipment management efficiency is improved, on the other hand, the network equipment management reliability is ensured, and a large amount of asynchronous messages can be quickly responded.
In some other embodiments of the present application, it may also happen that the protocol adapter does not have the management capability for the network device due to the broken link of the protocol adapter instance, and the principle is the same as that in the above embodiments, at this time, the network device is allocated to the cache node of the distributed collaborative service architecture for management, waits for a suitable condition, and then is reallocated.
In some other embodiments of the present application, when the network device information is deleted, the network device is deleted from the distributed node where the protocol adapter is located.
In some other embodiments of the present application, when the network device is disconnected, the protocol adapter may autonomously select whether to establish a link with the network element device.
The change of the mapping relation can cause the updating of the routing table, so that the application App can establish communication with the network equipment according to the routing table dynamically updated in real time. Because the application App establishes the link with the network equipment through the protocol adapter, the network equipment with different protocol types can be accessed into the framework for management in a unified mode, and therefore, the original module can not be influenced by dynamically adding new network equipment types, and the purpose of adaptively managing the network equipment is further achieved.
An embodiment of the present application further provides a protocol adapter management method, as shown in fig. 5, including at least the following steps:
step S210: protocol adapter information is received, the protocol adapter information including protocol type information.
In some embodiments, the protocol adaptation manager is responsible for managing the protocol adapters based on protocol type information provided by the protocol adapters.
Step S220: and registering the protocol adapter to the protocol adaptation manager according to the protocol type information.
In some embodiments, the protocol adapter sends the algorithm packet carried by itself and the related information of the protocol type of itself to the protocol adaptation manager to complete the registration operation.
In some embodiments, the protocol adapter itself has no algorithm package or assigned algorithm, and therefore, may rely on The default algorithms that The distributed collaborative service DCS has, namely The Least Priority (The Least Priority) algorithm and The equipartition algorithm.
It is noted that, as known to those skilled in the art, the registration, the cancellation, the modification and the query of the protocol adapter are all external functions of the protocol adaptation manager, which can provide corresponding functions based on the requirements of the distributed cooperative service DCS and other services.
In some embodiments, the protocol adaptation manager further has functions of establishing a link for implementing the protocol adapter instance, acquiring network device information, monitoring a link state, monitoring a network element state, and the like.
Step S230: and according to the network equipment management method, managing the network equipment which has the mapping relation with the protocol adapter.
In some embodiments, after the protocol adapter type registration is successful, the protocol adapter instance PA may be created, at this time, a plurality of protocol adapter instances may be created at a time, and the maximum number of network devices that can be managed by each instance, that is, a threshold value, is set in advance, so as to improve the management efficiency of the network devices.
In some embodiments, management of network devices is achieved by mounting instances created by protocol adapters under distributed network nodes.
In some embodiments, the protocol adaptation manager is located in the southbound access stratum, and the management of the network devices is realized together by matching with a network device management method implemented by a distributed cooperative service DCS.
The protocol adapter management method provided by the embodiment of the application is applied to a protocol adapter manager, and realizes the link establishment of a protocol adapter instance, the acquisition of network equipment information, the monitoring of a link state and the monitoring of a network equipment state through the management of a protocol adapter registered under the protocol adapter, and finally realizes the shielding of differences among various network equipment, so that an upper application can communicate and interact with the network equipment, and the protocol adapter upwards exposes a uniform interface through a southbound access framework.
The embodiment of the application also provides a communication method, in particular to a communication forwarding technology.
In some embodiments, it determines the target protocol adapter address by receiving a communication request sent by an application and according to the communication request and a routing table, where the routing table is obtained by the network device management method in the above embodiments. The essence of the communication is to establish a communication connection with the network device, but due to the difference of protocols, the forwarding is performed through the protocol adapter, so that the protocol adapter of the target needs to be addressed. And the communication mode can realize decoupling between the upper application App and the network equipment.
In some embodiments, the communication request is forwarded according to the target protocol adapter address, and the processing result returned by the target protocol adapter is received and returned to the application App.
In some embodiments, a load balancing strategy is adopted in the communication forwarding technology to forward the communication request, so that the message processing efficiency in the system can be greatly improved.
The embodiment of the application also provides a communication method, which is particularly applied to a protocol adapter, and establishes communication connection with network equipment with a mapping relation with the protocol adapter by receiving the communication request of the application forwarded according to the routing table; and forwarding the communication request to the network equipment, and forwarding a processing result of the network equipment to the application.
According to the communication method provided by the embodiment of the application, the protocol adapter and the network equipment can be connected to communicate, the communication connection of the network equipment under different protocols is realized, and further the interaction between the upper application and the network equipment is realized.
The embodiment of the application also provides a communication method, which is applied to the network equipment, establishes communication connection through the protocol adapter having a mapping relation with the network equipment, receives a communication request which is forwarded by the routing table and is derived from the application App, and finally sends a processing result corresponding to the communication request to the protocol adapter.
According to the communication method provided by the embodiment of the application, the protocol adapter and the network equipment can be connected to communicate, the communication connection of the network equipment under different protocols is realized, and further the interaction between the upper application and the network equipment is realized.
The present application further provides a network device management system, as shown in fig. 6, the system includes the following three apparatuses: a network device management device, a protocol adaptation management device and a communication device.
The network equipment management device specifically comprises the following modules:
the information acquisition module is used for acquiring network equipment information and protocol adapter information; the mapping relation establishing module is used for establishing the mapping relation between the network equipment and the protocol adapter according to a preset algorithm; and the routing table updating module is used for updating the routing table according to the mapping relation, and the routing table is used for establishing communication between the application and the network equipment.
The protocol adaptation management device specifically comprises the following modules:
the protocol adapter information receiving module is used for receiving protocol adapter information, and the protocol adapter information comprises protocol type information; the protocol adapter management module is used for registering the protocol adapter to the protocol adaptation manager according to the protocol type information; the network device management module is used in the network device management method in the above embodiment, and manages the network device having a mapping relationship with the protocol adapter.
The communication device specifically comprises the following modules:
the receiving module is used for receiving the communication request sent by the application and receiving the processing result returned by the target protocol adapter; the protocol adapter address determining module is used for determining a target protocol adapter address according to the communication request and the routing table; and the forwarding module is used for forwarding the communication request and the forwarding processing result to the application according to the target protocol adapter address.
In some embodiments, the protocol adapter completes registration of the protocol adapter algorithm packet and related information, and the protocol adapter algorithm packet and related information are uniformly managed by the protocol adaptation management device, so that link establishment of a protocol adapter instance, acquisition of network equipment information, monitoring of a link state, monitoring of a network element state and the like are realized. After the protocol adapter type is successfully registered, the protocol adapter instance is registered, a plurality of protocol adapter instances can be registered at one time to manage the distributed network equipment, and each protocol adapter instance can set the capacity to limit the number of the managed equipment. The protocol adapter instance and the protocol adaptation service establish a link, and the protocol adapter instance has the capability of managing the network element and executes related services after the link is successfully established.
In some embodiments, the network device management apparatus dynamically monitors through message middleware with a distributed collaboration service DCS or actively acquires a network device data creation message through an interface. The distributed cooperative service DCS monitors the establishment of the protocol adapter instance and mounts the protocol adapter instance to the distributed nodes. Specifically, the distributed cooperative service DCS acquires the designated algorithm packet through an interface provided by the southbound adaptation management, loads and executes the designated algorithm packet, calculates the allocation result, and allocates the network element to the corresponding protocol adapter instance node. In some embodiments, if no protocol adapter instance exists, the network device is hosted under a caching node. And finally, updating a routing table by the distributed cooperative service DCS, and writing the distribution result of the network equipment into the distributed nodes for maintenance. When monitoring that the protocol adapter instance is broken or deleted and does not have the capacity of managing the network equipment, releasing the managed resources, reallocating the network equipment mounted under the current protocol adapter instance to other protocol adapter instance nodes according to a specified algorithm packet by the distributed cooperative service DCS, mounting the network equipment to a cache node if other protocol adapter instances do not exist or the number of the equipment mounted under all the protocol adapter instances reaches the upper limit, and reallocating the network equipment after a new protocol adapter instance is created next time. After monitoring that the data of the network device is deleted, the distributed cooperative service DCS removes the network device from the protocol adapter instance node where the network device is located, and does not manage the device any longer. The protocol adapter instance begins executing the service and communicates with the network device.
The communication forwarding service performs message interaction between the application App and the protocol adapter, and the specific structure of the communication device is shown in fig. 7.
A load balancing module in the communication device is used for providing a load balancing strategy for message forwarding, providing an interface for each App to call, and a routing table is used for storing and updating a communication address in real time and realizing the forwarding of the message; the message queue module is specifically divided into a request queue module and a response queue module, the request queue module is used for forwarding the message to the protocol adapter, and the response queue module is used for receiving the message response sent by the protocol adapter.
In some embodiments, an interface (such as a Restful interface) is provided externally for each App to call, a load balancing strategy is adopted inside the App to improve the high applicability of the system, the routing table is used for storage, the message queue can realize single-device message serialization and multi-device message parallelization, and a large amount of asynchronous messages can be ensured to be quickly responded.
Fig. 8 shows a schematic diagram of a Zookeeper-based distributed service architecture, where the Zookeeper distributed cooperative service provides specific management of network devices and updates a routing table in real time, the communication device realizes accurate forwarding of a communication request from an application App by acquiring the routing table updated in real time, and after the protocol adapter communicates with the network devices managed by the protocol adapter, the protocol adapter returns a response message to the communication device, and the response message is returned to the application App by the communication device, thereby completing the whole communication process.
According to the method and the device, the accessed network devices of different protocol types can be distributed to the corresponding protocol adapters for management in a distributed scene, and the routing table is updated, so that the network devices of different protocol types can be correctly addressed, an upper layer application can be isolated from the network devices while interacting with the network devices of different protocol types, and a large amount of asynchronous messages can be rapidly responded; meanwhile, the difference between the network devices with different protocol types is eliminated, the dynamic addition of the network device types can be realized without influencing the original framework, and the purpose of managing the network devices in a self-adaptive and high-efficiency manner is achieved.
An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for performing the network device management method, the protocol adapter management method, and the communication method of the foregoing embodiments.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The above described embodiments of the mobile communication device are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described, the present invention is not limited to the above embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention, and such equivalent modifications or substitutions are included in the scope of the present invention defined by the claims.

Claims (34)

1. A network device management method is applied to a distributed service architecture, and comprises the following steps:
acquiring network equipment information and protocol adapter information;
establishing a mapping relation between the network equipment and the protocol adapter according to a preset algorithm;
and updating a routing table according to the mapping relation, wherein the routing table is used for establishing communication between the application and the network equipment.
2. The method of claim 1, wherein the obtaining network device information comprises at least one of:
dynamically monitoring the creation and deletion of network equipment information through message middleware;
and acquiring the creation and deletion of the network equipment information through the interface.
3. The method of claim 1 or 2, wherein the obtaining protocol adapter information comprises:
and monitoring the creation and deletion of the protocol adapter instance.
4. The method of claim 1, further comprising:
and acquiring an algorithm packet provided by a protocol adaptation manager, wherein the algorithm packet comprises the preset algorithm.
5. The method of claim 3, wherein establishing the mapping between the network device and the protocol adapter comprises:
if the protocol adapter instance exists and the protocol adapter has the network equipment management capability, mounting the protocol adapter instance to a distributed node of the distributed service architecture;
and distributing the network equipment to the distributed nodes for management according to a preset algorithm in the algorithm packet.
6. The method of claim 5, further comprising:
and if the network equipment information is deleted, deleting the network equipment from the distributed node where the protocol adapter is located.
7. The method of claim 3, wherein establishing the mapping between the network device and the protocol adapter comprises:
and if the protocol adapter instance does not exist or the protocol adapter does not have the network equipment management capability, distributing the network equipment to a cache node of the distributed service architecture for management.
8. The method of claim 7, wherein the protocol adapter being without the network device management capability comprises at least one of:
the number of network devices managed under the protocol adapter instance reaches a threshold value;
the protocol adapter instance is broken.
9. The method according to any one of claims 5 to 8, wherein said updating the routing table according to the mapping relationship comprises:
and updating the routing table under the distributed nodes according to the distribution or deletion result of the network equipment.
10. A protocol adapter management method is applied to a protocol adaptation manager in a distributed service architecture, and comprises the following steps:
receiving protocol adapter information, wherein the protocol adapter information comprises protocol type information;
registering the protocol adapter to the protocol adaptation manager according to the protocol type information;
the network device management method according to any one of claims 1 to 9, managing a network device having the mapping relationship with the protocol adapter.
11. The method of claim 10, wherein the protocol adapter information further comprises an algorithm packet for providing a network device assignment algorithm corresponding to a protocol adapter protocol type.
12. The method of claim 10, wherein managing the network device having the mapping relationship with the protocol adapter comprises:
creating at least one protocol adapter instance corresponding to the protocol adapter;
setting a threshold for the number of network devices that the protocol adapter instance is capable of managing.
13. A communication method applied to a distributed service architecture, the method comprising:
receiving a communication request sent by an application;
determining a target protocol adapter address from the communication request and a routing table, the routing table being obtained according to the network device management method of any of claims 1 to 9;
forwarding the communication request according to the target protocol adapter address;
receiving a processing result returned by the target protocol adapter;
and returning the processing result to the application.
14. The method of claim 13, wherein determining a target protocol adapter address from the communication request and a routing table comprises:
and if the determined target protocol adapter has a plurality of protocol adapter instances, forwarding the communication request by adopting a load balancing strategy.
15. A communication method applied to a protocol adapter in a distributed service architecture, the method comprising:
receiving a communication request of an application forwarded according to a routing table;
establishing communication connection with the network equipment with the mapping relation with the protocol adapter;
sending the communication request to the network device;
forwarding the processing result of the network device to the application;
wherein the routing table and the mapping relation are obtained according to the network device management method of any one of claims 1 to 9.
16. A communication method applied to a network device in a distributed service architecture, the method comprising:
establishing a communication connection with a protocol adapter having a mapping relationship with the network device, the mapping relationship being obtained according to the network device management method of any one of claims 1 to 9;
receiving a communication request forwarded by the protocol adapter, wherein the communication request is originated from an application;
and sending a processing result corresponding to the communication request to the protocol adapter.
17. A network device management apparatus applied to a distributed service architecture, the apparatus comprising:
the information acquisition module is used for acquiring network equipment information and protocol adapter information;
the mapping relation establishing module is used for establishing the mapping relation between the network equipment and the protocol adapter according to a preset algorithm;
and the routing table updating module is used for updating a routing table according to the mapping relation, and the routing table is used for establishing communication between the application and the network equipment.
18. The apparatus according to claim 17, wherein the information obtaining module further includes a network device information obtaining module, specifically configured to at least one of:
dynamically monitoring the creation and deletion of network equipment information through message middleware;
and acquiring the creation and deletion of the network equipment information through the interface.
19. The apparatus according to claim 17 or 18, wherein the information obtaining module further comprises a protocol adapter information obtaining module, specifically configured to:
and monitoring the creation and deletion of the protocol adapter instance.
20. The apparatus according to claim 17, wherein the mapping relationship establishing module further includes an algorithm package obtaining module, specifically configured to:
and acquiring an algorithm packet provided by a protocol adaptation manager, wherein the algorithm packet comprises the preset algorithm.
21. The apparatus according to claim 19, wherein the mapping relationship establishing module, when establishing the mapping relationship between the network device and the protocol adapter, is specifically configured to:
if the protocol adapter instance exists and the protocol adapter has the network equipment management capability, mounting the protocol adapter instance to a distributed node of the distributed collaborative service architecture;
and distributing the network equipment to the distributed nodes for management according to a preset algorithm in the algorithm packet.
22. The apparatus of claim 21, wherein the mapping relationship establishing module is further configured to:
and if the network equipment information is deleted, deleting the network equipment from the distributed node where the protocol adapter is located.
23. The apparatus according to claim 19, wherein the mapping relationship establishing module, when establishing the mapping relationship between the network device and the protocol adapter, is specifically configured to:
and if the protocol adapter instance does not exist or the protocol adapter does not have the network equipment management capability, distributing the network equipment to a cache node of the distributed cooperative service architecture for management.
24. The apparatus of claim 23, wherein the protocol adapter being without the network device management capability comprises at least one of:
the number of network devices managed under the protocol adapter instance reaches a threshold value;
the protocol adapter instance is broken.
25. The apparatus according to any one of claims 21 to 24, wherein the routing table updating module, when updating the routing table according to the mapping relationship, is specifically configured to:
and updating the routing table under the distributed nodes according to the distribution or deletion result of the network equipment.
26. A protocol adaptation management device applied to a distributed service architecture comprises:
the protocol adapter information receiving module is used for receiving protocol adapter information, and the protocol adapter information comprises protocol type information;
the protocol adapter management module is used for registering the protocol adapter to the protocol adaptation manager according to the protocol type information;
a network device management module, configured to manage the network device having the mapping relationship with the protocol adapter according to the network device management method in any one of claims 1 to 9.
27. The protocol adaptation management device of claim 26, wherein the protocol adapter information further comprises an algorithm packet for providing a network device allocation algorithm corresponding to a protocol adapter protocol type.
28. The protocol adaptation management apparatus according to claim 26, wherein the network device management module, when managing the network device having the mapping relationship with the protocol adapter, is specifically configured to:
creating at least one protocol adapter instance corresponding to the protocol adapter;
setting a threshold for the number of network devices that the protocol adapter instance is capable of managing.
29. A communication apparatus, applied to a distributed service architecture, for providing a communication forwarding service, the apparatus comprising:
the receiving module is used for receiving a communication request sent by an application and receiving a processing result returned by a target protocol adapter;
a protocol adapter address determining module, configured to determine a target protocol adapter address according to the communication request and a routing table, where the routing table is obtained according to the network device management method in any one of claims 1 to 9;
and the forwarding module is used for forwarding the communication request and forwarding the processing result to the application according to the target protocol adapter address.
30. The communications apparatus as claimed in claim 29, further comprising a load balancing module configured to employ a load balancing policy to forward the communication request if the determined target protocol adapter has multiple protocol adapter instances.
31. A communication apparatus applied to a protocol adapter in a distributed service architecture, the apparatus comprising:
the receiving module is used for receiving the communication request of the application forwarded according to the routing table;
the network equipment communication establishing module is used for establishing communication connection with the network equipment with the mapping relation with the protocol adapter;
the forwarding module is used for sending the communication request to the network equipment and forwarding a processing result of the network equipment to the application;
wherein the routing table and the mapping relation are obtained according to the network device management method of any one of claims 1 to 9.
32. A communication apparatus, the communication apparatus being applied to a network device in a distributed service architecture, the apparatus comprising:
a protocol adapter communication establishing module, configured to establish a communication connection with a protocol adapter having a mapping relationship with the network device, where the mapping relationship is obtained according to the network device management method according to any one of claims 1 to 9;
a receiving module, configured to receive a communication request forwarded by the protocol adapter, where the communication request is originated from an application;
a sending module, configured to send a processing result corresponding to the communication request to the protocol adapter.
33. A network equipment management system comprises a network equipment management device, a communication device and a protocol adaptation management device:
the network device management apparatus comprises the network device management apparatus of any one of claims 17 to 25;
the protocol adaptation manager comprises the protocol adaptation management apparatus of any of claims 26 to 28;
the communication device comprises a communication device as claimed in claim 29 or 30.
34. A computer-readable storage medium storing computer-executable instructions for performing the network device management method of any one of claims 1 to 9, or for performing the protocol adapter management method of any one of claims 10 to 12, or for performing the communication method of any one of claims 13 to 16.
CN202110996002.0A 2021-08-27 2021-08-27 Network equipment management method, device, system and storage medium Pending CN115733785A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110996002.0A CN115733785A (en) 2021-08-27 2021-08-27 Network equipment management method, device, system and storage medium
PCT/CN2022/112563 WO2023024956A1 (en) 2021-08-27 2022-08-15 Network device management method, apparatus, and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110996002.0A CN115733785A (en) 2021-08-27 2021-08-27 Network equipment management method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN115733785A true CN115733785A (en) 2023-03-03

Family

ID=85290413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110996002.0A Pending CN115733785A (en) 2021-08-27 2021-08-27 Network equipment management method, device, system and storage medium

Country Status (2)

Country Link
CN (1) CN115733785A (en)
WO (1) WO2023024956A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324164B1 (en) * 1998-02-04 2001-11-27 International Business Machines Corporation Asynchronous transfer mode (A.T.M.) protocol adapter for a high speed cell switching system
CN100544354C (en) * 2005-01-26 2009-09-23 华为技术有限公司 Network management interface adapter and information interactive method
CN101207568B (en) * 2007-03-16 2011-11-23 中国科学技术大学 Multi protocol adapter and method for multi business to implement adapting treatment
CN101217398A (en) * 2007-12-28 2008-07-09 华为技术有限公司 A distributed network management acquisition system, realization method and corresponding device
CN102547635B (en) * 2010-12-20 2015-12-09 中国移动通信集团公司 A kind of cut-in method of distributed business network, equipment and system
CN112311567B (en) * 2019-07-26 2022-04-05 华为技术有限公司 Communication method and device

Also Published As

Publication number Publication date
WO2023024956A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
KR102436981B1 (en) Radio access network information processing method and apparatus, network element and storage medium
CN111052849B (en) Method and apparatus for mobile network interaction proxy
KR102580499B1 (en) Communication methods and communication devices
KR20200113268A (en) Communication method and communication device in centralized unit-distributed unit architecture
CN113596191B (en) Data processing method, network element equipment and readable storage medium
US20230006965A1 (en) Application discovery method and apparatus, and system
US9438557B2 (en) Adaptive dynamic host configuration protocol assignment with virtual local area network pool
CN102202104A (en) Managing distributed address pools within network devices
US11337124B2 (en) First base station, second base station, terminal apparatus, method, program, and recording medium
CN109561450B (en) Interaction method and device for load information
KR20200131149A (en) Method and apparatus for supporting service in wireless communication system flexibly
US11540114B2 (en) Connection method, configuration updating method, control plane device, and user plane device
CN110798329A (en) Internet of things gateway access method, equipment and storage medium
CN114364031A (en) Service providing method, device and storage medium
WO2022105807A1 (en) Service instance deployment method, cross-domain mutual access channel establishment method and related apparatus
CN113366814B (en) Method for managing resource allocation in edge computing system
US9661597B2 (en) Method and device for deregistering terminal peripheral
CN112753276A (en) Role control method, device and equipment
CN109803333B (en) Coupling redirection method and device
WO2022260330A1 (en) Improvements in and relating to multi-access edge computing
CN115733785A (en) Network equipment management method, device, system and storage medium
KR102211187B1 (en) Method and apparatus for IP address preservation in heterogeneous wireless networks
JP6858887B2 (en) IP address setting method and device
CN111132188A (en) Distributed transmission resource allocation
EP3713337A1 (en) Message sending method and device, policy sending method and device, storage medium, and processor

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