CN117112347A - Network equipment full life cycle management method and device and computer equipment - Google Patents
Network equipment full life cycle management method and device and computer equipment Download PDFInfo
- Publication number
- CN117112347A CN117112347A CN202311066210.6A CN202311066210A CN117112347A CN 117112347 A CN117112347 A CN 117112347A CN 202311066210 A CN202311066210 A CN 202311066210A CN 117112347 A CN117112347 A CN 117112347A
- Authority
- CN
- China
- Prior art keywords
- information
- equipment
- network
- network equipment
- network device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title abstract description 115
- 230000008859 change Effects 0.000 claims abstract description 98
- 238000000034 method Methods 0.000 claims abstract description 47
- 238000004590 computer program Methods 0.000 claims description 31
- 238000012423 maintenance Methods 0.000 claims description 21
- 230000004044 response Effects 0.000 claims description 17
- 230000002035 prolonged effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 10
- 239000000463 material Substances 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006978 adaptation Effects 0.000 description 5
- 238000007689 inspection Methods 0.000 description 5
- 238000012098 association analyses Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000007306 turnover Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000002829 reductive effect Effects 0.000 description 3
- 238000012384 transportation and delivery Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a full life cycle management method and device of network equipment and computer equipment, and relates to the technical field of Internet of things. The method comprises the following steps: receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage; and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located. By adopting the method, the account information updating efficiency can be improved.
Description
Technical Field
The present application relates to the field of internet of things, and in particular, to a method and apparatus for managing a full life cycle of a network device, and a computer device.
Background
With the rapid development of data center construction and business, the data center equipment is increasingly large in scale and the flowing quantity of the data center equipment is increasingly increased. How to efficiently and smoothly finish the processes of equipment input and output, transfer, material returning inspection (Return Material Authorization, RMA), scrapping and the like, and ensure that accounts and facts are consistent and real-time consistent at the same time becomes an important subject of a data center.
In the prior art, professionals access through manual submitting equipmentWarehouse, transfer and allocation, RMA And scrapping and other forms, updating the equipment account, and recording the position information of the equipment after being on line after manual statistics by professionals.
However, the data center has frequent situations such as equipment position change, online, warehouse-out and the like, and the existing recording mode has low account updating efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network device full life cycle management method, apparatus and computer device capable of improving the efficiency of ledger information update.
In a first aspect, the present application provides a method for full lifecycle management of a network device. The method comprises the following steps:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In one possible implementation manner, the updating the ledger information of the first network device according to the first stage includes:
Under the condition that the first stage is equipment warehousing, basic information of the first network equipment is input, the ledger information is established for the first network equipment, and storehouse information after the first network equipment is warehoused is input into the ledger information;
or,
acquiring the leading information of the first network equipment and inputting the leading information into the ledger information under the condition that the equipment is out of stock in the first stage;
or,
under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information;
or,
under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information;
or,
and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
In a possible implementation manner, the base information includes a device serial number of the first network device, and the method further includes:
Transmitting a device replacement request to a provider of the first network device in response to a failure message of the first network device;
and in response to the arrival message of the second network device, replacing the first network device with the second network device, and replacing the device serial number in the basic information with the device serial number of the second network device, wherein the second network device represents the replacement device of the first network device.
In one possible implementation, the base information includes a warranty period of the first network device, and the method further includes:
sending a warranty prompt message when the warranty period of the first network device is reached, wherein the warranty prompt message is used for prompting whether the warranty period of the first network device needs to be prolonged;
and responding to the extension message of the first network equipment, and adding the first network equipment into a maintenance list, wherein the extension message is used for indicating to extend the warranty period of the first network equipment.
In one possible implementation, after the entering of the receipt information into the ledger information, the method further includes:
if the state change message of the first stage of equipment on line is not received in the first time period, the database-returning prompt information is sent, and the database-returning prompt information is used for prompting the database-returning operation of the first network equipment.
In one possible implementation manner, after the sending the database-exit prompt information, the method further includes:
if the state change message of the first stage of equipment warehouse withdrawal is not received in the second time period, the uploading prompt information is sent, and the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after warehouse withdrawal.
In one possible implementation manner, the marking the first network device as the scrapped state in the ledger information includes:
determining whether the first network device meets a preset scrapping condition;
under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center;
and under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
In one possible implementation, the receiving the device state change message includes:
providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols;
and receiving the equipment state change message through the interfaces, wherein the equipment state change message is generated based on one of a warehousing operation, a ex-warehouse operation, an ex-warehouse operation and a scrapping operation, or the equipment state change message is generated based on the connection condition of the first network equipment and the network management system.
In one possible implementation, the method further includes:
receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated;
determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification;
determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier;
and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
In one possible implementation, the method further includes:
and responding to an information display message, and displaying the basic information and/or the ledger information, wherein the information display message is generated based on an information display operation.
In a second aspect, the present application further provides a full life cycle management apparatus for a network device, where the apparatus includes:
the receiving module is used for receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
And the updating module is used for updating the ledger information of the first network equipment according to the first stage, and the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In one possible implementation, the updating module is further configured to:
under the condition that the first stage is equipment warehousing, basic information of the first network equipment is input, the ledger information is established for the first network equipment, and storehouse information after the first network equipment is warehoused is input into the ledger information;
or,
acquiring the leading information of the first network equipment and inputting the leading information into the ledger information under the condition that the equipment is out of stock in the first stage;
or,
under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information;
or,
under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information;
Or,
and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
In a possible implementation manner, the basic information includes a device serial number of the first network device, and the apparatus further includes:
a first sending module, configured to send a device replacement request to a provider of the first network device in response to a failure message of the first network device;
and the replacing module is used for replacing the first network equipment by the second network equipment in response to the arrival message of the second network equipment, replacing the equipment serial number in the basic information with the equipment serial number of the second network equipment, and the second network equipment represents the replacing equipment of the first network equipment.
In one possible implementation, the basic information includes a warranty period of the first network device, and the apparatus further includes:
the second sending module is used for sending delay prompt information when the warranty period of the first network equipment is reached, wherein the delay prompt information is used for prompting whether the warranty period of the first network equipment needs to be prolonged;
And the maintenance module is used for responding to the maintenance information of the first network equipment, adding the first network equipment into a maintenance list, and the maintenance information is used for indicating to prolong the maintenance period of the first network equipment.
In one possible implementation, the apparatus further includes:
and the third sending module is used for sending a library-returning prompt message if the state change message of the first stage of equipment on line is not received in the first time period, wherein the library-returning prompt message is used for prompting the first network equipment to carry out library-returning operation.
In one possible implementation, the apparatus further includes:
and the fourth sending module is used for sending uploading prompt information if the state change message of the first-stage equipment for the equipment to be returned is not received in the second time period, wherein the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after the equipment is returned.
In one possible implementation manner, the marking the first network device as the scrapped state in the ledger information includes:
determining whether the first network device meets a preset scrapping condition;
under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center;
And under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
In one possible implementation, the receiving module is further configured to:
providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols;
and receiving the equipment state change message through the interfaces, wherein the equipment state change message is generated based on one of a warehousing operation, a ex-warehouse operation, an ex-warehouse operation and a scrapping operation, or the equipment state change message is generated based on the connection condition of the first network equipment and the network management system.
In one possible implementation, the apparatus further includes a determination module;
the receiving module is further used for receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated;
the determining module is used for determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification; determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier; and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
In one possible implementation, the apparatus further includes:
and the display module is used for responding to an information display message to display the basic information and/or the ledger information, wherein the information display message is generated based on information display operation.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
And updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
According to the network equipment full life cycle management method, the network equipment full life cycle management device and the computer equipment, the account information of the first network equipment is updated according to the change of the stage where the first network equipment is located, so that the management of the first network equipment full life cycle is realized, timely response to each stage in the first network equipment full life cycle is ensured, the update of the account information is completed timely, and the update efficiency of the account information of the first network equipment is improved.
Drawings
Fig. 1 is a schematic architecture diagram of a network device full life cycle management system according to an embodiment of the present application;
fig. 2 is a flow chart illustrating a full life cycle management method of a network device according to an embodiment of the present application;
fig. 3 is a logic schematic diagram of a network device life management platform according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a network device life management platform according to an embodiment of the present application;
fig. 5 is a block diagram showing a configuration of a network device life management apparatus according to an embodiment of the present application;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Fig. 1 is a schematic architecture diagram of a network device full life cycle management system according to an embodiment of the present application. As shown in fig. 1, the network device full life cycle management system (abbreviated as management system) includes a network device full life cycle management platform (abbreviated as management platform), a data center and an application terminal.
The management platform is used for managing the account information of the network equipment. The data center is used for storing the ledger information of the network equipment. The management platform controls the whole life cycle of the network equipment through monitoring and processing of the data center. The application terminal is in communication connection with the data center and is used for providing an interaction page. The user can perform equipment state changing operation (such as warehousing operation, ex-warehouse operation, scrapping operation and the like) through the interactive page. The management platform may update the ledger information of the management device in response to the above-described device status change operation.
The management platform may be implemented by a stand-alone server or a server cluster composed of a plurality of servers. The data center may be a relational database or a non-relational database. The application terminal may be, but is not limited to, a display, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and the like.
Fig. 2 is a flow chart illustrating a full life cycle management method of a network device according to an embodiment of the present application. The method can be applied to the network device full life cycle management platform shown in fig. 1. As shown in fig. 2, the method may include:
Step S201, a device status change message is received.
Wherein the device state change message may indicate that the first network device is in a phase change to a first phase in a full life cycle.
The first network device may represent any network device to be full life cycle managed. The first network device may be a computing device, a routing device, a gateway device, or a component (e.g., chip, board, etc.) in a gateway device, etc. The full life cycle of the first network may be divided into a plurality of phases. For example, the full life cycle of the first network device starts with device purchase and ends with device discard, and the middle can be divided into the stages of device warehouse entry, device warehouse exit, device online, device warehouse exit, device maintenance, device allocation, device material return inspection (Return Material Authorization, RMA), and device allocation. The above is merely an exemplary illustration of a manner of dividing a full life cycle of a network device, and the management platform provided in the embodiment of the present application may also divide the full life cycle of the network device in other manners. The first phase may be any phase of the full lifecycle of the first network device.
When the management platform receives the equipment state change message, the state change message indicates that the stage where the first network equipment is located is changed, and the account information of the first network equipment needs to be updated to ensure that the accounts are consistent.
In one possible implementation, step S201 may include: providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols; the device state change message is received through the plurality of interfaces.
In embodiments of the present application, the management platform may provide multiple interfaces to adapt to multiple protocols. Thus, the management platform can receive the equipment state change message from different equipment or systems, and the comprehensiveness of the equipment state change message is improved. For example, the management platform may receive a device change message from the warehousing system (the device change message indicates that the first network device enters the device warehousing phase), or may receive a device change message from the ex-warehouse system (the device change message indicates that the first network device enters the device ex-warehouse phase).
In one example, the management platform may adapt to simple network management protocols (Simple Network Management Protocol, SNMP), internet packet explorer (Packet Internet Groper, PING), stable, and Syslog, among others. The foregoing is merely an exemplary illustration of a protocol adapted by a management platform, and the management platform provided in the embodiment of the present application may also be adapted to other protocols, which is not limited in this embodiment of the present application.
Alternatively, the device state change message may be generated based on one of a warehouse-in operation, a warehouse-out operation, and a discard operation. In one example, after the application terminal performs a warehousing operation (or one of a ex-warehouse operation, an ex-warehouse operation, and a discard operation), the application terminal may generate a device change message and send the device change message to the management platform. The management platform can receive the equipment state change message through the interface corresponding to the application terminal. Thus, the user operation can be responded in time, the account information of the first network equipment can be updated in real time, and the consistency of accounts is ensured.
Alternatively, the device status update message may be generated by other systems (e.g., a warehousing system, an ex-warehouse system, a network management system, etc.). The management platform may receive the device state change message through other system corresponding interfaces.
In one example, the warehousing system may generate a device status change message after scanning a barcode, an inventory, etc. of the first network device, which may indicate that the stage at which the first network device is located is changed to device warehousing.
In one example, the network management system may generate a device status update message based on a connection condition of the first network device and the network management system, and specifically, when the first network device is connected to the network management system, the network management system may determine that the first network device is online, and the network management system may generate a device status change message at this time, where the device status change message may indicate that a phase in which the first network device is located is changed to be online.
In the embodiment of the application, the network management system automatically generates and transmits the equipment state change message after the first network equipment is connected, so that the account updating efficiency is improved.
The above is merely an exemplary illustration of the management platform receiving the device status change message, and the management platform may also receive the device status change message through other devices, other systems, or other interfaces, which is not limited to the embodiment of the present application.
Step S202, updating the ledger information of the first network device according to the first stage.
The ledger information is used for recording the change condition of the stage where the first network equipment is located. When the first network device changes to the first stage in the full life cycle, the first network device is indicated to change, and at the moment, the full life cycle management platform of the network device can update the account information of the first network device so as to ensure that the account is consistent. It can be understood that the stage of the change of the first network device is different, and the update content and update mode of the ledger information of the first network device are different.
In one possible implementation, step S202 may include: and under the condition that the first stage is equipment warehousing, inputting basic information of the first network equipment, establishing the standing book information for the first network equipment, and inputting warehouse information after the first network equipment is warehoused into the standing book information.
After purchasing the first network device, the first network device needs to be subjected to warehouse entry processing, and when the first network device is in warehouse entry, the stage where the first network device is located is changed to be more equipment warehouse entry. At this time, the management platform may enter basic information of the first network device, and set up ledger information for the first network device. The basic information and the ledger information of the first network device may be recorded in different data tables and stored in association.
The underlying information of the first network device may represent a base case of the first device. In one example, the base information of the first network device may include one or more of a device resource code, a device serial number, a device model number, a device manufacturer, a device price, a contract number for a purchase contract, a time of warehousing, a warranty period, a time of purchase, and location information after the device is warehoused (e.g., a warehouse and a location in the warehouse, etc.), among others.
The underlying information of the first network device typically does not change as the stage at which the first network device is located changes. However, the basic information of the first network device may be changed due to occurrence of a failure or the like of the first network device.
Optionally, the base information may include a device serial number of the first network device, and the method may further include: transmitting a device replacement request to a provider of the first network device in response to a failure message of the first network device; and in response to the arrival message of the second network device, replacing the first network device with the second network device, and replacing the device serial number in the basic information with the device serial number of the second network device, wherein the second network device represents the replacement device of the first network device.
The device serial number may be used to identify a unique network device. After the first network device is online, if the first network device fails, the first network device needs to be replaced by the second network device, and at this time, in order to achieve that a user does not perceive the placement position, the configuration mode, the online position and the like of the second network device, the placement position, the configuration mode, the online position and the like of the second network device need to be completely consistent with those of the first network device. In the embodiment of the application, after the second network equipment arrives at the commodity, the first network equipment can be directly replaced to be on line, the second network equipment can continuously use the basic information and the ledger information of the first network equipment, and then the equipment serial number in the basic information is replaced by the equipment serial number of the second network equipment, so that the ledger entity can be ensured to be consistent.
And the new equipment inherits the original equipment account information under the condition of equipment failure, so that the basic information is kept unchanged and updated without repeatedly acquiring the account information, the data modification amount is reduced, and the resources are saved.
Optionally, the basic information may include a warranty period of the first network device, and the method may further include: sending a warranty prompt message when the warranty period of the first network device is reached, wherein the warranty prompt message is used for prompting whether the warranty period of the first network device needs to be prolonged; and responding to the extension message of the first network equipment, and adding the first network equipment into a maintenance list, wherein the extension message is used for indicating to extend the warranty period of the first network equipment.
After the first network device performs device warehousing, the first network device can perform ex-warehouse and online until scrapped. The management platform may establish ledger information for the first network device to record changes occurring in the first network device in real time. If the first network device performs device warehousing, the management platform can input the warehouse information after the first network device is warehoused into the ledger information, and the ledger information is consistent with the actual condition of the first network device, that is, the ledger information is consistent with the account. In addition, for the network equipment with the expired warranty period, the warranty period can be prolonged by sending the warranty delay prompt, and the possibility of loss caused by the network equipment over the warranty period is reduced.
In one possible implementation, step S202 may include: and under the condition that the first stage is equipment delivery, acquiring the leading information of the first network equipment, and inputting the leading information into the ledger information.
After the first network device is put in storage, if the first network device needs to be used, the first network device needs to be led from a warehouse. The lead information may be used to indicate information of a lead person and information of a user. The user who takes the first network device from the warehouse, the user who actually uses the first network device, and the user may be the same or different.
In the embodiment of the application, the account information is timely updated by inputting the information for the receipt into the account information after the first network equipment is delivered out of the warehouse.
In one possible implementation, step S202 may include: and under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information.
The first network device can work normally after being on line. After the first network device is online, the home relation and the position information of the first network device after the first network device is online can be acquired and recorded into the ledger information. The home relation after the online may indicate a connection relation between the first network device and other network devices. For example, the first network device is a board, and the home relationship of the first network device may indicate the switch into which the first network device is plugged. As another example, the first network device is a switch, and the home relationship of the first network device may indicate a board card inserted into the first network device. The on-line location information may indicate an on-line location of the first network device, for example, the on-line location information may be a location or a number of the first network device sitting in the machine room.
Optionally, after the entering the receipt information into the ledger information, the method further includes: if the state change message of the first stage of equipment on line is not received in the first time period, the database-returning prompt information is sent, and the database-returning prompt information is used for prompting the database-returning operation of the first network equipment.
After the first network device is taken out of the warehouse, the first network device may be directly on line, or may enter a turnover period. If the first network device is not received in the first period of time after the first network device is out of the warehouse, the state change message that the first stage is on-line is indicated that the first network device is not on-line after the first network device is out of the warehouse for a long period of time. At this time, in order to avoid wasting of device resources, the first network device may be subjected to a database-withdrawal process.
The first time period may be used to measure a length of a cycle of the first network device. The first period of time may be set as desired, for example, may be set to 3 days. The first time period is relatively long, and the first network equipment does not enter and exit the warehouse too frequently; the first time period is smaller and the turnover efficiency of the first network device is higher. The embodiment of the application does not limit the setting of the first time period.
In the embodiment of the application, if the state change message of the first stage of equipment on-line is not received in the first time period, the management platform can send the library-returning prompt information to prompt the master to carry out the library-returning operation on the first network equipment, thereby avoiding the first network equipment from being in the turnover period for a long time and avoiding the equipment resource waste.
Optionally, after the sending the database-exit prompt information, the method further includes: if the state change message of the first stage of equipment warehouse withdrawal is not received in the second time period, the uploading prompt information is sent, and the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after warehouse withdrawal.
The second time period may be used to measure how long the first network device is waiting to be taken out of the library. The second period of time may be set as desired, for example, may be set to 1 day. The embodiment of the application does not limit the setting of the second time period.
After sending the logout cue, the leader may not perform the logout operation for a long time, or the leader performs the logout operation, but does not automatically trigger the status change message. At this time, a prompt message is sent to prompt the collar person to upload the warehouse information after the first network device is removed from the warehouse. Therefore, on one hand, the ledger information can be updated in time, and on the other hand, the probability that the collar personnel does not execute the database-returning operation can be reduced.
In one possible implementation, step S202 may include: and under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information.
When the first network device is taken out of the library, it is indicated that the first network device is to re-enter the library. Therefore, the warehouse information after the first network equipment is removed from the warehouse can be input into the ledger information. After that, the first network device may go out of the warehouse and on-line again.
In one possible implementation, step S202 may include: and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
When the first network equipment is scrapped, the first network equipment can be marked as a scrapped state in the account information so as to prevent the scrapped first network equipment from being taken out of the warehouse and on line again.
Optionally, the marking the first network device as the scrapped state in the ledger information includes: determining whether the first network device meets a preset scrapping condition; under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center; and under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
The preset scrapping conditions comprise, but are not limited to, equipment service life, equipment failure rate, equipment performance and the like. For example, if the first network device is a key device, it may be determined that the first network device meets a preset discard condition when the service life of the first network device reaches 7 years; if the first network device is a non-critical device, the first network device can be determined to meet the preset rejection condition when the service life of the first network device reaches 6 years. The preset scrapping condition can be set according to the requirement, and the embodiment of the application is not limited.
In one example, the success of the signoff may be determined after the signoff information is sent to the audit center. In yet another example, the success of the signoff may be determined after the signoff information is sent to the auditing center and a confirmation feedback from the auditing center is received. The success of the sign report indicates that the rejection application of the first network device has passed, at this time, the first network device can be marked as a rejection state in the ledger information, and then the first network device can not go out of the warehouse and go on line.
The foregoing is merely illustrative of the device status change message, and is not intended to limit the embodiments of the present application, and the management platform may also receive other device status change messages according to the first stage, so as to update the ledger information differently.
According to the network equipment full life cycle management method, the account information of the first network equipment is updated according to the change of the stage where the first network equipment is located, management of the first network equipment full life cycle is achieved, timely response to each stage in the first network equipment full life cycle is guaranteed, updating of the account information is timely completed, and updating efficiency of the account information of the first network equipment is improved.
In one possible implementation, the method may further include: receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated; determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification; determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier; and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
The user identification may be used to identify a unique user, such as a user name, user number, user job number, etc. The ledger identifier can be used for identifying unique ledger information, and the ledger identifier corresponds to the network equipment one by one. The resource group corresponds to a plurality of network devices, that is, to a plurality of ledger information. A service group corresponds to a plurality of users, which may have different roles, e.g., access-only roles, access-and-modify roles, etc.
The user may perform operations such as accessing, adding, deleting, or updating the ledger information. To improve security, the user may be authenticated. The user may perform an operation for the ledger information at the application terminal. And the application terminal responds to the received operation to generate a ledger operation request and sends the ledger operation request to the management platform.
After receiving the ledger operation request, the management platform can acquire the user identification of the user to be operated and the ledger identification of the ledger information to be operated. The management platform can determine the resource group to which the ledger information belongs according to the ledger identifier, and determine the business group to which the user belongs and the role to which the user belongs under the business group according to the user identifier. When the authority is set, the association relation is established between the resource group and the service group with the authority to access the resource group, or the association relation is established between the resource group and the specific role in the service group with the authority to access the resource group. Therefore, according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account replacing information to be operated belongs and the role to which the user to be operated belongs under the service group, the operation authority of the user to be operated on the account to be operated is determined.
In one possible implementation, the method may further include: and responding to an information display message, and displaying the basic information and/or the ledger information, wherein the information display message is generated based on an information display operation.
The user can execute information display operation on the basic information and/or the ledger information at the application terminal. The application terminal may generate an information presentation message in response to the operation and send the information presentation message to the management platform. The management platform may present the base information and/or the ledger information in response to the information presentation message. Specifically, the management platform can display the basic information and/or the ledger information through the application terminal.
Therefore, the user can intuitively know the conditions of each network device, and the network device is convenient to manage by the user.
The network equipment full life cycle management method can be applied to the network equipment full life cycle management platform provided by the embodiment of the application. The network equipment full life cycle management platform has the advantages of safety, easy maintenance and expandability. Firstly, the management platform is used as a management center of a management system, the safety and the reliability of the management platform are guaranteed through various modes such as data backup and authority setting, the uninterrupted operation of the management platform for 7 x 24 hours is determined, a perfect data backup mechanism is provided, and the management platform can be quickly recovered when the reliability of the management platform is problematic. And secondly, the management platform adopts layering design to define the functions of each layer, avoids excessively complex net-shaped close coupling relation, embodies a loose coupling thought and provides perfect and understandable prompt information. The hierarchical logic of the management platform will be described later in conjunction with fig. 3, and will not be described in detail here. Finally, the management platform provides a plurality of interfaces adapting to various protocols, is suitable for new service requirements, has the advantages of opening new and expansibility, and is easy to expand and customize.
Fig. 3 shows a logic schematic diagram of a network device life management platform according to an embodiment of the present application. As shown in fig. 3, the management platform logically adopts a hierarchical design, and includes an acquisition layer, a basic service layer, a convergence layer, an association analysis layer and a presentation layer.
The acquisition layer, also called protocol adaptation layer, provides corresponding operation adaptation service for the south-oriented equipment managed by the management platform, and mainly comprises protocol adaptation and tool adaptation. As shown in fig. 3, the acquisition layer may include SNMP acquisition, PING acquisition, an active executor, a Syslog acquisition, and the like. The management platform can acquire basic information of the network equipment, information (such as storehouse information, leading information, attribution relation, position information and the like) needed to be used in the account information, equipment state change information and the like through the acquisition layer.
The basic service layer can apply the services provided by the protocol adaptation layer, and provides basic service modules for the convergence layer and the association analysis layer, including authority management, asset management (CMDB, configuration Management Database, configuration management database), process arrangement, task scheduling and the like. The convergence layer may converge data provided by the base service layer. The association analysis layer can perform association analysis on the data converged by the convergence layer.
The display layer is used for connecting the application terminal to provide an interactive page so as to display basic information and/or ledger information of the network equipment. The whole display layer adopts a page and service separation technology, so that the page can be independently deployed and loosely coupled with each service module, and the loading speed of the interactive page is greatly accelerated.
In addition, the network device management platform stores data such as ledger information in the data center. Aiming at the characteristics of the data structure, the embodiment of the application can adopt a design strategy of combining Nosql and sql type databases. As shown in fig. 3, databases employed by the data center may include ElasticSearch, mysql, arangoDB, kafka, remote dictionary services (Remote Dictionary Server, dis), ES, and the like. In one example, the log and performance data may employ an elastic search database, the asset configuration data may employ an arango db database, the other configuration data may employ a Mysql database, and the cache data may employ a Redis database.
Meanwhile, from the safety perspective, the management platform provided by the embodiment of the application further comprises a data authority control module, a data encryption storage module, a data real-name management module, a data backup recovery module and other functional modules.
The data authority control module: the management platform provides a data authority control function and precisely controls the accessible range of the login user. Taking an example of resources (e.g., basic information and/or ledger information of a network device) stored in the CMDB, each resource may belong to one or more resource groups, which may be associated with one or more service groups, the user's operation rights to the relevant resource is controlled according to the service group to which the logged-in user belongs and the role to which he belongs under the service group.
And the data encryption storage module: some key sensitive data stored in the database, such as user password passwords, are provided with the function of encrypting and storing the sensitive data, so that a plaintext password cannot be acquired in other connections. And encrypting the user password by adopting a bcrypt irreversible encryption algorithm. And (3) for data needing reverse decryption, such as a device login password and the like, storing by adopting a PbeWithMD5AndDES algorithm.
And the data real name management module: after the user logs in the platform, the real-name management is carried out on all data input, modification and other data processing, and the management platform automatically records the user names and processing time of all data processing in real time, so that operators are clear, and the system can be used for the later audit and inspection of data content.
And a data backup and recovery module: and according to the hierarchical setting standard of the data center structure, automatically and regularly backing up the total and incremental data of the database. When various unexpected faults and accidents are prevented, data are recovered from the backup set, and the management platform is ensured to recover normal operation. In one example, the ES cluster data storage redundancy number is paired with 1, i.e., one data redundancy. Mysql deploys two, and the data will be redundant one at the slave node. In addition, full cold backup is carried out at regular time every day. The arangobb data node deploys two, and the data will be redundant one at the slave node. In addition, full cold backup is carried out at regular time every day.
Fig. 4 is a schematic structural diagram of a network device life management platform according to an embodiment of the present application. As shown in fig. 4, the management platform may include a device warehouse entry module, a device warehouse exit module, a device maintenance module, a device material return inspection module, and a device discard module.
When the network equipment enters a warehouse after arriving at the goods, the equipment warehousing module can input basic information of the network equipment. The basic information may include equipment resource code, equipment serial number, equipment model, equipment manufacturer, equipment price, contract number of purchase contract, warehouse-in time, warranty period, purchase time, and position information (where the warehouse is located and in the warehouse, etc.) after the equipment is warehouse-in, etc.
After the network equipment goes out of the warehouse, the network equipment is divided into two cases, one is directly on line, and the other is on line after entering a turnover period and within a certain time.
If the network equipment is directly on line after being out of the warehouse, the equipment out-warehouse module can input the post-acquisition information. The device leader can directly select manufacturers, models and quantity, and the management platform can automatically determine network devices for delivery according to preset strategies. Wherein the preset strategy includes but is not limited to: first in first out (first in first out according to the purchasing time and first in first out according to the warehousing time), position priority (resolving the position of the equipment to take the equipment together), general park priority (resolving the information of the pilot, judging the belonging park, taking the equipment out of the park preferentially, and preventing the allocation of the consumption material flow resources). Then, the device ex-warehouse module of the management platform can automatically enrich fields of a user, a leader and the like in the ledger information according to the information of the leader.
And connecting the network management system after the network equipment is on line. The device online module may acquire the home relation and location information of the network device from the network management system, and then automatically supplement the home relation and location information to the ledger information. Meanwhile, the equipment online module can inform the equipment ex-warehouse module to complete closed loop after acquiring the attribution relation and the position information. If the equipment online module does not automatically acquire the attribution relation and the position information, an automatic mail equipment leader prompts the equipment online module to manually upload the attribution relation and the position information after a period of time (the equipment online module can be set according to the needs, for example, 3 days), so that the real-time performance and the accuracy of the account information are ensured.
In one example, the technical management section presents a device presence requirement that specifies a device presence date, a specific model, etc. And after receiving the demand, the management platform automatically distributes the network equipment for ex-warehouse according to a preset strategy, and the equipment ex-warehouse module generates an ex-warehouse list. The technical management part completes operations such as physical loading, power-on, network management and the like of the equipment in the same day after the network equipment is taken out from a warehouse according to the delivery bill. After the network equipment is connected with the network management system, the network management system collects the attribution relation and the position information of the network equipment and synchronizes the attribution relation and the position information to the management platform. And the equipment online module platform in the management platform automatically updates the account information and informs the network equipment which goes out of the warehouse before the equipment goes out of the warehouse module that the online is completed, so that the closed loop of the flow is completed.
If the network device enters the turnaround after leaving the warehouse, the device leaving module starts a countdown (e.g., a two-week countdown may be started). If the countdown is finished, the feedback of the equipment on-line module is not received yet, the mail prompts the collar user to return to the warehouse after the warehouse-returning operation.
After the database returning person initiates the database returning operation, the device database returning module can enter the database information of the database returning network device into the account information of the network device. The person who leaves the warehouse needs to upload the information of the warehouse after leaving the warehouse, and if the equipment warehouse-leaving module does not receive the information of the warehouse after leaving the warehouse within a period of time (for example, within three days), the mail is reminded.
Network equipment in the warehouse can be scrapped. When the network equipment is scrapped, the equipment scrapping module can automatically check whether scrapping standards (for example, key equipment is more than 7 years, non-key equipment is more than 6 years, and the network equipment with the value of more than 500 ten thousand is independently signed and reported) are met according to the in-line scrapping rules which are input in advance. Under the condition that the scrapping standard is met, the equipment scrapping module can automatically send a post to the center for post, and the scrapped network equipment is automatically marked as scrapped in the account information after the post is successful.
After the network equipment fails, the equipment material returning inspection module can automatically mail to manufacturers, inform stock, replace the original failed network equipment after the new network equipment arrives, and input the equipment serial number of the new network equipment into the account information of the original network equipment.
After the warranty period of the network device expires, the device maintenance module can automatically prompt whether to join the next batch maintenance negotiation, and if the fact that the next batch maintenance negotiation needs to be joined is determined, the next batch maintenance list is automatically joined.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a network equipment full life cycle management device for realizing the above related network equipment full life cycle management method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in the embodiments of the full life cycle management apparatus for one or more network devices provided below may refer to the limitation of the full life cycle management method for a network device hereinabove, and will not be repeated herein.
Fig. 5 is a block diagram of a network device life management apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 includes: a receiving module 501 and an updating module 502, wherein:
the receiving module is used for receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and the updating module is used for updating the ledger information of the first network equipment according to the first stage, and the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In one possible implementation, the updating module is further configured to:
Under the condition that the first stage is equipment warehousing, basic information of the first network equipment is input, the ledger information is established for the first network equipment, and storehouse information after the first network equipment is warehoused is input into the ledger information;
or,
acquiring the leading information of the first network equipment and inputting the leading information into the ledger information under the condition that the equipment is out of stock in the first stage;
or,
under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information;
or,
under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information;
or,
and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
In a possible implementation manner, the basic information includes a device serial number of the first network device, and the apparatus further includes:
A first sending module, configured to send a device replacement request to a provider of the first network device in response to a failure message of the first network device;
and the replacing module is used for replacing the first network equipment by the second network equipment in response to the arrival message of the second network equipment, replacing the equipment serial number in the basic information with the equipment serial number of the second network equipment, and the second network equipment represents the replacing equipment of the first network equipment.
In one possible implementation, the basic information includes a warranty period of the first network device, and the apparatus further includes:
the second sending module is used for sending delay prompt information when the warranty period of the first network equipment is reached, wherein the delay prompt information is used for prompting whether the warranty period of the first network equipment needs to be prolonged;
and the maintenance module is used for responding to the maintenance information of the first network equipment, adding the first network equipment into a maintenance list, and the maintenance information is used for indicating to prolong the maintenance period of the first network equipment.
In one possible implementation, the apparatus further includes:
And the third sending module is used for sending a library-returning prompt message if the state change message of the first stage of equipment on line is not received in the first time period, wherein the library-returning prompt message is used for prompting the first network equipment to carry out library-returning operation.
In one possible implementation, the apparatus further includes:
and the fourth sending module is used for sending uploading prompt information if the state change message of the first-stage equipment for the equipment to be returned is not received in the second time period, wherein the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after the equipment is returned.
In one possible implementation manner, the marking the first network device as the scrapped state in the ledger information includes:
determining whether the first network device meets a preset scrapping condition;
under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center;
and under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
In one possible implementation, the receiving module is further configured to:
providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols;
And receiving the equipment state change message through the interfaces, wherein the equipment state change message is generated based on one of a warehousing operation, a ex-warehouse operation, an ex-warehouse operation and a scrapping operation, or the equipment state change message is generated based on the connection condition of the first network equipment and the network management system.
In one possible implementation, the apparatus further includes a determination module;
the receiving module is further used for receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated;
the determining module is used for determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification; determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier; and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
In one possible implementation, the apparatus further includes:
And the display module is used for responding to an information display message to display the basic information and/or the ledger information, wherein the information display message is generated based on information display operation.
The modules in the network device full life cycle management device can be all or partially implemented by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data such as basic information and/or account information. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a network device full lifecycle management method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
In one embodiment, the processor when executing the computer program further performs the steps of:
under the condition that the first stage is equipment warehousing, basic information of the first network equipment is input, the ledger information is established for the first network equipment, and storehouse information after the first network equipment is warehoused is input into the ledger information;
Or,
acquiring the leading information of the first network equipment and inputting the leading information into the ledger information under the condition that the equipment is out of stock in the first stage;
or,
under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information;
or,
under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information;
or,
and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
In one embodiment, the processor when executing the computer program further performs the steps of:
transmitting a device replacement request to a provider of the first network device in response to a failure message of the first network device;
and in response to the arrival message of the second network device, replacing the first network device with the second network device, and replacing the device serial number in the basic information with the device serial number of the second network device, wherein the second network device represents the replacement device of the first network device.
In one embodiment, the processor when executing the computer program further performs the steps of:
sending a warranty prompt message when the warranty period of the first network device is reached, wherein the warranty prompt message is used for prompting whether the warranty period of the first network device needs to be prolonged;
and responding to the extension message of the first network equipment, and adding the first network equipment into a maintenance list, wherein the extension message is used for indicating to extend the warranty period of the first network equipment.
In one embodiment, the processor when executing the computer program further performs the steps of:
if the state change message of the first stage of equipment on line is not received in the first time period, the database-returning prompt information is sent, and the database-returning prompt information is used for prompting the database-returning operation of the first network equipment.
In one embodiment, the processor when executing the computer program further performs the steps of:
if the state change message of the first stage of equipment warehouse withdrawal is not received in the second time period, the uploading prompt information is sent, and the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after warehouse withdrawal.
In one embodiment, the processor when executing the computer program further performs the steps of:
Determining whether the first network device meets a preset scrapping condition;
under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center;
and under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
In one embodiment, the processor when executing the computer program further performs the steps of:
providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols;
and receiving the equipment state change message through the interfaces, wherein the equipment state change message is generated based on one of a warehousing operation, a ex-warehouse operation, an ex-warehouse operation and a scrapping operation, or the equipment state change message is generated based on the connection condition of the first network equipment and the network management system.
In one embodiment, the processor when executing the computer program further performs the steps of:
receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated;
determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification;
Determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier;
and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
In one embodiment, the processor when executing the computer program further performs the steps of:
and responding to an information display message, and displaying the basic information and/or the ledger information, wherein the information display message is generated based on an information display operation.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (14)
1. A method for managing a full life cycle of a network device, the method comprising:
receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and updating the ledger information of the first network equipment according to the first stage, wherein the ledger information is used for recording the change condition of the stage where the first network equipment is located.
2. The method of claim 1, wherein updating the ledger information of the first network device according to the first phase comprises:
under the condition that the first stage is equipment warehousing, basic information of the first network equipment is input, the ledger information is established for the first network equipment, and storehouse information after the first network equipment is warehoused is input into the ledger information;
or,
acquiring the leading information of the first network equipment and inputting the leading information into the ledger information under the condition that the equipment is out of stock in the first stage;
or,
under the condition that the first stage is equipment on-line, acquiring the attribution relation after the first network equipment is on-line and the position information after the first network equipment is on-line, and inputting the attribution relation and the position information into the ledger information;
or,
under the condition that the first stage is equipment warehouse-out, acquiring warehouse information after the first network equipment warehouse-out, and inputting the warehouse information after the first network equipment warehouse-out into the ledger information;
or,
and under the condition that the first stage is equipment scrapping, marking the first network equipment as scrapped state in the ledger information.
3. The method of claim 2, wherein the base information includes a device serial number of the first network device, the method further comprising:
transmitting a device replacement request to a provider of the first network device in response to a failure message of the first network device;
and in response to the arrival message of the second network device, replacing the first network device with the second network device, and replacing the device serial number in the basic information with the device serial number of the second network device, wherein the second network device represents the replacement device of the first network device.
4. The method of claim 2, wherein the base information includes a warranty period for the first network device, the method further comprising:
sending a warranty prompt message when the warranty period of the first network device is reached, wherein the warranty prompt message is used for prompting whether the warranty period of the first network device needs to be prolonged;
and responding to the extension message of the first network equipment, and adding the first network equipment into a maintenance list, wherein the extension message is used for indicating to extend the warranty period of the first network equipment.
5. The method of claim 2, wherein after the entering the receipt information into the ledger information, the method further comprises:
if the state change message of the first stage of equipment on line is not received in the first time period, the database-returning prompt information is sent, and the database-returning prompt information is used for prompting the database-returning operation of the first network equipment.
6. The method of claim 5, wherein after the sending the decompaction prompt message, the method further comprises:
if the state change message of the first stage of equipment warehouse withdrawal is not received in the second time period, the uploading prompt information is sent, and the uploading prompt information is used for prompting the uploading of the warehouse information of the first network equipment after warehouse withdrawal.
7. The method of claim 2, wherein the marking the first network device as a discard state in the ledger information comprises:
determining whether the first network device meets a preset scrapping condition;
under the condition that the first network equipment meets the preset scrapping condition, signing and reporting are carried out in an auditing center;
and under the condition that the signing and reporting are successful, marking the first network equipment as the scrapped state in the standing account information.
8. The method of claim 1, wherein receiving the device state change message comprises:
providing a plurality of interfaces, the plurality of interfaces adapting a plurality of protocols;
and receiving the equipment state change message through the interfaces, wherein the equipment state change message is generated based on one of a warehousing operation, a ex-warehouse operation, an ex-warehouse operation and a scrapping operation, or the equipment state change message is generated based on the connection condition of the first network equipment and the network management system.
9. The method according to claim 1, wherein the method further comprises:
receiving a ledger operation request, wherein the ledger access request comprises a user identifier of a user to be operated and a ledger identifier of ledger information to be operated;
determining a service group to which the user to be operated belongs and a role to which the user to be operated belongs under the service group according to the user identification;
determining a resource group to which the to-be-operated ledger information belongs according to the ledger identifier;
and determining the operation authority of the user to be operated on the account to be operated according to the association relationship between the service group to which the user to be operated belongs and the resource group to which the account information to be operated belongs and the role to which the user to be operated belongs under the service group.
10. The method according to claim 1, wherein the method further comprises:
and responding to an information display message, and displaying the basic information and/or the ledger information, wherein the information display message is generated based on an information display operation.
11. A network device full lifecycle management apparatus, the apparatus comprising:
the receiving module is used for receiving a device state change message, wherein the device state change message indicates that the stage of the first network device in the whole life cycle is changed into a first stage;
and the updating module is used for updating the ledger information of the first network equipment according to the first stage, and the ledger information is used for recording the change condition of the stage where the first network equipment is located.
12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 10 when the computer program is executed.
13. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 10.
14. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311066210.6A CN117112347A (en) | 2023-08-23 | 2023-08-23 | Network equipment full life cycle management method and device and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311066210.6A CN117112347A (en) | 2023-08-23 | 2023-08-23 | Network equipment full life cycle management method and device and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117112347A true CN117112347A (en) | 2023-11-24 |
Family
ID=88797758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311066210.6A Pending CN117112347A (en) | 2023-08-23 | 2023-08-23 | Network equipment full life cycle management method and device and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117112347A (en) |
-
2023
- 2023-08-23 CN CN202311066210.6A patent/CN117112347A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10664771B2 (en) | Product development management system and method | |
CN111008069B (en) | Service processing method, device, computer equipment and storage medium | |
CN110309218B (en) | Data exchange system and data writing method | |
CN106406993A (en) | Timed task management method and system | |
US20090319316A1 (en) | Method and System of Using Structured Social Networks and Communities to Create and Maintain Business Service Models | |
US8818957B2 (en) | Employing user-context in connection with backup or restore of data | |
CN111274052A (en) | Data distribution method, server, and computer-readable storage medium | |
US20110087604A1 (en) | Micro-blogging for enterprise resources planning (erp) | |
CN101490665A (en) | Systems, methods and computer program products for performing remote data storage for client devices | |
CN102097015B (en) | Operation instruction processing system and method | |
EP2416246A1 (en) | Extensibility of business process and application logic | |
US20160294651A1 (en) | Method, apparatus, and computer program product for monitoring an electronic data exchange | |
CN116187915A (en) | Warehouse management method, device, equipment and storage medium | |
CN112288400A (en) | Multi-system data interaction method and device, computer equipment and storage medium | |
CN111784318A (en) | Data processing method and device, electronic equipment and storage medium | |
WO2019195482A1 (en) | Database lock | |
CN117114618A (en) | To-be-handled item follow-up method, system, computer equipment and storage medium | |
CN115130959B (en) | Method, system, terminal and storage medium for generating spare part BOM | |
CN117112347A (en) | Network equipment full life cycle management method and device and computer equipment | |
CN115510169A (en) | Asset checking method, terminal and computer readable storage medium | |
CN113554328A (en) | Point inspection task supervision system, method and device based on strong association with device startup | |
CN112231401A (en) | Model management method and device based on block chain | |
KR100824464B1 (en) | System and method for management of the it infra | |
CN117593125A (en) | Service data processing method, device, computer equipment and storage medium | |
CN116911690A (en) | Configuration data management system and method |
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 |