A method and system for adapting video monitoring point linkage tracking of a 3D yard

By constructing a 3D spatial model of the port yard and binding the coordinates of camera equipment, parsing work instructions, and automatically filtering and scheduling camera equipment, the problems of lag and permission conflicts in the video surveillance system were solved, and automatic linkage tracking of work targets was achieved, improving the efficiency and accuracy of video supervision.

CN123145382APending Publication Date: 2026-11-20NANJING ZHONGLI WAILUN TALLY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611195081.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing port yard video surveillance systems suffer from problems such as video stuttering, high transmission latency, permission conflicts, heavy reliance on manual operation, and inability to automatically track moving targets, resulting in low efficiency of video surveillance.

Method used

A 3D vector space model of the storage yard with coordinate-coded grid is constructed, and the camera equipment is bound to the spatial coordinates. The operation instructions are parsed through a standardized interface, and the main and backup tracking equipment is selected by using spatial overlap comparison algorithm and weight value to realize automatic linkage tracking of the camera equipment. When the network is interrupted, the offline service nodes of the partition can be used for independent operation. Combined with environmental adaptive optimization and self-calibration mechanism, the continuity and accuracy of video surveillance are ensured.

Benefits of technology

It enables automatic linkage tracking of operational targets, reduces video lag and transmission delay, reduces manual operation costs, improves the continuity and efficiency of video supervision, ensures that video targets are not lost in dynamic operation scenarios, and enhances the stability and accuracy of the supervision footage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145382A_ABST
    Figure CN123145382A_ABST
Patent Text Reader

Abstract

The application discloses a video monitoring point position linkage tracking method and system suitable for a 3D yard, and relates to the field of video monitoring. The method comprises the following steps: a 3D yard model with a coordinate grid is constructed, the visual range of each camera device is calculated and is bound and mapped with the model grid, and a conversion function is established. Job instructions are received and analyzed, and model coordinates are called to generate a target movement sequence. During tracking of a job target, a candidate device set capable of covering the target coordinates is quickly matched according to a mapping relationship, and a backup tracking device is selected by comprehensively calculating a scheduling weight. The target coordinates are converted into control instructions in real time by using the conversion function to drive the main device to continuously track the target. When the target moves out of the visual field of the main device, the backup device is automatically switched to. When the network is interrupted, the mapping data stored locally is relied on to complete device matching and instruction issuing by partition nodes independently. The application realizes automatic linkage tracking of a job target in a port yard, ensures that video monitoring of a whole process of the job is coherent, and reduces dependence on manual operation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of video surveillance, and specifically relates to a video surveillance point linkage tracking method and system adapted to 3D yards. BACKGROUND ART

[0002] In current port operations, yard tally operations are a critical link, involving multiple processes such as cargo loading and unloading, storage, and transshipment. As an important means to ensure operation safety and improve management efficiency, video surveillance systems are increasingly widely applied in port yards. Through video surveillance, the situation at the operation site can be grasped in real time, potential safety hazards can be detected and handled in a timely manner, so as to ensure cargo safety and smooth operation.

[0003] At present, in the port yard tally operation scenario, the global video surveillance system generally adopts a centralized centralized forwarding architecture. Under this architecture, the video streams of all front-end camera devices are uniformly aggregated to a single central service node, which then completes distribution and forwarding. When accessing video resources, terminals in each operation partition need to retrieve the centrally forwarded streams across long links. To alleviate the problem of video frame stuttering, each operation partition independently deploys client software locally to manage and control the front-end camera devices. In addition, the existing video supervision mode mainly relies on manual operation: after receiving operation instructions such as loading and unloading, transshipment, and stacking, operators need to manually retrieve the surveillance points in the corresponding yard area and manually control the pan-tilt to aim at the operation target.

[0004] However, the existing port yard video surveillance system has many defects. Due to the adoption of the cross-partition centralized forwarding architecture, the network link has multiple levels and the load of forwarding nodes is concentrated, which is very prone to video frame stuttering and high transmission delay. Moreover, there is a lack of a unified authority scheduling mechanism for global video resources, and the situation where multiple terminals synchronously seize the control authority of the same pan-tilt camera device occurs frequently, leading to conflicts in operation instructions such as pan-tilt rotation, zooming, and cruising, and disrupting the visual supervision order of on-site tally operations. At the same time, the existing mode relies entirely on manual operation, the response of manual retrieval operation is lagged, the operation target cannot be automatically and continuously locked and tracked during the moving process, the video frame frequently loses the target in dynamic operation scenarios such as cargo shifting, vehicle transshipment, and container hoisting, the supervision frames of the operation process are fragmented and lack coherence, and post-event retrospective evidence collection requires manual retrieval of recordings channel by channel, resulting in low efficiency of video retrieval and evidence preservation. SUMMARY OF THE INVENTION

[0005] To realize automatic linkage tracking of port yard operation targets, ensure coherent video supervision frames for the whole operation process and reduce the dependence on manual operation for video surveillance, the present application provides a video surveillance point linkage tracking method and system adapted to 3D yards.

[0006] Firstly, this application provides a video monitoring point linkage tracking method adapted to 3D storage yards, including: Construct a three-dimensional vector space model of the stockpile with a coordinate-coded mesh; collect hardware parameters of the camera equipment, calculate the visible three-dimensional space range of the equipment, and perform spatial overlay matching with the model mesh; establish a binding mapping data table for camera equipment codes, equipment spatial coordinates, and visible space mesh coordinates; construct a conversion function to complete the conversion between target spatial coordinates and equipment hardware control commands; The operation instructions are obtained through a standardized interface, and the core fields of the operation instructions, which include the operation area and the operation target identifier, are parsed and extracted. Based on the core fields, the three-dimensional coordinates of the corresponding workstation, stack position, and path in the 3D stockpile model are retrieved, and a sequence of operation target coordinates with timestamps and three-dimensional coordinates is generated. The spatial overlap comparison algorithm is used to screen the candidate equipment set that covers the coordinates of the target operation. The equipment scheduling weight value is calculated by combining the spatial distance between the equipment and the target, the lens optical zoom coverage adaptation, the equipment gimbal occupancy status and network latency. Based on the weight value, the primary and backup tracking equipment are selected from the candidate camera equipment set, and the exclusive lock of equipment permissions and the pre-loading scheduling of backup equipment are performed. The system uses a pre-built conversion function to convert the target's 3D coordinates into hardware control commands for the main tracking device. It then moves the coordinates continuously according to the sequence of work targets, updates the coordinates in real time, and executes the device's hardware control commands in a loop. When the work target moves out of the main device's field of view, it automatically switches to the first-ranked backup device, unlocks the original device, and sends coordinate tracking commands to the new device. In the event of a network interruption, the system uses a pre-defined partition offline service node to independently complete matching, scheduling, and command issuance based on the locally bound mapping data table, work commands, and the work target coordinate sequence.

[0007] By adopting the above scheme, a three-dimensional vector space model of the storage yard with coordinate-coded grid is constructed and a binding mapping data table is established to achieve precise binding between monitoring camera equipment and three-dimensional spatial coordinates; standardized interfaces are used to acquire and parse operation instructions to generate a sequence of operation target coordinates, clearly defining the tracking target; primary and backup tracking devices are selected and scheduled through spatial overlap comparison algorithms and weight values, selecting the most suitable device and achieving exclusive control; automatic linkage tracking is achieved by using conversion functions and real-time coordinate updates, avoiding the drawbacks of manual operation; and when the network is interrupted, partitioned offline service nodes are set up to independently complete relevant calculations to ensure continuous tracking operation and avoid video target loss and fragmented monitoring images in dynamic operation scenarios.

[0008] Preferred options also include: During the target tracking process, the front-end NVR continuously writes the video stream to local storage according to the preset bitrate and storage cycle. A unique index tag is embedded in the header of the local storage file of the video stream. The index tag is bound to the corresponding job instruction number, the three-dimensional coordinate sequence of the job target, the linkage camera device code, and the start and end timestamps of the job target tracking. The system collects operation and maintenance data from the entire process of target tracking, generates operation and maintenance logs, and performs statistical analysis to display the online rate of target tracking task completion, video recording integrity rate, and device switching response time. The operation and maintenance logs include operation time, three-dimensional coordinate parameters, device hardware control command parameters, device online status, and link latency values. An open video push interface is provided that supports hierarchical permission configuration; the video push interface is bound to the video stream captured by the corresponding camera device for tracking the task target.

[0009] By adopting the above solution, the operation target tracking video can be stored locally and embedded with index tags for easy retrieval later; statistical analysis of the entire process operation and maintenance data can be performed to intuitively display various indicators of the tracking task and automatically identify faults; and a video push interface with open access level configuration can be provided to meet the viewing needs of different external terminals, thereby improving the efficiency of cargo handling operation video supervision and post-event evidence collection and tracing.

[0010] Preferably, the conversion function is established based on the mechanical rotation parameters of the equipment gimbal and the lens focal length adjustment parameters. Its input is the three-dimensional coordinates of any target in the 3D stockpile model, and its core output is the hardware control command that drives the camera equipment to align with the target. The conversion function is also configured with an environmental adaptive optimization mechanism; the environmental adaptive optimization mechanism includes: acquiring real-time meteorological and illumination sensor data of the storage yard and identifying the current environmental scene type; the conversion function dynamically corrects the output equipment hardware control commands based on the current environmental scene type.

[0011] By adopting the above scheme, the output hardware control commands of the camera equipment are dynamically corrected according to different environmental scenarios, which improves the accuracy and adaptability of the camera equipment in aligning with the work target in different environments, enabling video surveillance to better track the work target under various environmental conditions.

[0012] Preferably, the method further includes: a self-calibration service mechanism, comprising: In the 3D vector model of the storage yard, the 3D spatial coordinates of several reference feature points are pre-marked. During initialization, the offline calibration of the camera equipment is completed, and an initial binding mapping data table is established. During equipment operation, and when the equipment pan-tilt unit is idle, the self-driven equipment pan-tilt unit sequentially points to the reference feature points within the field of view and acquires images. The measured image coordinates of the reference feature points are extracted through visual feature detection. Based on the world coordinates and measured image coordinates of multiple reference feature points, the current real external parameters of the equipment are calculated in real time using a multi-point perspective imaging algorithm. The six-degree-of-freedom deviation vector is obtained by comparing it with the offline calibration external parameters. An online correction table is established based on the deviation vector to map any angle within the working range of the equipment pan-tilt unit to a new compensated angle, and the equipment hardware control commands output by the conversion function are dynamically compensated.

[0013] By adopting the above scheme, the deviation of the external parameters of the camera equipment is monitored and corrected in real time, and the control commands of the camera pan-tilt unit are dynamically compensated during the operation of the equipment, ensuring that the camera equipment is always accurately aimed at the target, thereby improving the accuracy and stability of video surveillance.

[0014] Preferably, the method further includes: when the received work instruction is one of a temporary work instruction adjustment instruction, a temporary static fixed workstation modification instruction, or a dynamic trajectory temporary revision instruction, performing the following steps: Calculate the spatiotemporal deviation between the original target coordinate sequence and the revised target coordinate sequence; the spatiotemporal deviation is calculated by comprehensively considering the dynamic time curvature distance of the trajectory, the field-of-view coverage loss ratio of the original candidate equipment set, the time offset of the key handover point, and the angular distance of the target from the center of the equipment's field of view, and classify the deviation level as slight, moderate or significant based on a preset spatiotemporal deviation threshold; If the deviation level is slight, maintain the original main tracking device and permission lock; use the conversion function to adjust the hardware control commands in real time based on the revised coordinates, and apply a preset acceleration limit to the output device gimbal control quantity to achieve a smooth transition; If the deviation level is medium, based on the calculation result of the original scheduling weight value, the second-best device is selected from the candidate device set for activation, and a relay switch is performed between the primary tracking device and the second-best device. If the deviation level is significant, re-execute the spatial overlap comparison and scheduling weight calculation, filter and lock the new master tracking device, and release the permissions of the original master tracking device.

[0015] By adopting the above scheme, when encountering situations such as temporary adjustments to work instructions, modifications to static fixed workstations, or temporary revisions to dynamic trajectories, different adjustment strategies are adopted according to the spatiotemporal deviation level to ensure continuous and stable tracking of work targets, improve the adaptability and reliability of the system under emergencies, and guarantee the continuity and accuracy of video surveillance.

[0016] Preferably, the relay switching between the primary tracking device and the secondary tracking device includes: The system calculates the overall confidence score of the primary and secondary tracking devices for tracking the target in real time. This overall confidence score is obtained by weighting spatial coverage quality score, image quality and interference score, and motion stability score. The spatial coverage score is calculated using the normalized distance from the target center to the image center as an indicator. The image quality and interference score is calculated using image sharpness and target local contrast as indicators. The motion stability score is calculated using the target's motion acceleration and the reciprocal of its jerk within the image as indicators. When the predicted target enters the overlapping area of ​​the fields of view of the primary and secondary devices after a preset time period, the pan-tilt unit of the secondary device is driven to a preset position and locked onto the target, and its comprehensive confidence score is calculated. After the comprehensive confidence score of the secondary device exceeds the score of the primary device and the difference between the two scores is greater than a preset threshold, and after a preset confirmation period, the screen output is switched from the primary device to the secondary device. After the switch is executed, within a preset cooling period, a reverse switch is allowed only if the score of the primary device surpasses the score of the secondary device and the difference between the two scores is greater than a preset threshold.

[0017] By adopting the above scheme, the comprehensive confidence scores of the primary and secondary devices for tracking the target are calculated based on a weighted average of multiple evaluation indicators. Combined with the prediction of the field of view overlap area and the setting of the score threshold, the switching of the screen between the primary and secondary tracking devices is completed accurately and stably, avoiding unnecessary frequent switching of devices and improving the stability and continuity of the video screen during the target tracking process.

[0018] Preferably, the scheduling weight value of the integrated computing device further includes: Automatically collect multi-source feedback data after each scheduling decision; the multi-source feedback data includes: motion smoothness score during tracking handover, cumulative duration percentage of the job target lost from all candidate devices, and frequency of operator manual intervention; Based on the collected and real-time identified operational environment context, the multi-source feedback data is quantified into reward signals. An online gradient descent algorithm is used to dynamically adjust the weight coefficients corresponding to the spatial distance between the device and the target, the lens optical zoom coverage adaptation, the device gimbal occupancy status, and the network latency, in order to maximize the cumulative reward. The adjusted weight coefficients are all constrained within a preset safety range, and the environmental context includes at least the weather type and the light level.

[0019] By adopting the above scheme, multi-source feedback data after scheduling decisions are automatically collected and quantified into reward signals in combination with the context of the working environment. The weight coefficients are dynamically adjusted using an online gradient descent algorithm, which makes the calculation of equipment scheduling weights more in line with the actual working environment and improves the accuracy and adaptability of equipment scheduling.

[0020] Secondly, this application provides a video monitoring point linkage tracking system adapted to 3D storage yards, including: The 3D spatial modeling module is used to construct a 3D vector space model of the stockpile with coordinate-coded mesh; collect camera equipment hardware parameters, calculate the visible 3D space range of the equipment and perform spatial overlay matching with the model mesh; establish a binding mapping data table for camera equipment codes, equipment spatial coordinates, and visible space mesh coordinates; and construct a conversion function to complete the conversion between target spatial coordinates and equipment hardware control commands. The work instruction parsing module is used to obtain work instructions through a standardized interface, parse and extract the core fields of the work instructions containing the work area and work target identifier; and retrieve the three-dimensional coordinates of the corresponding work station, stack position and path in the 3D stockpile model based on the core fields to generate a sequence of work target coordinates with timestamps and three-dimensional coordinates. The camera equipment matching and scheduling module is used to filter the candidate equipment set that covers the coordinates of the target operation using a spatial overlap comparison algorithm; it combines the spatial distance between the equipment and the target, the lens optical zoom coverage adaptation, the equipment pan-tilt occupancy status and network latency to comprehensively calculate the equipment scheduling weight value, select the primary and backup tracking equipment from the candidate camera equipment set based on the weight value, and perform exclusive locking of equipment permissions and pre-loading scheduling of backup equipment. The PTZ control command conversion module is used to convert the target's 3D coordinates into hardware control commands for the main tracking device using a pre-built conversion function. It continuously moves the coordinates according to the sequence of work targets, refreshes the coordinates in real time, and executes the device's hardware control commands in a loop. When the work target moves out of the main device's field of view, it automatically switches to the first-ranked backup device, unlocks the original locked device, and sends coordinate tracking commands to the new device. In the event of a network interruption, it uses a preset partition offline service node to independently complete matching, scheduling, and command issuance based on the locally bound mapping data table, work commands, and work target coordinate sequence.

[0021] By adopting the above scheme, a binding mapping between monitoring camera equipment and three-dimensional spatial coordinates is established, and suitable camera equipment is automatically selected and scheduled. This enables automatic linkage and uninterrupted continuous tracking of cameras during the movement of the target, reduces manual operation costs, avoids conflicts in PTZ control commands, and can still maintain target linkage tracking and video storage when the network is interrupted. This reduces video stuttering and transmission delays and improves the linkage coverage capability of monitoring blind spots.

[0022] Thirdly, this application provides a computer-readable storage medium including a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to perform the method described above.

[0023] Fourthly, this application provides a computer device, the computer device including a memory, a processor and a program stored in the memory and executable thereon, the program being executed by the processor to implement the steps of the method described above.

[0024] In summary, this application has the following beneficial effects: 1. Construct a 3D spatial model with a coordinate-coded grid, bind camera equipment to 3D coordinates, parse the target coordinate sequence, select compatible equipment and manage permissions to achieve automatic camera linkage tracking. Simultaneously, perform video storage, maintenance data statistical analysis, and video push, reducing manual operation costs, eliminating command conflicts, and ensuring continuous video retention throughout the entire operation process; 2. The conversion function is based on the equipment parameters and can convert the target coordinates into hardware control commands. It also has an environmental adaptive optimization mechanism. At the same time, a self-calibration service mechanism is set up to calculate the equipment external parameters in real time and compensate for the deviation of the control commands, so that the camera equipment can better adapt to different environments and accurately track the operation target. 3. When faced with adjustments to work instructions, calculate and classify the spatiotemporal deviations, and take different countermeasures according to the level to cope with temporary changes in work instructions and ensure the effectiveness and stability of video surveillance point linkage tracking. During relay switching, calculate the comprehensive confidence level, dynamically adjust the weighting coefficients, flexibly respond to changes in instructions, ensure tracking stability, and improve equipment scheduling adaptability. Attached Figure Description

[0025] Figure 1 This is a flowchart of the video monitoring point linkage tracking method adapted to 3D storage yards described in a specific embodiment; Figure 2 This is a schematic diagram of the video monitoring point linkage tracking system adapted to the 3D yard described in a specific embodiment. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0027] To address the shortcomings of existing port yard video surveillance systems, such as the lack of 3D spatial coordinate binding mechanisms, reliance on manual retrieval and operation of camera equipment, video lag and access conflicts caused by centralized forwarding across zones, the inability to automatically track moving targets, fragmented video monitoring throughout the entire operation process, and low efficiency of manual operation, this application primarily employs the construction of 3D models combined with equipment scheduling to achieve linked video surveillance tracking. This eliminates video lag and access conflicts, enables automatic target tracking, and improves monitoring efficiency. The following is a further detailed description of this application. Example 1

[0028] like Figure 1 As shown in the figure, this application discloses a video monitoring point linkage tracking method adapted to 3D yards, including steps such as: three-dimensional spatial model construction and data binding, operation instruction parsing, camera equipment matching and scheduling, and pan-tilt control instruction conversion.

[0029] The process involves several key steps: First, the 3D spatial model construction and data binding endow the 3D yard model with spatial coordinate information and establish a connection between camera equipment and these coordinates, providing a foundation for subsequent precise positioning and equipment control. Second, the operation instruction parsing stage extracts target coordinates from standardized operation instructions, further clarifying the target's location and movement trajectory. Third, the camera equipment matching and scheduling stage selects the most suitable camera and manages its permissions in advance to ensure timely and accurate acquisition of target footage. Fourth, the pan-tilt control instruction conversion stage precisely controls the camera's pan-tilt and lens based on the target coordinates, ensuring continuous display of the target in the frame. Furthermore, when the network is interrupted, the system can utilize offline service nodes in designated areas to operate independently, maintaining normal video surveillance functionality. Through the coordination of these steps, automated linkage tracking of video surveillance points is achieved, improving the efficiency and accuracy of video monitoring. Each step will be explained in detail below.

[0030] S1. Execute the construction of the three-dimensional spatial model of the storage yard and the mapping of the coordinates of the monitoring points.

[0031] Specifically, the construction of 3D spatial models and data binding includes surveying data acquisition, camera equipment data processing, and conversion function construction.

[0032] First, regarding the collection of surveying data, the main focus is on collecting spatial surveying data of the entire yard's topography, cargo storage areas, loading and unloading workstations, transport channels, and shoreline boundaries. Using this spatial surveying data, a complete 3D vector spatial model of the yard is generated using a 3D modeling engine. The model is divided into hierarchical spatial grids representing independent operational sub-areas, operational points, vehicle travel paths, and cargo hoisting trajectories. Each spatial grid is assigned a unique spatial coordinate code; this code includes values ​​for the 3D horizontal axis, vertical axis, and height axis, as well as a region-level identifier. Simultaneously, all loading and unloading workstations, container stacking locations, and vehicle parking positions in the yard are bound to dedicated target spatial coordinate labels.

[0033] Secondly, regarding the data processing of the camera equipment, the following hardware parameters are collected: the physical installation location of all front-end camera equipment, lens installation height, initial pan / tilt horizontal angle, vertical tilt angle, optical zoom limit range, and infrared / white light visible coverage distance. These hardware parameters can be obtained from the equipment's instruction manual or the configuration software that comes with the equipment. A unique code is assigned to each camera (e.g., CAM-A-01), and the unique equipment code of each camera and the three-dimensional coordinates of the equipment's installation origin are entered into a 3D spatial model.

[0034] Based on the optical imaging parameters of the camera equipment, the effective visible 3D spatial range of the equipment is calculated, generating a set of polygon coordinates for the visible space of a single camera equipment. This set of polygon coordinates is then spatially overlaid and matched with the 3D storage yard model mesh. The optical imaging parameters of the equipment include: installation coordinates, gimbal mechanical range, and lens parameters. Assuming that when the lens focal length of the CAM-A-01 equipment is set to wide-angle and the gimbal is in a preset orientation, its visible range is a square pyramid emanating from the optical center of the lens. Changing the gimbal attitude and lens zoom will create a series of different visible square pyramids. The set of boundary points of the 3D spatial region enclosed by the intersections of all these square pyramids with the ground, stacked container surfaces, and other effective working planes constitutes the set of polygon coordinates for the visible space.

[0035] Establish a low-level binding mapping data table that corresponds one-to-one with the camera device code, device spatial coordinates, and visible space grid coordinates. For example: (CAM-A-01)-(150.5, 80.2, 15.0)- [Grid-(70,35), Grid-(71,35),..., Grid-(160,125)] (a list or set of approximately 8500 grid IDs). The data table is stored locally on each partition's offline service node and fully synchronized to the central integrated management platform. In the event of a network interruption, each partition's offline node can independently retrieve its local binding mapping data table to complete coordinate matching calculations.

[0036] Finally, regarding the construction of the conversion function: For spherical camera devices with 3D positioning and optical zoom cruise capabilities, a conversion function is established based on the device's gimbal mechanical rotation parameters and lens focal length adjustment parameters to convert spatial coordinates into device hardware control commands. The function input is the three-dimensional coordinates of any target within the 3D storage yard model, and the output is the device hardware control commands, including: gimbal horizontal rotation pulse value, vertical pitch pulse value, lens zoom level value, and preset position call command sequence. The conversion function can be encapsulated as a coordinate transformation calculation module and embedded into the offline service programs of each partition and the central platform scheduling program to complete the underlying conversion logic construction between spatial coordinates and camera device hardware control commands.

[0037] Based on step S1 above, the basic framework of the 3D yard model is first constructed by collecting survey data. Then, the relevant information of the camera equipment is associated with the model. Finally, a conversion function is established to realize the conversion between coordinates and equipment control commands, forming a complete three-dimensional spatial model and data binding system, which provides an accurate data foundation for subsequent operation command parsing and equipment scheduling.

[0038] S2. Receive the work instruction, complete the work instruction parsing and real-time parsing and output of the three-dimensional coordinates of the work target.

[0039] Specifically, job instruction parsing includes job instruction acquisition and cleaning, target coordinate generation, and coordinate verification.

[0040] First, regarding the acquisition and cleaning of work instructions, a standardized work instruction data interface is established. This interface is compatible with multi-source work message formats from yard tallying and scheduling systems, container loading and unloading control systems, and vehicle scheduling systems. The interface performs header verification, field cleaning, and unified data format conversion on the received raw work messages. It extracts core work instruction fields such as work type, work start and end areas, work target identifier, target movement trajectory nodes, and work execution timestamp from the message. The cleaned standardized work instructions are then cached in a distributed message queue for orderly distribution.

[0041] Secondly, regarding target coordinate generation, based on the work area and target identifier fields within the standardized work instruction, the database of workstation, stack location, and path coordinate labels bound to the 3D yard space model is retrieved based on the target spatial coordinates to obtain the bound 3D coordinates of the workstation, stack location, and path. Specifically, if the work instruction corresponds to a static work scenario, the 3D coordinates of the fixed workstation are directly matched as the work reference coordinates; if the work instruction corresponds to a dynamic transfer or hoisting work scenario, multiple trajectory node identifiers within the message are extracted, and the 3D spatial coordinates corresponding to each trajectory node are retrieved sequentially to generate a continuous movement coordinate sequence of the work target, including a timestamp and corresponding 3D coordinates. This coordinate sequence also includes additional parameters such as target size, height, and movement speed. The complete coordinate sequence is pushed to assist in the following camera equipment linkage scheduling calculations.

[0042] Finally, coordinate verification is performed. To ensure accurate capture and tracking of operational targets, the coordinate sequence of operational targets is verified in real time. The coordinates are compared with the full range of the valid operational space grid in the 3D yard model. Incorrect coordinate data that exceeds the yard boundary or is invalid is removed. For operational instructions with missing coordinates or abnormal fields, anomaly logs are generated and stored in the operation and maintenance database. Anomaly alerts are also pushed to the database. After verification, a continuous coordinate sequence is continuously output.

[0043] Based on step S2 above, the operation instructions are first obtained and cleaned through a standardized interface, then the coordinate sequence of the operation target is generated according to the instruction content, and finally the coordinate sequence is verified to ensure its accuracy and effectiveness, so as to provide reliable target coordinate information for subsequent camera equipment matching and scheduling.

[0044] S3. Perform automatic matching and priority scheduling calculations for camera devices based on the target's three-dimensional coordinates.

[0045] Specifically, camera equipment matching and scheduling includes candidate equipment screening, weight calculation and equipment selection, and permission scheduling.

[0046] First, candidate device screening is performed. After receiving the real-time 3D coordinate sequence of the target, the system iterates through the locally stored set of polygon coordinates within the visible space of all camera devices. A spatial overlap comparison algorithm is used to determine whether the target's 3D coordinates fall within the visible space of a single camera device, thus filtering out a set of candidate camera devices whose visible range covers the target. Simultaneously, hardware status data of the candidate devices is extracted, including device online status, normal recording and storage status, PTZ control idle / occupied status, and network transmission bandwidth usage data.

[0047] The spatial overlap comparison algorithm is essentially a point containment test in three-dimensional space, that is, determining whether a given three-dimensional point is located inside a three-dimensional polyhedron. Taking the ray casting method as an example, for each camera device's visible spatial polyhedron, the following judgment is performed: a ray is emitted from the target coordinate point in any direction in space (such as the positive X-axis), and the number of intersections between this ray and all faces of the device's visible spatial polyhedron is calculated. If the number of intersections is odd, the target point is inside the polyhedron; if the number of intersections is even, the target point is outside the polyhedron.

[0048] Secondly, regarding weight calculation, a camera equipment scheduling weight calculation model is constructed to select the most suitable camera equipment. The model's input parameters include: the straight-line distance between the equipment and the target in three-dimensional space, the lens's optical zoom coverage adaptation, the current PTZ occupancy status of the equipment, and the network transmission link latency. Based on the output parameters, a weight value is calculated for each candidate camera equipment, and the model outputs a weight value for each equipment. The formula is: ;in, These are the weight values ​​for candidate devices; To prepare the straight-line distance between the target and the target in three-dimensional space; To ensure compatibility with lens optical zoom coverage; This indicates the current occupancy status of the device's gimbal. This represents the network transmission link delay value; , , as well as The weights are for each parameter.

[0049] The higher the weight value of each device, the better the device is adapted to the current target tracking needs. Candidate camera devices are sorted from high to low according to their weight values. The camera device with the highest weight value is selected as the main tracking camera device, and the next highest weight value and subsequent devices are selected as backup linkage camera device groups.

[0050] Next, regarding permission scheduling, the exclusive permission scheduling logic for all-domain camera devices is executed. A PTZ exclusive lock command is issued to the offline service node of the partition to which the main tracking camera device belongs. The lock command carries a unique job scheduling identifier. During the lock period, the channel for other terminals and other job tasks to issue PTZ control commands to the device is blocked. Simultaneously, the backup linkage camera device group is set to standby preloading state. The preloading operation retrieves the video stream of the backup device to the local cache in advance, shortening the switching response time. The permission lock state and device preloading state are written to the global permission management database in real time for unified management.

[0051] Based on step S3 above, candidate devices that can cover the task objectives are first screened out, then the most suitable primary and backup tracking devices are selected through a weight calculation model, and finally the device permissions are managed and scheduled to ensure that the devices can work according to the task schedule, thereby improving the efficiency and accuracy of video surveillance.

[0052] S4. Perform coordinated control of camera equipment and continuous tracking of the target.

[0053] Specifically, PTZ control command conversion includes command conversion and issuance, target tracking and device switching, and offline operation processing.

[0054] First, regarding instruction conversion and distribution: The coordinate transformation module, constructed in step S1 above, inputs the real-time 3D coordinates of the target into the coordinate transformation calculation module. Using a pre-built conversion function, the target's 3D coordinates are converted into hardware control instructions for the main tracking device, outputting corresponding pan-tilt control pulse instructions, lens zoom adjustment instructions, and 3D positioning magnification instructions for the main tracking camera. After receiving the instructions, the offline service node in the partition directly distributes them to the hardware execution unit of the front-end camera device. The hardware unit adjusts the pan-tilt horizontal and vertical angles based on the pulse values, simultaneously adjusting the lens focal length to center the target in the video frame. Device OSD characters are overlaid, and these characters simultaneously include the current job instruction number, target coordinate information, and the dispatcher's identifier.

[0055] Secondly, regarding target tracking and equipment switching: The system reads the continuous movement coordinate sequence of the target in real time, refreshes the target's 3D coordinates at fixed time intervals or in real-time, and cyclically performs coordinate transformation, pan-tilt command issuance, and image centering adjustments. As the target moves continuously along the yard transport path and hoisting trajectory, the camera's pan-tilt parameters are continuously updated to keep the target within the video's visible area. When the target's 3D coordinates move out of the polygonal range of the main tracking camera's visible space, the system automatically retrieves the first-ranked backup camera, releases the original main camera's exclusive pan-tilt lock, and issues pan-tilt lock commands and coordinate tracking control commands to the new main camera, completing uninterrupted image switching and tracking.

[0056] Then, for offline operation processing, in scenarios of network link interruption or central platform offline failure, the partitioned offline service nodes independently cache local job instructions, target coordinate sequences, and camera device binding mapping data tables, and independently complete the entire process of coordinate matching, weight scheduling, and PTZ command conversion and distribution locally. The local NVR synchronously and continuously stores the video recordings of the entire tracking process, and the local video wall decoding unit synchronously loads the tracking video images, ensuring uninterrupted operation of job target linkage tracking, video storage, and PTZ control functions in the offline state. After the network is restored, the offline nodes will batch synchronize the offline tracking logs, recording indexes, and permission operation records to the central integrated management platform.

[0057] Based on step S4 above, the target coordinates are first converted into equipment control commands and issued. Then, the target is continuously tracked during its movement. When the target exceeds the visible range of the main device, the device is switched. At the same time, considering the possibility of network interruption, the system is ensured to operate normally even when offline, thus guaranteeing the continuity and reliability of video surveillance.

[0058] S5. Complete the processing of video storage, operation and maintenance records, and backtracking retrieval during the tracking process.

[0059] Specifically, to further improve the applicability and management efficiency of the entire video surveillance system, video storage and management, operation and maintenance data statistical analysis, and video push functions have been added.

[0060] Firstly, regarding video storage and management. Throughout the entire target linkage tracking process, the front-end NVR continuously writes the video stream locally to storage according to the preset bitrate and storage cycle. A unique index tag is embedded in the header of the storage file. The index tag is bound to the corresponding job instruction number, the 3D coordinate sequence of the job target, the linkage camera equipment code, and the tracking start and end timestamps. The central platform synchronously generates a distributed recording index library. The index library is associated with 3D yard space coordinates and job task information, supporting multi-dimensional retrieval of tracking recordings based on job number, yard space area, and target coordinates.

[0061] Secondly, regarding operation and maintenance records, the system collects operation and maintenance data for the entire process of target tracking, including: coordinate binding calculation, job instruction parsing, camera equipment matching and scheduling, PTZ control issuance, equipment switching, offline operation, and access control. Standardized operation and maintenance logs are generated, containing operation time, 3D coordinate parameters, camera equipment hardware instruction parameters, equipment online status, and link latency values. These logs are stored in a global operation and maintenance database. Leveraging visual operation and maintenance technology, the system provides statistical display of tracking task online rate, recording integrity rate, and equipment switching response time. It automatically identifies coordinate matching failures, PTZ instruction execution anomalies, and equipment offline faults, generating tiered alarm records.

[0062] Finally, regarding video push, an open video push interface is provided. This interface is bound to the video stream of the camera device corresponding to the tracking task. The interface supports hierarchical permission configuration, allowing read-only video viewing permissions to be assigned to external work terminals, restricting the issuance of PTZ control commands. External terminals load the real-time tracking video footage through a lightweight access channel, simultaneously supporting real-time image capture and short-term instant playback. Captured images and playback clips are automatically associated with the corresponding work coordinates and task tags for archiving and retention.

[0063] Based on steps S1-S5 above, a complete 3D yard space model is constructed, and a binding mapping is established between monitoring camera equipment and 3D spatial coordinates. Standardized operation instructions are used to parse the continuous 3D coordinate sequence of the operation target. On this basis, a spatial overlap comparison algorithm and a weighted scheduling model are used to select suitable camera equipment, and exclusive control of PTZ (pan-tilt-zoom) permissions is implemented. Through the conversion function between coordinates and PTZ hardware instructions, automatic linkage and uninterrupted tracking of cameras during the movement of the operation target are achieved, avoiding the drawbacks of traditional manual operation, reducing the labor cost of video surveillance, and resolving the problem of multi-terminal permission conflicts. Simultaneously, the local independent computing mechanism of the partitioned offline service nodes ensures the normal operation of the system during network interruptions, and the 3D spatial coordinate-linked recording index mechanism enables continuous retention of the entire operation process video, effectively distributing the pressure of full-domain video forwarding, improving the efficiency of video surveillance and post-event evidence collection and retrieval, and meeting the safety supervision needs of large-scale, highly dynamic tallying operations in the yard.

[0064] Example 2 The difference between this embodiment and Embodiment 1 above lies in that the conversion function is configured with an environmental adaptive optimization mechanism and a self-calibration service mechanism. Specifically, by configuring the environmental adaptive optimization mechanism for the conversion function, the hardware control commands of the device can be dynamically adjusted according to different environmental scenarios, improving the adaptability and monitoring effect of the camera device in complex environments. The self-calibration service mechanism can monitor the device's status in real time and dynamically compensate for the device's external parameters by comparing them with pre-marked benchmark feature points, ensuring the accuracy of the device control commands and thus improving the stability and reliability of the entire video surveillance system. The method further includes the following: First, based on the above embodiments, it is known that the conversion function is established based on the mechanical rotation parameters of the device's gimbal and the lens focal length adjustment parameters. Its input is the three-dimensional coordinates of any target within the 3D stockpile model, and its core output is the hardware control command that drives the camera equipment to align with the target. That is, the conversion function in the above embodiments is a pure geometric mapping. However, the impact of harsh environments on target identifiability and the physical characteristics of gimbal control necessitates a more intelligent compensation value output by the function. The corresponding environmental adaptive optimization mechanism includes: The system acquires real-time weather and illumination data from the storage yard to identify the current environmental scene type. The conversion function dynamically adjusts the output hardware control commands based on this scene type. Specifically, a queryable environment adaptive parameter table can be created for the conversion function, stored on the edge node, and the gain coefficient in the function can be dynamically interpolated and adjusted according to the real-time perceived environment type.

[0065] In rainy, foggy, and hazy weather conditions, the system identifies low-visibility environments. In these environments, the conversion function calculates the image quality attenuation at the target distance based on real-time visibility parameters and atmospheric extinction models. It also inversely constrains the output lens zoom level value based on a preset minimum identifiable contrast threshold, while simultaneously reducing the maximum tracking rate of the gimbal's horizontal rotation and vertical pitch.

[0066] In particular, when there is strong backlight or sudden change in nighttime lighting, it is identified as an environment scene with drastic change in lighting. In this scene, the conversion function adds a smoothing deceleration factor to the output gimbal control command based on the change in the dynamic range of ambient light, so as to slow down the gimbal response speed to match the camera's automatic exposure convergence time.

[0067] Secondly, complete the online self-test and calibration service, including: In the 3D vector model of the storage yard, the 3D spatial coordinates of several reference feature points are pre-marked. For example, in addition to light poles and building signs within the storage yard, artificial targets are added as "spatial ground truth anchor points". Primary anchor points (used for global calibration, sparsely distributed but with high absolute accuracy) and secondary anchor points (locally dense, used for rapid single-camera calibration) can also be set.

[0068] During initialization, offline calibration of the camera device is completed, and an initial binding mapping data table is established. During device operation, while the device pan-tilt unit is idle, the self-driven device pan-tilt unit sequentially points to the reference feature points within the field of view and acquires images. The measured image coordinates of the reference feature points are extracted through visual feature detection (such as a lightweight visual feature detection algorithm running at edge nodes).

[0069] Based on the world coordinates and measured image coordinates of multiple reference feature points, the current true external parameters of the device, namely the coordinates of the installation origin and the attitude angle, are calculated in real time using a multi-point perspective imaging algorithm. The calculated true external parameters are compared with the recorded offline calibration values ​​to calculate the six-degree-of-freedom deviation vector, including translation error and rotation error.

[0070] An online correction table or a neural network is established based on the deviation vector to map any angle within the working range of the device's pan-tilt unit to a new angle after compensation, and the device hardware control commands output by the conversion function are dynamically compensated.

[0071] Example 3 The difference between this embodiment and embodiments 1 and 2 above is that when a work instruction is received that is one of the following: a temporary work instruction adjustment instruction, a temporary static fixed workstation modification instruction, or a dynamic trajectory temporary revision instruction, corresponding processing steps are executed to ensure continuous and effective tracking of the work target, improve flexibility, and enhance the ability to respond to emergencies. The method also includes: Parse the received work instructions. If the currently received work instruction is a temporary work instruction adjustment instruction (e.g., notifying the relocation of container A to another lane's parking position T2), a temporary static fixed work position modification instruction (parking position T2 is moved X meters for maintenance), or a dynamic trajectory temporary revision instruction (e.g., during the spreader descent, the sensor detects a foreign object above parking position T2, a detour curve is planned, and the equipment reports this revised trajectory), then execute the following steps accordingly: First, calculate the spatiotemporal deviation between the original and revised target coordinate sequences.

[0072] Specifically, the spatiotemporal deviation is a comprehensive deviation index designed by integrating spatiotemporal and coverage effects. It includes: spatial deviation, temporal coverage deviation, temporal deviation, and field-of-view center offset. The spatial deviation is measured by the trajectory dynamic time bending distance: DTW calculations are performed on the original and new trajectories within the prediction time window to obtain the average spatial distance D. The temporal coverage deviation is measured by the camera exit / entry ratio: the original matched camera sequence is calculated, and it is checked whether the new trajectory still falls within the effective view frustum of these cameras to obtain the field-of-view coverage loss ratio of the original candidate device set. This refers to the proportion of trajectory segments that cannot be covered by the original sequence in the total duration; the metric for timing deviation is the time offset at critical handover points: calculating the change in the timestamp of the target arriving at the field of view boundary of each camera. If the timestamp change exceeds the preset handover safety window... If the original handover sequence fails, the field of view center offset is invalidated. The metric for field of view center offset is the angular distance between the target and the camera's field of view center. For cameras that can still be covered, the angular offset of the target's new position relative to its original predicted position is calculated. .

[0073] The comprehensive decision function calculates the dynamic temporal curvature distance of the integrated trajectory, the proportion of field-of-view coverage loss of the original candidate equipment set, the time offset of key handover points, and the angular distance of the target from the center of the equipment's field of view. Based on a preset spatiotemporal deviation threshold, the deviation level is classified as slight, moderate, or significant. In the formula, , , as well as For the corresponding parameter weights; if If it is, then it is considered a minor deviation; if If it is, then it is considered a moderate deviation; if ,or , If so, it is considered a major deviation.

[0074] Secondly, if the deviation level is slight, the original main tracking device and permission lock are maintained, that is, the current camera and subsequent links remain unchanged; the input coordinate sequence is received using a conversion function and updated into a new trajectory; the hardware control commands are adjusted in real time based on the revised coordinates; and a preset acceleration limit is applied to the output device PTZ control quantity to achieve a smooth transition, thereby ensuring the continuity of the image.

[0075] If the deviation level is medium, it means that the original main camera device no longer provides perfect coverage, but its backup or suboptimal camera device may be just right. Based on the calculation results of the original scheduling weight value, the suboptimal device is selected from the candidate device set for activation, and a relay switch is performed between the main tracking device and the suboptimal device. That is, the full-scene 3D overlap comparison is no longer run, but only the original matching result set table is queried: for the affected time window, if the new coverage rate (visible space coverage target) of a suboptimal camera device in the set is higher than the preset coverage threshold, it is activated and a relay switch with overlap is performed with the original main camera.

[0076] If the deviation level is significant, and the target has completely deviated from the original planned area and entered a completely different camera equipment zone, then the spatial overlap comparison and scheduling weight value calculation will be re-executed to screen and lock the new main tracking device and release the permissions of the original main tracking device.

[0077] To ensure seamless handover between devices during the switching process, the handover between the primary tracking device and the secondary tracking device includes: real-time calculation of the combined confidence scores of the primary and secondary tracking devices for tracking the target.

[0078] The overall confidence score is calculated by weighting the spatial coverage quality score, image quality and interference score, and motion stability score. Specifically, the spatial coverage score... The image quality and interference score are calculated using the normalized distance from the target center to the image center as an indicator. The motion smoothness score is calculated using image sharpness and target local contrast as indicators. It is calculated using the target's motion acceleration and the reciprocal of its jerk as indicators.

[0079] When the predicted target enters the overlapping area of ​​the fields of view of the primary and secondary devices after a preset time period, the pan-tilt unit of the secondary device is driven to a preset position and locked onto the target, and its comprehensive confidence score is calculated. After the comprehensive confidence score of the secondary device exceeds the score of the primary device and the difference between the two scores is greater than a preset threshold, and after a preset confirmation period, the screen output is switched from the primary device to the secondary device. After the switch is executed, within a preset cooling period, a reverse switch is allowed only if the score of the primary device surpasses the score of the secondary device and the difference between the two scores is greater than a preset threshold.

[0080] Example 4 The difference between this embodiment and embodiments 1, 2, and 3 above lies in that, when comprehensively calculating the equipment scheduling weight value, multi-source feedback data and a dynamic adjustment mechanism for weight coefficients are added. By collecting multi-source feedback data and combining it with the operational environment context, the calculation of equipment scheduling weights is dynamically optimized. An online gradient descent algorithm is used to adjust the weight coefficients based on the feedback data, automatically optimizing the equipment scheduling strategy according to actual operating conditions and environmental changes, thereby improving the accuracy and adaptability of equipment scheduling. The method also includes: the comprehensive calculation of equipment scheduling weight values ​​further includes: Automatically collect multi-source feedback data after each scheduling decision. This multi-source feedback data includes: motion smoothness scores during tracking handover. The percentage of cumulative time the task target was lost from all candidate devices. and the frequency of operator manual intervention The motion smoothness score during tracking handover is obtained by calculating the negative value of the target's motion acceleration in the final monitoring image within a preset time window after each camera device handover.

[0081] Based on the collected and real-time identified operational environment context, the multi-source feedback data is quantified into reward signals. An online gradient descent algorithm is used to dynamically adjust the weight coefficients corresponding to the spatial distance between the device and the target, lens optical zoom coverage adaptation, device gimbal occupancy status, and network latency, in order to maximize the cumulative reward. Each adjusted weight coefficient is constrained within a preset safety range, and the environmental context includes at least weather type and light intensity. The formula includes: In the formula, , as well as These are the weights for the corresponding parameters.

[0082] In the online gradient descent weight update, for the current environment context c, the following steps are performed: Scheduling selection: Calculating for candidate devices Choose the device with the largest Q value. Record its feature vector Reward: The actual reward *r* obtained after performing the tracking. Loss and gradient calculation: The loss is the squared error between the predicted score and the actual reward. The gradient of the loss with respect to the weights is: Weight update: Update along the negative gradient direction ( (Learning rate): Each updated weight component is clipped to a preset safe range.

[0083] like Figure 2 As shown in the figure, this application discloses a video monitoring point linkage tracking system adapted to 3D storage yards, specifically including: The 3D spatial modeling module 100 is used to construct a 3D vector space model of the stockpile with coordinate-coded mesh; collect camera equipment hardware parameters, calculate the visible 3D space range of the equipment and perform spatial overlay matching with the model mesh; establish a binding mapping data table for camera equipment codes, equipment spatial coordinates, and visible space mesh coordinates; and construct a conversion function to complete the conversion between target spatial coordinates and equipment hardware control commands. The work instruction parsing module 200 is used to obtain work instructions through a standardized interface, parse and extract the core fields of the work instructions containing the work area and work target identifier; and retrieve the three-dimensional coordinates of the corresponding work station, stack position and path in the 3D stockpile model based on the core fields to generate a work target coordinate sequence with timestamp and three-dimensional coordinates. The camera equipment matching and scheduling module 300 is used to filter the candidate equipment set that covers the coordinates of the operation target using a spatial overlap comparison algorithm; it comprehensively calculates the equipment scheduling weight value by combining the spatial distance between the equipment and the target, the lens optical zoom coverage adaptation, the equipment pan-tilt occupancy status and network latency, selects the primary and backup tracking equipment from the candidate camera equipment set based on the weight value, and performs exclusive locking of equipment permissions and pre-loading scheduling of backup equipment. The PTZ control command conversion module 400 is used to convert the target's three-dimensional coordinates into hardware control commands for the main tracking device using a pre-built conversion function. It continuously moves the coordinates according to the sequence of work targets, refreshes the coordinates in real time, and executes the device's hardware control commands in a loop. When the work target moves out of the main device's field of view, it automatically switches to the first-ranked backup device, unlocks the original locked device, and sends coordinate tracking commands to the new device. In the event of a network interruption, it uses a preset partition offline service node to independently complete matching, scheduling, and command issuance based on the locally bound mapping data table, work commands, and work target coordinate sequence.

[0084] The system also includes: The storage operation and maintenance backtracking retrieval module 500 is used during the device's execution of target tracking. The front-end NVR continuously writes the video stream locally to storage according to a preset bitrate and storage cycle. A unique index tag is embedded in the header of the locally stored video stream file. This index tag is bound to the corresponding job instruction number, the 3D coordinate sequence of the target, the linked camera device code, and the start and end timestamps of the target tracking. The module collects operation and maintenance data from the entire target tracking process, generates operation and maintenance logs, and performs statistical analysis, displaying the online rate of completed target tracking tasks, recording integrity rate, and device switching response time. The operation and maintenance logs include operation time, 3D coordinate parameters, device hardware control instruction parameters, device online status, and link latency values. An open video push interface supports hierarchical permission configuration; this video push interface is bound to the video stream captured by the corresponding camera device for target tracking.

[0085] This application also discloses a computer-readable storage medium.

[0086] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and executed as described above in the video surveillance point linkage tracking method adapted to 3D storage yards. The computer-readable storage medium includes, for example, various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0087] This application also discloses a computer device.

[0088] Specifically, the computer device includes a memory and a processor. The memory stores a computer program that can be loaded by the processor and executed to adapt the video monitoring point linkage tracking method for 3D storage yards.

[0089] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.

Claims

1. A video monitoring point linkage tracking method adapted to 3D storage yards, characterized in that, include: Construct a three-dimensional vector space model of the stockpile with a coordinate-coded mesh; collect hardware parameters of the camera equipment, calculate the visible three-dimensional space range of the equipment, and perform spatial overlay matching with the model mesh; establish a binding mapping data table for camera equipment codes, equipment spatial coordinates, and visible space mesh coordinates; construct a conversion function to complete the conversion between target spatial coordinates and equipment hardware control commands; The operation instructions are obtained through a standardized interface, and the core fields of the operation instructions, which include the operation area and the operation target identifier, are parsed and extracted. Based on the core fields, the three-dimensional coordinates of the corresponding workstation, stack position, and path in the 3D stockpile model are retrieved, and a sequence of operation target coordinates with timestamps and three-dimensional coordinates is generated. The spatial overlap comparison algorithm is used to screen the candidate equipment set that covers the coordinates of the target operation. The equipment scheduling weight value is calculated by combining the spatial distance between the equipment and the target, the lens optical zoom coverage adaptation, the equipment gimbal occupancy status and network latency. Based on the weight value, the primary and backup tracking equipment are selected from the candidate camera equipment set, and the exclusive lock of equipment permissions and the pre-loading scheduling of backup equipment are performed. The system uses a pre-built conversion function to convert the target's 3D coordinates into hardware control commands for the main tracking device. It then moves the coordinates continuously according to the sequence of work targets, updates the coordinates in real time, and executes the device's hardware control commands in a loop. When the work target moves out of the main device's field of view, it automatically switches to the first-ranked backup device, unlocks the original device, and sends coordinate tracking commands to the new device. In the event of a network interruption, the system uses a pre-defined partition offline service node to independently complete matching, scheduling, and command issuance based on the locally bound mapping data table, work commands, and the work target coordinate sequence.

2. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 1, characterized in that, Also includes: During the target tracking process, the front-end NVR continuously writes the video stream to local storage according to the preset bitrate and storage cycle. A unique index tag is embedded in the header of the local storage file of the video stream. The index tag is bound to the corresponding job instruction number, the three-dimensional coordinate sequence of the job target, the linkage camera device code, and the start and end timestamps of the job target tracking. The system collects operation and maintenance data from the entire process of target tracking, generates operation and maintenance logs, and performs statistical analysis to display the online rate of target tracking task completion, video recording integrity rate, and device switching response time. The operation and maintenance logs include operation time, three-dimensional coordinate parameters, device hardware control command parameters, device online status, and link latency values. An open video push interface is provided that supports hierarchical permission configuration; the video push interface is bound to the video stream captured by the corresponding camera device for tracking the task target.

3. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 1, characterized in that, The conversion function is established based on the mechanical rotation parameters of the equipment gimbal and the lens focal length adjustment parameters. Its input is the three-dimensional coordinates of any target in the 3D stockpile model, and its core output is the hardware control command that drives the camera equipment to align with the target. The conversion function is also configured with an environmental adaptive optimization mechanism; the environmental adaptive optimization mechanism includes: acquiring real-time meteorological and illumination sensor data of the storage yard and identifying the current environmental scene type; the conversion function dynamically corrects the output equipment hardware control commands based on the current environmental scene type.

4. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 3, characterized in that, The method further includes a self-calibration service mechanism, comprising: In the 3D vector model of the storage yard, the 3D spatial coordinates of several reference feature points are pre-marked. During initialization, the offline calibration of the camera equipment is completed, and an initial binding mapping data table is established. During equipment operation, and when the equipment pan-tilt unit is idle, the self-driven equipment pan-tilt unit sequentially points to the reference feature points within the field of view and acquires images. The measured image coordinates of the reference feature points are extracted through visual feature detection. Based on the world coordinates and measured image coordinates of multiple reference feature points, the current real external parameters of the equipment are calculated in real time using a multi-point perspective imaging algorithm. The six-degree-of-freedom deviation vector is obtained by comparing it with the offline calibration external parameters. An online correction table is established based on the deviation vector to map any angle within the working range of the equipment pan-tilt unit to a new compensated angle, and the equipment hardware control commands output by the conversion function are dynamically compensated.

5. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 1, characterized in that, The method further includes: when the received work instruction is one of the following: a temporary work instruction adjustment instruction, a temporary static fixed workstation modification instruction, or a dynamic trajectory temporary revision instruction, the following steps are performed: Calculate the spatiotemporal deviation between the original target coordinate sequence and the revised target coordinate sequence; the spatiotemporal deviation is calculated by comprehensively considering the dynamic time curvature distance of the trajectory, the field-of-view coverage loss ratio of the original candidate equipment set, the time offset of the key handover point, and the angular distance of the target from the center of the equipment's field of view, and classify the deviation level as slight, moderate or significant based on a preset spatiotemporal deviation threshold; If the deviation level is slight, maintain the original main tracking device and permission lock; use the conversion function to adjust the hardware control commands in real time based on the revised coordinates, and apply a preset acceleration limit to the output device gimbal control quantity to achieve a smooth transition; If the deviation level is medium, based on the calculation result of the original scheduling weight value, the second-best device is selected from the candidate device set for activation, and a relay switch is performed between the primary tracking device and the second-best device. If the deviation level is significant, re-execute the spatial overlap comparison and scheduling weight calculation, filter and lock the new master tracking device, and release the permissions of the original master tracking device.

6. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 1, characterized in that, The relay switching between the primary tracking device and the secondary tracking device includes: The system calculates the overall confidence score of the primary and secondary tracking devices for tracking the target in real time. This overall confidence score is obtained by weighting spatial coverage quality score, image quality and interference score, and motion stability score. The spatial coverage score is calculated using the normalized distance from the target center to the image center as an indicator. The image quality and interference score is calculated using image sharpness and target local contrast as indicators. The motion stability score is calculated using the target's motion acceleration and the reciprocal of its jerk within the image as indicators. When the predicted target enters the overlapping area of ​​the fields of view of the primary and secondary devices after a preset time period, the pan-tilt unit of the secondary device is driven to a preset position and locked onto the target, and its comprehensive confidence score is calculated. After the comprehensive confidence score of the secondary device exceeds the score of the primary device and the difference between the two scores is greater than a preset threshold, and after a preset confirmation period, the screen output is switched from the primary device to the secondary device. After the switch is executed, within a preset cooling period, a reverse switch is allowed only if the score of the primary device surpasses the score of the secondary device and the difference between the two scores is greater than a preset threshold.

7. The video monitoring point linkage tracking method adapted to 3D storage yards according to claim 1, characterized in that, The integrated computing device scheduling weight value also includes: Automatically collect multi-source feedback data after each scheduling decision; the multi-source feedback data includes: motion smoothness score during tracking handover, cumulative duration percentage of the job target lost from all candidate devices, and frequency of operator manual intervention; Based on the collected and real-time identified operational environment context, the multi-source feedback data is quantified into reward signals. An online gradient descent algorithm is used to dynamically adjust the weight coefficients corresponding to the spatial distance between the device and the target, the lens optical zoom coverage adaptation, the device gimbal occupancy status, and the network latency, in order to maximize the cumulative reward. The adjusted weight coefficients are all constrained within a preset safety range, and the environmental context includes at least the weather type and the light level.

8. A video monitoring point linkage tracking system adapted to 3D storage yards, characterized in that, include: The 3D spatial modeling module is used to construct a 3D vector space model of the stockpile with coordinate-coded mesh; collect camera equipment hardware parameters, calculate the visible 3D space range of the equipment and perform spatial overlay matching with the model mesh; establish a binding mapping data table for camera equipment codes, equipment spatial coordinates, and visible space mesh coordinates; and construct a conversion function to complete the conversion between target spatial coordinates and equipment hardware control commands. The work instruction parsing module is used to obtain work instructions through a standardized interface, parse and extract the core fields of the work instructions containing the work area and work target identifier; and retrieve the three-dimensional coordinates of the corresponding work station, stack position and path in the 3D stockpile model based on the core fields to generate a sequence of work target coordinates with timestamps and three-dimensional coordinates. The camera equipment matching and scheduling module is used to filter the candidate equipment set that covers the coordinates of the target operation using a spatial overlap comparison algorithm; it combines the spatial distance between the equipment and the target, the lens optical zoom coverage adaptation, the equipment pan-tilt occupancy status and network latency to comprehensively calculate the equipment scheduling weight value, select the primary and backup tracking equipment from the candidate camera equipment set based on the weight value, and perform exclusive locking of equipment permissions and pre-loading scheduling of backup equipment. The PTZ control command conversion module is used to convert the target's 3D coordinates into hardware control commands for the main tracking device using a pre-built conversion function. It continuously moves the coordinates according to the sequence of work targets, refreshes the coordinates in real time, and executes the device's hardware control commands in a loop. When the work target moves out of the main device's field of view, it automatically switches to the first-ranked backup device, unlocks the original locked device, and sends coordinate tracking commands to the new device. In the event of a network interruption, it uses a preset partition offline service node to independently complete matching, scheduling, and command issuance based on the locally bound mapping data table, work commands, and work target coordinate sequence.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the method as described in any one of claims 1 to 7.

10. A computer device, characterized in that, The computer device includes a memory, a processor, and a program stored in and executable on the memory, the program being executed by the processor to implement the steps of the method as described in any one of claims 1 to 7.