Field video equipment control method and device, computer equipment and storage medium
通过建立数据传输网络和生成控制指令,解决了野外视频设备数据回传成本高和设备无法协作的问题,实现了更高效的监测效果。
Patent Information
- Application Number
- CN202311509447.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the data return cost of field video equipment is high and different devices cannot cooperate, resulting in low monitoring efficiency.
By obtaining the network identifier of the video device, establishing a data transmission network, connecting video devices with the same network identifiers to each other, generating video device control instructions, splicing and monitoring images in the area, and uniformly configuring video devices to achieve collaboration between devices.
It realizes comprehensive coverage and multi-view observation of the monitoring area, provides more comprehensive observation data, improves monitoring efficiency and coverage, and saves labor and equipment costs.
Smart Images

Figure CN120302004A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of device data collection and processing, and particularly relates to a method, device, computer device, and storage medium for controlling field video devices. Background Art
[0002] In the aspect of field monitoring, a large number of video monitoring devices are arranged in the wild to facilitate the study and monitoring of changes in the wild environment and the observation of the living characteristics of wild animals, and then corresponding measures are taken to protect endangered species.
[0003] Currently, by collecting the parameters of the monitoring points of field video devices, the operating status in the field video devices is judged, faults are discovered and processed at a clear location and in the first time. Maintenance personnel can determine the fault type without reaching the remote installation location and take countermeasures. Monitoring devices such as image monitoring cameras for ecological monitoring currently mainly obtain image data through methods such as optical fibers and 4G.
[0004] However, in the prior art, the data transmission cost of field monitoring video devices is high, and different devices cannot cooperate, resulting in low monitoring efficiency of field monitoring video devices. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide a method for controlling field video devices, aiming to solve the problems that often occur in the prior art, such as high data transmission cost of field video devices, inability to cooperate between different devices, and low monitoring efficiency of field monitoring video devices.
[0006] The embodiments of this application are implemented as follows. A method for controlling field video devices includes:
[0007] Obtain the network identifier of the video device; the video device is used to obtain images through a camera;
[0008] According to the network identifier, connect video devices with the same network identifier to each other to establish a data transmission network;
[0009] Obtain the theoretical monitoring range and actual observable area of video devices with the same network identifier to obtain the observable area, and the actual observable area is the observable area provided by the location of the video device;
[0010] Generate a video device control instruction according to the observable area, and the control instruction at least includes starting and stopping shooting, moving parameters, shooting time, focal length, and exposure;
[0011] Stitch the images within the observable area according to the observable area to obtain a stitched image;
[0012] Unify the deployment of video devices according to the video device control instruction and the stitched image.
[0013] Another object of the embodiments of the present application is a field video device control device, which includes:
[0014] A power supply module for supplying power to the invention module;
[0015] A video module, on which a camera is provided for collecting images;
[0016] A network module that provides network access and connects the invention module and the video module;
[0017] An invention module, with a waterproof box outside for waterproof protection, and a communication module, a processing module, and a control module inside for processing and transmitting video data.
[0018] A field video device control method provided by the embodiments of the present application establishes a data transmission network to establish connections between video devices, enabling field video devices to have a basis for mutual cooperation. By setting monitorable areas, comprehensive coverage and multi-perspective observation of the monitored area can be achieved. Different cameras have different positions and angles, which can capture species information at different angles and distances, providing more comprehensive observation data and helping to accurately record the behavior, quantity, and distribution of species. By generating video device control instructions, the status and task execution of each camera can be monitored in real time, enabling timely understanding of the monitoring progress and problems, and making task adjustments and optimizations. Real-time data feedback can help monitoring personnel promptly grasp the species activity situation and take corresponding measures, such as adjusting the monitoring points, changing the shooting angle, or increasing the monitoring frequency. By uniformly allocating tasks and adopting a distributed working mode for video devices, the resources and manpower of multiple cameras can be fully utilized, and the monitoring tasks can be assigned to the most suitable cameras for execution. This can save labor costs and investment in monitoring equipment, improve monitoring efficiency and coverage, and meet the needs of large-scale species monitoring. Description of the Drawings
[0019] Figure 1 It is a flowchart of a field video device control method provided by the embodiments of the present application;
[0020] Figure 2 It is a flowchart of establishing a data transmission network provided by the embodiments of the present application;
[0021] Figure 3 It is a flowchart of self-repair of a data transmission network provided by the embodiments of the present application;
[0022] Figure 4 It is a flowchart of a monitorable area of a video device provided by the embodiments of the present application;
[0023] Figure 5 A flowchart of a stitched image provided by an embodiment of the present application;
[0024] Figure 6 A flowchart of a unified deployment of video devices provided by an embodiment of the present application;
[0025] Figure 7 A structural block diagram of a field video device control device provided by an embodiment of the present application;
[0026] Figure 8 An internal structural block diagram of a computer device in an embodiment;
[0027] Figure 9 A schematic diagram of image stitching provided by an embodiment of the present application;
[0028] Figure 10 A schematic diagram of task allocation provided by an embodiment of the present application. Detailed implementation manners
[0029] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. 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.
[0030] It can be understood that the terms "first", "second", etc. used in the present application can be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the present application, the first xx script can be called the second xx script, and similarly, the second xx script can be called the first xx script.
[0031] As Figure 1 shown, a method for controlling a field video device may specifically include the following steps:
[0032] Step S102, obtaining the network identifier of the video device.
[0033] In an embodiment of the present application, the video device is a device that can record image information, which can be an infrared camera. In the present application, it is an ordinary camera. The video devices are arranged at different positions within a certain area range. The area range can be the natural habitat of the species to be studied. In the present application, it is the wetland habitat of birds. Each video device has a fixed network identifier so that information can be accurately sent and received during information transmission. The network identifier can be digital information representing the video device. In the present application, it is the network ID. When the video device is installed, the network ID of the device can be set to the same ID so that devices with the same ID can build a network.
[0034] Step S104: Connect video devices with the same network identifier to each other according to the network identifier to establish a data transmission network.
[0035] In the embodiment of the present application, a distributed processing method is adopted, and tasks are divided among processing modules in multiple video devices. The network topology can be mesh, star, bus, or ring. In the present application, mesh networking is adopted, and the topological form of the mesh network is not fixed and completely adapts to changes according to the channel quality between nodes in the network.
[0036] Step S106: Obtain the theoretical monitoring range and the actual observable area of video devices with the same network identifier to obtain the observable area.
[0037] In the embodiment of the present application, the theoretical monitoring range is a circular area enclosed by the maximum observation radius calculated based on the parameters of the video device camera. Although it is a theoretical value, there are still factors that cause performance degradation due to device aging, where the farthest distance at which a species can be recognized is the maximum radius. The actual observable area is the observable area provided by the location of the video device and may change due to environmental changes. The observable area is the intersection of the two. Exemplarily, in a wetland for bird protection, multiple video devices are arranged around the wetland, but the observation areas between some video devices are blocked by plants and other reasons. Therefore, the actual observable area and the theoretical monitoring range are not exactly the same, and the intersection of the two is used as the observable area.
[0038] Step S108: Generate video device control instructions according to the observable area.
[0039] In the embodiment of the present application, according to the observable range, PTZ (Pan Tilt Zoom) control instructions for each node camera are calculated, or control instructions can also be generated based on a preset shooting plan, schedule, or parameters input by the user. The control instructions may include starting and stopping shooting, PTZ parameters, shooting time, focal length, exposure, etc. The control instructions are broadcast or distributed from the root node in the mesh networking to other nodes, where the root node uses the time synchronization protocol to synchronize time with other nodes to ensure time consistency among all nodes.
[0040] Step S110: Stitch the images within the observable area according to the observable area to obtain a stitched image.
[0041] In the embodiments of the present application, the images within the monitorable area are obtained by video devices. Due to the positional deviation and lens distortion of cameras at different positions, the distorted images need to be registered before image stitching; after obtaining the registered images, the features of adjacent-position images are extracted and matched to help determine the corresponding relationship between the images for subsequent image stitching operations; based on the results of feature matching, multiple images are stitched, and after completing the image stitching, further image post-processing operations are performed.
[0042] Step S112: According to the video device control instruction and the stitched image, uniformly allocate the video devices.
[0043] In the embodiments of the present application, the uniform allocation is a dynamic process, including a scheduling center responsible for coordinating and managing the tasks of multiple cameras, and multi-position cameras collaborating to complete one or more tasks; a task allocation algorithm for reasonably allocating tasks to different cameras; task monitoring and feedback for real-time monitoring of the status and task execution of each camera and making task adjustments and optimizations based on the information.
[0044] The present application provides a method for controlling field video devices, which realizes the network transmission of monitoring data, considers the communication problems between different field devices, and enables collaborative tasks among them.
[0045] As Figure 2 shown, the video devices with the same network identifier are interconnected according to the network identifier provided by the embodiments of the present application to establish a data transmission network, which specifically includes the following steps:
[0046] Step S202: Determine the root node device of the data transmission network;
[0047] Step S204: According to the root node device of the data transmission network, access new devices and allocate network addresses and configuration information to the new devices;
[0048] Step S206: Establish the relationship between devices and exchange network topology information;
[0049] Step S208: Based on the routing selection algorithm, determine the optimal routing path between devices;
[0050] Step S210: Based on the network topology information and the optimal routing path, establish a data transmission network.
[0051] In the embodiments of the present application, a video device is started as the root node of the network, and this device acts as the starting point of the mesh network. Other devices join the network by connecting. New devices join the network by scanning nearby nodes and sending join requests. The root node is responsible for managing the formation of the network, performing handshakes and authentication with new devices, and assigning network addresses and configuration information to them. Neighbor relationships are established between devices, and network topology information such as neighbor tables and routing tables is exchanged. Through this information, devices can learn about the existence and connection relationships of other devices in the network. Devices use routing algorithms to determine the optimal routing paths. The routing algorithm can consider factors such as path distance, link quality, and network congestion to select the best path. When a device needs to send data, it selects the next-hop node according to the routing table and transmits the data to the target device through multi-hop routing. Each device forwards the data according to its own neighbor table and routing table until the data reaches the target device.
[0052] In the embodiments of the present application, nodes in the mesh network do not need to be connected to a central node but can be connected to adjacent nodes. Each node is responsible for relaying the data of the connected nodes. Since there is no need to be restricted by the position relative to the central node, all nodes can still be interconnected, so the coverage area of the mesh network is wider. Similarly, since there is no longer a capacity limit of the central node, the mesh allows more nodes to access and is not prone to overloading.
[0053] As Figure 3 shown, the data transmission network provided by the embodiments of the present application further includes the following steps:
[0054] Step S302, detecting the connectivity of adjacent video devices according to the network topology information;
[0055] Step S304, determining whether the connectivity of adjacent video devices fails. If it fails, update the network topology information;
[0056] Step S306, recalculating the optimal path based on the new network topology information.
[0057] In the embodiments of the present application, the network has self-organizing capabilities. When a new device joins or an existing device goes offline, the network can dynamically adjust the routing path to ensure communication connectivity and stability. Devices regularly exchange network topology information and heartbeat signals between each other to detect the status and connectivity of neighbor devices. If a neighbor device fails, the device updates its neighbor table and routing table and recalculates the optimal path. The network topology may change over time, and devices need to adapt to the changes and update their neighbor tables and routing tables accordingly.
[0058] In the embodiments of the present application, if the root node is disconnected, the nodes connected to it (the second-layer nodes) will promptly detect the root node failure. The second-layer nodes will actively attempt to reconnect to the root node. However, after multiple attempts fail, the second-layer nodes will initiate a new round of root node election. The node with the strongest received signal strength (RSSI) in the second layer will be elected as the new root node, and the remaining second-layer nodes will form connections with the new root node (or with adjacent parent nodes if not within range). Similarly, if an intermediate parent node is disconnected, the child nodes disconnected from it will actively attempt to reconnect to the parent node. After multiple reconnection attempts fail, each child node starts scanning for potential parent nodes. If there are other available potential parent nodes, each child node will respectively select a new preferred parent node for itself and form an uplink connection with it. If a specific child node has no other potential parent nodes, it will remain idle indefinitely.
[0059] If the root node and nodes in multiple layers below (such as the root node, second-layer nodes, and third-layer nodes) are disconnected simultaneously, the nodes in the shallowest layer that are still operating normally will initiate a root node election.
[0060] As Figure 4 shown, the following steps are included to obtain the theoretical monitoring range and actual observable area of video devices with the same network identifier in the embodiments of the present application to obtain the observable area:
[0061] Step 402, obtain the location information of the video device and the basic information of the video device;
[0062] Step 404, calculate the theoretical monitoring range of the video device according to the basic information of the video device;
[0063] Step 406, calculate the intersection between the actual observable area and the theoretical monitoring range to obtain the observable area.
[0064] In the embodiments of the present application, through the positioning module, the location information of each video device point is obtained, and the theoretical monitoring range (radius) of the camera is calculated through the camera magnification, height, observed bird size, required pixel size, etc. The calculation formula is as follows:
[0065] Theoretical monitoring range (radius) = (ph × d) / (h × PPI);
[0066] Where: ph represents the pixel height of the camera; d represents the vertical distance from the camera to the object; h represents the actual height of the object; PPI represents the required pixel density (Pixels Per Inch).
[0067] According to each video device location and the theoretical monitoring range, an overall coverage map of bird observation is formed; combining with the actual observable area, where the actual observable area is the observable area provided by the location of the video device, to obtain the intersection of the two, which is the monitorable area.
[0068] As Figure 5 shown, the following steps are included for stitching the images within the monitorable area according to the monitorable area provided by the embodiment of the present application to obtain a stitched image:
[0069] Step 502, obtain the parameters of the camera and the images within the monitorable area;
[0070] Step 504, perform distortion correction on the image according to the parameters of the camera to obtain a corrected image;
[0071] Step 506, perform feature extraction on the corrected image to obtain the key points of the corrected image;
[0072] Step 508, based on the key points, match adjacent key points, and splice multiple images to obtain a composite image.
[0073] In the embodiment of the present application, due to problems such as position deviation and lens distortion of cameras at different positions, the captured images are first calibrated and distortion-corrected. In the calibration process, methods such as feature point matching are used to obtain the parameters of the camera and correct the distortion of the image. The image after distortion correction can more accurately represent the real scene, providing preparation for subsequent image stitching. Feature extraction and matching are performed on the corrected image. Using the Scale-Invariant Feature Transform (SIFT) and Speeded-Up Robust Features (SURF) feature extraction algorithms, the key points of the image are extracted, and the key points at adjacent positions are mirror-transformed and matched. Waveform correction is used to correct the perspective distortion in the image and eliminate the deformation effect caused by the camera angle and position. This provides alignment from different perspectives for the subsequent image synthesis step. Feature matching can help determine the corresponding relationship between images for subsequent image stitching operations. Based on the results of feature matching, the image composition and position are estimated, and multiple images are stitched. Image stitching requires fusing the overlapping areas at the edges of the images, color consistency, and transition effects, etc. Using Laplacian pyramid fusion can achieve smooth image transition and color consistency. After completing the image stitching, further image post-processing operations are carried out: removing the seams or artifacts generated by stitching, adjusting the color and contrast, denoising, etc.
[0074] As Figure 6 shown, the following steps are included for uniformly deploying video devices according to the video device control instruction and the stitched image provided by the embodiment of the present application:
[0075] Step 602, generate tasks to be assigned according to the monitoring requirements and the parameters of the video devices;
[0076] Step 604: Based on the task allocation algorithm, allocate the tasks to be allocated to different video devices;
[0077] Step 606: Monitor the task execution status of the video devices and uniformly allocate the video devices.
[0078] In the embodiments of the present application, the task allocation model in the task allocation algorithm can be a single-task model or a multi-task model, such as a cooperative multi-task allocation model, etc. The solution algorithm can be a static task allocation algorithm, such as traditional algorithms (dynamic programming, branch and bound, breadth-first search) and heuristic algorithms (genetic algorithm, PSO algorithm, ant colony algorithm), or a dynamic task allocation algorithm. There are two types of dynamic task allocation. One is that the specific location of the target is not known before the task execution, and the video device network is used to continuously obtain the target location during the task execution process and perform task allocation. The other is that the specific location of the target is known before the task execution, and during the task execution, the target location moves, or a video device fails, or an emergency target task appears, and real-time task reallocation is required. The main methods used are auction algorithms, contract net algorithms, etc. Exemplarily, the unified allocation process of the present application is as follows: The video device serving as the root node in the data transmission network receives the control instructions sent by the backend server. The control instructions have already allocated the tasks of each video device through the task allocation algorithm. At the same time, the control instructions are sent to other nodes through the communication module in the video device. After receiving the control instructions, the video device controls the camera to collect the information required for the task, and forms image metadata (image points, PTZ information, time information, pictures, videos, etc.) in the processing module from the video signal obtained by the camera. Each video device forms a distributed processing system. The processing modules in adjacent video devices use image stitching algorithms to stitch the images collected by adjacent cameras, and at the same time form the image stitching information (large image, point information, stitching process information) within the monitorable area. The image stitching information and image metadata are transmitted back to the root node communication module, and then transmitted back to the backend server. The tasks are adjusted and optimized according to the transmitted information. The transmitted information also includes the hardware information of the video device, such as the power status, storage capacity, channel conditions between video devices, etc.
[0079] As Figure 7 shown, it is a schematic structural diagram of a field video device control device provided by an embodiment of the present invention.
[0080] In the embodiments of the present application, the video control device includes:
[0081] A power supply module 710, configured to provide power for the device;
[0082] Video module 720, on which a camera is provided for collecting images;
[0083] Network module 730, which provides network access and connects the invention module and the video module;
[0084] Invention module 740, with a waterproof box outside for waterproof protection, and a communication module, a processing module, and a control module inside.
[0085] In the embodiment of the present application, in the wild environment, harsh weather conditions such as rain and moisture may be encountered, and the device needs to have waterproof protection. The waterproof box outside the invention module can protect the communication module, the processing module, and the control module from moisture erosion. The protection level of the invention device is IP68, ensuring the reliability and stability of the device under various environmental conditions. The video module is connected to the network module through the network. The network module and the invention module are connected by the RJ45 connection method. The video module transmits the video signal through the network module. The invention module obtains the video signal and transmits the control signal through the network module to realize the processing and control functions. The invention module transmits the monitoring result data through the network module. The power module provides power for the device. The rated voltage of the invention module is 12V, and the rated current is 2A.
[0086] As Figure 7 shown, in one embodiment, the invention module 740 specifically includes:
[0087] Processing module 810, which is used to obtain the network identifier of the video device; according to the network identifier, connect the video devices with the same network identifier to each other to establish a data transmission network; obtain the theoretical monitoring range and the actual observable area of the video devices with the same network identifier to obtain the observable area; according to the observable area, splice the images within the observable area to obtain a spliced image
[0088] Control module 820, which is used to generate video device control instructions according to the data transmission network;
[0089] Communication module 830, which is used to uniformly allocate video devices according to the video device control instructions and the spliced image.
[0090] A field video device control device provided by an embodiment of the present application establishes a connection between video devices by establishing a data transmission network, enabling the field video devices to have a basis for mutual cooperation. By setting observable areas, comprehensive coverage and multi-perspective observation of the monitored area can be achieved. Different cameras have different positions and angles, which can capture species information at different angles and distances, providing more comprehensive observation data and helping to accurately record the behavior, quantity and distribution of species. By generating video device control instructions, the status and task execution of each camera can be monitored in real time, enabling timely understanding of the monitoring progress and problems, and making task adjustments and optimizations. Real-time data feedback can help monitoring personnel promptly grasp the activities of species, and thus take corresponding measures, such as adjusting monitoring points, changing shooting angles or increasing monitoring frequencies. By uniformly allocating tasks and adopting a distributed working mode for video devices, the resources and manpower of multiple cameras can be fully utilized, and the monitoring tasks can be assigned to the most suitable cameras for execution. This can save labor costs and investment in monitoring equipment, improve monitoring efficiency and coverage, and meet the needs of large-scale species monitoring.
[0091] Figure 8 The internal structure diagram of a computer device in an embodiment is shown. As Figure 8 shown, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the field video device control method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the field video device control method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad or a mouse, etc.
[0092] Those skilled in the art can understand that Figure 7 the structure shown in
[0093] In an embodiment, the field video device control device provided by the present application can be implemented in the form of a computer program. The computer program can be stored in a computer-readable storage medium such as Figure 8running on the computer device shown. In the memory of the computer device, various program modules that make up the field video device control device can be stored. For example, Figure 7 the invention module shown and the video module, etc. The computer program composed of each program module enables the processor to execute the steps in the field video device control method of each embodiment of the present application described in this specification.
[0094] For example, Figure 8 the computer device shown can execute steps S102 - S108 through the processing module 810 in the field video control device shown in Figure 7 Figure 9.
[0095] In one embodiment, a computer device is proposed. The computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0096] Obtain the network identifier of the video device; the video device is used to obtain images through a camera;
[0097] According to the network identifier, connect video devices with the same network identifier to each other to establish a data transmission network;
[0098] Obtain the theoretical monitoring range and the actual observable area of video devices with the same network identifier to obtain the observable area, where the actual observable area is the observable area provided by the location of the video device;
[0099] Generate a video device control instruction according to the observable area, and the control instruction at least includes starting and stopping shooting, moving parameters, shooting time, focal length, and exposure;
[0100] Stitch the images within the observable area according to the observable area to obtain a stitched image;
[0101] Unify the deployment of video devices according to the video device control instruction and the stitched image.
[0102] In one embodiment, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor is caused to execute the following steps:
[0103] Obtain the network identifier of the video device; the video device is used to obtain images through a camera;
[0104] According to the network identifier, connect video devices with the same network identifier to each other to establish a data transmission network;
[0105] Obtain the theoretical monitoring range and the actual observable area of video devices with the same network identifier to obtain the observable area, where the actual observable area is the observable area provided by the location of the video device;
[0106] Generate video device control instructions according to the observable area, where the control instructions at least include starting and stopping shooting, movement parameters, shooting time, focal length, and exposure;
[0107] Stitch the images within the observable area according to the observable area to obtain a stitched image;
[0108] Unify the deployment of video devices according to the video device control instructions and the stitched image.
[0109] It should be understood that although the steps in the flowcharts of the embodiments of the present application are shown sequentially according to the arrows, these steps do not necessarily need to be executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in each embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily need to be executed at the same moment, but can be executed at different moments. The execution order of these sub-steps or stages does not necessarily need to be sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
[0110] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0111] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as falling within the scope described in this specification.
[0112] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
[0113] The above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A control method for a field video device, characterized in that, including: Obtaining the network identifier of the video device; The video device is used to obtain images through a camera; According to the network identifier, connect video devices with the same network identifier to each other to establish a data transmission network; Obtain the theoretical monitoring range and actual observable area of video devices with the same network identifier to obtain the observable area, where the actual observable area is the observable area provided by the location of the video device; Generate a video device control instruction according to the observable area, where the control instruction at least includes starting and stopping shooting, movement parameters, shooting time, focal length, and exposure; Stitch the images within the observable area according to the observable area to obtain a stitched image; Uniformly allocate video devices according to the video device control instruction and the stitched image.
2. The control method of a field video device according to claim 1, wherein, The step of connecting video devices with the same network identifier to each other according to the network identifier to establish a data transmission network includes the following steps: Determine the root node device of the data transmission network; the root node device is one of the video devices; According to the root node device of the data transmission network, access new devices and allocate network addresses and configuration information for the new devices; Establish the relationship between devices and exchange network topology information, where the network topology information at least includes a neighbor table and a routing table; Based on a routing selection algorithm, determine the optimal routing path between devices; Establish a data transmission network based on the network topology information and the optimal routing path.
3. The method for controlling a field video device according to claim 2, wherein, The data transmission network further includes: Detect the connectivity of adjacent video devices according to the network topology information; Judge whether the connectivity of adjacent video devices fails. If it fails, update the network topology information; Based on the new network topology information, recalculate the optimal path.
4. The control method of a field video device according to claim 1, wherein The step of obtaining the theoretical monitoring range and actual observable area of video devices with the same network identifier to obtain the observable area includes the following steps: Obtain the location information of the video device and the basic information of the video device; the basic information of the video device at least includes the camera magnification, height, size of the object to be observed, and required pixel size; Calculate the theoretical monitoring range of the video device according to the basic information of the video device; Calculate the intersection between the actual observable area and the theoretical monitoring range to obtain the observable area, where the actual observable area is the observable area provided by the location of the video device.
5. The method for controlling a field video device according to claim 1, wherein The step of stitching the images within the observable area according to the observable area to obtain a stitched image includes the following steps: Obtain the parameters of the camera and the images within the observable area; Perform distortion correction on the graphics according to the parameters of the camera to obtain a corrected image; Extract features from the corrected image to obtain the key points of the corrected image; Based on the key points, match adjacent key points and stitch multiple images to obtain a composite image.
6. The method for controlling the setting of a field video according to claim 1, characterized in that The step of uniformly allocating video devices according to the video device control instruction and the stitched image includes the following steps: Generate tasks to be assigned according to the monitoring requirements and the parameters of the video device; Based on a task allocation algorithm, allocate the tasks to be assigned to different video devices; Monitor the task execution status of the video device and uniformly allocate the video device.
7. A control device for a field video device, characterized in that, The device includes: A power supply module for providing power to the device; A video module, on which a camera is provided for collecting images; A network module that provides network access and connects the invention module and the video module; An invention module, with a waterproof box outside for waterproof protection, and a communication module, a processing module, and a control module inside the invention module.
8. The control device for a field video device according to claim 7, wherein The invention module includes: A processing module for obtaining the network identifier of a video device; connecting video devices with the same network identifier to each other according to the network identifier to establish a data transmission network; obtaining the theoretical monitoring range and the actual observable area of video devices with the same network identifier to obtain a monitorable area; and splicing the images within the monitorable area to obtain a stitched image. A control module for generating video device control instructions according to the data transmission network; A communication module for uniformly dispatching video devices according to the video device control instructions and the stitched image.
9. A computer device, characterized in that, It includes a memory and a processor. When a computer program stored in the memory is executed by the processor, the processor executes the steps of a method for controlling a field video device according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the processor executes the steps of a method for controlling a field video device according to any one of claims 1 to 6.
Citation Information
Cited By
Multi-device collaborative passenger flow statistical method and system
CN121834118A
A multi-device cooperative passenger flow statistical method and system
CN121834118B