CN106020377A - Identifier acquisition method and identifier acquisition apparatus - Google Patents

Identifier acquisition method and identifier acquisition apparatus Download PDF

Info

Publication number
CN106020377A
CN106020377A CN201610339830.6A CN201610339830A CN106020377A CN 106020377 A CN106020377 A CN 106020377A CN 201610339830 A CN201610339830 A CN 201610339830A CN 106020377 A CN106020377 A CN 106020377A
Authority
CN
China
Prior art keywords
gusset plate
hardware address
mark
address
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610339830.6A
Other languages
Chinese (zh)
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.)
SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd
Original Assignee
SHUGUANG CLOUD COMPUTING 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 SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd filed Critical SHUGUANG CLOUD COMPUTING TECHNOLOGY Co Ltd
Priority to CN201610339830.6A priority Critical patent/CN106020377A/en
Publication of CN106020377A publication Critical patent/CN106020377A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/18Packaging or power distribution
    • G06F1/181Enclosures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides an identifier acquisition method and an identifier acquisition apparatus. The identifier acquisition method comprises steps: acquiring a hardware address of a node board; matching the hardware address with a constructed mapping relation table, and acquiring an identifier corresponding to the node board. According to the invention, through acquiring the hardware address of the node board, then matching the hardware address with the constructed mapping relation table, and acquiring the identifier corresponding to the node board, manually modifying a configuration file is not needed when changing a slot of the node board each time, and consequently, configuration of software is simplified.

Description

The acquisition methods of a kind of mark and device
Technical field
The present invention relates to ATCA field, it particularly relates to the acquisition methods of a kind of mark and device.
Background technology
ATCA (telecommunications computing platform that Advanced Telecom Computing Architecture is advanced) Being the telecommunications industry standard of a kind of Full-open, interoperable, this standard contributes to telecom equipment manufacturers and meets The requirement that operator is day by day harsh, cabinet based on ATCA standard generally has several slots and is inserted in groove ATCA veneer in Wei, ATCA veneer includes two power boards and at least one gusset plate, such as: 14 ATCA veneers (or pluggable cutter module) meeting ATCA standard of many supports, slot number Being 1 to No. 14, wherein 2 is the power board of master-slave redundancy, and 12 is can gusset plate (or the merit of mixed insertion Plate can be processed), gusset plate can run third-party application software, and business software generally passes through ATCA The slot slot number of cabinet identifies each function treatment plate, and the most each functional cards is it is to be appreciated that self is slotting Groove slot number information.
Meeting the cabinet of ATCA framework, every piece of gusset plate can be inserted in different slots, or, with One piece of gusset plate is used for different cabinets at different periods, and this all may make every piece of gusset plate insert continually In the slot of different slots item, in conventional method, by configuration file manual record board slot number information, Such as: the software module on Intel gusset plate is in order to obtain self the gusset plate groove in ATCA cabinet Item, typically can create a configuration file in this board disk, record himself in this configuration file Slot number, this slot number is to check that the sequence number that ATCA machine frame is printed above obtains, the most more by human eye Change gusset plate and be required for the manual corresponding information of more new configuration file, but, the configuration management of software works relatively For loaded down with trivial details, once occurring artificially forgetting, the situation such as mistake, the software function that may result in product can not be normal Running, failture evacuation wastes bigger manpower and materials.Additionally, perform the gusset plate pair of identical calculations function The different configuration file answered, causes the discordance of internal system the most in a way, to the peace of product Dress, deployment bring higher cost.
For the problem in correlation technique, effective solution is the most not yet proposed.
Summary of the invention
For the problem in correlation technique, the present invention proposes acquisition methods and the device of a kind of mark.
The technical scheme is that and be achieved in that:
According to an aspect of the invention, it is provided the acquisition methods of a kind of mark.
This acquisition methods includes:
Obtain the hardware address of gusset plate;
The mapping relations table of hardware address and structure is matched, obtains the mark that gusset plate is corresponding.
According to one embodiment of present invention, farther include:
Before obtaining the hardware address of gusset plate, build hardware address and the mapping relations table of mark.
According to one embodiment of present invention, the hardware address obtaining gusset plate includes:
Obtain the address information of gusset plate;
Filtered addresses information, obtains the hardware address of gusset plate.
According to one embodiment of present invention, by IPMI (Intelligent Platform Management Interface IPMI) platform management instrument obtain gusset plate address information.
According to one embodiment of present invention, filtration treatment is carried out by text filtering.
According to one embodiment of present invention, in the case of hardware address and mapping relations table are unmatched, will Unmatched result exports to daily record.
According to one embodiment of present invention, the slot number that ATCA interior joint plate is corresponding it is designated.
According to a further aspect in the invention, it is provided that the acquisition device of a kind of mark.
This acquisition device includes:
Acquisition module, for obtaining the hardware address of gusset plate;
Coupling acquisition module, for being matched by the mapping relations table of hardware address and structure, obtains gusset plate Corresponding mark.
According to one embodiment of present invention, farther include:
Build module, for building the mapping relations table of hardware address and mark.
According to one embodiment of present invention, acquisition module includes:
Obtain submodule, for obtaining the address information of gusset plate;
Filter acquisition module, for filtered addresses information, obtain the hardware address of gusset plate.
The Advantageous Effects of the present invention is:
1), the present invention by obtain gusset plate hardware address, subsequently by hardware address and the mapping of structure Relation table matches, and obtains the mark that gusset plate is corresponding so that change the slot of gusset plate without people every time The amendment configuration file that work is manual, thus simplify the configuration of software;
2), avoid identical software module to have different configurations, improve installation, the convenience disposed Property.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only Some embodiments of the present invention, for those of ordinary skill in the art, are not paying creative work Under premise, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the acquisition methods of a kind of mark according to embodiments of the present invention;
Fig. 2 is the block diagram of the acquisition device of a kind of mark according to embodiments of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art obtained all its His embodiment, broadly falls into the scope of protection of the invention.
According to embodiments of the invention, it is provided that the acquisition methods of a kind of mark and device.
As it can be seen, the acquisition methods of mark according to embodiments of the present invention includes:
Step S101, obtains the hardware address of gusset plate;
Step S103, matches the mapping relations table of hardware address and structure, obtains gusset plate corresponding Mark.
In this embodiment, ATCA cabinet generally has several slots and is inserted in the ATCA in groove position Veneer, ATCA veneer includes two power boards and at least one gusset plate, first obtains the joint of slot The hardware address of some plate, traversal searches the mapping relations table built subsequently, will hardware address and structure Mapping relations table matches, thus obtains mark corresponding to gusset plate (e.g., ATCA cabinet slot number).
By the such scheme of the present invention, it is possible to make the slot changing gusset plate without manually every time Amendment configuration file, thus simplify the configuration of software.
According to one embodiment of present invention, farther include:
Before obtaining the hardware address of gusset plate, build hardware address and the mapping relations table of mark.
In this embodiment, construct a hardware address and identify reflecting of (such as: ATCA cabinet slot number) Penetrating relation table, this table can use storage of array, and wherein the index of array is ATCA cabinet slot number, The value of array is the hardware address of respective grooves item.
According to one embodiment of present invention, the hardware address obtaining gusset plate includes: obtain the ground of gusset plate Location information;Filtered addresses information, obtains the hardware address of gusset plate.
In this embodiment, IPMI platform management instrument is used to obtain gusset plate (such as: Intel functional cards) In the address information of ATCA cabinet, text filtering order is used to filter according to the above address information Process, be output as the hardware address of gusset plate.
According to one embodiment of present invention, the address letter of gusset plate is obtained by IPMI platform management instrument Breath.
According to one embodiment of present invention, filtration treatment is carried out by text filtering.
According to one embodiment of present invention, in the case of hardware address and mapping relations table are unmatched, will Unmatched result exports to daily record.
In this embodiment, hardware address and the unmatched situation of mapping relations table, i.e. ACAT machine occur Case breaks down, or the situations such as software is incompatible occurs, by above-mentioned unmatched result output to daily record, from And the effect of prompting can be played, thus ensure the properly functioning of ACAT cabinet, simultaneously by calculating Machine software realizes it can be avoided that the operation abnormal conditions that caused by artificial carelessness, mistake etc..
According to one embodiment of present invention, the slot number that ATCA interior joint plate is corresponding it is designated.
According to embodiments of the invention, additionally provide the acquisition device of a kind of mark.
As in figure 2 it is shown, the acquisition device of mark according to embodiments of the present invention includes:
Acquisition module 21, for obtaining the hardware address of gusset plate;
Coupling acquisition module 22, for being matched by the mapping relations table of hardware address and structure, obtains joint The mark that some plate is corresponding.
According to one embodiment of present invention, farther include:
Build module (not shown), for building the mapping relations table of hardware address and mark.
According to one embodiment of present invention, acquisition module includes:
Obtain submodule (not shown), for obtaining the address information of gusset plate;
Filter acquisition module (not shown), for filtered addresses information, obtain the hardware address of gusset plate.
In sum, by means of the technique scheme of the present invention, by obtaining the hardware address of gusset plate, Subsequently the mapping relations table of hardware address and structure is matched, obtains the mark that gusset plate is corresponding so that The slot of replacing gusset plate is without amendment configuration file manually every time, thus simplifies software Configuration.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within bright spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in this Within bright protection domain.

Claims (10)

1. the acquisition methods of a mark, it is characterised in that including:
Obtain the hardware address of gusset plate;
The mapping relations table of described hardware address and structure is matched, obtains described gusset plate corresponding Mark.
Acquisition methods the most according to claim 1, it is characterised in that farther include:
Before obtaining the hardware address of gusset plate, build the described of described hardware address and described mark Mapping relations table.
Acquisition methods the most according to claim 1, it is characterised in that obtain the hardware of gusset plate Address includes:
Obtain the address information of described gusset plate;
Filter described address information, obtain the hardware address of described gusset plate.
Acquisition methods the most according to claim 3, it is characterised in that by IPMI platform pipe Science and engineering tool obtains the address information of described gusset plate.
Acquisition methods the most according to claim 3, it is characterised in that carried out by text filtering Filtration treatment.
Acquisition methods the most according to claim 1, it is characterised in that at described hardware address and In the case of described mapping relations table is unmatched, described unmatched result is exported to daily record.
Acquisition methods the most according to claim 1, it is characterised in that described in be designated ATCA Described in slot number corresponding to gusset plate.
8. the acquisition device of a mark, it is characterised in that including:
Acquisition module, for obtaining the hardware address of gusset plate;
Coupling acquisition module, for being matched by the mapping relations table of described hardware address and structure, obtains Take the mark that described gusset plate is corresponding.
Acquisition device the most according to claim 8, it is characterised in that farther include:
Build module, for building the mapping relations table of described hardware address and described mark.
Acquisition device the most according to claim 8, it is characterised in that acquisition module includes:
Obtain submodule, for obtaining the address information of described gusset plate;
Filter acquisition module, be used for filtering described address information, obtain the hardware address of described gusset plate.
CN201610339830.6A 2016-05-20 2016-05-20 Identifier acquisition method and identifier acquisition apparatus Pending CN106020377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610339830.6A CN106020377A (en) 2016-05-20 2016-05-20 Identifier acquisition method and identifier acquisition apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610339830.6A CN106020377A (en) 2016-05-20 2016-05-20 Identifier acquisition method and identifier acquisition apparatus

Publications (1)

Publication Number Publication Date
CN106020377A true CN106020377A (en) 2016-10-12

Family

ID=57095331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610339830.6A Pending CN106020377A (en) 2016-05-20 2016-05-20 Identifier acquisition method and identifier acquisition apparatus

Country Status (1)

Country Link
CN (1) CN106020377A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960261A (en) * 2006-08-25 2007-05-09 华为技术有限公司 Method and system of obtaining physical slot number of single board, and type of slot
CN1968168A (en) * 2006-05-29 2007-05-23 华为技术有限公司 Blade server positioning method and system
CN101132301A (en) * 2006-08-25 2008-02-27 上海未来宽带技术及应用工程研究中心有限公司 Self-adapting exchange method for dynamic management data of distributed node
CN103414587A (en) * 2013-08-09 2013-11-27 迈普通信技术股份有限公司 Method and device for allocating slot positions of rack-mounted device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968168A (en) * 2006-05-29 2007-05-23 华为技术有限公司 Blade server positioning method and system
CN1960261A (en) * 2006-08-25 2007-05-09 华为技术有限公司 Method and system of obtaining physical slot number of single board, and type of slot
CN101132301A (en) * 2006-08-25 2008-02-27 上海未来宽带技术及应用工程研究中心有限公司 Self-adapting exchange method for dynamic management data of distributed node
CN103414587A (en) * 2013-08-09 2013-11-27 迈普通信技术股份有限公司 Method and device for allocating slot positions of rack-mounted device

Similar Documents

Publication Publication Date Title
CN109165856A (en) Examine Dynamic Configuration, device and the storage medium of chain
CN104331366A (en) Test case design efficiency promotion method and system
US20060160395A1 (en) Methods, systems and computer program products for connecting and monitoring network equipment in a telecommunications system
CN105117464B (en) Application pushing method and device and service equipment
CN109242460B (en) Payment system based on multiple payment channels and account checking method thereof
CN104346574A (en) Automatic host computer security configuration vulnerability restoration method and system based on configuration specification
CN106302747A (en) A kind of business cloud platform of Internet WEB front-end exploitation
CN105868311A (en) Data analyzing method and device
CN114357041B (en) Industrial data asset publishing method and device
CN110597687B (en) Log processing method and device
CN104243211A (en) Data stream mirroring method and device
WO2015139565A1 (en) Heterogeneous logging system management configuration
CN106020377A (en) Identifier acquisition method and identifier acquisition apparatus
CN108255950B (en) Data storage method and terminal equipment
CN109583710A (en) A kind of standardized management method and system for nuclear power plant's change
CN1459716A (en) Automatic checking device of printed-wiring board designing and its method
CN112182065A (en) Asset management system and method based on automatic acquisition and multi-source import
CN109412856B (en) Network equipment brand non-difference management method and system
CN104216986B (en) The device and method of pre-operation raising efficiency data query is carried out with the data update cycle
CN102970159B (en) Data auditing and repair process method and apparatus
CN109117202A (en) A kind of method and system that audit type configuration item is set
CN109254796A (en) A kind of upper disk configuration method and host of USB device
CN104518929A (en) Automatic comprehensive test system for IPv6 protocol
Cisco I/O Modules
CN107016297A (en) The method for packing and equipment of a kind of data object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Applicant after: Shuguang Cloud Computing Group Co Ltd

Address before: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, building 36, floor 5

Applicant before: Shuguang Cloud Computing Technology Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012

RJ01 Rejection of invention patent application after publication