Method and system for visualized management of U position of rack-mounted server cabinet
By generating a grid base map of rack U-positions and combining it with database transaction operations, the shortcomings of manual planning in traditional rack U-position management are solved, achieving accuracy in equipment deployment and data consistency, and improving operation and maintenance efficiency and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-04-10
AI Technical Summary
Traditional rack space management relies on manual planning, and the information records are abstract and not intuitive, making it difficult to meet the needs of efficient and accurate operation and maintenance under large-scale equipment clusters.
By establishing a one-to-many association index between the data center and the rack, a visual rack U-position raster base map is generated using a vertical grid stacking algorithm. Combined with coordinate mapping and database transactions, equipment parameter verification and U-position occupancy conflict detection are achieved, and the visualization interface is updated in real time.
It achieves global real-time visualization of rack U-position status and "zero-conflict" planning of equipment deployment, improves the accuracy and efficiency of operation and maintenance, ensures strong consistency of multi-terminal data, and builds a highly reliable and refined operation and maintenance system.
Smart Images

Figure CN121833700A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication equipment technology, and in particular to a method and system for visual management of rack-mounted server rack U-positions. Background Technology
[0002] With the accelerated penetration of the digital economy, the reliance of key sectors such as finance, energy, and government on data center operations continues to increase. The number of servers, network devices, and storage devices housed in these data centers is growing exponentially, with the size of a single data center rack increasing from dozens to hundreds or even thousands. The types of equipment are also expanding from single computing nodes to composite hardware clusters integrating computing, storage, networking, and smart terminals. This change directly drives the transformation of data center operation and maintenance services from "extensive manual management" to "digitalized and intelligent refined operation." Traditional operation and maintenance models relying on manual inspections and paper records are no longer sufficient to meet the demands of efficient fault response, dynamic resource allocation, and compliance management under large-scale equipment clusters. Problems such as low operation and maintenance efficiency, insufficient resource utilization, and lack of transparency in equipment status are becoming increasingly prominent.
[0003] Against this backdrop, the digital transformation of data center operations and maintenance has become a core industry trend, with refined and visualized rack management models being a key breakthrough. On the one hand, enterprises urgently need to reduce costs and increase efficiency in data center resources. They need to accurately grasp the occupancy status, power consumption, and connectivity of each rack's storage space (U-slot), maximizing the utilization of hardware resources and avoiding space waste or equipment compatibility conflicts caused by chaotic U-slot planning. On the other hand, with the implementation of technologies such as "digital twins" and "Internet of Things" in operations and maintenance scenarios, operations and maintenance teams are no longer satisfied with simply recording equipment information in abstract forms such as lists and ledgers. Instead, they expect to build a visualized management interface that maps 1:1 to the physical data center, intuitively presenting rack U-slot distribution, equipment loading and unloading dynamics, and operating parameters. This simplifies operational processes such as equipment inventory, rack planning, and fault location, reducing reliance on manual labor and the risk of misoperation.
[0004] Currently, in actual data center operations and maintenance, the deployment and removal of hardware such as servers, network devices, and storage devices still primarily rely on maintenance personnel manually identifying available rack slots and deploying them based on initial plans. This deployment information is typically recorded and stored in list format. In modern data center environments with ever-expanding equipment scale and increasingly frequent changes, this approach is no longer sufficient to meet the demands for efficient and precise operations and maintenance. Therefore, the industry urgently needs a new operations and maintenance method that enables visualization of rack slots and supports precise equipment management and dynamic planning. Summary of the Invention
[0005] One of the objectives of this invention is to provide a method and system for visual management of rack-mounted server rack U-positions, in order to solve the problems of traditional rack U-position management relying on manual planning and the abstract and unintuitive recording of rack information.
[0006] This invention is achieved through the following technical solution: a method for visual management of U-positions in rack-mounted server cabinets.
[0007] Includes the following steps:
[0008] Step S1: Based on the physical parameters of the data center and the attributes of the racks, structured data modeling is performed by establishing a one-to-many association index between the data center and the racks, and a vertical grid stacking algorithm is used to generate a visual rack U-position grid base map corresponding to the physical space.
[0009] Step S2: Based on the rack U-position grid base map, the user interaction operation is converted into the target U-position identifier through coordinate mapping, the equipment parameters are checked in multiple layers and the U-position occupancy conflict is detected, the association between the equipment and the U-position is established through database transactions, and the visualization interface is updated in real time.
[0010] Step S3: Based on the rack U-position grid base map and the established association between the equipment and the U-position, the query, editing, removal and status synchronization of equipment information are realized through database transaction operations.
[0011] Further, step S1 includes the following sub-steps:
[0012] Step S1.1: Obtain the physical parameters of the data center and the attributes of the server racks. The physical parameters of the data center include at least the division of the data center area and the number of rows and columns of the server racks. The attributes of the server racks include at least the unique server rack number, physical height and physical location coordinates. Establish a one-to-many foreign key relationship between the data center table and the server rack table in the database.
[0013] Step S1.2: Generate a proportional grid matrix based on the number of rows and columns of the racks. Each cell in the matrix corresponds to a physical rack and is labeled with its number and coordinates.
[0014] Step S1.3: For each rack, determine the corresponding cell in the grid matrix according to its physical location coordinates, and generate a visual rack U-position grid base map according to its physical height;
[0015] Further, generating the visualized rack U-position grid base map in step S1.3 includes:
[0016] Calculate the standard pixel height of a single U-position based on the physical height of the cabinet and the preset rendering height of the visual cabinet U-position raster base map;
[0017] Using the standard pixel height as a fixed interval, starting from the reference coordinates within the cell, grid cells representing each U position are generated sequentially to form a vertical grid column;
[0018] Record the starting Y coordinate of the vertical grid column and the standard pixel height of the single U position.
[0019] Further, step S2 includes the following sub-steps:
[0020] Step S2.1: Based on the rack U-position grid base map, capture the user's interactive operation on the rack U-position grid base map through the event listening mechanism, obtain the interaction coordinates and calculate the corresponding U-position number through the coordinate mapping function, and generate a globally unique identifier for the target U-position by combining the rack identifier.
[0021] Step S2.2: Receive device parameters input by the user through a dynamic form, perform format validity verification on the device parameters, and encapsulate the device parameters into a structured data and transmit it to the backend after the verification is passed.
[0022] Step S2.3: Calculate the required range of consecutive U bits based on the number of U bits in the device, query the current status of all U bits in the data layer within this range, and if all U bits are in an idle state, the verification passes. If any U bit is occupied or faulty, return a prompt message containing the specific conflicting U bit number.
[0023] Step S2.4: After the verification is passed, perform atomic operations in the database transaction, including inserting a new device record into the device table and assigning a unique device identifier, batch updating the status of the corresponding U-bit range in the U-bit table to occupied, establishing the association relationship with the device identifier, and clearing the relevant cached data.
[0024] Step S2.5: Based on the successful operation result returned by the backend, update the locally cached rack U-position data through the status management library, trigger the grid base map component to re-render, update the visual style of the occupied U-position grid to display the occupied status, and overlay the key equipment information label on the corresponding grid.
[0025] Furthermore, the coordinate mapping function is: U-position number = Math.floor(click Y-coordinate / single U-position height pixel value) + 1, where Math.floor represents rounding down, the click Y-coordinate is the user's vertical interaction coordinate on the grid base map, and the single U-position height pixel value is the fixed pixel height occupied by each U-position in the visualization interface. This coordinate mapping function converts continuous interaction coordinates into discrete U-position numbers, establishing a precise correspondence between the user's operation position and the physical U-position.
[0026] Furthermore, the range of consecutive U-positions required for the calculation is determined by the following formula: range of consecutive U-positions = [starting U-position number, starting U-position number + number of device U-positions - 1], where the starting U-position number is the target U-position number selected by the user, and the number of device U-positions is the number of U-positions occupied by the device in the vertical direction.
[0027] Further, step S3 includes the following sub-steps:
[0028] Step S3.1: Based on the user's selection operation of the occupied U-position on the rack U-position grid base map, obtain the unique identifier of the U-position through event listening, request the associated device details and the list of all occupied U-positions from the data layer, group the returned device attribute information, display it in a structured form in the pop-up window of the visualization interface, and label all U-position numbers occupied by the device.
[0029] Step S3.2: Based on the editing command triggered by the user on the device details interface, switch the device information form to editable state and dynamically load exclusive fields according to the device type. Receive the device data modified by the user and perform format validity verification. After the verification is passed, send the device identifier and the current version number to the backend for validity and version consistency verification. After the verification is passed, update the device information and increment the version number.
[0030] Step S3.3: Based on the device removal command initiated by the user, query all U bits associated with the removed device in the database transaction according to the device identifier, batch reset the status of the associated U bits to idle and remove the device association, and update the device status to removed and record the removal timestamp.
[0031] Step S3.4: Update the display status of the visualization interface according to the data operation results. For the device removal operation, the U position will be released and restored to idle and the device tag will be cleared. At the same time, the operation record will be written to the structured log record.
[0032] Another aspect of the present invention provides a system for visual management of rack-mounted server rack U-positions, comprising:
[0033] Raster base map construction module: It is used to perform structured data modeling based on the physical parameters of the data center and the attributes of the rack by establishing a one-to-many association index between the data center and the rack, and to generate a visual rack U-position raster base map corresponding to the physical space using a vertical raster stacking algorithm.
[0034] Equipment racking and orchestration module: Based on the rack U-position grid base map, it converts user interaction operations into target U-position identifiers through coordinate mapping, performs multi-level verification of equipment parameters and U-position occupancy conflict detection, establishes the association between equipment and U-position through database transactions, and updates the visualization interface in real time;
[0035] Equipment Information Management Module: Based on the rack U-position grid map and the established association between equipment and U-position, this module enables the querying, editing, removal, and status synchronization of equipment information through database transaction operations.
[0036] Furthermore, the raster base map construction module is specifically used for:
[0037] Obtain the physical parameters of the data center and the attributes of the server racks, and establish a one-to-many foreign key relationship between the data center table and the server rack table in the database;
[0038] Generate a proportional grid matrix based on the number of rows and columns of the server rack layout;
[0039] Generate a rack U-position grid base map for each rack, including calculating the standard pixel height of a single U-position, generating vertical grid columns, and recording coordinate mapping parameters.
[0040] Furthermore, the device mounting orchestration module is specifically used for:
[0041] User interaction operations are captured through an event listening mechanism and converted into target U-bit identifiers;
[0042] Perform format validity checks and U-bit occupancy conflict detection on the equipment parameters;
[0043] Establish the association between the device and the U-bit through database transactions;
[0044] The device deployment status is displayed in a real-time visual interface.
[0045] Furthermore, the device information management module is specifically used for:
[0046] Based on the user's selection operation on the rack U-position grid base map, the target U-position identifier is obtained through the event listening mechanism, the data layer is requested to the associated device details and the list of occupied U-positions, and the device attribute information is grouped by category and displayed on the visualization interface.
[0047] In response to device information editing requests, the device data is validated for legality and checked for version consistency through a front-end and back-end collaborative verification mechanism. Once the verification is successful, the device information is updated and the data version number is maintained.
[0048] The device removal command is processed by querying the U-position resources associated with the device in the database transaction, batch resetting the U-position status to idle and updating the device status, while recording the removal operation timestamp.
[0049] The visualization interface is updated synchronously based on the data operation results, and the device management operations are logged to establish complete audit trail data.
[0050] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0051] This invention
[0052] This invention successfully solves the key problems of traditional rack space management—relying on manual planning, lack of intuitive information abstraction, susceptibility to operational conflicts, and data inconsistencies—by constructing a digital raster base map that precisely corresponds to the physical space and employing core technologies such as coordinate mapping, multi-layer verification, and database transaction operations. This solution deeply integrates physical space with the information model, achieving a fundamental shift from manual experience-based decision-making to precise digital control.
[0053] This invention achieves real-time global visualization of rack U-position status and "zero-conflict" planning of equipment deployment, greatly improving the accuracy and efficiency of operation and maintenance. On the other hand, it ensures strong consistency of multi-terminal data through atomic transactions and, combined with full lifecycle audit tracing, constructs a highly reliable and traceable refined operation and maintenance system, providing solid technical support for the intelligent management of data center infrastructure. Attached Figure Description
[0054] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:
[0055] Figure 1 This invention provides a flowchart of a method for visual management of U-positions in rack-mounted server cabinets. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0057] During data center maintenance, the placement and removal of hardware such as servers, network equipment, and storage devices primarily relies on data center maintenance personnel locating suitable empty rack slots according to the initial rack layout plan. Rack placement information is typically stored in a list-based record format. However, with the trend towards digital data center operation and maintenance innovation, operations teams are increasingly seeking to utilize a twin-visual model for more efficient rack management, particularly in rack slot and equipment inventory and rack planning.
[0058] The purpose of this invention is to provide a method and system for visual management of rack-mounted server compartments (U-slots), used for the arrangement and management of server rack U-slots. Its application targets are servers, networks, storage devices, and server racks. This invention obtains rack-mounting and demounting operation information for target servers by manually importing rack-mounting and demounting information or by forward-connecting to the corresponding rack-mounting and demounting information registration database. It also provides a graphical interface simulating actual rack locations in a data center, allowing operation and maintenance personnel to intuitively see the current server load status of each rack U-slot or directly query the device serial number (SN) to obtain the specific rack location of the device. This invention effectively improves the work efficiency of operation and maintenance personnel during server rack-mounting, demounting, and migration processes, and can truly achieve improved energy efficiency and utilization of rack U-slot planning in data centers.
[0059] Example 1
[0060] Figure 1 This embodiment illustrates a method for visual management of rack-mounted server rack U-positions. The flowchart shows the following steps:
[0061] Step S1: Based on the physical parameters of the data center and the attributes of the racks, structured data modeling is performed by establishing a one-to-many association index between the data center and the racks, and a vertical grid stacking algorithm is used to generate a visual rack U-position grid base map corresponding to the physical space.
[0062] Traditional data center management relies on manual records and abstract data, which cannot intuitively reflect the physical spatial layout, leading to low operational efficiency and a high risk of errors. This step establishes a digital twin mapping model, transforming the physical data center into a precise digital raster base map, achieving a one-to-one correspondence between the physical space and the digital model. This provides a precise spatial reference system for subsequent visualization operations, significantly improving the intuitiveness and accuracy of space management. Specifically, it includes the following sub-steps:
[0063] Step S1.1: Data layer initialization and structured modeling;
[0064] First, the system reads and initializes the physical parameters and rack attributes of the target data center. The physical parameters include the data center's area division information and the number of rows and columns of racks. Rack attributes include a unique ID for each rack, its physical height, and its physical location coordinates. Next, based on the read parameters and attributes, a one-to-many association index is established between the data center entity and the rack entities, ensuring the global uniqueness of each rack ID. This forms a structured data foundation, solving the problems of data dispersion and lack of unified identification.
[0065] Step S1.2: Generate the base map of the computer room layout;
[0066] This method generates a macro-level data center layout map based on structured data, constructing a raster matrix visualization of the data center rack layout at a macro level. Based on the number of rows and columns, a proportionally scaled raster matrix is created in the visualization interface to achieve a precise mapping from physical space to a digital model. Each cell in this raster matrix is defined as having a unique mapping relationship with a physical rack, and its size is scaled proportionally to the physical dimensions of the rack (e.g., a 1:500 scale). Subsequently, each cell is labeled with its corresponding rack's unique number and physical coordinates, resulting in a complete macro-level view of the data center layout. This solves the problem that traditional list-based records cannot intuitively display the spatial layout.
[0067] Step S1.3: Generate the rack U-position grid base map;
[0068] For each cabinet cell generated in step S1.2, perform a U-position mapping operation to generate its internal U-position layout diagram.
[0069] The U-position mapping operation specifically involves: employing a vertical grid stacking algorithm to generate a continuous vertical grid column within the corresponding rack cell, based on the rack's physical height (e.g., 42U). Each independent grid cell in this column corresponds to a physical U-position. Subsequently, a coordinate mapping operation is performed, deterministically binding the Y-axis pixel coordinates of the vertical grid column in the visualization interface to the logical number of the U-position. This operation establishes a precise mapping relationship from user-interactive coordinates to specific rack U-position numbers, providing a calculation basis for subsequent visualization interactions.
[0070] Step S2: Based on the rack U-position grid base map, the user interaction operation is converted into the target U-position identifier through coordinate mapping, the equipment parameters are checked in multiple layers and the U-position occupancy conflict is detected, the association between the equipment and the U-position is established through database transactions, and the visualization interface is updated in real time.
[0071] The lack of visual planning tools during equipment racking easily leads to U-slot conflicts and a failure to synchronize operational status in real time. This step, based on the rack U-slot grid map constructed in step S1, establishes a complete closed loop from interaction identification, parameter verification, conflict detection, data updates, and interface synchronization. This achieves visualized orchestration and data consistency maintenance during the equipment racking process, ensuring accurate equipment deployment and real-time synchronization of system status. Specifically, it includes the following sub-steps:
[0072] Step S2.1, U-position selection and interaction triggering;
[0073] Based on the coordinate mapping relationship established in step S1.3, when a user clicks on a target vacant U-position on the rack U-position grid base map, the system listens for the user's click event to obtain mouse coordinate information and calls the coordinate-U-position mapping function to determine the selected U-position number and its rack identifier. For example, determining the U-position number based on the Y-axis coordinate can be expressed as: U-position number = Math.floor(click Y-coordinate / single U-position height in pixels) + 1, where Math.floor represents rounding down.
[0074] Step S2.2: Equipment information entry and parameter verification;
[0075] After selecting a rack unit (U), the system will display a device information form (including fields such as model, number of U units, and power). The user enters the device information, and the front end performs a validity check on the entered information to prevent deployment failures due to incorrect parameters. For example, it verifies whether the number of U units occupied is greater than or equal to 1 and does not exceed the remaining height of the rack. After successful verification, the device parameters (including the selected rack identifier and the starting U unit number) are encapsulated into structured data in JSON format and transmitted to the business logic layer via a POST request.
[0076] Step S2.3, U-bit occupancy conflict verification;
[0077] After receiving the device parameters, the system's business logic layer calculates the continuous U-position space range required for device deployment based on the device information entered by the user and the number of U-positions occupied by the device. The calculation method for the continuous U-position space range is as follows: taking the selected starting U-position number as the baseline, a closed U-position interval is formed up to the U-position number of "starting U-position number + number of U-positions - 1". Then, the current status of all U-positions in the U-position interval is queried in the data association relationship established in step S1. Based on the query results, an occupancy conflict judgment is performed: if all U-positions in the interval are in an idle state, the verification passes; if any U-position in the interval is in an "occupied" or "faulty" state, a prompt message containing the specific conflicting U-position number is returned.
[0078] Step S2.4: Data association and status update;
[0079] After the U-position occupancy conflict verification passes, the business logic layer updates the data. Specifically, a new device record is created in the device table and assigned a unique identifier (e.g., D-20230501-001). The status of the corresponding U-position range in the U-position table is updated to "occupied" in batches, and an association is established with the device identifier (e.g., ID=D-20230501-001). Finally, the rack status cache data in the Redis database is cleared to ensure data consistency for subsequent queries.
[0080] Step S2.5: The visual interface is updated synchronously;
[0081] After the system backend returns a successful operation result, the interactive frontend updates the locally cached rack U-position data through the state management library, triggering the grid base map component to re-render: the visual style of the occupied U-position is updated to the occupied status (blue background + white text); key equipment information (model abbreviation "X1") is overlaid on the corresponding grid, thereby realizing the visualization synchronization between the digital model and the physical status.
[0082] Step S3: Based on the rack U-position grid base map and the established association between the equipment and the U-position, the query, editing, removal and status synchronization of equipment information are realized through database transaction operations;
[0083] Maintaining information on deployed equipment is difficult, and decommissioning operations may cause data inconsistencies, coupled with a lack of operational auditing capabilities. This step, based on the raster base map constructed in step S1 and the device relationships established in step S2, achieves full lifecycle visual management of device information, ensuring real-time consistency between data status and visualization, and meeting compliance requirements for high-security scenarios through an audit traceability mechanism. Specifically, it includes the following sub-steps:
[0084] Step S3.1: Perform equipment information query and visualization display;
[0085] When a user clicks on an occupied rack grid, the interaction layer obtains the unique identifier of the clicked rack (e.g., "rack B3-R1-C2_U5") through event bubbling; it then queries the detailed information of the associated device and the list of occupied racks based on the identifier; it calls the interface to request the associated device information from the data layer; the data layer queries the device table and the associated rack range table using the unique identifier of the rack, which records all racks occupied by the device, and returns data containing device attributes (model, IP, power, etc.) and the list of occupied racks; the front end groups the returned data into "basic information," "deployment information," and "performance information," and displays it in the visualization interface in the form of cards and lists, while also labeling all rack numbers occupied by the device (e.g., "occupied U5, U6").
[0086] Step S3.2: Equipment information editing and multi-dimensional verification;
[0087] Users click the "Edit" button in the front-end details pop-up window provided by the system to switch the device information form to editable mode, dynamically loading exclusive fields based on the device type (e.g., server / switch). After editing and submission, the front-end first validates the basic format (e.g., IP address must conform to the xxx.xxx.xxx.xxx rule, power must be a positive number). After successful validation, the device identifier and current version number (e.g., version parameter = 1) are sent to the back-end. The back-end performs consistency checks on the data, including: verifying the legality of the data, such as whether the ID conflicts with other devices; verifying whether the version number matches, ensuring that the version number has not been modified by other users; after successful validation, the device table data is updated, and the version number is incremented (e.g., version parameter + 1 = 2).
[0088] 3.3 Batch reset of equipment removal and U-position status;
[0089] After the user clicks the "Remove from Shelf" button and confirms on the front-end management interface provided by the system, the front-end sends a POST / api / devices / {deviceId} / unmount request to the back-end. Upon receiving the request, the back-end initiates a transaction through the business logic layer and performs the following operations: Query all rack positions associated with the device based on the device identifier (e.g., query the rack position table by deviceId to obtain U5, U6); batch reset the status of the associated rack positions to "idle" and remove the device association; change the status of the device in the device table to "removed from shelf" and record the removal time; after the transaction is committed, broadcast the status update information to all connected clients through a message push mechanism; the update information includes at least the rack identifier and the updated rack position list; when the transaction fails, restore the original state of the rack position based on the state snapshot before the transaction, thereby ensuring data consistency.
[0090] 3.4 Batch reset of equipment removal and U-position status;
[0091] After receiving an edit / delisting request from a user, the system front-end layer updates local data through a state management library (such as Redux) and triggers a partial redraw mechanism for the raster base map component to ensure consistency between the interface and data state. Specifically, for device editing operations, changes to key device information are detected, such as modifications to model number, identifiers, etc. If key attributes such as device model or network address change, the device label content displayed in the corresponding U-position raster is updated synchronously (e.g., model number changes from "DB-200" to "DB-300"). For device delisting operations, the visual style of the released U-position is restored to the preset "idle" state, and related device identification information (gray border + white background) is cleared. At the same time, the system generates structured log records containing the operation subject, operation time, operation type, and operation content, and writes them to the system audit database to establish a complete operation traceability chain. In application scenarios with high security requirements, key operation logs can be synchronized to third-party audit nodes for evidence storage, and the anti-tampering and credibility of data can be enhanced through a distributed evidence storage mechanism (e.g., a dedicated blockchain platform for high-security information management).
[0092] Example 2
[0093] This invention also provides a system for visual management of rack-mounted server rack U-positions, comprising:
[0094] Raster base map construction module: It is used to perform structured data modeling based on the physical parameters of the data center and the attributes of the rack by establishing a one-to-many association index between the data center and the rack, and to generate a visual rack U-position raster base map corresponding to the physical space using a vertical raster stacking algorithm.
[0095] Equipment racking and orchestration module: Based on the rack U-position grid base map, it converts user interaction operations into target U-position identifiers through coordinate mapping, performs multi-level verification of equipment parameters and U-position occupancy conflict detection, establishes the association between equipment and U-position through database transactions, and updates the visualization interface in real time;
[0096] Equipment Information Management Module: Based on the rack U-position grid map and the established association between equipment and U-position, this module enables the querying, editing, removal, and status synchronization of equipment information through database transaction operations.
[0097] This invention provides a system for visual management of rack-mounted server compartments (U-positions). Through the coordinated operation of three core modules—grid base map construction, equipment racking and orchestration, and equipment information management—a complete visual management system for U-positions is built. The system first transforms the physical server room space into a digital twin model, achieving precise correspondence between user interaction and physical location through coordinate mapping technology. Then, it ensures the accuracy of equipment deployment through multi-layered verification mechanisms and guarantees data operation consistency using database transactions. Finally, it achieves full lifecycle visual management from equipment racking and information maintenance to de-rack recycling, providing an intuitive and reliable digital management platform for server room operation and maintenance.
[0098] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for visual management of U-positions in rack-mount server cabinets, characterized in that, Includes the following steps: Step S1: Based on the physical parameters of the data center and the attributes of the racks, structured data modeling is performed by establishing a one-to-many association index between the data center and the racks, and a vertical grid stacking algorithm is used to generate a visual rack U-position grid base map corresponding to the physical space. Step S2: Based on the rack U-position grid base map, the user interaction operation is converted into the target U-position identifier through coordinate mapping, the equipment parameters are checked in multiple layers and the U-position occupancy conflict is detected, the association between the equipment and the U-position is established through database transactions, and the visualization interface is updated in real time. Step S3: Based on the rack U-position grid base map and the established association between the equipment and the U-position, the query, editing, removal and status synchronization of equipment information are realized through database transaction operations.
2. The method for visual management of U-positions in rack-mounted server cabinets according to claim 1, characterized in that, Step S1 includes the following sub-steps: Step S1.1: Obtain the physical parameters of the data center and the attributes of the server racks. The physical parameters of the data center include at least the division of the data center area and the number of rows and columns of the server racks. The attributes of the server racks include at least the unique server rack number, physical height and physical location coordinates. Establish a one-to-many foreign key relationship between the data center table and the server rack table in the database. Step S1.2: Generate a proportional grid matrix based on the number of rows and columns of the racks. Each cell in the matrix corresponds to a physical rack and is labeled with its number and coordinates. Step S1.3: For each rack, determine the corresponding cell in the grid matrix according to its physical location coordinates, and generate a visual rack U-position grid base map according to its physical height.
3. The method for visual management of U-positions in rack-mounted server cabinets according to claim 2, characterized in that, The step S1.3 of generating the visual rack U-position grid base map includes: Calculate the standard pixel height of a single U-position based on the physical height of the cabinet and the preset rendering height of the visual cabinet U-position raster base map; Using the standard pixel height as a fixed interval, starting from the reference coordinates within the cell, grid cells representing each U position are generated sequentially to form a vertical grid column; Record the starting Y coordinate of the vertical grid column and the standard pixel height of the single U position.
4. The method for visual management of U-positions in rack-mounted server cabinets according to claim 1, characterized in that, Step S2 includes the following sub-steps: Step S2.1: Based on the rack U-position grid base map, capture the user's interactive operation on the rack U-position grid base map through the event listening mechanism, obtain the interaction coordinates and calculate the corresponding U-position number through the coordinate mapping function, and generate a globally unique identifier for the target U-position by combining the rack identifier. Step S2.2: Receive device parameters input by the user through a dynamic form, perform format validity verification on the device parameters, and encapsulate the device parameters into a structured data and transmit it to the backend after the verification is passed. Step S2.3: Calculate the required range of consecutive U bits based on the number of U bits in the device, query the current status of all U bits in the data layer within this range, and if all U bits are in an idle state, the verification passes. If any U bit is occupied or faulty, return a prompt message containing the specific conflicting U bit number. Step S2.4: After the verification is passed, perform atomic operations in the database transaction, including inserting a new device record into the device table and assigning a unique device identifier, batch updating the status of the corresponding U-bit range in the U-bit table to occupied, establishing the association relationship with the device identifier, and clearing the relevant cached data. Step S2.5: Based on the successful operation result returned by the backend, update the locally cached rack U-position data through the status management library, trigger the grid base map component to re-render, update the visual style of the occupied U-position grid to display the occupied status, and overlay the key equipment information label on the corresponding grid.
5. The method for visual management of U-positions in a rack-mount server cabinet according to claim 4, characterized in that, The coordinate mapping function is: U-position number = Math.floor(click Y-coordinate / single U-position height pixel value) + 1, where Math.floor represents rounding down, the click Y-coordinate is the user's vertical interaction coordinate on the grid base map, and the single U-position height pixel value is the fixed pixel height occupied by each U-position in the visualization interface. This coordinate mapping function converts continuous interaction coordinates into discrete U-position numbers, establishing a precise correspondence between the user's operation position and the physical U-position.
6. The method for visual management of U-positions in a rack-mount server cabinet according to claim 1, characterized in that, The required range of continuous U-positions for the calculation is determined by the following formula: Range of continuous U-positions = [Starting U-position number, Starting U-position number + Number of device U-positions - 1], where the starting U-position number is the target U-position number selected by the user, and the number of device U-positions is the number of U-positions occupied by the device in the vertical direction.
7. The method for visual management of U-positions in a rack-mounted server cabinet according to claim 1, characterized in that, Step S3 includes the following sub-steps: Step S3.1: Based on the user's selection operation of the occupied U-position on the rack U-position grid base map, obtain the unique identifier of the U-position through event listening, request the associated device details and the list of all occupied U-positions from the data layer, group the returned device attribute information, display it in a structured form in the pop-up window of the visualization interface, and label all U-position numbers occupied by the device. Step S3.2: Based on the editing command triggered by the user on the device details interface, switch the device information form to editable state and dynamically load exclusive fields according to the device type. Receive the device data modified by the user and perform format validity verification. After the verification is passed, send the device identifier and the current version number to the backend for validity and version consistency verification. After the verification is passed, update the device information and increment the version number. Step S3.3: Based on the device removal command initiated by the user, query all U bits associated with the removed device in the database transaction according to the device identifier, batch reset the status of the associated U bits to idle and remove the device association, and update the device status to removed and record the removal timestamp. Step S3.4: Update the display status of the visualization interface according to the data operation results. For the device removal operation, the U position will be released and restored to idle and the device tag will be cleared. At the same time, the operation record will be written to the structured log record.
8. A system for visual management of U-positions in rack-mounted server cabinets, characterized in that, include: Raster base map construction module: It is used to perform structured data modeling based on the physical parameters of the data center and the attributes of the rack by establishing a one-to-many association index between the data center and the rack, and to generate a visual rack U-position raster base map corresponding to the physical space using a vertical raster stacking algorithm. Equipment racking and orchestration module: Based on the rack U-position grid base map, it converts user interaction operations into target U-position identifiers through coordinate mapping, performs multi-level verification of equipment parameters and U-position occupancy conflict detection, establishes the association between equipment and U-position through database transactions, and updates the visualization interface in real time; Equipment Information Management Module: Based on the rack U-position grid map and the established association between equipment and U-position, this module enables the querying, editing, removal, and status synchronization of equipment information through database transaction operations.