CN103135703B - A kind of method for being used to quickly read Field Replaceable Unit information - Google Patents

A kind of method for being used to quickly read Field Replaceable Unit information Download PDF

Info

Publication number
CN103135703B
CN103135703B CN201110391922.6A CN201110391922A CN103135703B CN 103135703 B CN103135703 B CN 103135703B CN 201110391922 A CN201110391922 A CN 201110391922A CN 103135703 B CN103135703 B CN 103135703B
Authority
CN
China
Prior art keywords
node
information
detecting unit
field replaceable
chained list
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
CN201110391922.6A
Other languages
Chinese (zh)
Other versions
CN103135703A (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.)
Inventec Pudong Technology Corp
Inventec Corp
Original Assignee
Inventec Pudong Technology Corp
Inventec Corp
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 Inventec Pudong Technology Corp, Inventec Corp filed Critical Inventec Pudong Technology Corp
Priority to CN201110391922.6A priority Critical patent/CN103135703B/en
Publication of CN103135703A publication Critical patent/CN103135703A/en
Application granted granted Critical
Publication of CN103135703B publication Critical patent/CN103135703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a kind of method of quick reading FRU information, applied in the cabinet system comprising multiple nodes, this method includes:A detecting unit is provided, it is connected to multiple nodes;A pre-defined chained list, and the times N that default detecting unit communicates with a node;Messaging parameter needed for n times are communicated adds chained list and performed, to obtain the part FRU information of the node;Calculate the number of communications M needed for the whole FRU information for obtaining the node;And the messaging parameter needed for (M N) secondary communication between detecting unit and node is added into chained list and performed, to obtain remaining FRU information of the node.Using the present invention, part FRU information is obtained by presetting detecting unit with number of communications that a node communicates, and then is calculated according to part FRU information and obtains whole FRU information.Therefore, the reading speed of node FRU information is the method increase, and ensure that the real-time of node FRU information.

Description

A kind of method for being used to quickly read Field Replaceable Unit information
Technical field
The present invention relates to the Field Replaceable Unit information of server, more particularly to the Field Replaceable Unit information is fast Fast read method.
Background technology
Currently, the accessory in computer or server system is from identical or different manufacturer.In order to save cost, they Computer is typically divided into multiple FRU (Field ReplaceUnit, Field Replaceable Unit), it is small to arrive greatly to power supply unit Fan, when these accessories break down, directly change and without maintenance.For example, FRU can be the part on accessory Number, product number or serial number.
Due to the importance of FRU information, in many designs, it is unusual the key link to read FRU information.With cloud Exemplified by calculating project, generally using with multiple nodes (Node) and detecting unit (such as intelligent power detecting unit, Smart Power DetectUnit) rack (Rack) system, realized and communicated using the detecting unit and multiple nodes, it is multiple to obtain The FRU information on each node in node, only receive the FRU information of the node can just know the node be what type, The hardware of what function.Currently, a kind of read method of use is the disposable FRU information for intactly reading a node, this Although sample is more convenient in software programming, the communication time between SPDU and node will be greatly increased.Another reading manner It is to use hook interfaces, can only communicate certain number of times with individual node every time, but, it is logical needed for complete reading FRU information Letter number of times is not predicted, it is necessary to can just be obtained in reading process by calculating.If read while obtain reading times, Then reading whole FRU will need to be divided into many times, limited FRU information also be can only obtain every time, this greatly will delay FRU to believe The read access time of breath.
In view of this, a kind of method of quick reading FRU information how is designed, the complete of each node both can be quickly obtained FRU information, ensure that the real-time of each node FRU information again, be a person skilled class urgently to be resolved hurrily in the industry Topic.
The content of the invention
For reading drawbacks described above existing during Field Replaceable Unit information in the prior art, the invention provides one Plant the method for being used for quickly reading Field Replaceable Unit information.
According to one aspect of the present invention there is provided a kind of method of quick reading Field Replaceable Unit information, wherein, This method includes:
A provides a detecting unit, and the detecting unit is connected to the multiple node;
B pre-defines a chained list, and presets the number of times that the detecting unit communicates with the node in the multiple node N, wherein, N is natural number;
Messaging parameter needed for c communicates n times between the detecting unit and the node is added in the chained list, and is held The row detecting unit communicates with the n times between the node, to obtain the part field replaceable units information of the node;
D calculates the whole field changeable lists for obtaining the node according to acquired part field replaceable units information Number of communications M needed for metamessage, wherein, M is natural number and M > N;And
E adds the messaging parameter needed for remaining (M-N) secondary communication between the detecting unit and the node described In chained list, and (M-N) secondary communication between the detecting unit and the node is performed, to obtain remaining scene of the node Replaceable units information, so as to obtain whole Field Replaceable Unit information of the node.
Preferably, step d also includes:After ith communicates between the detecting unit and the node, according to acquired Part field replaceable units information judge whether that whole Field Replaceable Unit information institutes of the node can be obtained The number of communications M needed, wherein, i < N;And when number of communications M can not be obtained, continue executing with the detecting unit with it is described (i+1) secondary communication between node, until the communication time needed for obtaining whole Field Replaceable Unit information of the node Number M.
Preferably, step d also includes:According to acquired part field replaceable units information, read the part and show The header file information of field replaceable units information, and obtained and the replaceable list of the part field according to the header file information The corresponding area related information of metamessage;And after the area related information is obtained, the maximum area of selection offset address Domain, and the subregion header file information in the region is read, and then the acquisition node is determined according to the subregion header file information Number of communications M needed for whole Field Replaceable Unit information.It is highly preferred that the subregion header file information includes the region Byte length.
Preferably, the chained list is the chained list that executive mode is first in first out.It is highly preferred that the detecting unit and the section Messaging parameter needed for being communicated between point has multiple different priority, and the high messaging parameter of priority is prior to excellent The low messaging parameter of first level is added in the chained list.
Preferably, when not including the required messaging parameter that communicated between the detecting unit and the node in the chained list When, another node in the multiple node is selected, so that the detecting unit is connected to institute through a circuit switching device Another node is stated, and performs the communication between the detecting unit and another node, to obtain showing for another node Field replaceable units information.
Preferably, the Field Replaceable Unit information is sent to the detecting unit in I2C modes.
Preferably, the node is network switching device (LAN Switch), boundling disk (Just a Bunch of Disks, JBOD) or mainboard (Mother board).
Using the method for the quick reading Field Replaceable Unit information of the present invention, by presetting the detecting unit and one The number of communications of node communication, and it is existing to obtain part to perform the communication of preset times between the detecting unit and the node Replaceable units information, and then calculate according to the part field replaceable units information the whole Field Replaceable Units of acquisition Information.Therefore, the reading speed of the FRU information of each node in multiple nodes is the method increase, and ensure that node The real-time of FRU information, and then can be rapidly based on FRU information come recognition node attribute.
Brief description of the drawings
Reader after the embodiment of the present invention has been read referring to the drawings, it will more clearly understand the present invention's Various aspects.Wherein,
Fig. 1 is shown according to the method flow diagram of the quick reading FRU information of one aspect of the present invention.
Embodiment
In order that techniques disclosed in this application content it is more detailed with it is complete, can refer to accompanying drawing and the present invention it is following Identical mark represents same or analogous component in various specific embodiments, accompanying drawing.However, one of ordinary skill in the art It should be appreciated that embodiment provided hereinafter is not used for limiting the scope that the present invention is covered.In addition, accompanying drawing is used only for Schematically it is illustrated, and is drawn not according to its full size.
With reference to the accompanying drawings, the embodiment to various aspects of the present invention is described in further detail.Such as preceding institute State, prior art is when reading FRU information, and using hook interface modes, can only communicate certain number of times with individual node every time. However, the number of communications needed for completely reading FRU information is not predicted, and then the whole FRU of reading is set to be divided into needs many times, Limited FRU information is also can only obtain every time, this will greatly delay the reading duration of FRU information, influence the FRU of subsequent node Information reads process, also FRU information can be caused not real-time when serious.For example, these nodes can be network switching device (LAN Switch), boundling disk (Just a Bunch of Disks, JBOD) or mainboard (Mother board).
Fig. 1 is shown according to the method flow diagram of the quick reading FRU information of one aspect of the present invention.
In the read method, step S 101 is first carried out, and there is provided a detecting unit, such as intelligent power detecting unit (SPDU, Smart Power Detect Unit), the detecting unit is connected to multiple nodes via a circuit switching device.So Step S103 is performed afterwards, pre-defines a chained list, and the default detecting unit communicates with a node in the multiple node Times N, wherein N be natural number.It is pointed out that not necessarily special provision is first by predefined chained list and default number of communications N Order afterwards, and the preset times N that the detecting unit communicates with the node can be adjusted flexibly according to actual needs.Connect Execution step S105, the messaging parameter needed for n times between the detecting unit and the node are communicated adds above-mentioned advance In the chained list of definition, and the n times performed between the detecting unit and the node communicate, so that the part for obtaining the node shows Field replaceable units information.In step s 107, according to acquired part field replaceable units information, calculate and obtain the section Number of communications M needed for whole Field Replaceable Unit information of point, wherein, M is natural number and M > N.Finally perform step S 109, the chained list is added by the messaging parameter needed for remaining (M-N) secondary communication between the detecting unit and the node In, and (M-N) secondary communication between the detecting unit and node is performed, to obtain remaining field changeable list of the node Metamessage, so as to obtain whole Field Replaceable Unit information of the node.It is preferred that the FRU information of the node is with I2C side Formula is sent to the detecting unit.
In one embodiment, after ith communicates between detecting unit and a node, according to acquired part FRU information judges whether to obtain the number of communications M needed for whole FRU information of the node, wherein, i < N;And When number of communications M can not be obtained, (i+1) secondary communication between the detecting unit and the node is continued executing with, until obtaining Take the number of communications M needed for whole FRU information of the node.It is preferred that according to acquired part FRU information, reading the portion Header file information in point FRU information, and obtain according to the header file information region phase corresponding with part FRU information Close information.For example, the area related information includes, the FRU information has a how many regions, the length in each region be it is how many, The offset address in each region etc..After the area related information is obtained, the maximum region of selection offset address, and reading should The subregion header file information in region, and then determined according to the subregion header file information to obtain whole FRU information institutes of the node The number of communications M needed.For example, the subregion header file information includes the byte length in the region.
In another specific embodiment, the chained list is the chained list that executive mode is first in first out, i.e. first input the chained list Data take the lead in from the chained list export.It is highly preferred that the communication ginseng needed for being communicated between detecting unit and the node Number has multiple different priority, and the high messaging parameter of the priority messaging parameter low prior to priority adds the chain In table.
In addition, when not including the messaging parameter needed for being communicated between detecting unit and the node in the chained list, selection Another node in multiple nodes, so that detecting unit is connected to another node through a circuit switching device, and execution is detectd The communication surveyed between unit and another node, to obtain the Field Replaceable Unit information of another node.Due to being somebody's turn to do The implementation process of whole FRU information of another node communicates with obtaining its whole FRU information with above-mentioned detecting unit with the node Implementation process it is same or similar, for description it is easy for the sake of, will not be repeated here.
Using the method for the quick reading Field Replaceable Unit information of the present invention, by presetting the detecting unit and one The number of communications of node communication, and it is existing to obtain part to perform the communication of preset times between the detecting unit and the node Replaceable units information, and then calculate according to the part field replaceable units information the whole Field Replaceable Units of acquisition Information.Therefore, the reading speed of the FRU information of each node in multiple nodes is the method increase, and ensure that node The real-time of FRU information, and then can be rapidly based on FRU information come recognition node attribute.
Above, the embodiment of the present invention is described with reference to the accompanying drawings.But, those skilled in the art It is understood that without departing from the spirit and scope of the present invention, can also make each to the embodiment of the present invention Plant change and replace.These changes and replacement all fall in claims of the present invention limited range.

Claims (9)

1. a kind of method of quick reading Field Replaceable Unit information, applied in the cabinet system comprising multiple nodes, its It is characterised by, this method includes:
A provides a detecting unit, and the detecting unit is connected to the multiple node;
B pre-defines a chained list, and presets the times N that the detecting unit communicates with the node in the multiple node, its In, N is natural number;
Messaging parameter needed for c communicates n times between the detecting unit and the node is added in the chained list, and performs institute The n times stated between detecting unit and the node communicate, to obtain the part field replaceable units information of the node;
D calculates the whole Field Replaceable Units letter for obtaining the node according to acquired part field replaceable units information Number of communications M needed for breath, wherein, M is natural number and M > N;And
Messaging parameter needed for remaining (M-N) secondary communication between the detecting unit and the node is added the chained list by e In, and (M-N) secondary communication between the detecting unit and the node is performed, can be more with remaining scene for obtaining the node Unit information is changed, so as to obtain whole Field Replaceable Unit information of the node.
2. according to the method described in claim 1, it is characterised in that step d also includes:
After ith communicates between the detecting unit and the node, believed according to acquired part field replaceable units Cease to judge whether to obtain the number of communications M needed for whole Field Replaceable Unit information of the node, wherein, i < N;And
When number of communications M can not be obtained, (i+1) secondary communication between the detecting unit and the node is continued executing with, Until obtaining the number of communications M needed for whole Field Replaceable Unit information of the node.
3. method according to claim 2, it is characterised in that step d also includes:
According to acquired part field replaceable units information, the header file of the part field replaceable units information is read Information, and obtain according to the header file information letter related to the region that the part field replaceable units information is corresponding Breath;And
After the area related information is obtained, the maximum region of selection offset address, and read the subregion header file in the region Information, and then determined according to the subregion header file information needed for obtaining whole Field Replaceable Unit information of the node Number of communications M.
4. method according to claim 3, it is characterised in that the subregion header file information includes the byte long in the region Degree.
5. according to the method described in claim 1, it is characterised in that the chained list is the chained list that executive mode is first in first out.
6. method according to claim 5, it is characterised in that communication institute is carried out between the detecting unit and the node The messaging parameter needed has multiple different priority, and the high messaging parameter of the priority messaging parameter low prior to priority Add in the chained list.
7. according to the method described in claim 1, it is characterised in that:When in the chained list do not include the detecting unit with it is described Communicated between node required messaging parameter when, another node in the multiple node is selected, so that the detecting unit Another node is connected to through a circuit switching device, and is performed logical between the detecting unit and another node Letter, to obtain the Field Replaceable Unit information of another node.
8. according to the method described in claim 1, it is characterised in that the Field Replaceable Unit information is transmitted in I2C modes To the detecting unit.
9. according to the method described in claim 1, it is characterised in that the node be network switching device (LAN Switch), Boundling disk (Just a Bunch of Disks, JBOD) or mainboard (Mother board).
CN201110391922.6A 2011-11-30 2011-11-30 A kind of method for being used to quickly read Field Replaceable Unit information Active CN103135703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110391922.6A CN103135703B (en) 2011-11-30 2011-11-30 A kind of method for being used to quickly read Field Replaceable Unit information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110391922.6A CN103135703B (en) 2011-11-30 2011-11-30 A kind of method for being used to quickly read Field Replaceable Unit information

Publications (2)

Publication Number Publication Date
CN103135703A CN103135703A (en) 2013-06-05
CN103135703B true CN103135703B (en) 2017-07-25

Family

ID=48495655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110391922.6A Active CN103135703B (en) 2011-11-30 2011-11-30 A kind of method for being used to quickly read Field Replaceable Unit information

Country Status (1)

Country Link
CN (1) CN103135703B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103983876B (en) * 2014-05-27 2017-12-01 浪潮电子信息产业股份有限公司 A kind of method of plate on-line checking in node
CN111177043B (en) * 2019-12-26 2021-07-06 苏州浪潮智能科技有限公司 Method, system, device and medium for accelerating reading of field replaceable unit information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064725A (en) * 2006-04-28 2007-10-31 索尼计算机娱乐公司 Game apparatus, communication apparatus, wireless game controller, and game system
CN101662370A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Dormancy/wakening method for server and server with dormancy/wakening function
CN102081567A (en) * 2009-11-26 2011-06-01 英业达股份有限公司 Server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011060056A (en) * 2009-09-11 2011-03-24 Fujitsu Ltd Shelf management apparatus and data processing system
US8326152B2 (en) * 2010-04-15 2012-12-04 Alcatel Lucent System and method for scheduling timeslots for transmission by optical nodes in an optical network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064725A (en) * 2006-04-28 2007-10-31 索尼计算机娱乐公司 Game apparatus, communication apparatus, wireless game controller, and game system
CN101662370A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Dormancy/wakening method for server and server with dormancy/wakening function
CN102081567A (en) * 2009-11-26 2011-06-01 英业达股份有限公司 Server

Also Published As

Publication number Publication date
CN103135703A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US11385697B2 (en) Power over ethernet (POE) power management
US7933666B2 (en) Adjustable data collection rate for embedded historians
US10649820B2 (en) Method of managing event generation for an industrial controller
JP2013149087A (en) Cache device, cache program, and communication device
CN204425370U (en) A kind of FC switch supervisory circuit
CN108139965A (en) Management server and the management method using the management server
CN109491946A (en) A kind of chip and method for I2C bus extension
EP3258329A1 (en) Programmable logic controller, method for controlling programmable logic controller, and control program
CN103188116A (en) Network performance detection method and system of blade server
CN110224879A (en) A kind of whole machine cabinet server and its node configuration method, device and CMC
CN103135703B (en) A kind of method for being used to quickly read Field Replaceable Unit information
CN107798039A (en) A kind of method of data synchronization and device
CN101615815A (en) Collocation method to different acquisition units parameter reorganization demonstration in the electric power monitoring system
CN109450763A (en) A kind of bus expanding method, gateway and extended bus system
CN109101402A (en) The monitoring device and server of VR chip on a kind of server master board
CN106506399B (en) Realize the method, apparatus and data exchange chip of MFP
CN105553859A (en) System and method for enabling SFP modules to be adaptive to interfaces
CN116319398A (en) Network inspection method, network equipment and network management equipment
CN104754328B (en) Distributed video quality diagnosis method
CN103500179B (en) A kind of data source change method for early warning
CN103297439B (en) The control method of AC group facility based on SNMP, Apparatus and system
US8891515B2 (en) Method for node communication
Fabiański Embedded system of critical information management
EP3322130A1 (en) Communications device configuration method and communications device
CN109882437A (en) A kind of fan running state monitoring method, system, device and readable storage medium storing program for executing

Legal Events

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