A monitoring system and method

By breaking down the monitoring system into multiple modules and running them on different servers, the real-time and high-concurrency issues of the monitoring system were resolved, multi-protocol access and load balancing were achieved, and data transmission speed and system adaptability were improved.

CN116016852BActive Publication Date: 2026-11-24JIANGXI SMALL VISION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211601840.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2026-11-24
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

Existing monitoring systems face challenges in terms of real-time video browsing and high concurrency, especially in the process of multi-protocol access and data transmission, where data loss and delays are prone to occur.

Method used

The monitoring system is divided into a device management module, a device control module, a video recording management module, a video recording storage module, and a real-time video stream forwarding module. Each module is located on a different server. Through independent division of labor and coordinated cooperation, the system realizes video monitoring and video recording download functions, and supports multi-protocol access and load balancing.

Benefits of technology

It improves the real-time performance and high concurrency of the monitoring system, allows for module customization based on application scenarios to adapt to different needs, and enhances data transmission speed and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016852B_ABST
    Figure CN116016852B_ABST
Patent Text Reader

Abstract

This invention discloses a monitoring system and method, relating to the field of monitoring technology. It solves the technical problem of insufficient real-time video performance and high concurrency in monitoring systems. The key technical solution is to decompose the distribution subsystem and recording subsystem into a device management module, a device control module, a recording management module, a recording storage module, and a recording real-time stream forwarding module. Each module is located on a different server. Through the independent division of labor and coordinated cooperation of multiple modules, video monitoring and recording download functions are realized. This not only meets the high concurrency requirements of the monitoring system, but also allows for the trimming of modules according to the required scenarios, enabling rapid adaptation to different application scenarios by adding or trimming modules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of surveillance technology, and in particular to a surveillance system and method. Background Technology

[0002] With the development of modern information technology and the continuous improvement of people's living standards, the demand for security is becoming increasingly urgent. As the number of security products deployed increases daily, people's expectations for the user experience of these products are also rising. Technically, achieving real-time performance, high concurrency, and multi-protocol access in video viewing is becoming increasingly difficult. With the increase in the amount of data transmitted, network jitter can cause data loss and latency. Therefore, improving the real-time performance and high concurrency of monitoring systems is a pressing issue that needs to be addressed. Summary of the Invention

[0003] This application provides a monitoring system and method, the technical purpose of which is to improve the real-time performance and high concurrency of video browsing in the monitoring system, while realizing multi-protocol access and improving data transmission speed.

[0004] The above-mentioned technical objective of this application is achieved through the following technical solution:

[0005] A monitoring system includes a distribution subsystem and a recording subsystem. The distribution subsystem includes a device management module and a device control module. The recording subsystem includes a recording management module, a recording storage module, and a real-time recording stream forwarding module. Both the device management module and the recording management module are connected to a central platform. The device management module is also connected to the device control module. Both the recording storage module and the real-time recording stream forwarding module are connected to the recording management module. The device control module is connected to the recording storage module. Both the device management module and the device control module are connected to devices. Furthermore, the device control module, the recording storage module, and the real-time recording stream forwarding module are all connected to clients. The clients are connected to the central platform.

[0006] The device management module, the device control module, the video recording management module, the video recording storage module, and the video recording real-time stream forwarding module are all located on different servers.

[0007] A monitoring method, wherein the monitoring is performed by the monitoring system of claim 1, the method comprising: device online, device alarm notification, client initiating real-time browsing request, client initiating video playback request, client initiating voice intercom request, client initiating VCR control request, and recording.

[0008] The beneficial effects of this application are as follows: The monitoring system and method described in this application decompose the distribution subsystem and the recording subsystem into a device management module, a device control module, a recording management module, a recording storage module, and a recording real-time stream forwarding module. Each module is located on a different server. Through the independent division of labor and coordinated cooperation of multiple modules, the video monitoring and recording download functions are realized. This not only meets the high concurrency requirements of the monitoring system, but also allows the modules to be tailored according to the required scenarios. By adding or removing modules, different application scenarios can be quickly adapted. Attached Figure Description

[0009] Figure 1 This is a schematic diagram of the monitoring system described in this application;

[0010] Figure 2 A schematic diagram illustrating the implementation of device access functionality.

[0011] Figure 3 A flowchart for the device going live;

[0012] Figure 4 A flowchart for device alarm notification;

[0013] Figure 5 A flowchart for initiating a real-time browsing request for the client;

[0014] Figure 6 A framework diagram for initiating real-time browsing requests for clients;

[0015] Figure 7 A flowchart for initiating a video playback request for the client;

[0016] Figure 8 A flowchart for initiating a voice intercom request by a client;

[0017] Figure 9 A flowchart for initiating a VCR control request from the client;

[0018] Figure 10 This is a flowchart for video recording. Detailed Implementation

[0019] The technical solution of this application will be described in detail below with reference to the accompanying drawings.

[0020] like Figure 1As shown, the monitoring system described in this application includes a distribution subsystem and a recording subsystem. The distribution subsystem includes a device management module and a device control module. The recording subsystem includes a recording management module, a recording storage module, and a real-time recording stream forwarding module. The device management module and the recording management module are both connected to the central platform. The device management module is connected to the device control module. The recording storage module and the real-time recording stream forwarding module are both connected to the recording management module. The device control module is connected to the recording storage module. The device management module and the device control module are both connected to the devices. The device control module, the recording storage module, and the real-time recording stream forwarding module are all connected to the client. The client is connected to the central platform.

[0021] The device management module, the device control module, the video recording management module, the video recording storage module, and the video recording real-time stream forwarding module are all located on different servers.

[0022] In a specific implementation, the device management module is responsible for initial device access, device access load management, northbound opening of service capabilities, and device access disaster recovery scheduling.

[0023] The device control module supports device access according to national standards, real-time stream requests and distribution, device control, and alarm reception and processing.

[0024] The video recording management module is used for video storage scheduling, disaster recovery management, and playback management, and provides northbound management and business interfaces.

[0025] The video storage module is used for real-time recording services and is responsible for recording writing, storage management, and video deletion.

[0026] The real-time video stream forwarding module is used to provide RTSP playback of video recordings, VCR control of video recordings, and video downloading.

[0027] The modules mentioned above can be used together in a coordinated manner, or they can be used separately. Figure 2 This is a schematic diagram illustrating the implementation of device access functionality. (For example...) Figure 2 As shown, the device management module can be deployed on a separate server to enable device access. Cameras (devices) are accessed through the device management module (access protocol is GB28181). The device management module will periodically synchronize the online device information to the business system (middle platform) or third-party capability platform via HTTP protocol.

[0028] The monitoring method described in this application is performed through a monitoring system. The method includes device online notification, device alarm notification, client initiating real-time browsing request, client initiating video playback request, client initiating voice intercom request, client initiating VCR control request, and recording.

[0029] like Figure 3 As shown, the process of the device going online includes: (1) After the device control module goes online, it sends a device going online request to the device management module and sends the server information deployed by the device control module to the device management module; (2) The device registers with the device management module through GB28181 signaling. The device management module first determines whether the device is in the blacklist. If it is, it notifies the device control module to filter out the reported information of the device. Otherwise, the device successfully registers with the device control module; (3) After registration, the device control module reports the registration status of the device to the device management module. Then the device management module synchronizes the device information to the video recording management module and the middle platform.

[0030] As a specific embodiment, when a device is not in the blacklist, the device management module calculates the load of each device control module and registers the device to the device control module with a lighter load.

[0031] like Figure 4 As shown, the process of device alarm notification includes: (1) the device sends alarm information to the device control module, and the device control module then forwards the alarm information to the device management module; (2) the device management module caches the alarm information in the queue and sends the alarm information to the middle platform in batches via the HTTP protocol.

[0032] like Figure 5 As shown, the process of the client initiating a real-time browsing request includes: (1) the client initiates a real-time browsing request to the middle platform, and the middle platform requests the device playback address from the device management module; (2) after the device management module finds a suitable device control module among the registered device control modules, it requests the device playback address from the device control module; (3) the client simultaneously initiates a real-time browsing request to the device control module, and the device control module initiates a real-time browsing request to the front-end device; (4) the front-end device sends a real-time stream to the device control module, and the device control module forwards the real-time RTP stream to the client.

[0033] Figure 6 This is a framework diagram of a client initiating a real-time browsing request, such as... Figure 6 As shown, 1) the camera registers with the device management module via the GB28181 protocol; 2) the device management module synchronizes with the middle platform via the HTTP protocol; 3) the middle platform synchronizes the device information to the client; 4) the client can see the list of online devices, triggers an online device, and then sends an RTSP request signaling to the real-time video stream forwarding module; 5) the real-time video stream forwarding module synchronizes the device playback information to the middle platform; 6) the real-time video stream forwarding module sends RTP data packets to the client.

[0034] like Figure 7As shown, the process of the client initiating a video playback request includes:

[0035] (1) The client initiates a video recording query request to the middle platform. After the middle platform reads the video index information in the database, it forwards the video index information to the client. (2) The client requests the video playback address from the middle platform. The middle platform forwards the video playback RTSP request to the video management module. (3) The video management module finds the corresponding video real-time stream forwarding module according to the RecordID. The video management module requests the playback RTSP address from the video real-time stream forwarding module. (4) The client requests RTSP playback from the video real-time stream forwarding module. (5) The video real-time stream forwarding module reads the file frame and sends it to the client. (6) The client initiates video playback VCR control from the video real-time stream forwarding module.

[0036] like Figure 8 As shown, the process by which the client initiates a voice intercom request includes:

[0037] (1) The client sends a voice intercom address request to the middle platform, and the middle platform forwards the voice intercom address request to the device management module; (2) After the device management module finds a suitable device control module among the registered device control modules, it forwards the voice intercom address request to the device control module; (3) At the same time, the client initiates a voice intercom request to the device control module, and the device control module initiates a voice intercom request to the front-end device; (4) The client sends the voice intercom data to the device control module, and the device control module then sends the voice intercom data to the front-end device to realize voice intercom.

[0038] like Figure 9 As shown, the process of the client initiating a VCR control request includes: (1) the client initiates a device control request to the middle platform, and the middle platform determines whether the online device has control functions; (2) if so, the middle platform sends a device control instruction to the device management module, and the device management module finds a suitable device control module among the registered device control modules; (3) the device management module sends a device control instruction to the device control module, and the device control module sends a device control instruction to the front-end device.

[0039] like Figure 10As shown, the recording process includes: (1) each device registers with the device management module through the GB28181 protocol; (2) each recording storage module sends its current load information to the recording management module; (3) the recording management module synchronizes the load information of each recording storage module to the middle platform; (4) the device management module synchronizes the device information to the middle platform through the HTTP protocol; (5) the middle platform synchronizes the device information to the client; (6) the client triggers the online device, and then selects a recording storage module with a lighter load to send an RTSP request signaling to it; (7) the recording storage module sends an RTP data packet to the client.

[0040] In summary, this application proposes a novel multi-module processing mode to realize video surveillance functions. The distribution subsystem and recording subsystem are decomposed into a device management module, a device control module, a recording management module, a recording storage module, and a real-time recording stream forwarding module. Each module is located on a different server. Through the independent division of labor and coordinated cooperation of multiple modules, video surveillance and recording download functions are realized. This not only meets the high concurrency requirements of the monitoring system, but also allows for the trimming of modules according to the required scenarios. By adding or trimming modules, it can quickly adapt to different application scenarios.

[0041] Meanwhile, in order to meet the high concurrency requirements of the system, the real-time video streaming forwarding module and the video storage module work together with the video management module to achieve load balancing. The real-time video streaming forwarding module and the video storage module will periodically send the current server information to the video management module, including bandwidth, remaining memory, and CPU utilization. The video management module will analyze the reported status information and determine whether to send real-time browsing or download commands to the server with a lighter load.

[0042] The modules communicate with each other via VMS messages, and each module maintains a one-step message sending and receiving mechanism, which starts a thread to receive messages, stores them in a queue, and then opens another thread to process the messages.

[0043] After system testing, the monitoring system's access capabilities, management capabilities, and streaming media distribution capabilities have all been significantly improved, as shown in Tables 1 to 3.

[0044]

[0045] Table 1

[0046]

[0047] Table 2

[0048]

[0049] Table 3

[0050] The above are exemplary embodiments of this application, and the scope of protection of this application is defined by the claims and their equivalents.

Claims

1. A monitoring system, characterized in that, The system includes a distribution subsystem and a recording subsystem. The distribution subsystem includes a device management module and a device control module. The recording subsystem includes a recording management module, a recording storage module, and a real-time recording stream forwarding module. The device management module and the recording management module are both connected to the middleware platform. The device management module is connected to the device control module. The recording storage module and the real-time recording stream forwarding module are both connected to the recording management module. The device control module is connected to the recording storage module. The device management module and the device control module are both connected to the devices. The device control module, the recording storage module, and the real-time recording stream forwarding module are all connected to the client. The client is connected to the middleware platform. The device management module, the device control module, the video recording management module, the video recording storage module, and the video recording real-time stream forwarding module are all located on different servers; The device management module is used to: receive the device online request and server information deployed by the device control module during the device online process, determine whether the device is in the blacklist, and if so, notify the device control module to filter out the reported information of this device; otherwise, the device is successfully registered to the device control module. When the device is not in the blacklist, the device management module calculates the load of each device control module and registers the device to the device control module with the lighter load.

2. A monitoring method, characterized in that, The method is monitored by the monitoring system described in claim 1. The method includes device online, device alarm notification, client initiating real-time browsing request, client initiating video playback request, client initiating voice intercom request, client initiating VCR control request, and recording.

3. The method as described in claim 2, characterized in that, The process of putting the device online includes: After the device control module goes online, it sends a device online request to the device management module and sends the server information where the device control module is deployed to the device management module. The device registers with the device management module via GB28181 signaling. The device management module first determines whether the device is in the blacklist. If it is, it notifies the device control module to filter out the information reported by the device. Otherwise, the device successfully registers with the device control module. After registration is completed, the device control module reports the registration status of the synchronized device to the device management module, and then the device management module synchronizes the device information to the video recording management module and the central platform.

4. The method as described in claim 3, characterized in that, When a device is not on the blacklist, the device management module calculates the load of each device control module and registers the device to the device control module with a lighter load.

5. The method as described in claim 2, characterized in that, The process of notifying the device alarm includes: The device sends alarm information to the device control module, which then forwards the alarm information to the device management module. The device management module caches alarm information in a queue and sends the alarm information to the middle platform in batches via HTTP protocol.

6. The method as described in claim 2, characterized in that, The process by which the client initiates a real-time browsing request includes: The client sends a real-time browsing request to the middleware, and the middleware requests the device playback address from the device management module. After the device management module finds a suitable device control module among the registered device control modules, it requests the device playback address from that device control module. The client simultaneously sends a real-time browsing request to the device control module, and the device control module sends a real-time browsing request to the front-end device. The front-end device sends a real-time stream to the device control module, which then forwards the real-time RTP stream to the client.

7. The method as described in claim 2, characterized in that, The process by which the client initiates a video playback request includes: The client sends a video recording query request to the middleware. After the middleware reads the video recording index information from the database, it forwards the video recording index information to the client. The client requests a video playback address from the middleware, and the middleware forwards the video playback RTSP request to the video management module. The video management module finds the corresponding real-time video stream forwarding module based on the RecordID, and then requests the RTSP address from the real-time video stream forwarding module. The client requests RTSP playback from the real-time video stream forwarding module; The real-time video stream forwarding module reads file frames and sends them to the client. The client initiates VCR (Video Replay) control to the real-time video stream forwarding module.

8. The method as described in claim 2, characterized in that, The process by which the client initiates a voice intercom request includes: The client sends a voice intercom address request to the middleware, and the middleware forwards the voice intercom address request to the device management module. After the device management module finds a suitable device control module among the registered device control modules, it forwards the voice intercom address request to that device control module. At the same time, the client sends a voice intercom request to the device control module, and the device control module sends a voice intercom request to the front-end device. The client sends voice communication data to the device control module, which then sends the voice communication data to the front-end device to enable voice communication.

9. The method as described in claim 2, characterized in that, The process of the client initiating a VCR control request includes: The client sends a device control request to the middleware, and the middleware determines whether the online device has control functionality. If so, the middle platform sends a device control command to the device management module, and the device management module finds the appropriate device control module among the registered device control modules; The device management module sends device control commands to the device control module, and the device control module sends device control commands to the front-end device.

10. The method as described in claim 2, characterized in that, The recording process includes: Each device is registered to the device management module via the GB28181 protocol; Each video storage module sends its current load information to the video management module; The video recording management module synchronizes the load information of each video recording storage module to the central platform; The device management module synchronizes device information to the middleware platform via the HTTP protocol; The middleware platform synchronizes device information to the client. The client triggers the online device, and then selects a video storage module with a lighter load to send an RTSP request signaling to it; The video storage module sends RTP data packets to the client.

Citation Information

Patent Citations

  • Video monitoring system based on platform and panoramic AR

    CN115037856A