CN117320116A - Network equipment access management method, network management equipment and storage medium - Google Patents

Network equipment access management method, network management equipment and storage medium Download PDF

Info

Publication number
CN117320116A
CN117320116A CN202210720152.3A CN202210720152A CN117320116A CN 117320116 A CN117320116 A CN 117320116A CN 202210720152 A CN202210720152 A CN 202210720152A CN 117320116 A CN117320116 A CN 117320116A
Authority
CN
China
Prior art keywords
network
link
management system
network device
network management
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
CN202210720152.3A
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 CN202210720152.3A priority Critical patent/CN117320116A/en
Priority to PCT/CN2023/072488 priority patent/WO2023246092A1/en
Publication of CN117320116A publication Critical patent/CN117320116A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

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 invention provides a network equipment access management method, network management equipment and storage medium, wherein the method comprises the following steps: acquiring a link state of each network device accessing the network management system; determining network equipment to be accessed, which needs to be subjected to link connection again with the network management system, based on the acquired link state; and carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy. The method solves the problem of high delay of fault location when a plurality of network devices have link connection faults at the same time, and carries out link reconstruction with each network device to be accessed based on a preset link reconstruction strategy so as to ensure that each network device accesses a network management system, realize the management of each access network device by the network management system and effectively ensure the stability of each network device in the access network management system.

Description

Network equipment access management method, network management equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network device access management method, a network management device, and a storage medium.
Background
With the development of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G), 5G is also becoming more and more widely used inside enterprises. For example, various network devices of an enterprise, including but not limited to cameras, mobile wireless broadband access devices CPE, wireless or fixed network devices, carrier devices, core network devices, etc., may communicate using 5G, and the enterprise may access each network device to a network management system for unified management.
At present, enterprises often adopt a lightweight network management system to manage various types of accessed network devices. However, as the network devices of the enterprise are more in variety and each network device is deployed independently, when a plurality of network devices which need to be accessed simultaneously fail, the failure location cannot be performed quickly and accurately, and the problem of high delay occurs, so that the stability of the accessed network devices cannot be guaranteed.
Disclosure of Invention
The invention provides a network equipment access management method, network management equipment and a storage medium, which are used for determining network equipment to be accessed which needs to be connected with a network management system again in a link mode based on the acquired link state by acquiring the link state of each network equipment accessing the network management system, so as to solve the problem of high delay of fault positioning when a plurality of network equipment have link connection faults at the same time, and reconstructing the link with each network equipment to be accessed based on a preset link reconstruction strategy, thereby ensuring that each network equipment accesses the network management system, realizing the management of each access network equipment by the network management system, and effectively ensuring the stability of each network equipment accessing the network management system.
In a first aspect, an embodiment of the present invention provides a method for managing access to a network device, where the method includes:
acquiring a link state of each network device accessing the network management system;
determining network equipment to be accessed, which needs to be subjected to link connection again with the network management system, based on the acquired link state;
and carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy.
In a second aspect, an embodiment of the present invention further provides a network management device, where the multi-network device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, where the computer program, when executed by the processor, implements the steps of the network device access management method as described in the first aspect above.
In a third aspect, an embodiment of the present invention further provides a storage medium, configured to store one or more programs, where the one or more programs are executable by one or more processors to implement the steps of the network device access management method according to the first aspect.
The embodiment of the invention provides a network equipment access management method, network management equipment and storage media, and the network equipment access management method provided by the embodiment of the invention comprises the following steps: acquiring a link state of each network device accessing the network management system; determining network equipment to be accessed, which needs to be subjected to link connection again with the network management system, based on the acquired link state; and carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy. The link state of each network device accessing the network management system is acquired, and the network device to be accessed which needs to be connected with the network management system again is determined based on the acquired link state, so that the problem of high delay of fault positioning when a plurality of network devices have link connection faults at the same time is solved, and link reconstruction is carried out with each network device to be accessed based on a preset link reconstruction strategy, so that each network device accesses the network management system, management of each access network device by the network management system is realized, and the stability of each network device in the access network management system is effectively ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic block diagram of a network system to which embodiments of the present invention are applicable;
fig. 2 is a schematic flow chart of an implementation of a network device access management method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a timeout reestablishment chain connection according to one embodiment of the present invention;
fig. 4 is a schematic implementation flow chart of a network device access management method according to another embodiment of the present invention;
FIG. 5 is a schematic block diagram of a network management system provided by an embodiment of the present invention;
fig. 6 is a schematic block diagram of a network management device provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The embodiment of the invention provides a network equipment access management method, network management equipment and a storage medium. The network equipment access management method can be applied to network management equipment, and the network management equipment is used for managing each network equipment accessed to the network management system so as to efficiently and accurately identify the link state and the message sending condition of each network equipment, avoid the problem of high delay when faults occur, and further guarantee the stability of each network equipment in the accessed network management system.
It should be noted that, with continuous scale deployment of the 5G network, enterprise content needs to be uniformly managed by the network management system for network devices accessing the 5G network. Because the types of network devices related to enterprise service connection are multiple and each network device is deployed independently, the existing network management system cannot intuitively and rapidly manage each network device. The whole period from the occurrence of faults to the identification of the faults is long, the stability of the access network equipment cannot be guaranteed, and the use effect is seriously affected.
The invention provides a network equipment access management method, network management equipment and a storage medium, which can determine network equipment to be accessed which needs to be in link connection with a network management system again based on the acquired link state by acquiring the link state of each network equipment accessing the network management system, and further reconstruct the link with each network equipment to be accessed based on a preset link reconstruction strategy so as to solve the problem of high delay when a plurality of network equipment simultaneously fail, thereby guaranteeing the stability of each network equipment accessing the network management system.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic block diagram of a network system to which an embodiment of the present invention is applicable.
As shown in fig. 1, the network system 100 includes a network management device 102 and at least one network device 104. For example, as can be seen in fig. 1, in this implementation, the network device 104 includes a camera, a smart phone, and a modem. It should be understood that the network device 104 is not limited to the devices shown in fig. 1. In particular, network device 104 includes enterprise service platforms, network infrastructure devices, and other networking devices that are managed by the carrier's configuration that provide interconnections across networks that are organized in different networking manners.
The network management device 102 is a device operated by an operator, and is capable of managing each network device 104 that is accessed. The network management device 102 illustratively has a network management system 1022 running therein, where the network management system 1022 may be a computer software system, a hardware system, or a combination of software and hardware systems, for managing each network device accessing the network management system.
In the embodiment of the application, in order to realize that each network device accessed by the network management system is managed, the network management device needs to acquire the link state of each network device accessed to the network management system, determine the unsuccessful network device to be accessed by the network management system based on the acquired link state, and then reconstruct the link with the network device to be accessed based on the preset link reconstruction strategy, so as to ensure that each network device successfully accesses to the network management system, realize that the network management system manages each access network device, effectively prevent the high delay problem of fault location when a plurality of network devices have link faults at the same time, further realize that the network management system manages each access network device, and effectively ensure the stability of each network device in the access network management system.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating an implementation of a network device access management method according to an embodiment of the invention. The network device access management method may be implemented by the network management device shown in fig. 1. In particular, the implementation may be performed by hardware or software of a network management device.
As shown in fig. 2, the network device access management method includes steps S201 to S203. The details are as follows:
s201, obtaining the link state of each network device accessing the network management system.
The network equipment can establish a link between the preset protocol type and the network management system, and after the link is established successfully, the network equipment is accessed to the network management system so as to realize communication between the network management system and the network equipment.
In particular implementations, the network management system provides registration functionality for network device registration related parameters that access the network management system so that the network device can be taken over by the network management system, e.g., the network device registration related parameters include: access IP address, access port, access username, access password, etc.
The network management system initiates a link establishment request, such as an SSH request, a TLS request, etc., to the corresponding network device by acquiring registration parameters of the network device, and prepares to establish a link. Messages based on protocols such as TCP, UDP, etc. may also be sent.
In the embodiment provided by the invention, in the process that the network equipment is accessed to the network management system, the link state of each network equipment accessed to the network management system is detected, so that when the link is abnormal, the link is timely rebuilt, the link between the network equipment and the network management system is ensured to be smooth, and further, the network management system is ensured to perform tasks and issue and the network equipment is ensured to report information timely.
Specifically, the network management system provided by the embodiment of the invention supports the network equipment access of the network configuration protocol (Network Configuration Protocol, netconf), and can be used as a client to initiate a Secure Shell protocol (SSH) request or a Secure transport layer protocol (TLS) request to the corresponding network equipment to be accessed, so as to achieve the purpose of establishing a link with the network equipment. When the network management system initiates a link establishment request, an access user name and an access password are required to be carried, so that the access security of the network equipment is ensured. Specifically, when the link is established, the establishment of the SSH or TLS link is completed through 3 processes; then, a subscription notification message customized based on a preset protocol is sent to the network equipment so as to realize the notification message of the subscription network equipment; and finally, sending a self-defined capability message to the network equipment for judging whether the network equipment is accessed to the network management system or not so as to prevent the network equipment from being accessed to other pre-deployed network management systems and being incapable of being managed by the network management system. After the SSH or TLS link establishment is completed between the network management system and the network equipment, and the notification message subscribed to the network equipment and the custom capability message sent to the network equipment are successful, the link establishment between the equipment management system and the network equipment is determined to be successful, otherwise, the link establishment fails.
In this embodiment, the link state of each network device of the network management system and the access network management system may be detected based on a preset timing detection policy during the process of accessing the network device to the network management system, so as to determine whether the link between the network management system and the accessed network device is available, so as to ensure that the link between the network management system and the network device is kept alive, further achieve stability of communication between the network management system and the network device, and avoid that the network device cannot be managed by the network management system due to interruption of communication between the network management system and the network device.
Specifically, the preset timing detection strategy includes: heartbeat detection timing policy and link detection timing policy.
In an embodiment, detecting a link state of each network device accessing the network management system based on a preset timing detection policy includes: based on a preset heartbeat detection timing strategy, respectively detecting the data transmission condition between the network management system and each network device; and analyzing the data transmission condition between the network management system and each network device based on a preset link detection timing strategy to obtain the link shape of each network device accessed to the network management system. The link state of each network device accessed to the network management system is determined according to the data transmission condition between the network management system and each network device, so that the stability of the link connection between the network management system and each network device is ensured according to the link state, and the abnormality detection can be timely carried out when the link is abnormal.
The method for determining the stability of the link between the network management system and each network management device comprises the steps of: sending heartbeat messages to each network device at a first time interval through the network management system to determine whether the link between each network device and the network management system is abnormal; and aiming at network equipment with abnormal links, determining a second time interval for sending heartbeat information to each network equipment according to a preset algorithm so as to detect the link stability between the network management system and each network equipment.
In implementation, assuming that the first time interval is T, the network management system performs sending a heartbeat message to the network device every T seconds, where the value of T may be preset, for example, default may be set to 90s.
And when the link between the network equipment and the network management system is abnormal, determining a second time interval for transmitting the heartbeat information according to a preset algorithm. In particular, the second time interval may be expressed as:
t=T/2 n-1
Wherein T is an initial preset first time interval, n is the number of times of sending heartbeat information, and T is a second time interval.
In particular implementations, t is an integer value and greater than 0. For example, in one embodiment, assume t=90 s, n=1, 2, 3, 4; a heartbeat message is sent to the network device at second time intervals of t=90 s, 45s, 23s and 12s, respectively, when an abnormality occurs in the link.
In an embodiment, detecting a link connection state between a network management system and each network device based on a preset link detection timing policy, respectively, includes: and determining the link connection state between the network management system and the network equipment according to the link maintenance time between the network management system and the network equipment, the time when the network management system receives the uplink message last time and the current time aiming at any network equipment.
For example, assume that the link retention time between the network management system and any network device is t1, the time when the network management system last received the uplink message is t2, the current time is t3, when t2-t3> t1, it indicates that the link connection state between the network management system and the network device is abnormal, or when t2-t3 is less than or equal to t1, it indicates that the link connection state between the network management system and the network device is normal. It should be understood that when an abnormality occurs in the link connection state between the network management system and the network device, the network management system is required to close the link already established with the network device and to resume the link connection.
S202, determining network equipment to be accessed, which needs to be connected with the network management system again in a link mode, based on the acquired link state.
In an embodiment, determining, based on the obtained link state, a network device to be accessed that needs to be re-linked with the network management system includes: if the link connection between the network equipment and the network management system is unstable or the link connection state is connection failure, determining the network equipment as the network equipment to be accessed, which needs to be connected with the network management system again.
And S203, carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy.
In an embodiment, performing link reestablishment with each network device to be accessed based on a preset link reestablishment policy includes: the network management system initiates a reestablishment chain request to each network device to be accessed respectively, and adds the reestablishment chain request into a reestablishment chain task queue; based on the reconstruction chain delay rule, respectively delaying to reconstruct the link with each network device to be accessed.
Specifically, the reconstruction chain delay rule includes: after each link establishment failure, the link establishment is delayed, and the time length of the corresponding delay execution is increased according to a preset rule along with the increase of the number of link establishment times.
When the method is implemented, after the link establishment of the network management system and the network equipment fails, the network management system needs to initiate a reestablishment link request to the network equipment, add the reestablishment link request into a reestablishment link task queue, and control the reestablishment link task to be executed in a delayed manner based on a reestablishment link delay rule; specifically, the delay time gradually increases with the number of times of chain establishment, and it is assumed that the delay time increases by T0 seconds every time of chain establishment, and the waiting time of n times of chain establishment reconnection t0=t0×n (n-1)/2. Setting the timeout time of each link establishment failure to be T1 seconds, and setting the total timeout time from the beginning of the first link establishment failure to the nth link establishment to be t1= (n-1) T1, wherein the total time length of the nth link establishment relative to the first link establishment is as follows:
T=T0+T1
assuming t0=10s, t1=10s, the total duration t=t0+t1=20s of the second construction with respect to the first construction, the total duration t=t0+t1=50s of the third construction with respect to the first construction, and the total duration t=t0+t1=90s of the fourth construction with respect to the first construction.
Specifically, as shown in fig. 3, fig. 3 is a schematic diagram of a timeout reestablishing chain connection according to an embodiment of the present invention.
In the implementation, assuming that n network devices have overtime of link establishment, the overtime time of link establishment failure of each network device is t1 seconds, and m tasks are started to initiate link establishment, the worst time of one link establishment attempt of all network devices is n×t1/m. If a total of 120 network devices access the device management system, 120 links are established over time, the time-out time is 10s, 32 tasks are started to establish links, and the worst time is 120 x 10/32=37.5 seconds.
In addition, in the embodiment of the present application, the link state between each network device to be accessed and the network management system needs to be uploaded to the user side, so that the user can conduct link abnormality checking based on the link state of each network device to be accessed. Specifically, after link reestablishing with each network device to be accessed based on a preset link reestablishment policy, the method further includes: and reporting the link states between the network equipment to be accessed and the network management system to the user side respectively so that the user can conduct abnormal link checking based on the link states of the network equipment to be accessed, wherein the link states carry the reasons of link establishment failure.
The link abnormality investigation is a means for detecting link abnormality of a link between the network management system and the network equipment after the network equipment is accessed to the network management system, and aims to realize maintainability and testability of the network management system on link management so as to present the reason of the link abnormality to a user side in time, facilitate the user to examine and solve the problem in time and improve the operation and maintenance efficiency. Specifically, the link abnormality detection mainly includes: detecting whether a network between the network management system and the network equipment is available, detecting whether the network equipment has the capability of being managed by the network management system, detecting whether an authenticated access user and an access password are correct when the network management system initiates a link establishment request to the network equipment, and the like. When the link is abnormally closed, the network management system reports the link state of the access network equipment and the reason of the link abnormality diagnosis to an upper user at the same time, so that the user can find out the equipment link abnormality in time and acquire the reason for investigation and solution.
Specifically, the reason of the link establishment failure can be determined by performing abnormality diagnosis on links between each network device to be accessed and the network management system; in this embodiment, before reporting the link status of each network device to be accessed to the user end, the method includes: and respectively carrying out abnormal diagnosis on links between the to-be-accessed network equipment and the network management system, and determining the cause of the link establishment failure between the to-be-accessed person equipment and the network management system.
As can be seen from the above analysis, in the network device access management method provided by the embodiment of the present invention, by acquiring the link state of each network device accessing the network management system, determining the network device to be accessed that needs to be connected with the network management system again based on the acquired link state, so as to solve the problem of high delay in performing fault location when a plurality of network devices have link connection faults at the same time, and performing link reconstruction with each network device to be accessed based on a preset link reconstruction policy, so as to ensure that each network device accesses the network management system, realize management of each access network device by the network management system, and effectively ensure stability of each network device accessing the network management system.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating an implementation of a network device access management method according to another embodiment of the present invention. Compared with the embodiment shown in fig. 2, the implementation procedure of S401 to S403 is the same as the implementation procedure of S201 to S203, except that S404 to S406 are further included after S403, as follows:
s401, obtaining the link state of each network device accessing the network management system.
S402, determining network equipment to be accessed, which needs to be connected with the network management system again in a link mode, based on the acquired link state.
S403, carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy.
S404, acquiring network equipment resource identification information carried by the command to be issued, and determining target network equipment based on the network equipment resource identification information, wherein the target network equipment is used for receiving the command to be issued.
In specific implementation, the network device resource identification information carried by the command to be issued can be acquired through a preset interface, such as an representational state transition interface (Representational State Transfer, restful). The network management system searches corresponding target network equipment based on the acquired network equipment resource identification information so as to quickly send the command to be sent down to the target network equipment.
S405, determining the type of the message carried by the command to be issued, and judging the type of a message channel required for transmitting the command to be issued based on the type of the message.
In particular implementations, the network management system may pre-create two message channels, e.g., one channel to support single network device serial messages and the other channel to support multiple network device parallel messages. That is, the message channel types include single-element serial message channels or multi-element parallel message channels. And judging whether parallel or serial issuing to the network equipment is required to be supported by acquiring the message type carried by the command to be issued, and searching a corresponding message channel according to the judging result to issue the command or the message to the network equipment. So as to realize the smooth issuing of the message.
S406, selecting a message channel corresponding to the message channel type, and issuing the command to be issued to the target network equipment.
In this embodiment, the message forwarding is mainly used to execute the operation of issuing the command to the network device, and according to the execution modes of different issuing commands, the single network device serial message and the multi-network device parallel message can be respectively selected to be executed, so that the issuing command can be conveniently and quickly executed, and the response message of the network device can be timely obtained. When the network management system executes the issuing command, the network management system carries the resource identifier of the network equipment, finds the accessed network equipment according to the resource identifier, and judges whether the issuing command goes through the serial queue or the parallel queue according to the message type carried by the issuing command. In order to achieve timely and rapid response of the message, a response timeout time of the message can be set.
In addition, the network management system can also terminate the execution of the command to be issued if the execution of the command to be issued is detected to be overtime; and acquiring response information returned by the target network equipment, and reporting the response information to the user side.
The method comprises the steps of reporting response information, subscribing information which needs to be actively reported by network equipment, receiving notification information reported by the network equipment and then sending the notification information to a message user side when a network management system operates, and reading the response information returned by the network equipment from the reported information by the user side so as to determine the link connection state between the network equipment and the network management system according to the response information, thereby further rapidly positioning faults.
As is apparent from the above analysis, the network management system provided by the present invention can perform link management and message management at the same time, and specifically, the process of performing link management and message management by the network management system can be implemented by executing a computer program, and the network management system can be logically divided into a plurality of modules having different functions, and the functions of each module are implemented by reading and executing instructions in a memory by a processor in the network management device.
Illustratively, as shown in fig. 5, fig. 5 is a schematic block diagram of a network management system according to an embodiment of the present invention. As can be seen from fig. 5, the functions of the network management system 1022 provided in the present invention are logically divided into a link management module 1024 and a message management module 1026. The link management module 1024 is capable of establishing links, performing link detection and performing link diagnosis, and the message management module 1026 is capable of performing message forwarding and notification reporting.
The link management module is a core module of interaction between the network management system and the network equipment, the network management system can be used as a client to establish a link by initiating a link establishment request and the network equipment, and when the link establishment request is issued, the link establishment request carries an access IP address and an access port of the network equipment, and also carries an access user name and an access password to authenticate the connection, thereby ensuring the security of establishing the link. After the network equipment is accessed to the network management system, the link state of the network equipment is detected through heartbeat, and the heartbeat detection is realized through a preset algorithm. When the network equipment fails to establish a link or the link is broken in the running process, the link breaking reason can be actively analyzed and diagnosed, and when the link breaking state is reported, the link breaking reason is reported to an upper layer application, so that a user can timely find out the link abnormality of the equipment and acquire the reason for investigation and solution.
The message management module mainly comprises two parts, namely message forwarding and notification reporting, wherein the message forwarding mainly transmits an operation command to the network equipment, and can respectively execute single-network equipment serial messages and multi-network equipment parallel messages, so that the command can be conveniently and rapidly executed, and the response can be timely obtained. The notification report is mainly used for receiving notification messages reported by the network equipment.
As can be seen from the above analysis, the network device access management method provided by the embodiment of the present invention not only can determine, based on the obtained link state, the network device to be accessed that needs to be re-connected with the network management system, so as to solve the problem of high delay in performing fault location when a plurality of network devices have link connection faults at the same time, but also performs link reestablishment with each network device to be accessed based on a preset link reestablishment policy, so as to ensure that each network device accesses the network management system, thereby implementing management of each access network device by the network management system, and effectively guaranteeing stability of each network device in the access network management system; the method also can determine the target network equipment based on the network equipment resource identification information carried by the command to be issued, determine the type of the message carried by the command to be issued, judge the type of a message channel required for transmitting the command to be issued based on the type of the message carried by the command to be issued, and further select a message channel corresponding to the type of the message channel required for the command to be issued, and issue the command to the target network equipment. So as to realize timely and quick response of the message.
The network device access management method provided by the present application is described in detail above with reference to fig. 1 to 5, and the network management device provided according to the present application will be described below with reference to the accompanying drawings.
Referring to fig. 6, fig. 6 is a schematic block diagram of a network management device according to an embodiment of the present application.
As shown in fig. 6, the network management device 102 includes a processor 601, a memory 602, a communication interface 603, and a bus 604. The processor 601, the memory 602, and the communication interface 603 communicate via the bus 604, or may communicate via other means such as wireless transmission. The memory 602 stores executable program codes, and the processor 601 may invoke the program codes stored in the memory 602 to perform the network device access management method in the foregoing method embodiment. That is, the network device access management method described above and shown in fig. 2 to 4 may be implemented by the processor 601 in the network management device shown in fig. 6 calling the program code stored in the memory 602.
It should be appreciated that in embodiments of the present application, the processor 601 may be a central processing unit CPU, the processor 601 may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like.
The memory 602 may include read only memory and random access memory, and provides instructions and data to the processor 601. The memory 602 may also include non-volatile random access memory. For example, the memory 602 may also store data sets.
The memory 602 may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
The bus 604 may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus. But for clarity of illustration, the various buses are labeled as bus 604 in the figures.
It should be understood that the network management device 102 according to the embodiment of the present application corresponds to a corresponding body in performing the methods shown in fig. 2 to 3 according to the embodiment of the present application, and is not described herein for brevity. Illustratively, a computer program stored on the memory 602 in the network management device 102 and executable by the processor 601, when executed by the processor 601, performs the steps of:
acquiring a link state of each network device accessing the network management system;
determining network equipment to be accessed, which needs to be subjected to link connection again with the network management system, based on the acquired link state;
and carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy.
In an embodiment, the acquiring the link state of each network device accessing the network management system includes:
based on a preset timing detection strategy, respectively detecting the link state between the network management system and each network device accessed to the network management system;
And acquiring the detected link state.
In an embodiment, the preset timing strategy includes: heartbeat detection timing policy and link detection timing policy.
In an embodiment, the detecting the link state of each network device accessing the network management system based on a preset timing detection policy includes:
based on the heartbeat detection timing strategy, respectively detecting the data transmission condition between the network management system and each network device;
and analyzing the data transmission condition between the network management system and each network device based on the link detection timing strategy to obtain the link state of each network device accessed to the network management system.
In an embodiment, the determining, based on the obtained link state, the network device to be accessed that needs to be connected to the network management system again includes:
if the link connection between the network equipment and the network management system is unstable or the link connection state is connection failure, determining the network equipment as the network equipment to be accessed which needs to be connected with the network management system again.
In an embodiment, the link reestablishing with each network device to be accessed based on the preset link reestablishing policy includes:
the network management system initiates a reestablishment chain request to each network device to be accessed respectively, and adds the reestablishment chain request into a reestablishment chain task queue;
and respectively delaying the link reestablishment with each network device to be accessed based on a reestablishment link delay rule.
In an embodiment, the reconstruction chain delay rule includes: after each link establishment failure, the link establishment is delayed, and the time length of the corresponding delay execution is increased according to a preset rule along with the increase of the number of link establishment times.
In an embodiment, after the link reestablishing is performed with each network device to be accessed based on the preset link reestablishing policy, the method includes:
and reporting the link state between each network device to be accessed and the network management system to a user side respectively so that the user can conduct abnormal link checking based on the link state of each network device to be accessed, wherein the link state carries the reason of link establishment failure.
In an embodiment, before reporting the link status of each network device to be accessed to the user end, the method includes:
And respectively carrying out abnormality diagnosis on links between the network equipment to be accessed and the network management system, and determining the cause of the link establishment failure between the personal equipment to be accessed and the network management system.
In an embodiment, after the link reestablishing is performed with each network device to be accessed based on the preset link reestablishing policy, the method includes:
acquiring network equipment resource identification information carried by a command to be issued, and determining target network equipment based on the network equipment resource identification information, wherein the target network equipment is used for receiving the command to be issued;
determining the type of the message carried by the command to be issued, and judging the type of a message channel required for transmitting the command to be issued based on the type of the message;
and selecting a message channel corresponding to the message channel type, and transmitting the command to be transmitted to the target network equipment.
In an embodiment, the message channel type includes a single network element serial message channel or a multi-network element parallel message channel.
In an embodiment, after the issuing the command to be issued to the target network device, the method includes:
if the overtime of executing the command to be issued is detected, terminating the execution of the command to be issued;
And acquiring response information returned by the target network equipment, and reporting the response information to a user side.
In addition, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize the steps of the dispatch method provided by the embodiments of the application.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware embodiment, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. 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 both 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 known to those skilled 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 be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, 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.
It should be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (14)

1. A method for managing access to a network device, the method comprising:
acquiring a link state of each network device accessing the network management system;
determining network equipment to be accessed, which needs to be subjected to link connection again with the network management system, based on the acquired link state;
and carrying out link reestablishment with each network device to be accessed based on a preset link reestablishment strategy.
2. The method of claim 1, wherein the obtaining the link state of each network device accessing the network management system comprises:
based on a preset timing detection strategy, respectively detecting the link state between the network management system and each network device accessed to the network management system;
and acquiring the detected link state.
3. The method of claim 2, wherein the preset timing strategy comprises: heartbeat detection timing policy and link detection timing policy.
4. A method according to claim 3, wherein said detecting the link status of each of the network devices accessing the network management system based on a preset timing detection policy, respectively, comprises:
Based on the heartbeat detection timing strategy, respectively detecting the data transmission condition between the network management system and each network device;
and analyzing the data transmission condition between the network management system and each network device based on the link detection timing strategy to obtain the link state of each network device accessed to the network management system.
5. The method according to claim 1, wherein the determining, based on the obtained link state, a network device to be accessed that needs to be re-linked with the network management system, comprises:
if the link connection between the network equipment and the network management system is unstable or the link connection state is connection failure, determining the network equipment as the network equipment to be accessed which needs to be connected with the network management system again.
6. The method according to claim 1, wherein the link reestablishing with each of the network devices to be accessed based on a preset link reestablishment policy comprises:
the network management system initiates a reestablishment chain request to each network device to be accessed respectively, and adds the reestablishment chain request into a reestablishment chain task queue;
And respectively delaying the link reestablishment with each network device to be accessed based on a reestablishment link delay rule.
7. The method of claim 1, wherein the reconstruction chain delay rule comprises: after each link establishment failure, the link establishment is delayed, and the time length of the corresponding delay execution is increased according to a preset rule along with the increase of the number of link establishment times.
8. The method according to claim 1, comprising, after the link reestablishing with each of the network devices to be accessed based on the preset link reestablishment policy:
and reporting the link state between each network device to be accessed and the network management system to a user side respectively so that the user can conduct abnormal link checking based on the link state of each network device to be accessed, wherein the link state carries the reason of link establishment failure.
9. The method of claim 8, wherein before reporting the link status of each network device to be accessed to the user terminal, the method comprises:
and respectively carrying out abnormality diagnosis on links between the network equipment to be accessed and the network management system, and determining the cause of the link establishment failure between the personal equipment to be accessed and the network management system.
10. The method according to claim 1, comprising, after the link reestablishing with each of the network devices to be accessed based on the preset link reestablishment policy:
acquiring network equipment resource identification information carried by a command to be issued, and determining target network equipment based on the network equipment resource identification information, wherein the target network equipment is used for receiving the command to be issued;
determining the type of the message carried by the command to be issued, and judging the type of a message channel required for transmitting the command to be issued based on the type of the message;
and selecting a message channel corresponding to the message channel type, and transmitting the command to be transmitted to the target network equipment.
11. The method of claim 10, wherein the message channel type comprises a single network element serial message channel or a multi-network element parallel message channel.
12. The method of claim 10, wherein after said issuing said command to be issued to said target network device, comprising:
if the overtime of executing the command to be issued is detected, terminating the execution of the command to be issued;
and acquiring response information returned by the target network equipment, and reporting the response information to a user side.
13. A network management device comprising a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the network device access management method according to any of claims 1 to 12.
14. A storage medium for computer-readable storage, wherein the storage medium stores one or more programs executable by one or more processors to implement the steps of the network device access management method of any of claims 1 to 12.
CN202210720152.3A 2022-06-23 2022-06-23 Network equipment access management method, network management equipment and storage medium Pending CN117320116A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210720152.3A CN117320116A (en) 2022-06-23 2022-06-23 Network equipment access management method, network management equipment and storage medium
PCT/CN2023/072488 WO2023246092A1 (en) 2022-06-23 2023-01-17 Network device access management method, network management device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210720152.3A CN117320116A (en) 2022-06-23 2022-06-23 Network equipment access management method, network management equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117320116A true CN117320116A (en) 2023-12-29

Family

ID=89295944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210720152.3A Pending CN117320116A (en) 2022-06-23 2022-06-23 Network equipment access management method, network management equipment and storage medium

Country Status (2)

Country Link
CN (1) CN117320116A (en)
WO (1) WO2023246092A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100396011C (en) * 2006-02-15 2008-06-18 华为技术有限公司 Method for detecting net element connection state
CN102088372B (en) * 2009-12-03 2014-04-02 大唐移动通信设备有限公司 Heartbeat detecting method, system and equipment
US9866430B2 (en) * 2012-09-27 2018-01-09 Nokia Solutions And Networks Oy Countermeasures to a network management link failure
CN111193769A (en) * 2019-11-25 2020-05-22 泰康保险集团股份有限公司 Method, system, device, electronic equipment and storage medium for recovering long connection
CN113872799A (en) * 2021-08-27 2021-12-31 华为技术有限公司 Method, node and system for managing node

Also Published As

Publication number Publication date
WO2023246092A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
US20220201534A1 (en) Method and device for determining terminal behavior analysis
CN107332726B (en) Communication link detection method and device
US9445286B2 (en) Protocol version negotiation method, mobile terminal, base station and communications system
US11683218B2 (en) Compromised network node detection system
US20200404497A1 (en) Message processing method and system, and user plane function device
JP5727194B2 (en) Wireless communication system and wireless communication method
WO2019196885A1 (en) Beam restoration method and apparatus
JP7302603B2 (en) Communication device, method and program
US20200007666A1 (en) Micro-level network node failover system
EP3605954B1 (en) State detection of netconf session
WO2017133553A1 (en) Method of recovering ue context information, device and system
US11983522B2 (en) Edge-based intelligence for over the air update
US11128663B2 (en) Synchronizing link and event detection mechanisms with a secure session associated with the link
WO2013097471A1 (en) Method, device and system for handling network failures
CN113396600B (en) Information verification method, device, equipment and storage medium
CN117320116A (en) Network equipment access management method, network management equipment and storage medium
WO2021233563A1 (en) Service producer health-check
WO2010124571A1 (en) Node information acquirement method, client, and server
CN113824595B (en) Link switching control method and device and gateway equipment
WO2022083281A1 (en) Message transmission method and system, electronic device, and storage medium
US20220264316A1 (en) Launching radio spectrum resources into a fifth generation (5g) network or other next generation networks
EP3628117B1 (en) A method of providing management and control of hotspots with reduced messaging
US9923810B1 (en) Application update using multiple disparate networks
CN111813615B (en) Transaction exception processing method for application system
EP4340412A1 (en) System for monitoring the operating state of an emergency call service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication