[go: up one dir, main page]

CN105828046A - Data flow transmission method and device - Google Patents

Data flow transmission method and device Download PDF

Info

Publication number
CN105828046A
CN105828046A CN201610324074.XA CN201610324074A CN105828046A CN 105828046 A CN105828046 A CN 105828046A CN 201610324074 A CN201610324074 A CN 201610324074A CN 105828046 A CN105828046 A CN 105828046A
Authority
CN
China
Prior art keywords
client
address
access device
data flow
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610324074.XA
Other languages
Chinese (zh)
Other versions
CN105828046B (en
Inventor
周迪
余剑声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610324074.XA priority Critical patent/CN105828046B/en
Publication of CN105828046A publication Critical patent/CN105828046A/en
Application granted granted Critical
Publication of CN105828046B publication Critical patent/CN105828046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种数据流的传输方法和装置,该方法包括:当视频管理服务器确定接入设备需要为目的客户端复制数据流时,则所述接入设备接收来自所述视频管理服务器的复制重定向策略;如果所述接入设备接收到匹配所述复制重定向策略的数据流,则所述接入设备按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。通过本发明的技术方案,可以减轻流媒体服务器的工作压力,节省流媒体服务器的处理资源,节约网络带宽,并可以及时完成数据流的复制分发,实时向客户端传输数据流。而且,在保证网络安全的前提下,可以使数据流的传输路径更加合理,尽量简化传输路径。

The present invention provides a data stream transmission method and device, the method comprising: when the video management server determines that the access device needs to copy the data stream for the target client, the access device receives the copied data stream from the video management server Redirection policy; if the access device receives a data flow that matches the copy redirection policy, the access device sends the data flow according to the destination address of the data flow, and uses the copy redirection The policy copies the new data flow for the destination client, and sends the new data flow to the destination client. Through the technical scheme of the present invention, the working pressure of the streaming media server can be reduced, the processing resources of the streaming media server can be saved, the network bandwidth can be saved, and the duplication and distribution of the data stream can be completed in time, and the data stream can be transmitted to the client in real time. Moreover, under the premise of ensuring network security, the transmission path of the data flow can be made more reasonable and the transmission path can be simplified as much as possible.

Description

一种数据流的传输方法和装置A data stream transmission method and device

技术领域technical field

本发明涉及视频监控技术领域,尤其涉及一种数据流的传输方法和装置。The present invention relates to the technical field of video surveillance, in particular to a data stream transmission method and device.

背景技术Background technique

流媒体是指以流方式在网络中传送数据流(如音频数据、视频数据和多媒体文件等)的媒体形式。与下载后观看的网络播放形式相比,流媒体的典型特征是:用户可以边下载边观看,而不必等待整个文件下载完毕。由于流媒体技术的优越性,该流媒体技术广泛应用于视频点播、视频会议、远程教育、远程医疗和在线直播系统中。其中,流媒体服务器是流媒体应用的核心设备,是运营商向用户提供服务的关键平台。流媒体服务器的主要功能是:对数据流进行采集、缓存、调度和传输播放,如以流式协议(如RTP(RealtimeTransportProtocol,实时传输协议)、RTSP(RealTimeStreamingProtocol,实时流传输协议)等)将数据流传输到客户端,供用户在线观看。Streaming media refers to a media form that transmits data streams (such as audio data, video data, and multimedia files, etc.) in a network in a streaming manner. Compared with the online broadcasting form of downloading and watching, the typical characteristics of streaming media are: users can watch while downloading, without having to wait for the entire file to be downloaded. Due to the superiority of streaming media technology, this streaming media technology is widely used in video on demand, video conferencing, distance education, telemedicine and online live broadcasting systems. Among them, the streaming media server is the core equipment of the streaming media application and the key platform for the operator to provide services to the users. The main functions of the streaming media server are: collecting, buffering, scheduling, and transmitting and playing data streams, such as streaming data with streaming protocols (such as RTP (RealtimeTransportProtocol, real-time transport protocol), RTSP (RealTimeStreamingProtocol, real-time streaming protocol), etc.) The stream is transmitted to the client for users to watch online.

视频监控系统是安全防范系统的重要组成部分,它是一种防范能力较强的综合系统。视频监控系统以其直观、准确、及时和信息内容丰富而广泛应用于许多场合。随着计算机、网络以及图像处理、传输技术的飞速发展,视频监控技术也有了长足的发展。目前,在视频监控系统中,针对前端设备(如网络摄像机、模拟摄像机、编码器等)采集到的数据流,可能有多个客户端需要点播该数据流。为此,需要在视频监控系统中部署流媒体服务器,由流媒体服务器复制多份数据流,并将复制的数据流分别发送给多个客户端。The video surveillance system is an important part of the security system, and it is a comprehensive system with strong prevention capabilities. Video surveillance system is widely used in many occasions because of its intuition, accuracy, timeliness and rich information content. With the rapid development of computer, network, image processing and transmission technology, video surveillance technology has also made great progress. Currently, in a video surveillance system, for data streams collected by front-end devices (such as network cameras, analog cameras, encoders, etc.), there may be multiple clients that need to order the data streams. To this end, a streaming server needs to be deployed in the video surveillance system, and the streaming server copies multiple data streams and sends the copied data streams to multiple clients respectively.

如图1所示,为在视频监控系统中部署流媒体服务器的组网示意图,数据流的传输过程为:前端设备在采集到数据流之后,将数据流发送给流媒体服务器。流媒体服务器在接收到数据流后,复制三份数据流,一份数据流发送给客户端1,另一份数据流发送给客户端2,另一份数据流发送给客户端3。As shown in Figure 1, it is a schematic diagram of a network where a streaming media server is deployed in a video surveillance system. The data stream transmission process is as follows: After the front-end device collects the data stream, it sends the data stream to the streaming media server. After receiving the data stream, the streaming media server copies three data streams, one data stream is sent to client 1, the other data stream is sent to client 2, and the other data stream is sent to client 3.

随着视频监控系统的发展,在视频监控系统中部署的前端设备越来越多,且点播数据流的客户端也越来越多,所有数据流的复制分发功能均由流媒体服务器处理时,流媒体服务器的工作压力太大,占用大量处理资源,而且可能无法及时完成数据流的复制分发,导致无法实时向客户端传输数据流。而且,流媒体服务器需要接收并发送大量的数据流,网络带宽的消耗过大。With the development of video surveillance systems, more and more front-end devices are deployed in video surveillance systems, and more and more clients request data streams. When the copy and distribution functions of all data streams are handled by streaming media servers, The working pressure of the streaming media server is too great, which takes up a lot of processing resources, and may not be able to complete the replication and distribution of the data stream in time, resulting in the inability to transmit the data stream to the client in real time. Moreover, the streaming media server needs to receive and send a large amount of data streams, which consumes too much network bandwidth.

发明内容Contents of the invention

本发明提供一种数据流的传输方法,应用于包括视频管理服务器和接入设备的视频监控系统中,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述方法包括:The present invention provides a data stream transmission method, which is applied to a video monitoring system including a video management server and an access device, and the video monitoring system also includes a destination client connected to the access device, and the The source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, the method includes:

当所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流时,则所述接入设备接收来自所述视频管理服务器的复制重定向策略;When the video management server determines that the access device needs to copy the data stream for the destination client, the access device receives a copy redirection policy from the video management server;

如果所述接入设备接收到匹配所述复制重定向策略的数据流,则所述接入设备按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。If the access device receives a data flow that matches the copy redirection policy, the access device sends the data flow according to the destination address of the data flow, and uses the copy redirection policy for the The destination client copies the new data stream, and sends the new data stream to the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述方法进一步包括:The video monitoring system also includes a streaming media server, the source device includes a front-end device, and the method further includes:

所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流的过程,具体包括:所述视频管理服务器在获知所述接入设备与所述前端设备连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;The process in which the video management server determines that the access device needs to copy the data stream for the destination client specifically includes: the video management server learns that the access device is connected to the front-end device, and communicates with the When the destination client is connected, if a message for requesting a data flow from the destination client is received, determine that the access device needs to copy the data flow for the destination client;

所述接入设备接收到匹配所述复制重定向策略的数据流的过程,具体包括:所述接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述前端设备的IP地址,且所述目的IP地址为所述流媒体服务器的IP地址,则确定所述数据流匹配到所述复制重定向策略;The process of the access device receiving the data flow matching the copy redirection policy specifically includes: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP The address is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow matches the copy redirection strategy;

所述接入设备利用所述复制重定向策略为所述目的客户端复制新数据流的过程,具体包括:所述接入设备复制所述数据流,并将复制后的数据流的源IP地址修改为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The process of the access device duplicating the new data flow for the destination client by using the copy redirection strategy specifically includes: the access device copies the data flow, and assigns the source IP address of the copied data flow to Modify it to the IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述方法进一步包括:The video monitoring system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the method further includes:

所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流的过程,具体包括:所述视频管理服务器在获知所述接入设备与所述来源客户端连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;The process in which the video management server determines that the access device needs to copy the data stream for the destination client specifically includes: the video management server learns that the access device is connected to the source client, and communicates with the source client. When the destination client is connected, if a message for requesting a data flow from the destination client is received, it is determined that the access device needs to copy the data flow for the destination client;

所述接入设备接收到匹配所述复制重定向策略的数据流的过程,具体包括:所述接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述流媒体服务器的IP地址,且所述目的IP地址为所述来源客户端的IP地址,则确定所述数据流匹配到所述复制重定向策略;The process of the access device receiving the data flow matching the copy redirection policy specifically includes: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP The address is the IP address of the streaming media server, and the destination IP address is the IP address of the source client, then it is determined that the data flow matches the copy redirection strategy;

所述接入设备利用所述复制重定向策略为所述目的客户端复制新数据流的过程,具体包括:所述接入设备复制所述数据流,并保持复制后的数据流的源IP地址为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The process of the access device duplicating the new data flow for the destination client by using the copy redirection strategy specifically includes: the access device copies the data flow, and keeps the source IP address of the copied data flow is the IP address of the streaming media server, and the destination IP address of the copied data stream is changed to the IP address of the destination client.

所述方法还包括:所述接入设备在接收到来自与本接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,将所述第一注册报文发送给所述视频管理服务器,并从所述第一注册报文中解析出所述目的客户端、来源客户端或者所述前端设备的设备信息,并向所述视频管理服务器发送第二注册报文,所述第二注册报文中携带所述设备信息、所述接入设备的信息,以使所述视频管理服务器利用所述第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。The method further includes: when the access device receives a first registration message from a destination client, a source client, or a front-end device connected to the access device, sending the first registration message to The video management server parses out the device information of the destination client, the source client, or the front-end device from the first registration message, and sends a second registration message to the video management server, The second registration message carries the device information and the information of the access device, so that the video management server uses the second registration message to know that the access device is connected to the destination client , and connect to the front-end device; or, learn that the access device is connected to the destination client and connect to the source client.

所述方法还包括:所述视频管理服务器在接收到来自所述目的客户端、所述来源客户端或者所述前端设备的第一注册报文后,如果在预设时间内未接收到来自所述接入设备的第二注册报文,则拒绝所述目的客户端、所述来源客户端或者所述前端设备接入到所述视频监控系统。The method further includes: after the video management server receives the first registration message from the destination client, the source client or the front-end device, if the video management server does not receive the first registration message from the rejecting the destination client, the source client or the front-end device from accessing the video surveillance system.

本发明提供一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,且所述数据流的传输装置应用在所述接入设备上,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述数据流的传输装置具体包括:The present invention provides a data stream transmission device, which is applied to a video surveillance system including a video management server and an access device, and the data stream transmission device is applied to the access device, and in the video surveillance system It also includes a destination client connected to the access device, a source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, and the data flow The transmission device specifically includes:

接收模块,用于当所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流时,则接收来自所述视频管理服务器的复制重定向策略;A receiving module, configured to receive a copy redirection policy from the video management server when the video management server determines that the access device needs to copy the data stream for the destination client;

处理模块,用于当接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。A processing module, configured to send the data flow according to the destination address of the data flow when receiving the data flow matching the copy redirection strategy, and use the copy redirection strategy to copy the data flow for the destination client A new data stream is generated, and the new data stream is sent to the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述处理模块,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为前端设备的IP地址,所述目的IP地址为流媒体服务器的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,将复制后的数据流的源IP地址修改为所述流媒体服务器的IP地址,将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址;或者,The video surveillance system further includes a streaming media server, the source device includes a front-end device, and the processing module is specifically configured to, during the process of receiving the data stream matching the copy redirection policy, from the received data Source IP address and destination IP address are resolved in the flow, if the source IP address is the IP address of the front-end equipment, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow is matched to the duplicate Orientation strategy: In the process of using the replication redirection strategy to copy the new data flow for the purpose client, copy the data flow, and modify the source IP address of the copied data flow to the IP of the streaming media server address, modifying the destination IP address of the copied data stream to the IP address of the destination client; or,

所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述处理模块,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述流媒体服务器的IP地址,且所述目的IP地址为所述来源客户端的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,并保持复制后的数据流的源IP地址为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The video surveillance system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the processing module is specifically configured to In the process of directing the data flow of the strategy, the source IP address and the destination IP address are resolved from the received data flow, if the source IP address is the IP address of the streaming media server, and the destination IP address is the If the IP address of the source client is used, then it is determined that the data flow matches the copy redirection strategy; in the process of copying the new data flow for the destination client using the copy redirection strategy, copy the data flow, And keep the source IP address of the copied data stream as the IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client.

还包括:注册模块,用于在接收到来自与所述接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,将所述第一注册报文发送给所述视频管理服务器,并从所述第一注册报文中解析出所述目的客户端、来源客户端或者所述前端设备的设备信息,并向所述视频管理服务器发送第二注册报文,所述第二注册报文中携带所述设备信息、所述接入设备的信息,以使所述视频管理服务器利用所述第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。It also includes: a registration module, configured to send the first registration message to the video management server, and parse out the device information of the destination client, source client or the front-end device from the first registration message, and send a second registration message to the video management server, the The second registration message carries the device information and the information of the access device, so that the video management server uses the second registration message to know that the access device is connected to the destination client, and Connect to the front-end device; or learn that the access device is connected to the destination client and connect to the source client.

本发明提供一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,且所述数据流的传输装置应用在所述视频管理服务器上,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述数据流的传输装置具体包括:The present invention provides a data stream transmission device, which is applied in a video surveillance system including a video management server and an access device, and the data stream transmission device is applied on the video management server, and in the video surveillance system It also includes a destination client connected to the access device, a source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, and the data flow The transmission device specifically includes:

确定模块,用于确定所述接入设备需要为所述目的客户端复制数据流;A determining module, configured to determine that the access device needs to copy the data flow for the destination client;

发送模块,用于向所述接入设备发送复制重定向策略;以使所述接入设备在接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。A sending module, configured to send a copy redirection policy to the access device; so that when the access device receives a data flow matching the copy redirection policy, it sends the copy redirection policy according to the destination address of the data flow The data stream is copied, and a new data stream is copied for the destination client by using the copy redirection policy, and the new data stream is sent to the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述确定模块,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述前端设备连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;或者,The video surveillance system further includes a streaming media server, the source device includes a front-end device, and the determining module is specifically configured to, in the process of determining that the access device needs to copy the data stream for the destination client, in When it is known that the access device is connected to the front-end device and the destination client, if a message for requesting a data stream is received from the destination client, then it is determined that the access device needs to be connected to the destination client. The destination client replicates the data stream; or,

所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述确定模块,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述来源客户端连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流。The video monitoring system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the determining module is specifically configured to determine that the access device needs to During the process of duplicating data streams for the destination client, when it is known that the access device is connected to the source client and connected to the destination client, if a request from the destination client is received If the data flow message is not received, it is determined that the access device needs to copy the data flow for the destination client.

基于上述技术方案,本发明实施例中,可以通过接入设备实现数据流的复制分发,而不用流媒体服务器对所有数据流实现复制分发,从而减轻流媒体服务器的工作压力,节省流媒体服务器的处理资源,节约网络带宽,并可以及时完成数据流的复制分发,实时向客户端传输数据流。而且,在保证网络安全的前提下,可以使数据流的传输路径更加合理,尽量简化传输路径。Based on the above technical solution, in the embodiment of the present invention, the replication and distribution of the data stream can be realized through the access device, instead of the streaming media server to realize the replication and distribution of all data streams, thereby reducing the working pressure of the streaming media server and saving the streaming media server Processing resources, saving network bandwidth, and can complete the replication and distribution of data streams in time, and transmit data streams to clients in real time. Moreover, under the premise of ensuring network security, the transmission path of the data flow can be made more reasonable and the transmission path can be simplified as much as possible.

附图说明Description of drawings

为了更加清楚地说明本发明实施例或者现有技术中的技术方案,下面将对本发明实施例或者现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention or the prior art. Obviously, the accompanying drawings in the following description These are only some embodiments described in the present invention, and those skilled in the art can also obtain other drawings according to these drawings.

图1是在视频监控系统中部署流媒体服务器的组网示意图;Fig. 1 is a schematic diagram of a network in which a streaming media server is deployed in a video surveillance system;

图2是本发明一种实施方式中的数据流的传输方法的流程图;Fig. 2 is a flowchart of a data stream transmission method in an embodiment of the present invention;

图3-图6是本发明一种实施方式中的应用场景示意图;3-6 are schematic diagrams of application scenarios in an embodiment of the present invention;

图7是本发明一种实施方式中的接入设备的硬件结构图;Fig. 7 is a hardware structural diagram of an access device in an embodiment of the present invention;

图8是本发明一种实施方式中的数据流的传输装置的结构图;FIG. 8 is a structural diagram of a data stream transmission device in an embodiment of the present invention;

图9是本发明一种实施方式中的视频管理服务器的硬件结构图;Fig. 9 is a hardware structural diagram of a video management server in an embodiment of the present invention;

图10是本发明一种实施方式中的数据流的传输装置的结构图。Fig. 10 is a structural diagram of a data stream transmission device in an embodiment of the present invention.

具体实施方式detailed description

在本发明使用的术语仅仅是出于描述特定实施例的目的,而非限制本发明。本发明和权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其它含义。还应当理解,本文中使用的术语“和/或”是指包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present invention is for the purpose of describing specific embodiments only, not limiting the present invention. As used herein and in the claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本发明可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本发明范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,此外,所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present invention, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, furthermore, the use of the word "if" could be interpreted as "at" or "when" or "in response to a determination."

针对现有技术中存在的问题,本发明实施例中提出一种数据流(如音频数据、视频数据和多媒体文件等)的传输方法,该方法可以应用于包括视频管理服务器、接入设备(如安全接入网关,其可以是二层的接入交换机)、与该接入设备连接的目的客户端(如解码客户端、解码器等,可以为多个)、与该接入设备连接的来源设备的视频监控系统中。其中,该来源设备可以是该目的客户端请求的数据流对应的来源设备,该来源设备与该目的客户端位于同一接入设备下,且该来源设备是相对于目的客户端请求的数据流而言的,即该来源设备具有目的客户端请求的数据流。如图2所示,该数据流的传输方法可以包括:Aiming at the problems existing in the prior art, a method for transmitting data streams (such as audio data, video data and multimedia files, etc.) is proposed in the embodiment of the present invention. A secure access gateway, which can be a Layer 2 access switch), a destination client connected to the access device (such as a decoding client, a decoder, etc., which can be multiple), and a source connected to the access device In the video surveillance system of the equipment. Wherein, the source device may be the source device corresponding to the data flow requested by the destination client, the source device and the destination client are located under the same access device, and the source device is relative to the data flow requested by the destination client In other words, the source device has the data flow requested by the destination client. As shown in Figure 2, the transmission method of the data stream may include:

步骤201,当视频管理服务器确定接入设备需要为该目的客户端复制数据流时,则接入设备接收来自该视频管理服务器的复制重定向策略。Step 201, when the video management server determines that the access device needs to copy data streams for the target client, the access device receives a copy redirection policy from the video management server.

步骤202,如果接入设备接收到匹配该复制重定向策略的数据流,则接入设备按照该数据流的目的地址发送该数据流,并利用该复制重定向策略为该目的客户端复制新数据流,并将该新数据流发送给该目的客户端。Step 202, if the access device receives a data stream that matches the copy redirection policy, the access device sends the data stream according to the destination address of the data stream, and uses the copy redirection policy to copy new data for the destination client stream, and send the new data stream to the destination client.

在一个例子中,视频监控系统中还可以包括流媒体服务器,且上述的来源设备包括与接入设备连接的前端设备。在此应用场景下,前端设备与目的客户端位于同一接入设备下,且目的客户端请求的数据流,正是前端设备采集并发送给流媒体服务器的数据流,该前端设备具有目的客户端请求的数据流,因此,该前端设备可以称为该目的客户端请求的数据流对应的来源设备。In an example, the video monitoring system may further include a streaming media server, and the above-mentioned source device includes a front-end device connected to the access device. In this application scenario, the front-end device and the destination client are located under the same access device, and the data stream requested by the destination client is exactly the data stream that the front-end device collects and sends to the streaming media server. The front-end device has the destination client The requested data flow, therefore, the front-end device may be referred to as the source device corresponding to the data flow requested by the destination client.

基于此,视频管理服务器确定接入设备需要为目的客户端复制数据流的过程,具体可以包括但不限于如下方式:视频管理服务器在获知接入设备与前端设备连接,并与目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定接入设备需要为目的客户端复制数据流。Based on this, the video management server determines that the access device needs to copy the data stream for the destination client, which may specifically include but not limited to the following methods: when the video management server learns that the access device is connected to the front-end device and is connected to the destination client , if a message for requesting a data flow from the destination client is received, it is determined that the access device needs to copy the data flow for the destination client.

进一步的,接入设备接收到匹配复制重定向策略的数据流的过程,具体可以包括但不限于:接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果该源IP地址为前端设备的IP地址,且该目的IP地址为流媒体服务器的IP地址,则确定该数据流匹配到该复制重定向策略。Further, the process of the access device receiving the data flow matching the replication redirection policy may specifically include but not limited to: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP If the address is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow matches the replication redirection strategy.

进一步的,接入设备利用复制重定向策略为目的客户端复制新数据流的过程,具体可以包括但不限于:接入设备复制该数据流,并将复制后的数据流的源IP地址修改为流媒体服务器的IP地址,并将复制后的数据流的目的IP地址修改为目的客户端的IP地址。Further, the process of the access device duplicating the new data flow for the destination client using the copy redirection strategy may specifically include but not limited to: the access device copies the data flow, and modifies the source IP address of the copied data flow to The IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client.

在另一个例子中,视频监控系统中还可以包括流媒体服务器,且上述的来源设备包括与接入设备连接的来源客户端,且所述来源客户端是指已经接收到来自流媒体服务器的数据流的客户端。在此应用场景下,来源客户端与目的客户端位于同一接入设备下,且目的客户端请求的数据流,正是流媒体服务器发送给来源客户端的数据流,该来源客户端具有目的客户端请求的数据流,因此,该来源客户端可以称为该目的客户端请求的数据流对应的来源设备。In another example, the video surveillance system may also include a streaming media server, and the above-mentioned source device includes a source client connected to the access device, and the source client means that the data from the streaming media server has been received stream client. In this application scenario, the source client and the destination client are located under the same access device, and the data stream requested by the destination client is exactly the data stream sent by the streaming media server to the source client, and the source client has the destination client The requested data flow, therefore, the source client may be referred to as the source device corresponding to the data flow requested by the destination client.

基于此,视频管理服务器确定接入设备需要为目的客户端复制数据流的过程,具体可以包括:视频管理服务器在获知接入设备与该来源客户端连接,并与该目的客户端连接时,如果接收到来自该目的客户端的用于请求数据流的消息,则确定该接入设备需要为该目的客户端复制数据流。Based on this, the process for the video management server to determine that the access device needs to copy the data stream for the destination client may specifically include: when the video management server learns that the access device is connected to the source client and the destination client, if After receiving a message for requesting a data flow from the destination client, it is determined that the access device needs to copy the data flow for the destination client.

进一步的,接入设备接收到匹配复制重定向策略的数据流的过程,具体可以包括但不限于:接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果该源IP地址为流媒体服务器的IP地址,且该目的IP地址为来源客户端的IP地址,则确定该数据流匹配到该复制重定向策略。Further, the process of the access device receiving the data flow matching the replication redirection policy may specifically include but not limited to: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP The address is the IP address of the streaming media server, and the destination IP address is the IP address of the source client, then it is determined that the data flow matches the replication redirection strategy.

进一步的,接入设备利用复制重定向策略为来源客户端复制新数据流的过程,具体可以包括但不限于:接入设备复制数据流,并保持复制后的数据流的源IP地址为流媒体服务器的IP地址,并将复制后的数据流的目的IP地址修改为来源客户端的IP地址。Further, the process of the access device duplicating the new data flow for the source client using the copy redirection strategy may specifically include but not limited to: the access device copies the data flow, and keeps the source IP address of the copied data flow as the stream media IP address of the server, and modify the destination IP address of the copied data stream to the IP address of the source client.

在目的客户端、来源客户端或者前端设备的注册过程中,本发明实施例中,接入设备在接收到来自与本接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,在将第一注册报文发送给视频管理服务器的基础上,还可以从第一注册报文中解析出目的客户端、来源客户端或者前端设备的设备信息,并向视频管理服务器发送第二注册报文,该第二注册报文中携带该设备信息、以及本接入设备的信息,以使视频管理服务器利用该第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。During the registration process of the destination client, source client or front-end device, in the embodiment of the present invention, the access device receives the first registration message, on the basis of sending the first registration message to the video management server, the device information of the destination client, source client or front-end device can also be parsed from the first registration message, and sent to the video management server sending a second registration message, the second registration message carries the device information and the information of the access device, so that the video management server uses the second registration message to know the access device and the target client and connected to the front-end device; or, it is learned that the access device is connected to the destination client and connected to the source client.

进一步的,视频管理服务器在接收到来自目的客户端、来源客户端或者前端设备的第一注册报文之后,如果在预设时间内未接收到来自该接入设备的第二注册报文,则拒绝目的客户端、来源客户端或者前端设备接入到视频监控系统,以保证系统的安全性。Further, after the video management server receives the first registration message from the destination client, the source client or the front-end device, if it does not receive the second registration message from the access device within a preset time, then Deny destination clients, source clients or front-end devices from accessing the video surveillance system to ensure system security.

基于上述技术方案,本发明实施例中,可以通过接入设备实现数据流的复制分发,而不用流媒体服务器对所有数据流实现复制分发,从而减轻流媒体服务器的工作压力,节省流媒体服务器的处理资源,节约网络带宽,并可以及时完成数据流的复制分发,实时向客户端传输数据流。而且,在保证网络安全的前提下,可以使数据流的传输路径更加合理,尽量简化传输路径。Based on the above technical solution, in the embodiment of the present invention, the replication and distribution of the data stream can be realized through the access device, instead of the streaming media server to realize the replication and distribution of all data streams, thereby reducing the working pressure of the streaming media server and saving the streaming media server Processing resources, saving network bandwidth, and can complete the replication and distribution of data streams in time, and transmit data streams to clients in real time. Moreover, under the premise of ensuring network security, the transmission path of the data flow can be made more reasonable and the transmission path can be simplified as much as possible.

以下结合具体的应用场景对本发明实施例的上述技术方案进行说明。The foregoing technical solutions of the embodiments of the present invention will be described below in conjunction with specific application scenarios.

应用场景1:如图3所示,视频监控系统中可以包括接入设备1,与该接入设备1连接的前端设备(即来源设备)和客户端1(即目的客户端)、视频管理服务器、流媒体服务器。Application Scenario 1: As shown in Figure 3, the video surveillance system may include an access device 1, a front-end device connected to the access device 1 (i.e. source device), client 1 (i.e. destination client), and a video management server ,flow media services.

如图3所示,在前端设备的注册过程中,前端设备向接入设备1发送第一注册报文,由接入设备1将该第一注册报文发送给视频管理服务器。视频管理服务器在接收到该第一注册报文后,完成前端设备的注册过程,该注册过程的处理流程在此不再赘述,以使前端设备可以接入到视频监控系统中。As shown in FIG. 3 , during the registration process of the front-end device, the front-end device sends a first registration message to the access device 1, and the access device 1 sends the first registration message to the video management server. After receiving the first registration message, the video management server completes the registration process of the front-end device, and the processing flow of the registration process will not be repeated here, so that the front-end device can be connected to the video surveillance system.

接入设备1在接收到来自与本接入设备连接的前端设备的第一注册报文时,在将第一注册报文发送给视频管理服务器的基础上,还可以对该第一注册报文进行探测侦听,从该第一注册报文中解析出前端设备的设备信息,如前端设备的设备标识、设备IP地址、设备类型等信息。之后,接入设备1向视频管理服务器发送第二注册报文,该第二注册报文中携带该前端设备的设备信息以及本接入设备1的信息,如接入设备1的标识、IP地址、设备类型、以及前端设备连接在接入设备1的接口信息(如前端设备连接在接口1)。When the access device 1 receives the first registration message from the front-end device connected to the access device, on the basis of sending the first registration message to the video management server, it can also send the first registration message to the video management server. Perform detection and interception, and analyze the device information of the front-end device from the first registration message, such as the device identifier, device IP address, and device type of the front-end device. Afterwards, the access device 1 sends a second registration message to the video management server, and the second registration message carries the device information of the front-end device and the information of the access device 1, such as the identifier and IP address of the access device 1 , the device type, and the interface information of the front-end device connected to the access device 1 (for example, the front-end device is connected to the interface 1).

视频管理服务器在接收到第二注册报文之后,获知前端设备(从第二注册报文的前端设备的设备信息中解析出)与接入设备1(从第二注册报文的接入设备1的信息中解析出)连接,并连接在接入设备1的接口1下。After receiving the second registration message, the video management server knows that the front-end device (parsed from the device information of the front-end device in the second registration message) and the access device 1 (from the access device 1 in the second registration message) parsed from the information) to connect and connect to interface 1 of access device 1.

如图3所示,在客户端1的注册过程中,客户端1向接入设备1发送第一注册报文,由接入设备1将该第一注册报文发送给视频管理服务器。视频管理服务器在接收到该第一注册报文后,完成客户端1的注册过程,该注册过程的处理流程在此不再赘述,以使客户端1可以接入到视频监控系统中。As shown in FIG. 3, during the registration process of the client 1, the client 1 sends a first registration message to the access device 1, and the access device 1 sends the first registration message to the video management server. After receiving the first registration message, the video management server completes the registration process of the client 1, and the processing flow of the registration process will not be repeated here, so that the client 1 can be connected to the video surveillance system.

接入设备1在接收到来自与本接入设备连接的客户端1的第一注册报文时,在将第一注册报文发送给视频管理服务器的基础上,还可以对该第一注册报文进行探测侦听,从该第一注册报文中解析出客户端1的设备信息,如客户端1的设备标识、设备IP地址、设备类型等信息。之后,接入设备1向视频管理服务器发送第二注册报文,该第二注册报文中携带该客户端1的设备信息以及本接入设备1的信息,如接入设备1的标识、IP地址、设备类型、以及客户端1连接在接入设备1的接口信息(如客户端1连接在接口2)。When the access device 1 receives the first registration message from the client 1 connected to the access device, on the basis of sending the first registration message to the video management server, it can also send the first registration message to the video management server. The message is detected and intercepted, and the device information of the client 1 is analyzed from the first registration message, such as the device identifier of the client 1, the device IP address, and the device type. Afterwards, the access device 1 sends a second registration message to the video management server, and the second registration message carries the device information of the client 1 and the information of the access device 1, such as the identifier of the access device 1, IP Address, device type, and interface information of the client 1 connected to the access device 1 (for example, the client 1 is connected to the interface 2).

视频管理服务器在接收到第二注册报文之后,获知客户端1(从第二注册报文的客户端1的设备信息中解析出)与接入设备1(从第二注册报文的接入设备1的信息中解析出)连接,并连接在接入设备1的接口2下。After receiving the second registration message, the video management server learns that the client 1 (parsed from the device information of the client 1 in the second registration message) and the access device 1 (from the access of the second registration message) Analyzed from the information of device 1) to connect and connect to interface 2 of access device 1.

本发明实施例中,视频管理服务器在接收到来自客户端1或者前端设备的第一注册报文后,如果在预设时间(如3分钟)内未接收到来自该接入设备1的第二注册报文,则视频管理服务器认为客户端1或者前端设备不是连接在合法的接入设备上(合法的接入设备在客户端1或者前端设备的注册过程中,会发送本接入设备的第二注册报文,以使视频管理服务器完成本接入设备的注册过程),并拒绝客户端1或者前端设备接入到视频监控系统(由于之前已经允许客户端1或者前端设备接入到视频监控系统,因此在后续过程使客户端1或者前端设备下线即可),以保证整个视频监控系统的安全性。In the embodiment of the present invention, after the video management server receives the first registration message from the client 1 or the front-end device, if it does not receive the second registration message from the access device 1 within a preset time (such as 3 minutes), registration message, the video management server thinks that the client 1 or the front-end device is not connected to the legal access device (the legal access device will send the first Two registration messages, so that the video management server completes the registration process of the access device), and refuses the client 1 or the front-end device to access the video surveillance system (because the client 1 or the front-end device has been allowed to access the video surveillance system before) system, so the client 1 or the front-end device can be offline in the subsequent process), so as to ensure the security of the entire video surveillance system.

基于上述过程,视频管理服务器可以获知前端设备连接在接入设备1的接口1下,且获知客户端1连接在接入设备1的接口2下。因此,视频管理服务器获知接入设备1与前端设备连接,并与客户端1连接,如果接收到来自客户端1的用于请求数据流(即前端设备发送的数据流)的消息,则确定接入设备需要为客户端1复制数据流。之后,视频管理服务器向接入设备1发送复制重定向策略,该复制重定向策略用于使接入设备1对前端设备发送给流媒体服务器的数据流进行复制,得到新数据流,并将新数据流发送给客户端1。Based on the above process, the video management server can know that the front-end device is connected to the interface 1 of the access device 1 , and know that the client 1 is connected to the interface 2 of the access device 1 . Therefore, the video management server knows that the access device 1 is connected to the front-end device and is connected to the client 1, and if it receives a message from the client 1 for requesting a data stream (that is, the data stream sent by the front-end device), it determines to accept The ingress device needs to replicate the data stream for client 1. Afterwards, the video management server sends a copy redirection policy to the access device 1, which is used to make the access device 1 copy the data stream sent by the front-end device to the streaming media server, obtain a new data stream, and transfer the new data stream to the streaming media server. The data stream is sent to client 1.

基于此,本发明实施例中,接入设备1在接收到来自视频管理服务器的复制重定向策略之后,如果接收到匹配该复制重定向策略的数据流,则接入设备1按照该数据流的目的地址发送该数据流,并利用该复制重定向策略为该客户端1复制新数据流,并将该新数据流发送给该客户端1。Based on this, in the embodiment of the present invention, after the access device 1 receives the copy redirection policy from the video management server, if it receives a data stream that matches the copy redirection policy, the access device 1 will follow the copy redirection policy of the data stream. The destination address sends the data flow, and uses the copy redirection policy to copy a new data flow for the client 1, and sends the new data flow to the client 1.

在一个例子中,复制重定向策略的匹配选项可以为:源IP地址是前端设备的IP地址,目的IP地址是流媒体服务器的IP地址。动作选项可以为:将源IP地址修改为流媒体服务器的IP地址,将目的IP地址修改为客户端1的IP地址,通过接口2(客户端1在接入设备1上连接的接口)发送新数据流。In an example, the matching option of the copy redirection policy may be: the source IP address is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server. The action option can be: modify the source IP address to the IP address of the streaming media server, modify the destination IP address to the IP address of client 1, and send a new data flow.

针对前端设备采集到的数据流,当客户端1向视频管理服务器发送请求该数据流的报文后,则该数据流在前端设备与客户端1之间的传输路径为:For the data flow collected by the front-end device, when the client 1 sends a message requesting the data flow to the video management server, the transmission path of the data flow between the front-end device and the client 1 is:

如图4所示,为现有技术中的数据流在前端设备与客户端1之间的传输路径。视频管理服务器通知前端设备将数据流发送给流媒体服务器,并通知流媒体服务器将数据流发送给客户端1。基于此,前端设备在采集到数据流后,将数据流发送给流媒体服务器,该数据流的源IP地址为前端设备的IP地址,目的IP地址为流媒体服务器的IP地址。流媒体服务器在接收到数据流后,在本地存储该数据流,并复制一份数据流,并将复制的数据流发送给客户端1,该数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端1的IP地址。从图4中可以看出,数据流会先发送到流媒体服务器上,流媒体服务器再将数据流发送到客户端1上,数据流的传输路径有重复。As shown in FIG. 4 , it is the transmission path of the data stream between the front-end device and the client 1 in the prior art. The video management server notifies the front-end device to send the data stream to the streaming media server, and notifies the streaming media server to send the data stream to the client 1 . Based on this, after the front-end device collects the data stream, it sends the data stream to the streaming media server. The source IP address of the data stream is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server. After receiving the data stream, the streaming media server stores the data stream locally, makes a copy of the data stream, and sends the copied data stream to client 1. The source IP address of the data stream is the IP address of the streaming media server , and the destination IP address is the IP address of client 1. It can be seen from FIG. 4 that the data stream will be sent to the streaming media server first, and then the streaming media server will send the data stream to the client 1, and the transmission path of the data stream is repeated.

如图5所示,为本发明实施例中的数据流在前端设备与客户端1之间的传输路径。视频管理服务器通知前端设备将数据流发送给流媒体服务器,但是不再通知流媒体服务器将数据流发送给客户端1。基于此,前端设备在采集到数据流后,将数据流发送给流媒体服务器,该数据流的源IP地址为前端设备的IP地址,目的IP地址为流媒体服务器的IP地址。接入设备1在接收到该数据流后,将该数据流转发给流媒体服务器,流媒体服务器在接收到该数据流后,在本地存储该数据流,但是不再向客户端1发送该数据流。As shown in FIG. 5 , it is the transmission path of the data stream between the front-end device and the client 1 in the embodiment of the present invention. The video management server notifies the front-end device to send the data stream to the streaming server, but no longer notifies the streaming server to send the data stream to the client 1 . Based on this, after the front-end device collects the data stream, it sends the data stream to the streaming media server. The source IP address of the data stream is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server. After receiving the data stream, the access device 1 forwards the data stream to the streaming media server, and the streaming media server stores the data stream locally after receiving the data stream, but no longer sends the data to the client 1 flow.

在接入设备1将该数据流转发给流媒体服务器的基础上,接入设备1还可以从数据流中解析出源IP地址和目的IP地址,由于该数据流的源IP地址为前端设备的IP地址,目的IP地址为流媒体服务器的IP地址,因此该数据流可以匹配到上述复制重定向策略。基于此,接入设备1复制该数据流,并将复制后的数据流的源IP地址修改为流媒体服务器的IP地址,将复制后的数据流的目的IP地址修改为客户端1的IP地址。之后接入设备1将新数据流发送给客户端1,该新数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端1的IP地址。On the basis of the access device 1 forwarding the data stream to the streaming media server, the access device 1 can also resolve the source IP address and the destination IP address from the data stream, because the source IP address of the data stream is the IP address, the destination IP address is the IP address of the streaming media server, so the data flow can match the above copy redirection strategy. Based on this, access device 1 copies the data stream, and modifies the source IP address of the copied data stream to the IP address of the streaming media server, and modifies the destination IP address of the copied data stream to the IP address of client 1 . Afterwards, the access device 1 sends the new data flow to the client 1, the source IP address of the new data flow is the IP address of the streaming media server, and the destination IP address is the IP address of the client 1.

从图5中可以看出,流媒体服务器不再将数据流发送到客户端1上,而由接入设备1直接将数据流发送到客户端1上,数据流的传输路径没有重复。It can be seen from FIG. 5 that the streaming media server no longer sends the data stream to the client 1, but the access device 1 directly sends the data stream to the client 1, and the transmission path of the data stream is not repeated.

在一个例子中,接入设备1还可以将复制后的数据流的目的MAC(MediaAccessControl,介质访问控制)地址修改为客户端1的MAC地址。In an example, the access device 1 may also modify the destination MAC (MediaAccessControl, media access control) address of the copied data stream to the MAC address of the client 1 .

在一个例子中,视频管理服务器还可以通知客户端1,其接受的数据流的源IP地址是流媒体服务器的IP地址,以使客户端1接受并处理源IP地址是流媒体服务器的IP地址的数据流,客户端1的处理过程不再详加赘述。In one example, the video management server can also notify client 1 that the source IP address of the data stream it accepts is the IP address of the streaming media server, so that client 1 accepts and processes that the source IP address is the IP address of the streaming media server The data flow of the client 1 will not be described in detail.

在一个例子中,针对图3所示的应用场景,假设当前只有客户端1请求前端设备的数据流,而没有其它客户端请求前端设备的数据流,则视频管理服务器通知前端设备将数据流直接发送给客户端1。基于此,前端设备在采集到数据流后,将数据流发送给客户端1,该数据流的源IP地址为前端设备的IP地址,目的IP地址为客户端1的IP地址。接入设备1在接收到该数据流后,基于该数据流的目的IP地址,可以直接将数据流发送给客户端1。In one example, for the application scenario shown in Figure 3, assuming that only client 1 currently requests the data stream of the front-end device, and no other client requests the data stream of the front-end device, the video management server notifies the front-end device to directly transfer the data stream sent to client 1. Based on this, after the front-end device collects the data stream, it sends the data stream to the client 1, the source IP address of the data stream is the IP address of the front-end device, and the destination IP address is the IP address of the client 1. After receiving the data flow, the access device 1 can directly send the data flow to the client 1 based on the destination IP address of the data flow.

应用场景2:如图6所示,在图3所示的应用场景1的基础上,视频监控系统中还可以包括接入设备2,与接入设备2连接的客户端2和客户端3。假设客户端2先请求数据流,客户端3后请求数据流,则流媒体服务器向客户端2发送数据流,此时客户端2为来源客户端,客户端3为目的客户端。假设客户端3先请求数据流,客户端2后请求数据流,则流媒体服务器向客户端3发送数据流,此时客户端3为来源客户端,客户端2为目的客户端。Application Scenario 2: As shown in FIG. 6 , based on the application scenario 1 shown in FIG. 3 , the video surveillance system may further include an access device 2 , a client 2 and a client 3 connected to the access device 2 . Assuming that client 2 requests the data stream first, and then client 3 requests the data stream, then the streaming media server sends the data stream to client 2. At this time, client 2 is the source client, and client 3 is the destination client. Assuming that client 3 requests the data stream first, and client 2 requests the data stream later, the streaming media server sends the data stream to client 3. At this time, client 3 is the source client, and client 2 is the destination client.

针对客户端1请求前端设备的数据流的过程,与应用场景1相同,在此不再赘述,以下对客户端2/客户端3请求前端设备的数据流的过程进行说明。The process of client 1 requesting the data stream of the front-end device is the same as that of application scenario 1, and will not be repeated here. The following describes the process of client 2/client 3 requesting the data stream of the front-end device.

如图6所示,在客户端2或者客户端3的注册过程中,该客户端2或者客户端3可以向接入设备2发送第一注册报文,之后,由接入设备2将该第一注册报文发送给视频管理服务器。视频管理服务器在接收到该第一注册报文之后,完成客户端2或者客户端3的注册过程,该注册过程的处理流程在此不再赘述,以使客户端2或者客户端3可以接入到视频监控系统中。As shown in FIG. 6, during the registration process of the client 2 or the client 3, the client 2 or the client 3 may send a first registration message to the access device 2, and then the access device 2 sends the first registration message to the access device 2. A registration message is sent to the video management server. After the video management server receives the first registration message, it completes the registration process of the client 2 or the client 3, and the processing flow of the registration process will not be repeated here, so that the client 2 or the client 3 can access the into the video surveillance system.

接入设备2在接收到来自与本接入设备2连接的客户端2或者客户端3的第一注册报文时,在将第一注册报文发送给视频管理服务器的基础上,还可以对第一注册报文进行探测侦听,从第一注册报文中解析出客户端2或者客户端3的设备信息,如客户端2或者客户端3的设备标识、设备IP地址、设备类型等信息。接入设备2向视频管理服务器发送第二注册报文,该第二注册报文中携带客户端2或者客户端3的设备信息以及本接入设备2的信息,如接入设备2的标识、IP地址、设备类型、以及客户端2或者客户端3连接在接入设备2的接口信息(如客户端2连接在接口1,客户端3连接在接口2)。When the access device 2 receives the first registration message from the client 2 or the client 3 connected to the access device 2, on the basis of sending the first registration message to the video management server, it can also send the first registration message to the video management server. The first registration message is detected and intercepted, and the device information of client 2 or client 3 is parsed from the first registration message, such as the device identification, device IP address, device type and other information of client 2 or client 3 . The access device 2 sends a second registration message to the video management server, and the second registration message carries the device information of the client 2 or the client 3 and the information of the access device 2, such as the identification of the access device 2, IP address, device type, and interface information of client 2 or client 3 connected to access device 2 (for example, client 2 is connected to interface 1, and client 3 is connected to interface 2).

视频管理服务器在接收到第二注册报文之后,获知客户端2或者客户端3(从第二注册报文的客户端2或者客户端3的设备信息中解析出)与接入设备2(从第二注册报文的接入设备2的信息中解析出)连接,并且客户端2连接在接入设备2的接口1下,客户端3连接在接入设备2的接口2下。After receiving the second registration message, the video management server knows that the client 2 or the client 3 (parsed from the device information of the client 2 or the client 3 in the second registration message) and the access device 2 (from the The information of the access device 2 in the second registration message is parsed out) to connect, and the client 2 is connected to the interface 1 of the access device 2, and the client 3 is connected to the interface 2 of the access device 2.

本发明实施例中,视频管理服务器在接收到来自客户端2或者客户端3的第一注册报文后,如果在预设时间(如3分钟)内未接收到来自该接入设备2的第二注册报文,则视频管理服务器认为客户端2或者客户端3不是连接在合法的接入设备上(合法的接入设备在客户端2或者客户端3的注册过程中,会发送本接入设备的第二注册报文,以使视频管理服务器完成本接入设备的注册过程),并拒绝客户端2或者客户端3接入到视频监控系统(由于之前已经允许客户端2或者客户端3接入到视频监控系统,因此在后续过程使客户端2或者客户端3下线即可),以保证整个视频监控系统的安全性。In the embodiment of the present invention, after the video management server receives the first registration message from the client 2 or the client 3, if it does not receive the first registration message from the access device 2 within a preset time (such as 3 minutes), Two registration messages, the video management server thinks that client 2 or client 3 is not connected to a legal access device (legal access device will send this access device during the registration process of client 2 or client 3) The second registration message of the device, so that the video management server completes the registration process of the access device), and refuses client 2 or client 3 to access the video surveillance system (because client 2 or client 3 has been allowed to Access to the video surveillance system, so the client 2 or client 3 can be offline in the subsequent process), to ensure the security of the entire video surveillance system.

基于上述过程,视频管理服务器可以获知客户端2连接在接入设备2的接口1下,并且获知客户端3连接在接入设备2的接口2下。因此,视频管理服务器可以获知接入设备2与至少两个客户端(即客户端2和客户端3)连接,假设客户端2先请求数据流,客户端3后请求数据流,则客户端2为来源客户端,客户端3为目的客户端。之后,如果接收到来自目的客户端的用于请求数据流的消息,则视频管理服务器向接入设备2发送复制重定向策略,该复制重定向策略用于使该接入设备2对流媒体服务器发送给目的客户端的数据流进行复制,得到一个新数据流,并将该新数据流发送给来源客户端。Based on the above process, the video management server can know that the client 2 is connected to the interface 1 of the access device 2 , and know that the client 3 is connected to the interface 2 of the access device 2 . Therefore, the video management server can learn that the access device 2 is connected to at least two clients (i.e., client 2 and client 3). Assuming that client 2 first requests a data stream, and then client 3 requests a data stream, then client 2 is the source client, and client 3 is the destination client. Afterwards, if a message for requesting a data flow from the destination client is received, the video management server sends a copy redirection strategy to the access device 2, and the copy redirection strategy is used to make the access device 2 send to the streaming media server The data flow of the destination client is copied to obtain a new data flow, and the new data flow is sent to the source client.

基于上述描述,本发明实施例中,接入设备2在接收到来自视频管理服务器的复制重定向策略之后,如果接收到匹配该复制重定向策略的数据流,则接入设备2按照该数据流的目的地址发送该数据流(即将该数据流发送给来源客户端,如客户端2),并利用该复制重定向策略为该目的客户端(如客户端3)复制新数据流,并将该新数据流发送给该目的客户端。Based on the above description, in the embodiment of the present invention, after the access device 2 receives the copy redirection policy from the video management server, if it receives a data stream that matches the copy redirection policy, the access device 2 follows the data stream send the data flow to the destination address (that is, send the data flow to the source client, such as client 2), and use the copy redirection strategy to copy the new data flow for the destination client (such as client 3), and send the data flow to The new data stream is sent to the destination client.

在一个例子中,复制重定向策略的匹配选项可以为:源IP地址是流媒体服务器的IP地址,目的IP地址是来源客户端(如客户端2)的IP地址。动作选项可以为:保持源IP地址不变,即保持源IP地址为流媒体服务器的IP地址,将目的IP地址修改为目的客户端(如客户端3)的IP地址,并通过接口2(即客户端3在接入设备2上连接的接口)发送新数据流。In an example, the matching option of the copy redirection strategy may be: the source IP address is the IP address of the streaming media server, and the destination IP address is the IP address of the source client (such as client 2). The action option can be: keep the source IP address unchanged, that is, keep the source IP address as the IP address of the streaming media server, modify the destination IP address to the IP address of the destination client (such as client 3), and pass the interface 2 (that is, The client 3 is connected to the interface on the access device 2) to send a new data flow.

针对前端设备采集到的数据流,在前端设备将数据流发送给流媒体服务器之后,当客户端2/客户端3向视频管理服务器发送请求该数据流的报文之后,则该数据流在流媒体服务器与客户端2/客户端3之间的传输路径为:For the data flow collected by the front-end equipment, after the front-end equipment sends the data flow to the streaming media server, after the client 2/client 3 sends a message requesting the data flow to the video management server, the data flow is in the stream The transmission path between the media server and client 2/client 3 is:

在现有技术中,视频管理服务器可以通知流媒体服务器将数据流分别发送给客户端2和客户端3。基于此,流媒体服务器可以复制两份数据流,其中一份数据流被发送给客户端2,该数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端2的IP地址;而另一份数据流被发送给客户端3,该数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端3的IP地址。由此可以看出,流媒体服务器需要发送两份数据流。In the prior art, the video management server may notify the streaming media server to send data streams to client 2 and client 3 respectively. Based on this, the streaming media server can copy two data streams, one of which is sent to client 2, the source IP address of the data stream is the IP address of the streaming media server, and the destination IP address is the IP address of client 2 and another data flow is sent to the client 3, the source IP address of the data flow is the IP address of the streaming media server, and the destination IP address is the IP address of the client 3. It can be seen from this that the streaming media server needs to send two data streams.

在本发明实施例中,视频管理服务器可以通知流媒体服务器将数据流发送给客户端2(来源客户端),但不再通知流媒体服务器将数据流发送给客户端3。基于此,流媒体服务器只复制一份数据流,该数据流被发送给客户端2,该数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端2的IP地址。接入设备2在收到该数据流后,将该数据流转发给客户端2。In the embodiment of the present invention, the video management server may notify the streaming media server to send the data stream to the client 2 (source client), but no longer notify the streaming media server to send the data stream to the client 3 . Based on this, the streaming media server only copies a data stream, and the data stream is sent to the client 2. The source IP address of the data stream is the IP address of the streaming media server, and the destination IP address is the IP address of the client 2. The access device 2 forwards the data stream to the client 2 after receiving the data stream.

在接入设备2将该数据流转发给客户端2的基础上,接入设备2还可以从数据流中解析出源IP地址和目的IP地址,由于该数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端2(即来源客户端)的IP地址,因此该数据流可以匹配到上述复制重定向策略。基于此,接入设备2复制该数据流,并保持复制后的数据流的源IP地址为流媒体服务器的IP地址(即保持数据流的源IP地址不变),并将复制后的数据流的目的IP地址修改为客户端3(即目的客户端)的IP地址。之后,接入设备2将新数据流发送给客户端3,该新数据流的源IP地址为流媒体服务器的IP地址,目的IP地址为客户端3的IP地址。On the basis of the access device 2 forwarding the data stream to the client 2, the access device 2 can also resolve the source IP address and the destination IP address from the data stream, because the source IP address of the data stream is the stream media server The destination IP address is the IP address of client 2 (that is, the source client), so the data flow can match the above-mentioned replication redirection strategy. Based on this, the access device 2 copies the data flow, and keeps the source IP address of the copied data flow as the IP address of the streaming media server (that is, keeps the source IP address of the data flow unchanged), and keeps the copied data flow The destination IP address of is changed to the IP address of client 3 (ie, the destination client). Afterwards, the access device 2 sends the new data flow to the client 3, the source IP address of the new data flow is the IP address of the streaming media server, and the destination IP address is the IP address of the client 3.

由此可以看出,流媒体服务器只发送一份数据流,减少数据流的传输。It can be seen from this that the streaming media server only sends one copy of the data stream, reducing the transmission of the data stream.

在一个例子中,接入设备2还可以将复制后的数据流的目的MAC地址修改为客户端3的MAC地址。此外,在一个例子中,视频管理服务器还可以通知客户端2或者客户端3,其接受的数据流的源IP地址是流媒体服务器的IP地址,以使客户端2或者客户端3接受并处理源IP地址是流媒体服务器的IP地址的数据流,客户端2或者客户端3的处理过程不再详加赘述。In an example, the access device 2 may also modify the destination MAC address of the copied data flow to the MAC address of the client 3 . In addition, in an example, the video management server can also notify client 2 or client 3 that the source IP address of the data stream it accepts is the IP address of the streaming media server, so that client 2 or client 3 accepts and processes The source IP address is the data flow of the IP address of the streaming media server, and the processing process of the client 2 or the client 3 will not be described in detail.

通过应用场景1和应用场景2可以看出,本发明实施例中,可通过接入设备实现数据流的复制分发,而不用流媒体服务器对所有数据流实现复制分发,从而减轻流媒体服务器的工作压力,节省流媒体服务器的处理资源,节约网络带宽,并可以及时完成数据流的复制分发,实时向客户端传输数据流。而且,在保证网络安全的前提下,可以使数据流的传输路径更加合理,尽量简化传输路径。而且,整个视频监控系统的处理性能更加高效,部署更加便捷。而且,接入设备还可以对前端设备进行认证,从而在认证功能的基础上,实现媒体流复制功能。基于此认证功能,当前端设备和客户端均连接本接入设备时,接入设备在默认情况下,禁止前端设备和客户端的互访,只有前端设备和客户端均通过认证,前端设备和客户端才可以互访,确保安全性。It can be seen from the application scenario 1 and the application scenario 2 that in the embodiment of the present invention, the replication and distribution of the data stream can be realized through the access device, instead of the streaming media server to realize the replication and distribution of all data streams, thereby reducing the work of the streaming media server Pressure, save the processing resources of the streaming media server, save network bandwidth, and can complete the replication and distribution of the data stream in time, and transmit the data stream to the client in real time. Moreover, under the premise of ensuring network security, the transmission path of the data flow can be made more reasonable and the transmission path can be simplified as much as possible. Moreover, the processing performance of the entire video surveillance system is more efficient and the deployment is more convenient. Moreover, the access device can also perform authentication on the front-end device, so as to realize the function of duplicating the media stream on the basis of the authentication function. Based on this authentication function, when both the front-end device and the client are connected to the access device, the access device prohibits mutual access between the front-end device and the client by default. Only the front-end device and the client have passed the authentication. The terminal can exchange visits to ensure security.

基于与上述方法同样的发明构思,本发明实施例中还提供了一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且来源设备是目的客户端请求的数据流对应的来源设备,且所述数据流的传输装置应用在所述接入设备上。其中,该数据流的传输装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在的接入设备的处理器,读取非易失性存储器中对应的计算机程序指令形成的。从硬件层面而言,如图7所示,为本发明提出的数据流的传输装置所在的接入设备的一种硬件结构图,除了图7所示的处理器、非易失性存储器外,接入设备还可以包括其他硬件,如负责处理报文的转发芯片、网络接口、内存等;从硬件结构上来讲,该接入设备还可能是分布式设备,可能包括多个接口卡,以便在硬件层面进行报文处理的扩展。Based on the same inventive concept as the above method, an embodiment of the present invention also provides a data stream transmission device, which is applied to a video surveillance system including a video management server and an access device, and the video surveillance system also includes a The destination client connected to the access device, the source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, and the data flow transmission device is applied in the access device. Wherein, the device for transmitting the data stream may be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory through the processor of the access device where it is located. From the hardware level, as shown in Figure 7, it is a hardware structural diagram of the access device where the data stream transmission device proposed by the present invention is located. In addition to the processor and non-volatile memory shown in Figure 7, The access device may also include other hardware, such as a forwarding chip responsible for processing messages, a network interface, memory, etc.; in terms of hardware structure, the access device may also be a distributed device, which may include multiple interface cards, so that Extend message processing at the hardware level.

如图8所示,为本发明实施例提出的数据流的传输装置的结构图,所述数据流的传输装置具体包括:As shown in FIG. 8, it is a structural diagram of a data stream transmission device proposed in an embodiment of the present invention, and the data stream transmission device specifically includes:

接收模块11,用于当所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流时,则接收来自所述视频管理服务器的复制重定向策略;The receiving module 11 is configured to receive a copy redirection policy from the video management server when the video management server determines that the access device needs to copy the data stream for the destination client;

处理模块12,用于当接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。The processing module 12 is configured to send the data flow according to the destination address of the data flow when receiving the data flow matching the copy redirection strategy, and use the copy redirection strategy to serve the destination client Duplicate the new data stream, and send the new data stream to the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述处理模块12,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为前端设备的IP地址,所述目的IP地址为流媒体服务器的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,将复制后的数据流的源IP地址修改为所述流媒体服务器的IP地址,将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址;或者,The video monitoring system also includes a streaming media server, the source device includes a front-end device, and the processing module 12 is specifically configured to, during the process of receiving the data stream matching the copy redirection strategy, from the received Analyze the source IP address and the destination IP address in the data flow, if the source IP address is the IP address of the front-end equipment, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow is matched to the copied Redirection strategy: In the process of using the replication redirection strategy to replicate the new data stream for the purpose client, replicate the data stream, and modify the source IP address of the replicated data stream to that of the streaming media server IP address, modifying the destination IP address of the copied data stream to the IP address of the destination client; or,

所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述处理模块12,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述流媒体服务器的IP地址,且所述目的IP地址为所述来源客户端的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,并保持复制后的数据流的源IP地址为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The video monitoring system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the processing module 12 is specifically configured to match the copied In the process of redirecting the data stream of the policy, the source IP address and the destination IP address are resolved from the received data stream, if the source IP address is the IP address of the streaming media server, and the destination IP address is The IP address of the source client, then determine that the data flow matches the copy redirection strategy; in the process of copying the new data flow for the destination client using the copy redirection strategy, copy the data flow , and keep the source IP address of the copied data stream as the IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client.

所述数据流的传输装置还包括(在图中未体现):The transmission device of the data stream also includes (not shown in the figure):

注册模块,用于在接收到来自与所述接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,将所述第一注册报文发送给所述视频管理服务器,并从所述第一注册报文中解析出所述目的客户端、来源客户端或者所述前端设备的设备信息,并向所述视频管理服务器发送第二注册报文,所述第二注册报文中携带所述设备信息、所述接入设备的信息,以使所述视频管理服务器利用所述第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。A registration module, configured to send the first registration message to the video management server when receiving a first registration message from a destination client, a source client, or a front-end device connected to the access device , and parse out the device information of the destination client, the source client, or the front-end device from the first registration message, and send a second registration message to the video management server, the second registration The message carries the device information and the information of the access device, so that the video management server uses the second registration message to know that the access device is connected to the destination client, and communicates with the The front-end device is connected; or, it is learned that the access device is connected to the destination client and is connected to the source client.

其中,本发明装置的各个模块可以集成于一体,也可以分离部署。上述模块可以合并为一个模块,也可以进一步拆分成多个子模块。Wherein, each module of the device of the present invention can be integrated into one body, or can be deployed separately. The above modules can be combined into one module, or can be further split into multiple sub-modules.

基于与上述方法同样的发明构思,本发明实施例中还提供了一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述数据流的传输装置应用在视频管理服务器上。该数据流的传输装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在的视频管理服务器的处理器,读取非易失性存储器中对应的计算机程序指令形成的。从硬件层面而言,如图9所示,为本发明提出的数据流的传输装置所在的视频管理服务器的一种硬件结构图,除了图9所示的处理器、非易失性存储器外,视频管理服务器还可以包括其他硬件,如负责处理报文的转发芯片、网络接口、内存等;从硬件结构上来讲,该视频管理服务器还可能是分布式设备,可能包括多个接口卡,以便在硬件层面进行报文处理的扩展。Based on the same inventive concept as the above method, an embodiment of the present invention also provides a data stream transmission device, which is applied to a video surveillance system including a video management server and an access device, and the video surveillance system also includes a The destination client connected to the access device, the source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, and the transmission device of the data flow applies on the video management server. The device for transmitting the data stream may be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory through the processor of the video management server where it is located. From the perspective of hardware, as shown in FIG. 9, it is a hardware structural diagram of the video management server where the data stream transmission device proposed by the present invention is located. In addition to the processor and non-volatile memory shown in FIG. 9, The video management server may also include other hardware, such as a forwarding chip responsible for processing messages, a network interface, memory, etc.; in terms of hardware structure, the video management server may also be a distributed device, which may include multiple interface cards, so that Extend message processing at the hardware level.

如图10所示,为本发明实施例提出的数据流的传输装置的结构图,所述数据流的传输装置具体包括:As shown in FIG. 10, it is a structural diagram of a data stream transmission device proposed by an embodiment of the present invention, and the data stream transmission device specifically includes:

确定模块21,用于确定所述接入设备需要为所述目的客户端复制数据流;A determining module 21, configured to determine that the access device needs to copy the data flow for the destination client;

发送模块22,用于向所述接入设备发送复制重定向策略;以使所述接入设备在接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。The sending module 22 is configured to send the copy redirection policy to the access device; so that when the access device receives a data flow matching the copy redirection policy, it sends the data flow according to the destination address of the data flow the data flow, and copy a new data flow for the destination client by using the copy redirection policy, and send the new data flow to the destination client.

所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述确定模块21,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述前端设备连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;或者,The video surveillance system further includes a streaming media server, the source device includes a front-end device, and the determination module 21 is specifically configured to determine that the access device needs to copy a data stream for the destination client, When it is known that the access device is connected to the front-end device and the destination client, if a message for requesting a data flow from the destination client is received, it is determined that the access device needs to be The destination client replicates the data stream; or,

所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述确定模块21,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述来源客户端连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流。The video surveillance system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the determining module 21 is specifically used to determine the access device In the process of duplicating data streams for the destination client, if it is known that the access device is connected to the source client and connected to the destination client, if receiving a request from the destination client for If the data flow request message is received, it is determined that the access device needs to copy the data flow for the destination client.

其中,本发明装置的各个模块可以集成于一体,也可以分离部署。上述模块可以合并为一个模块,也可以进一步拆分成多个子模块。Wherein, each module of the device of the present invention can be integrated into one body, or can be deployed separately. The above modules can be combined into one module, or can be further split into multiple sub-modules.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes the methods described in various embodiments of the present invention. Those skilled in the art can understand that the drawing is only a schematic diagram of a preferred embodiment, and the modules or processes in the drawing are not necessarily necessary for implementing the present invention.

本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可进一步拆分成多个子模块。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, or can be located in one or more devices different from the embodiment according to corresponding changes. The modules in the above embodiments can be combined into one module, and can also be further divided into multiple sub-modules. The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the present invention is not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.

Claims (10)

1.一种数据流的传输方法,应用于包括视频管理服务器和接入设备的视频监控系统中,其特征在于,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述方法包括:1. A transmission method of a data stream, applied in a video monitoring system comprising a video management server and an access device, characterized in that, the video monitoring system also includes a destination client connected to the access device, A source device connected to the access device, and the source device is the source device corresponding to the data stream requested by the destination client, the method includes: 当所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流时,则所述接入设备接收来自所述视频管理服务器的复制重定向策略;When the video management server determines that the access device needs to copy the data stream for the destination client, the access device receives a copy redirection policy from the video management server; 如果所述接入设备接收到匹配所述复制重定向策略的数据流,则所述接入设备按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。If the access device receives a data flow that matches the copy redirection policy, the access device sends the data flow according to the destination address of the data flow, and uses the copy redirection policy for the The destination client copies the new data stream, and sends the new data stream to the destination client. 2.根据权利要求1所述的方法,其特征在于,所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述方法进一步包括:2. The method according to claim 1, wherein the video surveillance system also includes a streaming media server, the source device includes a front-end device, and the method further includes: 所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流的过程,具体包括:所述视频管理服务器在获知所述接入设备与所述前端设备连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;The process in which the video management server determines that the access device needs to copy the data stream for the destination client specifically includes: the video management server learns that the access device is connected to the front-end device, and communicates with the When the destination client is connected, if a message for requesting a data flow from the destination client is received, determine that the access device needs to copy the data flow for the destination client; 所述接入设备接收到匹配所述复制重定向策略的数据流的过程,具体包括:所述接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述前端设备的IP地址,且所述目的IP地址为所述流媒体服务器的IP地址,则确定所述数据流匹配到所述复制重定向策略;The process of the access device receiving the data flow matching the copy redirection policy specifically includes: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP The address is the IP address of the front-end device, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow matches the copy redirection policy; 所述接入设备利用所述复制重定向策略为所述目的客户端复制新数据流的过程,具体包括:所述接入设备复制所述数据流,并将复制后的数据流的源IP地址修改为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The process of the access device duplicating the new data flow for the destination client by using the copy redirection strategy specifically includes: the access device copies the data flow, and assigns the source IP address of the copied data flow to Modify it to the IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client. 3.根据权利要求1所述的方法,其特征在于,所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述方法进一步包括:3. The method according to claim 1, wherein the video surveillance system also includes a streaming media server, and the source device includes a source client that has received the data stream from the streaming media server, so Said method further comprises: 所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流的过程,具体包括:所述视频管理服务器在获知所述接入设备与所述来源客户端连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;The process in which the video management server determines that the access device needs to copy the data stream for the destination client specifically includes: the video management server learns that the access device is connected to the source client, and communicates with the source client. When the destination client is connected, if a message for requesting a data flow from the destination client is received, it is determined that the access device needs to copy the data flow for the destination client; 所述接入设备接收到匹配所述复制重定向策略的数据流的过程,具体包括:所述接入设备从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述流媒体服务器的IP地址,且所述目的IP地址为所述来源客户端的IP地址,则确定所述数据流匹配到所述复制重定向策略;The process of the access device receiving the data flow matching the copy redirection policy specifically includes: the access device parses out the source IP address and the destination IP address from the received data flow, if the source IP The address is the IP address of the streaming media server, and the destination IP address is the IP address of the source client, then it is determined that the data flow matches the copy redirection strategy; 所述接入设备利用所述复制重定向策略为所述目的客户端复制新数据流的过程,具体包括:所述接入设备复制所述数据流,并保持复制后的数据流的源IP地址为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The process of the access device duplicating the new data flow for the destination client by using the copy redirection strategy specifically includes: the access device copies the data flow, and keeps the source IP address of the copied data flow is the IP address of the streaming media server, and the destination IP address of the copied data stream is changed to the IP address of the destination client. 4.根据权利要求2或3所述的方法,其特征在于,所述方法还包括:4. The method according to claim 2 or 3, characterized in that the method further comprises: 所述接入设备在接收到来自与本接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,将所述第一注册报文发送给所述视频管理服务器,并从所述第一注册报文中解析出所述目的客户端、来源客户端或者所述前端设备的设备信息,并向所述视频管理服务器发送第二注册报文,所述第二注册报文中携带所述设备信息、所述接入设备的信息,以使所述视频管理服务器利用所述第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。When the access device receives a first registration message from a destination client, a source client, or a front-end device connected to the access device, it sends the first registration message to the video management server, And parse out the device information of the destination client, the source client or the front-end device from the first registration message, and send a second registration message to the video management server, the second registration message The text carries the information of the device and the information of the access device, so that the video management server can use the second registration message to know that the access device is connected to the target client, and communicate with the front end The device is connected; or, it is learned that the access device is connected to the destination client and connected to the source client. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. method according to claim 4, is characterized in that, described method also comprises: 所述视频管理服务器在接收到来自所述目的客户端、所述来源客户端或者所述前端设备的第一注册报文后,如果在预设时间内未接收到来自所述接入设备的第二注册报文,则拒绝所述目的客户端、所述来源客户端或者所述前端设备接入到所述视频监控系统。After the video management server receives the first registration message from the destination client, the source client or the front-end device, if it does not receive the first registration message from the access device within a preset time If a registration message is received, the destination client, the source client or the front-end device is denied access to the video monitoring system. 6.一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,且所述数据流的传输装置应用在所述接入设备上,其特征在于,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述数据流的传输装置具体包括:6. A data stream transmission device, which is applied to a video surveillance system including a video management server and an access device, and the data stream transmission device is applied to the access device, wherein the video The monitoring system further includes a destination client connected to the access device, and a source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, the The data flow transmission device specifically includes: 接收模块,用于当所述视频管理服务器确定所述接入设备需要为所述目的客户端复制数据流时,则接收来自所述视频管理服务器的复制重定向策略;A receiving module, configured to receive a copy redirection policy from the video management server when the video management server determines that the access device needs to copy the data stream for the destination client; 处理模块,用于当接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。A processing module, configured to send the data flow according to the destination address of the data flow when receiving the data flow matching the copy redirection strategy, and use the copy redirection strategy to copy the data flow for the destination client A new data stream is generated, and the new data stream is sent to the destination client. 7.根据权利要求6所述的装置,其特征在于,7. The device of claim 6, wherein: 所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述处理模块,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为前端设备的IP地址,所述目的IP地址为流媒体服务器的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,将复制后的数据流的源IP地址修改为所述流媒体服务器的IP地址,将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址;或者,The video surveillance system further includes a streaming media server, the source device includes a front-end device, and the processing module is specifically configured to, during the process of receiving the data stream matching the copy redirection policy, from the received data Source IP address and destination IP address are resolved in the flow, if the source IP address is the IP address of the front-end equipment, and the destination IP address is the IP address of the streaming media server, then it is determined that the data flow is matched to the duplicate Orientation strategy: In the process of using the replication redirection strategy to copy the new data flow for the purpose client, copy the data flow, and modify the source IP address of the copied data flow to the IP of the streaming media server address, modifying the destination IP address of the copied data stream to the IP address of the destination client; or, 所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述处理模块,具体用于在接收到匹配所述复制重定向策略的数据流的过程中,从接收到的数据流中解析出源IP地址和目的IP地址,如果所述源IP地址为所述流媒体服务器的IP地址,且所述目的IP地址为所述来源客户端的IP地址,则确定所述数据流匹配到所述复制重定向策略;在利用所述复制重定向策略为所述目的客户端复制新数据流的过程中,复制所述数据流,并保持复制后的数据流的源IP地址为所述流媒体服务器的IP地址,并将所述复制后的数据流的目的IP地址修改为所述目的客户端的IP地址。The video surveillance system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the processing module is specifically configured to In the process of directing the data flow of the strategy, the source IP address and the destination IP address are resolved from the received data flow, if the source IP address is the IP address of the streaming media server, and the destination IP address is the If the IP address of the source client is used, then it is determined that the data flow matches the copy redirection strategy; in the process of copying the new data flow for the destination client using the copy redirection strategy, copy the data flow, And keep the source IP address of the copied data stream as the IP address of the streaming media server, and modify the destination IP address of the copied data stream to the IP address of the destination client. 8.根据权利要求7所述的装置,其特征在于,还包括:8. The device according to claim 7, further comprising: 注册模块,用于在接收到来自与所述接入设备连接的目的客户端、来源客户端或者前端设备的第一注册报文时,将所述第一注册报文发送给所述视频管理服务器,并从所述第一注册报文中解析出所述目的客户端、来源客户端或者所述前端设备的设备信息,并向所述视频管理服务器发送第二注册报文,所述第二注册报文中携带所述设备信息、所述接入设备的信息,以使所述视频管理服务器利用所述第二注册报文获知所述接入设备与所述目的客户端连接,并与所述前端设备连接;或者,获知所述接入设备与所述目的客户端连接,并与所述来源客户端连接。A registration module, configured to send the first registration message to the video management server when receiving a first registration message from a destination client, a source client, or a front-end device connected to the access device , and parse out the device information of the destination client, the source client, or the front-end device from the first registration message, and send a second registration message to the video management server, the second registration The message carries the device information and the information of the access device, so that the video management server uses the second registration message to know that the access device is connected to the destination client, and communicates with the The front-end device is connected; or, it is learned that the access device is connected to the destination client and is connected to the source client. 9.一种数据流的传输装置,应用于包括视频管理服务器和接入设备的视频监控系统中,且所述数据流的传输装置应用在所述视频管理服务器上,其特征在于,所述视频监控系统中还包括与所述接入设备连接的目的客户端、与所述接入设备连接的来源设备,且所述来源设备是所述目的客户端请求的数据流对应的来源设备,所述数据流的传输装置具体包括:9. A data stream transmission device, applied in a video surveillance system including a video management server and an access device, and the data stream transmission device is applied on the video management server, wherein the video The monitoring system further includes a destination client connected to the access device, and a source device connected to the access device, and the source device is the source device corresponding to the data flow requested by the destination client, the The data flow transmission device specifically includes: 确定模块,用于确定所述接入设备需要为所述目的客户端复制数据流;A determining module, configured to determine that the access device needs to copy the data flow for the destination client; 发送模块,用于向所述接入设备发送复制重定向策略;以使所述接入设备在接收到匹配所述复制重定向策略的数据流时,则按照所述数据流的目的地址发送所述数据流,并利用所述复制重定向策略为所述目的客户端复制新数据流,并将所述新数据流发送给所述目的客户端。A sending module, configured to send a copy redirection policy to the access device; so that when the access device receives a data flow matching the copy redirection policy, it sends the copy redirection policy according to the destination address of the data flow The data stream is copied, and a new data stream is copied for the destination client by using the copy redirection policy, and the new data stream is sent to the destination client. 10.根据权利要求9所述的装置,其特征在于,10. The apparatus of claim 9, wherein: 所述视频监控系统中还包括流媒体服务器,所述来源设备包括前端设备,所述确定模块,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述前端设备连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流;或者,The video surveillance system further includes a streaming media server, the source device includes a front-end device, and the determining module is specifically configured to, in the process of determining that the access device needs to copy the data stream for the destination client, in When it is known that the access device is connected to the front-end device and the destination client, if a message for requesting a data stream is received from the destination client, then it is determined that the access device needs to be connected to the destination client. The destination client replicates the data stream; or, 所述视频监控系统中还包括流媒体服务器,所述来源设备包括已经接收到来自所述流媒体服务器的数据流的来源客户端,所述确定模块,具体用于在确定所述接入设备需要为所述目的客户端复制数据流的过程中,在获知所述接入设备与所述来源客户端连接,并与所述目的客户端连接时,如果接收到来自所述目的客户端的用于请求数据流的消息,则确定所述接入设备需要为所述目的客户端复制数据流。The video monitoring system also includes a streaming media server, the source device includes a source client that has received the data stream from the streaming media server, and the determining module is specifically configured to determine that the access device needs to During the process of duplicating data streams for the destination client, when it is known that the access device is connected to the source client and connected to the destination client, if a request from the destination client is received If the data flow message is not received, it is determined that the access device needs to copy the data flow for the destination client.
CN201610324074.XA 2016-05-16 2016-05-16 A data stream transmission method and device Active CN105828046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610324074.XA CN105828046B (en) 2016-05-16 2016-05-16 A data stream transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610324074.XA CN105828046B (en) 2016-05-16 2016-05-16 A data stream transmission method and device

Publications (2)

Publication Number Publication Date
CN105828046A true CN105828046A (en) 2016-08-03
CN105828046B CN105828046B (en) 2019-02-15

Family

ID=56529666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610324074.XA Active CN105828046B (en) 2016-05-16 2016-05-16 A data stream transmission method and device

Country Status (1)

Country Link
CN (1) CN105828046B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982355A (en) * 2017-04-06 2017-07-25 浙江宇视科技有限公司 The video monitoring system and anti-leak server of a kind of anti-image leakage
WO2019019371A1 (en) * 2017-07-24 2019-01-31 平安科技(深圳)有限公司 Streaming media data transmission method, storage medium and streaming media server
CN109982117A (en) * 2019-03-15 2019-07-05 兰州大学 Relay processing method, device, storage medium and the network equipment of video stream data
CN110266987A (en) * 2019-07-25 2019-09-20 深圳金三立视频科技股份有限公司 Passive type kinescope method and computer readable storage medium
CN113873265A (en) * 2021-10-27 2021-12-31 猫岐智能科技(上海)有限公司 Video viewing method and viewing system
US11363060B2 (en) * 2019-10-24 2022-06-14 Microsoft Technology Licensing, Llc Email security in a multi-tenant email service

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170452A (en) * 2007-11-30 2008-04-30 中国电信股份有限公司 Content distribution network service provision node system for enhancing management capability and its affiliated network
US20080120370A1 (en) * 2006-11-22 2008-05-22 Brian Chan Virtual Meeting Server Discovery
CN101540886A (en) * 2009-04-15 2009-09-23 中兴通讯股份有限公司 Realization method and system of video-on-demand business and home streaming server
CN101720035A (en) * 2009-12-11 2010-06-02 杭州华三通信技术有限公司 Disaster-recovery method and equipment in video monitoring scene
CN103327307A (en) * 2013-03-14 2013-09-25 山东电力集团公司青岛供电公司 Power grid monitoring system and method based on streaming media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120370A1 (en) * 2006-11-22 2008-05-22 Brian Chan Virtual Meeting Server Discovery
CN101170452A (en) * 2007-11-30 2008-04-30 中国电信股份有限公司 Content distribution network service provision node system for enhancing management capability and its affiliated network
CN101540886A (en) * 2009-04-15 2009-09-23 中兴通讯股份有限公司 Realization method and system of video-on-demand business and home streaming server
CN101720035A (en) * 2009-12-11 2010-06-02 杭州华三通信技术有限公司 Disaster-recovery method and equipment in video monitoring scene
CN103327307A (en) * 2013-03-14 2013-09-25 山东电力集团公司青岛供电公司 Power grid monitoring system and method based on streaming media

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982355A (en) * 2017-04-06 2017-07-25 浙江宇视科技有限公司 The video monitoring system and anti-leak server of a kind of anti-image leakage
WO2019019371A1 (en) * 2017-07-24 2019-01-31 平安科技(深圳)有限公司 Streaming media data transmission method, storage medium and streaming media server
CN109982117A (en) * 2019-03-15 2019-07-05 兰州大学 Relay processing method, device, storage medium and the network equipment of video stream data
CN109982117B (en) * 2019-03-15 2021-06-04 兰州大学 Relay processing method, device, storage medium and network equipment for video stream data
CN110266987A (en) * 2019-07-25 2019-09-20 深圳金三立视频科技股份有限公司 Passive type kinescope method and computer readable storage medium
CN110266987B (en) * 2019-07-25 2021-05-11 深圳金三立视频科技股份有限公司 Passive video recording method and computer readable storage medium
US11363060B2 (en) * 2019-10-24 2022-06-14 Microsoft Technology Licensing, Llc Email security in a multi-tenant email service
CN113873265A (en) * 2021-10-27 2021-12-31 猫岐智能科技(上海)有限公司 Video viewing method and viewing system

Also Published As

Publication number Publication date
CN105828046B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
US9203734B2 (en) Optimized bi-directional communication in an information centric network
CN105828046A (en) Data flow transmission method and device
CN110198345B (en) Data request method, system and device and storage medium
CN109525460B (en) Method and device for monitoring number resources of video network
CN109729310B (en) Method and device for exporting monitoring inspection data
CN108965367B (en) Method and system for controlling video network server
CN109120897B (en) Method and device for sharing video directory of video network monitoring
CN110190973B (en) Online state detection method and device
CN109788247B (en) Method and device for identifying monitoring instruction
CN110012322B (en) Method and system for initiating video networking service
CN111431966A (en) A service request processing method, device, electronic device and storage medium
CN109977137B (en) Data query method and device
CN110602039A (en) Data acquisition method and system
CN112203149B (en) Video networking software updating method and device based on domestic password
CN110809026A (en) File processing method and device, electronic equipment and storage medium
CN106534794A (en) A remote control method and device for a video surveillance system
CN111125426B (en) Data storage and query method and device
CN110012063B (en) Data packet processing method and system
CN109151519B (en) Configuration distribution method and system based on video network
CN110636044B (en) Network access method, system and device for virtual terminal and storage medium
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN110391922B (en) Version prompting method and device for service platform
CN108989896B (en) Video-on-demand request processing method and device
CN110704520A (en) Service processing method and device

Legal Events

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