Summary of the invention
The embodiment of the present invention provides the acquisition methods and device of a kind of data center's capacity, is capable of obtaining for more convenient and quicker
The capacity data of data center is taken, so that administrative staff are managed the data center according to the capacity data.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, a kind of acquisition methods of data center's capacity are provided, including:
Obtain the cabinet distributed intelligence in data center at least one computer room and the intelligent recognition at least one cabinet
The corresponding informance of code;Wherein, intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet correspond;Intelligent recognition
The corresponding informance of code is the space use information in the corresponding cabinet of intelligent recognition code;
According to the available cabinet arrangement space size in the cabinet distributed intelligence computer floor in computer room;
The appearance of data center is generated according to the corresponding informance of the available cabinet arrangement space size of computer room and intelligent recognition code
Measure report.
The acquisition methods of data center's capacity provided in an embodiment of the present invention, first in acquisition data center in each computer room
Cabinet distributed intelligence and each computer room in the corresponding informance of identification code that is arranged on cabinet, then according to the cabinet in computer room
The size of the available cabinet arrangement space in computer room can be calculated in distributed intelligence, finally according to the available cabinet cloth of computer room
The corresponding informance for setting space size and intelligent recognition code can generate the capacity report of the data center, and data center is facilitated to manage
Reason personnel plan computer room but also room management personnel can compare accurately to needing the computer room that safeguard to safeguard
For the prior art, it is quick that technical solution provided in an embodiment of the present invention obtains data center's capacity enhanced convenience.
Optionally, the cabinet distributed intelligence in data center at least one computer room and the intelligence at least one cabinet are obtained
Can the corresponding informance of identification code include:
Cabinet distributed image and intelligent recognition code image in computer room are obtained from the monitoring device being arranged in computer room;
According to cabinet distributed image in computer room and intelligent recognition code image according to the machine in pre-set image algorithm acquisition computer room
The corresponding informance of intelligent recognition code in cabinet distributed intelligence and cabinet.
Optionally, the space use information in the corresponding cabinet of intelligent recognition code includes:
Each U of the erected state of each server and the server kind that the position U of server is set up is provided in cabinet
Class;
Erected state includes vacant state and full position state.
Optionally, this method further includes:
Obtain the corresponding informance of the two dimensional code of at least one cabinet at least one computer room in data center;Two dimensional code setting
On cabinet, and two dimensional code and cabinet correspond;
The corresponding informance of two dimensional code includes at least:Data center's title, cabinet ownership side title, cabinet number, cabinet institute
Belong to computer room number.
Optionally, this method further includes:
By the corresponding informance of the intelligent recognition code on cabinet according to the corresponding informance classification storage of the two dimensional code of cabinet.
Second aspect provides a kind of acquisition device of data center's capacity, including:Obtain module, computing module and processing
Module;
Module is obtained, for obtaining cabinet distributed intelligence and at least one cabinet in data center at least one computer room
On intelligent recognition code corresponding informance;
Intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet correspond;The corresponding letter of intelligent recognition code
Breath is the space use information in the corresponding cabinet of intelligent recognition code;
Computing module, for according to the available machine in the cabinet distributed intelligence computer floor obtained in the computer room that module obtains
Cabinet arrangement space size;
Processing module, the available cabinet arrangement space size and acquisition module of the computer room for being calculated according to computing module obtain
The corresponding informance of the intelligent recognition code taken generates the capacity report of data center.
Optionally, module is obtained to be specifically used for:
Cabinet distributed image and intelligent recognition code image in computer room are obtained from the monitoring device being arranged in computer room;
According to cabinet distributed image in computer room and intelligent recognition code image according to the machine in pre-set image algorithm acquisition computer room
The corresponding informance of intelligent recognition code in cabinet distributed intelligence and cabinet.
Optionally, the space use information in the corresponding cabinet of intelligent recognition code includes:
Each U of the erected state of each server and the server kind that the position U of server is set up is provided in cabinet
Class;
Erected state includes vacant state and full position state.
Optionally, module is obtained to be also used to:
Obtain the corresponding informance of the two dimensional code of at least one cabinet at least one computer room in data center;
Two dimensional code is arranged on cabinet, and two dimensional code and cabinet correspond;
The corresponding informance of two dimensional code includes:Data center's title, cabinet ownership side title, cabinet number, the affiliated machine of cabinet
Room number.
Optionally, processing module is also used to:
The corresponding informance of the intelligent recognition code of module acquisition be will acquire according to the two dimensional code for obtaining the cabinet that module obtains
Corresponding informance classification storage.
The acquisition methods and device of data center's capacity provided in an embodiment of the present invention, this method include:It obtains in data
The corresponding informance of intelligent recognition code in cabinet distributed intelligence at least one computer room in the heart and at least one cabinet;Wherein,
Intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet correspond;The corresponding informance of intelligent recognition code is intelligence
Space use information in the corresponding cabinet of identification code;According to the available cabinet in the cabinet distributed intelligence computer floor in computer room
Arrangement space size;Data center is generated according to the corresponding informance of the available cabinet arrangement space size of computer room and intelligent recognition code
Capacity report.The acquisition methods of data center's capacity provided in an embodiment of the present invention, first each machine in acquisition data center
The corresponding informance for the identification code being arranged on cabinet in cabinet distributed intelligence and each computer room in room, then according in computer room
The size of the available cabinet arrangement space in computer room can be calculated in cabinet distributed intelligence, finally according to the available machine of computer room
The corresponding informance of cabinet arrangement space size and intelligent recognition code can generate the capacity report of the data center, facilitate in data
Heart administrative staff plan computer room but also room management personnel can accurately safeguard the computer room that safeguard of needs,
Because displaying cabinet space use information on cabinet can be pasted into the identification code that through image identifies by being utilized, compared to existing
For having the artificial acquisition mode in technology, it is more square that technical solution provided in an embodiment of the present invention obtains data center's capacity
Just quick, and it has all kinds of situations powerful adaptability, in data center's administration system of organizational structure complexity
And can normally it implement in the strategic status that mingles of new, legacy data center.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
It should also be noted that, the embodiment of the present invention in, " (English:Of) ", " corresponding (English:
Corresponding, relevant) " and " corresponding (English:Corresponding it) " can use with sometimes, it should be pointed out that
It is that, when not emphasizing its difference, meaning to be expressed is consistent.
Data center is usually present multiple computer rooms, and there are multiple cabinets in each computer room, and there are multiple in each cabinet
Server, and may have the server of multiple companies in the same computer room, thus the manager of data center need and
When statistical data center capacity to lease idle cabinet or cabinet U, and also facilitate and inform client to itself clothes
Business device saves hunting time when being safeguarded.But existing statistical method is artificial statistics, time-consuming and laborious, I is inefficient.
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of acquisition methods of data center's capacity shown in referring to Fig.1,
Including:
101, the intelligence in the cabinet distributed intelligence and at least one cabinet in data center at least one computer room is obtained
The corresponding informance of identification code.
Wherein, wherein intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet correspond;Intelligent recognition
The corresponding informance of code is the space use information in the corresponding cabinet of intelligent recognition code;
Optionally, specific acquisition modes be obtained from the monitoring device that is arranged in computer room in computer room cabinet distributed image and
Then intelligent recognition code image is obtained according to cabinet distributed image in computer room and intelligent recognition code image according to pre-set image algorithm
The corresponding informance of cabinet distributed intelligence in computer room and the intelligent recognition code on cabinet;Wherein monitoring device, which can be fixed, takes the photograph
As head, it is also possible to the moveable monitoring device such as intelligent vision robot, depending on concrete foundation reality.
102, according to the available cabinet arrangement space size in the cabinet distributed intelligence computer floor in computer room.
It, can be according to prestoring specifically, behind the setting position and each cabinet size for getting cabinet in computer room
Computer room size and the cabinet size pre-seted determine that the computer room can also dispose the i.e. available cabinet arrangement space of how many a cabinets again
Size.
103, data center is generated according to the corresponding informance of the available cabinet arrangement space size of computer room and intelligent recognition code
Capacity report.
Specifically, data center manager can be according to the capacity report after the capacity report for generating data center
Computer room or cabinet to data center carry out accurately maintenance management, avoid time waste of the maintenance personnel in maintenance.
The acquisition methods of data center's capacity provided by the above embodiment, first in acquisition data center in each computer room
The corresponding informance for the identification code being arranged on cabinet in cabinet distributed intelligence and each computer room, then according to the cabinet in computer room point
The size of the available cabinet arrangement space in computer room can be calculated in cloth information, finally arranged according to the available cabinet of computer room
The corresponding informance of space size and intelligent recognition code can generate the capacity report of the data center, facilitate data center management
Personnel plan computer room but also the computer room that room management personnel can accurately safeguard needs is safeguarded, compared to existing
Have in technology in artificial statistical data for the method for Cardiac volume, technical solution provided in an embodiment of the present invention obtains data center
Capacity enhanced convenience is quick.
Optionally, the space use information in the corresponding cabinet of intelligent recognition code includes:
Each U of the erected state of each server and the server kind that the position U of server is set up is provided in cabinet
Class;Erected state includes vacant state and full position state.
Illustratively, referring to shown in Fig. 2, intelligent recognition code is arranged in cabinet door, the specific structure of intelligent recognition code such as Fig. 3
Shown, leftmost one number represents the position the U serial number of the corresponding cabinet of intelligent recognition code, and A represents calculation server, B generation
Table storage server, mark C represent network server, and the mark of black matrix white line represents full position state, and white background black line blackens mark a little
Will represents vacant state;In addition the U positions to be used to set up server in cabinet, a U height are 4.445cm;In addition,
Information on intelligent recognition code is replaced by the staff safeguarded each time to the corresponding cabinet of intelligent recognition code
Or change.
Referring to shown in Fig. 4, the acquisition methods that the embodiment of the present invention also provides another data center capacity are used as to above-mentioned
The supplement of the acquisition methods for data center's capacity that embodiment provides, including:
401, the intelligence in the cabinet distributed intelligence and at least one cabinet in data center at least one computer room is obtained
The corresponding informance of identification code.
402, the intelligence in the cabinet distributed intelligence and at least one cabinet in data center at least one computer room is obtained
The corresponding informance of identification code.
Specifically, exemplary, referring to shown in Fig. 2 and Fig. 3, two dimensional code is arranged on cabinet and the setting of intelligent recognition code
On same paster or metal patch, and two dimensional code and cabinet correspond;
The corresponding informance of two dimensional code includes at least:Data center's title, cabinet ownership side title, cabinet number, cabinet institute
Belong to computer room number;In addition, the information of the two dimensional code will not be safeguarded because of the change of server in cabinet and generate variation.
403, according to the available cabinet arrangement space size in the cabinet distributed intelligence computer floor in computer room.
404, by the corresponding informance of the intelligent recognition code on cabinet according to the corresponding informance classification storage of the two dimensional code of cabinet.
Specifically, just being needed in order to which the corresponding informance for all intelligent recognition codes that will acquire is disaggregatedly regular good
According to two dimensional code corresponding informance classify to it so as to administrative staff can efficiently find within the storage system it is any
Server in a computer room or any one cabinet sets up situation.
405, data center is generated according to the corresponding informance of the available cabinet arrangement space size of computer room and intelligent recognition code
Capacity report.
It will be more convenient specifically, generating data center's capacity report on the basis of 404.
The acquisition methods of data center's capacity provided in an embodiment of the present invention, this method include:It obtains in data center extremely
The corresponding informance of cabinet distributed intelligence in a few computer room and the intelligent recognition code at least one cabinet;Wherein, intelligence is known
Other code is arranged on cabinet, and intelligent recognition code and cabinet correspond;The corresponding informance of intelligent recognition code is intelligent recognition code
Space use information in corresponding cabinet;It is emptied according to the available cabinet cloth in the cabinet distributed intelligence computer floor in computer room
Between size;The capacity of data center is generated according to the corresponding informance of the available cabinet arrangement space size of computer room and intelligent recognition code
Report.The acquisition methods of data center's capacity provided in an embodiment of the present invention, first in acquisition data center in each computer room
The corresponding informance for the identification code being arranged on cabinet in cabinet distributed intelligence and each computer room, then according to the cabinet in computer room point
The size of the available cabinet arrangement space in computer room can be calculated in cloth information, finally arranged according to the available cabinet of computer room
The corresponding informance of space size and intelligent recognition code can generate the capacity report of the data center, facilitate data center management
Personnel plan computer room but also the computer room that room management personnel can accurately safeguard needs is safeguarded, because sharp
With displaying cabinet space use information on cabinet can be pasted into the identification code that through image identifies, so compared with prior art
In artificial acquisition mode for, it is fast that technical solution provided in an embodiment of the present invention obtains data center's capacity enhanced convenience
It is prompt.
Referring to Figure 5, the embodiment of the present invention also provides a kind of acquisition device 01 of data center's capacity, including:It obtains
Module 501, computing module 502 and processing module 503;
Module 501 is obtained, for obtaining cabinet distributed intelligence in data center at least one computer room and at least one
The corresponding informance of intelligent recognition code on cabinet;
Intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet correspond;The corresponding letter of intelligent recognition code
Breath is the space use information in the corresponding cabinet of intelligent recognition code;
Computing module 502, for according in the cabinet distributed intelligence computer floor obtained in the computer room that module 501 obtains
Cabinet arrangement space size can be used;
Processing module 503, the available cabinet arrangement space size and acquisition of the computer room for being calculated according to computing module 502
The corresponding informance for the intelligent recognition code that module 501 obtains generates the capacity report of data center.
Optionally, module 501 is obtained to be specifically used for:
Cabinet distributed image and intelligent recognition code image in computer room are obtained from the monitoring device being arranged in computer room;
According to cabinet distributed image in computer room and intelligent recognition code image according to the machine in pre-set image algorithm acquisition computer room
The corresponding informance of intelligent recognition code in cabinet distributed intelligence and cabinet.
Optionally, the space use information in the corresponding cabinet of intelligent recognition code includes:
Each U of the erected state of each server and the server kind that the position U of server is set up is provided in cabinet
Class;
Erected state includes vacant state and full position state.
Optionally, module 501 is obtained to be also used to:
Obtain the corresponding informance of the two dimensional code of at least one cabinet at least one computer room in data center;
Two dimensional code is arranged on cabinet, and two dimensional code and cabinet correspond;
The corresponding informance of two dimensional code includes:Data center's title, cabinet ownership side title, cabinet number, the affiliated machine of cabinet
Room number.
Optionally, processing module 503 is also used to:
The corresponding informance of the intelligent recognition code of the acquisition of module 501 be will acquire according to the two of the cabinet for obtaining the acquisition of module 501
Tie up the corresponding informance classification storage of code.
The acquisition device of data center's capacity provided in an embodiment of the present invention, the device include:Obtain module, computing module
And processing module;Module is obtained, for obtaining cabinet distributed intelligence in data center at least one computer room and at least one
The corresponding informance of intelligent recognition code on cabinet;Intelligent recognition code is arranged on cabinet, and intelligent recognition code and cabinet one are a pair of
It answers;The corresponding informance of intelligent recognition code is the space use information in the corresponding cabinet of intelligent recognition code;Computing module is used for root
According to the available cabinet arrangement space size in the cabinet distributed intelligence computer floor obtained in the computer room that module obtains;Handle mould
Block, the available cabinet arrangement space size of the computer room for being calculated according to computing module and the intelligent recognition code for obtaining module acquisition
Corresponding informance generate data center capacity report.The acquisition device of data center's capacity provided in an embodiment of the present invention,
When obtaining to data center's capacity, cabinet distributed intelligence and each machine in data center in each computer room are obtained first
Then machine can be calculated according to the cabinet distributed intelligence in computer room in the corresponding informance for the identification code being arranged on cabinet in room
The size of available cabinet arrangement space in room, finally according to the available cabinet arrangement space size of computer room and intelligent recognition code
Corresponding informance can generate the capacity report of the data center, and facilitating data center management personnel to plan computer room also makes
Obtaining room management personnel can be accurately to needing the computer room that safeguard to safeguard, can be with through image identification because being utilized
Identification code is pasted on cabinet displaying cabinet space use information, so for artificial acquisition mode compared to the prior art,
It is quick that technical solution provided in an embodiment of the present invention obtains data center's capacity enhanced convenience, and its for all kinds of situations all
There is powerful adaptability, in data center's administration system of organizational structure complexity and strategy that new, legacy data center is mingled
Can normally it implement in status.
The step of method in conjunction with described in the disclosure of invention or algorithm can realize in a manner of hardware, can also
It is realized in a manner of being to execute software instruction by processor.The embodiment of the present invention also provides a kind of storage medium, which is situated between
Matter may include memory, obtain computer software instructions used in the device of data center's capacity for being stored as, it includes
Execute program code designed by the acquisition methods of data center's capacity.Specifically, software instruction can be by corresponding software mould
Block composition, software module can be stored on random access memory (Random Access Memory, RAM), flash memory, read-only
Memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable
ROM, EPROM), Electrically Erasable Programmable Read-Only Memory (Electrical ly EPROM, EEPROM), register, hard disk, shifting
In the storage medium of dynamic hard disk, CD-ROM (CD-ROM) or any other form well known in the art.It is a kind of illustrative
Storage medium is coupled to processor, to enable a processor to from the read information, and can write to the storage medium
Enter information.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media can be located in ASIC.
In addition, the ASIC can be located in core network interface equipment.Certainly, pocessor and storage media can also be used as discrete assembly and deposit
It is in core network interface equipment.
The embodiment of the present invention also provides a kind of computer program, which can be loaded directly into memory, and
Containing software code, which is loaded into via computer and can be realized obtaining for above-mentioned data center's capacity after executing
Take method.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention
It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.
Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another
Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any
Usable medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.