Machine room personnel trajectory determination method and device, equipment, storage medium and computer program product

By drawing a computer room floor plan on a two-dimensional virtual canvas and assigning regional weights, and determining the trajectory points using camera field of view conversion, the problems of inefficient and high cost of trajectory monitoring of computer room personnel are solved, and high precision and real-time trajectory monitoring is achieved.

CN119579920APending Publication Date: 2025-03-07NANJING ZNV SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411552768.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The prior art is difficult to effectively monitor and record the trajectory of the computer room personnel, especially in large-scale data centers. Traditional methods are inefficient, costly, and difficult to achieve high accuracy and real-time.

Method used

By drawing a floor plan of the machine room on a two-dimensional virtual canvas, the passable area and the camera field of view cover area are assigned different weights, and the starting point and end point are set using the conversion of the camera field of view range, the weights and distances of adjacent squares are traversed, the trajectory and trajectory points are determined, and the trajectory points are connected in chronological order to obtain the target machine room personnel trajectory.

Benefits of technology

It realizes automatic drawing of personnel trajectories in the computer room, reduces monitoring costs and manual operations, improves monitoring accuracy and real-timeness, and improves the effectiveness of personnel trajectories in the computer room.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119579920A_ABST
    Figure CN119579920A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of personnel trajectory monitoring, in particular to a machine room personnel trajectory determination method, device and equipment, a storage medium and a computer program product. According to the method, a machine room plane graph is drawn on a two-dimensional virtual canvas divided into a plurality of grids based on machine room layout data, and digital representation of the internal environment of the machine room is realized by respectively endowing a passable area and a camera view coverage area with different weights. When the personnel in the machine room enter the view field of the second camera from the view field of the first camera, the coordinates of the first camera serve as a starting point, the coordinates of the second camera serve as an ending point, the weights and the distances of adjacent grids are traversed through path planning, an optimal track point set is determined step by step, and track points are connected in a time sequence to generate a personnel moving track. According to the method, automatic drawing of the personnel track is realized, the monitoring cost is reduced, manual operation is reduced, the monitoring precision and real-time performance are improved, and the monitoring effect of the personnel track in the machine room is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of personnel trajectory monitoring, and in particular to a method, device, equipment, storage medium and computer program product for determining personnel trajectory in a computer room. Background Art

[0002] In modern data center or computer room management, real-time tracking of personnel's activity trajectory is crucial to ensure safety and improve management efficiency. Traditional personnel trajectory monitoring methods usually rely on manual viewing of surveillance videos, which is not only inefficient, but also prone to omission of important information due to human factors. In addition, with the expansion of the scale of data centers, personnel activities in computer rooms are frequent and complex, and manual monitoring is difficult to meet the dynamic security management needs of high precision, low cost and real-time requirements. At present, there are some camera-based automated personnel monitoring systems, but these systems usually require the purchase of additional expensive equipment or involve complex sensor deployment, which brings high implementation costs to the management party. On the other hand, the existing path planning methods often cannot effectively utilize the existing camera field of view when determining the movement trajectory of personnel, resulting in the monitoring process being not accurate and intelligent enough, and the effect of personnel trajectory monitoring is poor. Therefore, how to improve the effect of personnel trajectory monitoring in computer rooms has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The main purpose of this application is to provide a method, device, equipment, storage medium and computer program product for determining the trajectory of personnel in a computer room, aiming to solve the technical problem of how to improve the effect of monitoring the trajectory of personnel in a computer room.

[0004] To achieve the above object, the present application provides a method for determining a trajectory of a person in a computer room, the method comprising the following steps:

[0005] Based on the layout data of the computer room, a floor plan of the computer room is drawn on a two-dimensional virtual canvas divided into a plurality of squares;

[0006] The weight of the square corresponding to the passable area of ​​the computer room plan is set to a preset first weight, and the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan is set to a preset second weight;

[0007] When the equipment room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are used as the starting point, and the coordinates of the second camera are used as the ending point;

[0008] Determine the squares to be screened according to the weights of the squares around the starting point;

[0009] Traversing the to-be-screened squares, taking the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and taking the track point as a new starting point, traversing again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set;

[0010] Based on the time sequence of each trajectory point in the trajectory point set, the trajectory of the target computer room personnel is obtained by connecting the trajectory points.

[0011] In one embodiment, after the step of drawing the computer room floor plan on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data, the step further includes:

[0012] The initial weight of each square is set to the preset third weight;

[0013] The square where the equipment placement coordinates in the computer room plan are located is used as the equipment placement square, and the weights of the equipment placement square and the adjacent squares of the equipment placement square are set to a preset fourth weight.

[0014] In one embodiment, before the step of setting the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight and setting the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight, the step further includes:

[0015] When the facial image of the computer room personnel is obtained, the square where the current position of the computer room personnel is located is recorded;

[0016] Determine whether the device placement coordinates are the same as the camera coordinates;

[0017] If yes, send an occlusion prompt signal.

[0018] In one embodiment, before the step of taking the coordinates of the first camera as the starting point and the coordinates of the second camera as the ending point when the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera, the step further includes:

[0019] Uniquely identify the personnel in the computer room;

[0020] Based on the unique identity, determine whether the computer room personnel is close to the boundary area of ​​the field of view of the first camera;

[0021] If so, based on a preset personnel detection algorithm, determine whether the personnel in the computer room enters the field of view of the second camera;

[0022] If so, it is determined that the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera, and the current time is recorded.

[0023] In one embodiment, the step of determining the squares to be screened according to the weights of the squares around the starting point includes:

[0024] Obtaining weights of the squares surrounding the starting point, and comparing the weights of the surrounding squares with the preset first weight;

[0025] Determining whether the weight of the surrounding squares is the same as the preset first weight;

[0026] If so, the corresponding surrounding squares are used as the squares to be screened.

[0027] In one embodiment, the step of traversing the to-be-screened squares, taking the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and taking the track point as a new starting point, and retraversing until the weight of the square where the track point is located is the preset second weight, to obtain a track point set includes:

[0028] Traversing the to-be-screened squares, and determining the distance between each to-be-screened square and the end point, to obtain a distance set;

[0029] Determine whether there are multiple equal minimum distance values ​​in the distance set;

[0030] If so, the center point of the square in the to-be-screened square corresponding to the minimum distance value and in the same direction of travel is taken as the trajectory point;

[0031] If not, the center point of the square with the smallest distance from the end point in the to-be-screened square is taken as the trajectory point;

[0032] The trajectory point is taken as a new starting point and traversal is performed again until the weight of the square where the trajectory point is located reaches the preset second weight, thereby obtaining the trajectory point set.

[0033] In addition, to achieve the above purpose, the present application also proposes a device for determining a trajectory of a person in a computer room, the device comprising:

[0034] A plane drawing module, used for drawing a plane diagram of the computer room on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data;

[0035] A weight setting module, used to set the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight, and set the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight;

[0036] A field of view conversion module, used to use the coordinates of the first camera as a starting point and the coordinates of the second camera as an end point when the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera;

[0037] A to-be-screened module, used to determine the to-be-screened squares according to the weights of the squares around the starting point;

[0038] A traversal module, used to traverse the to-be-screened squares, take the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and take the track point as a new starting point, and traverse again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set;

[0039] The target module is used to connect the various trajectory points in the trajectory point set based on the time sequence of the various trajectory points to obtain the trajectory of the target computer room personnel.

[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a device for determining the trajectory of personnel in a computer room, the device comprising: a memory, a processor, and a computer room personnel trajectory determination program stored on the memory and executable on the processor, the computer room personnel trajectory determination program being configured to implement the steps of the method for determining the trajectory of personnel in the computer room as described above.

[0041] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which a computer room personnel trajectory determination program is stored. When the computer room personnel trajectory determination program is executed by a processor, the steps of the computer room personnel trajectory determination method described above are implemented.

[0042] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method for determining the trajectory of computer room personnel as described above.

[0043] The present application draws a computer room plan on a two-dimensional virtual canvas divided into multiple squares based on the computer room layout data; the weights of the squares corresponding to the passable areas of the computer room plan are set to a preset first weight, and the weights of the squares corresponding to the field of view coverage areas of each camera in the computer room plan are set to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are taken as the starting point, and the coordinates of the second camera are taken as the ending point; the squares to be screened are determined according to the weights of the squares around the starting point; the squares to be screened are traversed, and the center point of the square to be screened with the smallest distance from the ending point is taken as the trajectory point, and the trajectory point is taken as the new starting point, and the traversal is repeated again until the weight of the square where the trajectory point is located is the preset second weight, thereby obtaining a trajectory point set; based on the time sequence of each trajectory point in the trajectory point set, the each trajectory point is connected to obtain the trajectory of the target computer room personnel. This application constructs a computer room floor plan based on a two-dimensional virtual canvas, assigns different weights to the passable area and the camera field of view coverage area, realizes the digital representation of the internal environment of the computer room, sets the starting point and the end point by using the conversion of the camera field of view, traverses the weights and distances of adjacent squares through path planning, gradually determines the optimal set of trajectory points, and connects the trajectory points in time sequence to finally obtain accurate personnel movement trajectories. This not only realizes the automatic drawing of personnel trajectories, but also effectively reduces monitoring costs and manual operations, improves monitoring accuracy and real-time performance, and enhances the effect of personnel trajectory monitoring in the computer room. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a flow chart of the first embodiment of the method for determining the trajectory of personnel in a computer room of the present application;

[0045] Figure 2 This is a schematic diagram of a sub-flow in the second embodiment of the method for determining the trajectory of personnel in a computer room of this application;

[0046] Figure 3 This is a schematic diagram of a sub-flow in the third embodiment of the method for determining the trajectory of personnel in a computer room of this application;

[0047] Figure 4 This is a schematic diagram of the module structure of the device for determining the trajectory of personnel in a computer room according to an embodiment of the present application;

[0048] Figure 5 Schematic diagram of the equipment structure of the hardware operating environment involved in the method for determining the trajectory of computer room personnel in the embodiment of the present application.

[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0052] It should be noted that in modern data center or computer room management, real-time tracking of personnel's activity trajectory is crucial to ensure safety and improve management efficiency. Traditional personnel trajectory monitoring methods usually rely on manual viewing of surveillance videos, which is not only inefficient, but also prone to omission of important information due to human factors. In addition, with the expansion of the scale of data centers, personnel activities in computer rooms are frequent and complex, and manual monitoring is difficult to meet the dynamic security management requirements of high precision, low cost and real-time requirements. At present, there are some camera-based automated personnel monitoring systems, but these systems usually require the purchase of additional expensive equipment or involve complex sensor deployment, which brings high implementation costs to the management party. On the other hand, the existing path planning methods often cannot effectively utilize the existing camera field of view when determining the movement trajectory of personnel, resulting in the monitoring process being not accurate and intelligent enough, and the effect of personnel trajectory monitoring is poor. Therefore, how to improve the effect of personnel trajectory monitoring in computer rooms has become a technical problem that needs to be solved urgently.

[0053] The main solution of the present application is: based on the layout data of the computer room, draw a computer room plan on a two-dimensional virtual canvas divided into multiple squares; set the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight, and set the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, take the coordinates of the first camera as the starting point, and take the coordinates of the second camera as the end point; determine the squares to be filtered according to the weights of the squares around the starting point; traverse the squares to be filtered, take the center point of the square with the smallest distance from the end point in the squares to be filtered as the trajectory point, and take the trajectory point as the new starting point, and traverse again until the weight of the square where the trajectory point is located is the preset second weight, and obtain a trajectory point set; based on the time sequence of each trajectory point in the trajectory point set, connect the each trajectory point to obtain the trajectory of the target computer room personnel.

[0054] This application constructs a computer room floor plan based on a two-dimensional virtual canvas, assigns different weights to the passable area and the camera field of view coverage area, realizes the digital representation of the internal environment of the computer room, sets the starting point and the end point by using the conversion of the camera field of view, traverses the weights and distances of adjacent squares through path planning, gradually determines the optimal set of trajectory points, and connects the trajectory points in time sequence to finally obtain accurate personnel movement trajectories. This not only realizes the automatic drawing of personnel trajectories, but also effectively reduces monitoring costs and manual operations, improves monitoring accuracy and real-time performance, and enhances the effect of personnel trajectory monitoring in the computer room.

[0055] It should be noted that the execution subject of the method of this embodiment can be a computing service device with data processing, network communication and program running functions, or it can be the above-mentioned computer room personnel trajectory determination device with the same or similar functions. This embodiment and the following embodiments will be described by taking the computer room personnel trajectory determination device as an example.

[0056] Based on this, the first embodiment of the method for determining the trajectory of personnel in the computer room of this application is proposed, please refer to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for determining the trajectory of personnel in a computer room of the present application.

[0057] In this embodiment, the method for determining the trajectory of a person in a computer room includes the following steps:

[0058] S1: Based on the layout data of the computer room, a floor plan of the computer room is drawn on a two-dimensional virtual canvas divided into multiple squares;

[0059] It should be noted that the layout data of the computer room refers to the structural information such as the equipment location, channel distribution, and wall boundaries in the computer room, and usually includes the plane layout of the computer room, equipment coordinates, obstacle locations and other data. These data are used to build a digital model of the computer room so that it can be drawn on the virtual canvas. The two-dimensional virtual canvas refers to a plane coordinate system constructed by digital means to simulate the actual layout of the computer room. The canvas consists of multiple small squares, each of which represents an area in the computer room, and is used to simulate the accessibility of different areas, the coverage of the camera field of view, etc. The square refers to the basic unit divided on the two-dimensional virtual canvas, and each square represents a fixed small area in the computer room, similar to the grid-like space division. These squares will be assigned different weights to identify characteristics such as accessibility and camera coverage area. The computer room floor plan is a layout diagram of the computer room drawn on the two-dimensional virtual canvas, which contains information such as equipment, channels, and camera fields of view, and serves as the basis for path planning and trajectory monitoring.

[0060] Specifically, the floor plan model of the computer room is first established using the computer room layout data. Specifically, the system loads the layout data of the computer room into the computing environment, including key information such as equipment location, wall boundaries, and channel distribution. Next, the system maps this layout information onto a virtual two-dimensional canvas, which is divided into multiple square cells of equal size. The resolution of the grid (i.e., the size of the grid) needs to be adjusted according to the spatial size of the computer room and the monitoring accuracy requirements in order to balance the precision of trajectory monitoring and computing efficiency.

[0061] Furthermore, on the generated virtual canvas, the system draws the access area, equipment location, camera coverage area and other contents of the computer room in sequence. For example, the system can display the equipment location with a specific mark on the corresponding square, and draw marks of the inaccessible area around the equipment. The access area is displayed in the default state. In this way, the structure and layout information inside the computer room is accurately mapped to the virtual canvas, providing a basic framework for the subsequent determination of personnel trajectories.

[0062] This step converts the complex layout information of the actual computer room into a digital two-dimensional model by building a computer room floor plan on a virtual canvas. This digital model intuitively displays key information such as the accessible area, obstacle area, and camera coverage area of ​​the computer room, providing a clear reference basis for subsequent path planning and trajectory monitoring. In this way, not only can the monitoring cost be reduced and the dependence on hardware equipment in the actual computer room be reduced, but the versatility and adaptability of the system can also be improved, making the trajectory monitoring solution of the entire computer room more intelligent and operational.

[0063] S2: setting the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight, and setting the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight;

[0064] It should be noted that the passable area refers to the area in the computer room floor plan that can be passed normally and is not blocked by equipment or obstacles. It is usually a passage or open area in the computer room for people to walk and move freely. The camera field of view coverage area refers to the monitoring range of each camera, which is determined by the actual viewing angle and installation position of the camera in the computer room floor plan. The squares in this area will be used to detect and record the movement of people. The preset first weight and the preset second weight are the square weights used to identify the passable area. Assigning a first weight to the passable area makes it easier for the path planning algorithm to identify which areas people can pass through, and assigning a second weight to the area helps the path planning algorithm determine the starting and ending points of the path when detecting people entering and exiting the fields of view of different cameras.

[0065] Specifically, according to the different attributes of each area in the computer room floor plan, weights are set for the corresponding squares. First, the system locates all the passable areas in the computer room floor plan and sets the square weights corresponding to these areas to the preset first weights. This process usually determines which squares belong to the passable area based on the pre-set passable paths in the computer room layout data. The squares assigned the first weight represent the free space in the computer room, and people can move freely in these areas.

[0066] Furthermore, the coverage of each camera's field of view is identified, and the weights of the squares corresponding to these coverage areas are set to the preset second weights. The system uniformly assigns the second weight to all squares in the field of view according to the camera's installation position and viewing angle range, indicating that this area is monitored by the camera. The purpose of this is to effectively determine the starting and ending points of the trajectory when people enter or leave these areas, providing an accurate camera position reference for path planning.

[0067] By assigning preset weights to the squares in different areas, the system can clearly identify the passable areas and camera monitoring areas in the computer room, providing a basis for path planning and trajectory determination. This weight setting not only simplifies the logic of the path planning algorithm, but also improves the accuracy of personnel trajectory determination. By distinguishing between the first and second weights, the system can quickly determine the path of personnel in the passable area and the time of entering and exiting the camera's field of view during trajectory planning, thereby achieving real-time tracking and accurate positioning of personnel movement. This weight setting method reduces the complexity of path inference and improves the efficiency and accuracy of trajectory monitoring.

[0068] S3: When the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera, the coordinates of the first camera are used as the starting point, and the coordinates of the second camera are used as the ending point;

[0069] It should be noted that the first camera refers to the camera that first covers the field of view of the person during the current activity. The system detects the person's position and activity status through this camera. The second camera refers to the camera in the next field of view that the person enters and is detected after leaving the field of view of the first camera. It is used to continuously track the movement trajectory of the person. The starting point is the starting position of the trajectory inference set by the system, usually the coordinate position of the camera when the person leaves the field of view of the first camera. The ending point is the ending position of the trajectory inference set by the system, usually the coordinate position of the camera when the person enters the field of view of the second camera.

[0070] Specifically, firstly, image processing technology is used to detect whether a person has left the field of view of the first camera. This can be achieved through continuous frame analysis. When a person gradually moves to the boundary of the field of view of the first camera and disappears in the subsequent frames, the system will confirm that the person has left the monitoring range of the first camera. The system records the coordinate position of the first camera and marks the coordinate as the starting point of trajectory inference.

[0071] Furthermore, the detection personnel enter the field of view of the adjacent second camera. Through the unique identification of the personnel (such as image features or ID), the system recognizes the entry event of the personnel in the field of view of the second camera and confirms the position coordinates of the personnel at this time. At this time, the system marks the coordinates of the second camera as the end point as the target position of the path planning. By setting the starting point and the end point, the system establishes the basis of the movement trajectory of the personnel during the switching of the fields of view of the two cameras, so as to facilitate the implementation of subsequent path inference.

[0072] This step establishes a clear trajectory start and end framework by setting the coordinates of the first camera and the second camera as the starting point and the end point respectively, which helps the system to efficiently infer the movement path of the personnel. In this way, the system can realize continuous personnel trajectory monitoring without the need for additional sensing equipment to judge the displacement of personnel. This coordinate setting method enables the system to achieve fast and accurate path inference when a person switches from one camera field of view to another, ensuring the continuity of the trajectory. At the same time, this method also reduces the computational complexity of path inference, improves the real-time and accuracy of trajectory monitoring, and provides strong support for efficient and safe management in the computer room.

[0073] S4: Determine the squares to be screened according to the weights of the squares around the starting point;

[0074] It should be noted that the starting point is the starting position of the path inference, usually the coordinate position of the first camera, which is used to guide the initial direction of the trajectory. The surrounding squares refer to all adjacent squares around the square where the starting point is located. These squares are the preferred moving areas for path inference and are used to gradually build the movement trajectory of the personnel. The weight is a numerical value assigned to each square, which is used to represent the characteristics of different areas, such as the passable area, the equipment area, the camera field of view coverage area, etc. The weight is used to guide the system to select reasonable moving squares in path planning. The squares to be screened refer to the squares that meet the conditions in path planning and are the candidate squares set used by the system to determine the next position of the trajectory.

[0075] Specifically, first, all the squares around the starting point are identified. These squares usually contain multiple adjacent areas in the upper, lower, left, right and diagonal directions, and are the primary candidate squares for the system to determine the next move. Then, the system reads the weights of these surrounding squares and determines whether the square meets the passable conditions based on the differences in these weights.

[0076] Furthermore, the squares with weights equal to the preset first weight are taken as "squares to be screened". The preset first weight usually indicates a passable area, so the system adds these squares with matching weights to the set to be screened as candidate squares for subsequent path inference. Through this screening step, the system can effectively exclude inaccessible areas or equipment areas, ensuring that the direction of path inference is always within the walkable channel.

[0077] This step provides a clear direction of travel for path planning by screening the passable squares around the starting point, effectively avoiding interference of invalid areas or equipment areas on the path. By selecting only the squares with the first weight as the squares to be screened, the system can more efficiently filter out suitable trajectory candidate points during the path inference process, reducing the computational complexity. This weight-based screening mechanism ensures the continuity and accuracy of path planning, while enhancing the real-time performance of the system, providing a basic guarantee for the dynamic monitoring of the trajectory of computer room personnel.

[0078] S5: traversing the to-be-screened squares, taking the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and taking the track point as a new starting point, traversing again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set;

[0079] It should be noted that a trajectory point refers to an intermediate position point selected during the path inference process, representing the next position of the person's movement. Each trajectory point forms part of the complete path. The trajectory point set is a set of all trajectory points in order, reflecting the complete movement trajectory of the person from the starting point to the end point.

[0080] Specifically, the grid to be filtered is traversed, and the distance between each grid to be filtered and the end point is calculated. During the traversal process, the system will compare the distance values ​​of the grid to be filtered, and select the grid with the smallest distance, that is, the grid closest to the end point. Then, the center point of the grid is set as the current track point, and the track point is recorded in the track point set.

[0081] Furthermore, the selected trajectory point is updated as the new starting point, the adjacent grids to be screened are traversed again, and the above process is repeated. This step will be repeated continuously, and the system will select the center of the grid closest to the end point as the trajectory point each time, until the weight of the grid where the selected trajectory point is located is equal to the preset second weight (that is, it reaches the camera coverage area), indicating that the path inference has reached the end point. At this point, the set of all recorded trajectory points constitutes a complete personnel movement trajectory from the starting point to the end point.

[0082] This step can effectively plan the optimal path from the starting point to the end point by traversing the squares to be screened and selecting the square closest to the end point, ensuring the continuity and accuracy of the path. By using the center point of the nearest square as the trajectory point, the system can gradually approach the end point during the path inference process, reduce the selection of invalid paths, and improve the efficiency of path planning. In addition, setting a set of trajectory points can not only accurately record the movement trajectory of personnel, but also make the entire trajectory monitoring smoother and more realistic. Through this path inference strategy, the system can realize accurate monitoring of personnel trajectories in a dynamic environment, providing an efficient mobile trajectory monitoring solution for computer room management.

[0083] S6: Based on the time sequence of each trajectory point in the trajectory point set, connect the trajectory points to obtain the trajectory of the target computer room personnel.

[0084] It should be noted that the time sequence refers to the time sequence of the trajectory points when they are recorded. Each trajectory point is accompanied by a timestamp to indicate the time when the person arrived at the location. The target room personnel trajectory refers to the complete movement path formed by connecting the trajectory points in time sequence, showing the actual movement trajectory of the person in the room.

[0085] Specifically, all the track points in the track point set are sorted to ensure that the track points are arranged in the time order of the actual movement of the personnel. Each track point is accompanied by a timestamp when it is recorded, and the system sorts the track points according to these timestamps to accurately reflect the path of the personnel in the computer room.

[0086] Furthermore, the trajectory points are connected one by one in chronological order to form a coherent path. By gradually connecting the various trajectory points, the system generates a complete personnel movement trajectory, which intuitively shows the movement path of the personnel in the computer room from the starting point to the end point. This path is the target computer room personnel trajectory, which can clearly reflect the personnel's route in the computer room and provide complete personnel dynamic information for management personnel.

[0087] By connecting each trajectory point based on the time sequence of the trajectory point set, the system can construct an accurate personnel movement trajectory, thereby achieving efficient monitoring of personnel dynamics. This step ensures the continuity of the trajectory, so that the generated path conforms to the actual movement time series of the personnel, and avoids path deviation caused by data misordering. In addition, this method of connecting trajectory points in chronological order helps to analyze information such as the movement speed and direction of personnel, thereby further improving insight into the activities of computer room personnel and management efficiency. The final target computer room personnel trajectory can provide managers with real and intuitive personnel activities, improving the safety and management level of the computer room.

[0088] In this embodiment, based on the layout data of the computer room, a computer room plan is drawn on a two-dimensional virtual canvas divided into a plurality of squares; the weights of the squares corresponding to the passable areas of the computer room plan are set to a preset first weight, and the weights of the squares corresponding to the field of view coverage areas of each camera in the computer room plan are set to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are taken as the starting point, and the coordinates of the second camera are taken as the ending point; the squares to be filtered are determined according to the weights of the squares around the starting point; the squares to be filtered are traversed, and the center point of the square to be filtered with the smallest distance from the ending point is taken as the trajectory point, and the trajectory point is taken as the new starting point, and the traversal is repeated again until the weight of the square where the trajectory point is located is the preset second weight, thereby obtaining a trajectory point set; based on the time sequence of each trajectory point in the trajectory point set, the each trajectory point is connected to obtain the trajectory of the target computer room personnel. This embodiment constructs a computer room floor plan based on a two-dimensional virtual canvas, assigns different weights to the passable area and the camera field of view coverage area, realizes the digital representation of the internal environment of the computer room, sets the starting point and the end point by using the conversion of the camera field of view, traverses the weights and distances of adjacent squares through path planning, gradually determines the optimal set of trajectory points, and connects the trajectory points in chronological order to finally obtain accurate personnel movement trajectories. This not only realizes the automatic drawing of personnel trajectories, but also effectively reduces monitoring costs and manual operations, improves monitoring accuracy and real-time performance, and enhances the effect of personnel trajectory monitoring in the computer room.

[0089] Based on the above first embodiment, a second embodiment of the method for determining the trajectory of personnel in a computer room of the present application is proposed. Figure 2 , Figure 2 This is a schematic diagram of a sub-process in the second embodiment of the method for determining the trajectory of personnel in a computer room of the present application.

[0090] like Figure 2 As shown, in this embodiment, after step S1, the following is further included:

[0091] S1a: setting the initial weight of each square to a preset third weight;

[0092] S1b: The square where the equipment placement coordinates are located in the computer room plan is used as the equipment placement square, and the weights of the equipment placement square and the adjacent squares of the equipment placement square are set to a preset fourth weight.

[0093] It should be noted that the initial weight is the default weight set for all squares in the virtual canvas, which is used to identify the state of the square when it is not configured. The preset third weight refers to the initial weight assigned by the system to each square in the default state, which indicates the default characteristics of the square when it is not identified as a specific area (such as a passage area or equipment area). The equipment placement coordinates refer to the location coordinates of the equipment in the computer room layout data, usually indicating the specific location of equipment such as servers and cabinets. It is used to mark the position of the square where the equipment is located in the virtual canvas. The equipment placement square is the square in the virtual canvas that corresponds to the equipment placement coordinates. This square is used to indicate the location area where the equipment is placed in the actual computer room. The preset fourth weight is the weight used to identify the equipment area, which is assigned to the equipment placement square and its adjacent squares to indicate that these areas are inaccessible.

[0094] Specifically, the weights of all squares in the two-dimensional virtual canvas are first set to the preset third weight, which is the default initialization step of the system to ensure that all squares are in the same state before being identified as specific areas. The preset third weight generally represents an unknown or undefined area, and the properties of these squares are subsequently redefined through information such as devices and channels.

[0095] Furthermore, the location coordinates of the equipment in the room layout data are read, the squares corresponding to these locations are marked as equipment placement squares, and the weights of the equipment placement squares and their adjacent squares are set to a preset fourth weight. The preset fourth weight usually represents an inaccessible area, which is used to ensure that the path planning algorithm avoids the equipment location and its surrounding space to avoid the situation where the personnel path passes through the equipment area. In this way, the equipment placement area is clearly marked in the virtual canvas, which helps to accurately identify feasible paths in subsequent path planning.

[0096] By setting initial weights and specific area weights for the canvas squares, the system can quickly distinguish between equipment areas and passable areas, providing a clear basis for area division for path planning. The setting of initial weights allows the system to maintain a unified default state before area identification, while the setting of equipment area weights effectively avoids obstacle conflicts in path planning and ensures that the planned path is only generated in the passable area. This step improves the system's ability to make detailed divisions of the internal environment of the computer room, providing an accurate environmental model for subsequent path inference and trajectory monitoring, thereby enhancing the accuracy and safety of trajectory monitoring of computer room personnel.

[0097] Based on the first embodiment above, before step S2, the method further includes:

[0098] S2a: When the facial image of the computer room personnel is obtained, the square where the current position of the computer room personnel is located is recorded;

[0099] S2b: Determine whether the device placement coordinates are the same as the camera coordinates;

[0100] S2c: If yes, send an occlusion prompt signal.

[0101] It should be noted that the facial image refers to the facial image of the computer room personnel captured and identified by the camera. The facial image is used to identify the identity of the person and confirm the person's location. The square where the current location is located refers to the specific location square where the computer room personnel are located based on the facial image. The system will use this square to record the current location of the person to facilitate monitoring of his or her movement trajectory. The device placement coordinates refer to the actual placement coordinates of the device in the computer room, and are usually used to mark inaccessible areas in the virtual canvas. The camera coordinates refer to the coordinates of the camera installation position, which are used to mark the specific location of the camera in the computer room layout to define its monitoring range. The occlusion prompt signal is a prompt signal issued when it is detected that the camera's field of view is blocked by the device, which is used to remind the administrator that device occlusion may affect the monitoring effect.

[0102] Specifically, the camera obtains the facial image of the person in the computer room and recognizes it, thereby confirming the person's identity and current location in the computer room. Based on the recognition result, the system records the person's current location on the corresponding square in the virtual canvas to facilitate subsequent path inference and trajectory monitoring. This location recording process ensures the accurate update of the person's location, and the system can track the person's activities accordingly.

[0103] Furthermore, it is determined whether the device placement coordinates and the camera installation coordinates coincide. Since the device may block the camera's field of view, resulting in a monitoring blind spot, when the device placement coordinates are the same as the camera coordinates, the system considers that the camera's field of view may be blocked. At this point, the system automatically sends an occlusion prompt signal to remind the administrator that the camera's monitoring effect may be affected by the device, thereby helping to adjust the device or camera position in a timely manner to ensure the effectiveness of monitoring.

[0104] By recording the current position of the personnel in the computer room in real time, the system can effectively track the dynamic position of the personnel, providing accurate data support for trajectory monitoring and path planning. At the same time, by judging whether the device placement coordinates and the camera coordinates coincide, the system can intelligently identify the occlusion of the camera's field of view and issue an occlusion prompt signal in a timely manner. This occlusion detection mechanism improves the reliability of the monitoring system, helps reduce monitoring blind spots, improves the level of security management, ensures the coverage and effectiveness of monitoring videos, and provides more comprehensive security protection for personnel activities in the computer room.

[0105] In this embodiment, based on the layout data of the computer room, a computer room plan is drawn on a two-dimensional virtual canvas divided into a plurality of squares; the weights of the squares corresponding to the passable areas of the computer room plan are set to a preset first weight, and the weights of the squares corresponding to the field of view coverage areas of each camera in the computer room plan are set to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are taken as the starting point, and the coordinates of the second camera are taken as the ending point; the squares to be filtered are determined according to the weights of the squares around the starting point; the squares to be filtered are traversed, and the center point of the square to be filtered with the smallest distance from the ending point is taken as the trajectory point, and the trajectory point is taken as the new starting point, and the traversal is repeated again until the weight of the square where the trajectory point is located is the preset second weight, thereby obtaining a trajectory point set; based on the time sequence of each trajectory point in the trajectory point set, the each trajectory point is connected to obtain the trajectory of the target computer room personnel. This embodiment constructs a computer room floor plan based on a two-dimensional virtual canvas, assigns different weights to the passable area and the camera field of view coverage area, realizes the digital representation of the internal environment of the computer room, sets the starting point and the end point by using the conversion of the camera field of view, traverses the weights and distances of adjacent squares through path planning, gradually determines the optimal set of trajectory points, and connects the trajectory points in chronological order to finally obtain accurate personnel movement trajectories. This not only realizes the automatic drawing of personnel trajectories, but also effectively reduces monitoring costs and manual operations, improves monitoring accuracy and real-time performance, and enhances the effect of personnel trajectory monitoring in the computer room.

[0106] Based on the above second embodiment, a third embodiment of the method for determining the trajectory of personnel in a computer room of the present application is proposed. Figure 3 , Figure 3 This is a schematic diagram of a sub-process in the third embodiment of the method for determining the trajectory of personnel in a computer room of the present application.

[0107] In this embodiment, before step S3, the method further includes:

[0108] S3a: uniquely identify the personnel in the computer room;

[0109] S3b: Based on the unique identity identifier, determine whether the equipment room personnel is close to the boundary area of ​​the field of view of the first camera;

[0110] S3c: If yes, determine whether the personnel in the computer room enters the field of view of the second camera based on a preset personnel detection algorithm;

[0111] S3d: If yes, determine that the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera, and record the current time.

[0112] It should be noted that the unique identification is a unique ID generated for the computer room personnel through the camera or other identification means, which is used to distinguish different personnel. This identification can be based on information such as facial features and posture, so that the system can continuously identify and track the same person in a multi-camera environment. The first camera field of view refers to the monitoring area of ​​the first camera where the current computer room personnel are located. The system monitors the activities and positions of the personnel through this camera. The boundary area refers to the boundary position of the camera field of view, which is usually used to determine whether the person is about to leave the current camera field of view and enter the monitoring area of ​​other cameras. The preset person detection algorithm refers to an algorithm used to identify and track people under specific conditions, usually combined with deep learning or image recognition technology to determine whether the person switches from one camera field of view to another. The second camera field of view is the next camera monitoring area that the person enters after leaving the first camera. The system continues to track the activities of the person through this camera.

[0113] Specifically, each person in the room is first uniquely identified. This process is usually based on the person's facial features or other biometric information to ensure that the system can continuously identify and track the same person across different cameras' fields of view. The unique identification generated by the system is used to record and distinguish the activity trajectory of each person, thereby avoiding confusion between the trajectories of different people during monitoring.

[0114] Furthermore, based on the unique identity, it is detected whether the person is close to the boundary of the field of view of the first camera. If the person gradually moves to the boundary area, the system will start the preset person detection algorithm to determine whether the person has entered the field of view of the second camera. When the person is detected to enter the field of view of the second camera, the system determines that the person has left the first camera and entered the field of view of the second camera. At this time, the system records the current timestamp, marks the person's field of view switching event, and provides accurate start and end conditions for path inference.

[0115] This step achieves accurate tracking of personnel through unique identification, ensuring continuity between different camera fields of view. Based on boundary area judgment and personnel detection algorithms, the system can determine personnel field of view switching in real time, avoiding interruption of personnel trajectory due to overlapping camera fields of view or blind spots. In addition, the system records the time when personnel switch fields of view, providing accurate time nodes for trajectory monitoring, ensuring the integrity and real-time nature of the trajectory path. Overall, this method greatly improves the system's personnel monitoring capabilities in complex environments, achieves seamless field of view switching tracking, and helps ensure the safety management of the computer room.

[0116] Based on the above second embodiment, in this embodiment, step S4 includes:

[0117] S41: Obtaining weights of the squares around the starting point, and comparing the weights of the surrounding squares with the preset first weight;

[0118] S42: Determine whether the weight of the surrounding square is the same as the preset first weight;

[0119] S43: If yes, the corresponding surrounding squares are used as the squares to be screened.

[0120] Specifically, first obtain all the squares around the starting point and their weight information. The surrounding squares include the adjacent squares above, below, left, right, and diagonal positions of the starting point. The system reads the weight of each square to determine whether it meets the passage conditions of path planning. After obtaining the weight, the system compares the weight of each square with the preset first weight, which usually indicates a passable area, such as a passage or an open area in a computer room.

[0121] Furthermore, during the weight comparison process, it is determined whether the weights of the surrounding squares are the same as the preset first weights. If the weights of the surrounding squares are consistent with the preset first weights, it means that the square is a passable area. At this time, the square is marked as a square to be screened and added to the candidate path set, providing a direction selection for the next step of path inference. Through this screening process, the system effectively filters out inaccessible areas to ensure the consistency and safety of path planning.

[0122] By screening the weights of the squares around the starting point, the system can efficiently distinguish between passable areas and obstacle areas, ensuring that path inference is only performed in walkable squares. This step greatly reduces the invalid areas of path selection, allowing the system to quickly determine qualified squares and improve the efficiency of path planning. At the same time, this screening mechanism avoids the risk of personnel trajectories crossing equipment areas or other inaccessible areas, improving the rationality and safety of the path. Ultimately, this step provides a basis for accurate monitoring of personnel movement paths, making personnel trajectory monitoring in the computer room more reliable and efficient.

[0123] Based on the above second embodiment, in this embodiment, step S5 includes:

[0124] S51: traverse the to-be-screened squares, and determine the distance between each to-be-screened square and the end point to obtain a distance set;

[0125] S52: Determine whether there are multiple equal minimum distance values ​​in the distance set;

[0126] S53: If yes, the center point of the square in the to-be-screened square corresponding to the minimum distance value and in the same direction of travel is taken as the trajectory point;

[0127] S54: If not, taking the center point of the square with the smallest distance from the end point in the to-be-screened square as the trajectory point;

[0128] S55: Taking the trajectory point as a new starting point, traversing again until the weight of the square where the trajectory point is located reaches the preset second weight, thereby obtaining the trajectory point set.

[0129] It should be noted that the distance set is a set that records the distance between the square to be screened and the end point, and is used to select the nearest square during the path inference process. The direction of travel refers to the direction of the line between the previous track point and the current track point in the path planning. The square that is consistent with the direction of travel is selected first, which helps the continuity of the path.

[0130] Specifically, all the cells to be screened are traversed, and the distance between each cell to be screened and the end point is calculated. The calculated distance will be stored in the "distance set" for subsequent selection of the nearest cell as the next trajectory point of the path. Next, the system checks whether the distance set contains multiple equal minimum values, that is, whether multiple cells to be screened have the same distance from the end point.

[0131] Furthermore, if there are multiple equal minimum values ​​in the distance set, the system will give priority to the squares with the same current direction of travel among these minimum distance squares to ensure the continuity of the path. The center point of this square is set as the new trajectory point and added to the trajectory point set. If there is no equal minimum value in the distance set, that is, only one square to be screened has the smallest distance from the end point, the system directly uses the center point of the square as the trajectory point. Set the trajectory point as the new starting point, re-traverse the surrounding squares to be screened, and repeat the above steps. This process will continue until the weight of the square where the trajectory point is located is the preset second weight (usually representing the camera coverage area). At this time, the system completes the path inference and records all trajectory points to form a complete trajectory point set.

[0132] By traversing the squares to be screened and selecting the square closest to the end point, the system can achieve efficient path inference and ensure the accuracy and continuity of the personnel's movement trajectory. For multiple squares with the same distance, the squares that are consistent with the direction of travel are given priority, which further optimizes the smoothness of the path, avoids unnecessary direction changes, and makes the trajectory more natural. This method not only reduces the computational complexity and improves the real-time performance of path planning, but also ensures the continuity and accuracy of the personnel path, providing technical support for efficient trajectory monitoring of personnel in the computer room.

[0133] In this embodiment, based on the layout data of the computer room, a computer room plan is drawn on a two-dimensional virtual canvas divided into a plurality of squares; the weights of the squares corresponding to the passable areas of the computer room plan are set to a preset first weight, and the weights of the squares corresponding to the field of view coverage areas of each camera in the computer room plan are set to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are taken as the starting point, and the coordinates of the second camera are taken as the ending point; the squares to be filtered are determined according to the weights of the squares around the starting point; the squares to be filtered are traversed, and the center point of the square to be filtered with the smallest distance from the ending point is taken as the trajectory point, and the trajectory point is taken as the new starting point, and the traversal is repeated again until the weight of the square where the trajectory point is located is the preset second weight, thereby obtaining a trajectory point set; based on the time sequence of each trajectory point in the trajectory point set, the each trajectory point is connected to obtain the trajectory of the target computer room personnel. This embodiment constructs a computer room floor plan based on a two-dimensional virtual canvas, assigns different weights to the passable area and the camera field of view coverage area, realizes the digital representation of the internal environment of the computer room, sets the starting point and the end point by using the conversion of the camera field of view, traverses the weights and distances of adjacent squares through path planning, gradually determines the optimal set of trajectory points, and connects the trajectory points in chronological order to finally obtain accurate personnel movement trajectories. This not only realizes the automatic drawing of personnel trajectories, but also effectively reduces monitoring costs and manual operations, improves monitoring accuracy and real-time performance, and enhances the effect of personnel trajectory monitoring in the computer room.

[0134] In one embodiment, the specific implementation of the method for determining the trajectory of personnel in a computer room includes the following steps.

[0135] 1. Deploy cameras in the computer room:

[0136] Deploy at least one camera in the room, ensuring that the camera's field of view covers the entire room area. Preferably, the camera should be installed in a corner or other location that can fully monitor the room.

[0137] 2. Create a virtual canvas:

[0138] Create a new digital 2D canvas, which is divided into small squares of several resolutions. Each small square has a different weight, and by default, the weight of all squares is 0.

[0139] 3. Draw the floor plan of the computer room:

[0140] The actual boundaries of the computer room are drawn on the above canvas, and the weights of the small squares within these boundaries are set to 1, indicating that these areas are available areas.

[0141] 4. Place the device model:

[0142] Place actual existing equipment (such as server cabinets, etc.) in the digital model of the computer room, add a small square frame outside the equipment graphics by default, and set the weight of the small square occupied by the frame to 2, indicating that these areas are obstacles.

[0143] 5. Install and configure the camera model:

[0144] Mark the actual installed camera position in the digital model of the computer room, and set the weight of the small square covered by the camera's field of view to 3. In addition, it is necessary to set that when the camera captures a face, the small square corresponding to the position will be recorded, and the position coordinates of the camera and other devices cannot overlap to avoid occlusion.

[0145] 6. Path planning algorithm:

[0146] When a person is detected moving from one camera's field of view to another camera's field of view, the system uses the following algorithm to infer the person's movement path:

[0147] (1) Determine the coordinates of the preset position of camera A as the starting point QD, and the coordinates of the preset position of camera B as the end point ZD;

[0148] (2) Add the starting point QD to the trajectory set;

[0149] (3) Traverse the small squares around QD. If the small square belongs to the passable area (weight = 1), calculate the distance between the center point of the surrounding small squares and the end point ZD;

[0150] (4) Take the small square with the minimum distance as the next point of the person's trajectory and set it as the new starting point QD, and repeat the above operation (2);

[0151] (5) When the small square with the minimum distance belongs to the area where the end point ZD is located (weight = 3), stop traversing;

[0152] (6) Finally, the set of all trajectories is obtained.

[0153] 7. Trajectory visualization:

[0154] According to the order of the trajectory set, the connection lines and directions are displayed on the canvas to intuitively show the movement path of the personnel. Different colors or line types can be used to distinguish different personnel trajectories.

[0155] The present application also provides a device for determining the trajectory of personnel in a computer room. Figure 4 , Figure 4 This is a schematic diagram of the module structure of the device for determining the trajectory of a person in a computer room according to an embodiment of the present application. The device for determining the trajectory of a person in a computer room includes:

[0156] A plane drawing module 401 is used to draw a plane diagram of the computer room on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data;

[0157] The weight setting module 402 is used to set the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight, and set the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight;

[0158] The field of view conversion module 403 is used to use the coordinates of the first camera as the starting point and the coordinates of the second camera as the ending point when the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera;

[0159] A to-be-screened module 404 is used to determine the to-be-screened squares according to the weights of the squares around the starting point;

[0160] A traversal module 405 is used to traverse the to-be-screened squares, take the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and take the track point as a new starting point, and traverse again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set;

[0161] The target module 406 is used to connect the various trajectory points in the trajectory point set based on the time sequence of the various trajectory points to obtain the trajectory of the target computer room personnel.

[0162] The computer room personnel trajectory determination device provided in the embodiment of the present application adopts the computer room personnel trajectory determination method in the above embodiment, which can solve the technical problem of how to improve the effect of computer room personnel trajectory monitoring. Compared with the prior art, the beneficial effects of the computer room personnel trajectory determination device provided in the embodiment of the present application are the same as the beneficial effects of the computer room personnel trajectory determination method provided in the above embodiment, and other technical features in the computer room personnel trajectory determination device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0163] The present application provides a device for determining the trajectory of personnel in a computer room, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for determining the trajectory of personnel in the computer room in the above-mentioned embodiment.

[0164] Reference below Figure 5 , Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for determining the trajectory of computer room personnel in the embodiment of the present application, which shows a schematic diagram of the structure of a computer room personnel trajectory determination device suitable for implementing the embodiment of the present application. Figure 5 The equipment for determining the trajectory of personnel in the computer room shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0165] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. When the computer program is executed by the processing device 1001, the above functions defined in the method of the embodiments disclosed in the present application are executed.

[0166] The equipment for determining the trajectory of a person in a computer room provided by the present application adopts the method for determining the trajectory of a person in a computer room in the above-mentioned embodiment, and can solve the technical problem of how to improve the effect of monitoring the trajectory of a person in a computer room. Compared with the prior art, the beneficial effects of the equipment for determining the trajectory of a person in a computer room provided by the present application are the same as the beneficial effects of the method for determining the trajectory of a person in a computer room provided by the above-mentioned embodiment, and the other technical features of the equipment for determining the trajectory of a person in a computer room are the same as the features disclosed in the method of the previous embodiment, and will not be described in detail here.

[0167] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0168] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0169] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for determining the trajectory of personnel in a computer room in the above-mentioned embodiment.

[0170] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the computer room personnel trajectory determination device, the computer room personnel trajectory determination device: draws a computer room floor plan on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data; sets the weights of the squares corresponding to the passable areas of the computer room floor plan to a preset first weight, and sets the weights of the squares corresponding to the areas covered by the field of view of each camera in the computer room floor plan to a preset second weight; when the computer room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are taken as the starting point, and the coordinates of the second camera are taken as the ending point; the squares to be screened are determined according to the weights of the squares around the starting point; the squares to be screened are traversed, and the center point of the square with the smallest distance from the ending point in the squares to be screened is taken as the trajectory point, and the trajectory point is taken as the new starting point, and the traversal is performed again until the weight of the square where the trajectory point is located is the preset second weight, thereby obtaining a trajectory point set; and the trajectory points are connected based on the time sequence of the trajectory points in the trajectory point set to obtain the trajectory of the target computer room personnel. Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0171] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0172] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0173] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned computer room personnel trajectory determination method, and can solve the technical problem of how to improve the effect of computer room personnel trajectory monitoring. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the computer room personnel trajectory determination method provided by the above-mentioned embodiment, and will not be repeated here.

[0174] An embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for determining the trajectory of personnel in a computer room as described above.

[0175] The computer program product provided by this application can solve the technical problem of how to improve the effect of monitoring the trajectory of personnel in the computer room. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of this application are the same as the beneficial effects of the method for determining the trajectory of personnel in the computer room provided by the above embodiment, which will not be repeated here.

[0176] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for determining the trajectory of personnel in a computer room, characterized in that: The method comprises: Based on the layout data of the computer room, a floor plan of the computer room is drawn on a two-dimensional virtual canvas divided into a plurality of squares; The weight of the square corresponding to the passable area of ​​the computer room plan is set to a preset first weight, and the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan is set to a preset second weight; When the equipment room personnel leave the field of view of the first camera and enter the field of view of the second camera, the coordinates of the first camera are used as the starting point, and the coordinates of the second camera are used as the ending point; Determine the squares to be screened according to the weights of the squares around the starting point; Traversing the to-be-screened squares, taking the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and taking the track point as a new starting point, traversing again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set; Based on the time sequence of each trajectory point in the trajectory point set, the trajectory of the target computer room personnel is obtained by connecting the trajectory points.

2. The method according to claim 1, characterized in that After the step of drawing the computer room floor plan on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data, the method further includes: The initial weight of each square is set to the preset third weight; The square where the equipment placement coordinates in the computer room plan are located is used as the equipment placement square, and the weights of the equipment placement square and the adjacent squares of the equipment placement square are set to a preset fourth weight.

3. The method according to claim 2, characterized in that Before the step of setting the weight of the square corresponding to the passable area of ​​the computer room plan to the preset first weight, and setting the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to the preset second weight, the method further includes: When the facial image of the computer room personnel is obtained, the square where the current position of the computer room personnel is located is recorded; Determine whether the device placement coordinates are the same as the camera coordinates; If yes, send an occlusion prompt signal.

4. The method according to claim 1, characterized in that Before the step of taking the coordinates of the first camera as the starting point and the coordinates of the second camera as the ending point when the equipment room personnel leaves the visual range of the first camera and enters the visual range of the second camera, the step further includes: Uniquely identify the personnel in the computer room; Based on the unique identity, determine whether the computer room personnel is close to the boundary area of ​​the field of view of the first camera; If so, based on a preset personnel detection algorithm, determine whether the personnel in the computer room enters the field of view of the second camera; If so, it is determined that the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera, and the current time is recorded.

5. The method according to claim 1, characterized in that The step of determining the squares to be screened according to the weights of the squares around the starting point comprises: Obtaining weights of the squares surrounding the starting point, and comparing the weights of the surrounding squares with the preset first weight; Determining whether the weight of the surrounding squares is the same as the preset first weight; If so, the corresponding surrounding squares are used as the squares to be screened.

6. The method according to any one of claims 1 to 5, characterized in that: The step of traversing the to-be-screened squares, taking the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and taking the track point as a new starting point, and retraversing until the weight of the square where the track point is located is the preset second weight, and obtaining a track point set, comprises: Traversing the to-be-screened squares, and determining the distance between each to-be-screened square and the end point, to obtain a distance set; Determine whether there are multiple equal minimum distance values ​​in the distance set; If so, the center point of the square in the to-be-screened square corresponding to the minimum distance value and in the same direction of travel is taken as the trajectory point; If not, the center point of the square with the smallest distance from the end point in the to-be-screened square is taken as the trajectory point; The trajectory point is taken as a new starting point and traversal is performed again until the weight of the square where the trajectory point is located reaches the preset second weight, thereby obtaining the trajectory point set.

7. A device for determining the trajectory of personnel in a computer room, characterized in that: The device comprises: A plane drawing module, used for drawing a plane diagram of the computer room on a two-dimensional virtual canvas divided into a plurality of squares based on the computer room layout data; A weight setting module, used to set the weight of the square corresponding to the passable area of ​​the computer room plan to a preset first weight, and set the weight of the square corresponding to the field of view coverage area of ​​each camera in the computer room plan to a preset second weight; A field of view conversion module, used to use the coordinates of the first camera as a starting point and the coordinates of the second camera as an end point when the equipment room personnel leaves the field of view of the first camera and enters the field of view of the second camera; A to-be-screened module, used to determine the to-be-screened squares according to the weights of the squares around the starting point; A traversal module, used to traverse the to-be-screened squares, take the center point of the square with the smallest distance from the end point in the to-be-screened squares as a track point, and take the track point as a new starting point, and traverse again until the weight of the square where the track point is located is the preset second weight, thereby obtaining a track point set; The target module is used to connect the various trajectory points in the trajectory point set based on the time sequence of the various trajectory points to obtain the trajectory of the target computer room personnel.

8. A computer device, characterized in that: The device includes: a memory, a processor, and a computer room personnel trajectory determination program stored in the memory and executable on the processor, wherein the computer room personnel trajectory determination program is configured to implement the steps of the computer room personnel trajectory determination method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a computer room personnel trajectory determination program, which, when executed by a processor, implements the steps of the computer room personnel trajectory determination method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for determining the trajectory of a computer room personnel according to any one of claims 1 to 6 are implemented.