A method, device and system for obtaining position relationship

By using passive radio frequency tags and radio frequency identification technology on the U-positions of servers and cabinets, location relationships are automatically obtained, which solves the error-prone problem of manual entry, improves efficiency and accuracy, and reduces costs.

CN113762433BActive Publication Date: 2024-09-20BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010748844.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-30
Publication Date
2024-09-20
Estimated Expiration
2040-07-30

AI Technical Summary

Technical Problem

In the existing technology, manual entry of the location relationship between servers and cabinets is prone to omissions and errors, and maintenance methods are cumbersome, resulting in low efficiency and high costs.

Method used

Passive radio frequency tags are used to scan the U-positions of servers and cabinets, and combined tags are generated through a tag combination device. Radio frequency identification technology is used to automatically obtain location relationships and reduce manual entry steps.

Benefits of technology

It improves the accuracy and efficiency of location relationship acquisition, reduces costs, reduces manual errors, and realizes automated maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113762433B
    Figure CN113762433B
Patent Text Reader

Abstract

The present application provides a method, device and system for obtaining a position relationship, the method comprising: scanning the label of a server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; binding the label of the cabinet U position and the label of the corresponding server to generate a combined label, so that the label reading device obtains the position relationship between the cabinet U position and the server when reading the combined label. The method can greatly save costs, improve work efficiency, and is not prone to errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a method, device and system for acquiring position relationship. Background Art

[0002] At present, the data center's solution for maintaining the placement relationship between servers and cabinets is that on-site implementation personnel first put the server on the cabinet, and then manually enter the placement relationship between the server and the cabinet in the corresponding management system.

[0003] In the process of implementing the present application, the inventors found that manually entering the placement position relationship is prone to omissions and errors, and the maintenance method is cumbersome. Summary of the invention

[0004] In view of this, the present application provides a method, device and system for obtaining position relationships, which can greatly save costs, improve work efficiency and are less prone to errors.

[0005] To solve the above technical problems, the technical solution of this application is implemented as follows:

[0006] In one embodiment, a method for obtaining a position relationship is provided, the method comprising:

[0007] Scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0008] The label of the cabinet U position and the label of the corresponding server are bound to generate a combined label, so that the label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label.

[0009] In another embodiment, a method for obtaining a position relationship is provided, the method comprising:

[0010] Read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0011] The positional relationship between the cabinet U position and the server is determined according to the read labels of the cabinet U position and the server.

[0012] In another embodiment, a position relationship acquisition device is provided, the device comprising: a scanning unit and a generating unit;

[0013] The scanning unit is used to scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0014] The generating unit is used to bind the label of the cabinet U position obtained by the scanning unit and the label of the corresponding server to generate a combined label, so that the label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label.

[0015] In another embodiment, a position relationship acquisition device is provided, the device comprising: a reading unit and an acquisition unit;

[0016] The reading unit is used to read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0017] The acquisition unit is used to determine the position relationship between the cabinet U position and the server according to the labels of the cabinet U position and the server read by the reading unit.

[0018] In another embodiment, a position relationship acquisition system is provided, the system comprising: a tag assembly device and a tag reading device;

[0019] The label combination device scans the label of the server on the shelf and the label of the corresponding cabinet U position, binds the label of the cabinet U position and the label of the corresponding server, and generates a combined label; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0020] The label reading device reads the labels of the cabinet U position and the server in the combined label from the label combining device; and determines the positional relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

[0021] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the position relationship acquisition method implemented by the label combination device side when executing the program.

[0022] In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the position relationship acquisition method implemented by the label assembly device side are implemented.

[0023] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the position relationship acquisition method implemented by the tag reading device side are implemented.

[0024] In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the position relationship acquisition method implemented by the tag reading device side are implemented.

[0025] As can be seen from the above technical solution, in the above embodiment, by scanning the passive radio frequency tags pre-pasted on the cabinet U position and the server, and binding to generate a combined tag, the tag reading device can obtain the tags of the cabinet U position and the server, as well as the positional relationship between the cabinet U position and the server when reading the combined tag. This method does not require manual entry of the positional relationship between the cabinet U position and the server, which can greatly save costs, improve work efficiency, and is not prone to errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0027] Figure 1 This is a schematic diagram of a position relationship acquisition system in an embodiment of the present application;

[0028] Figure 2 This is a schematic diagram of the structure of the combined label in the embodiment of the present application;

[0029] Figure 3 This is a schematic diagram of the position relationship acquisition process in the first embodiment of the present application;

[0030] Figure 4 This is a schematic diagram of the position relationship acquisition process in Embodiment 3 of the present application;

[0031] Figure 5 This is a schematic diagram of the position relationship acquisition process in the fourth embodiment of the present application;

[0032] Figure 6 This is a schematic diagram of the position relationship acquisition process in Embodiment 5 of the present application;

[0033] Figure 7 This is a schematic diagram of the structure of a label assembly device applied to the above technology in an embodiment of the present application;

[0034] Figure 8 This is a schematic diagram of the structure of a tag reading device applied to the above technology in an embodiment of the present application;

[0035] Fig. 9 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention;

[0036] Fig.10 A schematic diagram of the physical structure of another electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0038] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0039] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0040] The present application provides a method for obtaining a position relationship, which is applied to a position relationship obtaining system. Figure 1 , Figure 1 This is a schematic diagram of a position relationship acquisition system in an embodiment of the present application. The system includes: a tag assembly device and a tag reading device;

[0041] The label reading device and the label combining device may be deployed on one device or on different devices.

[0042] The tag assembly device can be a handheld device or a fixed device, and can scan passive radio frequency tags.

[0043] Radio Frequency Identification (RFID) is a widely used automatic identification technology. The working principle of RFID is to use non-contact data communication between the scanning device and the tag to achieve the purpose of identifying the target.

[0044] In the embodiment of the present application, passive radio frequency tags are respectively affixed to the server to be put on the shelf and the U position of the cabinet; that is, the label of the server is a passive radio frequency tag pre-pasted on the server, and the label of the U position of the cabinet is a passive radio frequency tag pre-pasted on the U position of the cabinet. Through this passive radio frequency tag, tag scanning can be performed in a non-contact manner.

[0045] The label combination device scans the label of the server on the shelf and the label of the corresponding cabinet U position; binds the label of the cabinet U position and the label of the corresponding server to generate a combined label.

[0046] The combined label comprises:

[0047] An antenna is disposed and connected to a target component directly connected to the tag;

[0048] Two tags are respectively set on the two target components, and the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module.

[0049] In the embodiment of the present application, it is taken as an example that the label at the U position of the cabinet is directly connected to the antenna. It is also possible to take as an example that the label at the server is directly connected to the antenna. As long as the label reading device knows in advance through the agreement which label in the label combination device is directly connected to the antenna, it can be determined that the label read first is the label directly connected to the antenna.

[0050] If the cabinet U position and server labels are preset to be different, such as the cabinet U position label starts with 1 and the server label starts with 2, then in the specific implementation, the cabinet U position label is directly connected to the antenna, and the server label is connected to the antenna through a delay module; or the server label is directly connected to the antenna, and the cabinet U position label is directly connected to the antenna through a delay module. When the label reading device reads the two labels at different times, it distinguishes whether it is the server label or the cabinet U position label by the beginning of the label.

[0051] The structure of a combined tag is provided in the embodiment of the present application. In practical applications, it can be determined which tag is directly connected to the antenna and which tag is connected to the antenna through a delay module according to a pre-agreed agreement or the setting of the tag.

[0052] See 2, Figure 2 Schematic diagram of the structure of the combined label in the embodiment of the present application. Figure 2 As shown, in this embodiment, the combined tag includes an antenna 110 and two tags. Specifically, the antenna 110 is arranged in one of the two target components. For the sake of ease of understanding and explanation, the two target components are defined as the first target component 210 and the second target component 220 in this specification, and the antenna 110 is arranged in the first target component 210 as an example for explanation. The two tags are respectively arranged in the first target component 210 and the second target component 220, and each tag includes a chip (for example, each tag includes a chip and a coupling element, etc.), then the chip included in the tag arranged in the first target component 210 is the first chip 121, and the chip included in the tag arranged in the second target component 220 is the second chip 122. The two chips (i.e., two tags) are connected to the antenna 110 in parallel. Among them, the first tag is directly connected to the antenna 110, and the second tag is connected to the antenna 110 through the delay module 1221.

[0053] In combination with the specific implementation of the embodiment of the present application, the label of the cabinet U position is set on the first target component 210, and the label of the server is set on the second target component 220.

[0054] It should be noted that, in this embodiment, the combined tag includes two tags as an example for explanation. In other embodiments, the combined tag may also include three or more tags. That is, in various embodiments consistent with the concept of the present invention, the combined tag includes an antenna 110 and at least two tags. Among them, the antenna 110 is arranged at one of the at least two target components. At least two tags are respectively arranged at at least two target components, and at least two tags are connected to the antenna 110 in parallel, one of which is directly connected to the antenna 110, and the remaining tags are respectively connected to the antenna 110 through the delay module 1221. Accordingly, the combined tag can return the tag information to a tag reading device via the antenna 110, and return the information of each tag via each delay module 1221 with a preset time difference, and the time difference between each delay module 1221 corresponds to the binding relationship between each target component.

[0055] Through the structural design of the above-mentioned combined label, the present invention can also be applied to the binding relationship between multiple target components, and can identify the relationship between multiple target components according to the time difference. After the collected relationship is established, it can be directly corresponding to the real scene object. In addition, the present invention does not require the staff to perform secondary operations, has high efficiency and simple process.

[0056] The label reading device reads the labels of the cabinet U position and the server in the combined label from the label combining device; and determines the positional relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

[0057] The step of reading the combined label comprises:

[0058] The corresponding combined tag is read through the antenna, and the tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

[0059] like Figure 2 The combined tag shown can return the information of the two tags to a tag reading device via the antenna 110, and return the information of the second tag to the reader with a preset time difference via each delay module 1221. The time difference of the delay module 1221 corresponds to the binding relationship between the two target components.

[0060] Preferably, in this embodiment, the time difference for the delay module 1221 to return the tag information may be preferably 1 ms to 1 s, such as 1 ms, 5 ms, 0.5 s, 1 s, etc.

[0061] Preferably, in this embodiment, the delay module 1221 can be preferably a capacitor. In other embodiments, the delay module 1221 can also be other circuit elements with a delay function, and is not limited to this embodiment.

[0062] In the specific implementation of the embodiment of the present application, the position relationship between the cabinet U position and the server is maintained by continuously scanning the labels of the racked server and the cabinet U position, as follows:

[0063] When the label combination device scans that the server corresponding to the cabinet U position has been removed from the shelf, the label combination device deletes the cabinet U position and the combined label corresponding to the server.

[0064] In the specific implementation, when obtaining the positional relationship between the cabinet U position and the server, it can also be displayed in the form of a 3D digital twin model.

[0065] Among them, digital twins integrate multi-physics, multi-scale, multi-domain, and multi-disciplinary attributes, and have the characteristics of real-time synchronization, faithful mapping, and high fidelity. They are an effective technical means to achieve the interaction and integration of the physical world and the information world. According to the "three-dimensional structural model" of digital twins, digital twins include physical models in physical space, 3D printer digital twin virtual models in virtual space, and twin data information chains connecting physical models and virtual models. The 3D printer digital twin virtual model is a faithful digital mirror image of the physical model, which can efficiently and accurately evaluate, predict, and optimize the physical model and give it intelligence.

[0066] The device displaying the 3D digital twin model can be a PC, server, etc. that is independent of the position relationship acquisition system, or it can be implemented on a tag reading device, which is not limited in the embodiments of the present application.

[0067] In the specific implementation, a 3D digital twin model can be established in advance, or it can be established when the position relationship needs to be displayed; the data related to the position relationship is synchronized to the 3D digital twin model through the structure updated by the 3D digital twin model to display the position relationship.

[0068] During specific implementation, you can also obtain the cabinet U position information and server information, synchronize them to the 3D digital twin model for display, and directly display the relevant information at the location specified by the corresponding device, or display it when selecting the corresponding cabinet U position and server.

[0069] Further,

[0070] The tag reading device stores the positional relationship between the cabinet U position and the server;

[0071] When the position relationship between the cabinet U position and the server obtained by reading the combined label on the label combination device does not contain the stored position relationship between the cabinet U position and the server, the stored position relationship between the cabinet U position and the server is deleted; and the 3D digital twin model is updated.

[0072] When implemented in the embodiments of the present application, the scanning function of the label combination device and the function of the combined label can be deployed on one device or separately. When implemented, the scanning function can be integrated into a handheld device for movable scanning or integrated into a fixed device for scanning. The implementation of this function is not limited in the embodiments of the present application.

[0073] The embodiment of the present application obtains the correspondence between the cabinet U position and the server by reading the combined label on the label combination device, without the need to manually enter the position relationship between the cabinet U position and the server, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0074] This embodiment determines whether the locally stored positional relationship has changed by periodically or in real time reading the combined label on the label combination device. It can timely and automatically update and maintain the positional relationship between the cabinet U position and the server without manual operation, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0075] The positional relationship between the cabinet U position and the server is displayed through a 3D digital twin model, which provides real-time visualization and improves user experience.

[0076] The following describes in detail the position relationship acquisition process in the embodiment of the present application in conjunction with the accompanying drawings.

[0077] Embodiment 1

[0078] The tag combination device realizes the position relationship acquisition process.

[0079] See also Figure 3 , Figure 3 This is a schematic diagram of the position relationship acquisition process in Example 1 of this application. The specific steps are:

[0080] Step 301, scan the label of the server on the shelf and the label of the corresponding cabinet U position.

[0081] In the embodiment of the present application, passive radio frequency tags are respectively affixed to the server to be put on the shelf and the corresponding U position of the cabinet; that is, the label of the server is a passive radio frequency tag pre-pasted on the server, and the label of the U position of the cabinet is a passive radio frequency tag pre-pasted on the U position of the cabinet.

[0082] In specific implementation, the cabinet U position for which the combined label needs to be generated and the corresponding racked servers can be scanned in real time or periodically; or scanning can be performed when there are changes in the servers on the cabinet U position, such as putting servers on the rack or taking servers off the rack.

[0083] Scan to obtain the labels of the cabinet U positions on the server racks and the labels of the servers.

[0084] Step 302: Bind the label of the cabinet U position and the label of the corresponding server to generate a combined label, so that a label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label.

[0085] The combined label generated in this step includes:

[0086] An antenna is disposed and connected to a target component directly connected to the tag;

[0087] Two tags, respectively set at the two target components, the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module;

[0088] The combined tag is configured to return the tag information to the tag reading device via the antenna, and return the tag information with a preset delay via the delay module.

[0089] This embodiment scans the passive radio frequency tags pre-pasted on the cabinet U position and the server, and binds and generates a combined tag, so that the tag reading device can obtain the tags of the cabinet U position and the server, as well as the positional relationship between the cabinet U position and the server when reading the combined tag. This method does not require manual entry of the positional relationship between the cabinet U position and the server, which can greatly save costs, improve work efficiency, and is not prone to errors.

[0090] Embodiment 2

[0091] Periodically scan or scan in real time the labels of the cabinet U positions and racked servers in the computer room; or scan again when there are changes in the servers on the cabinet U positions, such as racking or removing servers.

[0092] When it is scanned that the server corresponding to the cabinet U position has been removed from the shelf, the combined label of the cabinet U position and the corresponding server is deleted.

[0093] If the server that has been put on the rack at the U position of the cabinet is now taken off the rack, there is no binding relationship between the U position of the cabinet and the server, and there is no need to bind the labels of the two into a combined label.

[0094] In the embodiment of the present application, the positional relationship between the U position of the cabinet and the server can be automatically maintained without manual maintenance of the positional relationship between the U position of the cabinet and the server, which saves costs and is less prone to errors.

[0095] Embodiment 3

[0096] The tag reading device realizes the position relationship acquisition process.

[0097] See also Figure 4 , Figure 4 This is a schematic diagram of the position relationship acquisition process in the third embodiment of this application. The specific steps are:

[0098] Step 401, read the labels of the cabinet U position and the server in the combined label from the label combination device.

[0099] The combined label is generated by binding the label of the server and the label of the corresponding cabinet U position by the label combination device; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0100] The combined label comprises:

[0101] An antenna is disposed and connected to a target component directly connected to the tag;

[0102] Two tags are respectively set on the two target components, and the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module.

[0103] This step reads the combined label generated by the label combination device, including:

[0104] The corresponding combined tag is read through the antenna, and the tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

[0105] Step 402: Determine the position relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

[0106] The corresponding relationship between the label of the cabinet U position read by an antenna and the label of the server, that is, the placement relationship, means that the server is put on the rack and placed on the cabinet U position.

[0107] The position of the cabinet in the computer room is fixed, and the position of the cabinet U position is fixed. Now the corresponding relationship between the cabinet U position and the server is obtained, that is, the position relationship between the cabinet U position and the server, as well as the position of the server are obtained.

[0108] This embodiment obtains the labels of the cabinet U position and the server, as well as the corresponding positional relationship, by reading the combined label on the label combination device. There is no need to manually enter the positional relationship between the cabinet U position and the server, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0109] Embodiment 4

[0110] The tag reading device realizes the position relationship acquisition process.

[0111] See also Figure 5 , Figure 5 This is a schematic diagram of the position relationship acquisition process in the fourth embodiment of this application. The specific steps are:

[0112] Step 501: read the labels of the cabinet U position and the server in the combined label from the label combination device.

[0113] The combined label is generated by binding the label of the server and the label of the corresponding cabinet U position by the label combination device; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0114] The combined label comprises:

[0115] An antenna is disposed and connected to a target component directly connected to the tag;

[0116] Two tags are respectively set on the two target components, and the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module.

[0117] This step reads the combined label generated by the label combination device, including:

[0118] The corresponding combined tag is read through the antenna, and the tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

[0119] Step 502: Determine the position relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

[0120] The corresponding relationship between the label of the cabinet U position read by an antenna and the label of the server, that is, the placement relationship, means that the server is put on the rack and placed on the cabinet U position.

[0121] The position of the cabinet in the computer room is fixed, and the position of the cabinet U position is fixed. Now the corresponding relationship between the cabinet U position and the server is obtained, that is, the position relationship between the cabinet U position and the server, as well as the position of the server are obtained.

[0122] Step 503: Synchronize the positional relationship between the cabinet U position and the server into the 3D digital twin model for display.

[0123] This embodiment obtains the correspondence between the cabinet U position and the server by reading the combined label on the label combination device, without manually entering the position relationship between the cabinet U position and the server, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0124] The positional relationship between the cabinet U position and the server is displayed in real time through a 3D digital twin model to improve user experience.

[0125] Embodiment 5

[0126] The tag reading device realizes the position relationship acquisition process.

[0127] See also Figure 6 , Figure 6 This is a schematic diagram of the position relationship acquisition process in Example 5 of this application. The specific steps are:

[0128] Step 601, read the labels of the cabinet U position and the server in the combined label from the label combination device.

[0129] The combined label is generated by binding the label of the server and the label of the corresponding cabinet U position by the label combination device; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0130] The combined label comprises:

[0131] An antenna is disposed and connected to a target component directly connected to the tag;

[0132] Two tags are respectively set on the two target components, and the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module.

[0133] This step reads the combined label generated by the label combination device, including:

[0134] The corresponding combined tag is read through the antenna, and the tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

[0135] Step 602: Determine the position relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

[0136] The corresponding relationship between the label of the cabinet U position read by an antenna and the label of the server, that is, the placement relationship, means that the server is put on the rack and placed on the cabinet U position.

[0137] The position of the cabinet in the computer room is fixed, and the position of the cabinet U position is fixed. Now the corresponding relationship between the cabinet U position and the server is obtained, that is, the position relationship between the cabinet U position and the server, as well as the position of the server are obtained.

[0138] Step 603, obtaining the information of the server according to the server tag; obtaining the information of the U position of the cabinet according to the tag of the U position of the cabinet.

[0139] The server information here may include but is not limited to the following information:

[0140] Configuration information, memory, CPU, brand, model, etc.

[0141] The cabinet U position information here may include but is not displayed in the following information:

[0142] Brand, model, attributes, etc.

[0143] Step 604: Synchronize the positional relationship between the cabinet U position and the server, as well as the information of the server and the information of the cabinet U position into the 3D digital twin model for display.

[0144] This embodiment obtains the correspondence between the U position of the cabinet and the server by reading the combined label on the label combination device, without manual operation, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0145] In addition, the positional relationship between the cabinet U position and the server is displayed through a 3D digital twin model, and the information of the server and the cabinet U position are visualized in real time to improve the user experience.

[0146] Embodiment 6

[0147] The tag reading device stores the positional relationship between the cabinet U position and the server;

[0148] Periodically or in real time, obtain the combined label on the label combination device, and obtain the position relationship between the cabinet U position and the server;

[0149] When the position relationship between the cabinet U position and the server obtained by reading the combined label on the label combination device does not contain the stored position relationship between the cabinet U position and the server, and when the combined label corresponding to the stored position relationship between the cabinet U position and the server is not read from the label combination device, the stored position relationship between the cabinet U position and the server is deleted; and the 3D digital twin model is updated.

[0150] When the embodiment of the present application is specifically implemented, 3D modeling can be performed in advance for the cabinets in a computer room. When a U position in a cabinet does not have a corresponding server, that is, no server is installed, the U position in the cabinet is displayed as empty.

[0151] This embodiment determines whether the locally stored positional relationship has changed by periodically or in real time reading the combined label on the label combination device. It can timely and automatically update and maintain the positional relationship between the cabinet U position and the server without manual operation, which can greatly save costs, improve work efficiency, and is less prone to errors.

[0152] The positional relationship between the cabinet U position and the server is displayed through a 3D digital twin model, which provides real-time visualization and improves user experience.

[0153] Based on the same inventive concept, the present application also provides a position relationship acquisition device. Figure 7 , Figure 7 This is a schematic diagram of the structure of a label assembly device applied to the above technology in an embodiment of the present application. The device includes: a scanning unit 701 and a generating unit 702;

[0154] The scanning unit 701 is used to scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position.

[0155] The generating unit 702 is used to bind the label of the cabinet U position obtained by the scanning unit 701 and the label of the corresponding server to generate a combined label, so that the label reading device can obtain the position relationship between the cabinet U position and the server when reading the combined label.

[0156] Preferably, the combined label comprises:

[0157] An antenna is disposed and connected to a target component directly connected to the tag;

[0158] Two tags, respectively set at the two target components, the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module;

[0159] The combined tag is configured to return the tag information to the tag reading device via the antenna, and return the tag information with a preset delay via the delay module.

[0160] Preferably, the device further comprises: a deleting unit 703;

[0161] The deleting unit 703 is used to delete the combined label of the cabinet U position and the corresponding server generated by the generating unit 702 when it is scanned that the server corresponding to the cabinet U position has been removed from the shelf.

[0162] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0163] Based on the same inventive concept, the present application also provides a position relationship acquisition device. Figure 8 , Figure 8 This is a schematic diagram of the structure of a tag reading device applied to the above technology in an embodiment of the present application. The device includes: a reading unit 801 and an acquisition unit 802;

[0164] The reading unit 801 is used to read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0165] The acquiring unit 802 is configured to determine the positional relationship between the cabinet U position and the server according to the labels of the cabinet U position and the server read by the reading unit 801 .

[0166] Preferably, the combined label comprises:

[0167] An antenna is disposed and connected to a target component directly connected to the tag;

[0168] Two tags, respectively set at the two target components, the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module;

[0169] The reading unit 801 is specifically used to read the corresponding combined tag through the antenna. The tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

[0170] Preferably, the device further comprises: an output unit 803;

[0171] The output unit 803 synchronizes the positional relationship between the cabinet U position and the server into the 3D digital twin model for display.

[0172] Preferably, the apparatus further comprises: a determination unit 804;

[0173] The determining unit 804 is configured to obtain information about the server according to the server tag obtained by the obtaining unit 802; and obtain information about the cabinet U position according to the label of the cabinet U position obtained by the obtaining unit 802;

[0174] The output unit 803 is further used to display the server information and the cabinet U position information obtained by the determination unit 804 in the 3D digital twin model.

[0175] Preferably,

[0176] The acquisition unit 802 is further used to store the positional relationship between the cabinet U position and the server; when the positional relationship between the cabinet U position and the server obtained by reading the combined label on the label combination device does not contain the stored positional relationship between the cabinet U position and the server, the stored positional relationship between the cabinet U position and the server is deleted; and the 3D digital twin model is updated through the output unit 803.

[0177] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0178] In another embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the position relationship acquisition method implemented by the label combination device are implemented.

[0179] In another embodiment, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps in the position relationship acquisition method implemented by the label assembly device side can be implemented.

[0180] In another embodiment, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the position relationship acquisition method implemented by the tag reading device side are implemented.

[0181] In another embodiment, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps in the position relationship acquisition method implemented by the tag reading device side can be implemented.

[0182] Fig. 9 The following is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. Fig. 9 As shown, the electronic device may include: a processor (Processor) 910, a communication interface (Communications Interface) 920, a memory (Memory) 930 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the following method:

[0183] Scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position.

[0184] The label of the cabinet U position and the label of the corresponding server are bound to generate a combined label, so that the label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label.

[0185] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0186] Fig.10 FIG. 1 is a schematic diagram of the physical structure of another electronic device provided by an embodiment of the present invention. Fig.10 As shown, the electronic device may include: a processor (Processor) 1010, a communication interface (Communications Interface) 1020, a memory (Memory) 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the following method:

[0187] Read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position;

[0188] The positional relationship between the cabinet U position and the server is determined according to the read labels of the cabinet U position and the server.

[0189] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0190] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0191] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0192] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for obtaining a position relationship, characterized in that: The method comprises: Scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; Binding the label of the cabinet U position and the label of the corresponding server to generate a combined label, so that the label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label; Wherein, the combined label comprises: An antenna is disposed and connected to a target component directly connected to the tag; Two tags, respectively set at the two target components, the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module; The combined tag is configured to return the information of the tag at the U position of the cabinet to the tag reading device via the antenna, and to return the information of the tag of the server with a preset delay via the delay module.

2. The method according to claim 1, characterized in that The method further comprises: When it is scanned that the server corresponding to the cabinet U position has been removed from the shelf, the combined label of the cabinet U position and the corresponding server is deleted.

3. A method for obtaining a position relationship, characterized in that: The method comprises: Read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; Determine the position relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server; Wherein, the combined label comprises: An antenna is disposed and connected to a target component directly connected to the tag; Two tags, respectively set at the two target components, the two tags are connected to the antenna in parallel, wherein the tag at the U position of the cabinet is directly connected to the antenna, and the tag of the server is connected to the antenna through a delay module; The step of reading the combined label generated by the label combination device comprises: The corresponding combined tag is read through the antenna, and the tag read first is the tag of the cabinet U position, and after a preset delay, the tag read is the tag of the server.

4. The method according to claim 3, characterized in that The positional relationship between the cabinet U position and the server is synchronized to the 3D digital twin model for display.

5. The method according to claim 4, characterized in that The method further comprises: Acquire information of the server according to the server tag; Acquire information of the U position of the cabinet according to the label of the U position of the cabinet; The information of the server and the information of the U position of the cabinet are displayed in the 3D digital twin model.

6. The method according to any one of claims 3 to 5, characterized in that: The method further comprises: Storing the positional relationship between the cabinet U position and the server; When the position relationship between the cabinet U position and the server obtained by reading the combined label on the label combination device does not contain the stored position relationship between the cabinet U position and the server, the stored position relationship between the cabinet U position and the server is deleted; and the 3D digital twin model is updated.

7. A position relationship acquisition device, characterized in that: The device comprises: a scanning unit and a generating unit; The scanning unit is used to scan the label of the server on the shelf and the label of the corresponding cabinet U position; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; The generating unit is used to bind the label of the cabinet U position obtained by the scanning unit and the label of the corresponding server to generate a combined label, so that the label reading device can obtain the positional relationship between the cabinet U position and the server when reading the combined label; the combined label includes: an antenna, which is connected to the target component directly connected to the label; two labels, which are respectively arranged on the two target components, and the two labels are connected to the antenna in parallel, wherein the label of the cabinet U position is directly connected to the antenna, and the label of the server is connected to the antenna through a delay module; wherein the combined label is configured to return the information of the label of the cabinet U position to the label reading device via the antenna, and return the information of the label of the server with a preset delay via the delay module.

8. A position relationship acquisition device, characterized in that: The device comprises: a reading unit and an acquiring unit; The reading unit is used to read the labels of the cabinet U position and the server in the combined label from the label combination device; wherein the combined label is generated by the label combination device binding the label of the server and the label of the corresponding cabinet U position; the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; the combined label includes: an antenna, which is arranged to be connected to a target component directly connected to the label; two labels, which are respectively arranged on the two target components, and the two labels are connected to the antenna in parallel, wherein the label of the cabinet U position is directly connected to the antenna, and the label of the server is connected to the antenna through a delay module; wherein the combined label is configured to return the information of the label of the cabinet U position to the label reading device via the antenna, and return the information of the label of the server with a preset delay via the delay module; The acquisition unit is used to determine the position relationship between the cabinet U position and the server according to the labels of the cabinet U position and the server read by the reading unit.

9. A position relationship acquisition system, characterized in that: The system comprises: a label assembly device and a label reading device; The label combination device scans the label of the server on the shelf and the label of the corresponding cabinet U position, binds the label of the cabinet U position and the label of the corresponding server, and generates a combined label; wherein the label of the server is a passive radio frequency label pre-pasted on the server, and the label of the cabinet U position is a passive radio frequency label pre-pasted on the cabinet U position; the combined label includes: an antenna, which is connected to the target component directly connected to the label; two labels, which are respectively arranged on the two target components, and the two labels are connected to the antenna in parallel, wherein the label of the cabinet U position is directly connected to the antenna, and the label of the server is connected to the antenna through a delay module; wherein the combined label is configured to return the information of the label of the cabinet U position to the label reading device via the antenna, and return the information of the label of the server with a preset delay via the delay module; The label reading device reads the labels of the cabinet U position and the server in the combined label from the label combining device; and determines the positional relationship between the cabinet U position and the server according to the read labels of the cabinet U position and the server.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to claim 1 or 2 is implemented.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 3 to 6 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to claim 1 or 2 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 3 to 6 is implemented.