CN115001930B - Automatic network element equipment management method and device and readable storage medium - Google Patents

Automatic network element equipment management method and device and readable storage medium Download PDF

Info

Publication number
CN115001930B
CN115001930B CN202210503150.9A CN202210503150A CN115001930B CN 115001930 B CN115001930 B CN 115001930B CN 202210503150 A CN202210503150 A CN 202210503150A CN 115001930 B CN115001930 B CN 115001930B
Authority
CN
China
Prior art keywords
information
target
network element
physical
connection
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.)
Active
Application number
CN202210503150.9A
Other languages
Chinese (zh)
Other versions
CN115001930A (en
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.)
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd, Wuhan Fiberhome Technical Services Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202210503150.9A priority Critical patent/CN115001930B/en
Publication of CN115001930A publication Critical patent/CN115001930A/en
Application granted granted Critical
Publication of CN115001930B publication Critical patent/CN115001930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/1444Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Abstract

The application relates to an automatic network element equipment management method, an automatic network element equipment management device and a readable storage medium, and relates to the technical field of network management and control, wherein the method comprises the steps of obtaining serial number information of a frame rigidly connected with network element equipment to be managed; acquiring a first live-action photo of a frame corresponding to serial number information; identifying a first live-action photo based on an image and character identification technology to obtain physical slot numbers of all slots on a frame and fuzzy physical information of all machine discs; determining target information of each machine disc based on preset machine disc static information, physical slot position numbers of all slot positions on a machine frame and fuzzy physical information, wherein the target information comprises a target machine disc name, a target machine disc type, a target machine disc physical port name and a target logic slot position number of a slot position into which the target machine disc is inserted; and automatically managing the network element equipment to be managed according to the target information, so that the configuration threshold of site opening and the complexity of network equipment are reduced, and the efficiency of automatically discovering and managing the network element equipment is improved.

Description

Automatic network element equipment management method and device and readable storage medium
Technical Field
The present invention relates to the field of network management and control technologies, and in particular, to a method and apparatus for automatically feeding network element devices to a network, and a readable storage medium.
Background
With the expansion of network size, the increase of access hosts and the development of complex network applications, the importance of network management has emerged, and network management systems (Network Management System, NMS) have emerged in this context. The NMS is a system for adjusting the network state by combining software and hardware, so as to ensure that the network system can operate normally and efficiently, so that the resources in the network system are better utilized, and the NMS is a collection for realizing various network management functions on the basis of a network management platform. The main functions of NMS include automatic topology discovery, remote configuration, performance parameter monitoring, fault diagnosis, etc., wherein for automatic topology discovery, when faced with a relatively complex network such as cross-network segment, virtual local area network, etc., an automatic topology searching tool in NMS will fail, and for specific network equipment, a corresponding network protocol and manual configuration party are also required to be adopted to manage the specific equipment.
In the related art, in the process of transmitting network site opening through NMS, automatic discovery and management of network element equipment is realized based on network protocols such as LLDP (Link Layer Discovery Protocol, link layer dynamic discovery protocol), and the like, which not only requires site opening constructors to know and master knowledge of related network protocols very much, but also can carry out related configuration based on the network protocols, so that the configuration threshold of site opening is higher, and the professional requirements on constructors are high; moreover, as the opening of the transmission network station often involves data interaction with a plurality of network element devices, the complexity of the formulation and design of the related network protocol is high and the related network protocol is easy to make mistakes; meanwhile, the related information such as a machine frame, a machine disc and the like corresponding to the network element equipment can be found only after multi-layer data interaction is performed based on a network protocol, and the problem of low efficiency exists.
Disclosure of Invention
The application provides an automatic network element equipment management method, device and readable storage medium, which are used for solving the problems of high configuration threshold, high complexity and low efficiency caused by the fact that network element equipment is found and managed through a network protocol in the related technology.
In a first aspect, a method for automatically feeding network element equipment is provided, which includes the following steps:
acquiring serial number information of a frame rigidly connected with a network element device to be connected with a pipe;
acquiring a first live-action photo of a frame corresponding to the serial number information;
identifying the first live-action photo based on an image identification technology and a character identification technology to obtain physical slot numbers of all slots on a frame and fuzzy physical information of all discs;
determining target information of each machine disc based on preset machine disc static information, physical slot position numbers of all slot positions on the machine frame and the fuzzy physical information, wherein the target information comprises a target machine disc name, a target machine disc type, a target machine disc physical port name and a target logic slot position number of a slot position into which the target machine disc is inserted;
and automatically managing the network element equipment to be managed according to the target information.
In some embodiments, the fuzzy physical information includes a set-top short and a set-top physical port short; the preset machine disc static information comprises machine disc names of all machine discs, machine disc types corresponding to the machine disc names, and mapping relations between logical slot numbers and physical slot numbers of corresponding slot positions of the machine discs which can be inserted on a machine frame.
In some embodiments, the method further comprises:
acquiring a second live-action photo corresponding to the optical fiber connection diagram, and identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection;
determining connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, wherein the connection information comprises the target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port and a chassis type;
and automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
In some embodiments, the precise site name information includes a source site name and a sink site name; the fuzzy connection physical port name information comprises a source connection physical port short and a sink connection physical port short; the destination connection physical port name information includes a source destination connection physical port name and a sink destination connection physical port name.
In some embodiments, the obtaining serial number information of a frame rigidly connected to the network element device to be managed includes:
searching new network element equipment based on the initial IP address range of the new open site, and taking the searched new network element equipment as network element equipment to be managed;
creating initial communication with the network element equipment to be managed;
and acquiring serial number information of a frame which is rigidly connected with the network element equipment to be on-line based on the initial communication.
In some embodiments, after the step of identifying the first live-action photo based on the image identification technology and the text identification technology to obtain the physical slot number of each slot on the frame and the fuzzy physical information of each chassis, the method further includes:
judging whether an organic disk is inserted into each slot position or not based on preset disk size information;
if no organic disk is inserted into a certain slot, marking the certain slot as a preset character;
and if the organic disk is inserted into a certain slot, executing the step of determining the target information of each disk based on the preset disk static information and the fuzzy physical information.
In some embodiments, before the step of identifying the first live-action photo based on the image identification technology and the text identification technology, the method further includes:
marking the machine frame information, the machine frame slot position information and the machine disc information in each preset machine frame photo and forming a training set;
and performing offline training of images and characters based on the training set to obtain a model library for identifying the first live-action photo based on the model library through an image identification technology and a character identification technology.
In a second aspect, an automatic network element device pipe feeding device is provided, including:
an acquisition unit for acquiring serial number information of a frame rigidly connected with the network element equipment to be connected with the pipe, acquiring a first live-action photo of a frame corresponding to the serial number information;
the recognition unit is used for recognizing the first live-action photo based on an image recognition technology and a character recognition technology to obtain physical slot numbers of all slots on the frame and fuzzy physical information of all the discs;
the determining unit is used for determining target information of each drive based on preset drive static information, physical slot numbers of all slots on the drive frame and the fuzzy physical information, wherein the target information comprises a target drive name, a target drive type, a target drive physical port name and a target logic slot number of the slot into which the target drive is inserted;
and the management unit is used for automatically managing the network element equipment to be managed according to the target information.
In some embodiments, the obtaining unit is further configured to obtain a second live-action photo corresponding to the optical fiber connection diagram;
the identification unit is also used for identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection;
the determining unit is further configured to determine connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, where the connection information includes target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port, and a chassis type;
the management unit is also used for automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
In a third aspect, a computer readable storage medium is provided, the computer storage medium storing a computer program, which when executed by a processor, implements the aforementioned network element device automatic up-management method.
The beneficial effects that technical scheme that this application provided brought include: the configuration threshold of site opening and the complexity of network equipment can be reduced, and the efficiency of automatic discovery and management of network element equipment is improved.
The application provides an automatic network element equipment management method, an automatic network element equipment management device and a readable storage medium, which comprise the steps of obtaining serial number information of a frame rigidly connected with network element equipment to be managed; acquiring a first live-action photo of a frame corresponding to serial number information; identifying the first live-action photo based on an image identification technology and a character identification technology to obtain physical slot numbers of all slots on the frame and fuzzy physical information of all discs; determining target information of each machine disc based on preset machine disc static information, physical slot position numbers of all slot positions on a machine frame and fuzzy physical information, wherein the target information comprises a target machine disc name, a target machine disc type, a target machine disc physical port name and a target logic slot position number of a slot position into which the target machine disc is inserted; and automatically managing the network element equipment to be managed according to the target information. According to the method and the device, the slot and the computer disk are identified through the image identification technology and the text identification technology, and then automatic discovery and management of the network element equipment are achieved according to the identification result, processing of an automatic network element equipment discovery protocol is not needed, configuration thresholds of site opening and complexity of the network equipment are reduced, and efficiency of automatic network element equipment discovery and management is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an automatic network element device management method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an automatic pipe feeding device of a network element device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
The embodiment of the application provides an automatic network element equipment management method, an automatic network element equipment management device and a readable storage medium, which can solve the problems of high configuration threshold, high complexity and low efficiency caused by the fact that network element equipment is found and managed through a network protocol in the related technology.
Fig. 1 is a method for automatically feeding network element equipment into a pipe, provided in an embodiment of the present application, including the following steps:
step S10: acquiring serial number information of a frame rigidly connected with a network element device to be connected with a pipe;
further, the obtaining serial number information of the frame hard connected with the network element equipment to be connected with the pipe includes:
searching new network element equipment based on the initial IP address range of the new open site, and taking the searched new network element equipment as network element equipment to be managed;
creating initial communication with the network element equipment to be managed;
and acquiring serial number information of a frame which is rigidly connected with the network element equipment to be on-line based on the initial communication.
Further, before the step of identifying the first live-action photo based on the image identification technology and the text identification technology, the method further includes:
marking the machine frame information, the machine frame slot position information and the machine disc information in each preset machine frame photo and forming a training set;
and performing offline training of images and characters based on the training set to obtain a model library for identifying the first live-action photo based on the model library through an image identification technology and a character identification technology.
In the embodiment, a model library for automatically identifying the type of the inserted disc in the frame in the image, whether the disc is inserted or not and other information is formed through data labeling and AI (Artificial Intelligence ) offline training. Specifically, in the offline training section, training of the machine frame slot and the type of the inserted machine disc, whether to insert the disc, and training of image and text extraction based on OCR (Optical Character Recognition ) are mainly completed.
Firstly, labeling and training of machine frame slots, machine disc types, whether discs are inserted or not and the like are performed based on image and character recognition: 1) Marking the combined frame photo and forming a training set, namely marking a physical slot number in rectangular information of the frame slot on the combined frame photo, marking a machine disc type on the information of the slot inserted with the inserted disc, and marking the machine disc type of the slot without the inserted disc as a preset character. For example, 1200 pictures of the front face of each network element frame are adopted, 1000 pictures are used as training sets, and 200 pictures are used as verification sets; then, machine frame information (such as machine frame edge, machine frame type, edge and serial number of physical port on each machine disk, etc.), machine frame slot information (such as rectangular edge of slot and physical slot number) and machine disk information (such as machine disk type is marked at the information of inserting disk on slot, and the slot without inserting disk is marked as preset character (for example, preset character is 0)) are marked in the compliant machine frame photo. The standard of compliance may refer to, among others: the whole picture of the machine frame and each slot position can be clearly displayed, the picture is uniformly processed into the size of 320mm high and 500mm wide, the picture identification direction is consistent with the standing direction of the machine frame, and the compliance standard can be set according to actual conditions and is not limited.
2) Inputting the marked compliance frame photo into a general AI training platform for training, stopping training to reach an accuracy rate of more than 95%, for example, inputting the compliance frame photo into a natural image segmentation model (for example, FCN (Fully Convolutional Network, full convolution neural network) model can be adopted), identifying a slot position in an image and a physical port of a machine disc on the slot position by a method of circularly identifying a rectangle, improving the accuracy of slot position identification by adjusting the ratio parameters of the height and the width of the slot position rectangle to the whole height and the width of the machine frame, and improving the accuracy of physical port identification by adjusting the ratio parameters of the height and the width of the physical port rectangle on the machine disc to the whole height and the width of the machine frame; then identifying the type of the machine disc according to static information such as the number of physical ports of the pluggable machine disc at the slot position of the machine frame and automatically marking; finally, the training can be stopped by adopting the verification set to verify, and the accuracy rate reaches more than 95%.
Secondly, extracting optical fiber connection information in the optical fiber connection diagram based on OCR image characters and marking and training: 1) Marking the photo of the qualified optical fiber connection diagram and forming a training set, namely marking a source site name, a source physical port name, a destination site name and a destination physical port name in the photo of the qualified optical fiber connection diagram, wherein the photo can be preferably marked by adopting a combination mode of English letters and underlines, and when each piece of optical fiber connection information is cut into independent pictures, the pictures can be uniformly processed into the sizes with the height of 50mm and the width of 300 mm. 2) Inputting the marked compliance optical fiber connection diagram photo to a universal AI training platform for training, namely training by adopting an OCR image character extraction algorithm, and realizing precision improvement by adjusting the detection width parameter, so that the training can be stopped when the accuracy is more than 98%. And finally, exporting a model library which is trained based on a general platform (such as Google Tensorsurface and the like) to an online identification system, and automatically identifying and uploading network element equipment.
The precondition for automatically feeding the network element equipment is that constructors complete the installation of a power supply, a machine frame and a machine disc and electrify the network element nodes. When a site is newly opened on the network management system, new network element equipment can be found in the initial IP address range of the newly opened site, the new network element equipment is the network element equipment to be connected, initial communication with the network element equipment to be connected is established, serial number information (namely SN number, which is positioned on a back plate of the machine frame and is burnt when the machine frame leaves a factory) of the machine frame which is rigidly connected with the network element equipment to be connected can be read, and the corresponding machine frame type can be found in the network management system according to the SN number.
Step S20: acquiring a first live-action photo of a frame corresponding to the serial number information;
in this embodiment, after a corresponding frame is found in the network management system according to the SN number, the front side of the frame may be photographed to obtain a first live-action photo corresponding to the frame (the first live-action photo may be obtained by directly photographing through a mobile phone or transmitting through internet communication), where it is required to ensure that the whole frame and each slot in the first live-action photo may be clearly displayed, and the number of the first live-action photo may be multiple, for example, three photos may be taken, and different photos may be mutually verified to further improve the recognition accuracy. If a plurality of first live-action photos exist, the photos can be uniformly processed into the sizes of 320mm in height and 500mm in width, and the photo recognition direction is consistent with the standing direction of the machine frame.
Step S30: identifying the first live-action photo based on an image identification technology and a character identification technology to obtain physical slot numbers of all slots on a frame and fuzzy physical information of all discs; the fuzzy physical information comprises a machine disc short name and a machine disc physical port short name.
In this embodiment, because the disk locations on the physical device are limited, it is difficult to display the full names of the disk and its physical port, so that only the short names of the disk and its physical port and the physical slot numbers of each slot on the frame can be displayed on the first live-action photo (the physical slot numbers refer to serial numbers of slots on the frame, which can be numbered from 1 to 256, and the disk type serial numbers can be numbered by a natural number starting from 1, so that there is a mapping relationship between the disk type serial numbers and the physical slot numbers, for example, each disk type serial number starting from 1 corresponds to a type of pluggable disk under the frame, for example, a static data file of a certain slot pluggable disk type under the frame type of the grouping device can be searched by 1, so as to determine the type name of the disk, for example, the type name of the disk is xge_2, which represents that the maximum access rate of the disk is XGE and has two physical ports of XGE rate. Therefore, when the first live-action photo is identified on line through the image identification technology and the character identification technology, the sequence number of the slot on the frame, the short machine disk of the machine disk on each slot, the short machine disk physical port and other fuzzy physical information can be identified.
Further, after the step of identifying the first live-action photo based on the image identification technology and the text identification technology to obtain the physical slot number of each slot on the frame and the fuzzy physical information of each machine disc, the method further includes:
judging whether an organic disk is inserted into each slot position or not based on preset disk size information;
if no organic disk is inserted into a certain slot, marking the certain slot as a preset character;
and if the organic disk is inserted into a certain slot, executing the step of determining the target information of each disk based on the preset disk static information and the fuzzy physical information.
In the embodiment, whether an object matched with a preset machine disc size exists on each slot position is judged through an image recognition technology and a character recognition technology, if the object is not exist, the slot position is marked as a preset character with identification such as 0 if the object is not inserted into the slot position, and if the object is not exist, the slot position is marked as a preset character with identification such as 0; if the information exists, the situation that the organic disc is inserted into the slot position is indicated, and at the moment, the target information of the organic disc needs to be further determined, so that a foundation is provided for automatic management of the network element equipment to be connected with the pipe.
Step S40: determining target information of each machine disc based on preset machine disc static information, physical slot position numbers of all slot positions on the machine frame and the fuzzy physical information, wherein the target information comprises a target machine disc name, a target machine disc type, a target machine disc physical port name and a target logic slot position number of a slot position into which the target machine disc is inserted; the preset machine disc static information comprises machine disc names of all machine discs, machine disc types corresponding to the machine disc names, logical slot numbers (the logical slot numbers are address numbers of slots used by network management and network element equipment in communication on a machine frame and are binary) of corresponding slots of the machine discs which can be inserted on the machine frame, and the physical slot numbers.
In this embodiment, although it is difficult to display the full names of the disk and its physical port on the physical device, the disk and its physical port recorded by the disk static information on the network management software are all full names, so that the identified fuzzy physical information, the physical slot number of each slot on the frame and the disk static information preset in the network management system are subjected to fuzzy matching, and the target disk name, the target disk type, the target disk physical port name, and the target logical slot number of the insertable slot of the target disk can be determined.
Step S50: and automatically managing the network element equipment to be managed according to the target information.
In this embodiment, the name, type, physical port name, logical slot number of the slot to be inserted, and the like of the disk may be learned according to the target information, so that the network manager finds the corresponding target disk according to the target information, and realizes automatic discovery of the target disk, and according to the mapping relationship between the target logical slot number of the slot to be inserted by the target disk and the physical slot number, the target disk may be automatically managed, thereby realizing automatic management of the network element device to be managed without manually performing one-step configuration.
Therefore, the method and the device realize the automatic discovery and management of the network element equipment by the identification of the slot position and the computer disk through the image identification technology and the character identification technology, and further realize the automatic discovery and management of the network element equipment according to the identification result without processing an automatic discovery protocol of the network element equipment, thereby reducing the configuration threshold of site opening and the complexity of the network equipment, improving the automatic discovery and management efficiency of the network element equipment, and being more significant for passive equipment which can not be automatically discovered through the protocol; meanwhile, the shot photo can also be used as a worker single fruit feedback for constructors.
Further, the method further comprises: acquiring a second live-action photo corresponding to the optical fiber connection diagram, and identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection; the accurate site name information comprises a source site name and a destination site name;
determining connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, wherein the connection information comprises the target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port and a chassis type; the fuzzy connection physical port name information comprises a source connection physical port name and a destination connection physical port name, and the target connection physical port name information comprises a source target connection physical port name and a destination target connection physical port name;
and automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
In the embodiment, the hard-line connection of the optical fibers is finished according to the drawing, and then the front surface of the optical fiber connection drawing is photographed to obtain a second live-action photo; the number of the second live-action photos can be multiple, for example, three photos can be taken, and different photos can be mutually verified, so that the recognition accuracy is further improved, and therefore the number of the second live-action photos can be determined according to actual requirements and is not limited herein. Then cutting each piece of optical fiber connection information in the second live-action photo into independent pictures according to the rows, wherein the pictures can be uniformly processed into the sizes of 50mm in height and 300mm in width; and secondly, identifying each piece of optical fiber connection information in the optical fiber connection graph based on an image identification technology and a character identification technology to obtain accurate site name information comprising a source site name and a destination site name and fuzzy connection physical port name information comprising a source connection physical port abbreviation and a destination connection physical port abbreviation.
Then, according to the source connection physical port short and the destination connection physical port short, carrying out fuzzy search on the physical port names from the static port information of the machine disk in the network management system so as to determine the full names of the source connection physical port and the destination connection physical port, namely the target connection physical port name information; if the source connection physical port abbreviation and the destination connection physical port abbreviation are not matched with the disk static port information, for example, the characters of the name part are inconsistent, the source connection physical port abbreviation and the destination connection physical port abbreviation are replaced by adopting the physical port abbreviation in the disk static port information.
And then determining the physical slot number of the source connection physical port, the disk type, the physical slot number of the destination connection physical port and the disk type of each optical fiber connection according to the automatically discovered target information of the disk, and knowing the logical slot number of the source connection physical port based on the physical slot number of the source connection physical port and the logical slot number of the destination connection physical port based on the physical slot number of the destination connection physical port.
And then an optical fiber connection data structure table Struct OpticalLink in the network management is built according to the source connection physical port name and the physical slot number, the logical slot number, the machine disk type and the destination site name, the destination connection physical port name and the physical slot number, the logical slot number and the machine disk type of the source connection physical port name and the physical slot number of the destination connection physical port name:
Struct OpticalLink{
Src_NodeName,
Src_SlotNo,
Src_PortName,
Dst_NodeName,
Dst_SlotNo,
Dst_PortName}
finally, drawing a fiber connection topological graph among the machine frame, the slot, the plug board, the physical port and the network element according to the automatically generated Struct OpticalLink, further realizing the automatic discovery and drawing of the fiber connection, reducing the processing of the network equipment for the automatic discovery protocol, and further reducing the complexity of the network equipment.
Referring to fig. 2, the embodiment of the present application further provides an automatic network element device pipe feeding device, including:
an acquisition unit for acquiring serial number information of a frame rigidly connected with the network element equipment to be connected with the pipe, acquiring a first live-action photo of a frame corresponding to the serial number information;
the recognition unit is used for recognizing the first live-action photo based on an image recognition technology and a character recognition technology to obtain physical slot numbers of all slots on the frame and fuzzy physical information of all the discs;
the determining unit is used for determining target information of each drive based on preset drive static information, physical slot numbers of all slots on the drive frame and the fuzzy physical information, wherein the target information comprises a target drive name, a target drive type, a target drive physical port name and a target logic slot number of the slot into which the target drive is inserted;
and the management unit is used for automatically managing the network element equipment to be managed according to the target information.
Further, the obtaining unit is further configured to obtain a second live-action photo corresponding to the optical fiber connection diagram;
the identification unit is also used for identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection;
the determining unit is further configured to determine connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, where the connection information includes target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port, and a chassis type;
the management unit is also used for automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
Further, the fuzzy physical information comprises a machine disc short name and a machine disc physical port short name; the preset machine disc static information comprises machine disc names of all machine discs, machine disc types corresponding to the machine disc names, and mapping relations between logical slot numbers and physical slot numbers of corresponding slot positions of the machine discs which can be inserted on a machine frame.
Further, the accurate site name information includes a source site name and a sink site name; the fuzzy connection physical port name information comprises a source connection physical port short and a sink connection physical port short; the destination connection physical port name information includes a source destination connection physical port name and a sink destination connection physical port name.
Further, the acquiring unit is specifically configured to:
searching new network element equipment based on the initial IP address range of the new open site, and taking the searched new network element equipment as network element equipment to be managed;
creating initial communication with the network element equipment to be managed;
and acquiring serial number information of a frame which is rigidly connected with the network element equipment to be on-line based on the initial communication.
Further, the identification unit is further configured to:
judging whether an organic disk is inserted into each slot position or not based on preset disk size information;
if no organic disk is inserted into a certain slot, marking the certain slot as a preset character;
and if the organic disk is inserted into a certain slot, executing the step of determining the target information of each disk based on the preset disk static information and the fuzzy physical information.
Further, the device further comprises a training unit for:
marking the machine frame information, the machine frame slot position information and the machine disc information in each preset machine frame photo and forming a training set;
and performing offline training of images and characters based on the training set to obtain a model library for identifying the first live-action photo based on the model library through an image identification technology and a character identification technology.
Therefore, the machine frame slot position, the machine disc and the optical fiber connection in the photo are rapidly identified through the image identification technology and the text identification technology, and further automatic discovery and management of network element equipment are carried out according to the identification result, so that automatic management and opening of the transmission network equipment are realized, the processing of an automatic network element equipment discovery protocol is not needed, the configuration threshold of site opening and the complexity of the network equipment are reduced, and the efficiency of automatic discovery and management of the network element equipment is improved.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements all or part of the steps of the foregoing automatic network element equipment management method.
The embodiments of the present application implement all or part of the above-described procedures, or may be implemented by a computer program that instructs related hardware to perform the steps of the above-described methods when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-Only memory (ROM), a random access memory (Random Access memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The automatic network element equipment pipe feeding method is characterized by comprising the following steps of:
acquiring serial number information of a frame rigidly connected with a network element device to be connected with a pipe;
acquiring a first live-action photo of a frame corresponding to the serial number information;
identifying the first live-action photo based on an image identification technology and a character identification technology to obtain physical slot numbers of all slots on a frame and fuzzy physical information of all discs;
determining target information of each machine disc based on preset machine disc static information, physical slot position numbers of all slot positions on the machine frame and the fuzzy physical information, wherein the target information comprises a target machine disc name, a target machine disc type, a target machine disc physical port name and a target logic slot position number of a slot position into which the target machine disc is inserted;
and automatically managing the network element equipment to be managed according to the target information.
2. The network element device automatic pipe-feeding method as claimed in claim 1, wherein: the fuzzy physical information comprises a machine disc short name and a machine disc physical port short name; the preset machine disc static information comprises machine disc names of all machine discs, machine disc types corresponding to the machine disc names, and mapping relations between logical slot numbers and physical slot numbers of corresponding slot positions of the machine discs which can be inserted on a machine frame.
3. The network element device automatic up-management method of claim 1, wherein the method further comprises:
acquiring a second live-action photo corresponding to the optical fiber connection diagram, and identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection;
determining connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, wherein the connection information comprises the target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port and a chassis type;
and automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
4. A method for automatically hosting a network element device as recited in claim 3, wherein: the accurate site name information comprises a source site name and a destination site name; the fuzzy connection physical port name information comprises a source connection physical port short and a sink connection physical port short; the destination connection physical port name information includes a source destination connection physical port name and a sink destination connection physical port name.
5. The automatic network element equipment up-management method according to claim 1, wherein the obtaining serial number information of a frame rigidly connected to the network element equipment to be up-managed includes:
searching new network element equipment based on the initial IP address range of the new open site, and taking the searched new network element equipment as network element equipment to be managed;
creating initial communication with the network element equipment to be managed;
and acquiring serial number information of a frame which is rigidly connected with the network element equipment to be on-line based on the initial communication.
6. The automatic network element equipment management method according to claim 1, wherein after the step of identifying the first live-action photo based on the image identification technology and the text identification technology to obtain the physical slot number of each slot on the frame and the fuzzy physical information of each chassis, the method further comprises:
judging whether an organic disk is inserted into each slot position or not based on preset disk size information;
if no organic disk is inserted into a certain slot, marking the certain slot as a preset character;
and if the organic disk is inserted into a certain slot, executing the step of determining the target information of each disk based on the preset disk static information and the fuzzy physical information.
7. The method for automatically hosting a network element device according to claim 1, further comprising, prior to the step of identifying the first live-action photo based on an image identification technique and a text identification technique:
marking the machine frame information, the machine frame slot position information and the machine disc information in each preset machine frame photo and forming a training set;
and performing offline training of images and characters based on the training set to obtain a model library for identifying the first live-action photo based on the model library through an image identification technology and a character identification technology.
8. An automatic network element equipment pipe feeding device, which is characterized by comprising:
an acquisition unit for acquiring serial number information of a frame rigidly connected with the network element equipment to be connected with the pipe, acquiring a first live-action photo of a frame corresponding to the serial number information;
the recognition unit is used for recognizing the first live-action photo based on an image recognition technology and a character recognition technology to obtain physical slot numbers of all slots on the frame and fuzzy physical information of all the discs;
the determining unit is used for determining target information of each drive based on preset drive static information, physical slot numbers of all slots on the drive frame and the fuzzy physical information, wherein the target information comprises a target drive name, a target drive type, a target drive physical port name and a target logic slot number of the slot into which the target drive is inserted;
and the management unit is used for automatically managing the network element equipment to be managed according to the target information.
9. The network element equipment automatic pipe feeding device according to claim 8, wherein:
the acquisition unit is also used for acquiring a second live-action photo corresponding to the optical fiber connection diagram;
the identification unit is also used for identifying the second live-action photo based on an image identification technology and a character identification technology to obtain accurate site name information and fuzzy connection physical port name information of each optical fiber connection;
the determining unit is further configured to determine connection information of each optical fiber connection based on the fuzzy connection physical port name information and target information of a chassis corresponding to a site, where the connection information includes target connection physical port name information of each optical fiber connection, a physical slot number corresponding to the target connection physical port, and a chassis type;
the management unit is also used for automatically drawing an optical fiber connection topological graph according to the accurate site name information, the connection information and the target information.
10. A computer-readable storage medium, characterized by: the computer storage medium stores a computer program which, when executed by a processor, implements the network element device automatic up-management method of any one of claims 1 to 7.
CN202210503150.9A 2022-05-09 2022-05-09 Automatic network element equipment management method and device and readable storage medium Active CN115001930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210503150.9A CN115001930B (en) 2022-05-09 2022-05-09 Automatic network element equipment management method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210503150.9A CN115001930B (en) 2022-05-09 2022-05-09 Automatic network element equipment management method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN115001930A CN115001930A (en) 2022-09-02
CN115001930B true CN115001930B (en) 2023-05-12

Family

ID=83024518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210503150.9A Active CN115001930B (en) 2022-05-09 2022-05-09 Automatic network element equipment management method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN115001930B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971088A (en) * 2013-01-28 2014-08-06 国际商业机器公司 Information Technology Asset Location Using Visual Detectors
CN108573290A (en) * 2017-03-13 2018-09-25 广达电脑股份有限公司 Device and position determination system and method for data center
CN109819352A (en) * 2019-01-28 2019-05-28 中国联合网络通信集团有限公司 A kind of fiber data processing system framework and processing method
CN112003960A (en) * 2020-08-06 2020-11-27 杭州安恒信息技术股份有限公司 Network interface management method and device of industrial control equipment and electronic device
CN112132819A (en) * 2020-09-29 2020-12-25 国网上海市电力公司 Communication network management monitoring method based on artificial intelligence
CN112231251A (en) * 2020-11-03 2021-01-15 迈普通信技术股份有限公司 Board card slot identification method and device, communication equipment and readable storage medium
CN112968798A (en) * 2021-02-04 2021-06-15 西安热工研究院有限公司 Virtual and real network environment automatic generation method suitable for electric power industrial control target range platform
CN113342279A (en) * 2021-06-24 2021-09-03 苏州浪潮智能科技有限公司 Disk array access method, device, equipment and storage medium
CN113840292A (en) * 2020-06-04 2021-12-24 中国移动通信集团福建有限公司 Base station opening system, method, device and equipment based on micro-service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733449B (en) * 2017-04-17 2022-01-25 伊姆西Ip控股有限责任公司 Method, apparatus, and computer-readable storage medium for managing virtual machines
US11329891B2 (en) * 2019-08-08 2022-05-10 Vonage Business Inc. Methods and apparatus for managing telecommunication system devices

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971088A (en) * 2013-01-28 2014-08-06 国际商业机器公司 Information Technology Asset Location Using Visual Detectors
CN108573290A (en) * 2017-03-13 2018-09-25 广达电脑股份有限公司 Device and position determination system and method for data center
CN109819352A (en) * 2019-01-28 2019-05-28 中国联合网络通信集团有限公司 A kind of fiber data processing system framework and processing method
CN113840292A (en) * 2020-06-04 2021-12-24 中国移动通信集团福建有限公司 Base station opening system, method, device and equipment based on micro-service
CN112003960A (en) * 2020-08-06 2020-11-27 杭州安恒信息技术股份有限公司 Network interface management method and device of industrial control equipment and electronic device
CN112132819A (en) * 2020-09-29 2020-12-25 国网上海市电力公司 Communication network management monitoring method based on artificial intelligence
CN112231251A (en) * 2020-11-03 2021-01-15 迈普通信技术股份有限公司 Board card slot identification method and device, communication equipment and readable storage medium
CN112968798A (en) * 2021-02-04 2021-06-15 西安热工研究院有限公司 Virtual and real network environment automatic generation method suitable for electric power industrial control target range platform
CN113342279A (en) * 2021-06-24 2021-09-03 苏州浪潮智能科技有限公司 Disk array access method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于CNN的光缆交接箱容量识别方法;杨鹤鸣;;网络安全技术与应用(05);全文 *

Also Published As

Publication number Publication date
CN115001930A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN111865815B (en) Flow classification method and system based on federal learning
CN109086780B (en) Method and device for detecting electrode plate burrs
WO2021003998A1 (en) Sdn architecture-based information conversion method and system
CN112152826B (en) Asset management method, device, system and medium
EP3637735B1 (en) Method and device for handling multi-subscriber request
CN112001274A (en) Crowd density determination method, device, storage medium and processor
CN105898448A (en) Submission method and device of transcoding attribute information
CN101483543A (en) Network management method and system, terminal and automatic configuration server
CN105635256A (en) Multimedia synchronization method, device and system
CN111010429B (en) Method and system for managing equipment running state based on platform of Internet of things
CN109286545A (en) A kind of smart home device management method and device
CN115001930B (en) Automatic network element equipment management method and device and readable storage medium
CN108228417B (en) Internet of vehicles log processing method and device
CN113641742A (en) Data extraction method, device, equipment and storage medium
CN103873297A (en) Processing method for reverse inheritance modeling of data acquisition and processing system
CN107800802A (en) A kind of Rack whole machine cabinets write-in and the method for reading UUID
CN115242692B (en) Network asset custom protocol identification method, device, terminal and storage medium
CN109412856B (en) Network equipment brand non-difference management method and system
CN111325212A (en) Model training method and device, electronic equipment and computer readable storage medium
CN109474331A (en) O&M monitoring method, device, storage medium and the terminal device of Optical Distribution Network
CN104978623A (en) Personnel information management service system
CN109670554B (en) Method and device for managing data set labels in deep learning system
CN106708862A (en) Large image management method and system
CN114386468A (en) Network abnormal flow detection method and device, electronic equipment and storage medium
CN106941413B (en) Service management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant