CN115242602B - Network equipment life cycle management method, device, equipment and medium - Google Patents

Network equipment life cycle management method, device, equipment and medium Download PDF

Info

Publication number
CN115242602B
CN115242602B CN202210857487.XA CN202210857487A CN115242602B CN 115242602 B CN115242602 B CN 115242602B CN 202210857487 A CN202210857487 A CN 202210857487A CN 115242602 B CN115242602 B CN 115242602B
Authority
CN
China
Prior art keywords
information
state
network equipment
current
fault
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
CN202210857487.XA
Other languages
Chinese (zh)
Other versions
CN115242602A (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.)
Beijing Tianyi Enhua Technology Co ltd
Original Assignee
Beijing Tianyi Enhua 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 Beijing Tianyi Enhua Technology Co ltd filed Critical Beijing Tianyi Enhua Technology Co ltd
Priority to CN202210857487.XA priority Critical patent/CN115242602B/en
Publication of CN115242602A publication Critical patent/CN115242602A/en
Application granted granted Critical
Publication of CN115242602B publication Critical patent/CN115242602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

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

Abstract

The application relates to a network equipment life cycle management method, a device, equipment and a medium, belonging to the technical field of network equipment management, wherein the method comprises the steps of obtaining current information about network equipment, wherein the current information comprises newly added ip address information or running state change information; judging whether the current information contains the newly added ip address information or not; if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information; updating the running state information of the network equipment to the current state; and displaying the updated running state. The application has the effect of improving the working efficiency.

Description

Network equipment life cycle management method, device, equipment and medium
Technical Field
The present application relates to the technical field of network device management, and in particular, to a method, an apparatus, a device, and a medium for managing a lifecycle of a network device.
Background
At present, an enterprise generally adopts an excel or a data management platform to manage network equipment, only the IP address and the equipment name of the network equipment are generally displayed in the excel or the data management platform, when a worker needs to know the running state of the network equipment, the worker needs to log in the corresponding network equipment first, and then the running state is queried to know the life cycle of each network equipment, so that the worker can know the running condition of all the network equipment in a machine room conveniently.
However, a large number of network devices exist in the enterprise, and when the operation states of all the network devices are required to be known, a worker needs to log in each network device to inquire the operation states, so that the working efficiency is greatly reduced.
Disclosure of Invention
In order to improve the working efficiency, the application provides a network equipment life cycle management method, a device, equipment and a medium.
In a first aspect, the present application provides a method for managing a lifecycle of a network device, which adopts the following technical scheme:
a network device lifecycle management method, comprising:
acquiring current information about network equipment, wherein the current information comprises newly added ip address information or running state change information;
judging whether the current information contains the newly added ip address information or not;
if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information;
updating the running state information of the network equipment to the current state;
and displaying the updated running state.
By adopting the technical scheme, the running state of each network device is determined according to the current information of each network device, and the running state of each network device is directly displayed.
Optionally, the determining the current state of the network device based on the new ip address information includes:
acquiring a network segment to be detected and a historical use ip address;
determining the newly added ip address based on the network segment to be detected and the historical use ip address;
and determining the current state of the network equipment corresponding to the newly added ip address as a purchasing state.
Optionally, the operation state change information includes an up state, and the determining the current state of the network device based on the operation state change information includes:
responding to the operation state updating operation of the staff, acquiring operation state changing information, and taking the upper line state as a current state;
acquiring configuration information of the network equipment;
judging whether the configuration information is wrong or not;
if yes, feeding back a configuration error prompt to a worker, otherwise, entering a step of updating the running state information of the network equipment into the current state.
Optionally, after the updating the operation state information of the network device to the current state, the method further includes:
acquiring fault information of the network equipment sent by a monitoring module;
updating the running state of the network equipment into a fault state, and continuously feeding back fault alarm information to staff;
and responding to the operation state changing operation of the staff, acquiring operation state changing information, updating the operation state of the operation equipment into a state in fault processing, and stopping the staff to continuously feed back fault alarm information.
By adopting the technical scheme, when the working personnel changes the fault state into the fault processing state, the fault alarm information is stopped to be continuously fed back to the working personnel, so that the interference of the fault alarm information to the working personnel can be reduced, and the network bandwidth occupied by the continuously-generated fault alarm information can be reduced.
Optionally, after the obtaining the fault information of the network device sent by the monitoring module, the method further includes:
obtaining the fault type of the fault information;
determining a repair time threshold based on the fault type;
acquiring running state update as change time in fault processing;
determining a current maintenance time based on the current time and the change time, and judging that the current maintenance time exceeds the maintenance time threshold;
if yes, continuously feeding back fault alarm information to the staff.
By adopting the technical scheme, when the maintenance time threshold value is exceeded, fault alarm information is continuously fed back to the staff, so that the possibility that the staff forgets to process the fault is reduced.
Optionally, the method further comprises:
judging whether a preset period is reached;
if the preset period is reached, acquiring the purchase time of the network equipment;
judging whether the network equipment reaches a warranty period or not based on the purchase time and the current time;
if the warranty period is reached, judging whether the network equipment is abnormal;
if the network equipment is abnormal, the current state of the equipment is updated to be a recovery state.
By adopting the technical scheme, the warranty period of the network equipment is checked, so that the possibility that the network equipment is easy to fail beyond the warranty period is reduced, and the normal operation of the service is further ensured.
Optionally, before the continuously feeding back the fault alarm information to the staff, the method further includes:
acquiring maintenance information of the network equipment, wherein the maintenance information comprises maintenance times and maintenance types;
determining a health level of the network device based on the number of repairs and the type of repair;
and determining the alarm grade corresponding to the fault alarm information based on the health grade.
In a second aspect, the present application provides a lifecycle management apparatus for a network device, which adopts the following technical scheme:
a network device lifecycle management apparatus, comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring current information about network equipment, and the current information comprises newly added ip address information or running state change information;
the judging module is used for judging whether the current information contains the newly added ip address information or not; if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information;
an updating module, configured to update operation state information of the network device to the current state;
and the display module is used for displaying the updated running state.
By adopting the technical scheme, the running state of each network device is determined according to the current information of each network device, and the running state of each network device is directly displayed.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device comprising a processor coupled with a memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects.
Drawings
Fig. 1 is a flow chart illustrating a method for managing a lifecycle of a network device according to an embodiment of the present application.
Fig. 2 is a block diagram of a life cycle management apparatus of a network device according to an embodiment of the present application.
Fig. 3 is a block diagram of an electronic device embodying an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings.
The present embodiment is only for explanation of the present application and is not to be construed as limiting the present application, and modifications to the present embodiment, which may not creatively contribute to the present application as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present application.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying 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 of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Embodiments of the application are described in further detail below with reference to the drawings.
The embodiment of the application provides a network equipment life cycle management method which can be executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
As shown in fig. 1, a method for managing a life cycle of a network device is described as follows (steps S101 to S106):
step S101, current information about network equipment is obtained, wherein the current information comprises newly added ip address information or running state change information;
step S102, judging whether the current information contains newly added ip address information; if yes, go to step S103, otherwise go to step S104;
step S103, determining the current state of the network equipment based on the newly added ip address information;
step S104, determining the current state of the network equipment based on the operation state change information;
in this embodiment, when a batch of network devices need to be purchased in an enterprise, an ip address of each network device may be planned first, and the planning of the ip address may be automatically allocated through a DNS protocol, or may be entered through a staff member, where the manner of entering by the staff member may first store the ip address into an excel table, and then import the excel table into an electronic device, but not limited thereto.
Particularly, network devices include, but are not limited to, routers, switches, firewalls.
The current information about the network device may be an ip address that is newly added, or may be running state change information of the network device.
The following description is directed to determining the current state of the network device based on the newly added ip address and determining the current state of the network device based on the running state change information, respectively:
determining a current state of the network device based on the newly added ip address information
The method for determining the current state of the network device based on the newly added ip address information specifically comprises the following steps (step S1031-step S1033)
Step S1031, obtaining a network segment to be detected and a history use ip address;
in this embodiment, the electronic device obtains a network segment to be detected and a history use ip address stored in the computer, where the history use ip address includes a plurality of ip addresses of the multi-network card device.
Step S1032, determining a newly added ip address based on the network segment to be detected and the historical use ip address;
step S1033, determining the current state of the network device corresponding to the newly added ip address as the purchase state.
After the newly added ip is obtained, the electronic equipment changes the current state corresponding to each newly added ip address into a purchasing state.
In another alternative embodiment, after the electronic device obtains the newly added ip address, the newly added ip address needs to be fed back to the staff, after the staff verifies that the newly added ip address is correct, the current state of the network device corresponding to the newly added ip address is updated to be the purchase state, where the changing manner may be that the staff triggers the determining operation through a mouse, a keyboard, a touch screen, and the like of the electronic device, and when the electronic device receives the determining operation, the current state of the network device is changed to be the purchase state, or that the staff directly changes the current state to be the purchase state through a mouse, a keyboard, a touch screen, and the like of the electronic device, but the changing manner is not limited to this.
(II) determining the current state of the network device based on the operating state change information
Determining a current state of the network device based on the operation state change information, specifically comprising the following steps (step S1041 to step S1045)
Step S1041, obtaining running state change information in response to the operation of the staff on the running state update, and taking the upper line as the current state;
step S1042, obtaining configuration information of network equipment;
step S1043, judging whether the configuration information is wrong;
if yes, go to step S1044, otherwise go to step S1045;
step S1044, feeding back a configuration error prompt to the staff;
step S1045, a step of updating the operation state information of the network device to the current state is entered.
In this embodiment, after purchasing the network device, the network device is carried to a cabinet designated by a machine room, and after the network device is connected to a network, a worker may change the current state of the corresponding network device to an on-shelf state by means of a mouse, a keyboard, a touch screen, etc. of the electronic device, and the on-shelf state is the running state change information.
After changing the current state of the network equipment to the on-shelf state, the network equipment needs to be configured according to the business requirements of enterprises, at this time, staff can change the current state of the corresponding network equipment to the configuration state in a mode of a mouse, a keyboard, a touch screen and the like of the electronic equipment, and at this time, the configuration state is running state change information.
After the configuration of the network equipment is completed, a worker can change the current state of the corresponding network equipment into an online state in a mode of a mouse, a keyboard, a touch screen and the like of the electronic equipment, when the change state information acquired by the electronic equipment is the online state, the electronic equipment needs to verify the configuration of the network equipment, the current state can be changed into the online state after verification passes, and the online state is the running state change information.
The following description is made with respect to verification of the configuration of the network device:
in general, the configuration of the network device includes configuration of protocols such as snmp, netconf, ss and syslog, when a worker changes a current state of the network device into an on-line state, the electronic device needs to verify the configured protocol, and when the electronic device detects that the network device can acquire data corresponding to the corresponding protocol, the electronic device determines that no error occurs in the configuration of the network device, and determines the current state of the network device as the on-line state; when the electronic equipment detects that the network equipment cannot acquire the data corresponding to the corresponding protocol, the electronic equipment judges that the configuration of the network equipment is wrong, the electronic equipment does not respond to the operation that the staff changes the current state into the online state, namely, the current state of the network equipment is not allowed to be changed into the online state, the corresponding error information is fed back to the staff, such as the snmp configuration, when the staff modifies the corresponding error, the current state of the corresponding network equipment is changed into the online state again in a mode of a mouse, a keyboard, a touch screen and the like of the electronic equipment, and the current state of the network equipment is changed into the online state after the configuration of the electronic equipment is checked, so that the possibility that the service cannot normally run due to the configuration error of the network equipment is reduced.
Step S105, updating the running state information of the network equipment to the current state;
and step S106, displaying the updated running state.
In this embodiment, the electronic device displays the current state of the network device as an operation state, so that the operator can check the current state.
The electronic equipment updates the current state of the network equipment into an up state, the network equipment is formally used, the network equipment is in butt joint with the monitoring module, the monitoring module detects the condition of the network equipment in real time, and the condition is fed back to the electronic equipment when the network equipment fails.
Specifically, fault information of network equipment sent by a monitoring module is obtained; updating the running state of the network equipment into a fault state, and continuously feeding back fault alarm information to staff; and responding to the operation state changing operation of the staff, acquiring operation state changing information, updating the operation state of the operation equipment into a state in fault processing, and stopping the staff to continuously feed back fault alarm information.
When the electronic equipment receives the fault information of the network equipment sent by the monitoring module, changing the running state corresponding to the network equipment into a fault state, and continuously feeding back fault alarm information to a worker, wherein the alarm information can be that the network equipment with the ip address of A breaks down to ask for timely maintenance, after the worker acquires the fault maintenance information, the worker can change the current state of the corresponding network equipment into a fault processing state in a mode of a mouse, a keyboard, a touch screen and the like of the electronic equipment, at the moment, the electronic equipment does not send the fault alarm information to the worker any more, the interference of the fault alarm information to the worker can be reduced, and the bandwidth occupied by the fault alarm information can be repeatedly sent.
After the electronic device obtains the fault alert information, a repair time threshold needs to be determined to reduce the likelihood that the worker forgets to repair the fault.
Specifically, acquiring a fault type of fault information; determining a repair time threshold based on the fault type; acquiring running state update as change time in fault processing; determining the current maintenance time based on the current time and the change time, and judging that the current maintenance time exceeds a maintenance time threshold; if yes, continuously feeding back fault alarm information to the staff.
In this embodiment, each type of fault corresponds to a maintenance time threshold, for example, when a certain hardware of the network device fails and needs to be returned to a factory for replacement, the time for returning to the factory is 3 days, then the maintenance time threshold is 3 days, and when the current maintenance time exceeds the maintenance time threshold, the electronic device continues to feed back fault alarm information to the staff, so that the possibility that the staff forgets to maintain is reduced.
It should be noted that, the electronic device may determine, according to the health level of the network device, an alarm level corresponding to the fault alarm information.
Specifically, maintenance information of the network equipment is obtained, wherein the maintenance information comprises maintenance times and maintenance types;
determining the health grade of the network equipment according to the maintenance times and maintenance types; and determining the alarm grade corresponding to the fault alarm information based on the health grade.
When a worker repairs the network device according to the fault alarm information, the repair information is input into the electronic device, the repair information comprises repair times and repair types, and when the fault is caused by hardware damage and needs to be replaced, the repair information needs to be recorded in the recovery history of the corresponding network device, such as a recovery person, hardware sn and recovery time.
When the electronic equipment acquires the maintenance information every time, the maintenance information is counted, and the maintenance types comprise hardware replacement and hardware maintenance. In this embodiment, the health level of the network device is determined according to the importance level of the hardware and the maintenance times, in this embodiment, the importance level of the hardware is divided into a first level, a second level and a third level, where the importance level is reduced from the first level to the third level in turn, and each level is given a different weight, where the higher the importance level is, the higher the weight is, for example, the weight of the first level is 0.7, the weight of the second level is 0.6, the weight of the third level is 0.5, the maintenance times are 0.4 and the maintenance times are 3 to 6, the weight of the maintenance times is 0.5, the maintenance times are greater than 6, the health level of the network device is determined based on the weight of the maintenance times and the maintenance types, for example, the weight is equal to or greater than 1.2, for example, the weight is not greater than 1.2 in addition, the alarm level of the first level is a class, the health level is the alarm level of the first class is the class a, the health level is the class B, the class B is the class B, and the alarm information is sent to make the fault information is greater than the importance level of the fault information.
The warranty period of the network device needs to be checked periodically after the network device is purchased, so that the possibility that the network device exceeding the warranty period is easy to break down and affects the service is reduced.
Specifically, whether a preset period is reached or not is judged; if the preset period is reached, acquiring the purchase time of the network equipment; judging whether the network equipment reaches a warranty period or not based on the purchase time and the current time; if the warranty period is reached, judging whether the network equipment is abnormal; if the network equipment is abnormal, the current state of the equipment is updated to be a recovery state.
In this embodiment, the preset period is one day, and the electronic device checks the warranty period of the network device every day, and when the network device approaches the warranty period, the electronic device sends warning information to the staff. For example, 7 days from the warranty period, the electronic device may send alert information to the staff. When the electronic device detects that the network device reaches the warranty period, it detects whether the network device is in a normal state, and the checking mode can be judged by a worker or by the detected operation data of the network device, which is not particularly limited in this embodiment.
When the network device reaches the warranty period, the electronic device may estimate a time when the network device is in the recycle state according to the current operation parameter and the historical operation parameter, for example, the current memory consumption of the network device is eighty percent and two years are spent, then the memory consumption is twenty percent for half a year, and the network device is determined to be in the recycle state after half a year.
The change of the current state of the network device to the recycling state may be automatically changed by the electronic device, and in another embodiment, may also be changed by a worker through a mouse, a keyboard, a touch screen, or the like of the electronic device.
When the network device is in an online state, the electronic device may collect an operation index and an operation log of the network device, and record an operation log of a worker, a maintenance record of the hardware device, and the like.
Fig. 2 is a block diagram of a life cycle management device 200 of a network device according to the present application. As shown in fig. 2, the network device life cycle management apparatus 200 mainly includes:
an obtaining module 201, configured to obtain current information about a network device, where the current information includes newly added ip address information or running state change information;
a judging module 202, configured to judge whether the current information includes newly added ip address information; if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information;
an updating module 203, configured to update the running state information of the network device to a current state;
and the display module 204 is used for displaying the updated running state.
As an alternative implementation manner of this embodiment, the determining module 202 includes:
the first acquisition submodule is used for acquiring a network segment to be detected and a history use ip address;
the first determining submodule is used for determining a newly added ip address based on the network segment to be detected and the historical use ip address;
and the second determining submodule is used for determining the current state of the network equipment corresponding to the newly added ip address as a purchasing state.
As an optional implementation manner of this embodiment, the determining module 202 further includes:
the response acquisition sub-module is used for responding to the operation state updating operation of the staff, acquiring operation state changing information and taking the upper line as the current state;
the second acquisition submodule is used for acquiring configuration information of the network equipment;
the judging submodule is used for judging whether the configuration information is wrong or not; if yes, feeding back a configuration error prompt to a worker, otherwise, entering a step of updating the running state information of the network equipment into the current state.
As an alternative implementation manner of this embodiment, the network device lifecycle management apparatus 200 further includes:
the fault acquisition module is used for acquiring the fault information of the network equipment sent by the monitoring module after updating the running state information of the network equipment into the current state;
the first updating feedback module is used for updating the running state of the network equipment into a fault state and continuously feeding back fault alarm information to staff;
and the second updating feedback module is used for responding to the operation of changing the running state of the staff, acquiring the operation state changing information, updating the running state of the running equipment into the state in fault processing, and stopping the staff to continuously feed back the fault alarm information.
As an alternative implementation manner of this embodiment, the network device lifecycle management apparatus 200 further includes:
the type acquisition module is used for acquiring the fault type of the fault information;
a threshold determination module for determining a maintenance time threshold based on the fault type;
the change time determining module is used for obtaining the change time in the process of updating the running state into the fault;
the threshold judging module is used for determining the current maintenance time based on the current time and the change time and judging that the current maintenance time exceeds a maintenance time threshold; if yes, continuously feeding back fault alarm information to the staff.
As an alternative implementation manner of this embodiment, the network device lifecycle management apparatus 200 further includes:
the period judging module is used for judging whether a preset period is reached; if the preset period is reached, acquiring the purchase time of the network equipment;
the warranty period judging module is used for judging whether the network equipment reaches the warranty period or not based on the purchase time and the current time; if the warranty period is reached, an abnormality judging module is entered;
the abnormality judging module is used for judging whether the network equipment is abnormal or not; if the network equipment is abnormal, the current state of the equipment is updated to be a recovery state.
As an alternative implementation manner of this embodiment, the network device lifecycle management apparatus 200 further includes:
the information acquisition module is used for acquiring maintenance information of the network equipment before continuously feeding back the fault alarm information to the staff, wherein the maintenance information comprises maintenance times and maintenance types;
the health grade determining module is used for determining the health grade of the network equipment based on the maintenance times and the maintenance types;
and the alarm grade determining module is used for determining the alarm grade corresponding to the fault alarm information based on the health grade.
The functional modules in the embodiment of the application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium comprising several instructions for causing an electronic device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of a network device lifecycle management method of various embodiments of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
Fig. 3 is a block diagram of an electronic device 300 according to an embodiment of the present application. As shown in fig. 3, the electronic device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected by a communication bus 303. The memory 301 has stored thereon a network device lifecycle management method that can be loaded and executed by the processor 302 as provided by the above-described embodiments.
Memory 301 may be used to store instructions, programs, code sets, or instruction sets. The memory 301 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing a network device lifecycle management method provided by the above embodiments, and the like; the storage data area may store data and the like involved in a lifecycle management method of a network device provided in the above embodiments.
Processor 302 may include one or more processing cores. The processor 302 performs the various functions of the present application and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 301, invoking data stored in the memory 301. The processor 302 may be at least one of an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the functions of the processor 302 described above may be other for different devices, and embodiments of the present application are not particularly limited.
Communication bus 303 may include a path to transfer information between the components. The communication bus 303 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus 303 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double arrow is shown in FIG. 3, but not only one bus or one type of bus.
An embodiment of the present application provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing a network device lifecycle management method as provided in the above embodiment.
In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions for use by the instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the preceding. In particular, the computer readable storage medium may be a portable computer disk, hard disk, USB flash disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), podium random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital Versatile Disk (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical coding device, and any combination of the foregoing.
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.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the application is not limited to the specific combinations of the features described above, but also covers other embodiments which may be formed by any combination of the features described above or their equivalents without departing from the spirit of the application. Such as the above-mentioned features and the technical features having similar functions (but not limited to) applied for in the present application are replaced with each other.

Claims (7)

1. A method for managing a lifecycle of a network device, comprising:
acquiring current information about network equipment, wherein the current information comprises newly added ip address information or running state change information;
judging whether the current information contains the newly added ip address information or not;
if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information;
updating the running state information of the network equipment to the current state;
displaying the updated running state;
the operation state change information includes an upper line state, and the determining the current state of the network device based on the operation state change information includes:
responding to the operation state updating operation of the staff, acquiring operation state changing information, and taking the upper line state as a current state;
acquiring configuration information of the network equipment, wherein the configuration information of the network equipment comprises snmp, netconf, ss and syslog protocol;
judging whether the configuration information is wrong or not;
if yes, feeding back a configuration error prompt to a worker, otherwise, updating the running state information of the network equipment into the current state;
after the updating of the running state information of the network device to the current state, the method further comprises:
acquiring fault information of the network equipment sent by a monitoring module;
updating the running state of the network equipment into a fault state, and continuously feeding back fault alarm information to staff;
responding to the operation of the operation state change of the staff, acquiring operation state change information, updating the operation state of the network equipment into a state in fault processing, and stopping feeding back fault alarm information to the staff;
the method further comprises the steps of:
judging whether a preset period is reached;
if the preset period is reached, acquiring the purchase time of the network equipment;
judging whether the network equipment reaches a warranty period or not based on the purchase time and the current time;
if the warranty period is reached, judging whether the network equipment is abnormal;
if the network equipment is abnormal, updating the current state of the network equipment into a recovery state;
if the network equipment is not abnormal, calculating the time of the network equipment in the recovery state based on the current operation parameters and the historical operation parameters.
2. The method of claim 1, wherein determining the current state of the network device based on the newly added ip address information comprises:
acquiring a network segment to be detected and a historical use ip address;
determining the newly added ip address based on the network segment to be detected and the historical use ip address;
and determining the current state of the network equipment corresponding to the newly added ip address as a purchasing state.
3. The method according to claim 1, further comprising, after the acquiring the failure information of the network device sent by the monitoring module:
obtaining the fault type of the fault information;
determining a repair time threshold based on the fault type;
acquiring running state update as change time in fault processing;
determining a current maintenance time based on the current time and the change time, and judging that the current maintenance time exceeds the maintenance time threshold;
if yes, continuously feeding back fault alarm information to the staff.
4. The method of claim 1, further comprising, prior to said continuously feeding back fault alert information to the staff member:
acquiring maintenance information of the network equipment, wherein the maintenance information comprises maintenance times and maintenance types;
determining a health level of the network device based on the number of repairs and the type of repair;
and determining the alarm grade corresponding to the fault alarm information based on the health grade.
5. A network device lifecycle management apparatus, comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring current information about network equipment, and the current information comprises newly added ip address information or running state change information;
the judging module is used for judging whether the current information contains the newly added ip address information or not; if yes, determining the current state of the network equipment based on the newly added ip address information, otherwise, determining the current state of the network equipment based on the running state change information;
an updating module, configured to update operation state information of the network device to the current state;
the display module is used for displaying the updated running state;
the response acquisition sub-module is used for responding to the operation state updating operation of the staff, acquiring operation state changing information and taking the upper line as the current state;
a second obtaining sub-module, configured to obtain configuration information of a network device, where the configuration information of the network device includes snmp, netconf, ss and syslog protocol;
the judging submodule is used for judging whether the configuration information is wrong or not; if yes, feeding back a configuration error prompt to a worker, otherwise, updating the running state information of the network equipment into a current state;
the fault acquisition module is used for acquiring the fault information of the network equipment sent by the monitoring module after updating the running state information of the network equipment into the current state;
the first updating feedback module is used for updating the running state of the network equipment into a fault state and continuously feeding back fault alarm information to staff;
the second updating feedback module is used for responding to the operation of changing the running state of the staff, acquiring the information of changing the running state, updating the running state of the network equipment into the state in fault processing, and stopping feeding back the fault alarm information to the staff;
the period judging module is used for judging whether a preset period is reached; if the preset period is reached, acquiring the purchase time of the network equipment;
the warranty period judging module is used for judging whether the network equipment reaches the warranty period or not based on the purchase time and the current time; if the warranty period is reached, an abnormality judging module is entered;
the abnormality judging module is used for judging whether the network equipment is abnormal or not; if the network equipment is abnormal, updating the current state of the equipment into a recovery state; if the network equipment is not abnormal, calculating the time of the network equipment in the recovery state based on the current operation parameters and the historical operation parameters.
6. An electronic device comprising a processor coupled to a memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method of any one of claims 1 to 4.
7. A computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN202210857487.XA 2022-07-20 2022-07-20 Network equipment life cycle management method, device, equipment and medium Active CN115242602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210857487.XA CN115242602B (en) 2022-07-20 2022-07-20 Network equipment life cycle management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210857487.XA CN115242602B (en) 2022-07-20 2022-07-20 Network equipment life cycle management method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115242602A CN115242602A (en) 2022-10-25
CN115242602B true CN115242602B (en) 2023-11-14

Family

ID=83673500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210857487.XA Active CN115242602B (en) 2022-07-20 2022-07-20 Network equipment life cycle management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115242602B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117891615B (en) * 2024-03-15 2024-06-18 杭州涂鸦信息技术有限公司 Method and device for determining equipment state

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05252160A (en) * 1992-03-06 1993-09-28 Matsushita Electric Ind Co Ltd Fault restoring method in occurrence of multiple faults
CN103832904A (en) * 2014-02-14 2014-06-04 苏州英比特机电有限公司 Intelligent elevator maintenance method and system based on Internet of Things
CN105577825A (en) * 2016-01-28 2016-05-11 清华大学 Method and device for guaranteeing availability of on-line service
CN106067852A (en) * 2016-06-08 2016-11-02 智者四海(北京)技术有限公司 The monitoring method and device of server usage amount
CN107852416A (en) * 2015-08-26 2018-03-27 微软技术许可有限责任公司 The life cycle of monitoring computer network connection
CN110730213A (en) * 2019-09-20 2020-01-24 上海东方富联科技有限公司 Method, system, medium, and apparatus for monitoring life cycle of sensor device
CN111027844A (en) * 2019-12-05 2020-04-17 新奥数能科技有限公司 Method and device for managing life cycle of equipment, readable medium and electronic equipment
CN111049688A (en) * 2019-12-24 2020-04-21 国网江西省电力有限公司九江供电分公司 Method for improving equipment operation and maintenance efficiency in power communication data network environment
CN111698127A (en) * 2020-04-29 2020-09-22 新华三技术有限公司 System, method and device for monitoring state of equipment in network
CN112306668A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Object recovery event monitoring method and device and computer readable storage medium
CN112583819A (en) * 2020-12-08 2021-03-30 支付宝(杭州)信息技术有限公司 Network interface state detection method, device and equipment
CN112688806A (en) * 2020-12-18 2021-04-20 国家工业信息安全发展研究中心 Method and system for presenting network assets
CN112732805A (en) * 2021-01-04 2021-04-30 广西信达友邦资产土地房地产评估有限公司 Asset management method and asset management system
CN113867926A (en) * 2020-06-30 2021-12-31 中兴通讯股份有限公司 Cloud environment management method, cloud environment management platform and storage medium
CN113888065A (en) * 2020-06-19 2022-01-04 中国移动通信集团江西有限公司 U-bit level equipment monitoring method, system and device and computer equipment
CN114528135A (en) * 2021-12-28 2022-05-24 北京天一恩华科技股份有限公司 Network fault root cause analysis method, terminal equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112040A1 (en) * 2000-12-15 2002-08-15 International Business Machines Corporation Method and system for network management with per-endpoint monitoring based on application life cycle
US10353620B2 (en) * 2017-11-30 2019-07-16 International Business Machines Corporation Lifecycle management of memory devices
US20210248514A1 (en) * 2018-05-06 2021-08-12 Strong Force TX Portfolio 2018, LLC Artificial intelligence selection and configuration

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05252160A (en) * 1992-03-06 1993-09-28 Matsushita Electric Ind Co Ltd Fault restoring method in occurrence of multiple faults
CN103832904A (en) * 2014-02-14 2014-06-04 苏州英比特机电有限公司 Intelligent elevator maintenance method and system based on Internet of Things
CN107852416A (en) * 2015-08-26 2018-03-27 微软技术许可有限责任公司 The life cycle of monitoring computer network connection
CN105577825A (en) * 2016-01-28 2016-05-11 清华大学 Method and device for guaranteeing availability of on-line service
CN106067852A (en) * 2016-06-08 2016-11-02 智者四海(北京)技术有限公司 The monitoring method and device of server usage amount
CN112306668A (en) * 2019-07-31 2021-02-02 腾讯科技(深圳)有限公司 Object recovery event monitoring method and device and computer readable storage medium
CN110730213A (en) * 2019-09-20 2020-01-24 上海东方富联科技有限公司 Method, system, medium, and apparatus for monitoring life cycle of sensor device
CN111027844A (en) * 2019-12-05 2020-04-17 新奥数能科技有限公司 Method and device for managing life cycle of equipment, readable medium and electronic equipment
CN111049688A (en) * 2019-12-24 2020-04-21 国网江西省电力有限公司九江供电分公司 Method for improving equipment operation and maintenance efficiency in power communication data network environment
CN111698127A (en) * 2020-04-29 2020-09-22 新华三技术有限公司 System, method and device for monitoring state of equipment in network
CN113888065A (en) * 2020-06-19 2022-01-04 中国移动通信集团江西有限公司 U-bit level equipment monitoring method, system and device and computer equipment
CN113867926A (en) * 2020-06-30 2021-12-31 中兴通讯股份有限公司 Cloud environment management method, cloud environment management platform and storage medium
CN112583819A (en) * 2020-12-08 2021-03-30 支付宝(杭州)信息技术有限公司 Network interface state detection method, device and equipment
CN112688806A (en) * 2020-12-18 2021-04-20 国家工业信息安全发展研究中心 Method and system for presenting network assets
CN112732805A (en) * 2021-01-04 2021-04-30 广西信达友邦资产土地房地产评估有限公司 Asset management method and asset management system
CN114528135A (en) * 2021-12-28 2022-05-24 北京天一恩华科技股份有限公司 Network fault root cause analysis method, terminal equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于可靠性等劣化理论的设备寿命周期预估;杨懿;刘纪温;潘敏献;于随然;;机械设计与研究(第03期);全文 *

Also Published As

Publication number Publication date
CN115242602A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN107392722B (en) Order processing method and device, electronic equipment and storage medium
US11042476B2 (en) Variability system and analytics for continuous reliability in cloud-based workflows
CN108897665B (en) Log management method and device, computer equipment and storage medium
CN111444031A (en) Server fault early warning method and device, computer equipment and storage medium
CN109189640A (en) Monitoring method, device, computer equipment and the storage medium of server
EP3125172B1 (en) Data supply chain components configuration reliability analysis
JP2017509262A (en) Identify network failure troubleshooting options
CN105095056A (en) Method for monitoring data in data warehouse
CN111130938B (en) Index acquisition method and device, electronic equipment and computer readable storage medium
CN115242602B (en) Network equipment life cycle management method, device, equipment and medium
US11687502B2 (en) Data center modeling for facility operations
CN105404581A (en) Database evaluation method and device
US9154384B2 (en) Sentiment based dynamic network management services
US9860109B2 (en) Automatic alert generation
WO2019061364A1 (en) Failure analyzing method and related device
CN112380089A (en) Data center monitoring and early warning method and system
CN111832943A (en) Hardware equipment fault management method and device, electronic equipment and storage medium
US10754722B1 (en) Method for remotely clearing abnormal status of racks applied in data center
CN113487182B (en) Device health state evaluation method, device, computer device and medium
CN113778763B (en) Intelligent switching method and system for three-way interface service faults
CN114358655A (en) Method and device for generating recommendation scheme
US20140101260A1 (en) Processing a technical system
CN113704049A (en) Server power failure monitoring method and device and electronic equipment
US20150154498A1 (en) Methods for identifying silent failures in an application and devices thereof
KR102377873B1 (en) Electronic device for providing product sale managing information and method thereof

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