CN103310290B - Remote inventorying method and system for network equipment, and inventorying platform - Google Patents

Remote inventorying method and system for network equipment, and inventorying platform Download PDF

Info

Publication number
CN103310290B
CN103310290B CN201210065982.3A CN201210065982A CN103310290B CN 103310290 B CN103310290 B CN 103310290B CN 201210065982 A CN201210065982 A CN 201210065982A CN 103310290 B CN103310290 B CN 103310290B
Authority
CN
China
Prior art keywords
switch
information
inventory
making
parts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210065982.3A
Other languages
Chinese (zh)
Other versions
CN103310290A (en
Inventor
朱品燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210065982.3A priority Critical patent/CN103310290B/en
Publication of CN103310290A publication Critical patent/CN103310290A/en
Application granted granted Critical
Publication of CN103310290B publication Critical patent/CN103310290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • General Factory Administration (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a remote inventorying method for network equipment. The method comprises the following steps that an inventorying platform sends an inventorying request to a network group working platform; the network group working platform acquires corresponding software version information of each switch according to the inventorying request, generates a corresponding equipment information grabbing instruction of each switch according to the software version information, and transmits to a switch management server; the switch management server acquires log information of a corresponding switch according to the inventorying request; the inventorying platform compares the log information with pre-stored switch information and part information to generate an inventorying result. The embodiment of the invention has the advantages of remote and automatic inventorying, labor force is reduced, cost is saved, and accurate inventorying is realized. The invention further provides a remote inventorying system for the network equipment, an inventorying platform and a switch management server.

Description

Network apparatus remote checking method, system and platform of making an inventory
Technical field
The present invention designs a calculating machine technical field, is specifically designed a kind of network apparatus remote checking method, the network equipment remote Journey check system, make an inventory platform and switch management server.
Background technology
Continuous expansion IDC computer room construction with internet industry scale is rapid, and network equipment quantity is continuously increased, for The challenge more and more higher of network device management.It is relatively low, therefore that existing method of making an inventory excessively relies on artificial operating automation degree It has been short of in efficiency and accuracy making an inventory.
Existing company makes an inventory for the online network equipment and is based only on quantity and the verification of account, and the network equipment is not Support warm connection function, therefore in online equipment, subnetwork part such as board, optical-electric module, power module cannot check material object Whether serial number, can only coincide according to account book record on-site verification quantity.I.e. it cannot be guaranteed that network parts information record is correct, and It cannot be guaranteed that network part corresponding relation is accurately, so prior art has larger hidden danger making an inventory on information accuracy, run counter to The final purpose that asset management accounts and properties are consistent.
Method that the Stocktaking mode commonly using at present includes physical inventory method, bar code is made an inventory and three kinds of electronic tag method.Real Make an inventory method by print paper document manual site examine online network equipment quantity, carry out contrasting to obtain placing with account book record Point result.Which is applied to small-sized IDC machine room, and the online network equipment as in large scale in IDC is large number of, takes this kind of mode For making an inventory, personnel's quantitative requirement is higher, make an inventory time-consuming longer it is impossible to the change to equipment use state in inventory procedure is carried out Real time record, therefore data accuracy are difficult to ensure that.Bar code make an inventory method pass through bar code identification facility to post bar code in gauze Network equipment is scanned, and the uniqueness according to device label mates the data being consistent therewith in systems, obtains making an inventory of equipment Result.Although the method does not need printing paper matter document, efficiency of making an inventory and accuracy to be lifted, require each equipment The bar-code label that stickup can be identified, subnetwork part needs to be entirely insertable in switch when using as board, optical module And not possessing in OIR function, barcode scanning instrument to tag scan in kind, cannot therefore limit the covering model of making an inventory of the method Enclose.It is only applicable to the relatively low company's use of Relative Size of making an inventory in this way, optical module, board are accurate to for granularity of making an inventory The company of level network part is simultaneously inapplicable.And such bar code mostly is paper labels and occurs always with the increase of service life Change, come off, phenomenon not easy to identify, on controlling progress of inventory checking affect larger.Although bar code is made an inventory method for method is made an inventory at scene Optimize checking method and make an inventory efficiency but still rely on artificial collection information, be suitable for that IDC scale is less, manager is to disk The not high machine room of point granularity requirements uses.If more and higher to granularity requirements of the making an inventory machine room of built-in unit quantity is simultaneously uncomfortable With.Electronic tag administrative law, i.e. REID.First have to paste transponder (electronics mark to all online network equipments Sign), transponder can actively send the radiofrequency signal of fixed frequency, will after reader (handheld terminal) reception simultaneously decoded signal Feedback of the information to center system, stay in line network equipment information collect finish after make an inventory further according to the output of comparing of system record Result.This kind of method overcomes the artificial dependence in inventory procedure, improves efficiency of making an inventory, and has ensured the accurate of data of making an inventory Property.But the selling at exorbitant prices of transponder, quantitative requirement is more.Early stage needs input substantial contribution to cause cost of making an inventory significantly to carry Rise, being only used as making an inventory is not projected using cost performance.And apply the precondition of this kind of management method to be must by the equipment of making an inventory Palpus pasting electronic label, network equipment precision of a relatively high network part can not all meet electronic tag and paste requirement. Normally use as equipment may be affected after board, optical module pasting electronic label, therefore electronic tag administrative law is in relevance grade On limited, require higher for making an inventory online, equipment control degree of accuracy reaches the company of part serial number aspect uncomfortable With.
Content of the invention
It is contemplated that at least solving one of technical problem present in prior art.
For this reason, it is an object of the present invention to propose a kind of can remotely, automatization and the network equipment of accurately making an inventory The whether corresponding network apparatus remote checking method of each part in quantity, and the network equipment of can accurately making an inventory out.
Another object of the present invention is to proposing a kind of network apparatus remote check system.
Another object of the present invention is that proposing one kind makes an inventory platform.
Fourth object of the present invention is to propose a kind of switch management server.
To achieve these goals, first aspect present invention embodiment proposes a kind of network apparatus remote checking method, Comprise the following steps:Platform of making an inventory sends, to group of networks work platformses, request of making an inventory;Described group of networks work platformses are according to described The corresponding software version information of acquisition request of making an inventory respective switch;Described group of networks work platformses are believed according to described software version Breath generates the crawl order of described respective switch corresponding facility information and concurrently delivers management server of changing planes;Described switch pipe Reason server obtains the log information of corresponding switch according to described request of making an inventory, and wherein, described log information includes described Parts information within the information of switch and described switch;And described make an inventory platform obtain described log information, and Compared according to described log information and the exchanger information prestoring and parts information to generate result of making an inventory.
Method according to embodiments of the present invention can effectively solve the problem that server room scale constantly expands and sets on the line leading to The standby difficulty manually made an inventory, and avoid waste of human resource, decrease manual operation link and ensure that the information of making an inventory is accurate.This The method of inventive embodiment can remotely be made an inventory to the network equipment automatically, effectively increase online equipment and make an inventory efficiency, And function of automatically making an inventory is not need front capital to put into based on network equipment self-characteristic, saves budget expenditure, for The machine room of various scales provides good management method, grasps online facility information in real time, is that assets security provides favorably Ensure.And quantity of not only accurately making an inventory out accurately moreover it is possible in the network equipment of making an inventory out part whether correspond to.
Second aspect present invention embodiment proposes a kind of network apparatus remote check system, including:Make an inventory platform and institute State make an inventory platform be connected group of networks work platformses, the switch management server being connected with described group of networks work platformses and The multiple switch being connected with described switch management server, wherein, described platform of making an inventory is for group of networks work platformses Transmission is made an inventory request, and obtains log information, and according to described log information and the exchanger information prestoring and parts information Compare to generate result of making an inventory;Described group of networks work platformses are used for according to described acquisition request respective switch pair of making an inventory The software version information answered, and the crawl of described respective switch corresponding facility information is generated according to described software version information Management server of changing planes concurrently is delivered in order;Described switch management server is used for corresponding according to described request acquisition of making an inventory The log information of switch, wherein, described log information includes zero within the information of described switch and described switch Part information.
System according to embodiments of the present invention can remotely be made an inventory to the network equipment automatically, effectively increase and set online Standby efficiency of making an inventory, and function of automatically making an inventory is not need front capital to put into based on network equipment self-characteristic, saves pre- Calculate expenditure, reduce cost, and good management is provided for the machine room of various scales, grasp online facility information in real time, Provide favourable guarantee for assets security.Quantity of not only accurately making an inventory out accurately moreover it is possible in the network equipment of making an inventory out part be No correspondence.
Third aspect present invention embodiment proposes one kind and makes an inventory platform, including sending module, for working to group of networks Platform sends request of making an inventory;Receiver module, the daily record for obtaining described respective switch from described group of networks work platformses is believed Breath, wherein, described log information includes the parts information within the information of described switch and described switch;And make an inventory Module, for comparing according to described log information and the exchanger information prestoring and parts information to generate result of making an inventory.
According to embodiments of the present invention platform of making an inventory can carry out remotely accurately automatization and make an inventory, effectively to the network equipment Settlement server machine room scale constantly expands the difficulty that the built-in unit leading to manually is made an inventory, and avoids waste of human resource, Decrease manual operation link and ensure that the information of making an inventory is accurate.And save budget expenditure, and provide favorably for assets security Ensure.
Fourth aspect present invention embodiment proposes a kind of switch management server it is characterised in that including:Receive mould Block, for receiving the request of making an inventory of group of networks work platformses transmission;Order generation module, for obtaining according to described request of making an inventory The log information of corresponding switch, wherein, described log information is included in information and the described switch of described switch The parts information in portion;Arrange feedback module, for described log information is fed back to described group of networks work platformses.
Switch management server according to embodiments of the present invention, by the daily record letter of crawl order crawl respective switch Breath, has the advantages that to capture accurate and automatization.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from reference to the description to embodiment for the accompanying drawings below Substantially and easy to understand, wherein:
Fig. 1 is the flow chart of the network apparatus remote checking method of the embodiment of the present invention;
Fig. 2 is the detail flowchart of the network apparatus remote checking method of the embodiment of the present invention;And
Fig. 3 is the structure chart of the network apparatus remote check system of the embodiment of the present invention;
Fig. 4 is the network apparatus remote check system of one embodiment of the invention;
Fig. 5 is the structure chart of the platform of making an inventory of the embodiment of the present invention;And
Fig. 6 is the structure chart of the switch management server of the embodiment of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In describing the invention, term " longitudinal ", " horizontal ", " on ", D score, "front", "rear", "left", "right", " perpendicular Directly ", the orientation of instruction such as " level ", " top ", " bottom " or position relationship are based on orientation shown in the drawings or position relationship, are only For the ease of describing the present invention rather than requiring the present invention must be with specific azimuth configuration and operation, therefore it is not intended that right The restriction of the present invention.
With reference to explained below and accompanying drawing it will be clear that these and other aspects of embodiments of the invention.In these descriptions In accompanying drawing, specifically disclose some particular implementation in embodiments of the invention, to represent the enforcement implementing the present invention Some modes of the principle of example are but it is to be understood that the scope of embodiments of the invention is not limited.On the contrary, the present invention Embodiment includes falling into all changes in the range of the spirit of attached claims and intension, modification and equivalent.
Below in conjunction with accompanying drawing 1-2, network apparatus remote checking method according to embodiments of the present invention is described first.
Embodiments of the invention are that (order obtains with the switch major part holding equipment information scratching order in current machine room Take relevant information), grab thus switch being logged in by daily record grasping system (switch management server) and running facility information Based on taking order crawl respective switch log information.Specifically, referring to Fig. 1, network according to embodiments of the present invention sets Standby long-range checking method, comprises the steps:
Step S101, platform of making an inventory sends, to group of networks work platformses, request of making an inventory.Wherein, request of making an inventory includes machine room letter One or more of breath, switch type information, switch serial number and switch management IP information.Can be according to above-mentioned A kind of request of making an inventory of meaning carries out respective switch is made an inventory.For example, when needing the whole switches in some machine room of making an inventory When, then above-mentioned information definition of making an inventory can be above-mentioned computer room information, so just can be to the switch in above-mentioned machine room Made an inventory.Certainly, the information of making an inventory can also be computer room information, switch type information, switch serial number and switch pipe The combination in any therein of reason IP information, for example, when in some machine room that needs to make an inventory and a certain type switch when, then may be used So that above-mentioned information definition of making an inventory to be above-mentioned computer room information and the above-mentioned type information, so just can be in above-mentioned machine room Have above-mentioned switch type information switch made an inventory.Additionally, as single switch made an inventory, then will Request of making an inventory extends this as switch management IP information.
Step S102, group of networks work platformses are according to described acquisition request respective switch corresponding software version letter of making an inventory Breath.In an example of the present invention, group of networks work platformses for example can obtain each by Simple Network Management Protocol SNMP The corresponding software version information of switch.Generally, after group of networks work platformses (H platform) are connected to request of making an inventory, can pass through Snmp protocol is identified to corresponding switch obtaining device version information (software version information).
Step S103, group of networks work platformses generate according to described software version information that described respective switch is corresponding sets Management server of changing planes concurrently is delivered in standby information scratching order.I.e. group of networks work platformses are after generating facility information crawl order Log in switch management server (CMD-AGENT), and send, to it, request of making an inventory, switch management server obtains to hand over The log information changed planes.
Specifically, group of networks work platformses are getting the software of each of corresponding multiple switch switch After version information, facility information crawl order corresponding with this switch can be generated according to this software version information.
It should be noted that the difference of the software version of the switch of different model and switch use, its switch The facility information crawl order using is also different, for example:Software version used by Huawei's Quidway S5400 switch be 5.30 with Software version used by Huawei's Quidway S9312 switch is 5.50, and facility information crawl order between the two is just different.Cause According to this software version information, this is it is thus necessary to determine that after the software version information of each switch, can determine that it is corresponding Facility information crawl order.
Step S104, switch management server obtains the log information of corresponding switch according to described request of making an inventory, For example, switch management server by authentication, mandate and statistics AAA system access switch and can download switch Log information.Certainly, switch management server equally can adopt alternate manner access switch, embodiments of the invention Not restricted to this.
Specifically, the log information of switch includes the parts information within the information of switch and switch.More Specifically, the information of switch for example includes switch type and switch serial number, and the parts information within switch is for example Including part type and part serial number SN etc..Certainly, the parts information within switch is not limited to this, such as inside switch The quantity of part etc..
In an example of the present invention, switch management server (CMD-AGENT) command switch output file is simultaneously Download initial log information (LOG).Download finishes rear switch management server (CMD-AGENT) can be to the daily record letter reclaiming Breath carries out preliminary analyses, filters and unrelated exchanger information reservation demand field, such as switch type, the switch made an inventory Part type in serial number (SN), switch etc., and the log information after filtering is issued group of networks work platformses, and (H puts down Platform).
Step S105, platform of making an inventory obtains described log information, and according to described log information and the switch letter prestoring Breath and parts information are compared to generate result of making an inventory.As a specific example, group of networks work platformses (H platform) are received It is notified that, to after log information, platform of making an inventory, and point out to make an inventory platform can be with download log information, platform of now making an inventory is just permissible Logging in online group work platformses (H platform) download log information, and it is final to analyze generation further to the log information obtaining Result of making an inventory.
Specifically, compared according to log information and the exchanger information prestoring and parts information to generate knot of making an inventory Really, referring to Fig. 2, comprise the steps:
Step S51, obtain the corresponding parts information of each switch from log information.For example, switch include multiple The parts such as board, power supply, therefore, each part all has the part type of itself and same part to have different parts Serial number.
Step S52, judge in each switch, whether with system (such as part type according to the part type in parts information Long distance control system RMS) in the part type that prestores correspond to.For example, for some switch, it is in log information May include various parts type, the part type equally in system (as long distance control system RMS), this switch being prestored is same Sample is multiple, and both are compared.Judge whether both part type correspond to.
If step S53 is corresponding (prestored in part type in log information and system (as long distance control system RMS) Part type correspond to), then further part serial number in each switch is judged according to the part serial number in parts information Whether corresponding with the part serial number prestoring in system.That is, part type in judging log information and system are (such as Long distance control system RMS) in the part type that prestores corresponding after, serial number comparison will be carried out to part, due to each part The serial number of existence anduniquess, therefore be can determine whether in log information by way of contrasting serial number this part of record whether be Whether this part prestoring in system (as long distance control system RMS) is same part.
If step S54 serial number corresponds to, judge to make an inventory correctly.I.e. in log information, this switch of record is wrapped The part containing is identical with the part of this switch prestoring in system (as long distance control system RMS).
If step S55 serial number does not correspond to, carry out inventory profit further or loss on disposal judges.
Wherein, loss on disposal refers to the switch type that system (as long distance control system RMS) records, and does not believe in journal file Breath corresponds to therewith.
Inventory profit refers to the type of crawl in log information, does not have information to correspond to therewith in systems.
It is correctly type, serial number, part type etc. are all consistent with record in system (as long distance control system RMS).
If it is determined that its switch/part type, switch/component name be all consistent with system record and part serial number with Record different in system, then proceed to judge as follows, corresponding number of parts is carried out to each switch according to log information Statistics.
Step S56, judge whether the number of parts of each switch is equal with the quantity prestoring in system.
If step S57 is equal, judge that the part of switch is correct.
If the number of parts of step S58 switch is more than the number of parts of this switch prestore in system, judge Inventory profit in the part of switch.I.e. pre- in the actual number of parts redundant system (as long distance control system RMS) of this switch The number of parts of this switch deposited.
If the number of parts of step S59 switch is less than the quantity prestore in system, judge the zero of described switch Loss on disposal in part.I.e. the actual number of parts of this switch is less than this exchange prestore in system (as long distance control system RMS) The number of parts of machine.
In this embodiment, loss on disposal is the number of parts less than record in system for the number of parts of record in log information. Inventory profit is that the number of parts of record in log information is more than the number of parts record in system.It is correctly the part of record in daily record Quantity is equal to the number of parts of record in system.
The method of the embodiment of the present invention can effectively solve the problem that server room scale constantly expands the built-in unit people leading to The difficulty that work is made an inventory, and avoid waste of human resource, decrease manual operation link and ensure that the information of making an inventory is accurate.The present invention The method of embodiment can automatically the network equipment remotely be made an inventory, effectively increase online equipment and make an inventory efficiency, and Automatically function of making an inventory is not need front capital to put into based on network equipment self-characteristic, saves budget expenditure, for various The machine room of scale provides good management method, grasps online facility information in real time, is that assets security provides favourable guarantee. And quantity of not only accurately making an inventory out accurately moreover it is possible in the network equipment of making an inventory out part whether correspond to.
With reference to Fig. 3 and Fig. 4, embodiments of the invention also proposed a kind of network apparatus remote check system 300, including disk Point platform 310, the group of networks work platformses 320 being connected with platform 310 of making an inventory, the exchange being connected with group of networks work platformses 320 Machine management server 330 and the multiple switch 340 being connected with switch management server 330.Wherein:
Platform 310 of making an inventory is used for sending, to group of networks work platformses 320, request of making an inventory, and obtains log information, and root Compare according to described log information and the exchanger information prestoring and parts information to generate result of making an inventory.
Group of networks work platformses 320 are used for corresponding according to acquisition request respective switch (multiple switch 340) of making an inventory Software version information, and concurrently delivered according to software version information generation respective switch corresponding facility information crawl order Management server of changing planes 330.
Switch management server 330 is used for obtaining the log information of corresponding switch, wherein, day according to request of making an inventory Will information includes the parts information within the information of switch and switch.
Each functional module of the embodiment of the present invention described in detail below.
In the specific example of the present invention, platform 310 of making an inventory can wrap to the request of making an inventory that group of networks work platformses 320 send Include one or more of computer room information, switch type information, switch serial number and switch management IP information.Can root Carry out respective switch is made an inventory according to any one request of making an inventory above-mentioned.For example, complete in some machine room when needing to make an inventory During portion's switch, then above-mentioned information definition of making an inventory can be above-mentioned computer room information, so just can be in above-mentioned machine room Switch made an inventory.Certainly, the information of making an inventory can also for computer room information, switch type information, switch serial number and The combination in any therein of switch management IP information, for example, when in some machine room that needs to make an inventory and a certain type exchange During machine, then above-mentioned information definition of making an inventory can be above-mentioned computer room information and the above-mentioned type information, so just can be to upper State in machine room have above-mentioned switch type information switch made an inventory.Additionally, as single switch entered Row is made an inventory, then request of making an inventory extends this as switch management IP information.
In one embodiment of the invention, platform 310 of making an inventory is additionally operable to after obtaining described log information, according to described Log information and the exchanger information prestoring and parts information are compared to generate result of making an inventory.Specifically show as one Example, group of networks work platformses 320 (H platform) are notified that, after receiving log information, platform of making an inventory, and platform 310 of pointing out to make an inventory is permissible Download log information, now make an inventory platform 310 just can with logging in online group work platformses 320 (H platform) download log information, and And the log information obtaining is analyzed further with the final result of making an inventory of generation.
Specifically, platform 310 of making an inventory is compared with the exchanger information prestoring and parts information according to log information To generate result of making an inventory, including:
1st, obtain the corresponding parts information of each switch from log information.For example, switch includes multiple boards, electricity The parts such as source, therefore, each part all has the part type of itself and same part to have different part serial number.
2nd, judge in each switch, whether part type (is supervised as long-range with system according to the part type in parts information Control system RMS) in the part type that prestores correspond to.For example, for some switch, it may include in log information Various parts type, the part type equally in system (as long distance control system RMS), this switch being prestored is similarly many Kind, both are compared.Judge whether both part type correspond to.
If the 3 corresponding (part prestoring in part type in log information and system (as long distance control system RMS) Type corresponds to), then further according to the part serial number in parts information judge in each switch part serial number whether with The part serial number prestoring in system corresponds to.That is, the part type in judging log information and system (are supervised as long-range Control system RMS) in the part type that prestores corresponding after, serial number comparison will be carried out to part, because each part exists only Whether with system (such as one serial number, therefore can determine whether this part of record in log information by way of contrasting serial number Long distance control system RMS) in this part of prestoring whether be same part.
If 4 serial numbers correspond to, judge to make an inventory correctly.Zero that i.e. in log information, this switch of record is comprised Part is identical with the part of this switch prestoring in system (as long distance control system RMS).
If 5 serial numbers do not correspond to, carry out inventory profit further or loss on disposal judges.
Wherein, loss on disposal refers to the switch type that system (as long distance control system RMS) records, and does not believe in journal file Breath corresponds to therewith.
Inventory profit refers to the type of crawl in log information, does not have information to correspond to therewith in systems.
It is correctly type, serial number, part type etc. are all consistent with record in system (as long distance control system RMS).
Make an inventory platform 310 judge its switch/part type, switch/component name to be all consistent with system record and zero Part serial number from record different in system, platform 310 of making an inventory will proceed to judge as follows:
6th, according to log information, to each switch, corresponding number of parts counts.
7th, judge whether the number of parts of each switch is equal with the quantity prestoring in system.
If 8 is equal, judge that the part of switch is correct.
If the number of parts of 9 switches is more than the number of parts of this switch prestore in system, judge switch Part inventory profit occurs.Prestore in the actual number of parts redundant system (as long distance control system RMS) of this switch should The number of parts of switch.
If the number of parts of 10 switches is less than the quantity prestore in system, judge that the part of described switch goes out Existing loss on disposal.I.e. the actual number of parts of this switch is less than this switch prestore in system (as long distance control system RMS) Number of parts.
In this embodiment, loss on disposal is the number of parts less than record in system for the number of parts of record in log information. Inventory profit is that the number of parts of record in log information is more than the number of parts record in system.It is correctly the part of record in daily record Quantity is equal to the number of parts of record in system.
In an example of the present invention, in an example of the present invention, group of networks work platformses for example can be by letter Single Network Management Protocols SNMP obtains the corresponding software version information of respective switch.Generally, group of networks work platformses (H Platform) be connected to make an inventory request after, can by snmp protocol corresponding switch is identified acquisition device version information (software Version information).
For group of networks work platformses 320, group of networks work platformses 320 are used for being generated according to described software version information Management server of changing planes concurrently is delivered in the corresponding facility information crawl order of described respective switch.I.e. group of networks work platformses 320 log in switch management server 330 (CMD-AGENT) after generating facility information crawl order, and send to it and make an inventory Request, so that switch management server 330 obtains the log information of switch.
Specifically, group of networks work platformses 320 are getting each of corresponding multiple switch 340 switch Software version information after, facility information corresponding with this switch crawl can be generated according to this software version information and order.
It should be noted that the difference of the software version of the switch of different model and switch use, its switch The facility information crawl order using is also different, for example:Software version used by Huawei's Quidway S5400 switch be 5.30 with Software version used by Huawei's Quidway S9312 switch is 5.50, and facility information crawl order between the two is just different.Cause According to this software version information, this is it is thus necessary to determine that after the software version information of each switch, can determine that it is corresponding Facility information crawl order.
For switch management server 330, switch management server 330 is used for being obtained according to described request of making an inventory The log information of corresponding switch, for example, switch management server 330 can be by authentication, mandate and statistics AAA System access switch simultaneously downloads the log information of switch.Certainly, switch management server equally can adopt other side Formula access switch, embodiments of the invention are not restricted to this.
Specifically, the log information of multiple switch 340 includes the part letter within the information of switch and switch Breath.More specifically, the information of switch for example includes switch type and switch serial number, the part letter within switch Breath for example includes part type and part serial number SN etc..Certainly, the parts information within switch is not limited to this, such as exchanges Quantity of part within machine etc..
In an example of the present invention, switch management server 330 (CMD-AGENT) command switch output file And download initial log information (LOG).Download finishes rear switch management server 330 (CMD-AGENT) can be to recovery Log information carries out preliminary analyses, filter with make an inventory unrelated exchanger information reservation demand field, such as switch type, Part type in switch serial number (SN), switch etc., and the log information after filtering is issued group of networks work platformses (H platform).
The system of the embodiment of the present invention can remotely be made an inventory to the network equipment automatically, effectively increases online equipment disk Point efficiency, and function of automatically making an inventory is not need front capital to put into based on network equipment self-characteristic, saves budget and props up Go out, reduce cost, and good management is provided for the machine room of various scales, grasp online facility information in real time, for money Product has safely provided favourable guarantee.Quantity of not only accurately making an inventory out accurately moreover it is possible in the network equipment of making an inventory out part whether right Should.
Referring to Fig. 5, the platform 310 of making an inventory of further embodiment of the present invention includes sending module 311, receiver module 312 And module 313 of making an inventory.Wherein:
Sending module 311 is used for sending, to group of networks work platformses 320, request of making an inventory.Receiver module 312 is used for from network Group work platformses 320 obtain the log information of respective switch (multiple switch 330), and wherein, log information includes described friendship Parts information within the information changed planes and switch, wherein, the information of switch includes switch type and switch sequence Row number, the parts information within described switch includes part type and part serial number.Module of making an inventory 313 is used for according to daily record Information and the exchanger information prestoring and parts information are compared to generate result of making an inventory.
In an example of the present invention, request of making an inventory includes computer room information, switch type information, switch serial number One or more of with switch management IP information.As such, it is possible to be carried out to corresponding according to any one request of making an inventory above-mentioned The making an inventory of switch.For example, when need to make an inventory the whole switch in some machine room when, then can be by above-mentioned information of making an inventory It is defined as above-mentioned computer room information, so just the switch in above-mentioned machine room can be made an inventory.Certainly, information of making an inventory also may be used Think computer room information, the combination in any therein of switch type information, switch serial number and switch management IP information, example As, when in some machine room that needs to make an inventory and a certain type switch when, then above-mentioned information definition of making an inventory can be upper The computer room information stated and the above-mentioned type information, so just can in above-mentioned machine room have above-mentioned switch type information Switch is made an inventory.Additionally, as made an inventory to single switch, then request of making an inventory extends this as switch management IP Information.
As a specific example, module of making an inventory 310 includes part and compares submodule (not shown), and part compares Submodule is used for obtaining the corresponding parts information of each switch from log information, and according to the part type in parts information Judge in each switch, whether part type is corresponding with the part type prestoring in system, wherein,
If it does correspond, then further according to the part serial number in described parts information judges zero in each switch Whether part serial number is corresponding with the part serial number prestoring in described system.
If serial number corresponds to, judge to make an inventory correctly.
If serial number does not correspond to, carry out inventory profit further or loss on disposal judges.
Wherein, loss on disposal refers to the switch type that system (as long distance control system RMS) records, and does not believe in journal file Breath corresponds to therewith.
Inventory profit refers to the type of crawl in log information, does not have information to correspond to therewith in systems.
It is correctly type, serial number, part type etc. are all consistent with record in system (as long distance control system RMS).
If it is determined that its switch/part type, switch/component name be all consistent with system record and part serial number with Record different in system, then part compares submodule and proceeds to judge as follows:
According to described log information, to each switch, corresponding number of parts counts, and judges each described exchange Whether the number of parts of machine is equal with the quantity prestoring in described system, wherein, if equal, judges the zero of described switch Part is correct.If the number of parts of described switch is more than the quantity prestore in described system, judge the zero of described switch Inventory profit in part.If the number of parts of described switch is less than the quantity prestore in described system, judge described switch Part loss on disposal occurs.
In this embodiment, loss on disposal is the number of parts less than record in system for the number of parts of record in log information. Inventory profit is that the number of parts of record in log information is more than the number of parts record in system.It is correctly the part of record in daily record Quantity is equal to the number of parts of record in system.
The platform of making an inventory of the embodiment of the present invention can carry out remotely accurately automatization and make an inventory to the network equipment, effectively solving Server room scale constantly expands the difficulty that the built-in unit leading to manually is made an inventory, and avoids waste of human resource, reduces Manual operation link ensure that the information of making an inventory is accurate.And save budget expenditure, and provide favourable guarantee for assets security.
Referring to Fig. 6, the switch management server 330 of further embodiment of the present invention, including receiver module 331, order Generation module 332 and arrangement feedback module 333.
Receiver module 331 is used for receiving the request of making an inventory of group of networks work platformses 320 transmission, and wherein, request of making an inventory includes One or more of computer room information, switch type information, switch serial number and switch management IP information.Thus can root According to needing to select any one or more switches.
Order generation module 332 is used for obtaining the log information of corresponding switch according to request of making an inventory, and wherein, daily record is believed Cease the parts information within the information including switch and switch.Arrange feedback module 333 to be used for feeding back log information To group of networks work platformses 320.
Further, switch management server 330 can be accessed and be exchanged by authentication, mandate and statistics AAA system Machine 340 simultaneously downloads the log information of switch 340.
Switch management server according to embodiments of the present invention, by the daily record letter of crawl order crawl respective switch Breath, has the advantages that to capture accurate and automatization.
Represent in flow charts or here logic described otherwise above and/or step, for example, it is possible to be considered as to use In the order list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch the system of execute instruction) use, or with reference to these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can any can be comprised, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress using with reference to these instruction execution systems, device or equipment Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:There are one or more wirings Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program thereon or other are suitable Medium, because edlin, interpretation or if necessary with it can then be entered for example by carrying out optical scanning to paper or other media His suitable method is processed to electronically obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realizing.For example, if realized with hardware, and the same in another embodiment, can use well known in the art under Any one of row technology or their combination are realizing:There is the logic gates for data signal is realized with logic function Discrete logic, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy describing with reference to this embodiment or example Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not Multiple changes, modification, replacement and modification can be carried out to these embodiments in the case of the principle of the disengaging present invention and objective, this The scope of invention is limited by claim and its equivalent.

Claims (10)

1. a kind of network apparatus remote checking method is it is characterised in that comprise the following steps:
Platform of making an inventory sends, to group of networks work platformses, request of making an inventory;
Described group of networks work platformses are according to the described corresponding software version information of acquisition request respective switch of making an inventory;
Described group of networks work platformses generate the corresponding facility information of described respective switch according to described software version information and grab Order is taken concurrently to deliver management server of changing planes;
Described switch management server obtains the log information of corresponding switch according to described request of making an inventory, wherein, described Log information includes the parts information within the information of described switch and described switch, and the information of described switch includes Switch type and switch serial number, the parts information within described switch includes part type and part serial number;With And
Described platform of making an inventory obtains described log information, and obtains each switch corresponding part letter from described log information Breath, according to the part type in described parts information judges, whether part type prestores with system in each switch Part type corresponds to, if it does correspond, then each exchange according to the part serial number in described parts information judges further In machine, whether part serial number is corresponding with the part serial number prestoring in described system, if serial number corresponds to, judges to make an inventory Correctly, and if serial number does not correspond to, then carry out inventory profit further or loss on disposal judge,
Wherein, switch management server command switch output file download initial log information, downloads and hands over after finishing Management server of changing planes to reclaim log information carry out preliminary analyses, filter with make an inventory unrelated exchanger information and retain need Seek field.
2. network apparatus remote checking method as claimed in claim 1 is it is characterised in that described group of networks work platformses pass through Simple Network Management Protocol SNMP obtains the corresponding software version information of respective switch.
3. network apparatus remote checking method as claimed in claim 1 is it is characterised in that described switch management server leads to Cross authentication, mandate and statistics AAA system to access described switch and download the log information of described switch.
4. network apparatus remote checking method as claimed in claim 1 is it is characterised in that described request of making an inventory includes machine room letter One or more of breath, switch type information, switch serial number and switch management IP information.
5. network apparatus remote checking method as claimed in claim 1 is it is characterised in that also include:
According to described log information, to switch each described, corresponding number of parts counts;
Judge whether the number of parts of each described switch is equal with the quantity prestoring in described system;
If equal, judge that the part of described switch is correct;
If the number of parts of described switch is more than the quantity prestore in described system, judge that the part of described switch goes out Existing inventory profit;And
If the number of parts of described switch is less than the quantity prestore in described system, judge that the part of described switch goes out Existing loss on disposal.
6. a kind of network apparatus remote check system is it is characterised in that include:Make an inventory platform, make an inventory what platform was connected with described Group of networks work platformses, the switch management server being connected with described group of networks work platformses and with described switch management The multiple switch that server is connected, wherein,
Described platform of making an inventory is used for sending, to group of networks work platformses, request of making an inventory, and obtains log information, and according to daily record Information and the exchanger information prestoring and parts information are compared and are included obtaining from described log information to generate result of making an inventory Take the corresponding parts information of each switch, and in each switch according to the part type in described parts information judges Whether part type is corresponding with the part type prestoring in system, wherein, if it is determined that corresponding, then further according to described zero Part serial number in part information judge part serial number in each switch described whether with the part that prestores in described system Serial number corresponds to, if serial number corresponds to, judges to make an inventory correctly, otherwise carries out inventory profit further or loss on disposal judges;
Described group of networks work platformses are used for according to the described corresponding software version information of acquisition request respective switch of making an inventory, with And pipe of changing planes concurrently is delivered according to the generation described respective switch corresponding facility information crawl order of described software version information Reason server;
Described switch management server is used for obtaining the log information of corresponding switch according to described request of making an inventory, wherein, Described log information includes the parts information within the information of described switch and described switch, the information of described switch Including switch type and switch serial number, the parts information within described switch includes part type and part sequence Number, wherein, switch management server command switch output file simultaneously downloads initial log information, downloads and exchanges after finishing Machine management server carries out preliminary analyses to the log information reclaiming, and filters and unrelated exchanger information the reservation demand of making an inventory Field.
7. network apparatus remote check system as claimed in claim 6 is it is characterised in that described group of networks work platformses pass through Simple Network Management Protocol SNMP obtains the corresponding software version information of respective switch.
8. network apparatus remote check system as claimed in claim 6 is it is characterised in that described switch management server leads to Cross authentication, mandate and statistics AAA system to access described switch and download the log information of described switch.
9. network apparatus remote check system as claimed in claim 6 is it is characterised in that described request of making an inventory includes machine room letter One or more of breath, switch type information, switch serial number and switch management IP information.
10. network apparatus remote check system as claimed in claim 6 is it is characterised in that described platform of making an inventory is for basis To switch each described, corresponding number of parts counts described log information, and judges the part of each described switch Whether quantity is equal with the quantity prestoring in described system, wherein,
If it is determined that equal, then judge that the part of described switch is correct;
If it is determined that the number of parts of described switch is more than the quantity prestore in described system, then judge the zero of described switch Inventory profit in part;
If it is determined that the number of parts of described switch is less than the quantity prestore in described system, then judge the zero of described switch Loss on disposal in part.
CN201210065982.3A 2012-03-13 2012-03-13 Remote inventorying method and system for network equipment, and inventorying platform Active CN103310290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210065982.3A CN103310290B (en) 2012-03-13 2012-03-13 Remote inventorying method and system for network equipment, and inventorying platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210065982.3A CN103310290B (en) 2012-03-13 2012-03-13 Remote inventorying method and system for network equipment, and inventorying platform

Publications (2)

Publication Number Publication Date
CN103310290A CN103310290A (en) 2013-09-18
CN103310290B true CN103310290B (en) 2017-02-08

Family

ID=49135477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210065982.3A Active CN103310290B (en) 2012-03-13 2012-03-13 Remote inventorying method and system for network equipment, and inventorying platform

Country Status (1)

Country Link
CN (1) CN103310290B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709644A (en) * 2016-12-22 2017-05-24 上汽大众汽车有限公司 Remote inventory system and method for tool and die fixed assets
CN107527174A (en) * 2017-08-15 2017-12-29 北京悦畅科技有限公司 A kind of checking method and device of parking lot hardware device
CN107483653A (en) * 2017-08-24 2017-12-15 郑州云海信息技术有限公司 The acquisition methods and device of host information in computer room

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297287A (en) * 2012-02-28 2013-09-11 北京百度网讯科技有限公司 Network device and rack position information detection method and system and checking platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622522A (en) * 2003-11-28 2005-06-01 英业达股份有限公司 Information equipment management method and system
US7698275B2 (en) * 2004-05-21 2010-04-13 Computer Associates Think, Inc. System and method for providing remediation management
CN101719259A (en) * 2009-12-08 2010-06-02 交通银行股份有限公司 Maintenance management method, device and system for bank network devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297287A (en) * 2012-02-28 2013-09-11 北京百度网讯科技有限公司 Network device and rack position information detection method and system and checking platform

Also Published As

Publication number Publication date
CN103310290A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN104301406B (en) Mobile job-oriented terminal platform and cut-in method based on marketing system and acquisition system
US7388489B2 (en) System and method for managing data on an RFID tag associated with a product
US7937176B2 (en) Hybrid part installation process combining mass part installation techniques with discrete part number assembly activities
CN103310290B (en) Remote inventorying method and system for network equipment, and inventorying platform
CN103761597A (en) Method and device for processing product information
CN102402703B (en) Power asset supervision method and supervision system based on electronic identity card
KR100982572B1 (en) Apparatus and Method for Equipment Inspection
CN109214535A (en) A kind of equipment routing inspection system and method based on offline terminal
CN111192019A (en) Reimbursement processing method of target bill and related equipment
CN104067189A (en) Job management system and job management method
CN108665125A (en) The method and system of harmful influence supervision are realized based on flow dynamic configuration
CN109544715A (en) It registers method, apparatus, terminal device, system and storage medium
CN106530412A (en) Electronic ticket verification system
CN109727020A (en) A kind of tobacco leaf intelligence acquisition approach and its system
KR20120000704A (en) Apparatus for collecting recyclable container and system for compensating recyclable container using the same
CN207611405U (en) Assets whole-life cycle fee system based on mobile terminal
CN106452929A (en) Device detection method and system, and client
CN117035792A (en) Steel forging process management method and management system based on block chain technology
CN103312530B (en) Method and system for correspondingly counting on-line server and rack position, and counting platform
KR20090121981A (en) Method and apparatus for managing and building process of electric power facility
CN106487591A (en) A kind of server automatic get-on carriage statistic device and its system
KR20060010284A (en) System for real time controlling driving data of power plant
CN109712341A (en) 3D printer good selling method and system
CN105788056A (en) Event processing method and device
EP4156196A1 (en) Cabinet electronic requisition system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant