CN112766745A - Cable use control method and device based on network device management - Google Patents

Cable use control method and device based on network device management Download PDF

Info

Publication number
CN112766745A
CN112766745A CN202110089540.1A CN202110089540A CN112766745A CN 112766745 A CN112766745 A CN 112766745A CN 202110089540 A CN202110089540 A CN 202110089540A CN 112766745 A CN112766745 A CN 112766745A
Authority
CN
China
Prior art keywords
information
cable
fiber interface
optical fiber
interface module
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.)
Granted
Application number
CN202110089540.1A
Other languages
Chinese (zh)
Other versions
CN112766745B (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.)
Inspur Cisco Networking Technology Co Ltd
Original Assignee
Inspur Cisco Networking Technology 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 Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202110089540.1A priority Critical patent/CN112766745B/en
Publication of CN112766745A publication Critical patent/CN112766745A/en
Application granted granted Critical
Publication of CN112766745B publication Critical patent/CN112766745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance

Abstract

The application discloses a cable use control method and device based on network equipment management, which are used for solving the problem that a large amount of manpower and material resources are consumed when the existing manual statistics is carried out on an optical fiber interface module and a cable. The method comprises the steps of determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment; acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance; confirming the use states of the optical fiber interface module of the network equipment and the cable according to the matching result; acquiring equipment information of network equipment, and calculating the length of a required cable according to the equipment information; and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length. Can carry out direct management to the material, the extravagant, the reason line difficulty of material that can not appear leading to because of the cable overlength, the fortune that is convenient for maintain personnel and carry out the circuit and maintain.

Description

Cable use control method and device based on network device management
Technical Field
The present application relates to the field, and in particular, to a cable usage control method and device based on network device management.
Background
With the increasing demand for data communication in recent years, the size and number of data centers and small-sized equipment rooms have increased exponentially. In the process of building a data center or a machine room, a large amount of cable materials and the like are often used among devices. In a general computer room, there are hundreds of cables, and in a large-scale network, there may be tens of thousands, even hundreds of thousands of cables.
At present, statistics of optical fiber interface modules and cables are generally recorded manually and uniformly by special workers, and when a network has a problem, the workers are required to search answers in piled cables. In the case of a large number of devices, not only a large amount of manpower and material resources are consumed, but also statistics of the optical fiber interface modules and cables become difficult gradually. Meanwhile, with the problems of bandwidth increase, inter-device distance and the like, the cost of some optical fiber interface modules and cables becomes higher, the problems of specification use errors or loss caused by statistic confusion and the like easily occur, and certain resource waste or economic loss is caused to operators.
Disclosure of Invention
The embodiment of the application provides a cable use control method and equipment based on network equipment management, and is used for solving the problems that under the existing condition of a large amount of equipment, only manual statistics can be carried out on an optical fiber interface module and a cable, a large amount of manpower and material resources are consumed, and material waste is caused by cable specification use errors.
The cable use control method based on network equipment management provided by the embodiment of the application comprises the following steps:
determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment; acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance; according to the matching result, confirming the use states of the optical fiber interface module and the cable of the network equipment; acquiring equipment information of the network equipment, and calculating the length of a required cable according to the equipment information; and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
In one example, before obtaining the fiber interface module information and the cable information of the network device according to the preset period, the method further includes: determining optical fiber interface module information and cable information to be stored; the optical fiber interface module information and the cable information comprise an optical fiber interface module serial number, a cable length, an optical fiber interface module speed, a cable serial number and whether cable curing is performed; determining an information import template according to the optical fiber interface module information and the cable information; and according to the information import template, storing the optical fiber interface module information and the cable information.
In one example, the storing the fiber interface module information and the cable information according to the information import template specifically includes: judging the legality of the optical fiber interface module information and the cable information according to the information import template; if the information of the optical fiber interface module is legal with the information of the cable, the information of the optical fiber interface module and the information of the cable are stored according to the information import template; and if the information of the optical fiber interface module is illegal with the information of the cable, prompting illegal information.
In one example, acquiring the optical fiber interface module information and the cable information of the network device according to a preset period, and matching the optical fiber interface module information and the cable information stored in advance specifically includes: acquiring optical fiber interface module information and cable information of the network equipment according to a preset period; and filtering the acquired information of the optical fiber interface module and the cable information to acquire serial numbers respectively corresponding to the optical fiber interface module and the cable, and matching the serial numbers with the pre-stored serial numbers in the information of the optical fiber interface module and the cable information.
In one example, according to the matching result, confirming the use state of the fiber interface module and the cable of the network device specifically includes: if the pre-stored optical fiber interface module information and the cable information have the matched serial number, judging the use state of the serial number; if the use state of the serial number is used, the serial number is not changed; if the serial number is not used, marking the serial number as used; and if the prestored optical fiber interface module information and the cable information do not have the corresponding serial number, alarming.
In one example, according to the matching result, confirming the use state of the fiber interface module and the cable of the network device specifically includes: determining that the cable corresponding to the network equipment is a solidified cable; if the state of the optical fiber interface module corresponding to the solidified cable is unused, and a serial number matched with the solidified cable exists in the prestored optical fiber interface module information and cable information, marking the state of the optical fiber interface module as used; and if the state of the optical fiber interface module corresponding to the solidified cable is used and the prestored optical fiber interface module information and cable information do not have the serial number matched with the solidified cable, marking the state of the optical fiber interface module as unused.
In one example, acquiring device information of the network device, and calculating a required cable length according to the device information specifically includes: determining the positions of all the network equipment in the cabinet according to the equipment information of all the network equipment; generating a cabinet arrangement chart based on the cabinet position; and determining the position of a cabling rack in the cabinet arrangement diagram, and determining the length of the cable required by the network equipment according to the cabinet arrangement diagram and the position of the cabling rack.
In one example, the method further comprises: determining the number of the residual optical fiber interface modules and cables respectively corresponding to different speeds according to the optical fiber interface module information and cable information of the network equipment and the pre-stored optical fiber interface module information and cable information; and if the number of the residual optical fiber interface modules and cables is lower than a preset allowance reminding value, giving an alarm.
In one example, before obtaining the fiber interface module information and the cable information of the network device according to the preset period, the method further includes: determining that the SSH and SNMP services of the network equipment are available according to the configuration information of the network equipment; the configuration information comprises an IP address, a user name, a password and an SNMP group name of the network equipment; verifying the connection result of the SSH of the network equipment and the SNMP service; if the connection is successful, storing the equipment information of the network equipment; the equipment information comprises the U number of the network equipment, the cabinet where the network equipment is located, the position of the cabinet where the network equipment is located, and the distance between the cabinet where the network equipment is located and other cabinets; acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, specifically comprising: and acquiring the optical fiber interface module information and the cable information of the network equipment through the SNMP service.
The embodiment of the application provides a cable use control device based on network device management, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment; acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance; according to the matching result, confirming the use states of the optical fiber interface module and the cable of the network equipment; acquiring equipment information of the network equipment, and calculating the length of a required cable according to the equipment information; and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
the optical fiber interface module and the cable information which are used in each network device are obtained through the constructed management network for controlling the use of the cable, so that the functions of using condition statistics, position positioning and allowance reminding of the optical fiber interface module and the cable are provided for management operation and maintenance personnel, and the operation and maintenance and material management are facilitated; through obtaining the position of each network equipment in the cabinet and the placing position in the cabinet, when the distance of the cable used by the network equipment is greater than the warning distance, a prompt is given, the problems of material waste, difficulty in wire arrangement and the like caused by overlong cables are avoided, and operation and maintenance personnel can maintain the circuit conveniently.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a cable usage control method based on network device management according to an embodiment of the present application;
fig. 2 is a structural diagram of a cable usage control device based on network device management according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Therefore, in the process of data center construction or operation and maintenance, an effective method is needed to solve the problems of specification verification of the optical fiber interface module and the cable, using position positioning of the optical fiber interface module and the cable, consumption statistics of the optical fiber interface module and the cable, and the like, and meanwhile, the manpower consumption of manual statistics and later operation and maintenance statistics is saved. How to carry out rapid statistics, positioning and analysis in the process of building, operating and maintaining a data center becomes a problem which needs to be solved urgently by operation and maintenance and implementation technicians.
Fig. 1 is a flowchart of a cable usage control method based on network device management according to an embodiment of the present application, which specifically includes the following steps:
s101: a management network for cable usage control is determined that is comprised of a network device management module and a number of network devices.
In the embodiment of the application, the server determines a pre-established network environment of a management network consisting of the network equipment management module and a plurality of network equipment, so that the network equipment management module manages the network equipment based on the management network, and the use control of cables is realized.
Specifically, the server determines the IP addresses of the pre-configured network device management module and the network device using the optical fiber interface module and the cable, and the IP from the network device management module to the network device is accessible, so that the network device management module can be communicated with the network device. The network equipment management module manages the network equipment and controls the use of the cable according to the information of the optical fiber interface module and the cable used by the network equipment.
It should be noted that the network device may be a hardware device such as a server, a switch, a router, a PC device, etc. that supports SNMP and SSH services. The network equipment management module can be a terminal and software which can play a role in management.
In the embodiment of the application, after the server determines that the SSH and the SNMP service of the network device are available according to the configuration information of the network device, the server verifies the connection result of the SSH and the SNMP service of the network device, and if the connection is successful, the server stores the device information of the network device. The device information includes, but is not limited to, the size of the U number of the network device, the cabinet where the network device is located, the location of the cabinet where the network device is located, and the distance between the cabinet where the network device is located and other cabinets; configuration information includes, but is not limited to, the IP address of the network device, username, password, SNMP community name.
The Simple Network Management Protocol (SNMP) is composed of a set of network management standards, and includes an application layer protocol (application layer protocol), a database model (database schema), and a set of data objects, and a Secure shell protocol (SSH) is a protocol dedicated to providing security for telnet sessions and other network services.
Specifically, after the network device is configured, the server checks configuration information of the network device, and initiates an SSH service request and an SNMP service request to the network device, and after the SSH service request and the SNMP service request are both successfully connected, the server indicates that the verification is successful, and then stores the device information of the network device in the memory.
S102: and acquiring the optical fiber interface module information and the cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance.
In the embodiment of the application, the network device management module periodically queries the optical fiber interface module and the cable which are used by the network device according to a preset period, and matches the obtained optical fiber interface module information and the cable information with the optical fiber interface module information and the cable information which are pre-stored in the memory after filtering. The preset period may be specifically set as required, and is not limited in the present application.
In this embodiment of the present application, after purchasing an optical fiber interface module and a cable, a network device management module first obtains information of the optical fiber interface module and cable information to be stored, determines a corresponding information import template according to the information of the optical fiber interface module and the cable information, and then stores the purchased information of the optical fiber interface module and the cable information in a memory according to the information import template. The fiber interface module information and the cable information include, but are not limited to, a fiber interface module serial number, a cable length, a fiber interface module rate, a cable serial number, whether cable curing is performed, a fiber interface module type, a manufacturer, purchase time, a manager, and remark information.
In this embodiment, the network device management module may specifically be network management software, and specifically, an information import template for storing the optical fiber interface module information and the cable information may be downloaded from an interactive interface of the network management software, and it is determined that the optical fiber interface module information and the cable information have been correctly filled according to the information import template, and if the optical fiber interface module information and the cable information are legal, it indicates that the optical fiber interface module information and the cable information are correctly filled, so that the optical fiber interface module information and the cable information are stored in the memory. And if the optical fiber interface module information and the cable information are determined to be illegal, which indicates that the optical fiber interface module information and the cable information are wrongly filled, stopping the current storage work b and prompting that the information is illegal on a network management software interactive interface. In the process of storing the optical fiber interface module information and the cable information, if the serial number of the stored information is the same as that of the stored information, the serial number of the stored information is overwritten.
For example, the serial number is 10 digits, and letters appear in the serial number in the information import template, which causes the information of the optical fiber interface module and the information of the cable to be illegal, so that the information is prompted to be illegal on the network management software interactive interface.
In this embodiment of the present application, the network device management module obtains optical fiber interface module information and cable information of the network device according to a preset period, filters the obtained optical fiber interface module information and cable information to obtain serial numbers corresponding to the optical fiber interface module and the cable, respectively, and matches the serial numbers with serial numbers in the pre-stored optical fiber interface module information and cable information.
Specifically, the network device management module firstly determines the duration of a preset period, when the preset period is reached, the network device management module reads the optical fiber interface modules and cables in use of all network devices through the SNMP service according to the preset period and according to optical fiber interface modules and cable-related OID values of different device manufacturers, acquires optical fiber interface module information and cable information of a json format of the network devices, performs regular expression filtering on the acquired optical fiber interface module information and cable information to acquire an optical fiber interface serial number and a cable serial number, and takes the optical fiber interface serial number and the cable serial number as keywords to be matched with the optical fiber interface information and the serial number in the cable information which are stored in the memory before. Wherein the Object identifier-OID represents a unique identification number for each fiber interface module and cable.
S103: and confirming the use states of the optical fiber interface module and the cable of the network equipment according to the matching result.
In the embodiment of the application, the network device management module determines the use states of the optical fiber interface module and the cable corresponding to the network device according to the matching result, and modifies the use states of the optical fiber interface module and the cable corresponding to the network device when the stored use states of the optical fiber interface module and the cable do not conform to the actual use state.
In this embodiment, the network device management module obtains a serial number of an optical fiber interface module and a serial number of a cable that are being used by the network device, and matches the serial number of the optical fiber interface module with the serial number of the cable and pre-stored information of the optical fiber interface module and the cable information. If the corresponding serial number is matched in the prestored optical fiber interface module information and cable information, the using state of the optical fiber interface or cable in use of the network equipment is changed into the used state, and if the corresponding serial number is not matched in the prestored optical fiber interface module information and cable information, the information of the optical fiber interface module and cable in use of the network equipment is proved not to be stored in the memory, so that the network equipment management module gives an alarm prompt to remind a worker to process.
In the embodiment of the application, if the pre-stored optical fiber interface module information and the cable information have the matched serial number, the use state of the serial number is judged; if the use state of the serial number is used, the serial number is not changed; if the serial number is not used, marking the serial number as used; and if the prestored optical fiber interface module information and the cable information do not have the corresponding serial number, alarming. This application is through the optical fiber interface module who uses network equipment and the user state of cable carry out the record, makes managers can be audio-visual look over present used optical fiber interface module number and not use optical fiber interface module number, and the fortune of being convenient for is maintained and material management, has also saved the manpower that is used for the cable to count simultaneously.
Specifically, after matching the optical fiber interface module and the cable in use by the network device with the pre-stored information of the optical fiber interface module and the cable, if a serial number matched with the optical fiber interface module and the cable in use by the network device exists in the pre-stored information of the optical fiber interface module and the cable, the network device management module judges the use state of the serial number, and if the use state of the serial number is used, it indicates that the use state of the optical fiber interface or the cable in use by the network device is correct, so that the information of the optical fiber interface module or the cable is not changed; if the serial number is unused, the use state of the optical fiber interface or the cable in use of the network equipment is wrong, and therefore the serial number of the optical fiber interface module or the cable is marked as used; if the pre-stored information of the optical fiber interface module and the cable does not have the corresponding serial number, the information of the optical fiber interface module or the cable is not stored in the memory, so that the alarm prompt is given.
In the embodiment of the application, when the network device management module determines that the cable corresponding to the network device is a cured cable according to the acquired cable information, if the state of the optical fiber interface module corresponding to the cured cable is unused and a serial number matched with the cured cable exists in the pre-stored information of the optical fiber interface module and the cable information, the network device management module marks the state of the optical fiber interface module as used; if the state of the optical fiber interface module corresponding to the solidified cable is used, and the pre-stored information of the optical fiber interface module and the cable information do not have the serial number matched with the solidified cable, the network equipment management module marks the state of the optical fiber interface module as unused.
Specifically, if the cable in use of the network device is a cured cable, after the network device management module acquires the cable information of the cured cable, the network device management module matches the pre-stored information of the optical fiber interface modules and the cable information, and finds that a serial number corresponding to the optical fiber interface modules at the two ends of the cured cable exists and the use states corresponding to the optical fiber interface modules at the two ends of the cured cable are both unused, the use states of the optical fiber interface modules at the two ends of the cured cable are both modified to be used. If the corresponding use states of the optical fiber interface modules at the two ends of the solidified cable are used, no change is made.
In the embodiment of the application, if the use state of the cured cable stored in the memory is used but corresponding cable information is not acquired on the network device, the use state of the cured cable is modified to be unused; and if the use state of the solidified cable stored in the memory is unused, and corresponding cable information is acquired on the network equipment, modifying the use state of the solidified cable into used.
S104: and acquiring equipment information of the network equipment, and calculating the length of the required cable according to the equipment information.
In the embodiment of the application, the network device management module acquires device information corresponding to the network device, and calculates the length of a cable required by the network device according to the device information.
In the embodiment of the application, the network device management module determines the positions of cabinets where all network devices are located according to the device information of all the network devices, generates a cabinet arrangement chart based on the positions of the cabinets, determines the positions of the racks in the cabinet arrangement chart, and determines the lengths of cables required by the network devices according to the cabinet arrangement chart and the positions of the racks.
In this embodiment of the application, if the network device management module obtains the information of the cable whose use state is used, the network device management module queries the network devices corresponding to the two ends of the cable, and after obtaining the device information of the network devices corresponding to the two ends of the cable, determines whether the network devices corresponding to the two ends of the cable are in the same cabinet, and if the network devices corresponding to the two ends of the cable are in the same cabinet, because the same cabinet does not use a rack, the length of the cable does not need to be calculated. And if the network equipment corresponding to the two ends of the cable are positioned in the same cabinet, calculating the length between the network equipment corresponding to the two ends of the cable.
Specifically, the step of calculating the length between the network devices corresponding to the two ends of the cable includes the following steps:
step one, configuring cabinet information;
after the cabinet is fixed, setting the placement information of the cabinet in the network equipment management module, wherein the placement information comprises the length L of the cabinet, the width W of the cabinet, the total row number R of the cabinet and the row spacing R of the cabinetdTotal number of lines of cabinet C, line spacing of cabinet CdAnd the units are meters, after the setting is finished, the network equipment management module generates a cabinet arrangement chart, and any vertical direction in the cabinet arrangement chart is four directions. After the machine cabinet placing chart is generated, the network equipment management module creates the position of the side routing frame according to the structure of the machine room, determines the direction of the machine room according to the machine cabinet placing chart when the first side routing frame is created in the primary creation process, and selects the direction of the north orientationEnsuring that the direction of the machine room is consistent with the position of the cabling rack, automatically naming the cabling rack as the side cabling rack 1, subsequently establishing the side cabling rack without selecting the direction, automatically naming the second established cabling rack as the side cabling rack 2, and so on. Then, the network device management module can configure information parameters of the cabinet, including a cabinet serial number, a cabinet name, a cabinet height H, and a cabinet bottom height HbaseThe number of the layers T of the cabinet and the serial number of the belonging cabling rack. Meanwhile, the distance from the cabinet to the cabling rack needs to be measured according to actual conditions, and the arrangement of partial redundancy length is considered, so that the redundancy length L needs to be configuredredundancyAnd after configuration is completed, the network equipment management module stores data in a memory.
Secondly, configuring cabinet and cabling rack coordinate information;
after the configuration of the information of the cabinet is completed, the network equipment management module automatically generates the number R of the columns of the cabinet for the cabinet in which the information of the cabinet is fillednumNumber of lines C of cabinetnumThe parameters are set, so that the parameters are distributed in a mode that the number of rows is increased by 1 line by line from north to south, namely the number of rows C closest to a north cabinetnumAre all 1, the number of rows C of the next north cabinetnumAll are 2, and so on. The distribution is carried out in a mode that the column number increases by 1 from west to east, namely the column number R closest to the west cabinetnumAre all 1, the number of rows R next to the western cabinetnumAll are 2, and so on.
If the position of the side wire frame is located at the west side of the cabinet layout chart, the row number R ismgmt0, if the position of the side routing frame is located at the east side of the cabinet layout chart, the row number R ismgmtThe maximum number of rows of cabinets is increased by one. If the position of the side routing frame is located at the north side of the cabinet layout chart, the row number C thereofmgmt0, if the position of the side routing frame is located at the south side of the cabinet layout chart, the row number CmgmtAnd adding one to the maximum cabinet line number, and after the parameter generation is completed, the network equipment management module stores the data into the memory.
And step three, calculating the cable alarm length of the two devices.
The network equipment connected with the two ends of the cable is equipment A and equipment B, and the number of layers of the cabinet where the equipment A is positioned is TAThe height of the cabinet is HAThe height of the bottom layer of the cabinet is Hbase-ANumber of rows being Cnum-AThe number of columns is Rnum-A(ii) a The number of layers of the cabinet where the equipment B is positioned is TBThe height of the cabinet is HBThe height of the bottom layer of the cabinet is Hbase-BNumber of rows being Cnum-BThe number of columns is Rnum-B
If the cabling rack is positioned on the west side or the east side of the machine room, the alarm length L of the cablealertThe results are given by the following formula, in meters:
Lalert=(|Rmgmt-Rnum-A|+|Rmgmt-Rnum-B|)*(W+Rd)-W-(Hbase-A+Hbase-B+TA*U/100+TB*U/100)+Lredundanc. If the wiring rack is positioned at the north side or the south side of the machine room, the cable alarm length LalertThe results are given by the following formula, in meters:
Lalert=(|Cmgmt-Cnum-A|+|Cmgmt-Cnum-B|)*(L+Cd)-L-(Hbase-A+Hbase-B+TA*U/100+TB*U/100)+Lredundanc
s105: and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
In this embodiment, the network device management module compares the calculated length of the cable required by the network device with the actual length of the cable connected to the network device to determine whether the actual cable connected to the network device can be connected to the network device.
Specifically, the network device management module considers the cable routing alarm length after the redundant length of the cable according to the distance between two network devices at two ends of the cable, compares the actual length of the cable in use of the network device with the cable routing alarm length corresponding to the network device, and alarms if the actual length of the cable in use of the network device is greater than the cable routing alarm length, so as to prompt that the length of the cable is greater than the cable routing alarm length, so that the length is unreasonable, and gives the position and the port of the network device where the cable is located, so that an administrator can perform alarm confirmation, and perform operations such as changing and modifying on the cable according to the alarm information. This application calculates and contrasts with network equipment in-service use's cable length through the length to between network equipment, can in time discover the cable of length overlength, reminds the staff to handle, has avoided the cable material extravagant, makes things convenient for the later stage to carry out the fortune dimension to the cable simultaneously.
In the embodiment of the application, the network equipment management module determines and stores the operation information of the optical fiber interface module and the cable by the user; and determining and storing the operation information of the user on the network equipment.
It should be noted that the operation information of the optical fiber interface module and the cable includes, but is not limited to, an adding operation of the information of the optical fiber interface module and the cable, a modifying operation of the information of the optical fiber interface module and the cable, a deleting operation of the information of the optical fiber interface module and the cable, and an importing operation of the information of the optical fiber interface module and the cable; the operation information of the network equipment includes, but is not limited to, adding, modifying and deleting operation on the network equipment position, cabinet information, cabinet spacing information and redundant distance.
In the embodiment of the application, the network equipment management module determines the number of the residual optical fiber interface modules and cables respectively corresponding to different rates according to the optical fiber interface module information and cable information of the network equipment and the pre-stored optical fiber interface module information and cable information; and if the number of the residual optical fiber interface modules and cables is lower than the preset allowance reminding value, giving an alarm for prompting.
Specifically, the network device management module calculates the number of the used optical fiber interface modules and cables marked as the use states at the same speed according to different speeds of the optical fiber interface modules, calculates the number of the total optical fiber interface modules and cables at the speed, obtains the number of the remaining optical fiber interface modules and cables by subtracting the number of the used optical fiber interface modules and cables from the number of the total optical fiber interface modules and cables at the speed, stores the three types of results in the memory, and displays the results in the network device management module so that a manager can check and count the results. And when the number of the residual optical fiber interface modules and cables is lower than the preset residual reminding value, giving an alarm for prompting. The preset allowance reminding value can be specifically set according to needs, and the method is not limited in the application.
According to the embodiment of the application, the optical fiber interface module and the cable information which are used in each network device are obtained through the constructed management network for controlling the use of the cable, the functions of counting the use condition, positioning the position and reminding the allowance of the optical fiber interface module and the cable are provided for management operation and maintenance personnel, manpower and material resources are saved, and operation and maintenance and material management are facilitated; through obtaining the position of the cabinet where each network device is located and the placing position in the cabinet, when the distance of the cable used by the network device is greater than the warning distance, a prompt is given, so that the problems of material waste, difficulty in wire arrangement and the like caused by overlong cables are avoided, and the operation and maintenance personnel can maintain the optical fiber interface module and the cable conveniently.
Based on the same inventive concept, the cable usage control method based on network device management provided in the embodiments of the present application further provides a corresponding cable usage control device based on network device management, as shown in fig. 2.
Fig. 2 is a schematic structural diagram of a cable usage control device based on network device management according to an embodiment of the present application, which specifically includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to: determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment; acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance; confirming the use states of the optical fiber interface module of the network equipment and the cable according to the matching result; acquiring equipment information of network equipment, and calculating the length of a required cable according to the equipment information; and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A cable use control method based on network equipment management is characterized by comprising the following steps:
determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment;
acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance;
according to the matching result, confirming the use states of the optical fiber interface module and the cable of the network equipment;
acquiring equipment information of the network equipment, and calculating the length of a required cable according to the equipment information;
and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
2. The method of claim 1, wherein before obtaining the fiber interface module information and the cable information of the network device according to the preset period, the method further comprises:
determining optical fiber interface module information and cable information to be stored; the optical fiber interface module information and the cable information comprise an optical fiber interface module serial number, a cable length, an optical fiber interface module speed, a cable serial number and whether cable curing is performed;
determining an information import template according to the optical fiber interface module information and the cable information;
and according to the information import template, storing the optical fiber interface module information and the cable information.
3. The method of claim 2, wherein storing the fiber optic interface module information and cable information according to the information import template comprises:
judging the legality of the optical fiber interface module information and the cable information according to the information import template;
if the information of the optical fiber interface module is legal with the information of the cable, the information of the optical fiber interface module and the information of the cable are stored according to the information import template;
and if the information of the optical fiber interface module is illegal with the information of the cable, prompting illegal information.
4. The method according to claim 1, wherein the acquiring of the fiber interface module information and the cable information of the network device according to the preset period, and the matching with the pre-stored fiber interface module information and the cable information specifically include:
acquiring optical fiber interface module information and cable information of the network equipment according to a preset period;
and filtering the acquired information of the optical fiber interface module and the cable information to acquire serial numbers respectively corresponding to the optical fiber interface module and the cable, and matching the serial numbers with the pre-stored serial numbers in the information of the optical fiber interface module and the cable information.
5. The method according to claim 4, wherein confirming the usage status of the fiber interface module and the cable of the network device according to the matching result specifically comprises:
if the pre-stored optical fiber interface module information and the cable information have the matched serial number, judging the use state of the serial number;
if the use state of the serial number is used, the serial number is not changed; if the serial number is not used, marking the serial number as used;
and if the prestored optical fiber interface module information and the cable information do not have the corresponding serial number, alarming.
6. The method according to claim 5, wherein confirming the usage status of the fiber interface module and the cable of the network device according to the matching result specifically comprises:
determining that the cable corresponding to the network equipment is a solidified cable;
if the state of the optical fiber interface module corresponding to the solidified cable is unused, and a serial number matched with the solidified cable exists in the prestored optical fiber interface module information and cable information, marking the state of the optical fiber interface module as used;
and if the state of the optical fiber interface module corresponding to the solidified cable is used and the prestored optical fiber interface module information and cable information do not have the serial number matched with the solidified cable, marking the state of the optical fiber interface module as unused.
7. The method according to claim 1, wherein obtaining the device information of the network device, and calculating the required cable length according to the device information specifically includes:
determining the positions of all the network equipment in the cabinet according to the equipment information of all the network equipment;
generating a cabinet arrangement chart based on the cabinet position;
and determining the position of a cabling rack in the cabinet arrangement diagram, and determining the length of the cable required by the network equipment according to the cabinet arrangement diagram and the position of the cabling rack.
8. The method of claim 1, further comprising:
determining the number of the residual optical fiber interface modules and cables respectively corresponding to different speeds according to the optical fiber interface module information and cable information of the network equipment and the pre-stored optical fiber interface module information and cable information;
and if the number of the residual optical fiber interface modules and cables is lower than a preset allowance reminding value, giving an alarm.
9. The method of claim 1, wherein before obtaining the fiber interface module information and the cable information of the network device according to the preset period, the method further comprises:
determining that the SSH and SNMP services of the network equipment are available according to the configuration information of the network equipment; the configuration information comprises an IP address, a user name, a password and an SNMP group name of the network equipment;
verifying the connection result of the SSH of the network equipment and the SNMP service;
if the connection is successful, storing the equipment information of the network equipment; the equipment information comprises the U number of the network equipment, the cabinet where the network equipment is located, the position of the cabinet where the network equipment is located, and the distance between the cabinet where the network equipment is located and other cabinets;
acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, specifically comprising:
and acquiring the optical fiber interface module information and the cable information of the network equipment through the SNMP service.
10. A cable usage control device based on network device management, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a management network for cable use control, which is composed of a network equipment management module and a plurality of network equipment;
acquiring optical fiber interface module information and cable information of the network equipment according to a preset period, and matching the optical fiber interface module information and the cable information which are stored in advance;
according to the matching result, confirming the use states of the optical fiber interface module and the cable of the network equipment;
acquiring equipment information of the network equipment, and calculating the length of a required cable according to the equipment information;
and determining whether the network equipment is allowed to access the actual cable or not according to the actual cable length connected with the network equipment and the required cable length.
CN202110089540.1A 2021-01-22 2021-01-22 Cable use control method and device based on network device management Active CN112766745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110089540.1A CN112766745B (en) 2021-01-22 2021-01-22 Cable use control method and device based on network device management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110089540.1A CN112766745B (en) 2021-01-22 2021-01-22 Cable use control method and device based on network device management

Publications (2)

Publication Number Publication Date
CN112766745A true CN112766745A (en) 2021-05-07
CN112766745B CN112766745B (en) 2023-02-28

Family

ID=75706675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110089540.1A Active CN112766745B (en) 2021-01-22 2021-01-22 Cable use control method and device based on network device management

Country Status (1)

Country Link
CN (1) CN112766745B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684871A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for monitoring operation and maintenance asset state, method and system for updating operation and maintenance configuration information
CN105282772A (en) * 2015-09-10 2016-01-27 北京爱可生通信技术有限公司 Wireless network data communication equipment monitoring system and equipment monitoring method
CN105811320A (en) * 2016-03-15 2016-07-27 中国能源建设集团江苏省电力设计院有限公司 Length estimation method for secondary cables or optical cables of substation
CN111917578A (en) * 2020-07-29 2020-11-10 山东英信计算机技术有限公司 Multi-node network topology management method and device, electronic equipment and storage medium
CN112561195A (en) * 2020-12-23 2021-03-26 华能秦煤瑞金发电有限责任公司 Refined cable management and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684871A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for monitoring operation and maintenance asset state, method and system for updating operation and maintenance configuration information
CN105282772A (en) * 2015-09-10 2016-01-27 北京爱可生通信技术有限公司 Wireless network data communication equipment monitoring system and equipment monitoring method
CN105811320A (en) * 2016-03-15 2016-07-27 中国能源建设集团江苏省电力设计院有限公司 Length estimation method for secondary cables or optical cables of substation
CN111917578A (en) * 2020-07-29 2020-11-10 山东英信计算机技术有限公司 Multi-node network topology management method and device, electronic equipment and storage medium
CN112561195A (en) * 2020-12-23 2021-03-26 华能秦煤瑞金发电有限责任公司 Refined cable management and control method

Also Published As

Publication number Publication date
CN112766745B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
EP2826207B1 (en) Automated data center network patching system
CN107465528B (en) ODN resource information acquisition method and device for optical distribution network
US11245573B1 (en) Port verification for customer interconnection in a data center
CN106657223A (en) Mobile internet roll calling attendance checking method and system
CA2460513C (en) Network device configuration
CN101609407A (en) Detection method based on the full station model file coupling of publisher/subscriber's pattern
CN106487568B (en) Network management system-based topological rack diagram display method and device and network management system
KR20110055561A (en) The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
CN112766745B (en) Cable use control method and device based on network device management
JP2004516691A (en) Method for updating manufacturer-specific hardware information via a mobile wireless manufacturer independent OMC-NMC interface
WO2008025277A1 (en) Method, system and password management server for managing user password of network device
CN105391566B (en) A kind of method and device that dynamic network equipments configuration compares
CN111224815A (en) Data center equipment access method, device and related components
CN110222483A (en) Data processing method, data processing equipment, terminal and storage medium
US10452519B2 (en) Integrated resource scheduler, configurator, and visualizer
CN107360120A (en) The auditing method and device of virtual network function
CN104537090B (en) User profile standardized data treating method and apparatus
US20200311647A1 (en) Workflow-driven management of hardware components
CN104410640B (en) A kind of authority control method and system of the acquisition of information under distributed cooperation environment
CN114513419A (en) Security policy configuration method and system
US7085823B2 (en) Network element management method, apparatus, and network management system
CN108737996A (en) A kind of method and system of no SIM card terminal access Internet of Things
CN115277422B (en) SDN networking generation method, device, equipment and medium
CN112115318A (en) Computer room wiring resource management method and device
CN110798759A (en) Intelligent distribution frame

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