Embedded storage server of computer network
Through the embedded storage server of the computer network, the dual network card design and video management unit are adopted to solve the problem of insufficient storage space in the management of image data of the campus camera, and realize uninterrupted connection with the cloud server and easy access to files.
Patent Information
- Application Number
- CN202311632481.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-07-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the enterprise park camera image data management method cannot cope with the significant increase in data volume, resulting in insufficient server storage space and the single network card design cannot achieve uninterrupted connection with cloud servers, resulting in high storage server configuration requirements.
An embedded storage server using a computer network, including a video compression encoding unit, a video recording unit, a video detection unit and a video management unit, is maintained uninterruptedly with the cloud server through a dual network card design, and a video management unit is used to upload files to the cloud server for backup and management.
It realizes 24-hour uninterrupted connection between the storage server and the cloud server, ensuring the accessibility of files and remote management, and avoiding the problem of insufficient storage space.
Smart Images

Figure CN120302005A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and more specifically, to an embedded storage server for a computer network. Background Art
[0002] Enterprises generally save and manage the image data collected by cameras for campus security measures. Currently, the file management method for image data mainly relies on regular task scheduling. However, when there is an expansion of the campus or new equipment inside the factory building, more cameras need to be installed to cover the monitoring range, resulting in a substantial increase in the amount of data. It is easy to have insufficient storage space on the server and wireless terminals, and it is impossible to store a large number of device videos for a long time. At the same time, the current single-network card design cannot achieve an uninterrupted connection with the cloud server, has no database concept, and has high requirements for the configuration of the storage server. In order to reduce this situation, in view of this, an embedded storage server for a computer network is proposed. Summary of the Invention
[0003] The purpose of the present invention is to provide an embedded storage server for a computer network to solve the problems raised in the above background art.
[0004] To achieve the above object, an embedded storage server for a computer network is provided, including a video compression and encoding unit, a video recording unit, a video detection unit, and a video management unit;
[0005] The video compression and encoding unit is used to receive multiple video images uploaded by a bullet camera and compress and encode the received video images;
[0006] The video recording unit is used to monitor the reception status of multiple video images by the video compression and encoding unit. When the video compression and encoding unit receives multiple video images, the displayed picture of the bullet camera is recorded in standard definition format, and at the same time, the recorded picture video and the image video compressed and encoded by the video compression and encoding unit are stored using an external transfer of the server;
[0007] The video detection unit is used to perform video detection on the compressed and encoded image video using the recorded picture video stored by the video recording unit. When it is detected that there is an image missing in the compressed and encoded image video, the compressed and encoded image video with the missing image is deleted and fed back to the video compression and encoding unit to re-compress and encode multiple video images until the detection passes;
[0008] The video management unit is used to upload the compressed and encoded image video passed by the video detection unit to the cloud server, and then delete the recorded picture video of the video recording unit, the multiple video images received by the video compression and encoding unit, and the compressed and encoded image in the storage server.
[0009] As a further improvement of this technical solution, the video compression and encoding unit signs a network data transmission protocol with the PTZ camera to obtain multiple-channel image data uploaded by the PTZ camera in real time, and externally connects a large-capacity hard disk through a USB port to store the image data uploaded by the PTZ camera within three months.
[0010] As a further improvement of this technical solution, the video compression and encoding unit compresses and encodes the received video images based on the H.264 standard.
[0011] As a further improvement of this technical solution, the video recording unit includes a reception monitoring module and a video recording module;
[0012] The reception monitoring module is used to monitor the reception status of multiple-channel video images of the video compression and encoding unit. When the video compression and encoding unit receives new multiple-channel video images, it proves that the PTZ camera is powered on and running, and sends a recording service start signal to the video recording module;
[0013] The video recording module is used to receive the recording service start signal, record the video taken by the PTZ camera in a standard definition format, obtain the recorded video of the picture, segment the recorded video of the picture according to the compression and encoding time of the video compression and encoding unit, and make the segmented time period of the recorded video of the picture the same as the time period of the compressed and encoded image video.
[0014] As a further improvement of this technical solution, the video recording unit adopts an embedded solution, a ROCKCHIP RK Cortex-A55 quad-core processor, and is equipped with an Ubuntu system, supporting dual network ports, so as to externally transfer the recorded video images and the compressed and encoded image video of the video compression and encoding unit to a second storage hard disk.
[0015] As a further improvement of this technical solution, the video detection unit includes a video detection module, an adjustment feedback module, and a detection passed module;
[0016] The video detection module is used to perform video detection on the compressed and encoded image video through the recorded video images in the storage hard disk. If it detects that there are missing images in the compressed and encoded image video, it sends an adjustment signal to the adjustment feedback module. Conversely, if it does not detect missing images in the compressed and encoded image video, it sends a marked signal to the detection passed module;
[0017] The adjustment feedback module is used to receive the adjustment signal, delete the compressed and encoded image video with missing images in the storage hard disk, and at the same time feedback to the video compression and encoding unit to re-compress and encode the multiple-channel video images until the detection passes;
[0018] The detection passed module is used to receive the marking signal and then mark the compressed and encoded image as detected passed in the storage hard disk.
[0019] As a further improvement of this technical solution, the video detection module determines the image loss in the compressed and encoded image video by image comparison and pixel difference calculation.
[0020] As a further improvement of this technical solution, the video management unit accesses the superior cloud server and the PTZ camera simultaneously through two network ports, ensuring an uninterrupted connection between the storage server and the cloud server, and at the same time not affecting the PTZ camera's real-time upload of multiple video images.
[0021] As a further improvement of this technical solution, the video management unit includes a video upload module;
[0022] The video upload module is used to monitor the marking status of each compressed and encoded image video in the storage hard disk. When a compressed and encoded image video is marked as detected passed, the compressed and encoded image video is uploaded to the cloud server, and after the upload is completed, the compressed and encoded image video and the video images in the corresponding time period are deleted.
[0023] Compared with the prior art, the beneficial effects of the present invention are:
[0024] In this embedded storage server for a computer network, through the dual-network card design of the video recording unit and the video detection unit, it can access the superior cloud server and the PTZ camera simultaneously through two network ports, ensuring an uninterrupted connection between the storage server and the server for 24 hours, and at the same time not affecting the PTZ camera's real-time upload of local videos. At the same time, through the video management unit using cloud services, the files are uploaded to the cloud server, thus realizing file backup, easy accessibility, and remote management. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is the overall structure schematic diagram of the present invention.
[0026] The meanings of each label in the figure are as follows:
[0027] 10. Video compression and encoding unit; 20. Video recording unit; 30. Video detection unit; 40. Video management unit. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0029] Please refer to Figure 1 shown in the figure. The purpose of this embodiment is to provide an embedded storage server for a computer network, including a video compression and encoding unit 10, a video recording unit 20, a video detection unit 30, and a video management unit 40;
[0030] The video compression and encoding unit 10 is used to receive multiple video images uploaded by a PTZ camera, and compress and encode the received video images;
[0031] The video compression and encoding unit 10 obtains multiple image data uploaded by the PTZ camera in real time by signing a network data transmission protocol with the PTZ camera, and externally connects a large-capacity hard disk through a USB port, which can store the image data uploaded by the PTZ camera within three months. The principle steps of the video compression and encoding unit 10 are as follows:
[0032] Signing the network data transmission protocol: Determine the network data transmission protocol, which involves steps such as protocol formulation, PTZ camera configuration, and connection. A reliable communication channel needs to be established between the PTZ camera and the central system, usually using the TCP / IP protocol or other protocols suitable for real-time image transmission;
[0033] Obtaining multiple image data in real time: The PTZ camera uploads multiple image data in real time through the signed protocol, and the central system receives and analyzes the image data to ensure real-time performance and integrity;
[0034] Externally connecting a large-capacity hard disk through the USB port: Connect the large-capacity hard disk to the central system, usually through a USB interface. The hard disk needs to have sufficient storage space to meet the storage requirements of image data within three months;
[0035] Storing image data: Store the received image data on the external hard disk. The image data storage needs to be organized according to timestamps or other standards for subsequent retrieval.
[0036] The video compression and encoding unit 10 compresses and encodes the received video images with H.264 as the standard. The principle steps of the compression and encoding are as follows:
[0037] Video frame capture: Capture video frames from the received video images;
[0038] Inter-frame prediction: H.264 uses motion estimation technology to analyze adjacent frames and find motion vectors to represent the image with less data volume;
[0039] Transformation and quantization: Transform the frame, usually using the discrete cosine transform DCT, and then map the transform coefficients to smaller values through quantization to reduce the data volume;
[0040] Entropy encoding: Use the entropy encoding methods defined in the H.264 standard, such as CABAC (Context-Adaptive Binary Arithmetic Coding) or CAVLC (Context-Adaptive Variable-Length Coding), to encode the quantized data;
[0041] Bitstream packing: Organize the compressed data into a bitstream for transmission or storage.
[0042] The video recording unit 20 is used to monitor the reception status of multiple video images by the video compression and encoding unit 10. When the video compression and encoding unit 10 receives multiple video images, record the displayed picture of the PTZ camera in standard definition format. At the same time, use the external transfer of the server to store the recorded picture video and the image video compressed and encoded by the video compression and encoding unit 10;
[0043] The video recording unit 20 includes a reception monitoring module and a video recording module;
[0044] The reception monitoring module is used to monitor the reception status of multiple video images by the video compression and encoding unit 10. When the video compression and encoding unit 10 receives new multiple video images, it proves that the PTZ camera is powered on and running, and sends a recording service start signal to the video recording module. The working principle steps of the reception monitoring module are as follows:
[0045] Monitoring of the reception status of multiple video images: Set up a monitoring management terminal to continuously detect the reception status of multiple video images. When the system detects the inflow of new video images, execute the next step;
[0046] Monitoring the PTZ camera powered on and running: If the monitoring management terminal detects new video images, it proves that the PTZ camera is powered on and running. If it is powered on and running, execute the next step;
[0047] Send a recording service start signal to the video recording module: Once the monitoring management terminal confirms that the PTZ camera is powered on and running, trigger a signal or command to notify the video recording module to start the recording service, and send a specific instruction or signal to the video recording module through network communication protocols such as TCP / IP, HTTP, WebSocket, etc.
[0048] The video recording module is used to receive the recording service start signal, record the video taken by the PTZ camera in standard definition format, obtain the recorded picture video, and segment the recorded picture video according to the compression and encoding time of the video compression and encoding unit 10, so that the time period intercepted from the recorded picture video is the same as the time period of the compressed and encoded image video. The working principle steps of the video recording module are as follows:
[0049] Receiving the recording service start signal: The listening end can receive the signal to start the recording service, and this signal triggers the start of the recording process;
[0050] HD format for video recording of the mobile video surveillance device: Once the recording service start signal is received, start recording the video captured by the mobile video surveillance device, ensuring that the recording is in HD format, which includes setting appropriate resolution, frame rate, and encoding format;
[0051] Obtain the recorded video: During the recording process, obtain the video captured by the mobile video surveillance device. This step involves obtaining the content captured by the camera or the mobile video surveillance device in real time and storing or transmitting it to the corresponding storage device or location;
[0052] Segment the recorded video by compression encoding time: Segment the recorded video by time, ensuring that each time segment is the same as the time segment of the compressed encoded video. This requires determining the duration of the segments or using specific timestamps or timers to ensure synchronization;
[0053] Synchronize the time segments of the recorded video and the compressed encoded video: When segmenting the recorded video, ensure that these time segments correspond to the time segments of the compressed encoded video so that they can be correctly matched and synchronized in subsequent processing steps.
[0054] The video recording unit 20 adopts an embedded solution, with a ROCKCHIP RK Cortex-A55 quad-core processor, running the Ubuntu system and supporting dual network interfaces, to externally transfer the recorded video image and the image video compressed and encoded by the video compression and encoding unit 10 to the second storage hard disk. The principle steps of the embedded solution are as follows:
[0055] Ubuntu system configuration: Ensure that the Ubuntu system is correctly installed on the ROCKCHIP RK Cortex-A55 processor and configure the network settings to utilize the dual network interface function;
[0056] Video recording and compression encoding configuration: Install and configure appropriate software to implement video recording and compression encoding. This involves using FFmpeg or other corresponding tools and configuring the recording parameters and encoding settings according to requirements;
[0057] Connect the external hard disk: Connect the second storage hard disk to the embedded system, which can be achieved through USB, SATA, or other appropriate interfaces, depending on the hard disk type and system support;
[0058] Mount the second storage hard disk: In the Ubuntu system, ensure that the second storage hard disk is correctly mounted and accessible. This requires editing the / etc / fstab file or using other tools to configure the mount point;
[0059] Set the storage path for recording videos and encoding completed videos: During recording and encoding, ensure that the storage path of the video file is set to the directory of the second connected storage hard drive, so that the file can be directly written to the external hard drive instead of the system's internal storage.
[0060] The video detection unit 30 is used to perform video detection on the compressed and encoded image video using the recorded video image stored by the video recording unit 20. When an image loss is detected in the compressed and encoded image video, the compressed and encoded image video with the image loss is deleted and feedback is sent to the video compression and encoding unit 10 to re-compress and encode the multi-channel video images until the detection passes.
[0061] The video detection unit 30 includes a video detection module, an adjustment feedback module, and a detection pass module.
[0062] The video detection module is used to perform video detection on the compressed and encoded image video using the recorded video image in the storage hard drive. If an image loss is detected in the compressed and encoded image video, an adjustment signal is sent to the adjustment feedback module. Conversely, if no image loss is detected in the compressed and encoded image video, a marking signal is sent to the detection pass module. The principle steps of the video detection module are as follows:
[0063] Image comparison and pixel difference calculation: Use appropriate image processing tools, such as OpenCV, to compare the recorded video image and the compressed and encoded image, which involves calculating the differences between pixels or applying more complex image similarity algorithms.
[0064] Image loss determination: Based on the calculation result of the pixel difference, set a threshold to determine whether an image is missing. If the difference exceeds the threshold, it is considered that the image is missing.
[0065] Perform detection on the compressed and encoded image video using the recorded video image: Use the recorded video image to detect the compressed and encoded image video in the storage hard drive, which includes frame-by-frame comparison or other detection methods, depending on the application requirements.
[0066] Send an adjustment signal to the adjustment feedback module: If an image loss is detected in the compressed and encoded image video, send an adjustment signal to the adjustment feedback module.
[0067] Send a marking signal to the detection pass module: If no image loss is detected, send a marking signal to the detection pass module.
[0068] The video detection module determines that there is an image loss in the compressed and encoded image video through image comparison and pixel difference calculation.
[0069] The adjustment feedback module is used to receive the adjustment signal, delete the compressed and encoded image videos with missing images in the storage hard disk, and at the same time feedback to the video compression and encoding unit 10 to re-compress and encode the multi-channel video images until the detection passes. The principle steps of the adjustment feedback module are as follows:
[0070] Delete the stored images: Confirm the image files to be deleted, which are the compressed and encoded image video files stored on the hard disk, and use the file system operation or relevant data management tools to perform the deletion operation.
[0071] Feedback to re-compress the multi-channel video images: Trigger the process of re-compressing and encoding the multi-channel video images;
[0072] Re-compress the multi-channel video images: Re-compress and encode the multi-channel video images to ensure that the quality of the generated compressed and encoded image videos meets the requirements;
[0073] Perform image comparison and detection again: Re-perform the image comparison and detection process to ensure that the re-compressed image videos no longer have missing parts, which involves the image comparison and difference calculation steps mentioned before.
[0074] The detection pass module is used to receive the marking signal, and then mark the compressed and encoded images in the storage hard disk as detected passed.
[0075] The video management unit 40 is used to upload the compressed and encoded image videos detected passed by the video detection unit 30 to the cloud server, and then delete the recorded video of the video recording unit 20, the multi-channel video images received by the video compression and encoding unit 10, and the compressed and encoded images in the storage server.
[0076] The video management unit 40 accesses the upper-level cloud server and the ball camera through two network ports at the same time, so as to keep the storage server and the cloud server continuously connected, and at the same time does not affect the ball camera from uploading multi-channel video images in real time.
[0077] The video management unit 40 includes a video upload module;
[0078] The video upload module is used to monitor the marking status of each compressed and encoded image video in the storage hard disk. When a compressed and encoded image video is marked as detected passed, upload the compressed and encoded image video to the cloud server. After the upload is completed, delete the compressed and encoded image video and the video images in the corresponding time period. The principle steps of the video upload module are as follows:
[0079] Monitor the marking status of the compressed and encoded image videos: The system regularly or real-time monitors the marking status of each compressed and encoded image video in the hard disk to check whether there are files marked as detected passed;
[0080] Upload to the cloud server when the detection is passed: When it is detected that a certain compressed encoded image / video is marked as passed the detection, upload the file to the cloud server, which involves using network transfer protocols such as HTTP, FTP, etc. to transfer the file to cloud storage;
[0081] Delete the compressed encoded image / video and the video images of the corresponding period after uploading: After confirming that the file has been successfully uploaded to the cloud server, delete the compressed encoded image / video file in the local storage and the original video images of the corresponding period to ensure that the deletion operation does not affect other related files.
[0082] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and the descriptions in the specification are only preferred examples of the present invention and are not used to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and these changes and improvements all fall within the scope of the present invention claimed. The scope of the present invention claimed is defined by the appended claims and their equivalents.
Claims
1. An embedded storage server for a computer network, characterized in that: It includes a video compression and encoding unit (10), a video recording unit (20), a video detection unit (30), and a video management unit (40); The video compression and encoding unit (10) is used to receive multiple video images uploaded by a PTZ camera, and compress and encode the received video images; The video recording unit (20) is used to monitor the reception status of multiple video images by the video compression and encoding unit (10). When the video compression and encoding unit (10) receives multiple video images, it records the displayed picture of the PTZ camera in standard definition format. At the same time, it uses an external server transfer to store the recorded picture video and the image video compressed and encoded by the video compression and encoding unit (10); The video detection unit (30) is used to detect the compressed and encoded image video using the recorded picture video stored in the video recording unit (20). When it detects that there is an image loss in the compressed and encoded image video, it deletes the compressed and encoded image video with the image loss and feeds back to the video compression and encoding unit (10) to re-compress and encode the multiple video images until the detection passes; The video management unit (40) is used to upload the compressed and encoded image video passed by the video detection unit (30) to the cloud server, and then delete the recorded picture video of the video recording unit (20), the multiple video images received by the video compression and encoding unit (10), and the compressed and encoded images in the storage server.
2. The embedded storage server of a computer network according to claim 1, characterized in that: The video compression and encoding unit (10) obtains multiple image data uploaded by the PTZ camera in real time by signing a network data transmission protocol with the PTZ camera, and externally connects a large-capacity hard disk through a USB port to store the image data uploaded by the PTZ camera within three months.
3. An embedded storage server for a computer network according to claim 1, characterized in that: The video compression and encoding unit (10) compresses and encodes the received video images using H.264 as the standard.
4. An embedded storage server for a computer network according to claim 1, characterized in that: The video recording unit (20) includes a reception monitoring module and a video recording module; The reception monitoring module is used to monitor the reception status of multiple video images by the video compression and encoding unit (10). When the video compression and encoding unit (10) receives new multiple video images, it proves that the PTZ camera is powered on and running, and sends a recording service start signal to the video recording module; The video recording module is used to receive the recording service start signal, record the video taken by the PTZ camera in standard definition format, obtain the recorded picture video, and segment the recorded picture video according to the compression and encoding time of the video compression and encoding unit (10), so that the segmented time period of the recorded picture video is the same as that of the compressed and encoded image video.
5. An embedded storage server for a computer network according to claim 1, characterized in that: The video recording unit (20) adopts an embedded solution, a ROCKCHIP RK Cortex-A55 quad-core processor, equipped with the Ubuntu system, and supports dual network ports, so as to externally transfer the recorded video images and the image video compressed and encoded by the video compression and encoding unit (10) to a second storage hard disk.
6. An embedded storage server for a computer network according to claim 1, characterized in that: The video detection unit (30) includes a video detection module, an adjustment feedback module, and a detection passed module; The video detection module is used to perform video detection on the compressed and encoded image video by recording video images in the storage hard disk. If an image loss occurs in the detected compressed and encoded image video, an adjustment signal is sent to the adjustment feedback module. Conversely, if no image loss is detected in the compressed and encoded image video, a marking signal is sent to the detection pass module; The adjustment feedback module is used to receive the adjustment signal, delete the compressed and encoded image video with image loss in the storage hard disk, and at the same time feedback to the video compression and encoding unit (10) to re-compress and encode the multiple video images until the detection passes; The detection pass module is used to receive the marking signal and then mark the compressed and encoded image in the storage hard disk as detected passed.
7. An embedded storage server for a computer network according to claim 6, characterized in that: The video detection module determines whether there is an image loss in the compressed and encoded image video by image comparison and pixel difference calculation.
8. An embedded storage server for a computer network according to claim 1, characterized in that: The video management unit (40) accesses the upper-level cloud server and the PTZ camera through two network ports at the same time, so as to achieve uninterrupted connection between the storage server and the cloud server, and at the same time does not affect the PTZ camera from uploading multiple video images in real time.
9. An embedded storage server for a computer network according to claim 8, characterized in that: The video management unit (40) includes a video upload module; The video upload module is used to monitor the marking status of each compressed and encoded image video in the storage hard disk. When a compressed and encoded image video is marked as detected passed, the compressed and encoded image video is uploaded to the cloud server, and after the upload is completed, the compressed and encoded image video and the corresponding video images in the time period are deleted.
Citation Information
Patent Citations
Network video server based on embedded platform
CN101534423A
Video compression system
CN112019837A
Cross-domain data interaction method and system for local region network and Internet of water treatment equipment
CN112910963A
Internet video platform with cloud storage function
CN209748730U
Remote control and data acquisition device for coal mining equipment
CN217739763U