CN113436246A - Method, device and system for detecting internal space of cabinet - Google Patents

Method, device and system for detecting internal space of cabinet Download PDF

Info

Publication number
CN113436246A
CN113436246A CN202110711683.1A CN202110711683A CN113436246A CN 113436246 A CN113436246 A CN 113436246A CN 202110711683 A CN202110711683 A CN 202110711683A CN 113436246 A CN113436246 A CN 113436246A
Authority
CN
China
Prior art keywords
cabinet
space
target
image
target cabinet
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
CN202110711683.1A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110711683.1A priority Critical patent/CN113436246A/en
Publication of CN113436246A publication Critical patent/CN113436246A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Abstract

The embodiment of the application provides a method, a device and a system for detecting the internal space of a cabinet, which can be used in the technical field of artificial intelligence, wherein the method comprises the following steps: determining the type and the number of space identification pieces in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identification piece is arranged on the outer wall of the target cabinet so that all the space identification pieces on the target cabinet are contained in the corresponding target cabinet image, and the space identification pieces of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet; and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image. According to the method and the device, the automation degree, efficiency and accuracy of knowing the occupied space of each electronic device in the target cabinet can be effectively improved, and the quantity and cost of hardware deployment in the detection process of the internal space of the cabinet can be effectively reduced.

Description

Method, device and system for detecting internal space of cabinet
Technical Field
The application relates to the technical field of data processing, in particular to the technical field of artificial intelligence, and specifically relates to a method, a device and a system for detecting an internal space of a cabinet.
Background
At present, a large number of IT devices are carried in a data center to support system operation, such as servers, open storage and network devices, and by combining the characteristics of a cloud environment and a distributed architecture, most of the IT devices are mainly rack-mounted devices and are deployed in a dedicated 19-inch IT cabinet or other cabinets. Today, with the rapid development of IT technology, IT equipment in a data center shows an explosive growth trend, which brings an unprecedented challenge to various resource management works of the data center. The management of the cabinet space resources is one of the main works of the data center management, and operation and maintenance personnel need to comprehensively know the cabinet space data and trend of the data center, so that the high-cost data center infrastructure is maximally utilized.
At present, operation and maintenance personnel of a data center mostly record space resource data of a cabinet in a manual mode, and then manually match and calculate appropriate deployment conditions by combining data such as electric power, air conditioning cold quantity and the like, so that the mode has the defects of poor timeliness and accuracy, and the precious human resource cost is greatly wasted. In order to replace a manual detection mode, the existing cabinet space detection mode is mostly realized by adopting an RFID (radio frequency identification) technology or an infrared technology, equipment such as a detection device, a gateway and the like needs to be deployed in a cabinet, and equipment position information is obtained in a wired or wireless mode, so that the used and residual space in the IT cabinet is calculated.
That is to say, no matter which cabinet space detection mode is adopted, the detection requirements of high efficiency, accuracy, automation, few hardware deployment, low cost and the like of cabinet space detection cannot be met simultaneously.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a cabinet internal space detection method, device and system, which can effectively improve the automation degree, efficiency and accuracy of obtaining the occupied space of each electronic device in a target cabinet, and can effectively reduce the quantity and cost of hardware deployment in the cabinet internal space detection process.
In order to solve the technical problem, the application provides the following technical scheme:
in a first aspect, the present application provides a method for detecting an internal space of a cabinet, including:
determining the type and the number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is arranged on the outer wall of the target cabinet so that all the space identifiers on the target cabinet are contained in the corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet;
and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image.
Further, the types of the space identifier are distinguished in different shapes;
correspondingly, the determining the type and the number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode includes:
intercepting effective areas corresponding to the space identifiers in the target cabinet image;
and respectively carrying out feature detection on each effective region based on a preset Hough transform mode to obtain the type and the number of the space identification pieces in the target cabinet image corresponding to the target cabinet.
Further, the determining the type and the number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode includes:
inputting the target cabinet image into a preset image recognition model for recognizing the space identification pieces so that the image recognition model outputs the types and the number of the space identification pieces in the target cabinet image;
the image recognition model is obtained by training in advance based on a plurality of historical cabinet images provided with labels, and the labels are used for representing types and numbers of space identification pieces in the corresponding historical cabinet images.
Further, the determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and number of the space identifiers in the target cabinet image includes:
calling a pre-stored internal complete space size of the target cabinet and an identification part space comparison table, wherein the identification part space comparison table is used for storing the corresponding relation between the type of each space identification part and the size of the occupied cabinet space;
determining the total occupied space size of the target cabinet occupied by the electronic equipment according to the identification part space comparison table and the type and the number of the space identification parts in the target cabinet image;
and determining the current remaining available space of the target cabinet based on the internal complete space size of the target cabinet and the total occupied space size of the target cabinet occupied by the electronic equipment.
Further, before determining the type and the number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode, the method further includes:
receiving a cabinet image acquired by image acquisition equipment, wherein the cabinet image comprises at least one complete cabinet;
acquiring an effective image intercepting area of at least one cabinet from the cabinet image;
and selecting one cabinet as a current target cabinet to be detected, and determining an effective image intercepting area of the target cabinet as a corresponding target cabinet image.
Further, still include:
and visually displaying the current remaining available space of the target cabinet, and/or sending the current remaining available space of the target cabinet to the corresponding client equipment.
Further, the space identification piece is a magnetic attraction piece.
In a second aspect, the present application provides a device for detecting an internal space of a cabinet, including:
the image recognition module is used for determining the type and the number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is arranged on the outer wall of the target cabinet so that all the space identifiers on the target cabinet are contained in the corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet;
and the space detection module is used for determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the image of the target cabinet.
In a third aspect, the present application provides a system for detecting an internal space of a cabinet, including: the equipment cabinet internal space detection device is used for realizing the equipment cabinet internal space detection method;
the image acquisition equipment is arranged in the space range of the cabinet, and each image acquisition equipment is respectively used for acquiring the cabinet image of at least one cabinet;
the image acquisition equipment is in communication connection with the cabinet internal space detection device and is used for sending the acquired cabinet images of at least one cabinet to the cabinet internal space detection device so that the cabinet internal space detection device can obtain target cabinet images corresponding to the current target cabinet according to the cabinet images of at least one cabinet.
In a fourth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for detecting the internal space of the cabinet.
In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the cabinet interior space detection method.
According to the technical scheme, the method, the device and the system for detecting the internal space of the equipment cabinet provided by the application comprise the following steps: determining the type and the number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is arranged on the outer wall of the target cabinet so that all the space identifiers on the target cabinet are contained in the corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet; the current residual available space of the target cabinet is determined according to the preset internal complete space of the target cabinet and the type and the number of the space identification pieces in the image of the target cabinet, which are respectively used for representing different space sizes occupied by each electronic device in the target cabinet, are arranged on the outer wall of the cabinet, and the type and the number of the space identification pieces in the image of the target cabinet corresponding to the current target cabinet are determined based on a preset image recognition mode, so that the automation degree, the efficiency and the accuracy of knowing the space occupied by each electronic device in the target cabinet can be effectively improved, meanwhile, as the space identification pieces are only needed on the outer wall of the cabinet, equipment such as a camera, an infrared device and the like do not need to be arranged in the target cabinet, and the quantity and the cost of hardware deployment in the process of detecting the internal, the current remaining available space of the target cabinet is determined according to the preset internal complete space of the target cabinet and the type and the number of the space identification pieces in the image of the target cabinet, so that the efficiency and the reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be further known in real time, the subsequent deployment work of electronic equipment can be conveniently and rapidly carried out, and the accuracy and the timeliness of electronic equipment management are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an interaction schematic diagram between a cabinet internal space detection apparatus and other client devices and image capturing devices in an embodiment of the present application.
Fig. 2 is a schematic flowchart of a method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 3 is a schematic flowchart of a second method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 4 is a schematic flowchart of a third method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 5 is a fourth flowchart illustrating a method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 6 is a fifth flowchart illustrating a method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 7 is a sixth flowchart of a method for detecting an internal space of a cabinet in an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a cabinet internal space detection device in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a cabinet internal space detection system in an embodiment of the present application.
Fig. 10 is a block diagram of a data center cabinet space detection system according to an application example of the present application.
Fig. 11 is a structural diagram of units in a space identifier setting module 1 in a data center cabinet space detection system according to an application example of the present application.
Fig. 12 is a unit structure diagram of an environment preprocessing module 2 in a data center cabinet space detection system provided by an application example of the present application.
Fig. 13 is a unit structure diagram of a U-bit space statistics module 3 in a data center cabinet space detection system according to an application example of the present application.
Fig. 14 is a block diagram of an information display module 4 in a data center cabinet space detection system provided in an application example of the present application.
Fig. 15 is an exemplary diagram of an identification result of an effective imaging area in a data center cabinet space detection method provided in an application example of the present application.
Fig. 16 is a schematic structural diagram of an electronic device in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the method, the device and the system for detecting the internal space of the cabinet disclosed by the application can be used in the technical field of artificial intelligence, the technical field of operation and maintenance of a data center and the like, and can also be used in any fields except the technical field of artificial intelligence and the technical field of operation and maintenance of a data center.
The embodiments of the present application respectively provide a method for detecting an internal space of a cabinet, a device for detecting an internal space of a cabinet, a system for detecting an internal space of a cabinet, and a computer-readable storage medium for electronic devices, which determine the type and number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is disposed on an outer wall of the target cabinet so that all space identifiers on the target cabinet are included in a corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet; the current residual available space of the target cabinet is determined according to the preset internal complete space of the target cabinet and the type and the number of the space identification pieces in the image of the target cabinet, which are respectively used for representing different space sizes occupied by each electronic device in the target cabinet, are arranged on the outer wall of the cabinet, and the type and the number of the space identification pieces in the image of the target cabinet corresponding to the current target cabinet are determined based on a preset image recognition mode, so that the automation degree, the efficiency and the accuracy of knowing the space occupied by each electronic device in the target cabinet can be effectively improved, meanwhile, as the space identification pieces are only needed on the outer wall of the cabinet, equipment such as a camera, an infrared device and the like do not need to be arranged in the target cabinet, and the quantity and the cost of hardware deployment in the process of detecting the internal space of the cabinet can be effectively reduced, the current remaining available space of the target cabinet is determined according to the preset internal complete space of the target cabinet and the type and the number of the space identification pieces in the image of the target cabinet, so that the efficiency and the reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be further known in real time, the subsequent deployment work of electronic equipment can be conveniently and rapidly carried out, and the accuracy and the timeliness of electronic equipment management are improved.
In one or more embodiments of the present application, the rack or IT rack refers to a freestanding or self-supporting enclosure for housing electrical or electronic equipment. Cabinets are typically configured with doors, removable or non-removable side panels and back panels. The cabinet is an indispensable component in the electrical equipment and is a carrier of the electrical control equipment. Typically made of cold rolled steel sheet or alloy. Can provide the protection functions of water resistance, dust prevention, electromagnetic interference resistance and the like for the storage equipment. Cabinets are generally classified into server cabinets, network cabinets, console cabinets, and the like.
In one or more embodiments of the present application, U in the U bit space is a unit representing an external size of an IT device such as a server, and is an abbreviation of unit, and a detailed size is determined by the EIA of the american electronic industries association. The servers are sized so that they remain appropriately sized for placement in an iron or aluminum rack. The rack is provided with screw holes for fixing the server, so that the server can be aligned with the screw holes of the server, and the server can be fixed by screws, so that the space required by each server can be conveniently installed. Wherein, 1U is: 4.445cm, 4U is 4 times as large as 1U, and is: 4.445 × 4 ═ 17.78 cm.
In one or more embodiments of the present application, the hough transform method or the hough transform feature detection method is a feature detection (feature extraction) method, which is used to identify features in an object to be found, for example: lines and any other shape, square, round, oval, etc. are common. Given an object, the kind of shape to be distinguished, the algorithm performs a vote in the parameter space (parameter space) to determine the shape of the object, which is determined by the local maximum (local maximum) in the accumulation space (accumulator space). By means of the voting step in the hough transform algorithm, the parameters of the graph are found in a complex parameter space, i.e. the shape of the edge can be known from the parameters.
Based on the above, the present application further provides a device for detecting an internal space of a cabinet, which may be a server, and the device for detecting an internal space of a cabinet may be a communication connection between a client device owned by a technician and an image collecting device for collecting an image of a cabinet, by itself or through a third-party server, etc., referring to fig. 1, so as to receive a cabinet internal space detection instruction sent by a client device corresponding to each operation and maintenance worker, so that the device for detecting an internal space of a cabinet performs the method for detecting an internal space of a cabinet mentioned in one or more embodiments of the present application based on the cabinet internal space detection instruction, and based on a preset internal complete space of the target cabinet and a type and number of space identifiers in the target cabinet image, after the current remaining available space of the target cabinet is determined, a result notification message for indicating the current remaining available space of the target cabinet is sent to a client device held by an operation and maintenance worker or visually displayed in a preset display screen, wherein the visual display may be performed in a specific manner: the information display system is developed by a user, a machine room or cabinet model is built in the display system, the complete space (mostly 42U) of the IT cabinet and the occupied space of the electronic equipment in the cabinet calculated by the camera are synchronized, and the used space and the residual space information of the machine room and the cabinet are displayed in the information display system.
It is understood that the client devices may include smart phones, tablet electronic devices, network set-top boxes, portable computers, desktop computers, Personal Digital Assistants (PDAs), in-vehicle devices, smart wearable devices, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In another practical application scenario, the aforesaid part of the cabinet internal space detection apparatus for performing cabinet internal space detection may be performed in the server as described above, or all operations may be performed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. If all the operations are completed in the client device, the client device may further include a processor for performing specific processing of the detection of the internal space of the cabinet.
In a third practical application scenario, the aforementioned apparatus for detecting an internal space of a cabinet may also hold a functional module in an architecture such as a management system or a platform of an enterprise for the cabinet.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
The following embodiments and application examples are specifically and individually described in detail.
In order to solve the problem that the existing cabinet space detection mode can not meet the detection requirements of high efficiency, accuracy, automation, less hardware deployment, low cost and the like of cabinet space detection at the same time, the application provides an embodiment of a cabinet internal space detection method, and referring to fig. 2, the cabinet internal space detection method executed by a cabinet internal space detection device specifically includes the following contents:
step 100: the method comprises the steps of determining the type and the number of space identification pieces in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identification piece is arranged on the outer wall of the target cabinet so that all the space identification pieces on the target cabinet are contained in the corresponding target cabinet image, and the space identification pieces of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet.
In step 100, each of the spatial identifiers is disposed on the outer wall of the target cabinet, so that all the spatial identifiers on the target cabinet are included in the corresponding target cabinet image, which is specifically described as follows:
(1) each space identification member may be disposed at an upper side, a front side, a rear side, a left side, a right side, and the like of the target cabinet, but all the space identification members are required to be disposed on the same outer wall of one side, so that the image acquisition device can acquire all the space identification members on the target cabinet in one imaging process for the outer wall of the one side; especially, the space identification pieces can be arranged on the rear side of the target cabinet, namely the rear door, and the arrangement reliability of the space identification pieces can be effectively improved because the rear door is used less frequently.
(2) Each space identification piece can be dispersedly arranged on the outer wall of different sides of the target cabinet, but the outer wall with three adjacent sides or two adjacent sides needs to be selected for arrangement, so that the image acquisition equipment can acquire all the space identification pieces on the target cabinet in one-time imaging, and although the arrangement mode improves the convenience of the space identification pieces, compared with the arrangement mode in the step (1), the arrangement mode is not reliable enough.
It can be understood that, the image capturing device such as a camera used in step 100 to capture the image of the target cabinet corresponding to the current target cabinet may be in the same area range as the target cabinet and be arranged opposite to the side outer wall of the target cabinet on which the spatial identifier is arranged, that is, the image capturing device is required to be able to capture all the spatial identifiers on the target cabinet in one imaging.
Meanwhile, in order to further reduce the complexity and cost of hardware setting in the process of detecting the internal space of the cabinet, the original monitoring probe and the like in the indoor space where the cabinet is located can be adopted to acquire the image of the target cabinet corresponding to the target cabinet, and the like.
In addition, in order to further reduce the complexity and cost of hardware setting in the process of detecting the internal space of the cabinet, the embodiment of the application can be suitable for the situation that one camera collects the image of one cabinet and can also be suitable for the situation that one camera collects a plurality of cabinets and performs single cabinet cutting, namely, one camera can be adopted to collect a plurality of complete cabinets in one image, then the image is cut by the cabinet internal space detection device according to the preset detection degree, so that the effective image intercepting areas of the cabinets can be obtained, one cabinet which needs to be processed at present is selected as a target cabinet, and the effective image intercepting area of the cabinet is used as the target cabinet image. Therefore, the number and the positions of the image acquisition equipment such as the cameras and the like can be set in the area of the cabinet according to the equipment parameters, the actual cost requirements and the application condition of the image acquisition equipment, so that the hardware setting cost in the detection process of the internal space of the cabinet can be further reduced, and the accuracy of the detection result of the internal space of the cabinet can be ensured.
Step 200: and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image.
As can be seen from the above description, the method for detecting the internal space of the cabinet provided in the embodiment of the present application can effectively improve the automation degree, efficiency and accuracy of obtaining the space occupied by each electronic device in the target cabinet by arranging each space identifier respectively used for indicating different space sizes occupied by each electronic device in the target cabinet on the outer wall of the cabinet and determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode, and can effectively reduce the number and cost of hardware deployment in the process of detecting the internal space of the cabinet by only arranging the space identifiers on the outer wall of the cabinet without arranging the cameras, the infrared devices and other devices in the target cabinet, the current remaining available space of the target cabinet is determined, so that the efficiency and reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be known in real time, the subsequent deployment work of the electronic equipment can be conveniently and rapidly carried out, and the accuracy and timeliness of electronic equipment management are improved.
In order to improve the convenience and accuracy of detecting the internal space of the cabinet, in one embodiment of the method for detecting the internal space of the cabinet, the types of the space identifiers are distinguished in different shapes; referring to fig. 3, one implementation of step 100 in the method for detecting an internal space of a cabinet specifically includes the following steps:
step 110: and intercepting the effective area corresponding to each space identifier in the target cabinet image.
In an example of step 110, a specific manner of intercepting the effective area corresponding to each of the spatial identifiers in the target cabinet image may be as follows: the equipment cabinet internal space detection device can send the target equipment cabinet image to client equipment held by operation and maintenance personnel, and after the operation and maintenance personnel select the effective areas corresponding to the space identification pieces respectively in the client equipment, the equipment cabinet internal space detection device receives result data of the effective areas corresponding to the selected space identification pieces respectively, which are sent by the client equipment.
Although the above manner can ensure the effectiveness of the effective areas corresponding to the spatial identifiers, manual intervention is still required, and in order to further improve the capturing efficiency and the automation degree of the effective areas corresponding to the spatial identifiers, in another example of step 110, the specific manner of capturing the effective areas corresponding to the spatial identifiers in the target cabinet image may be as follows: because each space identification piece can be set as a component with a color different from that of the outer wall of the target cabinet, the cabinet internal space detection device can select and cut the effective area where each space identification piece in the target cabinet image is located by distinguishing the color of the outer wall of the target cabinet and the color of the space identification piece based on a preset color distinguishing mode and an edge identification method.
Step 120: and respectively carrying out feature detection on each effective region based on a preset Hough transform mode to obtain the type and the number of the space identification pieces in the target cabinet image corresponding to the target cabinet.
In step 120, a specific example of performing feature detection on each effective region based on a preset hough transform mode is as follows: if the types of the space identifiers are distinguished by shapes, such as square identifiers, circular identifiers, triangular identifiers and the like, the equipment cabinet internal space detection device can detect whether squares exist in each effective area in a picture one by utilizing Hough transform characteristics, and collect and store the number of the squares in the effective area of a single equipment cabinet; the cabinet internal space detection device can detect the number of straight lines in each effective area in the statistical picture one by utilizing Hough transform characteristics, if the number of the straight lines is three, the graph in the statistical area is determined to be a triangle, and the number of the triangles in the effective area of the single cabinet is collected and stored; the equipment cabinet internal space detection device can utilize Hough transform feature detection to count the number of circles of each effective area in a picture one by one, and the number of circles in the effective area of a single equipment cabinet is collected and stored.
As can be seen from the above description, in the method for detecting the internal space of the cabinet provided in the embodiment of the present application, if the types of the space identifiers are distinguished in different shapes, the characteristic detection may be performed on each effective region based on a preset hough transform mode, so as to obtain the types and the number of the space identifiers in the target cabinet image corresponding to the target cabinet, so that convenience and accuracy of detecting the internal space of the cabinet can be effectively improved, and meanwhile, the efficiency of detecting the internal space of the cabinet can be further improved.
In order to further improve the automation degree and the intelligence degree of the detection of the internal space of the cabinet, referring to fig. 4, in an embodiment of the method for detecting the internal space of the cabinet provided by the present application, another implementation manner of step 100 in the method for detecting the internal space of the cabinet specifically includes the following contents:
step 130: inputting the target cabinet image into a preset image recognition model for recognizing the space identification pieces so that the image recognition model outputs the types and the number of the space identification pieces in the target cabinet image; the image recognition model is obtained by training in advance based on a plurality of historical cabinet images provided with labels, and the labels are used for representing types and numbers of space identification pieces in the corresponding historical cabinet images.
In step 130, the image recognition model may adopt an existing machine learning model capable of performing image recognition, such as a convolutional Neural network cnn (convolutional Neural networks) or a classical image recognition model densener, and specifically needs to be trained in advance, and the specific manner may be:
firstly, obtaining a plurality of historical cabinet images provided with labels, wherein the labels are used for representing the types and the number of space identifiers in the corresponding historical cabinet images;
dividing the historical cabinet images provided with the labels into a training set and a verification set, and then applying the training set to perform offline training on the convolutional neural network CNN to obtain an image recognition initial model for recognizing the space identification member;
and then, a verification set is applied to verify and adjust the initial image recognition model, and finally, an online image recognition model for recognizing the space identification member is formed.
It is understood that when the types of the spatial identifiers are not distinguished by different shapes, only the image recognition model for recognizing the spatial identifiers may be selected to recognize the types and the number of the spatial identifiers, and when the types of the spatial identifiers are distinguished by different shapes, the hough transform mode and/or the image recognition model may be selected to recognize the types and the number of the spatial identifiers.
When the Hough transform mode is selected and the image recognition model is selected for recognizing the types and the number of the space identifiers, whether the recognition results of the types and the number of the space identifiers of the Hough transform mode and the image recognition model are the same or not can be compared, and if the recognition results are the same, the recognition results are directly output or displayed in preset equipment; if the identification results of the type and the number of the space identification pieces are different, an informing message for informing that the identification results of the type and the number of the space identification pieces are different can be sent to client equipment of operation and maintenance personnel, the image acquisition equipment can be controlled to acquire the image of the target cabinet again, an effective image intercepting area of the whole cabinet is carried out on the image to generate a target cabinet image of the target cabinet, and then the type and the number of the space identification pieces are identified by selecting the Hough transform mode and/or the image identification model again until the identification results of the type and the number of the space identification pieces of the Hough transform mode and the image identification model are the same or reach the preset cycle number. Furthermore, the identification accuracy and effectiveness of the types and the number of the space identification pieces in the target cabinet image can be further improved, and a more accurate data base is provided for the cabinet internal space detection so as to improve the detection accuracy of the cabinet internal space.
As can be seen from the above description, the method for detecting the internal space of the cabinet provided in the embodiment of the present application, no matter what form the space identifier is distinguished, the target cabinet image can be input into the preset image recognition model for recognizing the space identifier, so that the image recognition model outputs the type and the number of the space identifier in the target cabinet image, and thus the efficiency and the accuracy of detecting the internal space of the cabinet can be effectively improved, and the automation degree and the intelligence degree of detecting the internal space of the cabinet can be further improved.
In order to further improve the convenience and accuracy of determining the current remaining available space of the target cabinet, in an embodiment of the method for detecting the internal space of the cabinet provided by the present application, referring to fig. 5, step 200 in the method for detecting the internal space of the cabinet specifically includes the following steps:
step 210: and calling a pre-stored internal complete space size of the target cabinet and an identifier space comparison table, wherein the identifier space comparison table is used for storing the corresponding relation between the type of each space identifier and the size of the occupied cabinet space.
Step 220: and determining the total occupied space size of the target cabinet occupied by the electronic equipment according to the identification part space comparison table and the type and the number of the space identification parts in the target cabinet image.
Step 230: and determining the current remaining available space of the target cabinet based on the internal complete space size of the target cabinet and the total occupied space size of the target cabinet occupied by the electronic equipment.
Specifically, assuming that four servers are deployed in the cabinet in total, four magnetic attraction pieces are required to be arranged in the space identifier area, the effective imaging area is from area 1 to area 4, the shapes of the magnetic attraction pieces contained in the four areas are respectively calculated by using hough transform feature detection, a circular magnetic attraction piece is arranged in the area 1, a square magnetic attraction piece is arranged in the area 2, a triangular magnetic attraction piece is arranged in the area 3, and a circular magnetic attraction piece is arranged in the area 4. According to the method, 1U corresponds to a square shape, 2U corresponds to a triangle shape, 4U corresponds to a circle shape, the use space in the cabinet obtained through calculation is 4U +1U +2U +4U which is 11U, the use cabinet is a standard cabinet, the use space is 42U, and the residual space of the cabinet obtained by subtracting the use space is 42U-11U which is 31U.
As can be seen from the above description, according to the cabinet internal space detection method provided in the embodiment of the present application, by retrieving the pre-stored internal complete space size of the target cabinet and the identifier space comparison table, where the identifier space comparison table is used to store the corresponding relationship between the type of each space identifier and the occupied cabinet space size, on the basis of effectively improving the efficiency of determining the current remaining available space of the target cabinet, the convenience and accuracy of determining the current remaining available space of the target cabinet can be further improved.
In order to further reduce the hardware setting cost of the cabinet internal space detection process, referring to fig. 6, in an embodiment of the cabinet internal space detection method provided in the present application, before step 100, the following content is further included:
step 010: receiving a cabinet image acquired by image acquisition equipment, wherein the cabinet image comprises at least one complete cabinet.
Step 020: and acquiring an effective image intercepting area of at least one cabinet from the cabinet image.
Step 030: and selecting one cabinet as a current target cabinet to be detected, and determining an effective image intercepting area of the target cabinet as a corresponding target cabinet image.
As can be seen from the above description, the cabinet internal space detection method provided in the embodiment of the present application obtains the effective image capturing area of at least one cabinet by receiving the cabinet image collected by the image collection device, and is applicable to the situation where one camera collects the image of one cabinet, and also applicable to the situation where one camera collects multiple cabinets and performs single cabinet clipping, so as to further set the number and positions of image collection devices such as cameras in the area where the cabinet is located according to the device parameters, actual cost requirements, and application situations of the image collection device, thereby further reducing the hardware setting cost in the cabinet internal space detection process, and ensuring the accuracy of the cabinet internal space detection result.
In order to enable the operation and maintenance personnel to quickly and intuitively know the current remaining available space of the target cabinet, referring to fig. 7, in an embodiment of the method for detecting the internal space of the cabinet provided by the present application, the following contents are further specifically included after step 200 in the method for detecting the internal space of the cabinet:
step 300: and visually displaying the current remaining available space of the target cabinet, and/or sending the current remaining available space of the target cabinet to the corresponding client equipment.
In step 300, the apparatus for detecting the internal space of the cabinet may specifically match the position (number) of the camera, the occupied number of U bits of the IT equipment of a single cabinet, and the number of remaining U bits of the single cabinet, and transmit the result to the U-bit information display unit through the network. The U-bit display unit is developed by data center management personnel or is in butt joint with a third-party management system, a 2D or 3D machine room (cabinet) model is built in the display unit, the cabinet number needs to be matched with a corresponding camera and data, the fact that the number of used U bits of a single IT cabinet and the number of remaining U bits of the single IT cabinet are correct is guaranteed to be received, a cabinet U-bit data updating strategy is set, and information such as the total number of used U bits of a machine room and the total number of remaining U bits can be displayed.
As can be seen from the above description, according to the method for detecting the internal space of the cabinet provided by the embodiment of the application, the current remaining available space of the target cabinet is visually displayed, and/or the current remaining available space of the target cabinet is sent to the corresponding client device, so that the operation and maintenance personnel can quickly and intuitively know the current remaining available space of the target cabinet, and further, the user experience of the operation and maintenance personnel can be effectively improved.
In order to enable the space identifier to be repeatedly used, in an embodiment of the method for detecting the internal space of the cabinet provided by the application, the space identifier in the method for detecting the internal space of the cabinet is magnetic attraction.
For example, the mainstream IT equipment heights are matched by the shape features of square, triangle, and circle, such as 1U, 2U, and 4U. The corresponding space identification piece is set according to the deployment condition of the equipment inside the cabinet, the position is required to be not changed as much as possible after the space identification piece is fixed, after the IT equipment is put on the shelf, the rear operation space in the cabinet is limited in the subsequent inspection and maintenance processes, and therefore the space identification piece is fixed on the rear door body of the cabinet. Magnetism is inhaled and is pasted customization for square, triangle-shaped and circular solid device, and the outline has obvious shape frame, and the colour should be avoided using black or white etc. and the colour of rack concolorous, and magnetism is inhaled and is pasted the specific U number of surface mark, and the area should not be too big or the undersize should be adjusted with the rack is actually deployed the condition in a flexible way, adsorbs on the rack back door.
According to the method for detecting the internal space of the cabinet, the space identification piece is set to be magnetic to be attached, so that the space identification piece can be repeatedly used, convenience in setting and replacing the space identification piece can be effectively improved, and setting cost of the space identification piece is reduced.
In terms of software, in order to solve the problem that the existing cabinet space detection method cannot meet the detection requirements of cabinet space detection, such as high efficiency, accuracy, automation, less hardware deployment, low cost and the like, the present application provides an embodiment of a cabinet internal space detection apparatus for executing all or part of the contents in the cabinet internal space detection method, referring to fig. 8, the cabinet internal space detection apparatus specifically includes the following contents:
the image recognition module 10 is configured to determine types and numbers of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, where each space identifier is disposed on an outer wall of the target cabinet so that all the space identifiers on the target cabinet are included in the corresponding target cabinet image, and the space identifiers of different types are respectively used to represent different space sizes occupied by each electronic device in the target cabinet.
And the space detection module 20 is configured to determine a current remaining available space of the target cabinet according to a preset internal complete space of the target cabinet and the type and number of the space identifiers in the target cabinet image.
The embodiment of the apparatus for detecting an internal space of a cabinet provided in the present application may be specifically configured to execute the processing procedure of the embodiment of the method for detecting an internal space of a cabinet in the foregoing embodiment, and the functions of the apparatus are not described herein again, and reference may be made to the detailed description of the embodiment of the method.
As can be seen from the above description, the device for detecting the internal space of the cabinet provided in the embodiment of the present application can effectively improve the automation degree, efficiency and accuracy of obtaining the space occupied by each electronic device in the target cabinet by arranging each space identifier respectively used for indicating different space sizes occupied by each electronic device in the target cabinet on the outer wall of the cabinet and determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode, and can effectively reduce the number and cost of hardware deployment in the process of detecting the internal space of the cabinet by only arranging the space identifiers on the outer wall of the cabinet without arranging the cameras, the infrared devices and other devices in the target cabinet according to the preset internal complete space of the target cabinet and the type and number of the space identifiers in the target cabinet image, the current remaining available space of the target cabinet is determined, so that the efficiency and reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be known in real time, the subsequent deployment work of the electronic equipment can be conveniently and rapidly carried out, and the accuracy and timeliness of electronic equipment management are improved.
Based on above-mentioned cabinet inner space detection device's embodiment, in order to solve current cabinet space detection mode, all can't satisfy the problem that high efficiency, accuracy, automation, few hardware deployment and low-cost etc. that the cabinet space detected require simultaneously, this application provides an embodiment that includes cabinet inner space detection device's cabinet inner space detecting system, refer to fig. 9, cabinet inner space detecting system specifically includes following content:
the equipment cabinet internal space detection device is used for realizing the equipment cabinet internal space detection method and comprises a space identification piece arranged on the outer wall of the target equipment cabinet, at least one image acquisition device and the equipment cabinet internal space detection device;
the image acquisition equipment is arranged in the space range of the cabinet, and each image acquisition equipment is respectively used for acquiring the cabinet image of at least one cabinet;
the image acquisition equipment is in communication connection with the cabinet internal space detection device and is used for sending the acquired cabinet images of at least one cabinet to the cabinet internal space detection device so that the cabinet internal space detection device can obtain target cabinet images corresponding to the current target cabinet according to the cabinet images of at least one cabinet.
The embodiment of the system for detecting an internal space of a cabinet provided in the present application may be specifically configured to execute the processing procedure of the embodiment of the method and/or the apparatus for detecting an internal space of a cabinet in the foregoing embodiment, and the functions of the system are not described herein again, and reference may be made to the detailed description of the embodiment of the method and/or the apparatus for detecting an internal space of a cabinet.
As can be seen from the above description, the system for detecting the internal space of the cabinet provided in the embodiment of the present application can effectively improve the automation degree, efficiency and accuracy of obtaining the space occupied by each electronic device in the target cabinet by arranging each space identifier respectively used for indicating different space sizes occupied by each electronic device in the target cabinet on the outer wall of the cabinet and determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode, and can effectively reduce the number and cost of hardware deployment in the process of detecting the internal space of the cabinet by only arranging the space identifiers on the outer wall of the cabinet without arranging the cameras, the infrared devices and other devices in the target cabinet according to the preset internal complete space of the target cabinet and the type and number of the space identifiers in the target cabinet image, the current remaining available space of the target cabinet is determined, so that the efficiency and reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be known in real time, the subsequent deployment work of the electronic equipment can be conveniently and rapidly carried out, and the accuracy and timeliness of electronic equipment management are improved.
For further description, the present application further provides a specific application example of the method for detecting the internal space of the cabinet based on the system for detecting the cabinet space of the data center, which can be specifically applied in the data center, and relates to the technical field of data detection of the IT equipment deployment space in the cabinet in the data center, and is an intelligent detection technology based on an image recognition technology. The application example of the method is a technical method completely different from the current mainstream RFID and infrared detection technology, excessive deployment of hardware equipment is not needed, the deployment budget cost is greatly saved, the method can be deployed in any cabinet of a data center, and the purpose of real-time, accurate and automatic detection of the cabinet space is achieved.
The method in the application example comprises the steps that a high-definition camera and a space identification piece are arranged outside a cabinet, the camera is used for obtaining images of the space identification piece in a specific area, the camera is used for obtaining real-time space conditions of the cabinet through identifying, analyzing and calculating the space identification piece with each shape characteristic, and the space state of the cabinet is transmitted to an information display module through a network for displaying.
The application example of the application comprises a space identification setting module, an environment preprocessing module, a U-bit space counting module and an information display module, wherein a space identification part area and a high-definition camera are arranged outside a cabinet to acquire image information, and then the image information is preprocessed to determine the whole range of a picture and the range of the space identification part and eliminate redundant information to reduce the difficulty of subsequent counting calculation.
Referring to fig. 10, the data center cabinet space detection system includes: the system comprises a space identification setting module 1, an environment preprocessing module 2, a U-bit space counting module 3 and an information display module 4, wherein the execution sequence of each module is as follows:
1. space identification sets up module 1: the server, the open storage and the network equipment of the data center are mostly 1U, 2U and 4U in height, the space identification piece can be a magnetic attraction piece in a special shape, and the magnetic attraction piece is used for magnetically attracting to the magnetic attraction pieces on the metal outer walls of the equipment such as the cabinet and the like mentioned in the application; the magnetic attraction can be represented by shapes such as square, triangle and circle, the square, triangle and circle can respectively represent 1U equipment, 2U equipment and 4U equipment, and the space identification piece is adsorbed at a fixed position on the cabinet or at a visible position of any camera.
It is to be understood that the shape of the magnetic attraction mentioned in the present application is not limited to the above example, and may be specifically set according to the size type of the electronic devices in the cabinet, for example, if there are 5 electronic devices in the cabinet, different shapes corresponding to the 5 electronic devices one-to-one need to be set respectively.
2. The environment preprocessing module 2: the installation and fixing position of the camera is determined according to the installation position of the space identification piece, so that the imaging picture of the camera can clearly and completely cover the area where the space identification piece needs to be concerned. After the installation position of the camera is determined, interference of redundant data information can be eliminated through effective area selection and imaging picture interception, and the calculation accuracy and speed of the camera are improved.
3. U bit space statistics module 3: on the basis of the screenshot of the effective video imaging picture, the number of the occupied spaces in the cabinet is calculated by counting the space identification pieces with different shapes and numbers in the effective imaging picture, and the number of the occupied spaces is transmitted to the information display module through the network.
4. The information display module 4: the information display system can be developed by a user, a machine room or cabinet model is built in the information display system, the complete space (mostly 42U) of the IT cabinet and the occupied space of the electronic equipment in the cabinet calculated by the camera are synchronized, and the used space and the residual space information of the machine room and the cabinet are displayed in the information display system.
Referring to fig. 11, the space identifier setting module 1 includes a U-shaped determining unit 11, a cabinet position selecting unit 12, and a magnetic attachment fixing unit 13, which are described as follows:
(1) u-bit shape determination unit 11: the heights of the mainstream IT equipment are matched through the shape characteristics of square, triangle and circle, such as 1U, 2U and 4U.
(2) The cabinet position selecting unit 12: the corresponding space identification piece is set according to the deployment condition of the equipment inside the cabinet, the position is required to be not changed as much as possible after the space identification piece is fixed, after the IT equipment is put on the shelf, the rear operation space in the cabinet is limited in the subsequent inspection and maintenance processes, and therefore the space identification piece is fixed on the rear door body of the cabinet.
(3) Magnetic attachment fixing unit 13: magnetism is inhaled and is pasted customization for square, triangle-shaped and circular solid device, and the outline has obvious shape frame, and the colour should be avoided using black or white etc. and the colour of rack concolorous, and magnetism is inhaled and is pasted the specific U number of surface mark, and the area should not be too big or the undersize should be adjusted with the rack is actually deployed the condition in a flexible way, adsorbs on the rack back door.
Referring to fig. 12, the environment preprocessing module 2 includes: the camera installation position determining unit 21, the effective area framing unit 22, and the effective information intercepting unit 23 are specifically described as follows:
(1) camera mounting position determining unit 21: the deployment position of the camera is determined according to the deployment position of the space identifier, and an imaging picture contains the complete space identifier of a single cabinet, so that the imaging picture is clear. The position (number) of the camera is corresponding to the position or number of the cabinet, so that the display system is prevented from acquiring data wrongly.
(2) The effective area framing unit 22: in order to eliminate redundant data information, each space identification piece is selected in a camera picture based on a preset frame selection rule or a manual frame according to the fixed position of the space identification piece, and position coordinate information corresponding to each space identification piece is stored, wherein the position coordinate information comprises the position coordinate of the upper left corner of an effective image corresponding to each space identification piece and the length and width of the image.
(3) The effective information intercepting unit 23: the effective imaging area is intercepted according to the position coordinate information of the effective area image acquired in the effective area framing unit 22. The interception of the effective area image can reduce the difficulty of subsequent statistical calculation and eliminate invalid interference information in the picture.
Referring to fig. 13, the U-bit spatial statistic module 3 includes: the square tile quantity statistical unit 31, the triangular tile quantity statistical unit 32, and the circular tile quantity statistical unit 33 are specifically described as follows:
(1) square tile quantity statistical unit 31: and (3) intercepting areas corresponding to effective images of the whole cabinet, detecting whether squares exist in each effective area in the image one by utilizing Hough transform characteristics, and collecting and storing the number of the squares in the effective area of the single cabinet.
(2) Triangle tile number statistic unit 32: and intercepting areas corresponding to effective images of the whole cabinet, detecting the number of straight lines in each effective area in the statistical picture one by utilizing Hough transform characteristics, if the number of the straight lines is three, determining that the images in the statistical areas are triangles, and collecting and storing the number of the triangles in the effective areas of the single cabinet.
(3) Circular tile number statistic unit 33: and intercepting areas corresponding to the effective images of the whole cabinet, counting the number of circles of each effective area in the picture one by utilizing Hough transform characteristic detection, and collecting and storing the number of circles in the effective area of the single cabinet.
Referring to fig. 14, the information presentation module 4 includes: the cabinet U-bit information statistics unit 41 and the cabinet U-bit information display unit 42 are specifically described as follows:
(1) cabinet U-bit information statistics unit 41: the effective imaging areas obtained by the effective information intercepting unit 23 are intercepted, only one magnetic attraction piece in different shapes is arranged in each effective imaging area, corresponding to each effective imaging area, and the number of the magnetic attraction pieces in the area is calculated according to the U-bit space counting module 3.
Referring to fig. 15, assuming that four servers are deployed in the cabinet in total, four magnetic attraction pieces should be arranged in the space identifier region, the effective imaging region is from region 1 to region 4, the shapes of the magnetic attraction pieces included in the four regions are respectively calculated by using hough transform feature detection, a circular magnetic attraction piece is arranged in region 1, a square magnetic attraction piece is arranged in region 2, a triangular magnetic attraction piece is arranged in region 3, and a circular magnetic attraction piece is arranged in region 4. According to the method, 1U corresponds to a square shape, 2U corresponds to a triangle shape, 4U corresponds to a circle shape, the use space in the cabinet obtained through calculation is 4U +1U +2U +4U which is 11U, the use cabinet is a standard cabinet, the use space is 42U, and the residual space of the cabinet obtained by subtracting the use space is 42U-11U which is 31U.
(2) Cabinet U-bit information display unit 42: and matching the position (number) of the camera, the occupied quantity of the U bits of the IT equipment of the single cabinet and the quantity of the residual U bits of the single cabinet, and transmitting the matching result to the U bit information display unit through a network. The U-bit display unit is developed by data center management personnel or is in butt joint with a third-party management system, a 2D or 3D machine room (cabinet) model is built in the display unit, the cabinet number needs to be matched with a corresponding camera and data, the fact that the number of used U bits of a single IT cabinet and the number of remaining U bits of the single IT cabinet are correct is guaranteed to be received, a cabinet U-bit data updating strategy is set, and information such as the total number of used U bits of a machine room and the total number of remaining U bits can be displayed.
According to the data center cabinet space detection method, the detection function of the data center IT cabinet real-time capacity is achieved through simple hardware, the data center IT cabinet real-time capacity can be visually displayed in a display system, operation and maintenance personnel can master the use condition of the data center cabinet in real time, follow-up convenient and fast deployment work of IT equipment is facilitated, and the accuracy and timeliness of IT equipment management are improved. The application example of the application example has the following main advantages:
the identification problem that equipment of different brands and different types occupy the rack space in the IT rack is solved to this application example, discerns the space identification spare in the rack fixed area through high definition camera, calculates the real-time information that occupies of rack U bit to in transmitting to the information display module through the network, the data of data center space resource is obtained to high efficiency.
Different from the method for realizing cabinet space detection by investing a large amount of software and hardware in mainstream RFID and infrared space detection technologies in the industry, the application example of the method can realize the purpose of real-time detection of the cabinet space by only deploying one high-definition camera for each IT cabinet or a plurality of IT cabinets, 8-20 IT equipment with different heights can be detected by one high-definition camera, the cost is only one tenth of that of the traditional detection technology, the operation and maintenance cost is greatly reduced, and the method has the characteristics of real-time detection, high accuracy, convenience and flexibility in deployment and simplicity in operation.
In order to solve the problem that the existing cabinet space detection mode cannot meet the detection requirements of cabinet space detection such as high efficiency, accuracy, automation, less hardware deployment, low cost and the like, the present application provides an embodiment of an electronic device for implementing all or part of the contents in the cabinet internal space detection method, where the electronic device specifically includes the following contents:
fig. 16 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 16, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 16 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the cabinet interior detection function may be integrated into the central processor. Wherein the central processor may be configured to control:
step 100: the method comprises the steps of determining the type and the number of space identification pieces in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identification piece is arranged on the outer wall of the target cabinet so that all the space identification pieces on the target cabinet are contained in the corresponding target cabinet image, and the space identification pieces of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet.
Step 200: and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image.
As can be seen from the above description, according to the electronic device provided in the embodiment of the present application, the space identifiers respectively used for indicating different space sizes occupied by each electronic device in the target cabinet are disposed on the outer wall of the cabinet, and the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet are determined based on the preset image recognition mode, so that the automation degree, efficiency and accuracy of obtaining the space occupied by each electronic device in the target cabinet can be effectively improved, and meanwhile, because only the space identifiers are disposed on the outer wall of the cabinet, and it is not necessary to dispose a camera, an infrared device, and other devices in the target cabinet, the number and cost of hardware deployment in the cabinet internal space detection process can be effectively reduced, and according to the preset internal complete space of the target cabinet, and the type and number of the space identifiers in the target cabinet image, the current remaining available space of the target cabinet is determined, so that the efficiency and reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be known in real time, the subsequent deployment work of the electronic equipment can be conveniently and rapidly carried out, and the accuracy and timeliness of electronic equipment management are improved.
In another embodiment, the cabinet internal space detection apparatus may be configured separately from the central processing unit 9100, for example, the cabinet internal space detection apparatus may be configured as a chip connected to the central processing unit 9100, and the cabinet internal space detection function is realized by the control of the central processing unit.
As shown in fig. 16, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 16; further, the electronic device 9600 may further include components not shown in fig. 16, which can be referred to in the related art.
As shown in fig. 16, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the cabinet internal space detection method in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps of the cabinet internal space detection method in which an execution subject is a server or a client, for example, when the processor executes the computer program, the processor implements the following steps:
step 100: the method comprises the steps of determining the type and the number of space identification pieces in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identification piece is arranged on the outer wall of the target cabinet so that all the space identification pieces on the target cabinet are contained in the corresponding target cabinet image, and the space identification pieces of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet.
Step 200: and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application can effectively improve the automation degree, efficiency, and accuracy of obtaining the occupied space of each electronic device in the target cabinet by setting each of the space identifiers respectively used for indicating different space sizes occupied by each electronic device in the target cabinet on the outer wall of the cabinet, and determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode, and can effectively reduce the number and cost of hardware deployment in the internal space detection process of the cabinet by only setting the space identifiers on the outer wall of the cabinet without setting devices such as a camera and an infrared device in the target cabinet, the current remaining available space of the target cabinet is determined, so that the efficiency and reliability of detecting the internal space of the cabinet can be further improved, the service condition of the cabinet can be known in real time, the subsequent deployment work of the electronic equipment can be conveniently and rapidly carried out, and the accuracy and timeliness of electronic equipment management are improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A cabinet internal space detection method is characterized by comprising the following steps:
determining the type and the number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is arranged on the outer wall of the target cabinet so that all the space identifiers on the target cabinet are contained in the corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet;
and determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the target cabinet image.
2. The cabinet internal space detection method according to claim 1, wherein the types of the space identifier are distinguished in different shapes;
correspondingly, the determining the type and the number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode includes:
intercepting effective areas corresponding to the space identifiers in the target cabinet image;
and respectively carrying out feature detection on each effective region based on a preset Hough transform mode to obtain the type and the number of the space identification pieces in the target cabinet image corresponding to the target cabinet.
3. The cabinet internal space detection method according to claim 1, wherein the determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition mode includes:
inputting the target cabinet image into a preset image recognition model for recognizing the space identification pieces so that the image recognition model outputs the types and the number of the space identification pieces in the target cabinet image;
the image recognition model is obtained by training in advance based on a plurality of historical cabinet images provided with labels, and the labels are used for representing types and numbers of space identification pieces in the corresponding historical cabinet images.
4. The cabinet internal space detection method according to claim 1, wherein the determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet, and the type and number of the space identifiers in the target cabinet image comprises:
calling a pre-stored internal complete space size of the target cabinet and an identification part space comparison table, wherein the identification part space comparison table is used for storing the corresponding relation between the type of each space identification part and the size of the occupied cabinet space;
determining the total occupied space size of the target cabinet occupied by the electronic equipment according to the identification part space comparison table and the type and the number of the space identification parts in the target cabinet image;
and determining the current remaining available space of the target cabinet based on the internal complete space size of the target cabinet and the total occupied space size of the target cabinet occupied by the electronic equipment.
5. The cabinet internal space detection method according to claim 1, before determining the type and number of the space identifiers in the target cabinet image corresponding to the current target cabinet based on the preset image recognition method, the method further comprising:
receiving a cabinet image acquired by image acquisition equipment, wherein the cabinet image comprises at least one complete cabinet;
acquiring an effective image intercepting area of at least one cabinet from the cabinet image;
and selecting one cabinet as a current target cabinet to be detected, and determining an effective image intercepting area of the target cabinet as a corresponding target cabinet image.
6. The cabinet interior space detection method of claim 1, further comprising:
and visually displaying the current remaining available space of the target cabinet, and/or sending the current remaining available space of the target cabinet to the corresponding client equipment.
7. The cabinet internal space detection method according to any one of claims 1 to 6, wherein the space identifier is magnetic adhesive.
8. The utility model provides a rack inner space detection device which characterized in that includes:
the image recognition module is used for determining the type and the number of space identifiers in a target cabinet image corresponding to a current target cabinet based on a preset image recognition mode, wherein each space identifier is arranged on the outer wall of the target cabinet so that all the space identifiers on the target cabinet are contained in the corresponding target cabinet image, and the space identifiers of different types are respectively used for representing different space sizes occupied by each electronic device in the target cabinet;
and the space detection module is used for determining the current remaining available space of the target cabinet according to the preset internal complete space of the target cabinet and the type and the number of the space identifiers in the image of the target cabinet.
9. A cabinet inner space detection system, comprising: a space identifier arranged on the outer wall of the target cabinet, at least one image acquisition device and a cabinet inner space detection device for realizing the cabinet inner space detection method of any one of claims 1 to 7;
the image acquisition equipment is arranged in the space range of the cabinet, and each image acquisition equipment is respectively used for acquiring the cabinet image of at least one cabinet;
the image acquisition equipment is in communication connection with the cabinet internal space detection device and is used for sending the acquired cabinet images of at least one cabinet to the cabinet internal space detection device so that the cabinet internal space detection device can obtain target cabinet images corresponding to the current target cabinet according to the cabinet images of at least one cabinet.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of detecting the interior space of a cabinet according to any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the cabinet interior space detection method according to any one of claims 1 to 7.
CN202110711683.1A 2021-06-25 2021-06-25 Method, device and system for detecting internal space of cabinet Pending CN113436246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110711683.1A CN113436246A (en) 2021-06-25 2021-06-25 Method, device and system for detecting internal space of cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110711683.1A CN113436246A (en) 2021-06-25 2021-06-25 Method, device and system for detecting internal space of cabinet

Publications (1)

Publication Number Publication Date
CN113436246A true CN113436246A (en) 2021-09-24

Family

ID=77754471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110711683.1A Pending CN113436246A (en) 2021-06-25 2021-06-25 Method, device and system for detecting internal space of cabinet

Country Status (1)

Country Link
CN (1) CN113436246A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921243A (en) * 2018-06-21 2018-11-30 中国联合网络通信集团有限公司 A kind of acquisition methods and device of data center's capacity
CN111027649A (en) * 2019-11-11 2020-04-17 深圳供电局有限公司 Data center cabinet use information management method and system
WO2020238232A1 (en) * 2019-05-29 2020-12-03 创新先进技术有限公司 Image recognition method, apparatus and device, and authentication method, apparatus and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921243A (en) * 2018-06-21 2018-11-30 中国联合网络通信集团有限公司 A kind of acquisition methods and device of data center's capacity
WO2020238232A1 (en) * 2019-05-29 2020-12-03 创新先进技术有限公司 Image recognition method, apparatus and device, and authentication method, apparatus and device
CN111027649A (en) * 2019-11-11 2020-04-17 深圳供电局有限公司 Data center cabinet use information management method and system

Similar Documents

Publication Publication Date Title
CN106407984B (en) Target object identification method and device
CN102158689B (en) Video monitoring system and method
CN109032039B (en) Voice control method and device
CN110471804B (en) Equipment debugging method and device and electronic equipment
CN105554372B (en) Shooting method and device
CN104731441A (en) Information processing method and electronic devices
CN111292327B (en) Machine room inspection method, device, equipment and storage medium
CN210093385U (en) Device for monitoring on-off state of switch
CN110059623B (en) Method and apparatus for generating information
CN107631750B (en) Method, device, terminal and storage medium for testing terminal to be tested
CN109581886A (en) Apparatus control method, device, system and storage medium
CN104636036A (en) Image display control method and device
CN109413361A (en) A kind of control method of terminal operating status, system and terminal device
CN110458108B (en) Manual operation real-time monitoring method, system, terminal equipment and storage medium
CN110852196B (en) Face recognition information display method and device
CN110225141B (en) Content pushing method and device and electronic equipment
CN109388238A (en) The control method and device of a kind of electronic equipment
CN109903308B (en) Method and device for acquiring information
CN113705389A (en) Face recognition module testing method and device, storage medium and electronic equipment
CN113436246A (en) Method, device and system for detecting internal space of cabinet
CN111314649B (en) Method and device for establishing video conference and video conference system
US20230156161A1 (en) Failure identification and handling method, and system
CN117037059A (en) Equipment management method and device based on inspection monitoring and electronic equipment
CN110390731A (en) Image processing method, device, computer readable storage medium and electronic equipment
CN115061380A (en) Device control method and device, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination