CN111294553A - Method, device, equipment and storage medium for processing video monitoring service signaling - Google Patents

Method, device, equipment and storage medium for processing video monitoring service signaling Download PDF

Info

Publication number
CN111294553A
CN111294553A CN201910620073.3A CN201910620073A CN111294553A CN 111294553 A CN111294553 A CN 111294553A CN 201910620073 A CN201910620073 A CN 201910620073A CN 111294553 A CN111294553 A CN 111294553A
Authority
CN
China
Prior art keywords
signaling
gateway
signaling gateway
video monitoring
level domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910620073.3A
Other languages
Chinese (zh)
Other versions
CN111294553B (en
Inventor
高丛
杨铖
李亚群
许斌
朱浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Publication of CN111294553A publication Critical patent/CN111294553A/en
Application granted granted Critical
Publication of CN111294553B publication Critical patent/CN111294553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The application discloses a method, a device, equipment and a storage medium for processing video monitoring service signaling, and belongs to the technical field of video monitoring. In the method for processing the video monitoring service signaling provided by the embodiment of the application, a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of a video monitoring service signaling processing system is enhanced.

Description

Method, device, equipment and storage medium for processing video monitoring service signaling
The present application claims priority from chinese patent application entitled "method, apparatus, device, and storage medium for processing video surveillance service signaling" filed on 2018 at 07.12.2018 under application number 201811497100.4, the entire contents of which are incorporated herein by reference.
Technical Field
The application relates to the technical field of video monitoring. And more particularly, to a method, apparatus, device, and storage medium for processing video surveillance service signaling.
Background
With the increasing enhancement of the security awareness of people and the coming of the networking era of video monitoring systems, the service scale of the video monitoring systems is continuously enlarged, and the services comprise intelligent application, data analysis, remote on-demand, retrieval control and the like. Therefore, the video monitoring system needs to have the capability of bearing large-scale video resources and also has the capability of processing a large amount of video monitoring service signaling. The video monitoring service signaling may be a service signaling for calling a monitoring video or a service signaling for notifying an alarm event, and the like.
A video monitoring system in the related art includes a video monitoring service signaling processing system, where the video monitoring service signaling processing system includes multiple levels of video monitoring service signaling processing subsystems, and each level of video monitoring service signaling processing subsystem can be regarded as a domain. It is assumed that the current video surveillance service signaling processing subsystem may be a first-level domain, and other video surveillance service signaling processing subsystems may be upper-level domains or lower-level domains of the first-level domain, where the first-level domain in the video surveillance service signaling processing system may have multiple upper-level domains or multiple lower-level domains, and a structure of each domain is similar to that of the first-level domain. By accessing a plurality of external domains such as a plurality of upper domains or lower domains, a large amount of resources can be accessed into the video monitoring service signaling processing system, so that ten-million-level resource networking is achieved, wherein each external domain has a part of resources, and a signaling gateway of a first-level domain processes all video monitoring service signaling sent by the upper domains or the lower domains.
When the number of the video monitoring service signaling in the video monitoring service signaling processing system reaches thousands of signaling, the video monitoring signaling reaches a million-level scale, but the signaling gateway of the first-level domain cannot bear the pressure of the video monitoring service signaling of the million-level scale, so that the efficiency of processing the video monitoring service signaling is low, and the performance of the video monitoring service signaling processing system may be reduced or even paralyzed.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for processing a video monitoring service signaling, which can solve the problem of low processing efficiency of the video monitoring service signaling. The technical scheme is as follows:
in a first aspect, a method for processing a video surveillance service signaling is provided, which is applied to a first-level domain, where the first-level domain includes: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; the method comprises the following steps:
the first proxy server receives a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain;
the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster;
the first proxy server sends the first video monitoring service signaling to the target signaling gateway;
and the target signaling gateway receives the first video monitoring service signaling and carries out video monitoring processing on the first video monitoring service signaling.
In one possible implementation, the first-level domain further includes: a networked management server;
the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, and the method comprises the following steps:
the networking management server sends a gateway identification of a target signaling gateway to the first proxy server;
and the first proxy server receives the gateway identification, and selects the target signaling gateway from the signaling gateway cluster according to the gateway identification, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
In one possible implementation manner, the selecting, by the first proxy server, a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster of the first-level domain includes:
the first proxy server determines a signaling gateway node queue of the first-level domain;
and the first proxy server selects a gateway identifier from the signaling gateway node queue, and selects a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers sequenced according to the residual load of each signaling gateway, and one gateway identifier represents one signaling gateway.
In one possible implementation, the determining, by the first proxy server, a signaling gateway node queue of a first level domain includes:
the first proxy server determining a load balancing policy in the first level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
the first proxy server determining the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway;
and the first proxy server sorts the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
In one possible implementation, the determining, by the first proxy server, the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway includes:
the first proxy server determines a weight corresponding to each residual load parameter in the plurality of residual load parameters based on the load balancing strategy;
for each signaling gateway, the first proxy server performs weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
In one possible implementation, the determining, by the first proxy server, a load balancing policy in the first-level domain includes:
the first proxy server determines the signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the target signaling gateway receives the first video monitoring service signaling, and performs video monitoring processing on the first video monitoring service signaling, including:
the target signaling gateway receives a first processing instruction, wherein the first processing instruction carries the first video monitoring service signaling;
the target signaling gateway processes the first video monitoring service signaling to obtain a second video monitoring service signaling, and forwards the second video monitoring service signaling to the second proxy server;
and the second proxy server receives the second video monitoring service signaling and sends the second video monitoring service signaling to a third-level domain, wherein the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the sending, by the second proxy server, the second video surveillance service signaling to the third-level domain includes:
the second proxy server acquires a port identifier of a target domain from the second video monitoring service signaling; determining the port identification of the third-level domain according to the port identification of the target domain and the stored domain information; and sending the second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain.
In one possible implementation, the first-level domain further includes: a database server;
before the second proxy server sends the second video surveillance service signaling to the third-level domain, the method further includes:
the second proxy server sends a verification instruction to the database server, wherein the verification instruction is used for verifying whether the port identifier of the third-level domain is stored in the database server;
the database server receives the verification instruction, and when the port identifier of the third-level domain is stored in the database server, a confirmation message is sent to the second proxy server, and the verified port identifier of the domain is stored in the database server;
and after receiving the confirmation message, the second proxy server executes the step of sending the second video monitoring service signaling to the third-level domain.
In a possible implementation manner, the receiving, by the target signaling gateway, the first video surveillance service signaling, and performing video surveillance processing on the first video surveillance service signaling includes:
the target signaling gateway receives a second processing instruction, wherein the second processing instruction carries the first video monitoring service signaling;
the target signaling gateway processes the first video monitoring service signaling to obtain a second video monitoring service signaling, obtains a monitoring video corresponding to the second video monitoring service signaling, and sends the monitoring video to the first proxy server;
and the first proxy server receives the monitoring video and sends the monitoring video to the second-level domain.
In a second aspect, a method for processing video surveillance service signaling is provided, where the method is applied to a first proxy server in a first-level domain, and the method includes:
receiving a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain, the video monitoring service signaling processing system comprises a plurality of domains, each domain comprises a signaling gateway cluster, and each signaling gateway cluster comprises a plurality of signaling gateways;
selecting a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster;
and performing video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
In one possible implementation, the first-level domain further includes: a networked management server;
selecting a target signaling gateway from the signaling gateway cluster according to the remaining load of each signaling gateway in the signaling gateway cluster, including:
receiving a gateway identifier of a target signaling gateway sent by the networking management server;
and selecting the target signaling gateway from the signaling gateway cluster according to the gateway identifier, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
In a possible implementation manner, the selecting a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster includes:
determining a signaling gateway node queue of the first level domain;
selecting a gateway identifier from the signaling gateway node queue;
and selecting a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers which are sorted according to the residual load of each signaling gateway in the plurality of signaling gateways, and one gateway identifier represents one signaling gateway.
In one possible implementation manner, the determining a signaling gateway node queue of the first-level domain includes:
determining a load balancing policy in the first level domain;
obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
determining a remaining load for each signaling gateway based on the load balancing policy and a plurality of remaining load parameters for each signaling gateway;
and sequencing the gateway identifications corresponding to the plurality of signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
In one possible implementation, the determining the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway includes:
determining a weight corresponding to each residual load parameter in the plurality of residual load parameters based on the load balancing strategy;
and for each signaling gateway, performing weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
In one possible implementation, the determining a load balancing policy in the first-level domain includes:
determining the signaling type of the first video monitoring service signaling;
and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the video monitoring processing of the first video monitoring service signaling through the target signaling gateway includes:
and sending a first processing instruction to the target signaling gateway, wherein the first processing instruction is used for indicating the target signaling gateway to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and then forwarding the second video monitoring service signaling to the second proxy server, and the second proxy server sends the second video monitoring service signaling to a third-level domain, and the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the performing, by the target signaling gateway, video monitoring processing on the first video monitoring service signaling includes:
sending a second processing instruction to the target signaling gateway, wherein the second processing instruction is used for instructing the target signaling gateway to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and then acquiring a monitoring video corresponding to the second video monitoring service signaling;
and receiving the monitoring video returned by the target signaling gateway, and sending the monitoring video to the second-level domain.
In a third aspect, a system for processing a video surveillance service signaling is provided, which is applied to a first-level domain, where the first-level domain includes: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; the system comprises:
the first proxy server is used for receiving a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain;
the first proxy server is further configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster;
the first proxy server is further configured to send the first video monitoring service signaling to the target signaling gateway;
and the target signaling gateway is used for receiving the first video monitoring service signaling and carrying out video monitoring processing on the first video monitoring service signaling.
In one possible implementation, the first-level domain further includes: a networked management server;
the first proxy server is further configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster, including:
the networking management server is used for sending a gateway identifier of a target signaling gateway to the first proxy server;
the first proxy server is configured to receive the gateway identifier, select the target signaling gateway from the signaling gateway cluster according to the gateway identifier, where the target signaling gateway is selected by the networking management server according to the remaining load of each signaling gateway.
In a possible implementation manner, the first proxy server is further configured to determine a signaling gateway node queue of the first-level domain;
the first proxy server is further configured to select a gateway identifier from the signaling gateway node queue, and select a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, where the signaling gateway node queue includes multiple gateway identifiers sorted according to the remaining load of each signaling gateway, and one gateway identifier represents one signaling gateway.
In a possible implementation manner, the first proxy server is further configured to determine a load balancing policy in the first-level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
the first proxy server is further configured to determine a remaining load of each signaling gateway based on the load balancing policy and the plurality of remaining load parameters of each signaling gateway;
and the first proxy service is further used for sequencing the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
In a possible implementation manner, the first proxy server is further configured to determine, based on the load balancing policy, a weight corresponding to each remaining load parameter in the plurality of remaining load parameters;
for each signaling gateway, the first proxy server is further configured to perform weighted summation on each remaining load parameter of the signaling gateway and a weight corresponding to each remaining load parameter, so as to obtain a remaining load of the signaling gateway.
In a possible implementation manner, the first proxy server is further configured to determine a signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the target signaling gateway is further configured to receive the first video monitoring service signaling, and perform video monitoring processing on the first video monitoring service signaling, including:
the target signaling gateway is further configured to receive a first processing instruction, where the first processing instruction carries the first video monitoring service signaling;
the target signaling gateway is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and forward the second video monitoring service signaling to the second proxy server;
the second proxy server is configured to receive the second video monitoring service signaling and send the second video monitoring service signaling to a third-level domain, where the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the second proxy server is further configured to obtain a port identifier of a target domain from the second video monitoring service signaling; determining the port identification of the third-level domain according to the port identification of the target domain and the stored domain information; and sending the second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain.
In one possible implementation, the first-level domain further includes: a database server;
the second proxy server is further configured to, before sending the second video surveillance service signaling to the third-level domain, the system further includes:
the second proxy server is further configured to send a verification instruction to the database server, where the verification instruction is used to verify whether the port identifier of the third-level domain is stored in the database server;
the database server is further configured to receive the verification instruction, send a confirmation message to the second proxy server when the port identifier of the third-level domain is stored in the database server, and store the verified port identifier of the domain in the database server;
and the second proxy server is further configured to execute the step of sending the second video monitoring service signaling to the third-level domain after receiving the confirmation message.
In a possible implementation manner, the target signaling gateway is further configured to receive a second processing instruction, where the second processing instruction carries the first video monitoring service signaling;
the target signaling gateway is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, obtain a monitoring video corresponding to the second video monitoring service signaling, and send the monitoring video to the first proxy server;
the first proxy server is further configured to receive the monitoring video and send the monitoring video to the second-level domain.
In a fourth aspect, an apparatus for processing video surveillance service signaling is provided, where the apparatus is applied to a first proxy server in a first-level domain, and the apparatus includes:
the video monitoring service signaling processing system comprises a plurality of domains, each domain comprises a signaling gateway cluster, and each signaling gateway cluster comprises a plurality of signaling gateways;
a selecting module, configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster;
and the processing module is used for carrying out video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
In one possible implementation, the first-level domain further includes: a networked management server;
the selection module is further configured to receive a gateway identifier of a target signaling gateway sent by the networking management server; and selecting the target signaling gateway from the signaling gateway cluster according to the gateway identifier, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
In a possible implementation manner, the selection module is further configured to determine a signaling gateway node queue of the first-level domain; selecting a gateway identifier from the signaling gateway node queue; and selecting a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers which are sorted according to the residual load of each signaling gateway in the plurality of signaling gateways, and one gateway identifier represents one signaling gateway.
In a possible implementation manner, the selection module is further configured to determine a load balancing policy in the first-level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster; determining a remaining load for each signaling gateway based on the load balancing policy and a plurality of remaining load parameters for each signaling gateway; and sequencing the gateway identifications corresponding to the plurality of signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
In a possible implementation manner, the selection module is further configured to determine, based on the load balancing policy, a weight corresponding to each remaining load parameter in the plurality of remaining load parameters; and for each signaling gateway, performing weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
In a possible implementation manner, the selection module is further configured to determine a signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the processing module is configured to send a first processing instruction to the target signaling gateway, where the first processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and after a second video monitoring service signaling is obtained, forward the second video monitoring service signaling to the second proxy server, and the second proxy server sends the second video monitoring service signaling to a third-level domain, where the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the processing module is further configured to send a second processing instruction to the target signaling gateway, where the second processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and obtain a monitoring video corresponding to the second video monitoring service signaling after the second video monitoring service signaling is obtained; and receiving the monitoring video returned by the target signaling gateway, and sending the monitoring video to the second-level domain.
In a fifth aspect, there is provided a computer device comprising a processor and a memory;
wherein the content of the first and second substances,
the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the method for processing the video monitoring service signaling according to any one of the first aspect or the second aspect.
A sixth aspect provides a storage medium, wherein the storage medium stores therein a computer program, and the computer program, when executed by a processor, implements the method for processing video surveillance service signaling according to any one of the first aspect or the second aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a method for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the video monitoring service signaling processing system for processing the video monitoring service signaling is enhanced.
Drawings
Fig. 1 is a schematic diagram of a video surveillance service signaling processing system according to an embodiment of the present application;
fig. 2 is a flowchart of a method for processing video surveillance service signaling according to an embodiment of the present application;
fig. 3 is a flowchart of a method for processing video surveillance service signaling according to an embodiment of the present application;
fig. 4 is a flowchart of a method for processing video surveillance service signaling according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a system for processing video surveillance service signaling according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for processing video surveillance service signaling according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions and advantages of the present application more clear, the following describes the embodiments of the present application in further detail.
The embodiment of the application provides a video monitoring service signaling processing system, which can be used for processing ten-million-level video monitoring service signaling and can also be used for processing non-ten-million-level video monitoring service signaling. The ten-million-level video monitoring service signaling is triggered by a ten-million-level video resource networking video monitoring service signaling processing system, and the ten-million-level video resource networking video monitoring service signaling processing system can trigger the ten-million-level video monitoring service signaling and can also trigger non-ten-million-level video monitoring service signaling. In addition, in the worst case of the video monitoring service signaling processing system with ten-million-level video resource networking, ten-million-level video monitoring service signaling is triggered, and may not be generated. Wherein, one video monitoring service signaling comprises the sum of all interactive video monitoring service signaling triggered by one video monitoring service.
Referring to fig. 1, the video surveillance service signaling processing system includes a plurality of video surveillance service signaling processing subsystems, each video surveillance service signaling processing subsystem is used as a domain, it is assumed that the current video surveillance service signaling processing subsystem is used as a first-level domain 11, and other video surveillance service signaling processing subsystems may be used as a higher-level domain or a lower-level domain of the first-level domain 11. The first-level domain 11 may have a plurality of upper-level domains or a plurality of lower-level domains. For example, the first-level domain 11 has N upper-level domains and M lower-level domains. Wherein M, N are all positive integers.
For convenience of description, an upper domain of the first-level domain 11 is referred to as a second-level domain 12, and a lower domain of the first-level domain 11 is referred to as a third-level domain 13; alternatively, an upper domain of the first-level domain 11 is referred to as a third-level domain 13, and a lower domain of the first-level domain 11 is referred to as a second-level domain 12. Data transmission is performed between the first-level domain 11 and the second-level domain 12 through a network, and data transmission is also performed between the first-level domain 11 and the third-level domain 13 through a network. In addition, data transmission is performed between the first-level domain 11 and the second-level domain 12, and between the first-level domain 11 and the third-level domain 13, by SIP (Session Initiation Protocol) communication. The data transmitted between the first-level domain 11 and the second-level domain 12 may be a video monitoring service signaling, and similarly, the data transmitted between the first-level domain 11 and the third-level domain 13 may also be a video monitoring service signaling, and the video monitoring service signaling may be an SIP signaling.
The first-level domain 11 includes a first proxy server 111 and a signaling gateway cluster 112, and each signaling gateway cluster 112 includes a plurality of signaling gateways 1121. In this embodiment, taking the example of transmitting the first video monitoring service signaling between the first level domain 11 and the second level domain 12 as an example for description, the first proxy server 111 is configured to receive the first video monitoring service signaling of the second level domain 12, select the target signaling gateway 1121 from the signaling gateway cluster 112, and process the first video monitoring service signaling through the target signaling gateway 1121 to obtain the second video monitoring service signaling.
It should be noted that, when the scale of the video monitoring service signaling is large and reaches the million-level scale, the million-level scale video monitoring service signaling may be distributed to a plurality of target signaling gateways 1121 in the signaling gateway cluster 112, and the plurality of target signaling gateways 1121 process highly concurrent million-level scale video monitoring service signaling, so as to improve the processing speed and efficiency of the million-level scale video monitoring service signaling, thereby efficiently processing the million-level video monitoring service signaling in real time.
In one possible implementation, the first level domain 11 also includes a networked management server 113. The networking management server 113 is configured to determine a gateway identifier of the target signaling gateway 1121, and send the gateway identifier to the first proxy server 111.
In another possible implementation, the first level domain 11 also includes a second proxy server 114. The second proxy server 114 is configured to receive the second video surveillance service signaling sent by the target signaling gateway 1121, and send the second video surveillance service signaling to the third-level domain 13.
In another possible implementation, the first level domain 11 further includes a database server 115; accordingly, before the second proxy server 114 sends the second video surveillance service signaling to the third-level domain 13, the second proxy server 114 sends a verification instruction to the database server 115, where the verification instruction is used to verify whether the port identifier of the third-level domain 13 exists in the database server 115. When the port identification of third tier domain 13 is stored in the database server 115, an acknowledgement message is sent to second proxy server 114. The second proxy server 114, upon receiving the acknowledgement message, sends a second video surveillance service signaling to the tertiary domain 13. Wherein the database server 115 stores therein the port identification of the authenticated domain.
The architecture of the second-level domain 12 and the architecture of the third-level domain 13 are the same as those of the first-level domain 11, that is, the second-level domain 12 and the third-level domain 13 each include a first proxy server 111, a signaling gateway cluster 112, a networking management server 113, a second proxy server 114, and a database server 115. Moreover, each domain comprises a first proxy server 111, a signaling gateway cluster 112, a second proxy server 114, a networking management server 113 and a database server 115, and by adopting the distributed deployment, the concurrency condition of tens of millions of video monitoring service signaling can be borne, and the processing speed and efficiency of the video monitoring service signaling are improved.
It should be noted that, when the third-level domain 13 is a lower domain of the first-level domain 11, and the third-level domain 13 is the last domain in the video surveillance service signaling processing system, the second proxy server 114 may not be included in the third-level domain 13. After the target signaling gateway 1121 of the third-level domain 13 processes the video monitoring service signaling, the target signaling of the third-level domain 13 sends the video monitoring service corresponding to the video monitoring service signaling to the upper-level domain of the third-level domain 13.
Another point to be noted is that the first-level domain 11, and its upper-level domain and lower-level domain may be mutually converted. For example, when the original upper domain is used as the current first-level domain 11, the original first-level domain 11 is a lower domain of the current first-level domain 11; when the original lower domain is the current first-level domain 11, the original first-level domain 11 is the upper domain of the current first-level domain 11. The video monitoring service signaling can be transmitted from a superior domain to a subordinate domain through a first-level domain 11, and can also be transmitted from the subordinate domain to the superior domain through the first-level domain 11; that is, the first-level domain 11 may receive the video monitoring service signaling from the upper-level domain, and may also receive the video monitoring service signaling from the lower-level domain.
The video monitoring service signaling may be video monitoring services such as retrieving monitoring videos, registering and heartbeat, resource subscription and pushing, historical/real-time video and audio on demand, video and audio file retrieval and downloading, and alarm event notification, and in the embodiment of the present application, the type of the video monitoring service signaling is not specifically limited.
An embodiment of the present application provides a method for processing a video monitoring service signaling, which is applied to a first-level domain in a video monitoring service signaling processing system under ten million-level video resource networking, and the method for processing a video monitoring service signaling can process ten million-level video monitoring service signaling, referring to fig. 2. The first level domain includes: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; in the embodiment of the present application, a second domain sends a first video monitoring service signaling to a first domain, and the first domain sends a second video monitoring service signaling to a third domain, for example, the method includes:
step 201: the first proxy server receives a first video monitoring service signaling of a second-level domain in the video monitoring service signaling processing system.
The first video monitoring service signaling is triggered by the second-level domain, or the superior domain of the second-level domain is sent to the first-level domain. The second-level domain comprises a third proxy server, and the third proxy server in the second-level domain sends a first video monitoring service signaling to the first proxy server. And the first proxy server in the first-level domain receives the first video monitoring service signaling. The second-level domain is an upper-level domain or a lower-level domain of the first-level domain, for example, the second-level domain is an upper-level domain of the first-level domain. The first video monitoring service signaling carries a port identifier of a target domain. The port identification may be an IP (internet protocol Address) and/or a port number of the domain. In the embodiment of the present application, the port identification is not particularly limited.
Step 202: and the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster.
The first proxy server may determine a signaling gateway node queue, and determine a target signaling gateway from the signaling gateway node queue, that is, the following first implementation manner; the first proxy server may also directly receive a gateway identifier of the target signaling gateway sent by the networking management server, and determine the target signaling gateway according to the gateway identifier, that is, the following second implementation manner.
In a first implementation manner, the step can be implemented by the following steps (1) to (3), including:
(1): the first proxy server determines a signaling gateway node queue.
The first proxy server may periodically determine and update the signaling gateway node queue. In this step, the first proxy server may obtain a stored signaling gateway node queue; alternatively, the first proxy server may determine the signaling gateway node queue when selecting the target signaling gateway.
The period for the first proxy server to determine and update the signaling gateway node queue can be set and changed as required. In the embodiments of the present application, this is not particularly limited.
The step of the first proxy server determining the signaling gateway node queue may be implemented by the following steps (1-1) to (1-3), including:
(1-1): the first proxy server determines a load balancing strategy of the first-level domain and acquires a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster.
The first proxy server may obtain a plurality of remaining load parameters of each signaling gateway in the signaling gateway cluster in real time, or periodically obtain a plurality of remaining load parameters of each signaling gateway. The remaining load parameter may be any one of a remaining memory rate, a remaining memory size, a CPU (Central Processing Unit) remaining rate, a network remaining rate, a handle remaining rate, a thread remaining rate, and the like. For example, the remaining memory rate is the ratio of the remaining memory to the total memory. In the embodiment of the present application, the remaining load parameter is not particularly limited.
And the load balancing strategy comprises the weight corresponding to each residual load parameter. Wherein the sum of the weights corresponding to the plurality of residual load parameters is equal to 1. For example, the plurality of remaining load parameters are the memory remaining rate, the CPU remaining rate, the network remaining rate, the handle remaining rate, and the thread remaining rate, respectively, and the load balancing policy includes a first weight of the memory remaining rate, a second weight of the CPU remaining rate, a third weight of the network remaining rate, a fourth weight of the handle remaining rate, and a fifth weight of the thread remaining rate. Wherein the sum of the first weight to the fifth weight is equal to 1.
In a possible implementation manner, the first proxy server stores the load balancing policy, and the first proxy server directly obtains the stored load balancing policy. In another possible implementation, different signaling types correspond to different load balancing strategies; and the first proxy server stores the corresponding relation between the signaling type and the load balancing strategy. Accordingly, the step of the first proxy server determining the load balancing policy of the first-level domain may be: the first proxy server determines the signaling type of the first video monitoring service signaling, and obtains the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In the embodiment of the disclosure, the first proxy server formulates different load balancing strategies according to different signaling types, and the weights corresponding to each remaining load parameter in the different load balancing strategies are different. Therefore, the first proxy server can make different load balancing strategies according to the signaling type, and fully utilize various performance indexes of each signaling gateway so as to determine the target signaling gateway in real time. For example, when the video monitoring service signaling is to call a monitoring video in a certain time period, the remaining load parameters corresponding to the video monitoring service signaling are the memory remaining rate, the CPU remaining rate, the network remaining rate, the handle remaining rate, and the thread remaining rate. And the weights corresponding to the memory residual rate, the CPU residual rate, the network residual rate, the handle residual rate and the thread residual rate are all 0.2. When the video monitoring service signaling is downloading a video and audio file, the residual load parameters corresponding to the video monitoring service signaling are the residual memory rate, the residual CPU rate, the residual network rate, the residual handle rate and the residual thread rate. The weight corresponding to the memory surplus rate may be 0.25, the weight corresponding to the CPU surplus rate may be 0.2, the surplus load parameter corresponding to the network surplus rate may be 0.3, the weight corresponding to the handle surplus rate may be 0.1, and the weight corresponding to the thread surplus rate is 0.15.
It should be noted that the first proxy server includes a load balancing module, and the load balancing module determines a load balancing policy of the first-level domain.
Another point to be explained is that, in this step, the networking management server may also determine a signaling gateway node queue, and send the signaling gateway node queue to the first proxy server; the first proxy server receives the queue of signaling gateway nodes.
(1-2): the first proxy server determines a remaining load for each signaling gateway based on a load balancing policy and a plurality of remaining load parameters for each signaling gateway.
And the first proxy server determines the weight corresponding to each residual load parameter in the plurality of residual load parameters based on the load balancing strategy. And for each signaling gateway, the first proxy server performs weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
When the plurality of residual load parameters are respectively a memory residual rate, a CPU residual rate, a network residual rate, a handle residual rate and a thread residual rate, and the weights of the memory residual rate, the CPU residual rate, the network residual rate, the handle residual rate and the thread residual rate are respectively a first weight, a second weight, a third weight, a fourth weight and a fifth weight, for each signaling gateway, the first proxy server may determine the residual load of the signaling gateway through the following formula one.
The formula I is as follows: μ ═ a × M + b × C + C × N + d × H + e × T
μ is the remaining load of the signaling gateway, a is the first weight, b is the second weight, C is the third weight, d is the fourth weight, e is the fifth weight, M is the memory remaining rate, C is the CPU remaining rate, N is the network remaining rate, H is the handle remaining rate, T is the thread remaining rate, and a + b + C + d + e is 1.
(1-3): and the first proxy server sorts the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain a signaling gateway node queue.
The signaling gateway node queue comprises a plurality of gateway identifications which are sequenced according to the residual load of each signaling gateway, and one signaling gateway corresponds to one gateway identification. Correspondingly, in the step, the first proxy server sorts each gateway identifier according to the remaining load of each signaling gateway to obtain a signaling gateway node queue; the first proxy server may sort the remaining loads of the signaling gateways corresponding to each gateway identifier from large to small, or from small to large. In the embodiments of the present application, this is not particularly limited.
(2): the first proxy server selects a gateway identification from the queue of signalling gateway nodes.
In a possible implementation manner, when the first video monitoring service signaling is one, the first proxy server selects a gateway identifier representing the signaling gateway with the largest residual load from the signaling gateway node queue. When the signaling gateway node queue is obtained by sequencing the residual load of the signaling gateway corresponding to each gateway identifier from large to small, and when the first video monitoring service signaling is one, the first proxy server selects the first gateway identifier from the signaling gateway node queue. And when the signaling gateway node queue is obtained by sequencing the residual load of the signaling gateway corresponding to each gateway identifier from small to large, the first proxy server selects the last gateway identifier from the signaling gateway node queue.
In another possible implementation manner, when the first video surveillance service signaling is multiple, for example, the first video surveillance service signaling is ten million-level first video surveillance service signaling, the first proxy server selects multiple gateway identifiers of multiple signaling gateways whose first number represents that the remaining load is greater than the preset load from the signaling gateway node queue. When the signaling gateway node queue is obtained by sequencing the residual load of the signaling gateway corresponding to each gateway identifier from large to small, and when the first video monitoring service signaling is a million-level first video monitoring service signaling, the first proxy server selects a first number of gateway identifiers from the signaling gateway node queue according to the sequence from front to back. When the signaling gateway node queue is obtained by sequencing from small to large according to the residual load of the signaling gateway corresponding to each gateway identifier, and when the first video monitoring service signaling is a million-level first video monitoring service signaling, the first proxy server selects a first number of gateway identifiers from the signaling gateway node queue according to the sequence from back to front.
In another possible implementation manner, the first proxy server may further determine an operating state of each signaling gateway; and selecting a gateway identifier with the residual load larger than the preset load in the idle state from the signaling gateway node queue according to the working state of each signaling gateway.
The size of the preset load may be set and changed as needed, and in the embodiment of the present disclosure, the size of the preset load is not specifically limited. For example, the preset load is 40%, 50%, or 55%. And when the preset load is 50%, the first proxy server selects a gateway identifier with the residual load more than 50% from the signaling gateway node queue.
(3): and the first proxy server selects a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier.
When the number of the first video monitoring service signaling is one, the first proxy server selects a first gateway identifier in the signaling gateway node queue, selects a signaling gateway corresponding to the first gateway identifier from the signaling gateway cluster according to the first gateway identifier, and takes the signaling gateway as a target signaling gateway. And when the first proxy server selects the last gateway identifier in the signaling gateway node queue, selecting the signaling gateway corresponding to the last gateway identifier from the signaling gateway cluster according to the last gateway identifier, and taking the signaling gateway as a target signaling gateway. In the embodiments of the present application, this is not particularly limited.
When the first video monitoring service signaling is multiple, for example, the first video monitoring service signaling is ten million-level first video monitoring service signaling, the first proxy server selects a first number of gateway identifiers located in the signaling gateway node queue from front to back, selects a first number of signaling gateways corresponding to the first number of gateway identifiers from the signaling gateway cluster according to the first number of gateway identifiers, and takes the first number of signaling gateways as target signaling gateways. When the first video monitoring service signaling is ten-million-level first video monitoring service signaling, the first proxy server selects a first number of gateway identifiers located in the signaling gateway node queue from back to front, selects a first number of signaling gateways corresponding to the first number of gateway identifiers from the signaling gateway cluster according to the first number of gateway identifiers, and takes the first number of signaling gateways as target signaling gateways.
It should be noted that, in the embodiment of the present disclosure, all signaling gateways whose remaining loads are greater than the preset load may be taken as target signaling gateways. The number of target signaling gateways may be one or more, one when one signaling gateway is selected from the signaling gateway cluster, and multiple when multiple signaling gateways are selected from the signaling gateway cluster. In the embodiment of the present disclosure, the number of target signaling gateways is not specifically limited.
In a second implementation manner, the first-level domain further includes: and a network management server. Step 202 may also include: the first proxy server sends a first obtaining request to the networking management server, wherein the first obtaining request is used for obtaining a gateway identifier of a target signaling gateway for processing a first video monitoring service signaling. The network management server receives the first acquisition request, determines a gateway identifier of a target signaling gateway, and sends the gateway identifier of the target signaling gateway to the first proxy server, the first proxy server receives the gateway identifier, and selects the target signaling gateway from the signaling gateway cluster according to the gateway identifier, and the target signaling gateway is selected by the network management server according to the residual load of each signaling gateway.
The process of the networking management server determining the gateway identification of the target signaling gateway may include: the method comprises the steps that a networking management server obtains the residual load parameters of each signaling gateway in real time, a first proxy server sends a load balancing strategy formulated by a load balancing module to the networking management server, the networking management server determines the residual load of each signaling gateway based on the residual load parameters and the load balancing strategy of each signaling gateway, and selects a gateway identification corresponding to the signaling gateway with the residual load larger than the preset load.
The step of determining the remaining load of each signaling gateway by the networking management server based on the remaining load parameter and the load balancing policy of each signaling gateway is similar to the step of determining the remaining load of each signaling gateway by the first proxy server based on the remaining load parameter and the load balancing policy of each signaling gateway, and is not described herein again.
The residual load of each signaling gateway is determined through the networking management server, and the gateway identification corresponding to the signaling network with the residual load larger than the preset load is sent to the first proxy server, so that the situation that the first proxy server determines the residual load according to the residual load parameters of each signaling gateway and selects the target signaling gateway from the signaling gateway cluster is avoided, and the speed of the first proxy server for acquiring the target signaling gateway is improved.
Step 203: and the first proxy server sends a first processing instruction to the target signaling gateway.
The method comprises the steps that a first proxy server sends a first processing instruction to a target signaling gateway after determining the target signaling gateway, the first processing instruction carries a first video monitoring service signaling, the first processing instruction is used for indicating the target signaling gateway to process the first video monitoring service signaling, after a second video monitoring service signaling is obtained, the second video monitoring service signaling is forwarded to a second proxy server, the second proxy server sends the second video monitoring service signaling to a third-level domain, and the third-level domain is a lower-level domain or an upper-level domain of a first-level domain.
Step 204: and the target signaling gateway receives the first processing instruction, processes the first video monitoring service signaling in the first processing instruction to obtain a second video monitoring service signaling, and forwards the second video monitoring service signaling to the second proxy server.
The step of processing the first video monitoring service signaling by the target signaling gateway in this step to obtain the second video monitoring service signaling can be realized by the following steps (1) to (3), and includes:
(1): and the target signaling gateway performs first service logic processing on the first video monitoring service signaling to obtain a first signaling message.
The target signaling gateway comprises a logic service module and a protocol service module; the logic service module performs first service logic processing on the first video monitoring service signaling to obtain a first signaling message, and sends the first signaling message to the protocol service module.
The protocol in the target signaling gateway is different from that of the second proxy server, so before the target signaling gateway sends the first video monitoring service signaling to the second proxy server, protocol conversion and the like need to be performed on the first video monitoring service signaling, and the protocol conversion is completed by the protocol service module. The protocol of the first video monitoring service signaling is different from the protocol of the protocol service module, and the protocol service module cannot directly convert the protocol of the first video monitoring service signaling, so that before the protocol service module performs protocol conversion on the first video monitoring service signaling, the protocol service module needs to perform first service logic processing on the first video monitoring service signaling through the logic service module to obtain a first signaling message, and the logic service module sends the first signaling message to the protocol service module, wherein the protocol of the first signaling message is the same as the protocol in the protocol service module.
It should be noted that each signaling gateway includes a logic service module and a protocol service module.
(2): and the target signaling gateway performs protocol encapsulation on the first signaling message to obtain a second signaling message.
The protocol service module receives the first signaling message, performs protocol encapsulation on the first signaling message to obtain a second signaling message, and sends the second signaling message to the logic service module.
The protocol service module performs protocol encapsulation, analysis and recombination on the first signaling message, and sends an obtained second signaling message to the logic service module, wherein the protocol of the second signaling message is different from that in the second proxy server and is the same as that in the target signaling gateway, so that the protocol service module needs to send the second signaling message to the logic service module first.
(3): and the target signaling gateway performs second service logic processing on the second signaling message to obtain a second video monitoring service signaling.
And the logic service module performs second service logic processing on the second signaling message to obtain a second video monitoring service signaling. And the logic service module acquires the port identification of the target domain from the first video monitoring service signaling, and loads the port identification of the target domain in the second video monitoring service signaling.
The first video monitoring service signaling is processed to obtain a second video monitoring service signaling, and the protocol of the second video monitoring service signaling is the same as that in the second proxy server, so that the target signaling gateway can send the obtained second video monitoring service signaling to the second proxy server.
It should be noted that, after the step 204 is executed, the step of sending the second video surveillance service signaling to the third-level domain by the second proxy server in the step 207 may be directly executed. Or, after step 204 is executed, step 205 may also be executed to verify the third-level domain; when the verification is passed, step 207 is executed, thereby improving security.
Step 205: and the second proxy server receives the second video monitoring service signaling and sends a verification instruction to the database server.
In this step, the first-level domain further includes: a database server for authenticating the third level domain. Correspondingly, after receiving the second video monitoring service signaling, the second proxy server sends a verification instruction to the database server, wherein the verification instruction is used for verifying whether the port identifier of the third-level domain is stored in the database server. Different domains correspond to different port identities. The third level domain is a lower level domain or an upper level domain of the first level domain.
It should be noted that, when the second-level domain is a higher-level domain of the first-level domain, the third-level domain is a lower-level domain of the first-level domain; when the second-level domain is a lower-level domain of the first-level domain, the third-level domain is an upper-level domain of the first-level domain.
Step 206: the database server receives the verification instruction, and sends a confirmation message to the second proxy server when the port identification of the third-level domain is stored in the database server.
The database in the database server stores the port identifiers of the verified domains in advance, and one domain corresponds to one port identifier. The verification instruction carries a port identifier of a third-level domain, and after receiving the verification instruction, the database server searches whether the port identifier of the third-level domain is stored in the database or not according to the port identifier of the third-level domain carried in the verification instruction. When the port identification of the third-level domain exists, sending a confirmation message to the second proxy server; when not present, the validation instruction is discarded.
Step 207: and the second proxy server receives the confirmation message and sends a second video monitoring service signaling to the third-level domain.
In a possible implementation manner, the second video monitoring service signaling carries a port identifier of the target domain, after the second proxy server receives the confirmation message sent by the database server, the port identifier of the target domain is obtained from the second video monitoring service signaling, the target domain corresponding to the port identifier is determined according to the port identifier of the target domain and the stored domain information, and the target domain is used as the third-level domain. And the second proxy server sends a second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain. When the second-level domain is a superior domain of the first-level domain, the third-level domain is a subordinate domain of the first-level domain; when the second domain is a lower domain of the first domain, the third domain is an upper domain of the first domain.
It should be noted that, when the video monitoring service corresponding to the first video monitoring service signaling or the second video monitoring service signaling is video and audio on demand in real time, and when a session connection needs to be established during the video and audio on demand in real time, the first proxy server and the second proxy server further have a path tracking function, which can maintain sessions between both parties of the video and audio on demand.
The embodiment of the application provides a method for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the video monitoring service signaling processing system for processing the video monitoring service signaling is enhanced.
It should be noted that, when the scale of the first video monitoring service signaling is ten million scale or even larger scale, the effect of improving the system performance is particularly obvious, that is, the method provided by the embodiment of the present disclosure increases the performance of the video monitoring service signaling processing system processing the video monitoring service signaling in the scenario of ten million scale video resource networking.
An embodiment of the present application provides a method for processing a video surveillance service signaling, and with reference to fig. 3, the method is applied to a first-level domain in a system for processing a ten-million-level video surveillance service signaling under the networking of ten-million-level video resources, where the first-level domain includes: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; in the embodiment of the present application, a second-level domain sends a first video monitoring service signaling to a first-level domain, and a target signaling gateway of the first-level domain performs video monitoring processing on the first video monitoring service signaling, which is taken as an example for description, the method includes:
step 301: the first proxy server receives a first video monitoring service signaling of a second-level domain in the video monitoring service signaling processing system.
Step 302: and the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster.
Steps 301 to 302 are the same as steps 201 to 202, respectively, and are not described herein again.
Step 303: and the first proxy server sends a second processing instruction to the target signaling gateway.
And after determining the target signaling gateway, the first proxy server sends a second processing instruction to the target signaling gateway, wherein the second processing instruction carries the first video monitoring service signaling, and the second processing instruction is used for indicating the target signaling gateway to perform video monitoring processing on the first video monitoring service signaling.
Step 304: and the target signaling gateway receives the second processing instruction, processes the first video monitoring service signaling and obtains a second video monitoring service signaling.
The step of processing the first video monitoring service signaling by the target signaling gateway to obtain the second video monitoring service signaling is the same as the step of processing the first video monitoring service signaling by the target signaling gateway in step 204 to obtain the second video monitoring service signaling, and details are not repeated here.
Step 305: and the target signaling gateway executes the video monitoring service corresponding to the second video monitoring service signaling.
The video monitoring service may be any video monitoring service, for example, the video monitoring service is to obtain a monitoring video. When the video monitoring service is to acquire a monitoring video, the target signaling gateway acquires the monitoring video corresponding to the second video monitoring service signaling, and sends the monitoring video to the first proxy server. And after receiving the monitoring video, the first proxy server sends the monitoring video to the second-level domain.
The embodiment of the application provides a method for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the video monitoring service signaling processing system for processing the video monitoring service signaling is enhanced.
It should be noted that, when the scale of the first video monitoring service signaling is ten million scale or even larger scale, the effect of improving the system performance is particularly obvious, that is, the method provided by the embodiment of the present disclosure increases the performance of the video monitoring service signaling processing system processing the video monitoring service signaling in the scenario of ten million scale video resource networking.
The embodiment of the present application provides a method for processing a video monitoring service signaling, refer to fig. 4, and is applied to a first proxy server in a first-level domain in a ten-million-level video monitoring service signaling processing system under ten-million-level video resource networking, where the method is described by taking as an example that a second-level domain sends a first video monitoring service signaling to the first-level domain, and the first-level domain sends a second video monitoring service signaling to a third-level domain, and the method includes:
step 401: the first proxy server receives a first video monitoring service signaling of a second-level domain in the video monitoring service signaling processing system.
Step 402: and the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster.
Steps 401 to 402 are the same as steps 201 to 202, respectively, and are not described herein again.
Step 403: and the first proxy server performs video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
In a first implementation manner, the first-level domain further includes: a second proxy server.
When the first-level domain exists in the upper-level domain and the lower-level domain at the same time, namely the second-level domain and the third-level domain exist at the same time, the first proxy server sends a first processing instruction to the target signaling gateway, the first processing instruction is used for indicating the target signaling gateway to process the first video monitoring service signaling, after the second video monitoring service signaling is obtained, the target signaling gateway forwards the second video monitoring service signaling to the second proxy server, and the second proxy server sends the second video monitoring service signaling to the third-level domain. The third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In the first implementation manner, the step of processing the first video monitoring service signaling by the target signaling gateway to obtain the second video monitoring service signaling is the same as the step of processing the first video monitoring service signaling by the target signaling gateway in step 204 to obtain the second video monitoring service signaling, and details are not repeated here.
In a second implementation manner, when the first-level domain only has the upper-level domain and the lower-level domain does not exist, that is, when only the second-level domain exists, the first proxy server sends a second processing instruction to the target signaling gateway, where the second processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and after the second video monitoring service signaling is obtained, the video monitoring service corresponding to the second video monitoring service signaling is executed. For example, the video surveillance service is to obtain surveillance video. The target signaling gateway obtains the monitoring video corresponding to the second video monitoring service signaling and sends the monitoring video to the first proxy server, and the first proxy server receives the monitoring video returned by the target signaling gateway and sends the monitoring video to the second-level domain.
When the first-level domain only has a lower-level domain and does not have a higher-level domain, that is, when only the third-level domain exists, the process of sending the video monitoring service signaling to the third-level domain by the first-level domain is similar to the process of sending the first video monitoring service signaling to the first-level domain by the second-level domain, and details are not repeated here.
The embodiment of the application provides a method for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the video monitoring service signaling processing system for processing the video monitoring service signaling is enhanced.
It should be noted that, when the scale of the first video monitoring service signaling is ten million scale or even larger scale, the effect of improving the system performance is particularly obvious, that is, the method provided by the embodiment of the present disclosure increases the performance of the video monitoring service signaling processing system processing the video monitoring service signaling in the scenario of ten million scale video resource networking.
An embodiment of the present application provides a system for processing a video monitoring service signaling, and with reference to fig. 5, the system is applied to a first-level domain in a system for processing a ten-million-level video monitoring service signaling under the networking of ten-million-level video resources, where the first-level domain includes: a first proxy server 501 and a signaling gateway cluster, the signaling gateway cluster comprising a plurality of signaling gateways; the system comprises:
a first proxy server 501, configured to receive a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, where the second level domain is a higher level domain or a lower level domain of the first level domain;
the first proxy server 501 is further configured to select a target signaling gateway 502 from the signaling gateway cluster according to the remaining load of each signaling gateway in the signaling gateway cluster;
the first proxy server 501 is further configured to send a first video monitoring service signaling to the target signaling gateway 502;
and the target signaling gateway 502 is configured to receive the first video monitoring service signaling and perform video monitoring processing on the first video monitoring service signaling.
In one possible implementation, the first-level domain further includes: a networked management server;
the first proxy server 501 is further configured to select a target signaling gateway 502 from the signaling gateway cluster according to the remaining load of each signaling gateway in the signaling gateway cluster, including:
a networking management server, configured to send a gateway identifier of the target signaling gateway 502 to the first proxy server 501;
the first proxy server 501 is configured to receive a gateway identifier, select a target signaling gateway 502 from a signaling gateway cluster according to the gateway identifier, where the target signaling gateway 502 is selected by the networking management server according to a remaining load of each signaling gateway.
In a possible implementation manner, the first proxy server 501 is further configured to determine a signaling gateway node queue of the first-level domain;
the first proxy server 501 is further configured to select a gateway identifier from a signaling gateway node queue, and select a target signaling gateway 502 corresponding to the gateway identifier from a signaling gateway cluster according to the gateway identifier, where the signaling gateway node queue includes multiple gateway identifiers sorted according to the remaining load of each signaling gateway, and one gateway identifier represents one signaling gateway.
In a possible implementation manner, the first proxy server 501 is further configured to determine a load balancing policy in the first-level domain; obtaining a plurality of residual load parameters of each signaling gateway in a signaling gateway cluster;
the first proxy server 501 is further configured to determine a remaining load of each signaling gateway based on a load balancing policy and a plurality of remaining load parameters of each signaling gateway;
and the first proxy service is also used for sequencing the gateway identifications corresponding to the plurality of signaling gateways according to the residual load of each signaling gateway to obtain a signaling gateway node queue.
In a possible implementation manner, the first proxy server 501 is further configured to determine, based on a load balancing policy, a weight corresponding to each remaining load parameter in the multiple remaining load parameters;
for each signaling gateway, the first proxy server 501 is further configured to perform weighted summation on each remaining load parameter of the signaling gateway and a weight corresponding to each remaining load parameter, so as to obtain a remaining load of the signaling gateway.
In a possible implementation manner, the first proxy server 501 is further configured to determine a signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the target signaling gateway 502 is further configured to receive the first video monitoring service signaling, and perform video monitoring processing on the first video monitoring service signaling, including:
the target signaling gateway 502 is further configured to receive a first processing instruction, where the first processing instruction carries a first video monitoring service signaling;
the target signaling gateway 502 is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and forward the second video monitoring service signaling to the second proxy server;
and the second proxy server is used for receiving the second video monitoring service signaling and sending the second video monitoring service signaling to a third-level domain, wherein the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the second proxy server is further configured to obtain a port identifier of the target domain from the second video monitoring service signaling; determining the port identification of the third-level domain according to the port identification of the target domain and the stored domain information; and sending a second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain.
In one possible implementation, the first-level domain further includes: a database server;
the second proxy server is further configured to, before sending the second video surveillance service signaling to the third-level domain, the system further includes:
the second proxy server is also used for sending a verification instruction to the database server, and the verification instruction is used for verifying whether the port identifier of the third-level domain is stored in the database server or not;
the database server is also used for receiving the verification instruction, sending a confirmation message to the second proxy server when the port identifier of the third-level domain is stored in the database server, and storing the verified port identifier of the domain in the database server;
and the second proxy server is also used for executing the step of sending the second video monitoring service signaling to the third-level domain after receiving the confirmation message.
In a possible implementation manner, the target signaling gateway 502 is further configured to receive a second processing instruction, where the second processing instruction carries the first video monitoring service signaling;
the target signaling gateway 502 is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, obtain a monitoring video corresponding to the second video monitoring service signaling, and send the monitoring video to the first proxy server 501;
the first proxy server 501 is further configured to receive the surveillance video and send the surveillance video to the second-level domain.
The embodiment of the application provides a system for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the video monitoring service signaling processing system for processing the video monitoring service signaling is enhanced.
It should be noted that, when the scale of the first video monitoring service signaling is ten million scale or even larger scale, the effect of improving the system performance is particularly obvious, that is, the method provided by the embodiment of the present disclosure increases the performance of the video monitoring service signaling processing system processing the video monitoring service signaling in the scenario of ten million scale video resource networking.
An embodiment of the present application provides an apparatus for processing a video surveillance service signaling, and with reference to fig. 6, the apparatus is applied to a first proxy server in a first-level domain in a ten-million-level video surveillance service signaling processing system under ten-million-level video resource networking, and includes:
a receiving module 601, configured to receive a first video monitoring service signaling of a second-level domain in a video monitoring service signaling processing system, where the second-level domain is a higher-level domain or a lower-level domain of a first-level domain, the video monitoring service signaling processing system includes multiple domains, each domain includes a signaling gateway cluster, and each signaling gateway cluster includes multiple signaling gateways;
a selecting module 602, configured to select a target signaling gateway from a signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster;
the processing module 603 is configured to perform video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
In one possible implementation, the first-level domain further includes: a networked management server;
the selection module 602 is further configured to receive a gateway identifier of a target signaling gateway sent by the networking management server; and selecting a target signaling gateway from the signaling gateway cluster according to the gateway identifier, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
In a possible implementation manner, the selecting module 602 is further configured to determine a signaling gateway node queue of the first-level domain; selecting a gateway identifier from a signaling gateway node queue; and selecting a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers which are sequenced according to the residual load of each signaling gateway in the plurality of signaling gateways, and one gateway identifier represents one signaling gateway.
In a possible implementation manner, the selecting module 602 is further configured to determine a load balancing policy in the first-level domain; obtaining a plurality of residual load parameters of each signaling gateway in a signaling gateway cluster; determining the residual load of each signaling gateway based on a load balancing strategy and a plurality of residual load parameters of each signaling gateway; and sequencing the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain a signaling gateway node queue.
In a possible implementation manner, the selecting module 602 is further configured to determine, based on a load balancing policy, a weight corresponding to each remaining load parameter in the plurality of remaining load parameters; and for each signaling gateway, carrying out weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
In a possible implementation manner, the selecting module 602 is further configured to determine a signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
In one possible implementation, the first-level domain further includes: a second proxy server;
the processing module 603 is configured to send a first processing instruction to the target signaling gateway, where the first processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, obtain a second video monitoring service signaling, forward the second video monitoring service signaling to the second proxy server, and send the second video monitoring service signaling to a third-level domain, where the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
In a possible implementation manner, the processing module 603 is further configured to send a second processing instruction to the target signaling gateway, where the second processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and obtain a monitoring video corresponding to the second video monitoring service signaling after obtaining the second video monitoring service signaling; and receiving the monitoring video returned by the target signaling gateway and sending the monitoring video to the second-level domain.
The embodiment of the application provides a device for processing video monitoring service signaling, wherein a signaling gateway cluster is arranged in a first-level domain, and the signaling gateway cluster comprises a plurality of signaling gateways. When the first proxy server in the first-level domain receives the first video monitoring service signaling of the second-level domain, a target signaling gateway is selected from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, so that various performance indexes of each signaling gateway can be fully utilized, and the rationality of selecting the target signaling gateway is improved. And the target signaling gateway performs video monitoring processing on the first video monitoring service signaling, so that the processing speed and efficiency of the video monitoring service signaling are improved, and the performance of the device for processing the video monitoring service signaling in processing the video monitoring service signaling is enhanced.
It should be noted that, when the scale of the first video monitoring service signaling is ten million scale or even larger scale, the effect of improving the system performance is particularly obvious, that is, the device provided in the embodiment of the present disclosure increases the performance of the video monitoring service signaling processing system processing the video monitoring service signaling in the scenario of ten million scale video resource networking.
The embodiment of the application provides computer equipment, which comprises a processor and a memory; when the processor executes the computer program stored in the memory, the computer device executes the method for processing the video monitoring service signaling provided by the embodiment of the application.
Alternatively, the computer device may be a server. The server may be any server in the video monitoring service signaling processing system provided in the embodiment of the present application. Fig. 7 is a schematic diagram illustrating a configuration of a server according to an example embodiment. The server 700 includes a Central Processing Unit (CPU)701, a system memory 704 including a Random Access Memory (RAM)702 and a Read Only Memory (ROM)703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The server 700 also includes a basic input/output system (I/O system) 706, which facilitates transfer of information between devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 comprises a display 708 for displaying information and an input device 709, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 708 and input device 709 are connected to the central processing unit 701 through an input output controller 710 coupled to the system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 710 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer-readable media provide non-volatile storage for the server 700. That is, the mass storage device 707 may include a computer-readable medium (not shown), such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
The server 700 may also operate as a remote computer connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the server 700 may be connected to the network 712 through a network interface unit 711 connected to the system bus 705, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 711.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 701 implements the method for processing video surveillance service signaling provided by the embodiment of the present application by executing the one or more programs.
The present application further provides a storage medium, which may be a non-volatile computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a computer device, the computer device is enabled to execute the method for processing video monitoring service signaling provided in the present application.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for processing a video monitoring service signaling provided in the embodiment of the present application.
The above description is only for facilitating the understanding of the technical solutions of the present application by those skilled in the art, and is not intended to limit the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (38)

1. A method for processing video monitoring service signaling is applied to a first-level domain, and the first-level domain includes: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; the method comprises the following steps:
the first proxy server receives a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain;
the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster;
the first proxy server sends the first video monitoring service signaling to the target signaling gateway;
and the target signaling gateway receives the first video monitoring service signaling and carries out video monitoring processing on the first video monitoring service signaling.
2. The method of claim 1, wherein the first level domain further comprises: a networked management server;
the first proxy server selects a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster, and the method comprises the following steps:
the networking management server sends a gateway identification of a target signaling gateway to the first proxy server;
and the first proxy server receives the gateway identification, and selects the target signaling gateway from the signaling gateway cluster according to the gateway identification, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
3. The method of claim 1, wherein the first proxy server selecting a target signaling gateway from the signaling gateway cluster of the first level domain according to a remaining load of each signaling gateway in the signaling gateway cluster, comprises:
the first proxy server determines a signaling gateway node queue of the first-level domain;
and the first proxy server selects a gateway identifier from the signaling gateway node queue, and selects a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers sequenced according to the residual load of each signaling gateway, and one gateway identifier represents one signaling gateway.
4. The method of claim 3, wherein the first proxy server determining a queue of signaling gateway nodes for a first level domain comprises:
the first proxy server determining a load balancing policy in the first level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
the first proxy server determining the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway;
and the first proxy server sorts the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
5. The method of claim 4, wherein the first proxy server determining the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway, comprises:
the first proxy server determines a weight corresponding to each residual load parameter in the plurality of residual load parameters based on the load balancing strategy;
for each signaling gateway, the first proxy server performs weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
6. The method of claim 4, wherein the first proxy server determines a load balancing policy in the first level domain, comprising:
the first proxy server determines the signaling type of the first video monitoring service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
7. The method of claim 1, wherein the first level domain further comprises: a second proxy server;
the target signaling gateway receives the first video monitoring service signaling, and performs video monitoring processing on the first video monitoring service signaling, including:
the target signaling gateway receives a first processing instruction, wherein the first processing instruction carries the first video monitoring service signaling;
the target signaling gateway processes the first video monitoring service signaling to obtain a second video monitoring service signaling, and forwards the second video monitoring service signaling to the second proxy server;
and the second proxy server receives the second video monitoring service signaling and sends the second video monitoring service signaling to a third-level domain, wherein the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
8. The method of claim 7, wherein the second proxy server sending the second video surveillance traffic signaling to the tertiary domain comprises:
the second proxy server acquires a port identifier of a target domain from the second video monitoring service signaling; determining the port identification of the third-level domain according to the port identification of the target domain and the stored domain information; and sending the second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain.
9. The method of claim 7 or 8, wherein the first level domain further comprises: a database server;
before the second proxy server sends the second video surveillance service signaling to the third-level domain, the method further includes:
the second proxy server sends a verification instruction to the database server, wherein the verification instruction is used for verifying whether the port identifier of the third-level domain is stored in the database server;
the database server receives the verification instruction, and when the port identifier of the third-level domain is stored in the database server, a confirmation message is sent to the second proxy server, and the verified port identifier of the domain is stored in the database server;
and after receiving the confirmation message, the second proxy server executes the step of sending the second video monitoring service signaling to the third-level domain.
10. The method of claim 1, wherein the target signaling gateway receives the first video surveillance service signaling, and performs video surveillance processing on the first video surveillance service signaling, including:
the target signaling gateway receives a second processing instruction, wherein the second processing instruction carries the first video monitoring service signaling;
the target signaling gateway processes the first video monitoring service signaling to obtain a second video monitoring service signaling, obtains a monitoring video corresponding to the second video monitoring service signaling, and sends the monitoring video to the first proxy server;
and the first proxy server receives the monitoring video and sends the monitoring video to the second-level domain.
11. A method for processing video monitoring service signaling, applied to a first proxy server in a first-level domain, the method comprising:
receiving a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain, the video monitoring service signaling processing system comprises a plurality of domains, each domain comprises a signaling gateway cluster, and each signaling gateway cluster comprises a plurality of signaling gateways;
selecting a target signaling gateway from the signaling gateway cluster according to the residual load of each signaling gateway in the signaling gateway cluster;
and performing video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
12. The method of claim 11, wherein the first level domain further comprises: a networked management server;
selecting a target signaling gateway from the signaling gateway cluster according to the remaining load of each signaling gateway in the signaling gateway cluster, including:
receiving a gateway identifier of a target signaling gateway sent by the networking management server;
and selecting the target signaling gateway from the signaling gateway cluster according to the gateway identifier, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
13. The method of claim 11, wherein selecting a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster comprises:
determining a signaling gateway node queue of the first level domain;
selecting a gateway identifier from the signaling gateway node queue;
and selecting a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers which are sorted according to the residual load of each signaling gateway in the plurality of signaling gateways, and one gateway identifier represents one signaling gateway.
14. The method of claim 13, wherein the determining the queue of signaling gateway nodes for the first level domain comprises:
determining a load balancing policy in the first level domain;
obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
determining a remaining load for each signaling gateway based on the load balancing policy and a plurality of remaining load parameters for each signaling gateway;
and sequencing the gateway identifications corresponding to the plurality of signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
15. The method of claim 14, wherein determining the remaining load of each signaling gateway based on the load balancing policy and a plurality of remaining load parameters of each signaling gateway comprises:
determining a weight corresponding to each residual load parameter in the plurality of residual load parameters based on the load balancing strategy;
and for each signaling gateway, performing weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
16. The method of claim 14, wherein determining the load balancing policy in the first level domain comprises:
determining the signaling type of the first video monitoring service signaling;
and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
17. The method of claim 11, wherein the first level domain further comprises: a second proxy server;
the video monitoring processing of the first video monitoring service signaling through the target signaling gateway includes:
and sending a first processing instruction to the target signaling gateway, wherein the first processing instruction is used for indicating the target signaling gateway to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and then forwarding the second video monitoring service signaling to the second proxy server, and the second proxy server sends the second video monitoring service signaling to a third-level domain, and the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
18. The method of claim 11, wherein the performing, by the target signaling gateway, video surveillance processing on the first video surveillance traffic signaling comprises:
sending a second processing instruction to the target signaling gateway, wherein the second processing instruction is used for instructing the target signaling gateway to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and then acquiring a monitoring video corresponding to the second video monitoring service signaling;
and receiving the monitoring video returned by the target signaling gateway, and sending the monitoring video to the second-level domain.
19. A system for processing video surveillance service signaling, the system being applied to a first-level domain, the first-level domain comprising: the system comprises a first proxy server and a signaling gateway cluster, wherein the signaling gateway cluster comprises a plurality of signaling gateways; the system comprises:
the first proxy server is used for receiving a first video monitoring service signaling of a second level domain in a video monitoring service signaling processing system, wherein the second level domain is a higher level domain or a lower level domain of the first level domain;
the first proxy server is further configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster;
the first proxy server is further configured to send the first video monitoring service signaling to the target signaling gateway;
and the target signaling gateway is used for receiving the first video monitoring service signaling and carrying out video monitoring processing on the first video monitoring service signaling.
20. The system of claim 19, wherein the first level domain further comprises: a networked management server;
the first proxy server is further configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster, including:
the networking management server is used for sending a gateway identifier of a target signaling gateway to the first proxy server;
the first proxy server is configured to receive the gateway identifier, select the target signaling gateway from the signaling gateway cluster according to the gateway identifier, where the target signaling gateway is selected by the networking management server according to the remaining load of each signaling gateway.
21. The system of claim 19, wherein the first proxy server is further configured to determine a queue of signaling gateway nodes for the first-level domain;
the first proxy server is further configured to select a gateway identifier from the signaling gateway node queue, and select a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, where the signaling gateway node queue includes multiple gateway identifiers sorted according to the remaining load of each signaling gateway, and one gateway identifier represents one signaling gateway.
22. The system of claim 21, wherein the first proxy server is further configured to determine a load balancing policy in the first level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster;
the first proxy server is further configured to determine a remaining load of each signaling gateway based on the load balancing policy and the plurality of remaining load parameters of each signaling gateway;
and the first proxy service is further used for sequencing the gateway identifications corresponding to the multiple signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
23. The system of claim 22, wherein the first proxy server is further configured to determine a weight corresponding to each of the plurality of remaining load parameters based on the load balancing policy;
for each signaling gateway, the first proxy server is further configured to perform weighted summation on each remaining load parameter of the signaling gateway and a weight corresponding to each remaining load parameter, so as to obtain a remaining load of the signaling gateway.
24. The system of claim 23, wherein the first proxy server is further configured to determine a signaling type of the first video surveillance traffic signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
25. The system of claim 19, wherein the first level domain further comprises: a second proxy server;
the target signaling gateway is further configured to receive the first video monitoring service signaling, and perform video monitoring processing on the first video monitoring service signaling, including:
the target signaling gateway is further configured to receive a first processing instruction, where the first processing instruction carries the first video monitoring service signaling;
the target signaling gateway is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, and forward the second video monitoring service signaling to the second proxy server;
the second proxy server is configured to receive the second video monitoring service signaling and send the second video monitoring service signaling to a third-level domain, where the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
26. The system according to claim 25, wherein said second proxy server is further configured to obtain a port identifier of a target domain from said second video surveillance service signaling; determining the port identification of the third-level domain according to the port identification of the target domain and the stored domain information; and sending the second video monitoring service signaling to the third-level domain according to the port identifier of the third-level domain.
27. The system of claim 25 or 26, wherein the first level domain further comprises: a database server;
the second proxy server is further configured to, before sending the second video surveillance service signaling to the third-level domain, the system further includes:
the second proxy server is further configured to send a verification instruction to the database server, where the verification instruction is used to verify whether the port identifier of the third-level domain is stored in the database server;
the database server is further configured to receive the verification instruction, send a confirmation message to the second proxy server when the port identifier of the third-level domain is stored in the database server, and store the verified port identifier of the domain in the database server;
and the second proxy server is further configured to execute the step of sending the second video monitoring service signaling to the third-level domain after receiving the confirmation message.
28. The system of claim 19, wherein the target signaling gateway is further configured to receive a second processing instruction, and wherein the second processing instruction carries the first video surveillance service signaling;
the target signaling gateway is further configured to process the first video monitoring service signaling to obtain a second video monitoring service signaling, obtain a monitoring video corresponding to the second video monitoring service signaling, and send the monitoring video to the first proxy server;
the first proxy server is further configured to receive the monitoring video and send the monitoring video to the second-level domain.
29. An apparatus for processing video surveillance service signaling, applied to a first proxy server in a first-level domain, the apparatus comprising:
the video monitoring service signaling processing system comprises a plurality of domains, each domain comprises a signaling gateway cluster, and each signaling gateway cluster comprises a plurality of signaling gateways;
a selecting module, configured to select a target signaling gateway from the signaling gateway cluster according to a remaining load of each signaling gateway in the signaling gateway cluster;
and the processing module is used for carrying out video monitoring processing on the first video monitoring service signaling through the target signaling gateway.
30. The apparatus of claim 29, wherein the first level domain further comprises: a networked management server;
the selection module is further configured to receive a gateway identifier of a target signaling gateway sent by the networking management server; and selecting the target signaling gateway from the signaling gateway cluster according to the gateway identifier, wherein the target signaling gateway is selected by the networking management server according to the residual load of each signaling gateway.
31. The apparatus of claim 29, wherein the selection module is further configured to determine a signaling gateway node queue for the first level domain; selecting a gateway identifier from the signaling gateway node queue; and selecting a target signaling gateway corresponding to the gateway identifier from the signaling gateway cluster according to the gateway identifier, wherein the signaling gateway node queue comprises a plurality of gateway identifiers which are sorted according to the residual load of each signaling gateway in the plurality of signaling gateways, and one gateway identifier represents one signaling gateway.
32. The apparatus of claim 31, wherein the selection module is further configured to determine a load balancing policy in the first level domain; obtaining a plurality of residual load parameters of each signaling gateway in the signaling gateway cluster; determining a remaining load for each signaling gateway based on the load balancing policy and a plurality of remaining load parameters for each signaling gateway; and sequencing the gateway identifications corresponding to the plurality of signaling gateways according to the residual load of each signaling gateway to obtain the signaling gateway node queue.
33. The apparatus of claim 32, wherein the selecting module is further configured to determine a weight corresponding to each of the plurality of remaining load parameters based on the load balancing policy; and for each signaling gateway, performing weighted summation on each residual load parameter of the signaling gateway and the weight corresponding to each residual load parameter to obtain the residual load of the signaling gateway.
34. The apparatus of claim 32, wherein the selecting module is further configured to determine a signaling type of the first video surveillance service signaling; and acquiring the load balancing strategy of the first video monitoring service signaling from the corresponding relation between the signaling type and the load balancing strategy according to the signaling type.
35. The apparatus of claim 29, wherein the first level domain further comprises: a second proxy server;
the processing module is configured to send a first processing instruction to the target signaling gateway, where the first processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and after a second video monitoring service signaling is obtained, forward the second video monitoring service signaling to the second proxy server, and the second proxy server sends the second video monitoring service signaling to a third-level domain, where the third-level domain is a lower-level domain or an upper-level domain of the first-level domain.
36. The apparatus according to claim 29, wherein the processing module is further configured to send a second processing instruction to the target signaling gateway, where the second processing instruction is used to instruct the target signaling gateway to process the first video monitoring service signaling, and obtain a monitoring video corresponding to the second video monitoring service signaling after obtaining the second video monitoring service signaling; and receiving the monitoring video returned by the target signaling gateway, and sending the monitoring video to the second-level domain.
37. A computer device comprising a processor and a memory;
wherein the content of the first and second substances,
the memory is used for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the method for processing video surveillance service signaling according to any one of claims 1 to 18.
38. A storage medium, characterized in that the storage medium has stored therein a computer program, which when executed by a processor implements the method of processing video surveillance service signaling according to any one of claims 1 to 18.
CN201910620073.3A 2018-12-07 2019-07-10 Method, device, equipment and storage medium for processing video monitoring service signaling Active CN111294553B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811497100 2018-12-07
CN2018114971004 2018-12-07

Publications (2)

Publication Number Publication Date
CN111294553A true CN111294553A (en) 2020-06-16
CN111294553B CN111294553B (en) 2021-06-18

Family

ID=71024154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910620073.3A Active CN111294553B (en) 2018-12-07 2019-07-10 Method, device, equipment and storage medium for processing video monitoring service signaling

Country Status (1)

Country Link
CN (1) CN111294553B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296908A (en) * 2021-04-30 2021-08-24 重庆紫光华山智安科技有限公司 Method, device, equipment and medium for improving video image access speed

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837164A (en) * 2015-05-20 2015-08-12 中国科学院上海高等研究院 Wireless monitoring system and wireless monitoring method based on load dynamic balance
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device
CN107846457A (en) * 2017-10-26 2018-03-27 广州市雷军游乐设备有限公司 Load-balancing method, device, storage medium and the system of server cluster
US9961137B2 (en) * 2012-04-26 2018-05-01 At&T Intellectual Property I, L.P. Long term evolution radio network application-level load balancing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9961137B2 (en) * 2012-04-26 2018-05-01 At&T Intellectual Property I, L.P. Long term evolution radio network application-level load balancing
CN104837164A (en) * 2015-05-20 2015-08-12 中国科学院上海高等研究院 Wireless monitoring system and wireless monitoring method based on load dynamic balance
CN106953926A (en) * 2017-03-31 2017-07-14 北京奇艺世纪科技有限公司 A kind of method for routing and device
CN107846457A (en) * 2017-10-26 2018-03-27 广州市雷军游乐设备有限公司 Load-balancing method, device, storage medium and the system of server cluster

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296908A (en) * 2021-04-30 2021-08-24 重庆紫光华山智安科技有限公司 Method, device, equipment and medium for improving video image access speed

Also Published As

Publication number Publication date
CN111294553B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US11411897B2 (en) Communication method and communication apparatus for message queue telemetry transport
CN111447103B (en) Virtual device management system, electronic device, virtual device management method, and medium
US10708121B2 (en) Intelligent network
Di Mauro et al. Availability evaluation of multi-tenant service function chaining infrastructures by multidimensional universal generating function
CN102281190B (en) Networking method for load balancing apparatus, server and client access method
CN110071965B (en) Data center management system based on cloud platform
CN108123866B (en) Method for message transmission and device
CN110336848B (en) Scheduling method, scheduling system and scheduling equipment for access request
WO2021022875A1 (en) Distributed data storage method and system
CN111367693B (en) Method, system, device and medium for scheduling plug-in tasks based on message queue
CN111679916B (en) Video recommendation method, target service providing terminal, service calling terminal and system
CN105471700B (en) A kind of methods, devices and systems of Message Processing
CN110198332A (en) Dispatching method, device and the storage medium of content delivery network node
CN110275873A (en) File memory method, device, storage management apparatus and storage medium
CN113190524A (en) Industrial big data acquisition method and system
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
CN111294553B (en) Method, device, equipment and storage medium for processing video monitoring service signaling
CN105450997A (en) Cloud storage based video monitoring system
US8224933B2 (en) Method and apparatus for case-based service composition
CN102970391B (en) Inquiry of the domain name processing method, server and system
CN101695049A (en) Method and device for processing businesses in monitoring system
CN108156086B (en) Policy rule issuing method and device
KR102020112B1 (en) Method and platform for dds-based iec61850 request-response communication
CN113190347A (en) Edge cloud system and task management method
CN109905645A (en) Video monitoring equipment catalogue exchanges method and networked platforms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant