Video gatekeeper management method and device, electronic device and storage medium

By obtaining the configuration information of the video gate gate, establishing transmission channels, expanding protocol data and analysis models, real-time monitoring and switching of video gate gate faults is achieved, and the problem of low processing efficiency of video gate gate faults is solved, and the system reliability and Availability.

CN119110031APending Publication Date: 2024-12-10E SURFING VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924408.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing video gate fault handling efficiency is low and the lack of effective solutions has affected the reliability and availability of video surveillance systems.

Method used

By obtaining the configuration information of the video gate, establishing a transmission channel, expanding the target transmission protocol data, and establishing an abnormal data analysis model to identify abnormal data, switching the transmission channel according to the preset scheduling model, real-time monitoring and fault handling are achieved.

Benefits of technology

It improves the efficiency of video gate fault handling, ensures the stable operation of the video surveillance system, reduces dependence on manual patrols, and improves the reliability and usability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110031A_ABST
    Figure CN119110031A_ABST
Patent Text Reader

Abstract

The invention relates to a video gatekeeper management method and device, an electronic device and a storage medium, and the method comprises the steps: obtaining the configuration information of a plurality of video gatekeepers, and building a plurality of transmission channels according to the configuration information; the transmission channel transmits target transmission protocol data; the target transmission protocol data is obtained through extension according to a preset transmission protocol; establishing an abnormal data analysis model according to the transmission data information in the transmission channel; determining abnormal data of the video gatekeeper according to the abnormal data analysis model, and generating an abnormal data management instruction according to the abnormal data; and in response to the abnormal data management instruction, switching a transmission channel of the target transmission protocol data according to a preset scheduling model. According to the invention, the fault processing efficiency of the video gatekeeper is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information communication, and in particular to a management method, device, electronic device and storage medium for a video gateway. Background Art

[0002] The public security department mainly uses video surveillance within the public security information network. However, due to the limited bandwidth and high security level of the public security information network itself, it is unable to directly carry the video surveillance system platform and a large number of camera devices. Generally, the video platform and camera devices are deployed on a video dedicated network or other types of dedicated networks. The video gateway is used as the transmission channel for communication between the two networks.

[0003] Once the network gate has problems, intranet users will not be able to use the video resources of the camera, so the reliability and availability of the video network gate are particularly important for the public security video surveillance system. However, due to the network environment in which the video network gate is located, most of them are currently inspected by regular manual inspections; at the same time, there are many types of network gates and multiple manufacturers for the same project, and the operation and maintenance personnel of each manufacturer are required to be responsible for the inspection and maintenance of the network gate, and the personnel cannot be reused, which leads to low fault handling efficiency when the video network gate fails.

[0004] With regard to the problem in the related art that the troubleshooting efficiency of video gateways needs to be improved, no effective solution has been proposed yet. Summary of the invention

[0005] In this embodiment, a video gateway management method, device, electronic device and storage medium are provided to solve the problem in the related art that the efficiency of troubleshooting of video gateways needs to be improved.

[0006] In a first aspect, a method for managing a video gateway is provided in this embodiment, the method comprising:

[0007] Acquire configuration information of multiple video gateways, and establish multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol;

[0008] Establishing an abnormal data analysis model according to the transmission data information in the transmission channel; determining the abnormal data of the video gateway according to the abnormal data analysis model, and generating an abnormal data management instruction according to the abnormal data;

[0009] In response to the abnormal data management instruction, the transmission channel of the target transmission protocol data is switched according to a preset scheduling model.

[0010] In some embodiments, the method further comprises:

[0011] Determine a target identifier of the transmission channel according to the configuration information;

[0012] The preset transmission protocol is extended according to the target identifier to obtain the target transmission protocol data.

[0013] In some embodiments, establishing an abnormal data analysis model according to the transmission data information in the transmission channel includes:

[0014] Acquire the training transmission data information in the transmission channel; split the training transmission data information according to information attributes to obtain training transmission data attribute information;

[0015] The training transmission data attribute information is input into a preset probability distribution model for calculation, and abnormal data analysis models are established according to different attributes of the information.

[0016] In some embodiments, determining the abnormal data of the video gateway according to the abnormal data analysis model includes:

[0017] Acquire the transmission data information to be detected in the transmission channel in real time;

[0018] Inputting the to-be-detected transmission data information into the abnormal data analysis model respectively according to the information attributes to obtain the target data analysis model;

[0019] It is determined whether the target data analysis model is consistent with the abnormal data analysis model. If they are consistent, it is determined that the to-be-detected transmission data corresponding to the target data analysis model is the abnormal data in the video gateway.

[0020] In some embodiments, the method further comprises:

[0021] Obtaining management tasks of different video gateways, and respectively assigning weights to target transmission protocol data of transmission channels corresponding to the management tasks;

[0022] Assign execution order to the management tasks of the video gateway according to the weight and processing time of different management tasks;

[0023] The management task of the video gateway is executed according to the execution order, and the weight of the management task is updated according to the task execution status.

[0024] In some embodiments, in response to the abnormal data management instruction, switching the transmission channel of the target transmission protocol data according to a preset scheduling model includes:

[0025] In response to the abnormal data management instruction, according to a preset scheduling model, a target transmission channel of the video gateway corresponding to the management task whose execution order is within a preset range is obtained;

[0026] Switch the transmission channel of the target transmission protocol data to the target transmission channel.

[0027] In some embodiments, the method further comprises:

[0028] In response to the abnormal data management instruction, split the target transmission protocol data according to a preset scheduling model;

[0029] Acquire a management task in a preset state, and acquire a target transmission channel of a video gateway corresponding to the management task;

[0030] The split target transmission protocol data are matched to target transmission channels respectively.

[0031] In a second aspect, a video gateway management device is provided in this embodiment, the device comprising: a channel establishment module, a model establishment module and a management module;

[0032] The channel establishment module is used to obtain configuration information of multiple video gateways and establish multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol;

[0033] The model building module is used to build an abnormal data analysis model according to the transmission data information in the transmission channel; determine the abnormal data of the video gateway according to the abnormal data analysis model, and generate an abnormal data management instruction according to the abnormal data;

[0034] The management module is used to switch the transmission channel of the target transmission protocol data according to a preset scheduling model in response to the abnormal data management instruction.

[0035] In a third aspect, an electronic device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the video gateway management method described in the first aspect is implemented.

[0036] In a fourth aspect, in this embodiment, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the video gateway management method described in the first aspect is implemented.

[0037] Compared with the related art, a management method, device, electronic device and storage medium of a video gateway provided in this embodiment establish a transmission channel with the management system through the configuration information of the video gateway, and expand the transmission channel, and then transmit data according to the expanded target transmission protocol data; thereafter, an abnormal data analysis model is established and the abnormal data in the video gateway is determined, and finally, according to a preset scheduling model, the transmission channel of the video gateway where the abnormal data appears is switched, thereby realizing real-time monitoring and processing of abnormal data, which is beneficial to improving the fault handling efficiency of the video gateway.

[0038] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0040] Figure 1 It is a hardware structure block diagram of a terminal of the video gateway management method of an embodiment of the present application;

[0041] Figure 2 is a flow chart of the video gateway management method of this embodiment;

[0042] Figure 3 It is a schematic diagram of a national standard video gateway management method based on an existing national standard protocol provided in this specific embodiment;

[0043] Figure 4 It is a schematic diagram of a national standard video gateway data transmission method based on an existing national standard protocol provided in this specific embodiment;

[0044] Figure 5 is a schematic diagram of an RTP extension header provided in this specific embodiment;

[0045] Figure 6 It is a schematic diagram of the national standard video gateway automatic monitoring method based on the existing national standard protocol provided by this specific embodiment;

[0046] Figure 7a is a schematic diagram of an abnormal state provided by this specific embodiment;

[0047] Figure 7b is a schematic diagram of a normal state provided by this specific embodiment;

[0048] Figure 8 Schematic diagram of an intelligent scheduling method for a national standard video gateway based on an existing national standard protocol provided by this specific embodiment;

[0049] Fig. 9 is a schematic diagram of an intelligent scheduling system provided in this specific embodiment;

[0050] Fig.10 This is a preferred structural block diagram of the management device of the video gateway of this embodiment. DETAILED DESCRIPTION

[0051] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0052] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the", "these" and the like in this application do not represent quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether directly or indirectly. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. Usually, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0053] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 1 is a hardware structure diagram of a terminal of the video gateway management method of the embodiment of the present application. Figure 1 As shown, the terminal may include one or more ( Figure 1Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0054] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the management method of the video gateway in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0055] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by the communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0056] The public security department mainly uses video surveillance within the public security information network. However, due to the limited bandwidth and high security level of the public security information network itself, it is unable to directly carry the video surveillance system platform and a large number of camera devices. Generally, the video platform and camera devices are deployed on a video-dedicated network or other types of dedicated networks. The two networks use a video gateway as a transmission channel for communication. Once a problem occurs with the gateway, intranet users will not be able to use the camera's video resources. Therefore, the reliability and availability of the video gateway are particularly important for the public security video surveillance system.

[0057] In the field of security video surveillance, the international general standard protocol (GB / T28181 general standard protocol) is generally used to implement the basic requirements and security specifications of departments for communication, transmission, exchange and control between systems. If an external monitoring system wants to connect with the public security video surveillance system built on the public security information intranet, it must meet the specifications and requirements of the GB / T28181 general standard protocol. However, the GB / T28181 general standard protocol does not have a re-registration connection instruction between systems. After the system-to-system protocol connection is completed, except for the unified adjustment of the network gate, the upper system and the lower system, the connection cannot be changed. Therefore, the stability of the communication link between systems is also crucial.

[0058] As the importance of video surveillance to the daily work of the public security continues to increase, in order to better protect the user's call for video resources, it is necessary to monitor the operation of the video gateway in real time. At the same time, when a gateway has a hardware failure, how to ensure the normal use of video services is also an urgent problem for users. In this embodiment, a management method for a video gateway is provided.

[0059] It is mainly aimed at the national standard video network gates in the districts and counties of the public security departments. Under the same conditions, the system can complete the intelligent switching of faulty and abnormal network gates without waiting for manual inspection. At the same time, it can automatically monitor the operation status and traffic of the national standard video network gates without installing monitoring programs or related hardware equipment. Figure 2 FIG. 4 is a flow chart of the method for managing a video gateway of the present embodiment. Figure 2 As shown, in the scheduling system applied to the video gateway, the processor in the scheduling system implements the management of the video gateway. The process includes the following steps:

[0060] Step S210, obtaining configuration information of multiple video gateways, and establishing multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol.

[0061] The processor obtains configuration information for multiple video gateways based on existing international protocols; specifically, the configuration information includes basic information and service information, and further, the basic information includes information of the external platform, and the service information includes information of the video gateway. Thereafter, a transmission channel is established according to the configuration information. Exemplarily, the configuration information includes: a gateway docking link address, a link port, a link transmission protocol, a service data docking address, a docking port, and a transmission mode, etc.

[0062] Furthermore, the transmission channel between the dispatching system and the video gateway is established by calling the configuration information; at the same time, the monitoring service is registered for both the private network and the intranet, and the registration information packet is sent from the intranet monitoring service to the private network monitoring service by calling the established transmission channel information to complete the private intranet service registration. The private network is a system that deploys video platforms or camera equipment, and the intranet includes the above-mentioned public security information intranet.

[0063] The transmission channel transmits target transmission protocol data, which is obtained by expanding the preset transmission protocol. Specifically, the preset transmission protocol is an international standard protocol. Optionally, the processor identifies different data in the preset transmission protocol differently to achieve the expansion of the transmission protocol.

[0064] Step S220, establishing an abnormal data analysis model according to the transmission data information in the transmission channel; determining the abnormal data of the video gateway according to the abnormal data analysis model, and generating an abnormal data management instruction according to the abnormal data.

[0065] The processor obtains the system interaction data in the transmission channel, i.e., the transmission data information, and then analyzes the transmission data information, and uses a preset probability distribution method to establish an abnormal data analysis model. Furthermore, the transmission data information includes data information such as flow data throughput, data interaction packet processing transmission efficiency, and video gateway status. Subsequently, the overall business status of the video gateway is monitored in real time through the abnormal data analysis model, and the expected value of the abnormal data is predicted, and abnormal data management instructions are generated according to the abnormal data.

[0066] Step S230 , in response to the abnormal data management instruction, switching the transmission channel of the target transmission protocol data according to a preset scheduling model.

[0067] The processor schedules the video gateway according to the abnormal data management instruction and the preset scheduling model. Specifically, according to the preset scheduling model, the target transmission protocol data is separately scheduled to switch the transmission channel of the target transmission protocol data, thereby improving the overall scheduling performance.

[0068] Through the above steps, by acquiring the configuration information of the video gateway, a transmission channel with the management system is established, and the transmission channel is expanded, and then data is transmitted according to the expanded target transmission protocol data; thereafter, an abnormal data analysis model is established and the abnormal data in the video gateway is determined, and finally, according to the preset scheduling model, the transmission channel of the video gateway where the abnormal data occurs is switched, thereby realizing real-time monitoring and processing of abnormal data, which is conducive to improving the fault handling efficiency of the video gateway.

[0069] In some of the embodiments, the method for expanding and obtaining the target transmission protocol data in step S210 includes: determining the target identifier of the transmission channel according to the configuration information; and expanding the preset transmission protocol according to the target identifier to obtain the target transmission protocol data.

[0070] Among them, the preset transmission protocols include SIP (Session Initiation Protocol) signaling and RTP (Real-time Transport Protocol) media streams. The target identifier is added to the data packet header field of the SIP signaling and the data packet header field of the RTP media stream respectively, thereby realizing the expansion of the preset transmission protocol and obtaining the target transmission protocol data, which is conducive to quickly obtaining the basic information and situation of the transmission signaling according to the target identifier to meet the system's use for subsequent analysis. Specifically, the target identifier is a unique hash identifier determined according to the configuration information, and the hash identifier is used to verify the scheduling of the video gateway management system. The hash identifier is used to calculate the unique value of national standard SIP signaling, network path and other information.

[0071] Specifically, SIP is a signaling protocol used to control multimedia communication sessions (such as voice and video calls). In the GB / T28181 standard, SIP signaling is used to initialize, modify, and terminate media sessions. It is responsible for communication control between devices, such as registration, authentication, call establishment, and hang-up. SIP messages are transmitted between devices through the network, including request types such as INVITE, ACK, BYE, and corresponding response messages. These signalings ensure that each component in the video surveillance system can correctly establish and manage communication connections. RTP is a protocol for providing end-to-end real-time transmission services on the Internet. It is often used with RTCP (Real-time Transport Control Protocol, RTP control protocol) to provide service quality feedback and synchronization of media streams. Within the framework of the GB / T 28181 standard, RTP is responsible for carrying actual media data streams such as audio and video. Media data is encapsulated into RTP packets, each of which carries a timestamp and sequence number to ensure that the receiving end can correctly reassemble and play the media stream in the correct order. RTP media streams are usually used in conjunction with SIP signaling. SIP is used to establish sessions, while RTP is responsible for transmitting media content in the sessions.

[0072] In some of the embodiments, in step S220, an abnormal data analysis model is established according to the transmission data information in the transmission channel, including steps S221 to S222.

[0073] Step S221, obtaining training transmission data information in the transmission channel; splitting the training transmission data information according to information attributes to obtain training transmission data attribute information.

[0074] Among them, the processor obtains training transmission data information that interacts with the video gateway management system; illustratively, the training transmission data information includes: traffic data throughput, data interaction packet processing transmission efficiency, gateway status and other information data, and then these training transmission data information are split according to the attributes of different information data, which is conducive to the subsequent establishment of analysis models for different information attributes, and is conducive to improving the efficiency and robustness of identifying abnormal data.

[0075] Step S222, input the training transmission data attribute information into a preset probability distribution model for calculation, and establish abnormal data analysis models according to different information attributes.

[0076] The processor uses a preset probability distribution model to train the transmission data attribute information to establish an abnormal data analysis model, and outputs the current state of the video gateway and the average expectation of future random warnings through the abnormal data analysis model.

[0077] Through the above steps, abnormal data analysis models are established respectively according to the training transmission data information of different attributes, and then abnormal data analysis is performed on different transmission data information, which is conducive to improving the efficiency and accuracy of subsequent identification and warning of abnormal data.

[0078] In some of the embodiments, determining abnormal data of the video gateway according to the abnormal data analysis model in step S220 includes steps S223 to S224.

[0079] Step S223, acquiring the transmission data information to be detected in the transmission channel in real time; inputting the transmission data information to be detected into the abnormal data analysis model according to the information attributes, and obtaining the target data analysis model.

[0080] Step S224, determining whether the target data analysis model is consistent with the abnormal data analysis model, if they are consistent, determining that the to-be-detected transmission data corresponding to the target data analysis model is abnormal data in the video gateway.

[0081] Among them, after the processor inputs the transmission data information to be detected into the corresponding abnormal data analysis model according to different information attributes, it will generate a target data analysis model; then it determines whether the analysis statistical results of the target data analysis model are consistent with the abnormal data analysis model. If they are inconsistent, the processor determines the abnormal data in the transmission data information to be detected and generates abnormal data management instructions.

[0082] In some of the embodiments, the method further includes steps S240 to S260.

[0083] Step S240, obtaining management tasks of different video gateways, and performing weight allocation on target transmission protocol data of transmission channels corresponding to the management tasks.

[0084] Among them, the processor obtains the configuration information of multiple video gateways and establishes corresponding transmission channels respectively, and the target identifiers of different video gateways are different; the processor then obtains the management tasks of different video gateways and weights different target transmission protocol data according to the management tasks; further, the processor presets the forwarding processing time for the tasks of different video gateways according to the management tasks.

[0085] Step S250, assigning an execution order to the management tasks of the video gateway according to the weights and processing times of the different management tasks.

[0086] Step S260, executing the management task of the video gateway according to the execution order, and updating the weight of the management task according to the task execution status.

[0087] The processor sets priorities for the management tasks of multiple video gateways according to the weights and forwarding processing times of different management tasks, that is, assigns an execution order. Then, the management tasks are executed in sequence according to the execution order. For example, the weights can be set to values ​​such as 1, 2, 3, 4, etc., and the forwarding processing time can be 10ms, 20ms, 30ms, etc., which are not specifically limited here.

[0088] Through the above steps, different weights and forwarding processing times are set for different management tasks, which is beneficial to improving the efficiency of the management tasks of the video gateway.

[0089] In some of the embodiments, step S230 includes step S231.

[0090] Step S231, in response to the abnormal data management instruction, according to the preset scheduling model, obtain the target transmission channel of the video gateway corresponding to the management task whose execution order is within the preset range; switch the transmission channel of the target transmission protocol data to the target transmission channel.

[0091] The processor responds to the abnormal data management instruction and obtains the target transmission channel according to the preset scheduling model. The video network gate corresponding to the management task whose execution order is within the preset range can be a transmission channel in an idle state, and then the transmission channel in the idle state is locked as the target transmission channel, and then the transmission channel where the current abnormal data is located is switched to the target transmission channel; this is conducive to adaptively adjusting the transmission channel of the task, and thus is conducive to improving the management efficiency of the system.

[0092] In some of the embodiments, step S230 also includes steps S232 to S233.

[0093] Step S232, in response to the abnormal data management instruction, split the target transmission protocol data according to a preset scheduling model.

[0094] Among them, when the transmission efficiency of the video network gate does not meet the preset transmission efficiency threshold, the processor generates an abnormal data management instruction, and then splits the target transmission protocol data corresponding to the transmission efficiency on the current transmission channel according to the abnormal data management instruction to obtain multiple split data packets, namely signaling data packets and media stream data packets.

[0095] Step S233, obtaining a management task in a preset state, and obtaining a target transmission channel of the video gateway corresponding to the management task, and matching the split target transmission protocol data to the target transmission channels respectively.

[0096] The management task in a preset state is obtained specifically as a management task in an idle state, and a transmission channel corresponding to the task is obtained.

[0097] Through the above steps, when the transmission efficiency of the video gateway is reduced: the processor will split the data packets with slow processing efficiency on the current transmission channel, and search for other idle transmission channels, switch the transmission channel of the data packets, and process the original national standard signaling and media stream data packets separately, and transmit them through other channels, which is beneficial to improve the transmission efficiency of the video gateway.

[0098] The present embodiment is described and illustrated by means of specific examples below.

[0099] This specific embodiment provides an intelligent video gateway monitoring and scheduling method based on the existing national standard protocol, including: a management method of a national standard video gateway, a data transmission and automatic monitoring method of a video gateway, and an intelligent scheduling method of a national standard video gateway. Figure 3 Schematic diagram of the national standard video gateway management method based on the existing national standard protocol provided by this specific embodiment. Figure 3 , including the following steps 101 to 104.

[0100] Step 101, enter the basic information and business information of the gateway.

[0101] Specifically, after the monitoring and scheduling system is started, it supports the user to register and configure the required monitoring network gate basic information and business information data in the system configuration, that is, register the configuration information in the aforementioned embodiment. The format of the monitoring network gate registration configuration information is as follows:

[0102] <? xml version="1.0" encoding="UTF-8"? >

[0103] <GAPInfo Version="1.0.2">

[0104] <gap>

[0105] <gapid> Gap1< / gapid>

[0106] <ip> 192.162.129.72< / ip>

[0107] <port> 5064< / port>

[0108] <channelmode> TCP< / channelmode>

[0109] < / gap>

[0110] <gap>

[0111] <gapid> Gap2< / gapid>

[0112] <ip> 192.162.129.72< / ip>

[0113] <port> 5064< / port>

[0114] <channelmode> UDP< / channelmode>

[0115] < / gap>

[0116] <gap>

[0117] <gapid> Gap2< / gapid>

[0118] <ip> 192.162.129.72< / ip>

[0119] <port> 5065< / port>

[0120] <channelmode> TCP< / channelmode>

[0121] < / gap>

[0122]

[0123] Among them, GAPID represents the monitoring network gate ID, for example, here GAPID is "Gap1"; IP and Port represent the docking link address information of the monitoring network gate, ChannelMode identifies the docking link transmission mode, and the configuration information supports the creation of multiple GAP nodes for monitoring configuration of different network gates and different ports.

[0124] The format of the business platform configuration information is as follows:

[0125] <? xml version="1.0" encoding="UTF-8"? >

[0126] <PlatFInfo Version="1.0.2">

[0127] <platf>

[0128] <gapid> Gap1< / gapid>

[0129] <platfip> 192.168.8.66< / platfip>

[0130] <platfport> 5064< / platfport>

[0131] <platfmode> UDP< / platfmode>

[0132] < / platf>

[0133] <platf>

[0134] <gapid> Gap2< / gapid>

[0135] <platfip> 192.168.8.72< / platfip>

[0136] <platfport> 5064< / platfport>

[0137] <platfmode> TCP< / platfmode>

[0138] < / platf>

[0139]

[0140] Among them, GAPID represents the gate link ID used by the business platform, for example, GAPID here is "Gap1"; and the transmission channel named "Gap1" is selected for data transmission. PlatFIP and PlatFPort represent the address information received and sent by the business platform, which is used for the gate monitoring and dispatching system to receive and forward data. PlatFMode represents the docking mode between the gate internal monitoring and dispatching system and the business platform for data transmission. For example, here latFMode is "UDP", and the gate internal platform will use UDP to transmit data to the business platform. The business platform configuration information supports the creation of multiple PlatF nodes for data forwarding configuration for different business platforms.

[0141] Step 102, gatekeeper channel link registration and heartbeat.

[0142] Specifically, the monitoring and scheduling system reads the monitoring network gate registration configuration information in real time, obtains the monitoring network gate address data, and initiates a link to the IP and Port registered in the configuration information. When the network gate and the monitoring and scheduling system complete the link docking, the monitoring and scheduling system will send a registration request to the docked link for the registration of the monitoring systems inside and outside the network gate to test whether the channel is normal. The json format of the registration request is as follows:

[0143] {

[0144] "GAPID":"Gap1",

[0145] "Cseq":1,

[0146] "CmdType":"Keepalive",

[0147] "DateTime":"2023-03-23T08-00-00-453234"

[0148] }

[0149] After the link is connected, the inner system of the gateway sends a registration request to the outer system. The inner and outer systems configure the same channel with the same channel ID. When the outer system receives the registration request transmitted from the inner system, it checks the GAPID and completes the registration after confirming that the channel corresponds successfully. Otherwise, the registration fails and the process goes to the alarm unit of step 404.

[0150] When the gatekeeper's external system receives the registration package, it will confirm the DateTime field in the registration package, synchronize the service time source, and synchronize the gatekeeper's external system with the gatekeeper's internal system time source to ensure that the subsequent gatekeeper monitoring data is reliable and stable. After the monitoring and scheduling system completes the initial registration, the gatekeeper's internal system will periodically send heartbeats to the link channel and perform heartbeat keepalive with the gatekeeper's external system to ensure the normal and stable operation of the channel.

[0151] Step 103: The service platform connects to the channel for monitoring.

[0152] Specifically, the monitoring and scheduling system reads the business platform configuration information in real time, obtains the business platform address data and forwarding mode, and establishes a monitoring for the IP and Port registered in the configuration information, waiting for the business platform to send data to the monitoring and scheduling system.

[0153] Step 104: Business platform data transmission.

[0154] Specifically, the monitoring and dispatching system monitors the information registered by the business platform. When it receives data information from the business platform, it forwards the data to the corresponding network gate channel for data transmission. The system inside the network gate receives the data information from the network gate, and sends the data to the corresponding business platform inside the network gate through the business platform configuration information to complete data forwarding.

[0155] Figure 4 Schematic diagram of the national standard video gateway data transmission method based on the existing national standard protocol provided by this specific embodiment. Figure 4 , including the following steps:

[0156] Step 201, receiving national standard signaling data of the international cascade platform.

[0157] Specifically, the system opens a unified external port and waits to receive data packets transmitted from the cascaded national standard platform, including: national standard signaling SIP packets and national standard media stream RTP packets.

[0158] Step 202, parse the data packet transmitted to the system by the international cascade platform, determine the data packet type, and create a unique hash identifier to perform data expansion of the data packet.

[0159] Specifically, the system parses the received data packets, strips and classifies them, identifies the communication signaling data packets as national standard SIP signaling packets, identifies the national standard RTP media data packets as media stream packets, and performs compliance verification on the two types of data packets in accordance with the requirements of the national standard 28181 protocol specification. The verification content is determined by parsing and retrieving the source address and target address in the data transmission packet, determining the national standard cascading platform of the other end, and creating a unique hash identifier based on the peer cascading platform ID, current timestamp, default selected channel ID, and channel instruction set.

[0160] Exemplarily, the path instruction set is shown in Table 1, including the path instruction set command name, type and comments; wherein the path instruction set command name includes the amount of data transmitted, the data packet type and the path instruction, and the type is u_int; the comments are the number of data packets, the type corresponding to the data packet type value, and the command corresponding to the path command value; specifically, the transmission packet type value can be 0-9, and the path command value can be 0-2.

[0161] Table 1 Path instruction set

[0162]

[0163] Step 203: perform data packet expansion on the data transmission packet and assign a unique hash identifier.

[0164] Specifically, the system divides the data packet into two ways for expansion processing. For the national standard SIP signaling, the system expands the national standard SIP signaling header, expands the SIP header field user-agent, and assigns hash data to the user-agent header field. Figure 5 Schematic diagram of the RTP extension header provided in this specific embodiment. Figure 5 For the national standard RTP media stream, the system marks the fourth bit X in the RTP header as 1, turns on the RTP packet extension, and creates the RTP extension header, marks the profile as 0x00 to distinguish it from other data extension packets, and marks the extension length as 10 to indicate that the header extension stores the byte length. The header extension stores the hash unique identification data generated in step 202.

[0165] Step 204, according to the unique hash identifier of the data packet extension, a corresponding transmission link channel is selected, and data is sent into the channel.

[0166] Specifically, the system selects the corresponding transmission link channel according to the path ID in the hash unique identifier, puts the data packet into the channel transmission data queue, and waits for the transmission channel to send and transmit the data packet.

[0167] Step 205, the peer system receives the data packet transmitted from the international video gateway, parses the hash identifier in the data packet to determine the corresponding transmission platform, and sends the data.

[0168] Specifically, the peer system on the other side of the video gateway receives the data packet transmitted from the national standard video gateway, extracts the extended data of the data packet, parses the data packet extended hash identifier, extracts the cascade platform ID, current timestamp, path instruction set and other information in the data packet, restores the data packet, and retrieves the corresponding cascade platform through the cascade platform ID to send and transmit the data packet.

[0169] Figure 6 Schematic diagram of the automatic monitoring method of the national standard video gateway based on the existing national standard protocol provided by this specific embodiment. Figure 6 , the method comprising:

[0170] Step 301, real-time statistics of traffic data throughput, interactive packet processing, transmission efficiency, and network gate status data.

[0171] Specifically, the system parses the unique hash identification data, analyzes the path instruction set, parses and strips the path instruction set data, and parses and strips the current path transmission data volume, current data packet type, current data packet and path instruction in the path instruction set.

[0172] Step 302: Use Poisson distribution to establish a heterogeneous model early warning monitoring model.

[0173] Specifically, the system uses Poisson distribution to establish a heterogeneous model based on the parsed data. The heterogeneous model here is the abnormal data analysis model in the above embodiment. First, an early warning model is constructed. The expression of the model is:

[0174]

[0175] Among them, λ is the average number of occurrences of random events per unit time, and the expectation and variance are both λ.

[0176] The expression of the characteristic function is:

[0177] ψ(t)=exp{λ(e it -1)}

[0178] Where λ is the rate at which events occur, t is the length of the interval between events, and x is the number of events in that interval.

[0179] Finally, the efficiency of abnormal data is calculated:

[0180]

[0181] Among them, a1, a2, a3, and an represent the single-time gatekeeper processing efficiency, and An represents the average abnormal value state, where abnormal data appears and is lower than the average level.

[0182] Step 303: monitor the status of each channel in real time according to the analysis result of the early warning monitoring model.

[0183] Specifically, the system establishes three sets of anomaly detection data graphs based on the above-mentioned early warning model, by substituting traffic throughput data, interactive packet processing and transmission conditions, and network gate status conditions. When the statistical results are inconsistent with the Poisson distribution early warning model, the system automatically sends an abnormal status alarm. Figure 7a is a schematic diagram of an abnormal state provided in this specific embodiment, Figure 7b is a schematic diagram of a normal state provided by this specific embodiment. Figure 7a and 7b , the horizontal axis is set as the statistical number, and the vertical axis is set as the statistical probability. When in an abnormal state, the statistical results are inconsistent with the results of the Poisson distribution; when in a normal state, the statistical results are roughly consistent with the results of the Poisson distribution.

[0184] Figure 8 Schematic diagram of the intelligent scheduling method of the national standard video gateway based on the existing national standard protocol provided by this specific embodiment. Figure 8 , the method comprising:

[0185] Step 401, national standard data packet weight and task processing time configuration.

[0186] Specifically, the system constructs an intelligent scheduling algorithm model: a dynamic weighted priority scheduling (DWPS) model; in which the system adds a unique identifier and corresponding permissions and processing time to each type of data packet. In order to meet the scheduling model, the corresponding weight data, task forwarding processing time and weight task and configuration are configured for the national standard data packet task as shown in Table 2. Different weight values ​​are assigned according to different data packet types, and different data packet types require different processing times.

[0187] Table 2 Task set configuration table

[0188]

[0189]

[0190] Among them, the system will maintain a task queue for each path, and add the task queue by task weight priority as the first guide and scheduling priority as the second guide. The tasks in the queue are sorted from high to low according to priority. The task queue here is the management task in the above embodiment.

[0191] Scheduling priority = (task deadline - current time) / task remaining running time.

[0192] By automatically calculating the scheduling priority, the task will gradually increase as the deadline approaches, so that the task can be executed faster. The scheduler obtains tasks according to the priority in the task queue and forwards the tasks. During the task execution process, the system will update the task status in real time, including the remaining time and status of the task.

[0193] This model is used to determine the execution order of tasks in a multi-task environment. It implements task scheduling by assigning a priority to each task and dynamically adjusting the task weight according to the task priority and the current system state. In DWPS, the priority of a task is usually fixed, but the weight of a task can be dynamically adjusted according to changes in the system state. The advantage is that the scheduling order of tasks can be adaptively adjusted according to changes in the system state, thereby improving the efficiency and throughput of the system.

[0194] In step 402, the system monitors the alarm of the automatic monitoring system and determines the event status. When the business is running smoothly, the system adopts step 403 by default.

[0195] Step 403: Use the default path to transmit data.

[0196] Specifically, the nearest path is used for data transmission, and there is no business scheduling.

[0197] Step 404, determine the alarm type and perform system scheduling.

[0198] Specifically, when the system automatic monitoring system issues an abnormal alarm, the scheduling system will analyze the abnormal alarm status: when the link is interrupted: the scheduling unit will confirm the idle links, select the available idle links, lock the idle link information, and ensure that no other threads call this link. Afterwards, an emergency scheduling request is generated, and the emergency scheduling request is submitted to the scheduling thread for emergency link scheduling. When the transmission efficiency of the national standard video gateway decreases: the scheduling unit will split the data packets with slow processing efficiency on the current link, search for other idle links, switch the data packet link to the idle link, and process the original national standard signaling and media stream data packets separately, and transmit them through other channels. The above-mentioned link is the transmission channel mentioned in the aforementioned embodiment.

[0199] In this embodiment, an intelligent scheduling system based on a video gateway is also provided to execute all the above methods. Fig. 9 Schematic diagram of the intelligent scheduling system provided by this specific embodiment. Fig. 9 The system includes: an information registration unit 501, a scheduling unit 502, an alarm unit 503, a registration unit 504, a data transmission unit 505 and a data analysis unit 506. The functions of these modules are described below.

[0200] The information registration unit 501 provides basic information entry and management for the entire system by configuring the basic information data and business information data of the monitoring network gate. The information registration unit 501 reads the configuration file in real time, can adjust the system-related business in real time, add corresponding management video network gates, and other operations.

[0201] The scheduling unit 502 performs emergency scheduling on available channels in the system by receiving the alarm message from the alarm unit 503, and allocates the managed network gates and the channels opened under the network gates.

[0202] The alarm unit 503 monitors the channels managed by the system. When the data analysis unit 506 finds an abnormal channel through processing and analysis, the alarm unit 503 will broadcast the alarm and push the alarm message to the scheduling unit 502 for emergency scheduling. At the same time, the alarm message will also be pushed to the network gate administrator for manual intervention.

[0203] The registration unit 504 establishes a communication channel between the system and the gateway and the platform by receiving the basic information data and business information data of the monitoring gateway registered by the information registration unit 501, and then provides a unified communication transmission address to receive data information from the platform and the gateway. Furthermore, the registration unit 504 also sends registration and heartbeat requests to the channel that has completed the link establishment, and receives the corresponding response message, refreshes the validity period of the corresponding channel, and ensures that the channel is kept alive.

[0204] The data transmission unit 505 receives data information from the service platform and the network gate, and sends the corresponding data to the configured corresponding address to complete the transmission of the data information.

[0205] The data analysis unit 506 performs modeling and analysis on various data interaction packets in the data transmission unit 505 and the registration unit 504, and evaluates the overall transmission efficiency of the network switch and the current data flow through the algorithm model, so as to effectively make dynamic adjustments and issue problem alarms to improve system reliability.

[0206] In this embodiment, a video gateway management device is also provided, which is used to implement the above embodiments and preferred implementations, and the descriptions that have been made will not be repeated. The terms "module", "unit", "subunit", etc. used below can be a combination of software and / or hardware that implements the predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0207] Fig.10 : is a preferred structural block diagram of the management device of the video gateway of this embodiment, such as Fig.10 As shown, the device includes: a channel establishment module 10, a model establishment module 20 and a management module 30.

[0208] The channel establishment module 10 is used to obtain the configuration information of multiple video gateways and establish multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol.

[0209] The model building module 20 is used to build an abnormal data analysis model according to the transmission data information in the transmission channel; determine the abnormal data of the video gateway according to the abnormal data analysis model, and generate an abnormal data management instruction according to the abnormal data.

[0210] The management module 30 is used to switch the transmission channel of the target transmission protocol data according to a preset scheduling model in response to the abnormal data management instruction.

[0211] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0212] In this embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0213] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0214] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0215] S1, obtaining configuration information of multiple video gateways, and establishing multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol.

[0216] S2, establishing an abnormal data analysis model according to the transmission data information in the transmission channel; determining the abnormal data of the video gateway according to the abnormal data analysis model, and generating an abnormal data management instruction according to the abnormal data.

[0217] S3, in response to the abnormal data management instruction, switching the transmission channel of the target transmission protocol data according to a preset scheduling model.

[0218] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.

[0219] In addition, in combination with the video gateway management method provided in the above embodiments, a storage medium may be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, any of the video gateway management methods in the above embodiments is implemented.

[0220] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.

[0221] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.

[0222] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.

[0223] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.

Claims

1. A method for managing a video gateway, It is characterized in that The method comprises: Acquire configuration information of multiple video gateways, and establish multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol; Establishing an abnormal data analysis model according to the transmission data information in the transmission channel; determining the abnormal data of the video gateway according to the abnormal data analysis model, and generating an abnormal data management instruction according to the abnormal data; In response to the abnormal data management instruction, the transmission channel of the target transmission protocol data is switched according to a preset scheduling model.

2. The method for managing a video gateway according to claim 1, It is characterized in that The method further comprises: Determine a target identifier of the transmission channel according to the configuration information; The preset transmission protocol is extended according to the target identifier to obtain the target transmission protocol data.

3. The method for managing a video gateway according to claim 1, It is characterized in that The establishing of an abnormal data analysis model according to the transmission data information in the transmission channel comprises: Acquire the training transmission data information in the transmission channel; split the training transmission data information according to information attributes to obtain training transmission data attribute information; The training transmission data attribute information is input into a preset probability distribution model for calculation, and abnormal data analysis models are established according to different attributes of the information.

4. The method for managing a video gateway according to claim 1, It is characterized in that The determining the abnormal data of the video gateway according to the abnormal data analysis model includes: Acquire the transmission data information to be detected in the transmission channel in real time; Inputting the to-be-detected transmission data information into the abnormal data analysis model respectively according to the information attributes to obtain the target data analysis model; It is determined whether the target data analysis model is consistent with the abnormal data analysis model. If they are consistent, it is determined that the to-be-detected transmission data corresponding to the target data analysis model is the abnormal data in the video gateway.

5. The video gateway management method according to claim 1, It is characterized in that The method further comprises: Obtaining management tasks of different video gateways, and respectively assigning weights to target transmission protocol data of transmission channels corresponding to the management tasks; Assign execution order to the management tasks of the video gateway according to the weight and processing time of different management tasks; The management task of the video gateway is executed according to the execution order, and the weight of the management task is updated according to the task execution status.

6. The method for managing a video gateway according to claim 5, It is characterized in that The step of switching the transmission channel of the target transmission protocol data according to a preset scheduling model in response to the abnormal data management instruction includes: In response to the abnormal data management instruction, according to a preset scheduling model, a target transmission channel of the video gateway corresponding to the management task whose execution order is within a preset range is obtained; Switch the transmission channel of the target transmission protocol data to the target transmission channel.

7. The method for managing a video gateway according to claim 6, It is characterized in that The method further comprises: In response to the abnormal data management instruction, split the target transmission protocol data according to a preset scheduling model; Acquire a management task in a preset state, and acquire a target transmission channel of a video gateway corresponding to the management task; The split target transmission protocol data are matched to target transmission channels respectively.

8. A video gateway management device, It is characterized in that The device comprises: a channel establishment module, a model establishment module and a management module; The channel establishment module is used to obtain configuration information of multiple video gateways and establish multiple transmission channels according to the configuration information; the transmission channels transmit target transmission protocol data; the target transmission protocol data is obtained by expanding the preset transmission protocol; The model building module is used to build an abnormal data analysis model according to the transmission data information in the transmission channel; determine the abnormal data of the video gateway according to the abnormal data analysis model, and generate an abnormal data management instruction according to the abnormal data; The management module is used to switch the transmission channel of the target transmission protocol data according to a preset scheduling model in response to the abnormal data management instruction.

9. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to execute the video gateway management method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method for managing a video gateway according to any one of claims 1 to 7 are implemented.