WO2018165869A1 - 视频监控系统、客户端和信令交互服务器及控制方法 - Google Patents

视频监控系统、客户端和信令交互服务器及控制方法 Download PDF

Info

Publication number
WO2018165869A1
WO2018165869A1 PCT/CN2017/076660 CN2017076660W WO2018165869A1 WO 2018165869 A1 WO2018165869 A1 WO 2018165869A1 CN 2017076660 W CN2017076660 W CN 2017076660W WO 2018165869 A1 WO2018165869 A1 WO 2018165869A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
signaling
client
encoder
channel
Prior art date
Application number
PCT/CN2017/076660
Other languages
English (en)
French (fr)
Inventor
翟海波
闫刚
谭喆
晏燚
Original Assignee
深圳中兴力维技术有限公司
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 深圳中兴力维技术有限公司 filed Critical 深圳中兴力维技术有限公司
Priority to PCT/CN2017/076660 priority Critical patent/WO2018165869A1/zh
Priority to CN201780002152.7A priority patent/CN109479121B/zh
Publication of WO2018165869A1 publication Critical patent/WO2018165869A1/zh

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

Definitions

  • the present application relates to the field of video technologies, and in particular, to a video surveillance system, a client and a signaling interaction server, and a control method.
  • the manufacturer requesting the video is the superior
  • the manufacturer providing the video is the lower level
  • the upper platform wants to be able to browse the video of the lower device in real time.
  • the docking of the above several methods requires that one or both sides of the interface have a certain technical accumulation, but not every manufacturer will have such a The accumulation of technology, or the manufacturers who have no docking experience, is obviously weak in adopting the above three options.
  • no matter which way is used for docking most of them currently obtain the video source from the subordinate platform through the docking server, and then transmit it to the client to decode the display through the network transmission.
  • the quality of service of the client browsing video will largely depend on The network transmission quality between the docking server and the subordinate platform, and the docking server and the client.
  • the embodiment of the present application is directed to the need for the underlying network communication module of the two parties to implement the transmission of the video code stream, and the existing video request mode or method is relatively complicated; and the service quality of the client browsing video depends on the network transmission quality technology.
  • the problem is to provide a video surveillance system, a client and signaling interaction server and a control method.
  • a technical solution adopted by the embodiment of the present application is to provide a client control method for a video monitoring system, where the method includes:
  • the client creates an encoder having at least an equal number of encoding channels according to the number of decoder decoding channels of the lower-level platform device, so that the client decodes the maximum simultaneous browsing video channel that is twice encoded by the encoder.
  • the number can reach the maximum number of decoding channels.
  • another technical solution adopted by the embodiment of the present application is to provide a signaling interaction server control method for a video monitoring system, where the method includes:
  • the signaling interaction server configures upper-level encoder routing information according to the encoder-encoded channel routing information created by the client, where the encoder is configured for the client according to the number of decoder decoding channels of the lower-level platform device.
  • An encoder of an equal number of encoding channels so that the maximum number of simultaneous browsing video channels that the client can decode twice by the encoder can reach the maximum number of decoding channels.
  • another technical solution adopted by the embodiment of the present application is to provide a control method of a video monitoring system, where the video monitoring system includes a client, a signaling interaction server, a streaming media server, and a lower-level platform device.
  • the subordinate platform device includes a front end device that acquires and provides video, and a decoder that is connected to the front end device and provides a decoding channel;
  • the control method of the video monitoring system includes:
  • the client creates an encoder having at least an equal number of encoding channels according to the number of decoder decoding channels of the lower-level platform device, so that the client decodes the maximum simultaneous browsing video channel that is twice encoded by the encoder.
  • the number can reach the maximum number of decoding channels, and the encoder is wired to the decoder.
  • a client of a video monitoring system including:
  • An encoder that creates, for the client, an encoder having at least an equal number of encoding channels according to a number of decoder decoding channels of the lower-level platform device, so that the client is secondarily decoded by the encoder
  • the maximum number of simultaneous browsing video channels of the secondary encoding can reach the maximum number of decoding channels.
  • a signaling interaction server of a video monitoring system including:
  • a configuration management module configured to configure upper-level encoder routing information according to the encoder-encoded channel routing information created by the client, where the encoder is configured by the client according to the number of decoder decoding channels of the lower-level platform device An encoder of an equal number of encoding channels, so that the maximum number of simultaneous browsing video channels that the client can decode twice by the encoder can reach the maximum number of decoding channels.
  • another technical solution adopted by the embodiment of the present application is to provide a video monitoring system, where the video monitoring system includes a client, a signaling interaction server, a streaming media server, and a lower-level platform device.
  • the subordinate platform device includes a front end device that acquires and provides video, and a decoder that is connected to the front end device to provide a decoding channel;
  • the client includes an encoder wiredly coupled to the decoder, and the encoder is an encoder having at least an equal number of encoding channels created by the client according to the number of decoder decoding channels of the lower platform device.
  • the maximum number of decoding channels can be reached.
  • the embodiment of the present application provides a video monitoring system, a client, and a signaling interaction server, and a control method.
  • the client creates at least the number of decoding channels of the decoder of the lower-level platform device.
  • An encoder of an equal number of encoding channels so that the maximum number of simultaneous browsing video channels that the client can decode twice by the encoder can reach the maximum number of decoding channels.
  • the decoder decodes once
  • the client creates an encoder to perform secondary encoding on the decoded video of the decoder.
  • the underlying network communication module of both sides transmits the secondary encoded data instead of directly transmitting the video code.
  • the stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • Figure 1 is a prior art video surveillance system
  • FIG. 2 is a schematic diagram of a codec of a video surveillance system according to an embodiment of the present application
  • FIG. 3 is a block diagram of a client structure of a video monitoring system according to an embodiment of the present application.
  • FIG. 3b is a block diagram of a client structure of a video monitoring system according to another embodiment of the present application.
  • FIG. 4 is a frame diagram of a video monitoring system provided by an embodiment of the present application.
  • FIG. 5 is a video sequence diagram of a video surveillance system requesting video provided by an embodiment of the present application.
  • FIG. 6 is a structural block diagram of a signaling interaction server of a video monitoring system according to an embodiment of the present application.
  • 6b is a structural block diagram of a signaling interaction server of a video monitoring system according to another embodiment of the present application.
  • FIG. 7 is a list of encoder information maintained by a signaling interaction server of a video surveillance system according to still another embodiment of the present application.
  • FIG. 8 is a structural block diagram of a video monitoring system according to an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a client control method of a video monitoring system according to an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a signaling interaction server control method of a video monitoring system according to an embodiment of the present application
  • FIG. 11 is a schematic flowchart diagram of a method for controlling a video monitoring system according to an embodiment of the present application.
  • the network video surveillance system breaks through the limitations of the original analog monitoring system and digital monitoring system.
  • the analog video is encoded and compressed and carried on the network, and is far away. End decoding is presented.
  • a common video surveillance system in the prior art usually includes a Central Management Server (CMS) and a Media Switch (MS).
  • CMS Central Management Server
  • MS Media Switch
  • the media switch can also be replaced by a Streaming Media Server (SMS).
  • SMS Streaming Media Server
  • Each MS jurisdiction includes an MS for processing the copying and distribution of media streams, and at least one client unit (CU, Client Unit) and/or a front-end unit (PU).
  • the PU is an information collection end of the video monitoring system, and implements the functions of collecting video information, audio information, data information, and alarm information.
  • the PU is usually located at the edge of the network and exchanges routing devices through the access layer and aggregation layer of the network to communicate with the core layer.
  • a PU is usually referred to as an encoder device.
  • the CU is a client application end of the video surveillance system, and realizes the presentation of video information, audio information, data information and alarm information to the user.
  • the access method of the CU is complicated, and is usually located at the edge location and the core location of the network.
  • a CU is usually referred to as a decoder device.
  • CMS is the central management server of the video surveillance system, providing video surveillance service video surveillance service as an application server; providing client/user management, front-end/platform device management and virtual domain management as a management center; storing user data and service parameters as a storage center Configuration data; as receiving and distributing of alarm messages; and registration and control for communication between PUs and CUs.
  • the CMS acts as a service control layer device and is usually located at the core layer.
  • Figure 1 shows a common video surveillance system in the prior art, the MS jurisdiction includes an encoder area and a user area, wherein the encoder area usually includes multiple cameras, multiple PUs and one MS; user area It usually includes multiple CUs, multiple monitors, and one MS.
  • the CMS is set in the server area.
  • Each area in FIG. 1 is connected through a network, and devices in each area communicate through a Session Initiation Protocol (SIP) protocol.
  • SIP Session Initiation Protocol
  • the video source is obtained from the front-end unit PU of the lower-level platform through the streaming server SMS, and then transmitted to the client unit CU for decoding and display through the network transmission, so that the quality of service of the client unit PU browsing video is largely determined by the flow.
  • FIG. 4 is a schematic diagram of a video of a higher-level platform (including a client) of a video surveillance system according to an embodiment of the present application requesting a lower-level platform device.
  • the video surveillance system 100 includes a client 10 and a signaling interaction server 20.
  • the streaming server 30 and the lower platform device 40 are described in detail below.
  • FIG. 3a is a structural block diagram of the client 10 of the video surveillance system.
  • the client includes an encoder 11.
  • the encoder 11 creates, for the client, an encoder 11 having at least an equal number of coding channels according to the number of decoder decoding channels of the lower-level platform device, so that the client is secondarily decoded by the encoder 11
  • the maximum number of simultaneous browsing video channels of the secondary encoding can reach the maximum number of decoding channels.
  • the encoder 10 is wiredly connected to the decoder.
  • 2 is a schematic diagram of the codec of the video surveillance system. As shown in FIG. 2, specifically, the encoder 10 and the decoder can be connected through an HDMI data line. The multi-coded channel is connected to the multiple decoding channels one by one.
  • the client when the client creates the encoder 11, it also configures related information, such as routing information of the encoder encoding channel, IP, port number, and access mode.
  • the embodiment of the present application provides a client 10 of a video surveillance system, and the client creates an encoder 11 having at least an equal number of coding channels according to the number of decoder decoding channels of the lower platform device, so that the client decodes the second time.
  • the maximum number of simultaneous browsing video channels of the second encoding of the encoder 11 can reach the maximum number of decoding channels.
  • the code stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • the network transmission may be reduced to some extent. (such as: packet loss rate, network delay or narrow bandwidth) caused by video screen or mosaic phenomenon.
  • the embodiment of the present application provides a client that implements a control method for a video surveillance system based on a secondary codec technology, and the encoder 11 created by the client cooperates with a decoder of a lower-level platform device to implement real-time real-time platform. The need to browse the video of the lower-level platform device enhances the user experience.
  • FIG. 3b is a structural block diagram of the client 10 of the video monitoring system provided by the embodiment.
  • the client further includes a signaling module 12, an acquisition and judgment module 13, a receiving module 14, a selection module 15, and a request video module 16.
  • the signaling sending module 12 is configured to send request video signaling.
  • the client may generate the request video signaling according to the request video indication that the user sends according to the requirement.
  • the number of clients may be one or more, and the encoders 11 created by the plurality of clients all create an encoder 11 having at least an equal number of coding channels according to the number of decoder decoding channels of the lower-level platform devices, so that the clients
  • the maximum number of simultaneous browsing video channels that are secondarily encoded by the encoder 11 can be up to the maximum number of decoding channels.
  • the obtaining and determining module 13 is configured to obtain, according to the request video signaling, a number of times that the client simultaneously browses the number of video channels and determines whether the maximum number of decoding channels of the decoder is reached. Specifically, the client simultaneously browses the number of video channels for the current client read by the signaling interaction server to simultaneously browse the number of video channels.
  • the signaling interaction server will close the last video by default, that is, the Nth video, and then route the Nth video. Send it to the client. If the number M of decoder decoding channels is greater than the number of video channels N that the client simultaneously browses, that is, M>N, the above-mentioned client can repeat the one-way or multi-channel video or signaling interaction server to turn off the last video by default. If the number of browsing channels is less than N, that is, M ⁇ N, the video will be closed, and the signaling interaction server will select an encoder routing information with unused status to the client. The client sends a video request to the streaming server according to the returned encoder routing information, and the subsequent process is the same as requesting the device video of the current level.
  • FIG. 5 is a timing diagram of a TCP mode request video of the network management platform. As shown in Figure 5, the specific process of requesting video of the device at the same level is as follows:
  • the client After obtaining the video routing information from the signaling interaction server, the client sends an INVITE request to the streaming media server.
  • the streaming server receives the INVITE request, first saves an INVITE request, determines that the request is to be processed by the streaming server, and the server has not established a media session with the front-end PU (front-end device, encoder or IPC device), streaming media.
  • the server initiates an INVITE request to the front-end PU. During the request process, if a new client request is received, it will be saved;
  • the streaming server After receiving the 200 OK (representing the request is successful) response from the PU, the streaming server sends an ACK confirmation message to the front-end PU and responds to all client requests. After receiving the ACK, the front-end PU establishes a TCP connection according to the target address specified in the protocol, and starts to send media data to the streaming media server;
  • the client After receiving the 200 OK response from the streaming server, the client sends an ACK to the streaming server, establishes a TCP connection to the streaming server, and reports the Call-ID of the media session (the unique identifier of the media session), and the streaming server searches for the corresponding Media session, there may be many clients, if multiple clients request video from the same front-end PU, the streaming server generally only has one video data source, but the streaming server is identified by the target sending class. Which clients are sent to the video source.
  • the streaming server creates a TCP sending target class and adds it to the sending queue.
  • the front-end PU dynamically requests an I frame, that is, a key frame; the client needs a key frame to decode. If the front-end PU does not immediately send a dynamically generated key frame at this time, the client may appear black screen for a short period of time, and the normal picture will not appear until the first key frame comes.
  • the streaming server starts sending media data to the client.
  • the signaling sending module 12 is further configured to: if the client simultaneously browses the number of video channels to reach the maximum number of decoder decoding channels, send closed video signaling that closes one or more client browsing videos.
  • the receiving module 14 is configured to receive, by the signaling interaction server, the routing information of the encoder coding channel occupied by the one or more client browsing videos that are closed according to the closed video signaling, and the returning video returned by the receiving signaling interaction server.
  • the video request status of the encoder-encoded channel that is updated in real time is the unused encoder usage status information, and the received signaling interaction server returns the closed-channel or multi-way client browsing video according to the closed video signaling.
  • the decoder that decodes the channel signaling and the real-time updated decoder decodes the channel routing information;
  • the selecting module 15 is configured to select, according to the request video signaling and the encoder usage status information, routing information of an encoder encoding channel whose status is an unused encoder encoding channel;
  • the request video module 16 is configured to request video from the streaming server according to the selected routing information of the unused encoder encoding channel and the decoder decoding channel routing information.
  • the number of decoder decoding channels of the lower-level platform device is set to M, and the number of concurrent browsing videos of the client is N, and the signaling interaction server simultaneously browses the video according to the current client.
  • the client can actively send off video signaling for closing one or more clients to browse video.
  • the signaling interaction server After the signaling interaction server receives the video command to close, And then sending the decoder decoding channel signaling to the lower-level platform device, the signaling interaction server updates the encoder usage status, and then returns the routing information to the client, and the client requests the video to the streaming server according to the routing information, so that the The maximum number of simultaneous browsing video channels of the secondary decoding by the encoder can reach no more than the maximum number of decoding channels; the signaling interaction server can correctly maintain the video routing information, and the encoder and the decoder pass With wired connection, the video process of requesting other vendors (lower platform devices) can be transmitted in real time like the local network video of the network management platform (the upper platform, including the client), and the quality is high.
  • the selecting module is further configured to: if the client simultaneously browses the number of video channels and does not reach the maximum number of decoder decoding channels, the client according to the request video signaling and the encoder usage status. Information, select the routing information of the video encoding channel whose status is the unused encoder encoding channel.
  • the beneficial effect of the embodiment is that the sending request video signaling can be satisfied when the number of video channels browsed by the client at the same time does not reach the maximum number of decoding channels of the decoder, and the video of the lower-level platform device is once encoded, and the decoder decodes the client once.
  • the encoder 11 is created to perform secondary encoding on the video decoded by the decoder once, and the underlying network communication module transmits the secondary encoded data instead of directly transmitting the video stream, and the occupied network bandwidth is reduced, thereby saving the performance of the streaming server. Probability of overhead, reduced post-maintenance workload, and reduced video service quality problems due to network bandwidth limitations.
  • FIG. 6 is a structural block diagram of a signaling interaction server of a video surveillance system according to an embodiment of the present disclosure. As shown in FIG. 6a, the embodiment of the present application provides a signaling interaction server 20 of a video surveillance system, including a configuration management module 21.
  • the configuration management module 21 is configured to configure upper-level encoder routing information according to the encoder-encoded channel routing information created by the client, where the encoder is created by the client according to the number of decoding channels of the decoder of the lower-level platform device.
  • An encoder having at least an equal number of encoding channels to enable the client to decode the maximum number of simultaneously viewed video channels that are secondarily encoded by the encoder to a maximum number of decoding channels.
  • the embodiment of the present application provides a signaling interaction server 20 of a video monitoring system, where the configuration management module 21 is configured to configure upper-level encoder routing information according to the encoder encoding channel routing information created by the client, where the encoder is the client.
  • An encoder having at least an equal number of encoding channels created according to the number of decoder decoding channels of the lower-level platform device, so that the client can decode the maximum simultaneous browsing video number of the secondary encoding by the encoder. The maximum number of decoding channels is reached.
  • the decoder decodes once, and the client creates the encoder 11 to perform secondary encoding on the decoded video of the decoder, and the underlying network communication module of the two sides transmits the secondary encoded data instead of directly transmitting the video.
  • the code stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • the network transmission may be reduced to some extent. (such as: packet loss rate, network delay or narrow bandwidth) caused by video screen or mosaic phenomenon.
  • the embodiment of the present application provides a signaling interaction server that implements a control method of a lower-level video surveillance system based on a secondary codec technology, and the encoder 11 created by the client cooperates with a decoder of a lower-level platform device to implement a superior level.
  • the platform needs to browse the video of the lower-level platform device in real time, which improves the user experience.
  • FIG. 6 is a structural block diagram of a signaling interaction server of a video surveillance system according to another embodiment of the present disclosure. As shown in FIG. 6b, the signaling interaction server further includes a signaling interaction module 22 and a maintenance module 23.
  • the signaling interaction module 22 is configured to obtain a lower-level platform device list and status, and obtain a closed video signaling or request video signaling, and send a shutdown decoder decoding according to the closed video signaling or requesting video signaling to a lower-level platform device.
  • the maintenance module 23 is configured to: when the signaling interaction server receives the closed video signaling and the request video signaling sent by the client, query the decoder decoding of the lower platform device according to the closed video signaling and the request video signaling.
  • the channel routes information, and the encoder usage status information of the encoder encoding channel is updated and updated in real time, and returned to the client.
  • the signaling interaction server needs to focus on maintaining the routing information of the decoder decoding channel of the lower-level platform device.
  • the N encoders created by the client are generated from the local configuration file (upper encoder routing information).
  • the routing information of the encoding channel including the encoder ID, status, address of the streaming server, is read into the memory and updated in real time.
  • the address of the streaming media server can be configured according to the actual situation to achieve load balancing, that is, the encoders are evenly distributed to the respective streaming media servers.
  • 7 is a list of encoder information maintained by the signaling interaction server of the video surveillance system. As shown in FIG. 7, the specific memory maintains two routing information lists, which are an encoder list of the requested video and an encoder list of the unrequested video. .
  • the application of the present invention is that, in the embodiment of the present application, the signaling interaction server discards the streaming media forwarding module, and is only responsible for the signaling interaction between the client and the lower-level platform device, and is no longer responsible for the forwarding function of the streaming media data; After the interactive server changes the original signaling interaction mode and the video transmission mode, it has great advantages in improving system security and reducing post-maintenance cost.
  • the signaling interaction module is further configured to: when the signaling interaction server receives the request video signaling sent by the client, determine whether the client simultaneously browses the number of video channels to achieve decoder decoding. The maximum number of channels; if the client simultaneously browses the number of video channels to reach the maximum number of decoder decoding channels, and does not receive the closed video signaling sent by the client, then the lower-level platform device sends the last decoding. Decoding the channel client to browse the video off the decoder decoding channel signaling;
  • the maintenance module is further configured to update the routing information of the encoder encoding channel occupied by the last client browsing video according to the requested video signaling, and update and maintain the encoder usage status information of the encoder encoding channel in real time, and return Give the client.
  • the number of decoder decoding channels of the lower-level platform device is set to M, and the number of concurrent browsing videos of the client is N, and the signaling interaction server searches for the video according to the current client, if the N path has been reached.
  • the client does not actively close one or more channels of video.
  • the signaling interaction server will close the last video, that is, the Nth video, and then send the Nth video routing information to the client.
  • the signaling interaction module is further configured to determine whether the number of video channels browsed by the client simultaneously reaches a maximum number of decoding channels of the decoder; if the client simultaneously browses the number of video channels to achieve decoding If the maximum number of decoding channels is not received, and the closed video signaling sent by the client is not received, the downlink platform device sends a shutdown decoder decoding channel signaling that closes the last decoder decoding channel client browsing video; Regardless of whether the client actively sends the closed video signaling for closing the client browsing video, the signaling interaction server can close the decoder decoder channel client browsing video, and the signaling interaction server updates the encoder usage state and then routes the information.
  • the client requests video from the streaming server according to the routing information, so that the maximum number of simultaneous browsing video channels that the client can decode twice by the encoder can reach the maximum of the decoding channel.
  • Quantity signaling interaction server can correctly maintain video routing information, coding Via a wired connection between the decoder and, to fulfill the request of other manufacturers (lower platform equipment) processes like video network management platform (upper platform) requests its own local video and real-time transmission of the same high quality.
  • FIG. 8 is a structural block diagram of a video monitoring system according to an embodiment of the present disclosure. As shown in FIG. 8 , the embodiment of the present application provides a video monitoring system 100, including a client 10, a signaling interaction server 20, a streaming media server 30, and a lower platform. Equipment 40.
  • the lower level platform device 40 includes a front end device that acquires and provides video and a decoder that is connected to the front end device to provide a decoding channel;
  • the client 10 includes an encoder wiredly coupled to the decoder, and the encoder is an encoding of the client 10 having at least an equal number of encoding channels created according to the number of decoder decoding channels of the lower level platform device. In order to enable the client 10 to decode the maximum number of simultaneous browsing video channels that are secondarily encoded by the encoder, the maximum number of decoding channels can be reached.
  • the embodiment of the present application provides a video monitoring system 100.
  • the client 10 includes an encoder that is wiredly connected to the decoder, and the encoder is created by the client 10 according to the number of decoding channels of the decoder of the lower-level platform device.
  • the decoder decodes it once, the client 10 creates an encoder, and performs secondary encoding on the decoded video of the decoder, and the underlying network of the client 10 and the lower-level platform device 40
  • the communication module transmits the secondary encoded data through the streaming media server 30 instead of directly transmitting the video code stream, and the occupied network bandwidth is reduced, which can save performance overhead of the streaming media server 30, reduce post-maintenance workload, and reduce video caused by network bandwidth limitation.
  • the probability of a problem with the quality of service for example, can reduce the video screen or mosaic phenomenon caused by network transmission reasons (such as packet loss rate, network delay or narrow bandwidth).
  • the embodiment of the present application provides a video surveillance system 100 for implementing a control method for a video surveillance system of a lower-level video based on a secondary codec technology.
  • the encoder 11 created by the client cooperates with a decoder of a lower-level platform device to implement a superior.
  • the platform needs to browse the video of the lower-level platform device in real time, which improves the user experience.
  • the signaling interaction server 20 is configured to configure upper-level encoder routing information according to the encoder-encoded channel routing information created by the client 10; acquire a list and status of the lower-level platform device 40, and acquire a closed video. Signaling or requesting video signaling, and sending off decoder decoding channel signaling or requesting decoder decoding channel signaling to the lower platform device 40 according to the closing video signaling or requesting video signaling; when the signaling interaction server 20 receives When the video signal is closed and the video signal is requested to be sent by the client 10, the decoder decoding channel information of the lower platform device 40 is queried according to the closed video signaling and the request video signaling, and the real-time update and maintenance are performed. The encoder of the encoder encoding channel uses state information and returns it to the client 10.
  • the signaling interaction server 20 maintains a list of encoder information. It should be noted that the signaling interaction server 20 of the video surveillance system 100 is based on the same concept as the signaling interaction server 20 of the video surveillance system of the embodiment 2 of the present application. For details, refer to the second embodiment of the present application. Narrative, not detailed here.
  • the application of the present invention is that, in the embodiment of the present application, the signaling interaction server discards the streaming media forwarding module, and is only responsible for the signaling interaction between the client and the lower-level platform device, and is no longer responsible for the forwarding function of the streaming media data; After the interactive server changes the original signaling interaction mode and the video transmission mode, it has great advantages in improving system security and reducing post-maintenance cost.
  • the client 10 is configured to send request video signaling, and obtain, according to the request video signaling, a number of times that the client simultaneously browses the video path and determines whether the maximum number of decoding channels of the decoder is reached; When the client simultaneously browses the number of video channels to reach the maximum number of decoder decoding channels, it sends off video signaling that turns off one or more client browsing videos;
  • the signaling interaction server 20 When the signaling interaction server 20 receives the closed video signaling sent by the client 10, the signaling interaction server 20 sends a shutdown decoder decoding channel that closes one or more client browsing videos to the lower platform device 40. Signaling, real-time update decoder decoding channel routing information, and return to the client 10; real-time update according to off video signaling off Close one or more clients browse the routing information of the encoder encoding channel occupied by the video, and update the encoder usage status information of the encoder encoding channel in real time, and return to the client 10;
  • the client 10 is further configured to receive a decoder decoding that is returned by the signaling interaction server 20 and is updated in real time according to the closed video signaling by the downlink platform device to send off the decoder decoding channel signaling of the one or more client browsing videos.
  • the routing information returned by the receiving signaling interaction server 20 includes the routing information of the encoder encoding channel occupied by the one-way or multi-way client browsing video according to the real-time update of the closed video signaling, and the receiving signaling back by the receiving signaling interaction server 20 Turning off the video request status of the encoder coding channel of the video signaling real-time update is unused encoder usage status information; selecting one video request status as an unused encoder according to the request video signaling and encoder usage status information The routing information of the encoding channel; requesting video from the streaming server 30 based on the routing information of the selected unused encoder encoding channel and the decoder decoding channel routing information.
  • the client 10 and the signaling interaction server 20 of the video surveillance system 100 have signaling with the signaling interaction server 10 of the video surveillance system of Embodiment 1 of the present application and the video surveillance system of Embodiment 2.
  • the interactive server 20 is based on the same concept. For details, refer to the description in Embodiment 2 of the present application, and details are not described herein.
  • the number of decoder decoding channels of the lower-level platform device 40 is set to M, and the number of simultaneous browsing videos of the client is N, and the signaling interaction server 40 simultaneously browses according to the current client.
  • the client 10 can actively send off video signaling for closing one or more clients to browse video, and the signaling interaction server 20 receives After the video command is closed, the decoder decoding channel signaling is sent to the lower platform device 40.
  • the signaling interaction server 20 updates the encoder usage status and returns its routing information to the client 10, and the client 10 flows to the server according to the routing information.
  • the media server requests the video so that the maximum number of simultaneous browsing video channels that the client 10 can decode twice by the encoder can reach no more than the maximum number of decoding channels; the signaling interaction server 20 can correctly maintain the video. Routing information, the encoder and the decoder can be wired to connect to other vendors (lower platform devices) Frequency processes like network management platform (upper platform, including a client) requests its own local video and real-time transmission of the same high quality.
  • the client 10 is further configured to send request video signaling
  • the signaling interaction server 20 When the signaling interaction server 20 receives the request video signaling sent by the client 10, the signaling interaction server 20 is further configured to determine whether the number of video channels browsed by the client simultaneously reaches the maximum number of decoding channels of the decoder. If the client simultaneously browses the number of video channels to reach the maximum number of decoder decoding channels, then according to the requesting video signaling, the lower platform device 40 sends a shutdown decoder decoding channel signaling that closes the last client browsing video, and updates in real time. The decoder decodes the channel routing information and returns it to the client 10; updates the routing information of the encoder encoding channel occupied by the last client browsing video according to the requested video signaling in real time, and updates and maintains the encoder encoding channel in real time. Encoder uses state information and returns to the client 10;
  • the client 10 is further configured to receive a decoder decoding channel that is returned by the signaling interaction server 20 and is updated in real time according to the requesting video signaling to the lower platform device 40 to close the decoder decoding channel signaling of the last client browsing video.
  • the routing information is received by the receiving signaling interaction server 20, and the routing information of the encoder encoding channel occupied by the last client browsing video is closed in real time according to the request video signaling, and the requesting video signaling returned by the receiving signaling interaction server 20 is real-time.
  • the video request status of the updated encoder code channel is unused encoder use status information; according to the request video signal and encoder use status information, routing information of an encoder code channel whose channel video request status is unused is selected. And requesting video from the streaming server according to the routing information of the selected unused encoder encoding channel and the decoder decoding channel routing information.
  • the client 10 and the signaling interaction server 20 of the video surveillance system 100 are related to the present application.
  • the signaling interaction server 10 of the video surveillance system of the embodiment 1 and the signaling interaction server 20 of the video surveillance system of the embodiment 2 are based on the same concept. For details, refer to the description in the embodiment 2 of the present application. Detailed.
  • the signaling interaction server 20 is further configured to determine whether the number of video channels that the client simultaneously browses reaches the maximum number of decoding channels of the decoder; When the decoder decodes the maximum number of channels, and does not receive the closed video signaling sent by the client, the lower platform device 40 sends a shutdown decoder decoding channel signaling that closes the last decoder decoding channel client browsing video.
  • the signaling interaction server 20 can close the decoder decoder channel client browsing video, and the signaling interaction server 20 updates the encoder usage state and The routing information is returned to the client 10, and the client 10 requests the video from the streaming server according to the routing information, so that the client 10 can decode the maximum number of simultaneously browsing video channels that are twice encoded by the encoder.
  • the maximum number of decoding channels is not exceeded; the signaling interaction server 20 can properly maintain the video.
  • Via a wired connection between the information encoder and decoder can fulfill the request of other manufacturers (lower platform equipment) processes like video network management platform (upper platform) requests its own local video and real-time transmission of the same high quality.
  • the client 10 is further configured to: if the client simultaneously browses the number of video channels and does not reach the maximum number of decoder decoding channels, the client uses the video signaling and the encoder according to the request. Status information, select the routing information of the video encoding channel whose status is the unused encoder encoding channel.
  • the beneficial effect of the embodiment is that the client 10 is configured to send the request video signaling to be satisfied when the number of video channels that the client simultaneously browses does not reach the maximum number of decoder decoding channels, and the video of the lower-level platform device 40 is encoded once.
  • the decoder 10 decodes the decoder 11 at a time, and the client 10 creates an encoder 11 to perform secondary encoding on the decoded video of the decoder, and the underlying network communication module transmits the secondary encoded data instead of directly transmitting the video stream, occupying the network bandwidth.
  • the reduction can save the performance overhead of the streaming media server 30, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • FIG. 9 is a schematic flowchart diagram of a client control method of a video monitoring system according to an embodiment of the present application. As shown in FIG. 9, the method includes:
  • Step 101 The client creates an encoder having at least an equal number of coding channels according to the number of decoder decoding channels of the lower-level platform device, so that the client performs secondary decoding at the same time as the second encoding of the encoder.
  • the number of video channels can be browsed to reach the maximum number of decoding channels.
  • the embodiment of the present application provides a client 10 of a video surveillance system, and the client creates an encoder 11 having at least an equal number of coding channels according to the number of decoder decoding channels of the lower platform device, so that the client decodes the second time.
  • the maximum number of simultaneous browsing video channels of the second encoding of the encoder 11 can reach the maximum number of decoding channels.
  • the code stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • the network transmission may be reduced to some extent. (such as: packet loss rate, network delay or narrow bandwidth) caused by video screen or mosaic phenomenon.
  • the embodiment of the present application provides a client that implements a control method for a video surveillance system based on a secondary codec technology, and the encoder 11 created by the client cooperates with a decoder of a lower-level platform device to implement real-time real-time platform. Browse the needs of subordinate platform device video, mention Increased user experience.
  • the difference from the foregoing method embodiment is that the method further includes:
  • Step 102 Send a request video signaling.
  • Step 103 Obtain, according to the request video signaling, a number of video channels that the client simultaneously browses and determine whether the maximum number of decoder decoding channels is reached.
  • Step 104 If the client simultaneously browses the number of video channels to reach the maximum number of decoder decoding channels, then sends closed video signaling that closes one or more client browsing videos;
  • Step 105 Receive routing information returned by the signaling interaction server according to the real-time update of the closed video signaling, and the routing information of the encoder encoding channel occupied by the one or more client browsing videos is closed, and the receiving signaling interaction server returns the real-time according to the closed video signaling.
  • the video request status of the updated encoder encoding channel is the unused encoder usage status information, and the closed signaling of the closed one or more client browsing videos is sent according to the closed video signaling returned by the receiving signaling interaction server.
  • the decoder decodes the channel signaling and the decoder updated in real time decodes the channel routing information;
  • Step 106 Select, according to the request video signaling and the encoder usage status information, routing information of an encoder encoding channel whose status is an unused one;
  • Step 107 Request a video from the streaming server according to the selected routing information of the unused encoder encoding channel and the decoder decoding channel routing information.
  • the method is different from the foregoing method embodiment, where the client control method further includes:
  • Step 108 The selecting module is further configured to: if the number of video channels browsed by the client does not reach the maximum number of decoder decoding channels, the client selects according to the request video signaling and the encoder usage status information.
  • the video request status of one channel is the routing information of the unused encoder code channel.
  • the embodiment of the present application further provides a signaling interaction server control method of a video monitoring system, including:
  • Step 201 The signaling interaction server configures upper-level encoder routing information according to the encoder encoding channel routing information created by the client, where the encoder is created by the client according to the number of decoding channels of the decoder of the lower-level platform device.
  • An encoder having at least an equal number of encoding channels to enable the client to decode the maximum number of simultaneously viewed video channels that are secondarily encoded by the encoder to a maximum number of decoding channels.
  • the embodiment of the present application provides a signaling interaction server 20 of a video monitoring system, where the configuration management module 21 is configured to configure upper-level encoder routing information according to the encoder encoding channel routing information created by the client, where the encoder is the client.
  • An encoder having at least an equal number of encoding channels created according to the number of decoder decoding channels of the lower-level platform device, so that the client can decode the maximum simultaneous browsing video number of the secondary encoding by the encoder. The maximum number of decoding channels is reached.
  • the decoder decodes once, and the client creates the encoder 11 to perform secondary encoding on the decoded video of the decoder, and the underlying network communication module of the two sides transmits the secondary encoded data instead of directly transmitting the video.
  • the code stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.
  • the network transmission may be reduced to some extent. (such as: packet loss rate, network delay or narrow bandwidth) caused by video screen or mosaic phenomenon.
  • the embodiment of the present application provides a signaling interaction server that implements a control method of a lower-level video surveillance system based on a secondary codec technology, and the encoder 11 created by the client cooperates with a decoder of a lower-level platform device to implement a superior level.
  • the platform needs to browse the video of the lower-level platform device in real time, which improves the user experience.
  • the signaling interaction server control method of the video monitoring system further includes:
  • Step 202 Acquire a lower-level platform device list and status, and obtain a closed video signaling or request video signaling, and send a shutdown decoder decoding channel signaling or request according to the closing video signaling or requesting video signaling to a lower-level platform device.
  • Decoder decoding channel signaling
  • Step 203 When the signaling interaction server receives the closed video signaling and the request video signaling sent by the client, query the decoder decoding channel routing information of the lower platform device according to the closed video signaling and the request video signaling. And updating the encoder usage status information of the encoder encoding channel in real time and returning to the client.
  • the signaling interaction server control method of the video monitoring system further includes:
  • Step 204 When the signaling interaction server receives the request video signaling sent by the client, determine whether the number of video channels that the client simultaneously browses reaches the maximum number of decoding channels of the decoder; if the client simultaneously browses the video When the number of channels reaches the maximum number of decoder decoding channels, and the closed video signaling sent by the client is not received, the lower platform device sends a closed decoder decoding channel that closes the last decoder decoding channel client browsing video.
  • Step 205 The real-time update closes the routing information of the encoder encoding channel occupied by the last client browsing video according to the request video signaling, and updates and maintains the encoder usage status information of the encoder encoding channel in real time, and returns the information to the client. end.
  • the embodiment of the present application further provides a control method of a video monitoring system, where the video monitoring system includes a client, a signaling interaction server, a streaming media server, and a lower-level platform device.
  • the subordinate platform device includes a front end device that acquires and provides video, and a decoder that is connected to the front end device and provides a decoding channel;
  • the control method of the video monitoring system includes:
  • Step 301 The client creates an encoder having at least an equal number of coding channels according to the number of decoder decoding channels of the lower-level platform device, so that the client performs secondary decoding at the same time as the second encoding by the encoder.
  • the number of browsing video channels can reach the maximum number of decoding channels, and the encoder is wiredly connected to the decoder.
  • An embodiment of the present application provides a method for controlling a video surveillance system, where a client includes an encoder that is wiredly connected to the decoder, and the encoder is configured by the client according to a number of decoder decoding channels of a lower-level platform device.
  • the decoder decodes it once, and the client creates an encoder, and performs secondary encoding on the decoded video of the decoder, and the underlying network communication module of both the client and the lower-level platform device passes through the stream.
  • the media server transmits the secondary coded data instead of directly transmitting the video code stream, and the occupied network bandwidth is reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of the video service quality caused by the network bandwidth limitation.
  • the video screen or mosaic phenomenon caused by network transmission reasons (such as packet loss rate, network delay or narrow bandwidth) can be reduced to some extent.
  • the embodiment of the present application provides a control method for a video surveillance system that implements a control method for a video surveillance system based on a secondary codec technology.
  • the encoder created by the client cooperates with a decoder of a lower-level platform device, and can be implemented well.
  • the upper-level platform needs to browse the video of the lower-level platform device in real time, which improves the user experience.
  • the method for controlling the video monitoring system further includes:
  • Step 302 The signaling interaction server is configured according to the encoder code channel routing information created by the client. Level encoder routing information; obtaining a lower-level platform device list and status, and acquiring closed video signaling or requesting video signaling, and transmitting a shutdown decoder decoding channel signal to the lower-level platform device according to the closing video signaling or requesting video signaling Or requesting the decoder to decode the channel signaling; when the signaling interaction server receives the closed video signaling and the request video signaling sent by the client, querying the lower platform device according to the closing video signaling and the requesting video signaling The decoder decodes the channel routing information and updates the encoder usage status information of the encoder encoding channel in real time and returns it to the client.
  • the method for controlling the video monitoring system further includes:
  • Step 303 The client sends a request for video signaling, and obtains, according to the request video signaling, a number of video channels that the client simultaneously browses and determines whether the maximum number of decoding channels of the decoder is reached; if the client simultaneously browses the number of video channels When the maximum number of decoder decoding channels is reached, the closed video signaling for closing one or more client browsing videos is sent;
  • Step 304 When the signaling interaction server receives the closed video signaling sent by the client, the signaling interaction server sends a shutdown decoder decoding channel message that closes one or more client browsing videos to the lower platform device. So, the decoder decodes the channel routing information in real time and returns it to the client; the real-time update closes the routing information of the encoder encoding channel occupied by one or more clients browsing the video according to the closed video signaling, and updates the maintenance code in real time.
  • the encoder of the encoder channel uses state information and returns it to the client;
  • Step 305 The client receives a decoder decoding channel route that is returned by the signaling interaction server and is updated according to the closed video signaling to the lower platform device to send off the decoding decoder channel signaling of the one or more client browsing videos.
  • the information received by the receiving signaling interaction server includes the routing information of the encoder coding channel occupied by the one or more client browsing videos according to the real-time update of the closed video signaling, and the received signaling interaction server returns the information according to the closed video signaling.
  • the video request status of the real-time updated encoder encoding channel is unused encoder usage status information; according to the request video signaling and encoder usage status information, selecting a route for the video request status to an unused encoder encoding channel Information; requesting video from the streaming server based on the routing information of the selected unused encoder encoding channel and the decoder decoding channel routing information.
  • control method of the video monitoring system further includes:
  • Step 306 The client sends a request for video signaling.
  • the signaling interaction server determines whether the number of video channels browsed by the client simultaneously reaches the maximum number of decoder decoding channels; if the client Simultaneously browsing the number of video channels to reach the maximum number of decoder decoding channels, according to the requesting video signaling, the downlink platform device sends off the decoding decoder channel signaling of the last client browsing video, and updates the decoder decoding channel routing information in real time. And returning to the client; updating the routing information of the encoder encoding channel occupied by the last client browsing video according to the requesting video signaling, and updating the encoder usage status information of the encoder encoding channel in real time, and Returned to the client;
  • Step 307 The client receives, by the signaling interaction server, the decoder decoding channel routing information that is updated in real time according to the requesting video signaling to the lower platform device to send off the decoder decoding channel signaling of the last client browsing video; Receiving, by the receiving signaling interaction server, the routing information of the encoder encoding channel occupied by the last client browsing video according to the request video signaling real-time update, and the encoder encoding returned by the receiving signaling interaction server according to the request video signaling real-time update
  • the video request status of the channel is unused encoder usage status information; according to the request video signaling and the encoder usage status information, selecting a routing information request status is an unused encoder encoding channel routing information; The routing information of the unused encoder encoding channel and the decoder decoding channel routing information request video from the streaming server.
  • control method of the video monitoring system further includes:
  • Step 308 If the number of video channels browsed by the client does not reach the maximum number of decoder decoding channels, the client selects a video request status as unused according to the request video signaling and the encoder usage status information.
  • the encoder encodes the routing information of the channel.
  • Embodiments of the present application also provide a computer program product comprising software code portions configured to perform the method steps described in Embodiment 4, Embodiment 5 or Embodiment 6 when run in a memory of a computer .
  • the memory may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the data forwarding device, and the like.
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device.
  • the memory optionally includes a memory remotely located relative to the processor, the remote memory being connectable to the video surveillance system and its client, the signaling interaction server, or a subordinate platform device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the memory is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a control method of a video monitoring system in the embodiment of the present application, and a client.
  • the control method of the terminal and the program instruction/module corresponding to the control method of the information interaction server.
  • the processor executes various functional applications and data processing of the video monitoring system by running non-volatile software programs, instructions and modules stored in the memory, and implements a control method of the video monitoring system, a control method of the client, and an information interaction server. Control method.
  • the client creates an encoder having at least an equal number of coding channels according to the number of decoder decoding channels of the lower platform device, so that the client can decode the medium through the second
  • the maximum number of simultaneous browsing video channels of the encoder secondary encoding can reach the maximum number of decoding channels.
  • the decoder decodes once, and the client creates an encoder to perform secondary encoding on the decoded video of the decoder.
  • the underlying network communication module of both sides transmits the secondary encoded data instead of directly transmitting the video code.
  • the stream and the occupied network bandwidth are reduced, which can save the performance overhead of the streaming media server, reduce the post-maintenance workload, and reduce the probability of video service quality problems caused by the network bandwidth limitation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开视频监控系统、客户端和信令交互服务器及控制方法。客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使客户端二次解码经编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销以及降低网络带宽限制带来的视频服务质量出现问题的概率。

Description

视频监控系统、客户端和信令交互服务器及控制方法 技术领域
本申请涉及视频技术领域,特别是涉及视频监控系统、客户端和信令交互服务器及控制方法。
背景技术
目前,在不同厂商之间的视频请求服务对接中,请求视频的厂商作为上级,提供视频的厂商作为下级,上级平台希望能够实时浏览下级设备的视频。
上下级视频服务对接已经发展的相当成熟,目前大都是采用WebService、SDK方式对外公布接口或是通过协议方式进行交互。
发明人在实现本申请的过程中,发现相关技术存在以下问题:首先,采用上述几种方式进行对接,都需要提供接口一方、或双方具有一定的技术积累,然而并非每个厂家都会有这样的技术积累,或者说面对没有对接经验的厂家,采用上面三种方案显然都是比较乏力的。其次,无论采用哪种方式对接,目前大都是通过对接服务器从下级平台获取视频源,再通过网络传输交给客户端解码显示,这样一来客户端浏览视频的服务质量在很大程度上将取决于对接服务器与下级平台、以及对接服务器与客户端之间的网络传输质量。
因此,针对上述两点问题,亟需一种不需要双方底层网络通信模块去实现视频码流的传输的方法,以降低网络带宽限制带来的视频服务质量出现问题的概率。
发明内容
本申请实施例针对现有技术中需要双方底层网络通信模块去实现视频码流的传输,基于现有的视频请求模式或方法比较复杂;以及客户端浏览视频的服务质量依赖于网络传输质量的技术问题,提供视频监控系统、客户端和信令交互服务器及控制方法。
为解决上述技术问题,本申请实施例采用的一个技术方案是:提供一种视频监控系统的客户端控制方法,该方法包括:
所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种视频监控系统的信令交互服务器控制方法,该方法包括:
所述信令交互服务器根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种视频监控系统的控制方法,所述视频监控系统包括客户端、信令交互服务器、流媒体服务器和下级平台设备;
所述下级平台设备包括获取并提供视频的前端设备以及与所述前端设备连接并提供解码通道的解码器;
所述视频监控系统的控制方法包括:
所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量,并且所述编码器与所述解码器有线连接。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种视频监控系统的客户端,包括:
编码器,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种视频监控系统的信令交互服务器,包括:
配置管理模块,用于根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种视频监控系统,所述视频监控系统包括客户端、信令交互服务器、流媒体服务器和下级平台设备;
所述下级平台设备包括获取并提供视频的前端设备以及与所述前端设备连接以提供解码通道的解码器;
所述客户端包括与所述解码器有线连接的编码器,且所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
本申请实施例提供视频监控系统、客户端和信令交互服务器及控制方法,区别于现有技术的情况,本申请实施例中,客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是现有技术的视频监控系统;
图2是本申请实施例提供的视频监控系统的编解码原理图;
图3a是本申请实施例提供的视频监控系统的客户端结构框图;
图3b是本申请另一实施例提供的视频监控系统的客户端结构框图;
图4是本申请实施例提供的视频监控系统框架图;
图5是本申请实施例提供的视频监控系统请求视频时序图;
图6a是本申请实施例提供的视频监控系统的信令交互服务器结构框图;
图6b是本申请另一实施例提供的视频监控系统的信令交互服务器结构框图;
图7是本申请又一实施例视频监控系统的信令交互服务器维护的编码器信息列表;
图8是本申请实施例提供的视频监控系统的结构框图;
图9是本申请实施例提供的视频监控系统的客户端控制方法的流程示意图;
图10是本申请实施例提供的视频监控系统的信令交互服务器控制方法的流程示意图;
图11是本申请实施例提供的视频监控系统控制方法的流程示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
随着数字视频技术和网络技术的发展,网络视频监控系统突破原有模拟监控系统和数字监控系统的局限,借助无处不在的网络,将模拟视频经过编码压缩后在网络上承载,并在远端解码呈现。
现有技术常见的视频监控系统通常包括一个中央管理服务器(CMS,Central Management Server)和媒体交换机(MS,Media Switch),媒体交换机也可被流媒体服务器(SMS,Streaming Media Server)替代。每个MS管辖区域内包括有一个用于处理媒体流的复制和分发的MS,还包括有至少一个客户端单元(CU,Client Unit)和/或前端单元(PU,Peripheral Unit)。
其中,PU是视频监控系统的信息采集端,实现视频信息、音频信息、数据信息及告警信息的采集功能。PU通常位于网络的边缘位置,经过网络的接入层、汇聚层等交换路由设备,与核心层互通。PU通常是指编码器设备。
CU是视频监控系统的客户应用端,实现视频信息、音频信息、数据信息及告警信息对用户的呈现。CU的接入方式较复杂,通常位于网络的边缘位置和核心位置。CU通常是指解码器设备。
CMS是视频监控系统的中心管理服务器,实现作为应用服务器提供视频监控业务视频监控业务;作为管理中心提供客户/用户管理、前端/平台设备管理和虚拟域管理;作为存储中心存储用户数据和业务参数配置数据;作为告警消息的接收与分发;以及用于PU、CU之间通信的注册与控制。CMS作为业务控制层设备,通常位于核心层。
图1给出了现有技术中一种常见的视频监控系统,其MS管辖区域包括编码器区域和用户区域,其中,编码器区域,通常包括多个摄像机、多个PU和一个MS;用户区域,通常包括多个CU、多个监视器和一个MS。图1中,CMS设置在服务器区域。图1中的各个区域之间通过网络连接,各个区域的设备之间通过会话初始协议(SIP,Session Initiation Protocol)协议进行通信。
通过流媒体服务器SMS从下级平台的前端单元PU获取视频源,再通过网络传输交给客户端单元CU解码显示,这样一来客户端单元PU浏览视频的服务质量在很大程度上将取决于流媒体服务器SMS与下级平台、以及流媒体服务器SMS与客户端单元PU之间的网络传输质量。
基于上述考虑,本申请实施例提供了视频监控系统及其客户端和信令交互服务器,以及上述三者的控制方法。图4是本申请实施例提供的视频监控系统的上级平台(包括客户端)请求下级平台设备视频的框架图,如图4所示,视频监控系统100,包括客户端10、信令交互服务器20、流媒体服务器30和下级平台设备40,下面分别其进行详述。
实施例1
基于上述考虑,本申请实施例提供了视频监控系统的客户端10。图3a是该视频监控系统的客户端10结构框图,如图3a所示,该客户端包括编码器11。所述编码器11为所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器11,以使所述客户端二次解码经所述编码器11二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
进一步地,编码器10与所述解码器有线连接。图2是该视频监控系统的编解码原理图,如图2所示,具体地,编码器10与解码器可以通过HDMI数据线连接。多路编码通道与多路解码通道一一连接。
进一步地,客户端创建编码器11时也配置其相关信息,如编码器编码通道的路由信息,IP、端口号以及接入方式等。
本申请实施例提供视频监控系统的客户端10,客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器11,以使所述客户端二次解码经所述编码器11二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的客户端,所述客户端的创建的编码器11,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提升了用户体验。
在另一实施例中,图3b是该实施例提供的视频监控系统的客户端10结构框图。如图3b所示,所述客户端还包括信令发送模块12、获取和判断模块13、接收模块14、选择模块15和请求视频模块16。
信令发送模块12,用于发送请求视频信令。
具体地,客户端可根据接收到用户根据需求发送的请求视频指示而生成请求视频信令。客户端的数量可以为一个或多个,多个客户端创建的编码器11均为根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器11,以使所述客户端二次解码经所述编码器11二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
获取和判断模块13,用于根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量。具体地,客户端同时浏览视频路数为信令交互服务器读取的当前客户端同时浏览视频路数。
在本申请的一些可选实施例中,设定下级平台设备的解码器解码通道的数量为M,客户端同时浏览视频数量为N,信令交互服务器根据当前客户端同时浏览视频情况,如果浏览路数不足N路,即M<N,信令交互服务器会选择一路状态为未使用的编码器路由信息给客户 端。如果已经达到N路视频,即M=N,一方面客户端可以主动关闭一路或多路视频,信令交互服务器收到关闭视频命令后,再向下级平台发送关闭视频命令,信令交互服务器更新编码器使用状态并再将其路由信息返回给客户端;另一方面,如果客户端不主动关闭,信令交互服务器默认会关闭最后一路视频,即第N路视频,然后将第N路视频路由发给客户端。如果解码器解码通道的数量M大于客户端同时浏览视频路数N,即M>N,可重复上述的客户端可以主动关闭一路或多路视频或信令交互服务器默认会关闭最后一路视频,直到浏览路数不足N路,即M<N,停止关闭视频,信令交互服务器会选择一路状态为未使用的编码器路由信息给客户端。客户端根据返回的编码器路由信息,向流媒体服务器发送视频请求,该后续流程同请求本级设备视频是一样。
图5为网管平台TCP方式请求视频时序图。如图5所示,请求本级设备视频具体流程说明如下:
客户端先从信令交互服务器获取视频路由信息后,向流媒体服务器发送INVITE请求;
流媒体服务器收到INVITE请求,首先保存一份INVITE请求,判断该请求是要流媒体服务器处理的,并且服务器还没有建立和前端PU(前端设备,编码器或IPC设备)的媒体会话,流媒体服务器发起一个到前端PU的INVITE请求。在请求过程中,如果收到新的客户端的请求都会被保存下来;
流媒体服务器收到PU的200OK(表示请求成功)回应后,发送ACK确认信息给前端PU,同时回应所有的客户端请求。前端PU在接收到ACK后,根据协议中指定的目标地址,建立一个TCP连接,开始给流媒体服务器发送媒体数据;
客户端收到流媒体服务器的200OK回应后,发送ACK给流媒体服务器,同时建立一个TCP连接到流媒体服务器,并且报告媒体会话的Call-ID(媒体会话的唯一标识),流媒体服务器查找相应的媒体会话,可能会有很多客户端,如果多个客户端向同一个前端PU请求视频,流媒体服务器一般只有一份视频数据源,但是流媒体服务器就是通过目标发送类来标识要把这份视频源发给哪些客户端。流媒体服务器创建一个TCP的发送目标类,加入到发送队列中,同时请求前端PU动态产生一个I帧,即关键帧;客户端需要关键帧才能解码。如果此时前端PU不立刻发送一个动态产生的关键帧,客户端可能会出现一小段时间黑屏,等到第一个关键帧来的的时候才会出现正常画面。流媒体服务器开始给客户端发送媒体数据。
在本实施例中,信令发送模块12还用于若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令。
接收模块14,用于接收信令交互服务器返回的根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息,以及接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;
选择模块15,用于根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;
请求视频模块16,用于根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
本实施例的有益效果,在本申请实施例中,设定下级平台设备的解码器解码通道的数量为M,客户端同时浏览视频数量为N,信令交互服务器根据当前客户端同时浏览视频情况, 如果客户端同时浏览视频路数已经达到N路视频,即M=N,客户端可以主动发送关闭一路或多路客户端浏览视频的关闭视频信令,信令交互服务器收到关闭视频命令后,再向下级平台设备发送关闭解码器解码通道信令,信令交互服务器更新编码器使用状态并再将其路由信息返回给客户端,客户端根据路由信息向流媒体服务器请求视频,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到并不超过解码通道的最大数量;信令交互服务器能够正确维护视频路由信息,编码器与解码器之间通过有线连接,即可实现请求其他厂商(下级平台设备)视频流程就如同网管平台(上级平台,包括客户端)请求自身的本地视频一样传输实时且质量较高。
在一些实施例中,所述选择模块还用于若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
本实施例的有益效果,发送请求视频信令在客户端同时浏览视频路数未达到解码器解码通道的最大数量时均可以满足,下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率。
实施例2
图6a是本申请实施例提供的视频监控系统的信令交互服务器结构框图,如图6a所示,本申请实施例提供视频监控系统的信令交互服务器20,包括配置管理模块21。
所述配置管理模块21,用于根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
本申请实施例提供视频监控系统的信令交互服务器20,配置管理模块21,用于根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的信令交互服务器,所述客户端的创建的编码器11,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提升了用户体验。
图6b是本申请另一实施例提供的视频监控系统的信令交互服务器结构框图,如图6b所示,所述信令交互服务器还包括信令交互模块22和维护模块23。
信令交互模块22,用于获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;
维护模块23,用于当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
值得说明的是,信令交互服务器需要重点对下级平台设备的解码器解码通道的路由信息进行维护,在启动时会从本地配置文件(上级编码器路由信息)将客户端创建的N个编码器编码通道的路由信息,包括编码器ID、状态、流媒体服务器的地址读到内存并实时更新维护这些信息。这里还可以根据实际情况,配置流媒体服务器的地址,实现负载均衡,即尽量将编码器平均分配到各个流媒体服务器上。图7为视频监控系统的信令交互服务器维护的编码器信息列表,如图7所示,具体内存会维护两个路由信息链表分别为已经请求视频的编码器列表和未请求视频的编码器列表。
本申请的有益效果在于,在本申请实施例中,信令交互服务器摒弃了流媒体转发模块,而只负责客户端与下级平台设备的信令交互,不再负责流媒体数据的转发功能;信令交互服务器改变原有信令交互方式以及视频传输方式后,在提高系统安全性以及降低后期维护成本两方面都有较大的优势。
在另一实施例中,所述信令交互模块还用于当信令交互服务器收到所述客户端发送的请求视频信令时,判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;
所述维护模块还用于实时更新根据请求视频信令关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
在本申请的实施例中,设定下级平台设备的解码器解码通道的数量为M,客户端同时浏览视频数量为N,信令交互服务器根据当前客户端同时浏览视频情况,如果已经达到N路视频,即M=N,客户端未主动关闭一路或多路视频,信令交互服务器默认会关闭最后一路视频,即第N路视频,然后将第N路视频路由信息发给客户端。
本申请实施例的有益效果在于,所述信令交互模块还用于判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;这样,不管客户端是否主动发送关闭客户端浏览视频的关闭视频信令,信令交互服务器均可关闭一路解码器解码通道客户端浏览视频,信令交互服务器更新编码器使用状态并再将其路由信息返回给客户端,客户端根据路由信息向流媒体服务器请求视频,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到并不超过解码通道的最大数量;信令交互服务器能够正确维护视频路由信息,编码器与解码器之间通过有线连接,即可实现请求其他厂商(下级平台设备)视频流程就如同网管平台(上级平台)请求自身的本地视频一样传输实时且质量较高。
实施例3
图8是本申请实施例提供的视频监控系统的结构框图,如图8所示,本申请实施例提供视频监控系统100,包括客户端10、信令交互服务器20、流媒体服务器30和下级平台设备 40。
所述下级平台设备40包括获取并提供视频的前端设备以及与所述前端设备连接以提供解码通道的解码器;
所述客户端10包括与所述解码器有线连接的编码器,且所述编码器为所述客户端10根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端10二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
本申请实施例提供视频监控系统100,客户端10包括与所述解码器有线连接的编码器,且所述编码器为所述客户端10根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端10二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备40的视频经前端设备一次编码后,由解码器一次解码,客户端10创建编码器,对解码器一次解码后的视频进行二次编码,客户端10和下级平台设备40双方底层网络通信模块经过流媒体服务器30传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器30的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的视频监控系统100,所述客户端的创建的编码器11,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提升了用户体验。
在另一实施例中,所述信令交互服务器20用于根据所述客户端10创建的编码器编码通道路由信息配置上级编码器路由信息;获取下级平台设备40列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备40发送关闭解码器解码通道信令或请求解码器解码通道信令;当信令交互服务器20收到所述客户端10发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备40的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端10。
信令交互服务器20维护编码器信息列表。需要说明的是,上述视频监控系统100的信令交互服务器20,由于与本申请的实施例2的视频监控系统的信令交互服务器20基于同一构思,具体内容可参见本申请实施例2中的叙述,此处不再详述。
本申请的有益效果在于,在本申请实施例中,信令交互服务器摒弃了流媒体转发模块,而只负责客户端与下级平台设备的信令交互,不再负责流媒体数据的转发功能;信令交互服务器改变原有信令交互方式以及视频传输方式后,在提高系统安全性以及降低后期维护成本两方面都有较大的优势。
在又一实施例中,所述客户端10用于发送请求视频信令;根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
当信令交互服务器20收到所述客户端10发送的关闭视频信令时,则所述信令交互服务器20向下级平台设备40发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端10;实时更新根据关闭视频信令关 闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端10;
所述客户端10还用于接收信令交互服务器20返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器20返回的包含根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器20返回的包含根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器30请求视频。
需要说明的是,上述视频监控系统100的客户端10和信令交互服务器20,由于与本申请的实施例1的视频监控系统的信令交互服务器10以及实施例2的视频监控系统的信令交互服务器20基于同一构思,具体内容可参见本申请实施例2中的叙述,此处不再详述。
本实施例的有益效果,在本申请实施例中,设定下级平台设备40的解码器解码通道的数量为M,客户端同时浏览视频数量为N,信令交互服务器40根据当前客户端同时浏览视频情况,如果客户端同时浏览视频路数已经达到N路视频,即M=N,客户端10可以主动发送关闭一路或多路客户端浏览视频的关闭视频信令,信令交互服务器20收到关闭视频命令后,再向下级平台设备40发送关闭解码器解码通道信令,信令交互服务器20更新编码器使用状态并再将其路由信息返回给客户端10,客户端10根据路由信息向流媒体服务器请求视频,以使所述客户端10二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到并不超过解码通道的最大数量;信令交互服务器20能够正确维护视频路由信息,编码器与解码器之间通过有线连接,即可实现请求其他厂商(下级平台设备)视频流程就如同网管平台(上级平台,包括客户端)请求自身的本地视频一样传输实时且质量较高。
在再一实施例中,所述客户端10还用于发送请求视频信令;
当信令交互服务器20收到所述客户端10发送的请求视频信令时,所述信令交互服务器20还用于判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则根据请求视频信令向下级平台设备40发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端10;实时更新根据请求视频信令而关闭的最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端10;
所述客户端10还用于接收信令交互服务器20返回的根据请求视频信令向下级平台设备40发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器20返回的根据请求视频信令实时更新所关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器20返回的根据请求视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
需要说明的是,上述视频监控系统100的客户端10和信令交互服务器20,由于与本申 请的实施例1的视频监控系统的信令交互服务器10以及实施例2的视频监控系统的信令交互服务器20基于同一构思,具体内容可参见本申请实施例2中的叙述,此处不再详述。
本申请实施例的有益效果在于,所述信令交互服务器20还用于判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备40发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;这样,不管客户端10是否主动发送关闭客户端浏览视频的关闭视频信令,信令交互服务器20均可关闭一路解码器解码通道客户端浏览视频,信令交互服务器20更新编码器使用状态并再将其路由信息返回给客户端10,客户端10根据路由信息向流媒体服务器请求视频,以使所述客户端10二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到并不超过解码通道的最大数量;信令交互服务器20能够正确维护视频路由信息,编码器与解码器之间通过有线连接,即可实现请求其他厂商(下级平台设备)视频流程就如同网管平台(上级平台)请求自身的本地视频一样传输实时且质量较高。
在一些实施例中,所述客户端10还用于若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
本实施例的有益效果,所述客户端10用于发送请求视频信令在客户端同时浏览视频路数未达到解码器解码通道的最大数量时均可以满足,下级平台设备40的视频一次编码后,由解码器一次解码,客户端10创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器30的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率。
实施例4
请参考图9,图9是本申请实施例提供的视频监控系统的客户端控制方法的流程示意图。如图9所示,所述方法包括:
步骤101、所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
需要说明的是,上述方法步骤所执行的内容,由于与本申请的实施例1-3基于同一构思,具体内容可参见本申请实施例1-3中的叙述,此处不再详述。
本申请实施例提供视频监控系统的客户端10,客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器11,以使所述客户端二次解码经所述编码器11二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的客户端,所述客户端的创建的编码器11,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提 升了用户体验。
在本申请另一实施例提中,与上述方法实施例的区别在于,所述方法还包括:
步骤102、发送请求视频信令;
步骤103、根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;
步骤104、若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
步骤105、接收信令交互服务器返回的根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息,以及接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;
步骤106、根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;
步骤107、根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
在本申请又一实施例中,与上述方法实施例的区别在于,所述客户端控制方法还包括:
步骤108、所述选择模块还用于若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
实施例5
如图10所示,本申请实施例还提供视频监控系统的信令交互服务器控制方法,包括:
步骤201、所述信令交互服务器根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
需要说明的是,上述方法步骤所执行的内容,由于与本申请的实施例1-4基于同一构思,具体内容可参见本申请实施例1-4中的叙述,此处不再详述。
本申请实施例提供视频监控系统的信令交互服务器20,配置管理模块21,用于根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器11,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的信令交互服务器,所述客户端的创建的编码器11,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提升了用户体验。
在另一实施例中,所述视频监控系统的信令交互服务器控制方法,还包括:
步骤202、获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;
步骤203、当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
在又一实施例中,所述视频监控系统的信令交互服务器控制方法,还包括:
步骤204、当信令交互服务器收到所述客户端发送的请求视频信令时,判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;
步骤205、实时更新根据请求视频信令关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
实施例6
如图11所示,本申请实施例还提供视频监控系统的控制方法,所述视频监控系统包括客户端、信令交互服务器、流媒体服务器和下级平台设备;
所述下级平台设备包括获取并提供视频的前端设备以及与所述前端设备连接并提供解码通道的解码器;
所述视频监控系统的控制方法包括:
步骤301、所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量,并且所述编码器与所述解码器有线连接。
需要说明的是,上述方法步骤所执行的内容,由于与本申请的实施例1-5基于同一构思,具体内容可参见本申请实施例1-5中的叙述,此处不再详述。
本申请实施例提供视频监控系统的控制方法,客户端包括与所述解码器有线连接的编码器,且所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频经前端设备一次编码后,由解码器一次解码,客户端创建编码器,对解码器一次解码后的视频进行二次编码,客户端和下级平台设备双方底层网络通信模块经过流媒体服务器传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率,例如能够在一定程度上降低由于网络传输原因(如:丢包率、网络延迟或带宽较窄)导致的视频花屏或马赛克现象。本申请实施例提供基于二次编解码技术的实现上下级视频监控系统控制方法的视频监控系统的控制方法,所述客户端的创建的编码器,配合下级平台设备的解码器,能够很好的实现上级平台实时浏览下级平台设备视频的需求,提升了用户体验。
在另一实施例中,所述视频监控系统的控制方法还包括:
步骤302、所述信令交互服务器根据所述客户端创建的编码器编码通道路由信息配置上 级编码器路由信息;获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
在又一实施例中,所述视频监控系统的控制方法还包括:
步骤303、所述客户端发送请求视频信令;根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
步骤304、当信令交互服务器收到所述客户端发送的关闭视频信令时,则所述信令交互服务器向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据关闭视频信令关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
步骤305、所述客户端接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的包含根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的包含根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
在再一实施例中,所述视频监控系统的控制方法还包括:
步骤306、所述客户端发送请求视频信令;
当信令交互服务器收到所述客户端发送的请求视频信令时,所述信令交互服务器判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据请求视频信令而关闭的最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
步骤307、所述客户端接收信令交互服务器返回的根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的根据请求视频信令实时更新所关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据请求视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
在一些实施例中,所述视频监控系统的控制方法还包括:
步骤308、若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
本申请实施例还提供包括软件代码部分的计算机程序产品,所述软件代码部分被配置用于当在计算机的存储器中运行时执行实施例4、实施例5或实施例6中所述的方法步骤。
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据数据转发装置的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至视频监控系统及其客户端、信令交互服务器或下级平台设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
存储器作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的视频监控系统的控制方法、客户端的控制方法和信息交互服务器的控制方法对应的程序指令/模块。处理器通过运行存储在存储器中的非易失性软件程序、指令以及模块,从而执行视频监控系统的各种功能应用以及数据处理,实现视频监控系统的控制方法、客户端的控制方法和信息交互服务器的控制方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
工业实用性
本发明所提供的视频监控系统的客户端控制方法,客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。下级平台设备的视频一次编码后,由解码器一次解码,客户端创建编码器,对解码器一次解码后的视频进行二次编码,双方底层网络通信模块传输二次编码的数据代替直接传输视频码流,占用的网络带宽降低,可节省流媒体服务器的性能开销、减少后期维护工作量以及降低网络带宽限制带来的视频服务质量出现问题的概率。

Claims (22)

  1. 视频监控系统的客户端控制方法,其特征在于,包括:
    所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
  2. 根据权利要求1所述的客户端控制方法,其特征在于,所述方法还包括:
    发送请求视频信令;
    根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;
    若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
    接收信令交互服务器返回的根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息,以及接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;
    根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;
    根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  3. 根据权利要求2所述的客户端控制方法,其特征在于,所述方法还包括:
    若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
  4. 视频监控系统的信令交互服务器控制方法,其特征在于,包括:
    所述信令交互服务器根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
  5. 根据权利要求4所述的信令交互服务器控制方法,其特征在于,所述信令交互服务器控制方法还包括:
    获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;
    当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  6. 根据权利要求5所述的信令交互服务器控制方法,其特征在于,
    当信令交互服务器收到所述客户端发送的请求视频信令时,判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;
    实时更新根据请求视频信令关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息,且 实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  7. 视频监控系统的控制方法,其特征在于,所述视频监控系统包括客户端、信令交互服务器、流媒体服务器和下级平台设备;
    所述下级平台设备包括获取并提供视频的前端设备以及与所述前端设备连接并提供解码通道的解码器;
    所述视频监控系统的控制方法包括:
    所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量,并且所述编码器与所述解码器有线连接。
  8. 根据权利要求7所述的视频监控系统的控制方法,其特征在于,所述视频监控系统的控制方法还包括:
    所述信令交互服务器根据所述客户端创建的编码器编码通道路由信息配置上级编码器路由信息;获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  9. 根据权利要求8所述的视频监控系统的控制方法,其特征在于,所述视频监控系统的控制方法还包括:
    所述客户端发送请求视频信令;根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
    当信令交互服务器收到所述客户端发送的关闭视频信令时,则所述信令交互服务器向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据关闭视频信令关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
    所述客户端接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的包含根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的包含根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  10. 根据权利要求8所述的视频监控系统的控制方法,其特征在于,所述视频监控系统的控制方法还包括:
    所述客户端发送请求视频信令;
    当信令交互服务器收到所述客户端发送的请求视频信令时,所述信令交互服务器判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据请求视频信令而关闭的最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
    所述客户端接收信令交互服务器返回的根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的根据请求视频信令实时更新所关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据请求视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  11. 根据权利要求9或10所述的视频监控系统的控制方法,其特征在于,所述视频监控系统的控制方法还包括:
    若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
  12. 视频监控系统的客户端,其特征在于,包括:
    编码器,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
  13. 根据权利要求12所述的客户端,其特征在于,所述客户端还包括:
    信令发送模块,用于发送请求视频信令;
    获取和判断模块,用于根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;
    信令发送模块还用于若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
    接收模块,用于接收信令交互服务器返回的根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息,以及接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;
    选择模块,用于根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;
    请求视频模块,用于根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  14. 根据权利要求13所述的客户端,其特征在于,所述选择模块还用于:
    若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
  15. 视频监控系统的信令交互服务器,其特征在于,包括:
    配置管理模块,用于根据客户端创建的编码器编码通道路由信息配置上级编码器路由信息,其中,所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
  16. 根据权利要求14所述的信令交互服务器,其特征在于,所述信令交互服务器还包括:
    信令交互模块,用于获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;
    维护模块,用于当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  17. 根据权利要求16所述的信令交互服务器,其特征在于,
    所述信令交互模块还用于当信令交互服务器收到所述客户端发送的请求视频信令时,判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,且未接收到所述客户端发送的关闭视频信令时,则向下级平台设备发送关闭最后一路解码器解码通道客户端浏览视频的关闭解码器解码通道信令;
    所述维护模块还用于实时更新根据请求视频信令关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  18. 视频监控系统,其特征在于,所述视频监控系统包括客户端、信令交互服务器、流媒体服务器和下级平台设备;
    所述下级平台设备包括获取并提供视频的前端设备以及与所述前端设备连接以提供解码通道的解码器;
    所述客户端包括与所述解码器有线连接的编码器,且所述编码器为所述客户端根据下级平台设备的解码器解码通道的数量创建的具备至少同等数量的编码通道的编码器,以使所述客户端二次解码经所述编码器二次编码的最大同时浏览视频路数能够达到解码通道的最大数量。
  19. 根据权利要求18所述的视频监控系统,其特征在于:
    所述信令交互服务器用于根据所述客户端创建的编码器编码通道路由信息配置上级编码器路由信息;获取下级平台设备列表和状态,以及获取关闭视频信令或请求视频信令,并根据所述关闭视频信令或请求视频信令向下级平台设备发送关闭解码器解码通道信令或请求解码器解码通道信令;当信令交互服务器收到所述客户端发送的关闭视频信令和请求视频信令时,根据所述关闭视频信令和请求视频信令查询下级平台设备的解码器解码通道路由信息,且实时更新维护所述编码器编码通道的编码器使用状态信息,并返回给所述客户端。
  20. 根据权利要求18所述的视频监控系统,其特征在于:
    所述客户端用于发送请求视频信令;根据所述请求视频信令获取客户端同时浏览视频路数并判断是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则发送关闭一路或多路客户端浏览视频的关闭视频信令;
    当信令交互服务器收到所述客户端发送的关闭视频信令时,则所述信令交互服务器向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据关闭视频信令关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
    所述客户端还用于接收信令交互服务器返回的根据关闭视频信令向下级平台设备发送关闭一路或多路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的包含根据关闭视频信令实时更新所关闭一路或多路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的包含根据关闭视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  21. 根据权利要求18所述的视频监控系统,其特征在于:
    所述客户端还用于发送请求视频信令;
    当信令交互服务器收到所述客户端发送的请求视频信令时,所述信令交互服务器还用于判断所述客户端同时浏览视频路数是否达到解码器解码通道的最大数量;若所述客户端同时浏览视频路数达到解码器解码通道的最大数量,则根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令,实时更新解码器解码通道路由信息,并返回给所述客户端;实时更新根据请求视频信令而关闭的最后一路客户端浏览视频所占用编码器编码通道的路由信息,且实时更新维护编码器编码通道的编码器使用状态信息,并返回给所述客户端;
    所述客户端还用于接收信令交互服务器返回的根据请求视频信令向下级平台设备发送关闭最后一路客户端浏览视频的关闭解码器解码通道信令而实时更新的解码器解码通道路由信息;接收信令交互服务器返回的根据请求视频信令实时更新所关闭最后一路客户端浏览视频所占用编码器编码通道的路由信息、接收信令交互服务器返回的根据请求视频信令实时更新的编码器编码通道的视频请求状态为未使用的编码器使用状态信息;根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息;根据所选择的一路未使用的编码器编码通道的路由信息和解码器解码通道路由信息向流媒体服务器请求视频。
  22. 根据权利要求19或20所述的视频监控系统,其特征在于,
    若所述客户端同时浏览视频路数未达到解码器解码通道的最大数量,则所述客户端还用于根据所述请求视频信令和编码器使用状态信息,选择一路视频请求状态为未使用的编码器编码通道的路由信息。
PCT/CN2017/076660 2017-03-14 2017-03-14 视频监控系统、客户端和信令交互服务器及控制方法 WO2018165869A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/076660 WO2018165869A1 (zh) 2017-03-14 2017-03-14 视频监控系统、客户端和信令交互服务器及控制方法
CN201780002152.7A CN109479121B (zh) 2017-03-14 2017-03-14 视频监控系统、客户端和信令交互服务器及控制方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/076660 WO2018165869A1 (zh) 2017-03-14 2017-03-14 视频监控系统、客户端和信令交互服务器及控制方法

Publications (1)

Publication Number Publication Date
WO2018165869A1 true WO2018165869A1 (zh) 2018-09-20

Family

ID=63522696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076660 WO2018165869A1 (zh) 2017-03-14 2017-03-14 视频监控系统、客户端和信令交互服务器及控制方法

Country Status (2)

Country Link
CN (1) CN109479121B (zh)
WO (1) WO2018165869A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770316B (zh) * 2020-07-22 2021-11-02 广州芯象科技有限公司 一种音视频编码器
CN111784077A (zh) * 2020-07-23 2020-10-16 国网浙江省电力有限公司检修分公司 一种基于边缘侧的电力设备状态的预测方法和装置
CN114363609B (zh) * 2022-01-07 2024-04-26 重庆紫光华山智安科技有限公司 解码控制方法、装置、解码设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808233A (zh) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 一种通用的手机视频监控实现系统和方法
US20120098969A1 (en) * 2010-10-22 2012-04-26 Alcatel-Lucent Usa, Inc. Surveillance Video Router
CN102497541A (zh) * 2011-12-21 2012-06-13 北京硅盾安全技术有限公司 一种智能视频信息分配与编码方法
CN104219500A (zh) * 2014-08-27 2014-12-17 天津市中信互联科技有限公司 监控视频直播的装置和方法
CN104768026A (zh) * 2015-04-17 2015-07-08 中国工商银行股份有限公司 一种多信道音视频转码装置
CN104980752A (zh) * 2015-06-11 2015-10-14 武汉大千信息技术有限公司 利用cpu和gpu实现多路自适应并行转码的方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935923B (zh) * 2015-06-12 2018-07-10 广东威创视讯科技股份有限公司 信号编码方法及系统、信号解码方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808233A (zh) * 2009-02-18 2010-08-18 杭州海康威视数字技术股份有限公司 一种通用的手机视频监控实现系统和方法
US20120098969A1 (en) * 2010-10-22 2012-04-26 Alcatel-Lucent Usa, Inc. Surveillance Video Router
CN102497541A (zh) * 2011-12-21 2012-06-13 北京硅盾安全技术有限公司 一种智能视频信息分配与编码方法
CN104219500A (zh) * 2014-08-27 2014-12-17 天津市中信互联科技有限公司 监控视频直播的装置和方法
CN104768026A (zh) * 2015-04-17 2015-07-08 中国工商银行股份有限公司 一种多信道音视频转码装置
CN104980752A (zh) * 2015-06-11 2015-10-14 武汉大千信息技术有限公司 利用cpu和gpu实现多路自适应并行转码的方法及系统

Also Published As

Publication number Publication date
CN109479121A (zh) 2019-03-15
CN109479121B (zh) 2020-09-01

Similar Documents

Publication Publication Date Title
US10455404B2 (en) Quality of experience aware multimedia adaptive streaming
JP6943838B2 (ja) マルチティアドエンコーディングを有するデータを配信するためのシステム、デバイス、及び方法
US8683007B2 (en) Seamless transfer of media streams
US9716916B2 (en) Adaptive multicast delivery of media streams
KR102002676B1 (ko) Dash를 위한 클라이언트/서버 시그널링 명령
JP5650197B2 (ja) マルチキャスト配信を通じてメディアを提供するシステムのための方法及び装置
JP2000165436A (ja) マルチメディア・デ―タ・フロ―のネットワ―ク・トランスコ―ディング方法及び装置
WO2013017165A1 (en) Shaping media traffic based on manifest file in http adaptive streaming
WO2018165869A1 (zh) 视频监控系统、客户端和信令交互服务器及控制方法
CN111431966B (zh) 一种业务请求处理方法、装置、电子设备及存储介质
US8749612B1 (en) Reduced bandwidth usage in video conferencing
EP3669506B1 (en) Stream control system for use in a network
TW201204037A (en) Use of picture-in-picture stream for internet protocol television fast channel change
CN111131840B (zh) 一种视频业务系统切换网络的方法及装置
US10425458B2 (en) Adaptive bit rate streaming with multi-interface reception
CN110519331B (zh) 一种视联网资源处理方法及装置
US20100017837A1 (en) Method of securing resources in a video and audio streaming delivery system
CN102387138B (zh) 一种基于屏幕保护的数据传输方法和设备
CN110798706A (zh) 视频转码方法和装置
CN111225241B (zh) 一种通信方法和装置
JP4993310B2 (ja) メディアストリームの品質イベントを特定する方法、端末、通信ノード装置及びプログラム
CA2657444C (en) Multi-tiered scalable media streaming systems and methods
WO2020104300A1 (en) Adaptative bit rate data casting
CN110740348A (zh) 视频转码方法和装置
Guo et al. Research on the service guarantee strategy based on streaming media platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900914

Country of ref document: EP

Kind code of ref document: A1