WO2011160298A1 - Method and system for issuing network video - Google Patents

Method and system for issuing network video Download PDF

Info

Publication number
WO2011160298A1
WO2011160298A1 PCT/CN2010/074339 CN2010074339W WO2011160298A1 WO 2011160298 A1 WO2011160298 A1 WO 2011160298A1 CN 2010074339 W CN2010074339 W CN 2010074339W WO 2011160298 A1 WO2011160298 A1 WO 2011160298A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
collection terminal
video collection
access
client
Prior art date
Application number
PCT/CN2010/074339
Other languages
French (fr)
Chinese (zh)
Inventor
赵勇
Original Assignee
深圳市中瀛鑫科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中瀛鑫科技股份有限公司 filed Critical 深圳市中瀛鑫科技股份有限公司
Priority to PCT/CN2010/074339 priority Critical patent/WO2011160298A1/en
Publication of WO2011160298A1 publication Critical patent/WO2011160298A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • H04N21/2265Server identification by a unique number or address, e.g. serial number

Definitions

  • the present invention relates to the field of network communications, and in particular, to a network video publishing method and system.
  • Centralized monitoring Set the camera in multiple areas, based on the traditional access mode, using DDN, V.90 Modem, ISDN and other access methods for remote centralized monitoring in the equipment room.
  • This method basically uses a special networking scheme, requires a large amount of streaming media forwarding, and has a designated monitoring terminal, and not all terminals can see the monitoring image.
  • a remote monitoring system based on ADSL/CableModem point-to-point mode such as a home remote monitoring system.
  • the remote client uses an access method such as ADSL/CM/LAN/Modem to access the Internet, and then finds the PC or video server in the monitored area according to the IP address of the video collection terminal ADSL, extracts image signals, and performs monitoring on the monitored area. Image observation and language communication.
  • the video capture terminals are installed in the local area network.
  • the external remote client cannot access the video capture terminal because it cannot penetrate the LAN or the router used by the client has a firewall. Collect video images of the area monitored by the terminal.
  • the main technical problem to be solved by the present invention is to provide a network video publishing method and system, which is convenient for an external remote client to see a video image of a region monitored by the video collection terminal.
  • a network video publishing method including:
  • the record table includes at least an identifier of the video collection terminal, an IP address, and an access method
  • the server receives an access request sent by the client to access the video collection terminal, where the access request includes an identity identification code of the video collection terminal that the client wants to access;
  • the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Describe the client, so that the client accesses the video collection terminal;
  • a network video distribution system including: a video collection terminal recording table, the record table includes at least an identification code of the video collection terminal and an IP address and an access method thereof; and a receiving unit, configured to receive the client The access request sent by the terminal to the video collection terminal, where the access request includes an identifier of the video collection terminal that the client wants to access; the search unit is configured to collect, according to the video that the client included in the access request is to access An identification code of the terminal, in which the access mode of the video collection terminal is found, and the identity of the video collection terminal is determined when the access mode of the video collection terminal to be accessed by the client is directly connected The IP address of the video collection terminal is searched; the request uploading unit is configured to send an upload request to the video collection terminal when the access mode of the video collection terminal to be accessed by the client is a reverse link, and request the video collection terminal to upload a video image; a sending unit, configured to find the video captured by the searching unit The IP address of the terminal is sent
  • the present invention further provides a network video distribution system, comprising: at least one video collection terminal for capturing an image of a monitored area; at least one server, the server comprising a receiving unit, a sending unit, and a request uploading unit, the receiving unit
  • the requesting uploading unit is configured to send an uploading request to the video collecting terminal, where the request is sent by the client, and the video image uploaded by the video collecting terminal is sent by the client;
  • the sending unit is configured to send the IP address of the video collection terminal to be accessed to the client, or forward the video image uploaded by the video collection terminal to the client;
  • the control center includes a video collection terminal record table and a search a unit, the record table includes at least an identification code of the video collection terminal and an IP address and an access method thereof; the searching unit learns the video collection from the record table according to the identity identification code of the video collection terminal sent by the client The access mode of the terminal, the video capture to be accessed by the client.
  • the access mode of the terminal is to search for the IP address of the video collection terminal according to the identity identification code of the video collection terminal, and send the information to the client through the server, and the access mode of the video collection terminal that the client wants to access And controlling, by the server, to send an upload request to the video collection terminal, and requesting the video collection terminal to upload a video image.
  • the present invention also provides a computer executable program having the above functions and a medium storing the program.
  • the direct connection and the reverse tunneling manner enable the video collection terminal to remain connected to the server after registration, and the user can view the video that he wants to view in time, regardless of whether the local area network of the video collection terminal can be penetrated. Capture the video image captured by the terminal.
  • FIG. 1 is a flowchart of a network video distribution according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a network video distribution system according to another embodiment of the present invention.
  • FIG. 3 is a structural diagram of a network video distribution system according to still another embodiment of the present invention.
  • FIG. 4 is a flowchart of a network video distribution according to still another embodiment of the present invention.
  • FIG. 5 is a virtual multicast diagram formed in an embodiment of the present invention.
  • the core of the present invention is to assign a fixed identification code to the video capture terminal.
  • the video collection terminal registers with the network video distribution system when the device is powered on, or records the identification code of the video collection terminal, the IP address and the access mode of the video collection terminal on the network video distribution system.
  • Each user knows its access mode through the ID of the network video capture terminal, and sees the video image in a proper way to realize the function of real-time video distribution.
  • the first mode the user can directly access the video collection terminal by obtaining the IP address of the video collection terminal.
  • the second method when the local area where the video collection terminal is located cannot be penetrated, that is, when the local area cannot be directly accessed, the server system notifies the video collection terminal to first send the video image to the server, and the server forwards the video image to the user for viewing.
  • the network video distribution system for implementing the above functions includes a video collection terminal recording table, a receiving unit, a searching unit, a request uploading unit, and a transmitting unit.
  • the video collection terminal record table includes at least the identification code of the video collection terminal, its IP address and access mode, and may also include the relevant port number and online status.
  • the receiving unit is configured to receive an access request sent by the client to access the video collection terminal, where the access request includes an identity identification code of the video collection terminal that the client wants to access.
  • the searching unit is configured to search for the access mode of the video collection terminal in the record table according to the identifier of the video collection terminal in the access request, and when the access mode of the video collection terminal to be accessed by the client is directly connected Searching for an IP address or an IP address and a port number of the video collection terminal according to the identity identification code of the video collection terminal.
  • the request uploading unit is configured to send an upload request to the video collecting terminal when the access mode of the video collecting terminal to be accessed by the client is a reverse link, and request the video collecting terminal to upload a video image.
  • the sending unit is configured to send, to the client, an IP address or an IP address and a port number of the video collection terminal that is searched by the searching unit, so that the client accesses the video collection terminal, or the received
  • the video image uploaded by the video collection terminal is forwarded to the client.
  • the network video publishing method based on the above network video publishing system is as shown in FIG. 1 and includes the following steps:
  • Step S11 first, a video collection terminal recording table is established on the system, where the recording table includes an identification code of the video collection terminal, an IP address and an access method thereof, or an identification code of the video collection terminal, an IP address, and a port thereof. Number and access method.
  • the access mode includes the direct connection mode and the reverse link mode. When the local area network where the video collection terminal is located is transparent, the access mode of the video collection terminal is recorded as a direct connection mode. When the local area network where the video collection terminal is located cannot be penetrated, the video collection is performed. The access mode of the terminal is recorded as a reverse link method.
  • Step S12 When the client needs to view the video image of a video collection terminal, log in to the server, and send an access request to the video collection terminal to the server, where the access request includes a video collection terminal to be accessed by the client.
  • the identification code the server receives the access request sent by the client, and then performs step S13.
  • Step S13 determining an access mode of the video collection terminal that the client wants to access.
  • the access record is associated with the identifier of the video capture terminal included in the access request, and the access mode associated with the identifier is obtained.
  • the access mode is the access mode required by the video capture terminal.
  • Step S14 If the access mode of the video collection terminal to be accessed by the client is the direct connection mode, the IP address or the IP address and the port number of the video collection terminal are searched according to the identity identification code of the video collection terminal, and the steps are S15, sending an IP address or an IP address and a port number of the video collection terminal to the client, so that the client accesses the video collection terminal;
  • Step S16 If the access mode of the video collection terminal to be accessed by the client is the reverse link mode, send an upload request to the video collection terminal, and request the video capture terminal to upload a video image.
  • step S17 when the video image uploaded by the video collection terminal is received, the received video image is forwarded to the client.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the network video distribution system includes at least one video collection terminal 21, at least one server 22, and a control center 23 that are connected.
  • the video capture terminal 21 is used to capture an image of the monitored area, which may be an integrated camera and video server, or a network camera.
  • the server 22 includes a receiving unit 221, a transmitting unit 222, and a request uploading unit 223.
  • the control center 23 includes a video collecting terminal recording table 231 and a searching unit 232.
  • the video collection terminal 21 is provided with an identification code.
  • the identification code, IP address, and port number of the terminal 21 are recorded in the video collection terminal recording table 231 of the control center 23.
  • the record table 231 includes an identity code of the video capture terminal and an IP address, a port number, and an access mode, the identity code is associated with the IP address and a related port number; or the identity code and the The IP address is associated.
  • the video collection terminal 21 After registering with the server 22, the video collection terminal 21 waits for the reverse connection of the server 22. If the connection is reversed, it indicates that the local area network where the video collection terminal is located can be penetrated, and the access mode is recorded as a direct connection mode. When the reverse connection of the server 22 fails to be established within the specified time, the video collection terminal 21 considers that the local area network cannot be penetrated, and then actively establishes a connection with the server 22, that is, establishes a so-called reverse tunnel, and the access mode is recorded as a back link. the way. After the video capture terminal 21 and the server 22 are connected, the server 22 records the online status and connection mode (direct or reverse link) of the video capture terminal, and summarizes it into the video capture terminal record table 231 of the control center. The server dynamically updates the IP address, online status, and access mode of the video collection terminal, or updates the IP address, related port number, online status, and access mode of the video collection terminal. The updated results are overwritten with the records in the video collection terminal record
  • the access request includes the identification code of the video collection terminal 21 to be accessed.
  • the receiving unit 221 of the server 22 receives the access request sent by the client, and the server 22 summarizes the access request to the control center 23.
  • the searching unit 232 of the control center 23 learns the access mode of the video collection terminal from the record table 231 according to the identity identification code of the video collection terminal sent by the client, and the video collection that the search unit 232 needs to access at the client terminal 24.
  • the IP address and the port number of the video collection terminal are searched according to the identity identification code of the video collection terminal, and sent to the sending unit 222 of the server, where the sending unit 222 collects the video.
  • the IP address or IP address and port number of the terminal are sent to the client 24.
  • the search unit 232 of the control center controls the request uploading unit 223 of the server to send an upload request to the video collection terminal 21, requesting the video collection.
  • the terminal uploads a video image.
  • the video capture terminal 21 uploads the video image to the server 22. After receiving the video image, the receiving unit 221 of the server forwards the video image to the client 24 through the sending unit 223.
  • the remote client only needs to know the identity identification code of the video collection terminal to be accessed.
  • the remote client can directly access the video collection terminal to implement the Real-time viewing of the video and control of the video capture terminal can greatly reduce the burden on the server.
  • the server forwards the video image uploaded by the video collection terminal to the client, so that the client can also see the image of the video collection terminal in real time.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the control center 23 of the network video distribution system further includes a first determining unit 233 and a second determining unit 234, and the first determining unit 233 determines that the video capture is to be accessed. Whether the number of clients of the terminal 21 exceeds a set amount, and if so, the request uploading unit 223 is controlled to send an upload request to the video collecting terminal 21.
  • the video collection terminal cannot bear simultaneous access by multiple clients. For example, the video collection terminal can receive up to 10 simultaneous accesses by the client.
  • the server receives the request of the client to access a certain video collection terminal, the access request is summarized to the control.
  • the center 23, the control center 23 counts the number of clients requesting access to the same video collection terminal during this time.
  • the request uploading unit 223 is controlled to send an upload request to the video collection terminal.
  • the video capture terminal is required to upload a video image to the server 22, and the server 22 forwards the video image to the client 24.
  • the set amount should be less than or equal to the maximum number of concurrently accessible clients of the video capture terminal.
  • a second determining unit 234 is also designed in the embodiment, and the second determining unit 234 determines whether the server 22 has the capability to forward all the video collections to be accessed.
  • the client of the terminal if yes, controls the sending unit 222 to forward the video image to all clients that want to access the video collection terminal; otherwise, the second determining unit 234 controls the sending unit 222 to
  • the received video images are forwarded to a number of servers within the same system, and the server receiving the video images forwards the video images to all clients according to a predetermined scheduling rule.
  • the scheduling rule may be, for example, a multicast mode, to form a virtual multicast network, as shown in FIG. 5.
  • the network video publishing method of the network video distribution system based on this embodiment is as shown in FIG. 4, and includes the following steps:
  • Step S41 The client logs in to the server, and sends an access request to the server to access the video collection terminal, where the access request includes the identity identification code of the video collection terminal to be accessed.
  • step S42 the server transmits the access request to the control center.
  • step S43 the control center counts the number of clients accessing the same video collection terminal.
  • step S45 is performed, when the number of clients accessing the same video collection terminal does not exceed
  • step S44 is performed.
  • Step S44 The control center learns the online status and access mode of the video collection terminal from the record table according to the identity identification code of the video collection terminal sent by the client, and the access mode of the video collection terminal that the client wants to access.
  • step S51 is performed.
  • step S54 is performed.
  • step S45 the control center notifies the server.
  • Step S46 The server sends an upload request to the video collection terminal, and requests the video collection terminal to upload a video image. In this case, regardless of the access mode of the video collection terminal, the server sends an upload request to the video collection terminal.
  • step S47 the video collection terminal uploads a video image to the server.
  • step S48 the server determines whether it has the capability to forward to all clients that want to access the video collection terminal. If yes, step S49 is performed, otherwise the server forwards the received video image to several servers in the same system. And transmitting, by the server receiving the video image, the video image to all clients according to a predetermined scheduling rule.
  • step S49 the server forwards the video image to all clients that want to access the video collection terminal.
  • step S51 the control center searches the record table for the associated IP address or IP address and port number according to the identity code of the video collection terminal sent by the client, and sends the IP address or IP address and port number to the server.
  • step S52 the server sends the IP address or IP address and port number to the client.
  • step S53 the client links with the video collection terminal to access and control the video collection terminal.
  • step S54 the control center notifies the server.
  • step S55 the server sends an upload request to the video collection terminal, and requests the video collection terminal to upload a video image.
  • step S56 the video collection terminal uploads a video image to the server.
  • step S57 the server forwards the received video image to the client.
  • This embodiment has three ways of viewing video images.
  • the first mode the user can directly access the network video collection terminal, that is, the public network IP address and the associated port number of the network video collection terminal registered by the specific network video collection terminal on the server directly access the video collection terminal. . This can greatly reduce the burden on the server.
  • the LAN where the video capture terminal is located cannot be penetrated (direct access), and the video capture terminal can connect to the server system and always keep the connection, but does not send video (and establish a so-called reverse tunnel).
  • the server system notifies the video collection terminal to first transmit to the server system, and the server system forwards to the viewing user.
  • the third way when there are more users to watch, it is also forwarded by the server system. That is, it is first transmitted from the video collection terminal to a server in the server system, and then the server forwards the video signal to other servers, which then forward the data to other viewed users.
  • the system will be assigned a forwarding relationship between the server and the user by a unified scheduling algorithm. Therefore, the entire server system constitutes a virtual multicast network. For example, in a kindergarten or school setting up a network video publishing system, a class usually has dozens of students. When the parents of these students are required to view the video recording of the class at the same time, the virtual multicast network can be used to reduce one. The burden on the server shortens the time the parents wait to receive video images.
  • control center may be a single computer or a server, or may be only one software system installed in one of the servers.
  • the above process can be written in various computer languages into a program executable by a computer, which can be executed by a computer to perform the above functions.
  • the program is executed by a computer to perform the following functions:
  • the record table includes at least an identity identification code of the video collection terminal registered thereto and an IP address and an access mode of the video collection terminal;
  • the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Client
  • the program can also perform the following functions through computer execution:
  • the program can also perform the following functions through computer execution:
  • the server Determining whether the server has the capability to forward the video image to all clients that need to access the video collection terminal, and if yes, forwarding the video image to all clients that need to access the video collection terminal, otherwise And the server forwards the received video image to a plurality of servers in the same system, and the server that receives the video image forwards the video image to all clients according to a predetermined scheduling rule.
  • the program can also perform the following functions through computer execution:
  • the video collection terminal After registering with the server, the video collection terminal waits for the reverse connection of the server. If the reverse connection is successful within the set time, the server records the access mode of the video collection terminal in the record table. In the direct connection mode, the video collection terminal actively establishes a connection with the server and maintains a connection when the reverse connection fails to be established within the set time, and the server records the access mode of the video collection terminal in the record table. For backlinks.
  • the program having the above functions may be stored on the medium by various storage methods, which may be various semiconductor storage devices such as a hard disk, an optical disk, a flash disk, and the like.
  • the network video distribution system of the invention is suitable for home security, public place monitoring, factory monitoring, kindergarten school security monitoring and remote meeting.

Abstract

A method and system for issuing network video are disclosed in the present invention. The method includes that: a server establishes a video acquisition terminal recording table which comprises an identification code of the video acquisition terminal, an IP address and an access mode thereof; the server receives an access request which is sent from a client side and is used for accessing the video acquisition terminal, wherein the access request includes the identification code of the video acquisition terminal; the access mode of the video acquisition terminal to be accessed by the client side is determined; if the access mode is a direct connection mode, the IP address of the video acquisition terminal is searched according to the identification code and sent to the client side; and if the access mode of the video acquisition terminal accessed by the client side is a backward interlinkage mode, an upload request is sent to the video acquisition terminal, the video acquisition terminal is requested to upload video images and the received video images are forwarded to the client side. The present invention can lead the client side to be easier to view the video images of the video acquisition terminal.

Description

网络视频发布方法及系统  Network video publishing method and system 技术领域Technical field
本发明涉及网络通信领域,特别涉及一种网络视频发布方法及系统。 The present invention relates to the field of network communications, and in particular, to a network video publishing method and system.
背景技术Background technique
现有技术中的远程网络视频监控通常有以下两种方式:There are two ways to remote network video surveillance in the prior art:
集中监控。在多个区域设置摄像头,基于传统接入方式,采用DDN、V.90Modem、ISDN等接入方式,在机房进行远程集中监控。这种方式基本都是通过特殊的组网方案,需要大量的流媒体的转发等工作,并且有指定的监控终端,并非任一个终端都能看到监控图像。Centralized monitoring. Set the camera in multiple areas, based on the traditional access mode, using DDN, V.90 Modem, ISDN and other access methods for remote centralized monitoring in the equipment room. This method basically uses a special networking scheme, requires a large amount of streaming media forwarding, and has a designated monitoring terminal, and not all terminals can see the monitoring image.
点对点方式的远程监控。基于ADSL/CableModem点对点方式的远程监控系统,例如家庭远程监控系统。在被监控区域的视频采集终端的PC上或视频服务器上增加一视频捕获卡,可接入1-4路模拟摄像信号。远端客户端采用ADSL/CM/LAN/Modem等接入方法,接入Internet,再根据视频采集终端ADSL下的IP地址找到被监控区域的PC或视频服务器,提取图像信号,对被监控区域进行图像观察和语言交流。Remote monitoring in a point-to-point manner. A remote monitoring system based on ADSL/CableModem point-to-point mode, such as a home remote monitoring system. Add a video capture card to the PC of the video capture terminal in the monitored area or to the video server to access 1-4 analog video signals. The remote client uses an access method such as ADSL/CM/LAN/Modem to access the Internet, and then finds the PC or video server in the monitored area according to the IP address of the video collection terminal ADSL, extracts image signals, and performs monitoring on the monitored area. Image observation and language communication.
上述两种方式中,大多数的视频采集终端都是安装在局域网内,外部的远程客户端因无法穿透局域网或客户端所用的路由器具有防火墙,很难访问视频采集终端,从而无法看到视频采集终端所监控区域的视频图像。In the above two methods, most of the video capture terminals are installed in the local area network. The external remote client cannot access the video capture terminal because it cannot penetrate the LAN or the router used by the client has a firewall. Collect video images of the area monitored by the terminal.
技术问题technical problem
本发明要解决的主要技术问题是,提供一种网络视频发布方法及系统,方便外部的远程客户端看到视频采集终端所监控区域的视频图像。 The main technical problem to be solved by the present invention is to provide a network video publishing method and system, which is convenient for an external remote client to see a video image of a region monitored by the video collection terminal.
技术解决方案Technical solution
根据本发明的一方面,提供一种网络视频发布方法,包括:According to an aspect of the present invention, a network video publishing method is provided, including:
建立视频采集终端记录表,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;Establishing a video collection terminal record table, where the record table includes at least an identifier of the video collection terminal, an IP address, and an access method;
服务器接收客户端发送的访问视频采集终端的访问请求,所述访问请求中包括客户端要访问的视频采集终端的身份识别码;The server receives an access request sent by the client to access the video collection terminal, where the access request includes an identity identification code of the video collection terminal that the client wants to access;
根据所述访问请求中包括的客户端要访问的视频采集终端的身份识别码,确定客户端所要访问的视频采集终端的访问方式;Determining, according to the identity identification code of the video collection terminal that the client that is included in the access request, the access mode of the video collection terminal that the client wants to access;
如果客户端所要访问的视频采集终端的访问方式为直连,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并将所述视频采集终端的IP地址发送给所述客户端,以便所述客户端访问所述视频采集终端;If the access mode of the video collection terminal to be accessed by the client is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Describe the client, so that the client accesses the video collection terminal;
如果客户端所要访问的视频采集终端的访问方式为反向链接,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像,并将接收到的视频图像转发给所述客户端。If the access mode of the video collection terminal to be accessed by the client is a backlink, send an upload request to the video collection terminal, request the video collection terminal to upload a video image, and forward the received video image to the client. end.
根据本发明的另一方面,提供网络视频发布系统,包括:视频采集终端记录表,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;接收单元,用于接收客户端发送的访问视频采集终端的访问请求,所述访问请求中包括客户端要访问的视频采集终端的身份识别码;查找单元,用于根据所述访问请求中包括的客户端要访问的视频采集终端的身份识别码,在所述记录表中查找出所述视频采集终端的访问方式,并在客户端所要访问的视频采集终端的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址;请求上传单元,用于当客户端所要访问的视频采集终端的访问方式为反向链接时向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像;发送单元,用于将查找单元查找出的所述视频采集终端的IP地址发送给所述客户端,以便所述客户端访问所述视频采集终端,或将接收到的所述视频采集终端上传的视频图像转发给所述客户端。According to another aspect of the present invention, a network video distribution system is provided, including: a video collection terminal recording table, the record table includes at least an identification code of the video collection terminal and an IP address and an access method thereof; and a receiving unit, configured to receive the client The access request sent by the terminal to the video collection terminal, where the access request includes an identifier of the video collection terminal that the client wants to access; the search unit is configured to collect, according to the video that the client included in the access request is to access An identification code of the terminal, in which the access mode of the video collection terminal is found, and the identity of the video collection terminal is determined when the access mode of the video collection terminal to be accessed by the client is directly connected The IP address of the video collection terminal is searched; the request uploading unit is configured to send an upload request to the video collection terminal when the access mode of the video collection terminal to be accessed by the client is a reverse link, and request the video collection terminal to upload a video image; a sending unit, configured to find the video captured by the searching unit The IP address of the terminal is sent to the client, so that the client accesses the video collection terminal, or forwards the received video image uploaded by the video collection terminal to the client.
本发明还提供一种网络视频发布系统,包括:至少一个视频采集终端,用于拍摄被监控区域的图像;至少一个服务器,所述服务器包括接收单元、发送单元和请求上传单元,所述接收单元用于接收客户端发送的包含有要访问视频采集终端的身份识别码的访问请求和所述视频采集终端上传的视频图像;所述请求上传单元用于向所述视频采集终端发送上传请求;所述发送单元用于向客户端发送所要访问的视频采集终端的IP地址,或将所述视频采集终端上传的视频图像转发给客户端;控制中心,所述控制中心包括视频采集终端记录表和查找单元,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;所述查找单元根据客户端发送的视频采集终端的身份识别码从所述记录表中获知所述视频采集终端的访问方式,在客户端所要访问的视频采集终端的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并通过所述服务器发送给客户端,当客户端所要访问的视频采集终端的访问方式为反向链接时控制所述服务器向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像。The present invention further provides a network video distribution system, comprising: at least one video collection terminal for capturing an image of a monitored area; at least one server, the server comprising a receiving unit, a sending unit, and a request uploading unit, the receiving unit The requesting uploading unit is configured to send an uploading request to the video collecting terminal, where the request is sent by the client, and the video image uploaded by the video collecting terminal is sent by the client; The sending unit is configured to send the IP address of the video collection terminal to be accessed to the client, or forward the video image uploaded by the video collection terminal to the client; the control center includes a video collection terminal record table and a search a unit, the record table includes at least an identification code of the video collection terminal and an IP address and an access method thereof; the searching unit learns the video collection from the record table according to the identity identification code of the video collection terminal sent by the client The access mode of the terminal, the video capture to be accessed by the client. The access mode of the terminal is to search for the IP address of the video collection terminal according to the identity identification code of the video collection terminal, and send the information to the client through the server, and the access mode of the video collection terminal that the client wants to access And controlling, by the server, to send an upload request to the video collection terminal, and requesting the video collection terminal to upload a video image.
本发明还提供具有以上功能的可被计算机执行的程序和存储有所述程序的介质。The present invention also provides a computer executable program having the above functions and a medium storing the program.
有益效果Beneficial effect
本发明通过直连和反向隧道方式,使视频采集终端在注册后始终和服务器保持连接,无论视频采集终端所在的局域网是否能被穿透,都能使用户及时查看到其所想查看的视频采集终端拍摄的视频图像。 The direct connection and the reverse tunneling manner enable the video collection terminal to remain connected to the server after registration, and the user can view the video that he wants to view in time, regardless of whether the local area network of the video collection terminal can be penetrated. Capture the video image captured by the terminal.
附图说明DRAWINGS
图1为本发明一种实施例的网络视频发布流程图;FIG. 1 is a flowchart of a network video distribution according to an embodiment of the present invention;
图2为本发明另一种实施例的网络视频发布系统结构图;2 is a structural diagram of a network video distribution system according to another embodiment of the present invention;
图3为本发明又一种实施例的网络视频发布系统结构图;3 is a structural diagram of a network video distribution system according to still another embodiment of the present invention;
图4为本发明又一种实施例的网络视频发布流程图;4 is a flowchart of a network video distribution according to still another embodiment of the present invention;
图5为本发明一种实施例中形成的虚拟组播图。 FIG. 5 is a virtual multicast diagram formed in an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
由于大多数的视频采集终端都是安装在局域网内,外部的远程客户端很难穿透局域网访问视频采集终端,为此,本发明的核心是为视频采集终端分配一固定的身份识别码,当视频采集终端上电时或在其他情况下向网络视频发布系统进行注册,在网络视频发布系统上记录所述视频采集终端的身份识别码、所述视频采集终端的IP地址和访问方式。每一个用户通过网络视频采集终端的身份识别码了解到它的访问方式,采用合适的方式看到视频图像,实现实时视频发布的功能。Since most video capture terminals are installed in a local area network, it is difficult for an external remote client to access the video capture terminal through the local area network. To this end, the core of the present invention is to assign a fixed identification code to the video capture terminal. The video collection terminal registers with the network video distribution system when the device is powered on, or records the identification code of the video collection terminal, the IP address and the access mode of the video collection terminal on the network video distribution system. Each user knows its access mode through the ID of the network video capture terminal, and sees the video image in a proper way to realize the function of real-time video distribution.
第一种方式:用户通过获取的视频采集终端的IP地址可以直接访问视频采集终端。The first mode: the user can directly access the video collection terminal by obtaining the IP address of the video collection terminal.
第二种方式:视频采集终端所在的局域网无法穿透时,即无法直接访问时,由服务器系统通知视频采集终端先将视频图像发送到服务器,并由服务器转发给用户观看。The second method: when the local area where the video collection terminal is located cannot be penetrated, that is, when the local area cannot be directly accessed, the server system notifies the video collection terminal to first send the video image to the server, and the server forwards the video image to the user for viewing.
实现上述功能的网络视频发布系统包括视频采集终端记录表、接收单元、查找单元、请求上传单元和发送单元。视频采集终端记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式,还可以包括相关端口号和在线状态。接收单元用于接收客户端发送的访问视频采集终端的访问请求,所述访问请求中包括客户端要访问的视频采集终端的身份识别码。查找单元用于根据访问请求中的视频采集终端的身份识别码在所述记录表中查找出所述视频采集终端的访问方式,并在客户端所要访问的视频采集终端的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址或IP地址和端口号。请求上传单元用于当客户端所要访问的视频采集终端的访问方式为反向链接时向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像。发送单元用于将查找单元查找出的所述视频采集终端的IP地址或IP地址和端口号发送给所述客户端,以便所述客户端访问所述视频采集终端,或将接收到的所述视频采集终端上传的视频图像转发给所述客户端。The network video distribution system for implementing the above functions includes a video collection terminal recording table, a receiving unit, a searching unit, a request uploading unit, and a transmitting unit. The video collection terminal record table includes at least the identification code of the video collection terminal, its IP address and access mode, and may also include the relevant port number and online status. The receiving unit is configured to receive an access request sent by the client to access the video collection terminal, where the access request includes an identity identification code of the video collection terminal that the client wants to access. The searching unit is configured to search for the access mode of the video collection terminal in the record table according to the identifier of the video collection terminal in the access request, and when the access mode of the video collection terminal to be accessed by the client is directly connected Searching for an IP address or an IP address and a port number of the video collection terminal according to the identity identification code of the video collection terminal. The request uploading unit is configured to send an upload request to the video collecting terminal when the access mode of the video collecting terminal to be accessed by the client is a reverse link, and request the video collecting terminal to upload a video image. The sending unit is configured to send, to the client, an IP address or an IP address and a port number of the video collection terminal that is searched by the searching unit, so that the client accesses the video collection terminal, or the received The video image uploaded by the video collection terminal is forwarded to the client.
基于以上网络视频发布系统的网络视频发布方法如图1所示,包括以下步骤:The network video publishing method based on the above network video publishing system is as shown in FIG. 1 and includes the following steps:
步骤S11,首先,在系统上建立视频采集终端记录表,所述记录表包括视频采集终端的身份识别码及其IP地址和访问方式,或者包括视频采集终端的身份识别码及其IP地址、端口号和访问方式。访问方式包括直连方式和反向链接方式,当视频采集终端所在的局域网可穿透时,视频采集终端的访问方式记录为直连方式,当视频采集终端所在的局域网不能穿透时,视频采集终端的访问方式记录为反向链接方式。Step S11, first, a video collection terminal recording table is established on the system, where the recording table includes an identification code of the video collection terminal, an IP address and an access method thereof, or an identification code of the video collection terminal, an IP address, and a port thereof. Number and access method. The access mode includes the direct connection mode and the reverse link mode. When the local area network where the video collection terminal is located is transparent, the access mode of the video collection terminal is recorded as a direct connection mode. When the local area network where the video collection terminal is located cannot be penetrated, the video collection is performed. The access mode of the terminal is recorded as a reverse link method.
步骤S12,当客户端需要查看某视频采集终端的视频图像时,登录所述服务器,向所述服务器发出对某视频采集终端的访问请求,所述访问请求中包括客户端要访问的视频采集终端的身份识别码,服务器接收客户端发送的访问请求,然后执行步骤S13。Step S12: When the client needs to view the video image of a video collection terminal, log in to the server, and send an access request to the video collection terminal to the server, where the access request includes a video collection terminal to be accessed by the client. The identification code, the server receives the access request sent by the client, and then performs step S13.
步骤S13,确定客户端所要访问的视频采集终端的访问方式。根据访问请求中包含的视频采集终端的身份识别码,查询记录表,获知与该身份识别码关联的访问方式,该访问方式即是所述视频采集终端要求的访问方式。Step S13, determining an access mode of the video collection terminal that the client wants to access. The access record is associated with the identifier of the video capture terminal included in the access request, and the access mode associated with the identifier is obtained. The access mode is the access mode required by the video capture terminal.
步骤S14,如果客户端所要访问的视频采集终端的访问方式为直连方式,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址或IP地址和端口号,并在步骤S15中将所述视频采集终端的IP地址或IP地址和端口号发送给所述客户端,以便所述客户端访问所述视频采集终端;Step S14: If the access mode of the video collection terminal to be accessed by the client is the direct connection mode, the IP address or the IP address and the port number of the video collection terminal are searched according to the identity identification code of the video collection terminal, and the steps are S15, sending an IP address or an IP address and a port number of the video collection terminal to the client, so that the client accesses the video collection terminal;
步骤S16,如果客户端所要访问的视频采集终端的访问方式为反向链接方式,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像。在步骤S17中,当接收到所述视频采集终端上传的视频图像时,将接收到的视频图像转发给所述客户端。Step S16: If the access mode of the video collection terminal to be accessed by the client is the reverse link mode, send an upload request to the video collection terminal, and request the video capture terminal to upload a video image. In step S17, when the video image uploaded by the video collection terminal is received, the received video image is forwarded to the client.
下面通过具体实施例进行说明。The following description will be made by way of specific examples.
实施例一:Embodiment 1:
在本实施例中,如图2所示,网络视频发布系统包括相连接的至少一个视频采集终端21、至少一个服务器22和控制中心23。In this embodiment, as shown in FIG. 2, the network video distribution system includes at least one video collection terminal 21, at least one server 22, and a control center 23 that are connected.
视频采集终端21用于拍摄被监控区域的图像,可以是集成在一起的摄像头和视频服务器,也可以是网络摄像机。所述服务器22包括接收单元221、发送单元222和请求上传单元223,所述控制中心23包括视频采集终端记录表231和查找单元232。The video capture terminal 21 is used to capture an image of the monitored area, which may be an integrated camera and video server, or a network camera. The server 22 includes a receiving unit 221, a transmitting unit 222, and a request uploading unit 223. The control center 23 includes a video collecting terminal recording table 231 and a searching unit 232.
所述视频采集终端21具备身份识别码,当视频采集终端21向服务器22注册时,将自身的身份识别码、IP地址和端口号发送给所述服务器22,所述服务器22将所述视频采集终端21的身份识别码、IP地址和端口号记录到控制中心23的视频采集终端记录表231中。所述记录表231包括视频采集终端的身份识别码及其IP地址、端口号和访问方式,所述身份识别码与所述IP地址、相关端口号相关联;或所述身份识别码与所述IP地址相关联。The video collection terminal 21 is provided with an identification code. When the video collection terminal 21 registers with the server 22, it sends its own identification code, IP address and port number to the server 22, and the server 22 collects the video. The identification code, IP address, and port number of the terminal 21 are recorded in the video collection terminal recording table 231 of the control center 23. The record table 231 includes an identity code of the video capture terminal and an IP address, a port number, and an access mode, the identity code is associated with the IP address and a related port number; or the identity code and the The IP address is associated.
所述视频采集终端21在向所述服务器22注册后,就等待服务器22的反向连接,如能反向连接,表明视频采集终端所在局域网可以穿透,访问方式记录为直连方式。当服务器22的反向连接未能在规定时间内建立时,则视频采集终端21认为局域网不能穿透,则主动与服务器22建立连接,即建立所谓的反向隧道,访问方式记录为反向链接方式。在视频采集终端21和服务器22连接后,服务器22记录视频采集终端的在线状态和连接方式(直连或反向链接),并且汇总到控制中心的视频采集终端记录表231中。服务器动态更新所述视频采集终端的IP地址、在线状态以及访问方式,或更新所述视频采集终端的IP地址、相关端口号、在线状态以及访问方式。并将更新后的结果覆盖视频采集终端记录表中的记录。After registering with the server 22, the video collection terminal 21 waits for the reverse connection of the server 22. If the connection is reversed, it indicates that the local area network where the video collection terminal is located can be penetrated, and the access mode is recorded as a direct connection mode. When the reverse connection of the server 22 fails to be established within the specified time, the video collection terminal 21 considers that the local area network cannot be penetrated, and then actively establishes a connection with the server 22, that is, establishes a so-called reverse tunnel, and the access mode is recorded as a back link. the way. After the video capture terminal 21 and the server 22 are connected, the server 22 records the online status and connection mode (direct or reverse link) of the video capture terminal, and summarizes it into the video capture terminal record table 231 of the control center. The server dynamically updates the IP address, online status, and access mode of the video collection terminal, or updates the IP address, related port number, online status, and access mode of the video collection terminal. The updated results are overwritten with the records in the video collection terminal record table.
当远程用户的客户端24登录某个服务器22时,向服务器22发出访问某个视频采集终端的访问请求时,访问请求包含要访问的视频采集终端21的身份识别码。所述服务器22的接收单元221接收客户端发送的访问请求,所述服务器22将访问请求汇总到控制中心23。所述控制中心23的查找单元232根据客户端发送的视频采集终端的身份识别码从所述记录表231中获知所述视频采集终端的访问方式,查找单元232在客户端24所要访问的视频采集终端21的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址和端口号,并发给所述服务器的发送单元222,所述发送单元222将视频采集终端的IP地址或IP地址和端口号发送给客户端24。当客户端24所要访问的视频采集终端的访问方式为反向链接时,控制中心的查找单元232控制所述服务器的请求上传单元223向所述视频采集终端21发送上传请求,要求所述视频采集终端上传视频图像。When the client 24 of the remote user logs in to a certain server 22 and issues an access request to the server 22 to access a certain video collection terminal, the access request includes the identification code of the video collection terminal 21 to be accessed. The receiving unit 221 of the server 22 receives the access request sent by the client, and the server 22 summarizes the access request to the control center 23. The searching unit 232 of the control center 23 learns the access mode of the video collection terminal from the record table 231 according to the identity identification code of the video collection terminal sent by the client, and the video collection that the search unit 232 needs to access at the client terminal 24. When the access mode of the terminal 21 is directly connected, the IP address and the port number of the video collection terminal are searched according to the identity identification code of the video collection terminal, and sent to the sending unit 222 of the server, where the sending unit 222 collects the video. The IP address or IP address and port number of the terminal are sent to the client 24. When the access mode of the video collection terminal to be accessed by the client 24 is a reverse link, the search unit 232 of the control center controls the request uploading unit 223 of the server to send an upload request to the video collection terminal 21, requesting the video collection. The terminal uploads a video image.
所述视频采集终端21上传视频图像给服务器22,服务器的接收单元221接收到视频图像后,通过发送单元223将视频图像转发给客户端24。The video capture terminal 21 uploads the video image to the server 22. After receiving the video image, the receiving unit 221 of the server forwards the video image to the client 24 through the sending unit 223.
本实施例对于远程客户端来说,只需要知道要访问的视频采集终端的身份识别码即可,当视频采集终端所在的局域网可穿透时,远程客户端可直接访问视频采集终端,实现对视频的实时观看和对视频采集终端的控制,这样可大大减轻服务器的负担。当视频采集终端所在的局域网不能穿透时,服务器将视频采集终端上传的视频图像转发给客户端,使客户端同样可实时看到视频采集终端的图像。In this embodiment, the remote client only needs to know the identity identification code of the video collection terminal to be accessed. When the local area network where the video collection terminal is located can be penetrated, the remote client can directly access the video collection terminal to implement the Real-time viewing of the video and control of the video capture terminal can greatly reduce the burden on the server. When the local area network where the video collection terminal is located cannot be penetrated, the server forwards the video image uploaded by the video collection terminal to the client, so that the client can also see the image of the video collection terminal in real time.
实施例二:Embodiment 2:
如图3所示,与实施例一不同的是,网络视频发布系统的控制中心23还包括第一判断单元233和第二判断单元234,所述第一判断单元233判断要访问所述视频采集终端21的客户端的数量是否超过设定量,如果是则控制所述请求上传单元223向所述视频采集终端21发送上传请求。所述视频采集终端不能承受多个客户端同时访问,例如视频采集终端最多能够接受10个客户端同时访问,当服务器接收到客户端访问某个视频采集终端的请求时,将访问请求汇总到控制中心23,控制中心23统计在这段时间要求访问同一个视频采集终端的客户端的数量,如果超过设定量(例如8),则控制所述请求上传单元223向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像给服务器22,由服务器22转发给客户端24。为保障所述视频采集终端正常运行,设定量应小于或等于视频采集终端能够允许的最大同时访问的客户端的数量。As shown in FIG. 3, different from the first embodiment, the control center 23 of the network video distribution system further includes a first determining unit 233 and a second determining unit 234, and the first determining unit 233 determines that the video capture is to be accessed. Whether the number of clients of the terminal 21 exceeds a set amount, and if so, the request uploading unit 223 is controlled to send an upload request to the video collecting terminal 21. The video collection terminal cannot bear simultaneous access by multiple clients. For example, the video collection terminal can receive up to 10 simultaneous accesses by the client. When the server receives the request of the client to access a certain video collection terminal, the access request is summarized to the control. The center 23, the control center 23 counts the number of clients requesting access to the same video collection terminal during this time. If the set amount (for example, 8) is exceeded, the request uploading unit 223 is controlled to send an upload request to the video collection terminal. The video capture terminal is required to upload a video image to the server 22, and the server 22 forwards the video image to the client 24. To ensure the normal operation of the video collection terminal, the set amount should be less than or equal to the maximum number of concurrently accessible clients of the video capture terminal.
为防止很多客户端访问同一个视频采集终端,在本实施例中还设计了第二判断单元234,所述第二判断单元234判断所述服务器22是否有能力转发给所有要访问所述视频采集终端的客户端,如果是,则控制所述发送单元222将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述第二判断单元234控制所述发送单元222将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。调度规则例如可采用组播方式等,形成一个虚拟组播网,如图5所示。In order to prevent many clients from accessing the same video collection terminal, a second determining unit 234 is also designed in the embodiment, and the second determining unit 234 determines whether the server 22 has the capability to forward all the video collections to be accessed. The client of the terminal, if yes, controls the sending unit 222 to forward the video image to all clients that want to access the video collection terminal; otherwise, the second determining unit 234 controls the sending unit 222 to The received video images are forwarded to a number of servers within the same system, and the server receiving the video images forwards the video images to all clients according to a predetermined scheduling rule. The scheduling rule may be, for example, a multicast mode, to form a virtual multicast network, as shown in FIG. 5.
基于本实施例的网络视频发布系统的网络视频发布方法如图4所示,包括以下步骤:The network video publishing method of the network video distribution system based on this embodiment is as shown in FIG. 4, and includes the following steps:
步骤S41,客户端登录服务器,向服务器发出访问某个视频采集终端的访问请求,其访问请求中包含有要访问的视频采集终端的身份识别码。Step S41: The client logs in to the server, and sends an access request to the server to access the video collection terminal, where the access request includes the identity identification code of the video collection terminal to be accessed.
步骤S42,所述服务器将访问请求传给控制中心。In step S42, the server transmits the access request to the control center.
步骤S43,所述控制中心统计访问同一视频采集终端的客户端的数量,当访问同一视频采集终端的客户端的数量超过设定量时,执行步骤S45,当访问同一视频采集终端的客户端的数量未超过设定量时,执行步骤S44。In step S43, the control center counts the number of clients accessing the same video collection terminal. When the number of clients accessing the same video collection terminal exceeds the set amount, step S45 is performed, when the number of clients accessing the same video collection terminal does not exceed When the amount is set, step S44 is performed.
步骤S44,所述控制中心根据客户端发送的视频采集终端的身份识别码从所述记录表中获知所述视频采集终端的在线状态和访问方式,当客户端所要访问的视频采集终端的访问方式为直连方式时,执行步骤S51。当客户端所要访问的视频采集终端的访问方式为反向链接方式时,执行步骤S54。Step S44: The control center learns the online status and access mode of the video collection terminal from the record table according to the identity identification code of the video collection terminal sent by the client, and the access mode of the video collection terminal that the client wants to access. In the case of the direct connection mode, step S51 is performed. When the access mode of the video collection terminal to be accessed by the client is the reverse link mode, step S54 is performed.
步骤S45,控制中心通知服务器。In step S45, the control center notifies the server.
步骤S46,服务器向视频采集终端发送上传请求,要求视频采集终端上传视频图像。这种情况下,不管视频采集终端的访问方式是怎样的,服务器都向视频采集终端发送上传请求。Step S46: The server sends an upload request to the video collection terminal, and requests the video collection terminal to upload a video image. In this case, regardless of the access mode of the video collection terminal, the server sends an upload request to the video collection terminal.
步骤S47,视频采集终端上传视频图像给服务器。In step S47, the video collection terminal uploads a video image to the server.
步骤S48,服务器判断自身是否有能力转发给所有要访问所述视频采集终端的客户端,如果是,则执行步骤S49,否则服务器将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。In step S48, the server determines whether it has the capability to forward to all clients that want to access the video collection terminal. If yes, step S49 is performed, otherwise the server forwards the received video image to several servers in the same system. And transmitting, by the server receiving the video image, the video image to all clients according to a predetermined scheduling rule.
步骤S49,服务器将所述视频图像转发给所有要访问所述视频采集终端的客户端。In step S49, the server forwards the video image to all clients that want to access the video collection terminal.
步骤S51,控制中心根据客户端发送的视频采集终端的身份识别码从所述记录表中查找到关联的IP地址或IP地址和端口号,将IP地址或IP地址和端口号发送给服务器。In step S51, the control center searches the record table for the associated IP address or IP address and port number according to the identity code of the video collection terminal sent by the client, and sends the IP address or IP address and port number to the server.
步骤S52,服务器将IP地址或IP地址和端口号发送给客户端。In step S52, the server sends the IP address or IP address and port number to the client.
步骤S53,客户端与视频采集终端链接,对视频采集终端进行访问和控制。In step S53, the client links with the video collection terminal to access and control the video collection terminal.
步骤S54,控制中心通知服务器。In step S54, the control center notifies the server.
步骤S55,服务器向视频采集终端发送上传请求,要求视频采集终端上传视频图像。In step S55, the server sends an upload request to the video collection terminal, and requests the video collection terminal to upload a video image.
步骤S56,视频采集终端上传视频图像给服务器。In step S56, the video collection terminal uploads a video image to the server.
步骤S57,服务器将接收到的视频图像转发给客户端。In step S57, the server forwards the received video image to the client.
本实施例具有三种查看视频图像的方式,This embodiment has three ways of viewing video images.
第一种方式:用户可以直接访问网络视频采集终端,即通过特定网络视频采集终端在服务器上所注册的、该网络视频采集终端所在的公网IP以及分配的相关端口号,直接访问视频采集终端。这样可大大减轻服务器的负担。The first mode: the user can directly access the network video collection terminal, that is, the public network IP address and the associated port number of the network video collection terminal registered by the specific network video collection terminal on the server directly access the video collection terminal. . This can greatly reduce the burden on the server.
第二种方式:视频采集终端所在的局域网无法穿透(直接访问),可由视频采集终端向服务器系统进行连接,并始终保持连接,但不发送视频(及建立所谓的反向隧道)。当有用户发来视频观看请求时,由服务器系统通知视频采集终端先发送到服务器系统,并有服务器系统转发到观看用户。The second way: the LAN where the video capture terminal is located cannot be penetrated (direct access), and the video capture terminal can connect to the server system and always keep the connection, but does not send video (and establish a so-called reverse tunnel). When a user sends a video viewing request, the server system notifies the video collection terminal to first transmit to the server system, and the server system forwards to the viewing user.
第三种方式:当有较多用户进行观看时,也由服务器系统进行转发。即先从视频采集终端传到服务器系统中的一台服务器,然后由该服务器将视频信号转发到其它服务器,由这些服务器再转发到其它观看的用户。该系统将由一个统一的调度算法来分配服务器和用户之间的转发关系。因此,整个服务器系统即构成一个的虚拟组播网。例如,在幼儿园或学校设置网络视频发布系统,一个班通常有几十个学生,当这些学生的家长都在同一时段要求查看该班级的视频摄像时,可采用虚拟组播网的方式,减轻一台服务器的负担,缩短家长等待接收视频图像的时间。The third way: when there are more users to watch, it is also forwarded by the server system. That is, it is first transmitted from the video collection terminal to a server in the server system, and then the server forwards the video signal to other servers, which then forward the data to other viewed users. The system will be assigned a forwarding relationship between the server and the user by a unified scheduling algorithm. Therefore, the entire server system constitutes a virtual multicast network. For example, in a kindergarten or school setting up a network video publishing system, a class usually has dozens of students. When the parents of these students are required to view the video recording of the class at the same time, the virtual multicast network can be used to reduce one. The burden on the server shortens the time the parents wait to receive video images.
上述实施例中,控制中心可以是一台单独的计算机或服务器,也可以只是装在其中一台服务器中的一个软件系统。In the above embodiment, the control center may be a single computer or a server, or may be only one software system installed in one of the servers.
上述流程可采用各种计算机语言编写成可被计算机执行的程序,所述程序通过计算机执行后可完成上述功能。The above process can be written in various computer languages into a program executable by a computer, which can be executed by a computer to perform the above functions.
在一种实施例中,所述程序通过计算机执行后可完成以下功能:In one embodiment, the program is executed by a computer to perform the following functions:
建立视频采集终端记录表,所述记录表至少包括向其注册的视频采集终端的身份识别码及视频采集终端的IP地址和访问方式;Establishing a video collection terminal record table, where the record table includes at least an identity identification code of the video collection terminal registered thereto and an IP address and an access mode of the video collection terminal;
接收客户端发送的访问视频采集终端的访问请求;Receiving an access request sent by the client to access the video collection terminal;
根据所述访问请求中包括客户端要访问的视频采集终端的身份识别码,确定客户端所要访问的视频采集终端的访问方式;Determining, according to the identity request code of the video collection terminal that the client wants to access, the access mode of the video collection terminal that the client wants to access;
如果客户端所要访问的视频采集终端的访问方式为直连,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并将所述视频采集终端的IP地址发送给所述客户端;If the access mode of the video collection terminal to be accessed by the client is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Client
如果客户端所要访问的视频采集终端的访问方式为反向链接,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像,并将接收到的视频图像转发给所述客户端。If the access mode of the video collection terminal to be accessed by the client is a backlink, send an upload request to the video collection terminal, request the video collection terminal to upload a video image, and forward the received video image to the client. end.
在另一实施例中,所述程序通过计算机执行还可完成如下功能:In another embodiment, the program can also perform the following functions through computer execution:
判断要访问所述视频采集终端的客户端的数量是否超过设定量,如果是则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像到所述服务器,并将接收到的视频图像转发给至少一个客户端。Determining whether the number of clients to access the video collection terminal exceeds a set amount, and if yes, sending an upload request to the video collection terminal, requesting the video collection terminal to upload a video image to the server, and receiving the received The video image is forwarded to at least one client.
在另一实施例中,所述程序通过计算机执行还可完成如下功能:In another embodiment, the program can also perform the following functions through computer execution:
判断所述服务器是否有能力将所述视频图像转发给所有要访问所述视频采集终端的客户端,如果是,则将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述服务器将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。Determining whether the server has the capability to forward the video image to all clients that need to access the video collection terminal, and if yes, forwarding the video image to all clients that need to access the video collection terminal, otherwise And the server forwards the received video image to a plurality of servers in the same system, and the server that receives the video image forwards the video image to all clients according to a predetermined scheduling rule.
在另一实施例中,所述程序通过计算机执行还可完成如下功能:In another embodiment, the program can also perform the following functions through computer execution:
所述视频采集终端在向所述服务器注册后,等待所述服务器的反向连接,如果在设定时间内反向连接成功,则所述服务器将记录表中的该视频采集终端的访问方式记录为直连方式;所述视频采集终端当反向连接未能在设定时间内建立时主动与所述服务器建立连接并保持连接,所述服务器将记录表中的该视频采集终端的访问方式记录为反向链接方式。After registering with the server, the video collection terminal waits for the reverse connection of the server. If the reverse connection is successful within the set time, the server records the access mode of the video collection terminal in the record table. In the direct connection mode, the video collection terminal actively establishes a connection with the server and maintains a connection when the reverse connection fails to be established within the set time, and the server records the access mode of the video collection terminal in the record table. For backlinks.
具有以上功能的程序可通过各种存储方式存储在介质上,所述介质可以是硬盘、光盘、闪存盘等各种半导体存储设备。The program having the above functions may be stored on the medium by various storage methods, which may be various semiconductor storage devices such as a hard disk, an optical disk, a flash disk, and the like.
本发明的网络视频发布系统适用于家庭安防、公共场所监控、工厂监控、幼儿园学校安防监控及远程会议。The network video distribution system of the invention is suitable for home security, public place monitoring, factory monitoring, kindergarten school security monitoring and remote meeting.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.

Claims (20)

  1. 一种网络视频发布方法,其特征在于包括: A network video publishing method, comprising:
    建立视频采集终端记录表,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;Establishing a video collection terminal record table, where the record table includes at least an identifier of the video collection terminal, an IP address, and an access method;
    服务器接收客户端发送的访问视频采集终端的访问请求;The server receives an access request sent by the client to access the video collection terminal;
    根据所述访问请求中包括的客户端要访问的视频采集终端的身份识别码,确定客户端所要访问的视频采集终端的访问方式;Determining, according to the identity identification code of the video collection terminal that the client that is included in the access request, the access mode of the video collection terminal that the client wants to access;
    如果客户端所要访问的视频采集终端的访问方式为直连,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并将所述视频采集终端的IP地址发送给所述客户端,以便所述客户端访问所述视频采集终端;If the access mode of the video collection terminal to be accessed by the client is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Describe the client, so that the client accesses the video collection terminal;
    如果客户端所要访问的视频采集终端的访问方式为反向链接,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像,并将接收到的视频图像转发给所述客户端。If the access mode of the video collection terminal to be accessed by the client is a backlink, send an upload request to the video collection terminal, request the video collection terminal to upload a video image, and forward the received video image to the client. end.
  2. 如权利要求1所述的方法,其特征在于,在所述服务器接收客户端发送的访问视频采集终端的请求后还包括:判断要访问所述视频采集终端的客户端的数量是否超过设定量,如果是则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像到所述服务器,并将接收到的视频图像转发给至少一个客户端。The method according to claim 1, wherein after the server receives the request for accessing the video collection terminal sent by the client, the method further comprises: determining whether the number of clients to access the video collection terminal exceeds a set amount, If yes, sending an upload request to the video collection terminal, requesting the video collection terminal to upload a video image to the server, and forwarding the received video image to at least one client.
  3. 如权利要求1或2所述的方法,其特征在于,还包括:在所述服务器接收到所述视频采集终端上传的视频图像后还包括:判断所述服务器是否有能力将所述视频图像转发给所有要访问所述视频采集终端的客户端,如果是,则将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述服务器将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。 The method according to claim 1 or 2, further comprising: after the server receives the video image uploaded by the video collection terminal, further comprising: determining whether the server has the capability to forward the video image Giving all clients that want to access the video collection terminal, if yes, forwarding the video image to all clients that want to access the video collection terminal, otherwise the server forwards the received video image To several servers within the same system, the video image is forwarded to all clients by a server that receives the video image in accordance with a predetermined scheduling rule.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,还包括定期更新记录表中的IP地址、端口号和访问方式的步骤。The method according to any one of claims 1 to 3, further comprising the step of periodically updating the IP address, port number and access mode in the record table.
  5. 如权利要求1至3中任一项所述的方法,其特征在于,根据所述视频采集终端的身份识别码,从记录表中获取客户端所要访问的视频采集终端的访问方式。The method according to any one of claims 1 to 3, wherein the access mode of the video collection terminal to be accessed by the client is obtained from the record table according to the identity identification code of the video collection terminal.
  6. 一种网络视频发布系统,其特征在于包括:A network video distribution system, comprising:
    视频采集终端记录表,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;a video collection terminal recording table, where the recording table includes at least an identification code of the video collection terminal, an IP address thereof, and an access method;
    接收单元,用于接收客户端发送的访问视频采集终端的访问请求,所述访问请求中包括客户端要访问的视频采集终端的身份识别码;a receiving unit, configured to receive an access request sent by the client to access the video collection terminal, where the access request includes an identity identification code of the video collection terminal that the client wants to access;
    查找单元,用于根据所述访问请求中包括的客户端要访问的视频采集终端的身份识别码,在所述记录表中查找出所述视频采集终端的访问方式,并在客户端所要访问的视频采集终端的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址;a searching unit, configured to search, according to the identifier of the video collection terminal that the client that is included in the access request, the access mode of the video collection terminal, and the client to access The access mode of the video collection terminal is that, when the connection is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal;
    请求上传单元,用于当客户端所要访问的视频采集终端的访问方式为反向链接时向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像;The request uploading unit is configured to send an upload request to the video collecting terminal when the access mode of the video collecting terminal to be accessed by the client is a reverse link, and request the video collecting terminal to upload a video image;
    发送单元,用于将查找单元查找出的所述视频采集终端的IP地址发送给所述客户端,以便所述客户端访问所述视频采集终端,或将接收到的所述视频采集终端上传的视频图像转发给所述客户端。 a sending unit, configured to send an IP address of the video collection terminal that is searched by the search unit to the client, so that the client accesses the video collection terminal, or uploads the received video collection terminal The video image is forwarded to the client.
  7. 如权利要求6所述的系统,其特征在于,还包括第一判断单元,所述第一判断单元判断要访问所述视频采集终端的客户端的数量是否超过设定量,如果是则控制所述请求上传单元向所述视频采集终端发送上传请求。The system according to claim 6, further comprising a first determining unit, wherein the first determining unit determines whether the number of clients to access the video collecting terminal exceeds a set amount, and if so, controls the The request uploading unit sends an upload request to the video collection terminal.
  8. 如权利要求6或7所述的系统,其特征在于,还包括第二判断单元,所述第二判断单元判断所述服务器是否有能力转发给所有要访问所述视频采集终端的客户端,如果是,则控制所述发送单元将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述第二判断单元控制所述发送单元将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。The system according to claim 6 or 7, further comprising a second determining unit, wherein said second determining unit determines whether said server has the capability to forward to all clients that want to access said video collecting terminal, if If yes, the sending unit is controlled to forward the video image to all clients that want to access the video collection terminal. Otherwise, the second determining unit controls the sending unit to forward the received video image to On several servers within the same system, the video image is forwarded to all clients by a server that receives the video image according to a predetermined scheduling rule.
  9. 一种网络视频发布系统,其特征在于包括:A network video distribution system, comprising:
    至少一个视频采集终端,用于拍摄被监控区域的图像; At least one video capture terminal for capturing an image of the monitored area;
    至少一个服务器,所述服务器包括接收单元、发送单元和请求上传单元,所述接收单元用于接收客户端发送的包含有要访问视频采集终端的身份识别码的访问请求和所述视频采集终端上传的视频图像;所述请求上传单元用于向所述视频采集终端发送上传请求;所述发送单元用于向客户端发送所要访问的视频采集终端的IP地址,或将所述视频采集终端上传的视频图像转发给客户端;At least one server, the server includes a receiving unit, a sending unit, and a request uploading unit, where the receiving unit is configured to receive an access request that is sent by the client and includes an identifier that is to be accessed by the video collecting terminal, and the video collecting terminal uploads The request uploading unit is configured to send an upload request to the video collection terminal; the sending unit is configured to send the IP address of the video collection terminal to be accessed to the client, or upload the video collection terminal The video image is forwarded to the client;
    控制中心,所述控制中心包括视频采集终端记录表和查找单元,所述记录表至少包括视频采集终端的身份识别码及其IP地址和访问方式;所述查找单元根据客户端发送的视频采集终端的身份识别码从所述记录表中获知所述视频采集终端的访问方式,在客户端所要访问的视频采集终端的访问方式为直连时根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并通过所述服务器发送给客户端,当客户端所要访问的视频采集终端的访问方式为反向链接时控制所述服务器向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像。a control center, the control center includes a video collection terminal recording table and a searching unit, where the recording table includes at least an identification code of the video collection terminal, an IP address and an access manner thereof, and the searching unit is configured according to the video collection terminal sent by the client. The identification code of the video collection terminal is obtained from the record table, and the video is searched according to the identity identification code of the video collection terminal when the access mode of the video collection terminal to be accessed by the client is directly connected. The IP address of the terminal is collected and sent to the client by the server, and when the access mode of the video collection terminal to be accessed by the client is a reverse link, the server is controlled to send an upload request to the video collection terminal, and the The video capture terminal uploads a video image.
  10. 如权利要求9所述的系统,其特征在于,所述控制中心还包括第一判断单元,所述第一判断单元用于统计要访问同一视频采集终端的客户端的数量,当要访问同一视频采集终端的客户端的数量超过设定量时,控制服务器向所述视频采集终端发送上传请求。The system according to claim 9, wherein the control center further comprises a first determining unit, wherein the first determining unit is configured to count the number of clients that want to access the same video collecting terminal, when accessing the same video collection When the number of clients of the terminal exceeds the set amount, the control server sends an upload request to the video collection terminal.
  11. 如权利要求9或10所述的系统,其特征在于,所述服务器还包括第二判断单元,所述第二判断单元判断所述服务器是否有能力转发给所有要访问所述视频采集终端的客户端,如果是,则控制所述发送单元将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述第二判断单元控制所述发送单元将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。 The system according to claim 9 or 10, wherein the server further comprises a second determining unit, the second determining unit determining whether the server has the capability to forward to all clients who want to access the video collecting terminal End, if yes, controlling the sending unit to forward the video image to all clients that want to access the video collection terminal, otherwise, the second determining unit controls the video that the sending unit will receive The images are forwarded to a number of servers within the same system, and the video image is forwarded by the server receiving the video image to all clients in accordance with predetermined scheduling rules.
  12. 如权利要求9至11中任一项所述的系统,其特征在于,所述视频采集终端在向所述服务器注册时,将自身的身份识别码、IP地址和端口号发送给所述服务器,所述服务器将所述视频采集终端的身份识别码、IP地址和端口号记录到控制中心的视频采集终端记录表中。The system according to any one of claims 9 to 11, wherein the video collection terminal transmits its own identification code, IP address and port number to the server when registering with the server. The server records the identity identification code, the IP address, and the port number of the video collection terminal into the video collection terminal record table of the control center.
  13. 如权利要求12所述的系统,其特征在于,所述视频采集终端在向所述服务器注册后,等待所述服务器的反向连接,如果在设定时间内反向连接成功,则所述服务器将记录表中的该视频采集终端的访问方式记录为直连方式;所述视频采集终端当反向连接未能在设定时间内建立时主动与所述服务器建立连接并保持连接,所述服务器将记录表中的该视频采集终端的访问方式记录为反向链接方式。The system according to claim 12, wherein said video collection terminal waits for a reverse connection of said server after registering with said server, and if said reverse connection is successful within a set time, said server Recording the access mode of the video collection terminal in the record table as a direct connection mode; the video collection terminal actively establishes a connection with the server and maintains a connection when the reverse connection fails to be established within a set time, the server The access mode of the video collection terminal in the record table is recorded as a reverse link mode.
  14. 如权利要求13所述的系统,其特征在于,所述控制中心定期更新所述记录表中的IP地址、端口号和访问方式。The system of claim 13 wherein said control center periodically updates the IP address, port number, and access mode in said record table.
  15. 如权利要求9至14中任一项所述的系统,其特征在于,所述视频采集终端包括集成在一起的摄像头和视频服务器,或所述视频采集终端为网络摄像机。The system according to any one of claims 9 to 14, wherein the video capture terminal comprises a camera and a video server integrated together, or the video capture terminal is a network camera.
  16. 一种可被计算机执行的程序,其特征在于,所述程序通过计算机执行可完成如下功能:A program executable by a computer, characterized in that the program is executed by a computer to perform the following functions:
    建立视频采集终端记录表,所述记录表至少包括向其注册的视频采集终端的身份识别码及视频采集终端的IP地址和访问方式;Establishing a video collection terminal record table, where the record table includes at least an identity identification code of the video collection terminal registered thereto and an IP address and an access mode of the video collection terminal;
    接收客户端发送的访问视频采集终端的访问请求;Receiving an access request sent by the client to access the video collection terminal;
    根据所述访问请求中包括客户端要访问的视频采集终端的身份识别码,确定客户端所要访问的视频采集终端的访问方式;Determining, according to the identity request code of the video collection terminal that the client wants to access, the access mode of the video collection terminal that the client wants to access;
    如果客户端所要访问的视频采集终端的访问方式为直连,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并将所述视频采集终端的IP地址发送给所述客户端;If the access mode of the video collection terminal to be accessed by the client is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Client
    如果客户端所要访问的视频采集终端的访问方式为反向链接,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像,并将接收到的视频图像转发给所述客户端。If the access mode of the video collection terminal to be accessed by the client is a backlink, send an upload request to the video collection terminal, request the video collection terminal to upload a video image, and forward the received video image to the client. end.
  17. 如权利要求16所述的程序,其特征在于,所述程序通过计算机执行还可完成如下功能:The program according to claim 16, wherein said program is executed by a computer to perform the following functions:
    判断要访问所述视频采集终端的客户端的数量是否超过设定量,如果是则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像到所述服务器,并将接收到的视频图像转发给至少一个客户端。Determining whether the number of clients to access the video collection terminal exceeds a set amount, and if yes, sending an upload request to the video collection terminal, requesting the video collection terminal to upload a video image to the server, and receiving the received The video image is forwarded to at least one client.
  18. 如权利要求17所述的程序,其特征在于,所述程序通过计算机执行还可完成如下功能:The program according to claim 17, wherein said program is executed by a computer to perform the following functions:
    判断所述服务器是否有能力将所述视频图像转发给所有要访问所述视频采集终端的客户端,如果是,则将所述视频图像转发给所有要访问所述视频采集终端的客户端,否则,所述服务器将接收到的所述视频图像转发到同一系统内的若干服务器上,由接收到所述视频图像的服务器根据预定的调度规则将所述视频图像转发给所有客户端。Determining whether the server has the capability to forward the video image to all clients that need to access the video collection terminal, and if yes, forwarding the video image to all clients that need to access the video collection terminal, otherwise And the server forwards the received video image to a plurality of servers in the same system, and the server that receives the video image forwards the video image to all clients according to a predetermined scheduling rule.
  19. 一种具有计算机可执行程序的计算机可读介质,所述程序通过计算机执行可完成如下功能:A computer readable medium having a computer executable program, the program being executed by a computer to perform the following functions:
    建立视频采集终端记录表,所述记录表至少包括向其注册的视频采集终端的身份识别码及视频采集终端的IP地址和访问方式;Establishing a video collection terminal record table, where the record table includes at least an identity identification code of the video collection terminal registered thereto and an IP address and an access mode of the video collection terminal;
    接收客户端发送的访问视频采集终端的访问请求;Receiving an access request sent by the client to access the video collection terminal;
    根据所述访问请求中包括客户端要访问的视频采集终端的身份识别码,确定客户端所要访问的视频采集终端的访问方式;Determining, according to the identity request code of the video collection terminal that the client wants to access, the access mode of the video collection terminal that the client wants to access;
    如果客户端所要访问的视频采集终端的访问方式为直连,则根据所述视频采集终端的身份识别码查找所述视频采集终端的IP地址,并将所述视频采集终端的IP地址发送给所述客户端;If the access mode of the video collection terminal to be accessed by the client is directly connected, the IP address of the video collection terminal is searched according to the identity identification code of the video collection terminal, and the IP address of the video collection terminal is sent to the Client
    如果客户端所要访问的视频采集终端的访问方式为反向链接,则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像,并将接收到的视频图像转发给所述客户端。If the access mode of the video collection terminal to be accessed by the client is a backlink, send an upload request to the video collection terminal, request the video collection terminal to upload a video image, and forward the received video image to the client. end.
  20. 如权利要求19所述的介质,其特征在于,所述程序通过计算机执行还可完成如下功能:The medium according to claim 19, wherein said program is executed by a computer to perform the following functions:
    判断要访问所述视频采集终端的客户端的数量是否超过设定量,如果是则向所述视频采集终端发送上传请求,要求所述视频采集终端上传视频图像到所述服务器,并将接收到的视频图像转发给至少一个客户端。 Determining whether the number of clients to access the video collection terminal exceeds a set amount, and if yes, sending an upload request to the video collection terminal, requesting the video collection terminal to upload a video image to the server, and receiving the received The video image is forwarded to at least one client.
PCT/CN2010/074339 2010-06-23 2010-06-23 Method and system for issuing network video WO2011160298A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/074339 WO2011160298A1 (en) 2010-06-23 2010-06-23 Method and system for issuing network video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/074339 WO2011160298A1 (en) 2010-06-23 2010-06-23 Method and system for issuing network video

Publications (1)

Publication Number Publication Date
WO2011160298A1 true WO2011160298A1 (en) 2011-12-29

Family

ID=45370839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/074339 WO2011160298A1 (en) 2010-06-23 2010-06-23 Method and system for issuing network video

Country Status (1)

Country Link
WO (1) WO2011160298A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115460A (en) * 2020-09-27 2020-12-22 西安万像电子科技有限公司 Management method and management device of image management system and authorization management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119384A (en) * 2007-07-30 2008-02-06 深圳市融合视讯科技有限公司 Dynamic IP camera shooting terminal control method
CN101282450A (en) * 2007-04-02 2008-10-08 厦门瑞科技术有限公司 Method capable of immediate access and management of network camera
CN101552804A (en) * 2008-12-22 2009-10-07 北京大学深圳研究生院 Network video distribution system and network video access method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282450A (en) * 2007-04-02 2008-10-08 厦门瑞科技术有限公司 Method capable of immediate access and management of network camera
CN101119384A (en) * 2007-07-30 2008-02-06 深圳市融合视讯科技有限公司 Dynamic IP camera shooting terminal control method
CN101552804A (en) * 2008-12-22 2009-10-07 北京大学深圳研究生院 Network video distribution system and network video access method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115460A (en) * 2020-09-27 2020-12-22 西安万像电子科技有限公司 Management method and management device of image management system and authorization management system

Similar Documents

Publication Publication Date Title
US6546420B1 (en) Aggregating information about network message flows
WO2017054619A1 (en) Geographic location information-based social networking interconnection method and system
WO2012173444A2 (en) Apparatus and method for exchanging data between upnp based devices
WO2013155900A1 (en) Terahertz wireless communications-based peer-monitoring method and system thereof
WO2009091222A2 (en) Method and apparatus for outputting event of third party device in home network supporting upnp remote protocol
WO2010094214A1 (en) Method, apparatus and system for layer 2 interworking between a storage device and a user
WO2012050293A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
WO2010016724A2 (en) Method and apparatus for notifying remote user interface client about event of remote user interface server in home network
WO2015000262A1 (en) Social network based multi-screen interaction method
WO2012064054A1 (en) System and method for dynamic configuration of isn store-based overlay network
WO2011136526A2 (en) Method for providing message and device therefor
WO2022193618A1 (en) Railway video resource interconnection and convergence system and method
CN106612416A (en) Centralized monitoring management system based on streaming media
EP2286589A2 (en) Method and apparatus for using internet protocol television service based on application received in multicast session
WO2022250351A1 (en) Platform system and method for transmitting ultra-low latency real-time video
WO2016108509A1 (en) Method and apparatus for allocating server in wireless communication system
WO2010123268A2 (en) Method and apparatus for using contents of wireless terminal in home network system
WO2017092387A1 (en) Wearable device communication method and system
CN101867583A (en) Network video releasing method and system thereof
WO2011030967A1 (en) Wire/wireless integrated gateway and operating method thereof
WO2017067260A1 (en) Method, device and system for networking intelligent terminals
WO2011160298A1 (en) Method and system for issuing network video
WO2013032281A2 (en) Electronic apparatus and method for transferring contents on cloud system to device connected to dlna
EP2351254A1 (en) Method and apparatus for receiving data by using peer-to-peer portal server
WO2011162506A2 (en) Method and apparatus for random access to multimedia content in wireless communication system

Legal Events

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

Ref document number: 10853441

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 160513

122 Ep: pct application non-entry in european phase

Ref document number: 10853441

Country of ref document: EP

Kind code of ref document: A1