CN101149815B - Hardware module information tag and method for updating hardware module information tag - Google Patents

Hardware module information tag and method for updating hardware module information tag Download PDF

Info

Publication number
CN101149815B
CN101149815B CN2007101637356A CN200710163735A CN101149815B CN 101149815 B CN101149815 B CN 101149815B CN 2007101637356 A CN2007101637356 A CN 2007101637356A CN 200710163735 A CN200710163735 A CN 200710163735A CN 101149815 B CN101149815 B CN 101149815B
Authority
CN
China
Prior art keywords
information
hardware
storer
hardware module
lastest imformation
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.)
Expired - Fee Related
Application number
CN2007101637356A
Other languages
Chinese (zh)
Other versions
CN101149815A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101637356A priority Critical patent/CN101149815B/en
Publication of CN101149815A publication Critical patent/CN101149815A/en
Application granted granted Critical
Publication of CN101149815B publication Critical patent/CN101149815B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention discloses a information labels of hardware module, including: memory, used for record the hardware information of hardware module; and communication circuit, connected between the memory and processor of hardware module, used to make the processor of hardware module do read-write operation to its memory. The present invention also opens a method to update the information labels of hardware module. Through this invention can more comprehensive permanent reflects the current state of hardware module, and the information label can be safely accurately rapid updated with the information changes of hardware module, and always maintain the consistence to hardware information state of hardware module.

Description

The method of the information labels of the information labels of hardware module and renewal hardware module
Technical field
The present invention relates to the information labels of hardware module of the current hardware state of the more comprehensive nonvolatil reflection hardware module of a kind of energy, and the method for coming the lastest imformation label along with the change of hardware information of hardware module.
Background technology
Because improving constantly and changing of people's demand will inevitably be eliminated with the nonsynchronous product of people's demand, enterprise will keep the competitive edge of oneself, must design and produce the various products that are ahead of people's demand with people's demand synchronously even.
When a feast for the eyes product occurs, also will inevitably constantly redesign upgrading and upgrading as the various hardware modules of the ingredient of product.Hardware module progressively develops to high-performance, high density, small size, Highgrade integration direction multi-functional, seriation.
In the face of more and more different hardware modules, no matter be at aspects such as debugging, production, maintenance or application, all inevitably to use the current hardware status information of hardware module, only, can work targetedly at the correct hardware information that gets access to.This like the doctor when seeing a doctor for patient, must understand and check patient's basic condition and various check result after, can treat targetedly.
The bar code of hardware module is a kind of of hardware module label, bar code is represented the sign of hardware module, can relevant with hardware information (preservation information record) by bar code, but, the current state of hardware module can't be described at all only from the information of the representative of bar code of hardware module own.
In the labelled form in hardware module surface, can reach partial descriptions to a certain extent to hardware module information, but along with the change of hardware information of hardware module, realize the correct renewal of label, increase burden and risk that hardware module is safeguarded virtually again without foundation.Promptly enable the correct tag update that carries out, the default setting of hardware module has but been lost in constantly upgrading so.
On hardware module by hardware mode, resistance welded for example, toggle switch etc., reach the statement of hardware module information, because its descriptor amount is little, the disadvantage that can't upgrade is flexibly only used this mode in the local message of hardware module is described again.
So how can carry out comprehensive hardware status information to hardware module and describe, and can reach the renewal to hardware information along with the variation of hardware information of hardware module, be our the problem to be solved in the present invention.
Therefore, need a kind of solution of information labels of hardware module, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
The objective of the invention is information labels by hardware module, the current hardware state of more comprehensive nonvolatil reflection hardware module, and along with hardware information of hardware module changes, information labels can be correct safely obtain fast updating, remain and the hardware information of hardware module state consistency.
According to an aspect of the present invention, provide a kind of information labels of hardware module, having comprised: storer is used to write down hardware information of hardware module; And telecommunication circuit, be connected between storer and the processor of hardware module, be used to make processor of hardware module storer to be carried out read-write operation by it, wherein, processor obtains the lastest imformation in zone to be updated in the storer, inquires about hardware information of hardware module, and lastest imformation and the hardware information that inquires are compared, wherein, hardware information is described by hardware mode or in logic realization;
Under the lastest imformation situation consistent, read the state of storer, and at storer when being empty, directly the information in the updated stored device with hardware information; And
Under the situation of storer non-NULL, read the hardware information in the zone to be updated in the storer, and itself and lastest imformation compared, and under hardware information in zone to be updated and the inconsistent situation of lastest imformation, upgrade the hardware information in the zone to be updated, and be back to the operation of obtaining the lastest imformation in zone to be updated in the storer under the situation consistent of the hardware information in zone to be updated with lastest imformation.
Wherein, storer is connected with external unit by the external interface that is arranged on the hardware module, and external unit only carries out read operation to storer, and storer is for having electricity preservation down, charged erasable storer.
Hardware information is described by hardware mode or in logic realization.
The frequency of upgrading according to hardware information is stored in hardware information respectively in the zones different in the storer.
Hardware information comprises production time, MAC Address, maintenance record and the hardware information new record more of version information, the hardware module of hardware module, and version information further comprises cpu type, BOOT ID, material list information, EPLD ID, PCB ID.
According to another aspect of the present invention, a kind of method of upgrading the information labels of hardware module is provided, wherein, information labels comprises: the storer that is used to write down hardware information of hardware module, and be used to make processor of hardware module storer to be carried out the telecommunication circuit of read-write operation by it, this method may further comprise the steps: processor obtains the lastest imformation in zone to be updated in the storer, the inquiry hardware information of hardware module, and lastest imformation and the hardware information that inquires compared, wherein, hardware information is described by hardware mode or in logic realization; Under the lastest imformation situation consistent, read the state of storer, and at storer when being empty, directly the information in the updated stored device with hardware information; And under the situation of storer non-NULL, read the hardware information in the zone to be updated in the storer, and itself and lastest imformation compared, and under hardware information in zone to be updated and the inconsistent situation of lastest imformation, upgrade the hardware information in the zone to be updated, and be back to the operation of obtaining the lastest imformation in zone to be updated in the storer under the situation consistent of the hardware information in zone to be updated with lastest imformation.
By the present invention, current hardware state that can more comprehensive nonvolatil reflection hardware module, and along with hardware information of hardware module changes, information labels can be correct safely obtains fast updating, remains and the hardware information of hardware module state consistency.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structured flowchart that illustrates according to the information labels of hardware module of the present invention;
Fig. 2 is the process flow diagram that illustrates according to the method for the information labels of renewal hardware module of the present invention;
Fig. 3 illustrates the process flow diagram of method that upgrades the information labels of hardware module according to first embodiment of the invention; And
Fig. 4 is the process flow diagram that illustrates according to the information in the A district of the renewal hardware module of second embodiment of the invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 is the structured flowchart that illustrates according to the information labels of hardware module of the present invention.With reference to Fig. 1, comprise according to the information labels of hardware module of the present invention: storer 102 is used to write down hardware information of hardware module; And telecommunication circuit 104, be connected between storer and the processor of hardware module, be used to make processor of hardware module storer to be carried out read-write operation by it.
Wherein, storer 102 is connected with external unit by the external interface that is arranged on the hardware module, and external unit only carries out read operation to storer, and storer 102 is preserved for having electricity down, charged wiping and the storer of low capacity.
Hardware information is described by hardware mode or in logic realization.
The frequency of upgrading according to hardware information is stored in hardware information respectively in the zones of different in the storer 102.
Hardware information comprises production time, MAC Address, maintenance record and the hardware information new record more of version information, the hardware module of hardware module, and version information further comprises cpu type, BOOT ID, material list information, EPLD ID, PCB ID.
Fig. 2 is the process flow diagram that illustrates according to the method for the information labels of renewal hardware module of the present invention.With reference to Fig. 2, method according to the information labels of renewal hardware module of the present invention may further comprise the steps: step S202, processor obtains the lastest imformation in zone to be updated in the storer, inquires about hardware information of hardware module, and lastest imformation and the hardware information that inquires are compared; Step S204 under the lastest imformation situation consistent with hardware information, reads the state of storer, and at storer when being empty, directly the information in the updated stored device; And step S206, under the situation of storer non-NULL, read the hardware information in the zone to be updated in the storer, and itself and lastest imformation compared, and under hardware information in zone to be updated and the inconsistent situation of lastest imformation, upgrade the hardware information in the zone to be updated, and return under the situation consistent of the hardware information in zone to be updated with lastest imformation.
Fig. 3 illustrates the method flow diagram that upgrades the information labels of hardware module according to first embodiment of the invention.In this embodiment, the structure of the information labels of hardware module still as shown in Figure 1, in the design of hardware module, increase and have that electricity is down preserved, chargedly wiped, the storer 102 of low capacity (can select according to the actual capacity needs) characteristics, and make between processor of hardware module 106 and the storer 102 communicating circuit 104 is arranged.Can make 106 pairs of storeies of processor 102 carry out read-write operation.
The important hardware information of hardware module is described by hardware mode (for example resistance mode, level are drawn high or dragged down) or in logic realization (for example EPLD ID etc.).These hardware informations can be used as the important basis of upgrading label information.
When increasing storer 104, can consider the interface 108 of reserved access storer on hardware module, can directly get involved by external unit, directly storer 102 is conducted interviews.
Wherein for the preservation of hardware information of hardware module state, can be according to the size of the capacity of information, and select suitable storer 102.For example, can select the EEPROM etc. of 512BYTE.
Wherein, only provide and read authority, cannot carry out the renewal operation of hardware information for the storer external interface of on hardware module, reserving 108.Prevent because hardware module itself can't obtain hardware information the time, directly reach visit, thereby obtain the purpose of hardware module information storer 102 by external unit.
The content of hardware module hardware information can comprise hardware version information, the hardware module production time, and MAC Address, maintenance record, hardware information is new record or the like more.Specifically can add and deletion according to the actual conditions of the hardware module information of carrying out.
Wherein hardware version information can adopt several information that can be different from other hardware module to be used as the version information of hardware module.Information such as cpu type, BOOT ID, material list information, EPLD ID, PCB ID for example.Hardware version information is information important in the hardware module information.
For hardware information of hardware module, can be according to the frequency of hardware information renewal, important degree, relation closely wait the information of carrying out subregion, for example A district, B district, C district etc., the purpose of subregion is access independence and the simple message structureization that reaches between the hardware information of hardware module, easier realization modularization when Code Design simultaneously.
The upgrading of the important information of hardware module will inevitably be accompanied by the renewal of label information.The how upgrading of the correct safety of guarantee information? in the present embodiment, realize the renewal of label information by following step:
Step S302 utilizes the hardware mode of hardware module itself or information that logic realization is described and the hardware information that will upgrade to compare;
Step S304 if information is consistent, then allows to write, otherwise will return, and reports concrete information comparative result simultaneously.
Fig. 4 is the process flow diagram that illustrates according to the information in the A district of the renewal hardware module of second embodiment of the invention.In the present embodiment, be example with environment monitoring board EMC.In the hardware design of EMC veneer, increased the EEPROM of a slice capacity 512BYTE size.
The EMC veneer is drawn high, is dragged down by the level of EPLD pin on the veneer or hardware mode such as logic realization reaches description to EMC single plate hardware information.The hardware information of describing comprises functional identity, material list information, EPLD ID, PCB ID or the like.
For the bar code information of EMC veneer, PCB information, information such as PCB date of manufacture and cpu type then directly can be obtained by silk-screen on the EMC veneer or chip identification.
Communication modes between EMC veneer and the EEPROM is to adopt the mode of I2C to carry out communication, for the external interface expansion of EEPROM, can pass through external intervening equipment simultaneously, reaches the purpose to the EEPROM visit.The external interface of EEPROM is write and is enabled to forbid.
EMC hardware version information has chosen BOOT ID, EPLD ID, PCB ID, material list information, functional identity with, board type (setting numbering), the hardware version sign information content as hardware version.
The information that writes down among the EEPROM will comprise EMC hardware version information, the bar code information of EMC veneer, timing parameter etc.According to the information of EEPROM record, according to the frequency of information updating, important degree, the principle such as tight of relation is carried out subregion to EEPROM, is divided into four districts altogether, is respectively the A district, B district, C district, D district.What wherein the A district was corresponding is the current hardware version information (can upgrade) of EMC veneer, the B district is corresponding is the hardware version information (forbid upgrade) of EMC veneer when dispatching from the factory, what the C district was corresponding is the relevant parameter of clock, the bar code information of the then corresponding EMC veneer in D district.
For the EMC veneer, the EEPROM update times is maximum, and the information of preserving the most important thing is the A district.To the information updating process (see figure 4) in A district be described in detail below.
Wherein, when upgrading the A district between backstage and the processor of hardware module, the data structure of carrying out information interaction is as follows:
typedef?struct?tagTEEPROMPara
{
BYTE byEepromBoardType/* board type: as trx, rdm*/
BYTE byParaLen; / * parameter length */
BYTE byBoardID; / * board type: as trx, rdm*/
BYTE byPcbVer; / * PCB version */
BYTE byBomID; /*bomID*/
BYTE byFuncID; / * functional identity */
BYTE byEpldVer; / * EPLD the * of version number/
BYTE byBootVer; / * sboot the * of version number/
DWORD dwPCBVerInfo; / * PCB version information */
Char chHardVerInfo[16]; / * hardware version sign */
BYTE byReserved[10];
BYTE byCrcCode; / * check code */
BYTE byUpdateTimes; / * hardware version lastest imformation: read interface work */
}TEEPROMPara;
Wherein variable byCrcCode is the expression check code, correctness that can check data.ByUpdateTimes then represents the number of times that the A district upgrades, and concrete the renewal may further comprise the steps:
Step S402, the EMC processor will obtain the A district and want updated information;
Step S404, the hardware information of inquiry EMC veneer (by single plate hardware and logic realization decision) carries out lastest imformation and Query Information relatively;
Step S406, both information unanimities, execution in step S408 then, otherwise execution in step S420;
Step S408~S410 directly carries out the EEPROM status poll, if information is empty (representing lastest imformation first), execution in step S412, otherwise execution in step S416 among the EEPROM;
Step S412 directly carries out EEPROMA district and the information updating of B district;
Step S414~S418 reads EERPOM A district information, compares with lastest imformation then, if A district information and lastest imformation are inconsistent, then directly carries out the information updating of A district, if A district information is consistent with lastest imformation, then returns;
Step S420, the output comparative result does not upgrade information.
By above-mentioned method, can effectively avoid the erasing times of EEPROM, prolong EEPROM serviceable life.
In the present invention, for example can also using, EEPROM preserves needed out of Memory.According to the size of preserving information capacity, select suitable storer to satisfy designing requirement.
By the present invention, current hardware state that can more comprehensive nonvolatil reflection hardware module, and along with hardware information of hardware module changes, information labels can be correct safely obtains fast updating, remains and the hardware information of hardware module state consistency.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the information labels of a hardware module is characterized in that, comprising:
Storer is used to write down described hardware information of hardware module; And
Telecommunication circuit is connected between described storer and the described processor of hardware module, is used to make described processor of hardware module by it described storer to be carried out read-write operation,
Wherein, described processor obtains the lastest imformation in zone to be updated in the described storer, inquires about described hardware information of hardware module, and described lastest imformation and the described hardware information that inquires are compared, wherein, described hardware information is described by hardware mode or in logic realization;
Under the described lastest imformation situation consistent, read the state of described storer, and when being empty, directly upgrade the information in the described storer at described storer with described hardware information; And
Under the situation of described storer non-NULL, read the described hardware information in the zone to be updated described in the described storer, and itself and described lastest imformation compared, and under described hardware information in described zone to be updated and the inconsistent situation of described lastest imformation, upgrade the described hardware information in the described zone to be updated, and be back to the operation of obtaining the lastest imformation in zone to be updated in the storer under the situation consistent of the described hardware information in described zone to be updated with described lastest imformation.
2. information labels according to claim 1 is characterized in that, described storer is connected with external unit by the external interface that is arranged on the described hardware module, and described external unit only carries out read operation to described storer.
3. information labels according to claim 2 is characterized in that, described storer is for having electricity preservation down, charged erasable storer.
4. information labels according to claim 1 is characterized in that, the frequency of upgrading according to described hardware information is stored in described hardware information respectively in the zones different in the described storer.
5. information labels according to claim 4 is characterized in that, the production time, MAC Address, maintenance record, hardware information that described hardware information comprises the version information of described hardware module, described hardware module be new record more.
6. information labels according to claim 5 is characterized in that, described version information comprises cpu type, BOOT ID, material list information, EPLD ID, PCB ID.
7. method of upgrading the information labels of hardware module, it is characterized in that, described information labels comprises: be used to write down the storer of described hardware information of hardware module and be used to make described processor of hardware module by it described storer to be carried out the telecommunication circuit of read-write operation, said method comprising the steps of:
Described processor obtains the lastest imformation in zone to be updated in the described storer, inquire about described hardware information of hardware module, and described lastest imformation and the described hardware information that inquires compared, wherein, described hardware information is described by hardware mode or in logic realization;
Under the described lastest imformation situation consistent, read the state of described storer, and when being empty, directly upgrade the information in the described storer at described storer with described hardware information; And
Under the situation of described storer non-NULL, read the described hardware information in the zone to be updated described in the described storer, and itself and described lastest imformation compared, and under described hardware information in described zone to be updated and the inconsistent situation of described lastest imformation, upgrade the described hardware information in the described zone to be updated, and be back to the operation of obtaining the lastest imformation in zone to be updated in the storer under the situation consistent of the described hardware information in described zone to be updated with described lastest imformation.
8. method according to claim 7 is characterized in that, production time, MAC Address, maintenance record and the hardware information that described hardware information comprises the version information of described hardware module, described hardware module be new record more.
CN2007101637356A 2007-10-23 2007-10-23 Hardware module information tag and method for updating hardware module information tag Expired - Fee Related CN101149815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101637356A CN101149815B (en) 2007-10-23 2007-10-23 Hardware module information tag and method for updating hardware module information tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101637356A CN101149815B (en) 2007-10-23 2007-10-23 Hardware module information tag and method for updating hardware module information tag

Publications (2)

Publication Number Publication Date
CN101149815A CN101149815A (en) 2008-03-26
CN101149815B true CN101149815B (en) 2010-12-01

Family

ID=39250329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101637356A Expired - Fee Related CN101149815B (en) 2007-10-23 2007-10-23 Hardware module information tag and method for updating hardware module information tag

Country Status (1)

Country Link
CN (1) CN101149815B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739257A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and device for identifying and outputting information of mobile terminal component
CN106293826A (en) * 2016-08-05 2017-01-04 浪潮电子信息产业股份有限公司 A kind of methods, devices and systems that burning/recording chip is marked

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1173669A (en) * 1997-07-31 1998-02-18 周恽 Method and appts. of transparent protection for computer rigid disk storage contents
CN1338073A (en) * 1998-12-22 2002-02-27 格姆普拉斯公司 Storage system comprising means managing a storage unit with anti-wear and anti-wear management of a storage unit
CN1536481A (en) * 2003-04-09 2004-10-13 英业达股份有限公司 Device and method for updating flash memory contents
CN1821905A (en) * 2005-02-16 2006-08-23 夏普株式会社 Replacement part and image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1173669A (en) * 1997-07-31 1998-02-18 周恽 Method and appts. of transparent protection for computer rigid disk storage contents
CN1338073A (en) * 1998-12-22 2002-02-27 格姆普拉斯公司 Storage system comprising means managing a storage unit with anti-wear and anti-wear management of a storage unit
CN1536481A (en) * 2003-04-09 2004-10-13 英业达股份有限公司 Device and method for updating flash memory contents
CN1821905A (en) * 2005-02-16 2006-08-23 夏普株式会社 Replacement part and image forming apparatus

Also Published As

Publication number Publication date
CN101149815A (en) 2008-03-26

Similar Documents

Publication Publication Date Title
US7991942B2 (en) Memory block compaction method, circuit, and system in storage devices based on flash memories
CN111124277B (en) Deep learning data set caching method, system, terminal and storage medium
CN1323362C (en) Network equipment and method for distributing its peripheral device interconnection resources
CN100456264C (en) Magnetic disk space management and managing system
JPH03240127A (en) Program control system
CN109614404A (en) A kind of data buffering system and method
CN109219090B (en) Business characteristic data reporting method and device and network slice arranging method and device
EP2063456A2 (en) Semiconductor manufacturing management system
CN102497286A (en) Method and device for matching management information base (MIB)
CN106844583A (en) A kind of optimization method that FAT file system is set up on NOR Flash
CN108270626A (en) A kind of method, apparatus, equipment and the readable storage medium storing program for executing of upgrade server firmware
CN101149815B (en) Hardware module information tag and method for updating hardware module information tag
CN106856441A (en) VIM systems of selection and device in NFVO
CN101599021A (en) A kind of method of in system starting process, upgrading blade motherboard configuration information
CN108958665A (en) A kind of storage method and device of history information
CN104375832A (en) Underlying hardware shielding device and method for computer
CN103107903B (en) A kind of resource data shares method and resource data shared device
CN114281890B (en) BIOS out-of-band management system and method
CN206282313U (en) A kind of server apparatus management system based on NFC technique
CN106970826A (en) A kind of page fault solution based on big page
CN110442387A (en) A kind of the parameter adaptive method, apparatus and automobile of onboard system
CN100461169C (en) Hardware design experience rule inquiry method and system
US10261715B2 (en) Storage space management method and apparatus
CN111143083B (en) Data transmission method and device, storage medium and electronic device
WO2022102007A1 (en) Management device, management method, and program

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101201

Termination date: 20161023