CN109102045B - Detection method for server label of whole cabinet - Google Patents

Detection method for server label of whole cabinet Download PDF

Info

Publication number
CN109102045B
CN109102045B CN201810895063.6A CN201810895063A CN109102045B CN 109102045 B CN109102045 B CN 109102045B CN 201810895063 A CN201810895063 A CN 201810895063A CN 109102045 B CN109102045 B CN 109102045B
Authority
CN
China
Prior art keywords
cabinet
node equipment
label
detection
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810895063.6A
Other languages
Chinese (zh)
Other versions
CN109102045A (en
Inventor
王贞国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810895063.6A priority Critical patent/CN109102045B/en
Publication of CN109102045A publication Critical patent/CN109102045A/en
Application granted granted Critical
Publication of CN109102045B publication Critical patent/CN109102045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Abstract

The invention belongs to the technical field of data processing. The invention provides a detection method and a detection device for a server label of a whole cabinet, wherein the detection method controls the detection device to move to a first position of a cabinet after receiving a detection instruction, identifies cabinet information, inquires target whole machine configuration information according to the cabinet information, then controls the detection device to move to a second position, identifies a node equipment label arranged at the second position, obtains the content of the node equipment label, compares the content with node equipment parameters in the target whole machine configuration information to obtain a comparison result, and displays the comparison result to a user.

Description

Detection method for server label of whole cabinet
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for detecting a server label of a whole cabinet.
Background
The whole cabinet server is a product assembled by matching various node devices on a cabinet according to the network topology of the customer requirements in order to meet the diversified customization requirements of the customer. The node devices generally include hard disks, three-layer switches, and the like.
After the assembly is completed, the cabinet and the node device need to be labeled at the designated positions, and the content of the label is different according to the network topology actually required by the user, for example, the content of the label corresponding to the hard disk may be information such as the hard disk model, the hard disk capacity, the hard disk type, and the like, and the content of the label corresponding to the cabinet may be cabinet information such as the cabinet model, the cabinet serial number, the order number, the production date, and the like. Due to different requirements and different network topologies, the locations of the node devices and the content of the labels of the node devices in the entire rack servers may be different.
At present, the correctness of the content of the label in the whole cabinet server is checked by simply relying on quality management personnel, and the method is not efficient and wastes manpower.
Disclosure of Invention
In view of this, the invention provides a method and a device for detecting a server tag of a whole cabinet, so that manual quality inspection is completely replaced, full-automatic detection is realized, the labor cost of personnel is reduced, and the working efficiency is improved.
The invention provides a method for detecting labels of a complete cabinet server, wherein a cabinet of the complete cabinet server comprises a plurality of node devices assembled according to network topology of user requirements, the position of the cabinet of each node device is different, each node device is provided with a label of the node device, the content of the label comprises related information of the node device, a detection device is arranged on the cabinet and is in communication connection with a data server, cabinet information and complete machine configuration information of the cabinet of each complete cabinet server are stored in the data server, the complete machine configuration information comprises node device parameters of the cabinet of each node device in the cabinet and node parameter positions corresponding to the node device parameters, and the detection method comprises the following steps:
receiving a detection instruction;
controlling the detection device to move to a first position of the cabinet according to the detection instruction, and identifying a cabinet label at the first position to obtain cabinet information; the first position is used for representing the position of a cabinet label of a cabinet;
sending an inquiry instruction including the cabinet information to the data server so that the data server searches and returns target complete machine configuration information corresponding to the cabinet information according to the cabinet information in the inquiry instruction;
receiving and analyzing target complete machine configuration information returned by the data server to obtain node equipment parameters of each node equipment;
moving the detection device to a second position according to a preset moving rule; the second position is provided with a label;
analyzing the node equipment label at the second position to obtain node equipment label content;
comparing the node equipment label content with the node equipment parameters to obtain a detection result;
and displaying the detection result to a user.
Preferably, the method further comprises the following steps:
and after the detection result is displayed to the user, executing the step of moving the detection equipment according to a preset moving rule.
Preferably, the detection device specifically includes:
the system comprises a track arranged on a cabinet, and an image acquisition device, a mobile device and a network device which are connected with a main control board;
the system comprises a main control board, a Linux operating system and a test script, wherein the Linux operating system is installed in the main control board and comprises the test script;
the image acquisition device is used for acquiring the image of the label and sending the acquired image to the main control board for analysis;
the mobile device is used for moving on the track according to the moving instruction sent by the main control board;
the network device is used for establishing network connection with the data server.
Preferably, the detection device further comprises a display unit;
the display unit is used for triggering a detection instruction;
the displaying the detection result to the user comprises:
and displaying the detection result on the display unit.
Preferably, the detection device further comprises a communication unit;
and the communication unit is used for sending the detection result to a specified terminal for displaying.
Preferably, the controlling the detection device to move to the first position of the cabinet comprises:
analyzing the test script to obtain an initial position coordinate of a cabinet label of the cabinet, and taking the initial position coordinate as a first position of the cabinet;
and controlling the moving device of the testing device to move to the initial position coordinate on the track.
Preferably, the method further comprises the following steps:
analyzing the target complete machine configuration information to obtain a node equipment position corresponding to the node equipment parameter of each node equipment;
calculating a second position coordinate according to the initial position coordinate;
comparing the second position coordinate with the node equipment position corresponding to the node equipment label to obtain a comparison result;
and displaying the comparison result to a user.
Preferably, the method further comprises the following steps:
if the detection result is a fault and/or the comparison result is a fault, recording a third position corresponding to the fault;
when a fault repairing instruction is received, controlling the moving device of the detection device to move to the third position on the track;
identifying the label of the repair node equipment set at the third position to obtain the label content of the repair node equipment;
comparing the content of the repaired node label with the parameter of the node equipment and comparing the position of the repaired node equipment corresponding to the content of the repaired node label with the coordinate of the third position to obtain a label detection result of the repaired node equipment;
and displaying the label detection result of the repaired node equipment to a user.
Preferably, the preset movement rule is from top to bottom and from left to right.
The invention also provides a detection device for the server label of the whole cabinet, which is applied to the detection method, and the detection device comprises:
the system comprises a track arranged on a cabinet, and an image acquisition device, a mobile device and a network device which are connected with a main control board;
the system comprises a main control board, a Linux operating system and a test script, wherein the Linux operating system is installed in the main control board and comprises the test script;
the image acquisition device is used for acquiring the image of the label and sending the acquired image to the main control board for analysis;
the mobile device is used for moving on the track according to the moving instruction sent by the main control board;
the network device is used for establishing network connection with the data server.
The invention belongs to the technical field of data processing. The invention provides a detection method and a detection device for a server label of a whole cabinet, wherein the detection method controls the detection device to move to a first position of a cabinet after receiving a detection instruction, identifies cabinet information, inquires target whole machine configuration information according to the cabinet information, then controls the detection device to move to a second position, identifies a node equipment label arranged at the second position, obtains the content of the node equipment label, compares the content with node equipment parameters in the target whole machine configuration information to obtain a comparison result, and displays the comparison result to a user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a method for detecting a server tag of a complete cabinet according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a detection apparatus for a server tag of a complete cabinet according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
Fig. 1 is a flowchart of a method for detecting a server tag of a whole rack according to the present invention.
Referring to fig. 1, the present invention provides a method for detecting a label of a complete cabinet server, where a cabinet of the complete cabinet server includes a plurality of node devices assembled according to a network topology of a user requirement, a location of the cabinet where each node device is located is different, a label of the node device is set on each node device, a content of the label includes related information of the node device, a detection device is set on the cabinet, the detection device is in communication connection with a data server, cabinet information of the cabinet of each complete cabinet server and complete machine configuration information are stored in the data server, and the complete machine configuration information includes a node device parameter of the cabinet where each node device is located in the cabinet and a node parameter location corresponding to the node device parameter.
In the embodiment of the present invention, a main application scenario is that a whole cabinet server includes a plurality of node devices in a cabinet of the whole cabinet server, where an assembly manner of the node devices is determined according to a network topology required by a user, the node devices may include a plurality of types, for example, a hard disk, a three-layer switch, a router, a firewall, a network cable, and the like, after each node device is set on the slave cabinet, a node device label needs to be set for each node device, and generally, a setting manner is a pasting manner, and may be other fixing manners. The content of the node device label may be a two-dimensional code or a bar code, or may be only text. The content of the node device label is set according to actual requirements, for example, the label content of the network cable can be set as information such as a source address, a destination address, an IP address of a corresponding network port, and the like. The tag content of the hard disk can be set to be information such as Seagate, 2T, Raid array I, etc. The information corresponds to the content desired by the user. And each cabinet of the whole cabinet server is provided with a cabinet label, and the content of the cabinet label comprises an SN serial number, a package name, an order number, a production date, a model number and the like of the cabinet.
A detection device is arranged on a cabinet of the whole cabinet server and matched with the cabinet, so that the detection device can freely move on the cabinet and identify a label arranged on node equipment of the detection device.
The data server connected with the detection device is pre-configured with complete machine configuration information, wherein the complete machine configuration information refers to specific node positions and node parameters of node equipment which is distributed according to network topology required by a user, the node positions are coordinates of the node equipment in the cabinet, and the node parameters are label contents of labels of the node equipment. Because the serial number of the cabinet is unique, after the serial number of the cabinet is obtained, various information corresponding to the server of the whole cabinet can be found.
The monitoring method disclosed by the invention comprises the following steps:
s10, receiving a detection instruction;
s20, controlling the detection device to move to a first position of the cabinet according to the detection instruction, and identifying a cabinet label at the first position to obtain cabinet information; the first position is used for representing the position of a cabinet label of a cabinet;
in the embodiment of the present invention, referring to fig. 2, the detection device may specifically include:
a track 0 arranged on the cabinet, and an image acquisition device 2, a mobile device 3 and a network device 4 (not shown in the figure) connected with a main control board 1 (not shown in the figure);
the main control board 1 is internally provided with a Linux operating system, and the Linux operating system comprises a test script;
the image acquisition device 2 is used for acquiring the image of the label and sending the acquired image to the main control board for analysis;
the moving device 3 is used for moving on the track according to a moving instruction sent by the main control board;
the network device 4 is configured to establish a network connection with the data server.
In the detection device in the embodiment of the invention, the rails 0 are arranged at the two sides and the middle of the cabinet to form an H-shaped framework, the moving device 3 can be a motor or a motor and other equipment with a moving function, and the motor can freely move on the rails. Due to the particularity of the cabinet, there are standard U (unit) units in the cabinet, wherein the distance of each U is equal, and the length, width and height of the cabinet can be represented by U, for example, 42U in length and 20U in width. Because the technical scheme of the invention only designs a plane without involving high dimensionality, the xy-axis plane graph of the cabinet can be constructed by utilizing the characteristic, and one U is used as a basic unit of a coordinate, so that the specific coordinate of the position of each node device of the whole cabinet can be completely mapped in the plane graph. Wherein, the position of the bottom left lower corner of the cabinet is the (0, 0) origin.
The main control board 1 may be in various forms as long as it can install an operating system and process the transmitted pictures. The specific implementation form is not particularly limited. Preferably, the operating system is a Linux operating system, which includes a test script for executing the test.
The image acquisition device 2 can be an industrial-grade camera or a video camera, and the shooting definition can be ensured. It can be understood that the camera can automatically adjust the focal length and the shooting angle, so that labels which are not adhered to the standard can be clearly and correctly identified. It can be understood that the image acquisition device is arranged between the track and the cabinet so as to avoid track shading shooting.
Preferably, the detection device further comprises a display unit;
the display unit is used for triggering a detection instruction.
In the embodiment of the invention, according to the detection instruction, the detection device is controlled to move to the first position of the cabinet, and the cabinet label at the first position is identified to obtain the cabinet information; the first location is used to characterize the location of the cabinet label where the cabinet is located.
The detection instruction can be triggered by a user through a display unit, and the display unit can be a liquid crystal touch screen and can perform operations such as displaying information and sending instructions.
When receiving the detection instruction, can control detection device and remove, because the label of rack has fixed setting position usually, consequently, first position can preset. When the mobile terminal moves to the first position, the label set at the position is identified, the content of the label is identified, and the cabinet information is obtained, wherein the cabinet information comprises information such as the serial number, the name, the order number and the type of the cabinet.
The controlling the detection device to move to the first position of the cabinet comprises:
analyzing the test script to obtain an initial position coordinate of a cabinet label of the cabinet, and taking the initial position coordinate as a first position of the cabinet;
and controlling the moving device of the testing device to move to the initial position coordinate on the track.
S30, sending a query instruction including the cabinet information to the data server, so that the data server searches and returns target complete machine configuration information corresponding to the cabinet information according to the cabinet information in the query instruction;
in the embodiment of the invention, after the cabinet information is obtained, the network unit sends the query instruction to the data server, so that the data server can search the corresponding target complete machine configuration information according to the query instruction. Because the data server is preset with the relevant complete machine configuration information of each complete machine cabinet server, if the serial number of the cabinet is obtained, the corresponding unique target complete machine configuration information can be found.
The target complete machine configuration information specifically comprises node equipment parameters of a cabinet where each node equipment is located and node parameter positions corresponding to the node equipment parameters.
S40, receiving and analyzing the target complete machine configuration information returned by the data server to obtain the node equipment parameters of each node equipment;
in the embodiment of the invention, after target complete machine configuration information obtained by querying of the data server is received, the target complete machine configuration information is analyzed to obtain node equipment parameters.
S50, moving the detection device to a second position according to a preset moving rule; the second position is provided with a label;
s60, analyzing the node equipment label at the second position to obtain the node equipment label content;
s70, comparing the node equipment label content with the node equipment parameters to obtain a detection result;
in the embodiment of the invention, after the parameters of the node equipment are obtained, the detection equipment is moved to the second position, namely, the detection equipment is controlled to move according to the preset movement parameters, and when the camera shoots the label, the movement is stopped to identify the content of the label. The preset movement rule is from top to bottom and from left to right. Such as controlling 5U upward and 2U rightward movements.
In the embodiment of the invention, when the node equipment label is shot, the movement is stopped, after the node equipment label is analyzed to obtain the content of the node equipment label, whether the content of the node equipment label is matched with the previous node equipment parameter is searched, if the content of the node equipment label is matched with the previous node equipment parameter, the content of the label is correct and meets the user requirement of the whole cabinet server, and if not, the content of the label is incorrect.
And S80, displaying the detection result to a user.
And finally, displaying the detection result to the user.
Wherein the presentation to the user may be achieved in a variety of ways. One way is to display in a display device, which can also be sent to a terminal for presentation.
Specifically, the detection device further comprises a communication unit;
and the communication unit is used for sending the detection result to a specified terminal for displaying.
And when the detection result of the current position label is obtained, moving to the next label for repeated detection until all the labels are detected.
The embodiment of the invention also comprises the following steps:
after the detection result is presented to the user, the process of S50-S70 is repeated. Until the last tag detection is completed. Of course, the label identification method can also stop after reaching the preset position, and the label identification method is not limited to the method, and only needs to represent that all labels are identified.
The invention provides a method for detecting a server label of a whole machine cabinet, which comprises the steps of controlling a detection device to move to a first position of a cabinet after receiving a detection instruction, identifying cabinet information, inquiring target whole machine configuration information according to the cabinet information, identifying a label arranged at the first position to obtain target label content, comparing the target label content with node equipment parameters in the target whole machine configuration information to obtain a comparison result, and displaying the comparison result to a user.
In the above embodiments, an automated way of detecting the content of the tag was described, but this way does not take into account the location, and if the content matches, but the location is wrong, then it should also belong to a faulty tag. Therefore, if the content is identified as correct, the determination of whether the positions match should be continued.
Therefore, based on the above embodiment, the embodiment of the present invention further includes:
analyzing the target complete machine configuration information to obtain a node equipment position corresponding to the node equipment parameter of each node equipment;
calculating a second position coordinate according to the initial position coordinate;
comparing the second position coordinate with the node equipment position corresponding to the node equipment label to obtain a comparison result;
and displaying the comparison result to a user.
In the embodiment of the invention, after the detection result is obtained by identification, whether the position is correct needs to be further judged. Therefore, in the embodiment of the present invention, the node device position of each node device is obtained by analyzing the target complete machine configuration information, and the second position coordinate of the currently stopped position is calculated according to the initial position coordinate. Since the origin position is determined, the coordinates of the second position with respect to the origin position can be calculated from the distances of the second position from the horizontal axis x and the vertical axis y of the origin position.
And then comparing the position of the node equipment corresponding to the obtained target label to see whether the preset error is met, wherein the position of the label has an error in a certain position during pasting and during identification, so that in the technical scheme of the invention, a receivable error range is set according to actual conditions, then whether the difference value between the second position coordinate and the equipment node position is within the error range is judged, if so, the position of the label is shown to belong to a normal range, and if not, the label is determined to be not matched with the pasting position.
When a fault occurs, the user can correct the fault firstly, and then the detection instruction sent by the user continues to detect the next position.
Of course, the whole detection may be performed after the whole detection is completed, and therefore, on the basis of the above embodiment, the present invention further includes:
if the detection result is a fault and/or the comparison result is a fault, recording a third position corresponding to the fault;
when a fault repairing instruction is received, controlling the moving device of the detection device to move to the third position on the track;
identifying the label of the repair node equipment set at the third position to obtain the label content of the repair node equipment;
comparing the content of the repaired node label with the parameter of the node equipment and comparing the position of the repaired node equipment corresponding to the content of the repaired node label with the coordinate of the third position to obtain a label detection result of the repaired node equipment;
and displaying the label detection result of the repaired node equipment to a user.
That is to say, in the embodiment of the present invention, when the detection result is a failure or the comparison result is a failure, it indicates that the content or the position of the attached label has an error, and records the position where the failure occurs, that is, the third position. After all the node devices of the cabinet are detected, the user corrects the wrong label according to the recorded result, then sends a fault repairing instruction, and only re-identifies at the third position to judge whether the changed label meets the requirement of the user.
Therefore, the embodiment of the invention can verify whether the repaired label meets the standard after the detection is finished, further ensures that the label with the fault can be accurately detected, and improves the detection precision.
Fig. 2 is a schematic structural diagram of a device for detecting a server tag of a complete cabinet according to an embodiment of the present invention.
The detection device includes:
a track 0 arranged on the cabinet, and an image acquisition device 2, a mobile device 3 and a network device 4 (not shown in the figure) connected with a main control board 1 (not shown in the figure);
the main control board 1 is internally provided with a Linux operating system, and the Linux operating system comprises a test script;
the image acquisition device 2 is used for acquiring the image of the label and sending the acquired image to the main control board for analysis;
the moving device 3 is used for moving on the track according to a moving instruction sent by the main control board;
the network device 4 is configured to establish a network connection with the data server.
In the detection device in the embodiment of the invention, the rails 0 are arranged at the two sides and the middle of the cabinet to form an H-shaped framework, the moving device 3 can be a motor or a motor and other equipment with a moving function, and the motor can freely move on the rails. Due to the particularity of the cabinet, there are standard U (unit) units in the cabinet, wherein the distance of each U is equal, and the length, width and height of the cabinet can be represented by U, for example, 42U in length and 20U in width. Because the technical scheme of the invention only designs a plane without involving high dimensionality, the xy-axis plane graph of the cabinet can be constructed by utilizing the characteristic, and one U is used as a basic unit of a coordinate, so that the specific coordinate of the position of each node device of the whole cabinet can be completely mapped in the plane graph. Wherein, the position of the bottom left lower corner of the cabinet is the (0, 0) origin.
The main control board 1 may be in various forms as long as it can install an operating system and process the transmitted pictures. The specific implementation form is not particularly limited. Preferably, the operating system is a Linux operating system, which includes a test script for executing the test.
The image acquisition device 2 can be an industrial-grade camera or a video camera, and the shooting definition can be ensured. It can be understood that the camera can automatically adjust the focal length and the shooting angle, so that labels which are not adhered to the standard can be clearly and correctly identified.
Preferably, the detection device further comprises a display unit;
the display unit is used for triggering a detection instruction.
In the embodiment of the invention, according to the detection instruction, the detection device is controlled to move to the first position of the cabinet, and the cabinet label at the first position is identified to obtain the cabinet information; the first location is used to characterize the location of the cabinet label where the cabinet is located.
The detection instruction can be triggered by a user through a display unit, and the display unit can be a liquid crystal touch screen and can perform operations such as displaying information and sending instructions.
The invention provides a detection device for a server label of a whole cabinet, a main control board 0 of the detection device controls a mobile device 4 of the detection device to move to a first position of the cabinet after receiving a detection instruction, the image acquisition device 2 identifies the cabinet information, inquires the configuration information of the target complete machine according to the cabinet information, then the mobile device 3 of the detection device is controlled to move to a second position, the image acquisition device 2 identifies the node equipment label arranged at the second position to obtain the content of the node equipment label, the content of the node equipment label is compared with the node equipment parameter in the target complete machine configuration information obtained by the network device 3 to obtain a comparison result, the comparison result is displayed to a user in a display unit, then the main control board 0 analyzes the target complete machine configuration information to obtain the node equipment position corresponding to the node equipment parameter of each node equipment; calculating a second position coordinate according to the initial position coordinate; comparing the second position coordinate with the node equipment position corresponding to the node equipment label to obtain a comparison result; and displaying the comparison result to a user in a display unit. The whole process is completely free from manual participation, whether the content and the position of the label set by each node device in the whole cabinet server are correct or not can be obtained, the working efficiency is greatly improved, and the manpower is saved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for the detection method and the detection device for the server tag of the whole cabinet, and a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding 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 (7)

1. A method for detecting labels of servers in a whole cabinet is characterized in that the cabinet of the server in the whole cabinet comprises a plurality of node devices assembled according to network topology required by users, the position of each node device in the cabinet is different, each node device is provided with a node device label, the content of the label comprises the related information of the node equipment, the cabinet is provided with a detection device, the detection device is in communication connection with a data server, cabinet information and complete machine configuration information of each complete machine server are stored in the data server, the complete machine configuration information comprises node equipment parameters of a cabinet in which each node equipment is located in the cabinet and positions of the node equipment corresponding to the node equipment parameters, wherein the node equipment labels are two-dimensional codes or bar codes, and the detection method comprises the following steps:
receiving a detection instruction;
controlling the detection device to move to a first position of the cabinet according to the detection instruction, and identifying a cabinet label at the first position to obtain cabinet information; the first position is used for representing the position of a cabinet label of a cabinet;
sending an inquiry instruction including the cabinet information to the data server so that the data server searches and returns target complete machine configuration information corresponding to the cabinet information according to the cabinet information in the inquiry instruction;
receiving and analyzing target complete machine configuration information returned by the data server to obtain node equipment parameters of each node equipment;
moving the detection device to a second position according to a preset moving rule; the second position is provided with a node equipment label;
analyzing the node equipment label at the second position to obtain node equipment label content;
comparing the node equipment label content with the node equipment parameters to obtain a detection result;
displaying the detection result to a user;
the detection device specifically includes:
the system comprises a track arranged on a cabinet, and an image acquisition device, a mobile device and a network device which are connected with a main control board;
the system comprises a main control board, a Linux operating system and a test script, wherein the Linux operating system is installed in the main control board and comprises the test script;
the image acquisition device is used for acquiring the image of the label and sending the acquired image to the main control board for analysis;
the mobile device is used for moving on the track according to the moving instruction sent by the main control board;
the network device is used for establishing network connection with the data server;
the controlling the detection device to move to the first position of the cabinet comprises:
analyzing the test script to obtain an initial position coordinate of a cabinet label of the cabinet, and taking the initial position coordinate as a first position of the cabinet;
controlling a moving device of the detecting device to move to the initial position coordinate on the track;
the specific coordinates of the position of each node device are mapped by an xy-axis plan of the cabinet constructed by taking U as a basic unit.
2. The detection method according to claim 1, further comprising:
and after the detection result is displayed to the user, executing the step of moving the detection device according to a preset moving rule.
3. The detection method according to claim 1, wherein the detection apparatus further comprises a display unit;
the display unit is used for triggering a detection instruction;
the displaying the detection result to the user comprises:
and displaying the detection result on the display unit.
4. The detection method according to claim 1, wherein the detection apparatus further comprises a communication unit;
and the communication unit is used for sending the detection result to a specified terminal for displaying.
5. The detection method according to claim 1, further comprising:
analyzing the target complete machine configuration information to obtain a node equipment position corresponding to the node equipment parameter of each node equipment;
calculating a second position coordinate according to the initial position coordinate;
comparing the second position coordinate with the node equipment position corresponding to the node equipment label to obtain a comparison result;
and displaying the comparison result to a user.
6. The detection method according to claim 5, further comprising:
if the detection result is a fault and/or the comparison result is a fault, recording a third position corresponding to the fault;
when a fault repairing instruction is received, controlling the moving device of the detection device to move to the third position on the track;
identifying the label of the repair node equipment set at the third position to obtain the label content of the repair node equipment;
comparing the label content of the repaired node equipment with the node equipment parameters and comparing the position of the repaired node equipment corresponding to the label content of the repaired node equipment with the coordinates of the third position to obtain a label detection result of the repaired node equipment;
and displaying the label detection result of the repaired node equipment to a user.
7. The detection method according to any one of claims 1 to 6, wherein the preset movement rule is from top to bottom and from left to right.
CN201810895063.6A 2018-08-08 2018-08-08 Detection method for server label of whole cabinet Active CN109102045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810895063.6A CN109102045B (en) 2018-08-08 2018-08-08 Detection method for server label of whole cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810895063.6A CN109102045B (en) 2018-08-08 2018-08-08 Detection method for server label of whole cabinet

Publications (2)

Publication Number Publication Date
CN109102045A CN109102045A (en) 2018-12-28
CN109102045B true CN109102045B (en) 2022-02-18

Family

ID=64848867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810895063.6A Active CN109102045B (en) 2018-08-08 2018-08-08 Detection method for server label of whole cabinet

Country Status (1)

Country Link
CN (1) CN109102045B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788052B (en) * 2019-01-02 2021-11-26 郑州云海信息技术有限公司 Server configuration remote query method, device, terminal and storage medium
CN111599030A (en) * 2019-02-21 2020-08-28 广州高新兴机器人有限公司 Robot inspection method and system based on machine room
CN111242258B (en) * 2020-02-23 2023-05-02 安徽古井贡酒股份有限公司 White spirit front end detection system and method
CN112988269A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Central server configuration parameter comparison method and device
CN114492694A (en) * 2022-02-08 2022-05-13 北京城建设计发展集团股份有限公司 Rack building method and system based on rail transit and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065167A (en) * 2012-12-17 2013-04-24 北京中电普华信息技术有限公司 Monitoring system and monitoring method of equipment positions in cabinet
CN105158733A (en) * 2015-09-29 2015-12-16 上海十贝电子科技有限公司 Machine cabinet positioning system and positioning method
CN105930250A (en) * 2016-04-27 2016-09-07 林奎 IT device cabinet U bit management method and U bit manager
CN106901518A (en) * 2017-04-17 2017-06-30 深圳市翔创瑞联科技有限公司 A kind of Internet of Things intelligent gun cabinet and its application method
CN107526982A (en) * 2017-09-05 2017-12-29 天津帕比特科技有限公司 A kind of method for inspecting and cruising inspection system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685386B (en) * 2012-09-12 2019-04-12 北京百度网讯科技有限公司 For determining the method and apparatus for calculating location information of the equipment in whole machine cabinet
CN107145209A (en) * 2017-06-02 2017-09-08 郑州云海信息技术有限公司 The method for managing power supply and device of a kind of equipment cabinet server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065167A (en) * 2012-12-17 2013-04-24 北京中电普华信息技术有限公司 Monitoring system and monitoring method of equipment positions in cabinet
CN105158733A (en) * 2015-09-29 2015-12-16 上海十贝电子科技有限公司 Machine cabinet positioning system and positioning method
CN105930250A (en) * 2016-04-27 2016-09-07 林奎 IT device cabinet U bit management method and U bit manager
CN106901518A (en) * 2017-04-17 2017-06-30 深圳市翔创瑞联科技有限公司 A kind of Internet of Things intelligent gun cabinet and its application method
CN107526982A (en) * 2017-09-05 2017-12-29 天津帕比特科技有限公司 A kind of method for inspecting and cruising inspection system

Also Published As

Publication number Publication date
CN109102045A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN109102045B (en) Detection method for server label of whole cabinet
US10404543B2 (en) Overlay-based asset location and identification system
KR102017561B1 (en) Algorithm and method for detecting error data of machine based on machine-learning technique
US10332314B2 (en) Hands-free asset identification, location and management system
US20070095907A1 (en) Imaging method and system for tracking devices
CN111292327B (en) Machine room inspection method, device, equipment and storage medium
US20170263016A1 (en) Computer-readable storage medium storing management program, management apparatus, and management method
CN110956231A (en) Method, memory and system for automatically binding asset management electronic tag
CN109697516A (en) A kind of air-conditioning auxiliary maintaining method, apparatus and system
CN111930054B (en) Computer room management method, computer room management device, storage medium and equipment
CN106407054B (en) BMC automatic test system and method
CN104375930A (en) Firmware detection system and method
CN106507656B (en) Method for correcting element carrier and automatic assembling machine
CN112766438A (en) Asset monitoring method, device, equipment and storage medium
CN108024090B (en) Abnormity positioning method and device for video monitoring platform
CN110474821B (en) Node fault detection method and device
WO2023220590A2 (en) Systems and methods for commissioning a machine vision system
CN100389565C (en) Analytic method of expression type
KR20200141274A (en) Position Verification Method for Equipment Layout at 3D Design of Smart Factory
CN109635552A (en) Electronic equipment identity information verification method and device
CN115185792A (en) Fault hardware processing method, device and system
CN106469074B (en) Updating system and application method thereof
KR20190044812A (en) System and method for providing production process big data service
JP2021168161A (en) Mobile device
CN113139957A (en) Inspection method, apparatus, system and medium in product assembly process

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
GR01 Patent grant
GR01 Patent grant