[go: up one dir, main page]

CN100421469C - System and method for realizing real-time video information sharing - Google Patents

System and method for realizing real-time video information sharing Download PDF

Info

Publication number
CN100421469C
CN100421469C CNB2005101351010A CN200510135101A CN100421469C CN 100421469 C CN100421469 C CN 100421469C CN B2005101351010 A CNB2005101351010 A CN B2005101351010A CN 200510135101 A CN200510135101 A CN 200510135101A CN 100421469 C CN100421469 C CN 100421469C
Authority
CN
China
Prior art keywords
real
time video
video resource
information
server
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.)
Expired - Lifetime
Application number
CNB2005101351010A
Other languages
Chinese (zh)
Other versions
CN1852431A (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101351010A priority Critical patent/CN100421469C/en
Publication of CN1852431A publication Critical patent/CN1852431A/en
Application granted granted Critical
Publication of CN100421469C publication Critical patent/CN100421469C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了两种实现实时视频信息共享的系统及方法,在系统中设置一个视频资源索引服务器,其与各个生成实时视频信息的流媒体服务器相连,接收并存储流媒体服务器发送的实时视频资源信息,各个客户终端通过访问实时视频资源索引服务器,来获取实时视频资源信息,并根据该实时视频资源信息到相应的流媒体服务器下载并播放实时视频信息;或者由各个客户终端向实时视频资源索引服务器请求实时视频,视频资源索引服务器根据实时视频资源信息到流媒体服务器获得实时视频转发给各个客户终端。本发明的这两种实现实时视频信息共享的系统及方法,实现了各种实时视频信息的集中共享,能够应用于各种环境中,满足用户对多种实时视频信息的需求。

The invention discloses two systems and methods for realizing real-time video information sharing. A video resource index server is set in the system, which is connected to each streaming media server generating real-time video information, and receives and stores the real-time video resources sent by the streaming media server. Information, each client terminal obtains real-time video resource information by accessing the real-time video resource index server, and downloads and plays real-time video information to the corresponding streaming media server according to the real-time video resource information; or each client terminal sends real-time video resource index The server requests the real-time video, and the video resource index server obtains the real-time video from the streaming media server according to the real-time video resource information and forwards it to each client terminal. The two systems and methods for sharing real-time video information of the present invention realize the centralized sharing of various real-time video information, can be applied in various environments, and satisfy users' needs for various real-time video information.

Description

实现实时视频信息共享的系统及方法 System and method for realizing real-time video information sharing

技术领域 technical field

本发明涉及在网络上实时传输视频信息的技术,特别涉及实现实时视频信息共享的系统及方法。The invention relates to the technology of real-time transmission of video information on the network, in particular to a system and method for realizing sharing of real-time video information.

背景技术 Background technique

目前,作为第四媒体的网络正在带给人们的是各种各样的信息,不再只是单纯文本、图像和简单的声音文件,而是包含音、视频的多媒体技术,包括广播电视、新闻剪辑电台、电影、监控视频等。想要使用这些多媒体信息,就必须实现视频、音频信息在网络上的传输,但随着上网人数的趋增,而网络硬件设备的本身局限性,使得媒体文件的大小成为网络传输一个不可忽视的参数。一方面,人们希望能在网络上看到生动清晰、活泼精彩的媒体演示,另一方面人们又不得不去面对媒体文件传输所需的大量时间。At present, the network as the fourth media is bringing people a variety of information, no longer just text, images and simple sound files, but multimedia technologies including audio and video, including radio and television, news clips, etc. Radio, movies, surveillance video, etc. If you want to use these multimedia information, you must realize the transmission of video and audio information on the network. However, with the increasing number of Internet users and the limitations of network hardware devices, the size of media files becomes a problem that cannot be ignored in network transmission. parameter. On the one hand, people hope to see vivid, clear, lively and exciting media presentations on the Internet; on the other hand, people have to face the large amount of time required for media file transmission.

为了解决这种矛盾,一种新的媒体技术应运而生,这就是流媒体(StreamMedia)技术,流媒体又叫流式媒体。所谓流媒体是指采用流式传输的方式在IP网络中播放的媒体格式,如音频、视频或多媒体文件。流媒体在播放前并不下载整个文件,只将开始部分内容存入内存,在计算机或手机中对数据包进行缓存并使媒体数据正确的输出。流媒体的数据流随时传送随时播放,只是在开始时有一些延迟。In order to solve this contradiction, a new media technology emerges at the historic moment, and this is the streaming media (StreamMedia) technology, streaming media is also called streaming media. The so-called streaming media refers to the media format played in the IP network by means of streaming, such as audio, video or multimedia files. Streaming media does not download the entire file before playing, but only stores the beginning part of the content in the memory, and caches the data packets in the computer or mobile phone to output the media data correctly. The data stream of streaming media is transmitted at any time and played at any time, but there is some delay at the beginning.

流媒体实现的关键技术就是流式传输,流式传输主要指将整个音频和视频等多媒体文件经过特定的压缩方式解析成一个个压缩包,由流媒体服务器向用户计算机顺序传送。The key technology for the realization of streaming media is streaming transmission. Streaming transmission mainly refers to parsing the entire audio and video and other multimedia files into compressed packets through a specific compression method, and sequentially transmitting them from the streaming media server to the user's computer.

在采用流式传输方式的系统中,用户不必像采用下载方式那样等到整个文件全部下载完毕,而是只需经过几秒或几十秒的启动延时即可在用户的计算机上利用硬件或软件解压设备对压缩的音频和视频等多媒体文件解压后进行播放和观看。此时多媒体文件的剩余部分将在后台继续下载。In a system that uses streaming transmission, users don't have to wait until the entire file is downloaded as in the download method, but only need a few seconds or tens of seconds of startup delay to use hardware or software on the user's computer. The decompression device decompresses the compressed audio and video and other multimedia files to play and watch. At this point, the remaining part of the multimedia file will continue to download in the background.

与单纯的下载方式相比,这种对多媒体文件边下载边播放的流式传输方式不仅使启动延时大幅度地缩短,而且对系统缓存容量的需求也大大降低,极大减少用户的等待时间。Compared with the simple download method, this streaming transmission method of downloading and playing multimedia files not only greatly shortens the start-up delay, but also greatly reduces the demand for system cache capacity, greatly reducing the waiting time of users .

采用流媒体技术可以实现视频信息的实时传输,目前主要用于视频监控系统,参见图1,图1为现有技术视频监控系统结构示意图。其中,流媒体服务器102连接了多个摄像装置101,通过摄像装置获得视频信息,生成实时视频流媒体数据。流媒体服务器102可以由计算机来实现,其可以通过非对称数字用户线(Asymmetrical Digital Subscriber Line,ADSL)103等方式接入因特网110,远程监视终端105根据流媒体服务器102的地址,经因特网110访问流媒体服务器102实时获取视频信息,实现视频监控。Real-time transmission of video information can be realized by using streaming media technology, which is currently mainly used in video surveillance systems, see FIG. 1 , which is a schematic structural diagram of a video surveillance system in the prior art. Among them, the streaming media server 102 is connected with a plurality of cameras 101, and video information is obtained through the cameras to generate real-time video streaming data. Streaming media server 102 can be realized by computer, and it can access Internet 110 by modes such as asymmetrical digital subscriber line (Asymmetrical Digital Subscriber Line, ADSL) 103, and remote monitoring terminal 105 is according to the address of streaming media server 102, visits via Internet 110 The streaming media server 102 acquires video information in real time to realize video monitoring.

虽然视频监控已经广泛应用,但是目前各种实时视频资源基本都是不开放的,封闭的,当然这也是由于目前视频监控系统主要是应用于安全和私有场所,不允许其公开决定的。但随着网络娱乐化生活化的趋势,实时视频将不仅仅主要用于安防监控,而且还可以满足人们的娱乐生活需求,如商店超市、公园景点,甚至是个人都可以将安置的摄像头共享出来,而任何人都可以通过网络观看到各地共享摄像头传送的实时视频,如此将足够多的各种实时视频资源共享集中在一起,就可以实现用户足不出户即可看到任何有共享摄像头的地点的实时视频了。但现在还没有提供一种统一开放的系统和方法集中共享各种可用的实时视频资源,来实现以上的新需求。Although video surveillance has been widely used, all kinds of real-time video resources are basically closed and closed at present. Of course, this is also because the current video surveillance system is mainly used in safe and private places, and it is not allowed to make public decisions. However, with the trend of network entertainment and life, real-time video will not only be mainly used for security monitoring, but also meet people's entertainment and life needs, such as shops, supermarkets, park attractions, and even individuals can share the installed cameras , and anyone can watch the real-time video sent by the shared camera in various places through the network. In this way, enough various real-time video resources can be shared together, so that users can see any shared camera without leaving home. Live video of the location. However, there is no unified and open system and method for centralized sharing of various available real-time video resources to meet the above new requirements.

发明内容 Contents of the invention

本发明的一个主要目的在于提供实现实时视频信息共享的方法,使得更多的用户能够接收实时视频信息。A main purpose of the present invention is to provide a method for sharing real-time video information, so that more users can receive real-time video information.

为达到上述目的,本发明提供了实现实时视频信息共享的方法,流媒体服务器预先将实时视频资源信息中的流媒体服务器地址信息存储到了视频资源索引服务器,并将实时视频资源信息中的实时视频资源状态信息实时更新到视频资源索引服务器;客户终端获得实时视频信息的过程包括以下步骤:In order to achieve the above object, the present invention provides a method for sharing real-time video information. The streaming server stores the address information of the streaming server in the real-time video resource information in advance in the video resource index server, and stores the real-time video information in the real-time video resource information. The resource status information is updated to the video resource index server in real time; the process for the client terminal to obtain real-time video information includes the following steps:

A、客户终端向视频资源索引服务器发送视频资源请求;A. The client terminal sends a video resource request to the video resource index server;

B、视频资源索引服务器接收到视频资源请求,获得包含流媒体服务器地址信息和实时视频资源状态信息的实时视频资源信息,并将该实时视频资源信息返回给客户终端;B. The video resource indexing server receives the video resource request, obtains the real-time video resource information including the address information of the streaming media server and the real-time video resource status information, and returns the real-time video resource information to the client terminal;

C、客户终端根据该实时视频资源信息中的地址信息和状态信息向流媒体服务器发送实时视频请求;C. The client terminal sends a real-time video request to the streaming media server according to the address information and status information in the real-time video resource information;

D、流媒体服务器根据实时视频请求,将从摄像装置接收的视频信息生成实时视频流媒体数据播放给客户终端。D. The streaming media server generates real-time video streaming media data from the video information received from the camera device and plays it to the client terminal according to the real-time video request.

其中,所述步骤A中,客户终端可以通过因特网或局域网向视频资源索引服务器发送视频资源请求;Wherein, in the step A, the client terminal can send a video resource request to the video resource index server through the Internet or a local area network;

所述步骤B中,视频资源索引服务器通过所述因特网或局域网将包含流媒体服务器地址的实时视频资源信息返回给客户终端;In the step B, the video resource index server returns the real-time video resource information including the address of the streaming media server to the client terminal through the Internet or local area network;

所述步骤C中,客户终端通过因特网或局域网向流媒体服务器发送的实时视频请求;In the step C, the client terminal sends a real-time video request to the streaming media server through the Internet or a local area network;

所述步骤D中,流媒体服务器通过所述因特网或局域网将实时视频流媒体数据播放给客户终端。In the step D, the streaming media server plays the real-time video streaming media data to the client terminal through the Internet or the local area network.

所述视频资源索引服务器可以运行WWW服务以网页显示实时视频资源信息;所述客户终端使用WEB浏览器通过因特网访问视频资源索引服务器;The video resource index server can run WWW service to display real-time video resource information with a web page; the client terminal uses a WEB browser to access the video resource index server through the Internet;

视频资源索引服务器通过TCP/IP协议或SIP协议与流媒体服务器通信。The video resource index server communicates with the streaming media server through TCP/IP protocol or SIP protocol.

所述的实时视频资源信息可以进一步包含:实时视频资源位置信息、实时视频资源类别信息、实时视频资源操控信息中的一种或多种。The real-time video resource information may further include: one or more of real-time video resource location information, real-time video resource category information, and real-time video resource manipulation information.

所述的实时视频资源信息包括实时视频资源位置信息时:视频资源索引服务器按实时视频资源位置信息进行索引,并按所述位置信息,将实时视频资源与地图上的位置对应起来,并将在对应位置标注了实时视频资源的地图包含在实时视频资源信息中发送给客户终端;When the real-time video resource information includes the real-time video resource location information: the video resource index server indexes the real-time video resource location information, and according to the location information, the real-time video resource is associated with the location on the map, and will The map with real-time video resources marked corresponding to the location is included in the real-time video resource information and sent to the client terminal;

所述的实时视频资源信息包括实时视频资源类别信息时:视频资源索引服务器按实时视频资源类别信息进行索引,生成实时视频资源索引目录,将该目录包含在实时视频资源信息中发送给客户终端;When the real-time video resource information includes real-time video resource category information: the video resource index server performs indexing according to the real-time video resource category information, generates a real-time video resource index directory, and includes the directory in the real-time video resource information and sends it to the client terminal;

所述的实时视频资源信息包括实时视频资源操控信息时:所述步骤B中,视频资源索引服务器对可操控状态的实时视频资源,向客户终端发送视频操控界面,接收用户输入的操控指令,并将操控指令传送给流媒体服务器,流媒体服务器根据该操控指令对实时视频资源对应的摄像装置进行相应的操控。When the real-time video resource information includes real-time video resource control information: in the step B, the video resource index server sends a video control interface to the client terminal for the real-time video resource in a controllable state, receives a control command input by the user, and The manipulation instruction is transmitted to the streaming media server, and the streaming media server performs corresponding manipulation on the camera device corresponding to the real-time video resource according to the manipulation instruction.

所述流媒体服务器将实时视频资源的状态信息存储到视频资源索引服务器的方法可以为:The method that the streaming media server stores the status information of the real-time video resource to the video resource index server can be:

所述流媒体服务器接收视频资源索引服务器按预先设定的时间间隔发送的状态信息请求,按照该请求向视频资源索引服务器返回状态信息;视频资源索引服务器用接收的状态信息进行更新;The streaming media server receives the status information request sent by the video resource index server at a preset time interval, and returns the status information to the video resource index server according to the request; the video resource index server uses the received status information to update;

或当实时视频资源的状态信息发生变化时,所述流媒体服务器向视频资源索引服务器更新最新的实时视频资源状态信息。Or when the status information of the real-time video resource changes, the streaming media server updates the latest real-time video resource status information to the video resource index server.

所述实时视频资源状态信息可以包含资源是否可用、该实时视频资源当前访问人数或负荷信息、以及该实时视频资源的实时摘要图片;The real-time video resource status information may include whether the resource is available, the current number of visitors or load information of the real-time video resource, and the real-time summary picture of the real-time video resource;

所述步骤B中,视频资源索引服务器接收到实时视频资源的请求时,先检测该实时视频资源的访问人数或负荷;当检测到访问人数或负荷达到预先设定的上限时,按一定时间间隔向流媒体服务器请求实时摘要图片;并在接收到流媒体服务器返回的实时摘要图片后,将其加入实时视频资源状态信息发送给用户终端;In the step B, when the video resource indexing server receives the request of the real-time video resource, it first detects the number of visitors or the load of the real-time video resource; Request a real-time summary picture from the streaming media server; and after receiving the real-time summary picture returned by the streaming media server, add it to the real-time video resource status information and send it to the user terminal;

当检测到访问人数或负荷降到低于预先设定的上限时,视频资源索引服务器通知客户终端到流媒体服务器获取实时视频流媒体数据。When detecting that the number of visitors or the load falls below the preset upper limit, the video resource index server notifies the client terminal to obtain real-time video streaming data from the streaming server.

所述步骤B中,在视频资源索引服务器按一定时间间隔向流媒体服务器请求实时摘要图片之前,视频资源索引服务器可以将当前存储的该实时视频资源的最新一张或多张图片、显示图片对应的时间发送给用户终端。In the step B, before the video resource index server requests the real-time summary picture from the streaming media server at a certain time interval, the video resource index server can correspond to the latest one or more pictures and display pictures of the real-time video resource currently stored. The time is sent to the user terminal.

所述实时视频资源状态信息还可以包含资源是否可用及该实时视频资源当前访问人数或负荷信息;The real-time video resource status information may also include whether the resource is available and the current number of visitors or load information of the real-time video resource;

当所述流媒体服务器检测到访问人数或负荷达到预先设定的上限时,或在播放流媒体数据一定时间后,改为按一定时间间隔向客户终端发送实时图片。When the streaming media server detects that the number of visitors or the load reaches a preset upper limit, or after playing the streaming media data for a certain period of time, it will instead send real-time pictures to the client terminal at a certain time interval.

所述的客户终端可以包含即时状态客户端单元;The client terminal may include an instant state client unit;

所述的即时状态客户端单元记录各个实时视频资源状态的即时状态业务标识信息,并到视频资源索引服务器上订阅该标识信息对应的实时视频资源的状态信息;根据实时视频资源的状态信息向流媒体服务器发送实时视频请求;Described instant state client unit records the instant state service identification information of each real-time video resource state, and subscribes the state information of the real-time video resource corresponding to the identification information on the video resource index server; The media server sends a real-time video request;

所述视频资源索引服务器进一步接收客户终端的即时状态客户端单元的订阅请求,根据该请求,将客户终端订阅的实时视频资源的状态信息返回给客户终端中的即时状态客户端单元;The video resource index server further receives the subscription request of the instant state client unit of the client terminal, and according to the request, returns the state information of the real-time video resource subscribed by the client terminal to the instant state client unit in the client terminal;

所述步骤D中,流媒体服务器向客户终端中的即时状态客户端单元播放实时视频流媒体数据。In said step D, the streaming media server plays real-time video streaming media data to the instant state client unit in the client terminal.

该系统还可以进一步包含即时状态服务器;所述的视频资源索引服务器和客户终端分别包含即时状态客户端单元;The system can further include an instant status server; the video resource index server and the client terminal respectively include an instant status client unit;

所述视频资源索引服务器中的即时状态客户端单元预先在即时状态服务器上注册存储每个实时视频资源信息,并接受即时状态服务器分配的即时状态业务标识信息,且视频资源索引服务器不断将每个实时视频资源的状态信息更新到即时状态服务器上;The instant state client unit in the video resource index server registers and stores each real-time video resource information on the instant state server in advance, and accepts the instant state service identification information distributed by the instant state server, and the video resource index server constantly updates each The status information of the real-time video resource is updated to the instant status server;

所述客户终端中的即时状态客户端单元预先记录各个实时视频资源状态的即时状态业务标识信息,到即时状态服务器订阅该标识信息对应的实时视频资源的状态信息;The instant state client unit in the client terminal pre-records the instant state service identification information of each real-time video resource state, and subscribes to the instant state server the state information of the real-time video resource corresponding to the identification information;

所述的即时状态服务器在接收客户终端中即时状态客户端单元的订阅请求后,根据该请求,将客户终端订阅的实时视频资源的状态信息返回给客户终端中的即时状态客户端单元;After the instant state server receives the subscription request of the instant state client unit in the client terminal, according to the request, the state information of the real-time video resources subscribed by the client terminal is returned to the instant state client unit in the client terminal;

所述步骤D中,流媒体服务器向客户终端中的即时状态客户端单元播放实时视频流媒体数据。In said step D, the streaming media server plays real-time video streaming media data to the instant state client unit in the client terminal.

该方法还可以进一步包括:当一个实时视频资源正在被操控时,视频资源索引服务器将该实时视频资源的操控信息设置为锁定状态,拒绝其他客户终端发送的操控指令。The method may further include: when a real-time video resource is being manipulated, the video resource index server sets the manipulation information of the real-time video resource to a locked state, and rejects manipulation instructions sent by other client terminals.

所述的摄像装置可以包含轨道及可在轨道上运行的摄像头,所述的操控指令还包括在轨道上运行的操控指令;The camera device may include a track and a camera that can run on the track, and the manipulation instruction also includes a manipulation command to run on the track;

所述流媒体服务器根据该操控指令对实时视频资源对应的摄像装置的摄像头进行轨道上运行操控。The streaming media server performs on-orbit operation control on the camera of the camera device corresponding to the real-time video resource according to the control instruction.

所述的视频资源索引服务器可以进一步存储一个或多个视频广告数据;The video resource index server can further store one or more video advertisement data;

所述步骤B中,实时视频资源索引服务器在向客户终端返回实时视频资源信息时,通知客户终端先到实时视频资源索引服务器下载一个视频广告数据;In the step B, when the real-time video resource index server returns the real-time video resource information to the client terminal, it notifies the client terminal to first download a video advertisement data from the real-time video resource index server;

所述步骤C中,客户终端根据通知向实时视频资源索引服务器下载视频广告数据,在播放视频广告数据同时或播放后,根据实时视频资源信息向流媒体服务器发送实时视频请求。In the step C, the client terminal downloads the video advertisement data to the real-time video resource index server according to the notification, and sends a real-time video request to the streaming media server according to the real-time video resource information while or after playing the video advertisement data.

所述实时视频资源信息中还可以包括实时视频资源的类型信息,所述存储的每个视频广告数据与至少一个所述类型相关;The real-time video resource information may also include real-time video resource type information, and each stored video advertisement data is related to at least one of the types;

所述步骤B中,实时视频资源索引服务器从客户终端请求的实时视频资源的类型相关的视频广告数据中选取一个,通知客户终端下载该视频广告数据。In the step B, the real-time video resource index server selects one of the video advertisement data related to the type of real-time video resources requested by the client terminal, and notifies the client terminal to download the video advertisement data.

可以进一步在系统中设置一个或多个存储视频广告数据的广告视频服务器;各个广告视频服务器与所述视频资源索引服务器相连,且视频资源索引服务器存储各个广告视频服务器的地址信息;One or more advertising video servers that store video advertising data can be further set in the system; each advertising video server is connected to the video resource index server, and the video resource index server stores the address information of each advertising video server;

所述步骤B中,视频资源索引服务器接收到客户终端发送的视频资源请求后,将该请求和实时视频资源信息转发给一个广告视频服务器,并将广告视频服务器的地址信息发送给客户终端;In the step B, after receiving the video resource request sent by the client terminal, the video resource index server forwards the request and real-time video resource information to an advertising video server, and sends the address information of the advertising video server to the client terminal;

所述步骤B还包括:客户终端根据广告视频服务器的地址信息到所述广告视频服务器下载视频广告数据,并接收广告视频服务器在视频广告数据下载后发送的实时视频资源信息;The step B also includes: the client terminal downloads the video advertisement data to the advertisement video server according to the address information of the advertisement video server, and receives the real-time video resource information sent by the advertisement video server after the video advertisement data is downloaded;

所述步骤C中,客户终端根据从广告视频服务器接收的实时视频资源信息向流媒体服务器发送实时视频请求。In the step C, the client terminal sends a real-time video request to the streaming media server according to the real-time video resource information received from the advertising video server.

可以进一步在系统中包含:带摄像头的移动通信终端;Can further include in the system: a mobile communication terminal with a camera;

所述带摄像头的移动通信终端与流媒体服务器经由移动通信网络中的WAP网关建立流媒体数据传输通道,并将摄像头拍摄的实时视频数据通过该数据传输通道,上传到流媒体服务器。The mobile communication terminal with the camera and the streaming media server establish a streaming media data transmission channel via the WAP gateway in the mobile communication network, and upload the real-time video data captured by the camera to the streaming media server through the data transmission channel.

所述客户终端发送的实时视频请求中可以包含客户终端的地址信息;The real-time video request sent by the client terminal may include address information of the client terminal;

所述步骤D为:流媒体服务器根据实时视频请求中的地址信息,将从摄像装置接收的视频信息压缩编码为流媒体格式,如果摄像装置包括拾音器,则流媒体服务器还将音频进行一起压缩编码,生成实时视频流媒体数据播放给客户终端。The step D is: the streaming media server compresses and encodes the video information received from the camera device into a streaming media format according to the address information in the real-time video request, and if the camera device includes a pickup, the streaming media server also compresses and encodes the audio together , generate real-time video streaming data to play to the client terminal.

所述步骤D可以包括:Said step D may comprise:

D1、流媒体服务器从摄像装置获取视频信息;D1, the streaming media server acquires video information from the camera device;

D2、流媒体服务器与客户终端建立信令通道,并将播放地址及端口号发送给客户终端;D2, the streaming media server establishes a signaling channel with the client terminal, and sends the playback address and port number to the client terminal;

D3、客户终端与流媒体服务器建立数据通道;D3. The client terminal establishes a data channel with the streaming media server;

D4、流媒体服务器将视频信息生成视频流媒体数据后,将其通过该数据通道发送给客户终端;D4. After the streaming media server generates video streaming media data from the video information, it is sent to the client terminal through the data channel;

D5、客户终端接收流媒体数据进行显示播放。D5. The client terminal receives the streaming media data for display and playback.

所述步骤D2中,流媒体服务器可以将组播地址及端口号发送给客户终端;In the step D2, the streaming media server can send the multicast address and the port number to the client terminal;

所述步骤D4中,流媒体服务器将实时视频流媒体数据发送给因特网或局域网中的路由器;路由器以组播方式将从单台流媒体服务器接收的实时视频流媒体数据同时向多个客户端连续发送。In described step D4, stream media server sends real-time video stream media data to the router in Internet or local area network; send.

所述步骤A中,客户终端向实时视频资源索引服务器发送视频资源请求前,可以先执行鉴权的步骤,鉴权通过后,记录账号,实时视频资源索引服务器对该账号开始进行计费,生成CDR话单记录。In the step A, before the client terminal sends a video resource request to the real-time video resource index server, the authentication step can be performed first. After the authentication is passed, the account number is recorded, and the real-time video resource index server starts to charge the account, and generates CDR bill record.

可以根据不同的计费策略生成CDR话单;如果采用按时间流量计费的方式,则由流媒体服务器在结束向客户终发送实时视频流媒体数据时,向视频资源索引服务器上报该客户端播放实时视频的时间和流量信息,视频资源索引服务器据此生成CDR话单记录。CDR bills can be generated according to different billing strategies; if billing by time and flow is adopted, the streaming media server will report the client to the video resource index server when it finishes sending real-time video streaming data to the client terminal. Real-time video time and traffic information, based on which the video resource index server generates CDR bill records.

由上述的技术方案可见,本发明的第一种实现实时视频信息共享的系统及方法,在系统中设置一个视频资源索引服务器,其与各个生成实时视频信息的流媒体服务器相连,接收并存储流媒体服务器发送的实时视频资源信息,各个客户终端通过访问实时视频资源索引服务器,来获取实时视频资源信息,并根据该实时视频资源信息到相应的流媒体服务器下载并播放实时视频信息,实现了各种实时视频信息的集中共享。It can be seen from the above technical solutions that the first system and method for realizing real-time video information sharing of the present invention is to set a video resource index server in the system, which is connected to each streaming server that generates real-time video information, receives and stores the stream For the real-time video resource information sent by the media server, each client terminal obtains the real-time video resource information by accessing the real-time video resource index server, and downloads and plays the real-time video information to the corresponding streaming media server according to the real-time video resource information, realizing various Centralized sharing of real-time video information.

附图说明 Description of drawings

图1为现有技术视频监控系统结构示意图;Fig. 1 is the structural representation of prior art video monitoring system;

图2为本发明第一较佳实施例的实时视频共享系统结构示意图;Fig. 2 is the structural representation of the real-time video sharing system of the first preferred embodiment of the present invention;

图3为图2所示实施例中,未包含广告视频服务器情况下的实现实时视频共享的处理流程;Fig. 3 is in the embodiment shown in Fig. 2, does not include the processing flow that realizes real-time video sharing under the situation of advertising video server;

图4为图2所示实施例中,包含广告视频服务器情况下的实现实时视频共享的处理流程;Fig. 4 is in the embodiment shown in Fig. 2, comprises the processing flow that realizes real-time video sharing under the situation of advertising video server;

图5为图2所示实施例中,客户终端到流媒体服务器下载实时视频数据的具体处理流程;Fig. 5 is in the embodiment shown in Fig. 2, the concrete processing procedure that client terminal downloads real-time video data to stream media server;

图6为本发明第二较佳实施例的实时视频共享系统结构示意图;6 is a schematic structural diagram of a real-time video sharing system in a second preferred embodiment of the present invention;

图7为图6所示实施例中,客户终端订阅实时视频状态信息的处理流程;Fig. 7 is in the embodiment shown in Fig. 6, the processing flow of client terminal subscribing to real-time video status information;

图8为本发明第三较佳实施例的实时视频共享系统结构示意图;8 is a schematic structural diagram of a real-time video sharing system according to a third preferred embodiment of the present invention;

图9为本发明第四较佳实施例的实时视频共享系统结构示意图;9 is a schematic structural diagram of a real-time video sharing system according to a fourth preferred embodiment of the present invention;

图10为图9所示实施例中,实现实时视频共享的处理流程。FIG. 10 is a processing flow for realizing real-time video sharing in the embodiment shown in FIG. 9 .

具体实施方式 Detailed ways

为使本发明的目的技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。本发明所说实时视频中的“实时”是广义的,不仅仅是绝对实时的,还包括准实时的,实时视频在应用中都是存在一定延时的,但是在一定范围内,如几秒或者几分钟的延迟都是可以允许的,以下对本发明提供的两种实现实时视频信息共享的系统和方法,分别进行说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. "Real-time" in the real-time video mentioned in the present invention is broad, not only absolutely real-time, but also includes quasi-real-time, and real-time video has a certain delay in application, but within a certain range, such as a few seconds Or a delay of several minutes is acceptable. The two systems and methods for realizing real-time video information sharing provided by the present invention will be described respectively below.

本发明的第一种实现实时视频信息共享的系统及方法,在系统中设置一个视频资源索引服务器,接收并存储流媒体服务器发送的实时视频资源信息,各个客户终端通过访问实时视频资源索引服务器,来获取实时视频资源信息,并根据该实时视频资源信息到相应的流媒体服务器下载并播放实时视频信息,实现了各种实时视频信息的集中共享。In the first system and method for realizing real-time video information sharing of the present invention, a video resource index server is set in the system to receive and store the real-time video resource information sent by the streaming media server, and each client terminal accesses the real-time video resource index server, To obtain real-time video resource information, and according to the real-time video resource information to the corresponding streaming media server to download and play the real-time video information, realizing the centralized sharing of various real-time video information.

本发明的第二种实现实时视频信息共享的系统及方法,也在系统中设置一个视频资源索引服务器,接收并存储流媒体服务器发送的实时视频资源信息,各个客户终端向实时视频资源索引服务器请求实时视频,视频资源索引服务器根据实时视频资源信息到流媒体服务器获得实时视频转发给各个客户终端,实现了各种实时视频信息的集中共享。The second system and method for realizing real-time video information sharing of the present invention also sets a video resource index server in the system to receive and store the real-time video resource information sent by the streaming media server, and each client terminal requests the real-time video resource index server For real-time video, the video resource index server obtains real-time video from the streaming media server according to the real-time video resource information and forwards it to each client terminal, realizing the centralized sharing of various real-time video information.

首先,举三个较佳实施例对第一种实现实时视频信息共享的系统及方法进行详细说明。Firstly, three preferred embodiments are given to describe the first system and method for realizing real-time video information sharing in detail.

参见图2,图2为本发明第一较佳实施例的实时视频共享系统结构示意图。该系统包含:摄像装置201、流媒体服务器202、视频资源索引服务器203、客户终端204和可选的广告视频服务器205。Referring to FIG. 2 , FIG. 2 is a schematic structural diagram of a real-time video sharing system according to a first preferred embodiment of the present invention. The system includes: a camera 201 , a streaming media server 202 , a video resource index server 203 , a client terminal 204 and an optional advertising video server 205 .

流媒体服务器202与一个或多个摄像装置202相连,将包含该流媒体服务器地址的实时视频资源信息存储到视频资源索引服务器203;并在接收到实时视频请求后,将从摄像装置201接收的视频信息生成实时视频流媒体数据,并将该实时视频流媒体数据通过因特网210播放给客户终端204。The streaming media server 202 is connected with one or more camera devices 202, stores the real-time video resource information containing the address of the streaming media server to the video resource index server 203; The video information generates real-time video streaming data, and plays the real-time video streaming data to the client terminal 204 through the Internet 210 .

视频资源索引服务器203与一个或多个流媒体服务器202分别相连,存储从各个流媒体服务器接收的实时视频资源信息;接收客户终端204通过因特网210发送的视频资源请求,并根据用户需要,将包含流媒体服务器地址的实时视频资源信息,通过因特网210返回给客户终端204。The video resource index server 203 is connected with one or more streaming media servers 202 respectively, stores the real-time video resource information received from each streaming media server; receives the video resource request sent by the client terminal 204 through the Internet 210, and according to user needs, will include The real-time video resource information of the streaming media server address is returned to the client terminal 204 through the Internet 210 .

客户终端204根据用户需要通过因特网210向视频资源索引服务器203发送视频资源请求,接收视频资源索引服务器203返回的实时视频资源信息,根据该实时视频资源信息中的地址信息向流媒体服务器202发送实时视频请求,并接收流媒体服务器202播放的实时视频流媒体数据。The client terminal 204 sends a video resource request to the video resource index server 203 through the Internet 210 according to user needs, receives the real-time video resource information returned by the video resource index server 203, and sends real-time video resource information to the streaming media server 202 according to the address information in the real-time video resource information. video request, and receive the real-time video streaming data played by the streaming server 202.

本实施例中的广告视频服务器205是可选设备,系统中可以有也可以没有,可以有一个也可以有多个。当系统中包含广告视频服务器205时,各个广告视频服务器205与所述视频资源索引服务器203相连,且视频资源索引服务器203存储各个广告视频服务器的地址信息。这种情况下:The advertising video server 205 in this embodiment is an optional device, which may or may not exist in the system, and may have one or more. When the system includes advertising video servers 205, each advertising video server 205 is connected to the video resource index server 203, and the video resource index server 203 stores the address information of each advertising video server. In this situation:

视频资源索引服务器203在接收到客户终端204发送的视频资源请求后,将该请求和实时视频资源信息转发给一个广告视频服务器205,并将广告视频服务器的地址信息发送给客户终端204。After receiving the video resource request sent by the client terminal 204 , the video resource index server 203 forwards the request and real-time video resource information to an advertising video server 205 , and sends the address information of the advertising video server to the client terminal 204 .

客户终端204先通过因特网210到所述广告视频服务器205下载视频广告数据,并通过因特网210接收广告视频服务器205在视频广告数据下载后发送的实时视频资源信息;根据该实时视频资源信息向流媒体服务器202发送实时视频请求。Client terminal 204 downloads video advertisement data to described advertisement video server 205 earlier by Internet 210, and receives the real-time video resource information that advertisement video server 205 sends after video advertisement data downloads by Internet 210; Server 202 sends a real-time video request.

本实施例中,客户终端204是通过因特网210与视频资源索引服务器203和流媒体服务器202进行通信,实际应用中,还可以通过局域网或其他网络进行通信。本实施例中的流媒体服务器202和视频资源索引服务器203及广告视频服务器205之间都可以通过TCP/IP协议或SIP协议等网络通信协议进行通信。In this embodiment, the client terminal 204 communicates with the video resource index server 203 and the streaming media server 202 through the Internet 210. In practical applications, it can also communicate through a local area network or other networks. In this embodiment, the streaming media server 202, the video resource index server 203, and the advertisement video server 205 can all communicate through network communication protocols such as TCP/IP protocol or SIP protocol.

参见图3,图3为图2所示实施例中,未包含广告视频服务器情况下的实现实时视频共享的处理流程。该流程包括以下步骤:Referring to FIG. 3 , FIG. 3 is a processing flow for realizing real-time video sharing in the embodiment shown in FIG. 2 without an advertising video server. The process includes the following steps:

步骤301,客户终端向视频资源索引服务器发送视频资源请求。Step 301, the client terminal sends a video resource request to the video resource index server.

步骤302,视频资源索引服务器接收到视频资源请求,获得包含流媒体服务器地址信息的实时视频资源信息,并将该实时视频资源信息返回给客户终端。In step 302, the video resource index server receives the video resource request, obtains real-time video resource information including the address information of the streaming media server, and returns the real-time video resource information to the client terminal.

步骤303,客户终端根据该实时视频资源信息中的地址信息向流媒体服务器发送实时视频请求。Step 303, the client terminal sends a real-time video request to the streaming media server according to the address information in the real-time video resource information.

步骤304,流媒体服务器根据实时视频请求,从摄像装置采集视频信息,并将视频信息生成实时视频流媒体数据。Step 304, the streaming media server collects video information from the camera device according to the real-time video request, and generates real-time video streaming data from the video information.

本步骤中,流媒体服务器可以将从摄像装置接收的视频信息压缩编码为流媒体格式,如果摄像装置包括拾音器,则流媒体服务器还将音频进行一起压缩编码,生成实时视频流媒体数据。In this step, the streaming media server can compress and encode the video information received from the camera device into a streaming media format. If the camera device includes a pickup, the streaming media server will also compress and encode the audio together to generate real-time video streaming data.

步骤305,流媒体服务器向客户终端播放实时视频流媒体数据。Step 305, the streaming media server plays the real-time video streaming data to the client terminal.

本实施例中客户终端发送的实时视频请求中可以包含客户终端的地址信息,本步骤可以为:流媒体服务器根据实时视频请求中的地址信息,将时视频流媒体数据播放给客户终端。In this embodiment, the real-time video request sent by the client terminal may include the address information of the client terminal. This step may be: the streaming media server plays real-time video streaming data to the client terminal according to the address information in the real-time video request.

本实施例中,视频资源索引服务器存储和发送给客户终端的实时视频资源信息除了包含所述的流媒体服务器地址信息外,还可以包含:实时视频资源状态信息、实时视频资源位置信息、实时视频资源类别信息、实时视频资源操控信息中的一种或多种。In this embodiment, the real-time video resource information stored and sent by the video resource index server to the client terminal may include, in addition to the address information of the streaming media server, real-time video resource status information, real-time video resource location information, real-time video One or more of resource category information and real-time video resource manipulation information.

当实时视频资源信息包含实时视频资源的状态信息时:所述的流媒体服务器进一步将实时视频资源的状态信息实时更新到视频资源索引服务器;上述步骤303中,客户终端根据该实时视频资源信息中的地址信息和状态信息向流媒体服务器发送实时视频请求。When the real-time video resource information includes the status information of the real-time video resource: the streaming media server further updates the status information of the real-time video resource to the video resource index server in real time; The address information and status information of the streaming media server sends a real-time video request.

其中,流媒体服务器将实时视频资源的状态信息存储到视频资源索引服务器的方法可以为:流媒体服务器接收视频资源索引服务器按预先设定的时间间隔发送的状态信息请求,按照该请求向视频资源索引服务器返回状态信息;视频资源索引服务器用接收的状态信息进行更新。或者,当实时视频资源的状态信息发生变化时,所述流媒体服务器向视频资源索引服务器更新最新的实时视频资源状态信息。Wherein, the method for the streaming media server to store the status information of the real-time video resources in the video resource index server may be as follows: the streaming media server receives the status information request sent by the video resource index server at a preset time interval, and sends a request to the video resource according to the request The index server returns status information; the video resource index server updates with the received status information. Or, when the state information of the real-time video resource changes, the streaming media server updates the latest real-time video resource state information to the video resource index server.

本实施例中,实时视频资源状态信息可以包含资源是否可用、该实时视频资源当前访问人数或负荷信息、以及该实时视频资源的实时摘要图片,在上述步骤302中,视频资源索引服务器接收到实时视频资源的请求时,先检测该实时视频资源的访问人数或负荷;当检测到访问人数或负荷达到预先设定的上限时,按一定时间间隔向流媒体服务器请求实时摘要图片;并在接收到流媒体服务器返回的实时摘要图片后,将其加入实时视频资源状态信息发送给用户终端;当访问人数或负荷降到低于预先设定的上限时,视频资源索引服务器通知客户终端到流媒体服务器获取实时视频流媒体数据。In this embodiment, the real-time video resource status information may include whether the resource is available, the current number of visitors or load information of the real-time video resource, and the real-time summary picture of the real-time video resource. In the above step 302, the video resource index server receives the real-time When requesting a video resource, first detect the number of visitors or the load of the real-time video resource; when it is detected that the number of visitors or the load reaches the preset upper limit, request a real-time summary picture from the streaming media server at a certain time interval; and when receiving After the real-time summary picture returned by the streaming media server, add it to the real-time video resource status information and send it to the user terminal; when the number of visitors or the load drops below the preset upper limit, the video resource index server notifies the client terminal to the streaming media server Get real-time video streaming data.

在实际应用中,在视频资源索引服务器按一定时间间隔向流媒体服务器请求实时摘要图片之前,视频资源索引服务器可以将当前存储的该实时视频资源的最新一张或多张图片、显示图片对应的时间发送给用户终端。In practical applications, before the video resource index server requests real-time summary pictures from the streaming media server at a certain time interval, the video resource index server can store the latest one or more pictures of the real-time video resource currently stored, and display the pictures corresponding to The time is sent to the user terminal.

本实施例中,实时视频资源状态信息可以只包含资源是否可用及该实时视频资源当前访问人数或负荷信息;当所述流媒体服务器检测到访问人数或负荷达到预先设定的上限时,或在播放流媒体数据一定时间后,改为按一定时间间隔向客户终端发送实时图片。In this embodiment, the real-time video resource status information may only include whether the resource is available and the current number of visitors or load information of the real-time video resource; when the streaming media server detects that the number of visitors or the load reaches a preset upper limit, or After playing streaming media data for a certain period of time, real-time pictures are sent to the client terminal at certain intervals instead.

当实时视频资源信息包括实时视频资源位置信息时:视频资源索引服务器按实时视频资源位置信息进行索引,并按所述位置信息,将实时视频资源与地图上的位置对应起来,并在上述步骤302中,将在对应位置标注了实时视频资源的地图包含在实时视频资源信息中发送给客户终端;When the real-time video resource information includes the location information of the real-time video resource: the video resource indexing server performs indexing according to the location information of the real-time video resource, and according to the location information, associates the real-time video resource with the location on the map, and in the above step 302 , the map with the real-time video resource marked at the corresponding position is included in the real-time video resource information and sent to the client terminal;

当实时视频资源信息包括实时视频资源类别信息时:视频资源索引服务器按实时视频资源类别信息进行索引,生成实时视频资源索引目录,并在上述步骤302中,将该目录包含在实时视频资源信息中发送给客户终端;When the real-time video resource information includes real-time video resource category information: the video resource indexing server performs indexing according to the real-time video resource category information, generates a real-time video resource index directory, and in the above step 302, includes the directory in the real-time video resource information sent to the client terminal;

当实时视频资源信息包括实时视频资源操控信息时:上述步骤302中,视频资源索引服务器还对可操控状态的实时视频资源,向客户终端发送视频操控界面,接收用户输入的操控指令,并将操控指令传送给流媒体服务器,流媒体服务器根据该操控指令对实时视频资源对应的摄像装置进行相应的操控。When the real-time video resource information includes real-time video resource control information: in the above step 302, the video resource index server also sends the video control interface to the client terminal for the real-time video resource in the controllable state, receives the control command input by the user, and The instruction is sent to the streaming media server, and the streaming media server performs corresponding manipulation on the camera device corresponding to the real-time video resource according to the manipulation instruction.

例如:摄像装置包含轨道及可在轨道上运行的摄像头,则所述的操控指令包括在轨道上运行的操控指令,流媒体服务器根据该操控指令对实时视频资源对应的摄像装置的摄像头进行轨道上运行操控。For example: the camera device includes a track and a camera that can run on the track, then the control instruction includes a control command that runs on the track, and the streaming media server performs a track on the camera of the camera device corresponding to the real-time video resource according to the control command. Run the controls.

另外,当一个实时视频资源正在被操控时,视频资源索引服务器可以将该实时视频资源的操控信息设置为锁定状态,拒绝其他客户终端发送的操控指令。In addition, when a real-time video resource is being manipulated, the video resource index server can set the manipulation information of the real-time video resource to a locked state, and reject manipulation instructions sent by other client terminals.

本实施例中,在不包含广告视频服务器的情况下,可以由视频资源服务器来实现先播放视频广告数据,再请求实时视频。In this embodiment, if the advertisement video server is not included, the video resource server may first play the video advertisement data, and then request the real-time video.

具体来说,可以在视频资源索引服务器存储一个或多个视频广告数据。在上述步骤302中,实时视频资源索引服务器在向客户终端返回实时视频资源信息时,通知客户终端先到实时视频资源索引服务器下载一个视频广告数据。在上述步骤302后,步骤303之前,客户终端先根据通知向实时视频资源索引服务器下载视频广告数据,在播放视频广告数据同时或播放后,再执行步骤303。Specifically, one or more video advertisement data may be stored in the video resource index server. In the above step 302, when the real-time video resource index server returns the real-time video resource information to the client terminal, it notifies the client terminal to first download a video advertisement data from the real-time video resource index server. After step 302 and before step 303, the client terminal first downloads the video advertisement data to the real-time video resource index server according to the notification, and executes step 303 while playing the video advertisement data or after playing the video advertisement data.

如果实时视频资源信息中还包括了实时视频资源的类型信息,则可以将存储的每个视频广告数据与至少一个类型相关,这样上述步骤302中,实时视频资源索引服务器就可以从客户终端请求的实时视频资源的类型相关的视频广告数据中选取一个,通知客户终端下载该视频广告数据。If the real-time video resource information also includes the type information of the real-time video resource, each stored video advertisement data can be related to at least one type, so that in the above step 302, the real-time video resource index server can request from the client terminal Select one of the video advertisement data related to the type of real-time video resources, and notify the client terminal to download the video advertisement data.

再有,本实施例中还可以实现对使用视频共享服务的用户进行计费。具体方法为:Furthermore, in this embodiment, billing can also be implemented for users who use the video sharing service. The specific method is:

在上述步骤301中,客户终端向实时视频资源索引服务器发送视频资源请求前,可以先执行鉴权的步骤:客户终端先向视频资源索引服务器发送账号密码,视频资源索引服务器将之与保存的账号密码信息核对鉴权,鉴权通过后,记录账号,对该账号开始进行计费,生成CDR话单记录。本实施例中可以根据不同的计费策略生成CDR话单,计费的策略有多种,比如可以包月计费,或按次计费,或按时间流量计费等。如果采用按时间流量计费的方式,则由流媒体服务器在结束向客户终发送实时视频流媒体数据,也就是在客户终端关闭实时视频连接时,向视频资源索引服务器上报该客户端播放实时视频的时间和流量信息,视频资源索引服务器据此生成CDR话单记录。当然,对不同的实时视频资源还可以设置不同的计费策略。In the above step 301, before the client terminal sends the video resource request to the real-time video resource index server, the authentication step can be performed first: the client terminal first sends the account password to the video resource index server, and the video resource index server compares it with the saved account number The password information is checked and authenticated. After the authentication is passed, the account number is recorded, the account is billed, and a CDR record is generated. In this embodiment, CDR bills can be generated according to different charging policies. There are many charging policies, such as monthly charging, or per-use charging, or time-based traffic charging. If the time-based flow billing method is adopted, the streaming media server will send real-time video streaming data to the client terminal at the end, that is, when the client terminal closes the real-time video connection, it will report to the video resource index server that the client is playing real-time video The time and flow information of the video resource index server generates a CDR bill record based on this. Of course, different charging policies can also be set for different real-time video resources.

参见图4,图4为图2所示实施例中,包含广告视频服务器情况下的实现实时视频共享的处理流程。该流程包括以下步骤:Referring to FIG. 4 , FIG. 4 is a processing flow for realizing real-time video sharing in the case of an advertising video server in the embodiment shown in FIG. 2 . The process includes the following steps:

步骤401,客户终端向视频资源索引服务器发送视频资源请求。Step 401, the client terminal sends a video resource request to the video resource index server.

步骤402,视频资源索引服务器接收到视频资源请求,获得包含流媒体服务器地址信息的实时视频资源信息,并将该请求和实时视频资源信息转发给一个广告视频服务器。Step 402, the video resource index server receives the video resource request, obtains real-time video resource information including the address information of the streaming media server, and forwards the request and the real-time video resource information to an advertising video server.

步骤403,视频资源索引服务器将广告视频服务器的地址信息发送给客户终端。Step 403, the video resource index server sends the address information of the advertising video server to the client terminal.

步骤404,客户终端根据广告视频服务器的地址信息到广告视频服务器下载视频广告数据,并接收广告视频服务器在视频广告数据下载后发送的实时视频资源信息。Step 404, the client terminal downloads the video advertisement data from the advertisement video server according to the address information of the advertisement video server, and receives the real-time video resource information sent by the advertisement video server after the video advertisement data is downloaded.

步骤405,客户终端根据从广告视频服务器接收的实时视频资源信息中的流媒体服务器地址信息向流媒体服务器发送实时视频请求。Step 405, the client terminal sends a real-time video request to the streaming server according to the address information of the streaming server in the real-time video resource information received from the advertising video server.

步骤406,流媒体服务器根据实时视频请求,从摄像装置采集视频信息,并将视频信息生成实时视频流媒体数据。Step 406, the streaming media server collects video information from the camera device according to the real-time video request, and generates real-time video streaming data from the video information.

步骤407,流媒体服务器向客户终端播放实时视频流媒体数据。Step 407, the streaming media server plays the real-time video streaming data to the client terminal.

本实施例中,流媒体的播放采用组播方式,网络中的路由器可以一次将数据包复制到多个通道上,实现单台服务器能够对多个客户终端同时连续发送数据流。流媒体服务器只需要发送一个信息包,而不是多个,所有发出请求的客户终端共享同一信息包。流媒体数据可以发送到任意地址的客户终端,能够减少网络上传输的信息包的总量。因此,网络利用效率能够大大提高,成本大为下降。而且多个客户终端请求的都是实时视频,即使客户终端不是同时访问流媒体服务器的,流媒体服务器也可以播放相同的内容给各客户终端,这个特点使实时视频业务很适合组播。In this embodiment, streaming media is played in a multicast manner, and routers in the network can copy data packets to multiple channels at one time, so that a single server can simultaneously and continuously send data streams to multiple client terminals. The streaming server only needs to send one information packet, not multiple, and all requesting client terminals share the same information packet. Streaming media data can be sent to client terminals at any address, which can reduce the total amount of information packets transmitted on the network. Therefore, the network utilization efficiency can be greatly improved, and the cost can be greatly reduced. Moreover, multiple client terminals request real-time video. Even if the client terminals do not access the streaming server at the same time, the streaming server can play the same content to each client terminal. This feature makes the real-time video service very suitable for multicasting.

具体方法参见图5,图5为图2所示实施例中,客户终端到流媒体服务器下载实时视频数据的具体处理流程。该流程包括以下步骤:Refer to FIG. 5 for the specific method. FIG. 5 is a specific processing flow of downloading real-time video data from the client terminal to the streaming media server in the embodiment shown in FIG. 2 . The process includes the following steps:

步骤501,流媒体服务器启动视频线程对视频信息进行采集。Step 501, the streaming media server starts a video thread to collect video information.

本实施例中,流媒体服务器可以同时启动视频、音频两个线程分别对视频及音频进行采集,放入视(音)频缓冲区。In this embodiment, the streaming media server can simultaneously start two threads of video and audio to collect the video and audio respectively, and put them into the video (audio) buffer.

步骤502,流媒体服务器收到客户终端发送的连接请求,建立TCP连接信令通道。Step 502, the streaming media server receives the connection request sent by the client terminal, and establishes a TCP connection signaling channel.

步骤503,流媒体服务器通过信令通道,向客户终端发送组播地址及端口号。Step 503, the streaming media server sends the multicast address and port number to the client terminal through the signaling channel.

本实施例中,如果即有视频也有音频,则发送二组组播地址及端口号,分别对应视频及音频两个线程。In this embodiment, if there is both video and audio, two sets of multicast addresses and port numbers are sent, corresponding to the two threads of video and audio respectively.

步骤504,客户终端在接收到组播地址及端口号后,启动视频接收线程。Step 504, after receiving the multicast address and port number, the client terminal starts a video receiving thread.

如果即有视频也有音频,启动视频和音频两个接收线程。If there is both video and audio, start two receiving threads for video and audio.

步骤505,客户终端与流媒体服务器建立UDP数据通道。Step 505, the client terminal establishes a UDP data channel with the streaming media server.

步骤506,流媒体服务器将视(音)频进行压缩编码后通过建立的UDP数据通道组播发送给客户终端。In step 506, the streaming media server compresses and codes the video (audio) and sends it to the client terminal through multicasting through the established UDP data channel.

步骤507,客户终端接收压缩视频包并解码显示播放。Step 507, the client terminal receives the compressed video package and decodes it for display and playback.

当然,实际应用中也可以采用单播方式来播放流媒体数据,具体过程与图5所示基本相同,本领域技术人员很容易实现,这里不再赘述。Of course, in practical applications, streaming media data can also be played in a unicast manner. The specific process is basically the same as that shown in FIG.

本实施例可以采用互联网WEB方式实现,视频资源索引服务器运行WWW服务以网页显示实时视频资源信息,用户在客户终端上使用WEB浏览器通过互联网访问视频资源索引服务器。另外,每个实时视频资源还可以对应一个BBS论坛,视频资源索引服务器显示实时视频资源信息时,同时显示该实时视频资源对应BBS论坛的信息,如用户的留言记录。This embodiment can be implemented in the form of Internet WEB. The video resource index server runs WWW service to display real-time video resource information on the webpage, and the user uses a WEB browser on the client terminal to access the video resource index server through the Internet. In addition, each real-time video resource can also correspond to a BBS forum. When the video resource index server displays the real-time video resource information, it also displays the information corresponding to the real-time video resource on the BBS forum, such as user message records.

本发明的第一种实现实时视频信息共享的系统及方法还可以采用即时状态业务集成的方式来实现,具体可以有两种方式来实现,第一种实现方式参见图6,图6为本发明第二较佳实施例的实时视频共享系统结构示意图。本实施例是在图2所示第一较佳实施例的基础上,进行了改进。该系统结构与图2所述系统结构和功能基本相同,区别在于:在系统中设置了与视频资源索引服务器203相连的即时状态服务器606,并在视频资源索引服务器203设置了即时状态客户端单元607,在各个客户终端204中设置了即时状态客户端单元600。The first system and method for realizing real-time video information sharing of the present invention can also be realized by means of instant status business integration, which can be realized in two specific ways. For the first realization method, refer to FIG. 6 , which is a diagram of the present invention A schematic structural diagram of the real-time video sharing system of the second preferred embodiment. This embodiment is improved on the basis of the first preferred embodiment shown in FIG. 2 . This system structure is basically the same as the system structure and function described in Fig. 2, the difference is: the instant status server 606 connected with the video resource index server 203 is set in the system, and the instant status client unit is set at the video resource index server 203 607, setting up the instant status client unit 600 in each client terminal 204.

本实施例中的流媒体服务器202,除了具有第一实施例中的功能外,还进一步将实时视频资源的状态信息实时更新到视频资源索引服务器203;流媒体服务器202是向客户终端204中的即时状态客户端单元600播放实时视频流媒体数据。The streaming media server 202 in the present embodiment, except having the function in the first embodiment, also further updates the status information of the real-time video resource to the video resource index server 203 in real time; The presence client unit 600 plays real-time video streaming data.

本实施例中的视频资源索引服务器203,除了具有第一实施例中的功能外,其中的即时状态客户端单元607在即时状态服务器606上注册存储了每个实时视频资源的名称、地理位置等信息,并接受即时状态服务器606分配的即时状态业务标识信息,且视频资源索引服务器203通过即时状态客户端单元607不断将每个实时视频资源的状态信息更新到即时状态服务器606上。这里的即时状态业务标识信息可以是即时状态业务号码或统一资源标识URI,例如:SIP:video8@abcd.com。The video resource index server 203 in the present embodiment, except having the function in the first embodiment, wherein the real-time status client unit 607 registers and stores the name, geographic location, etc. of each real-time video resource on the real-time status server 606 information, and accept the real-time status service identification information assigned by the real-time status server 606, and the video resource index server 203 constantly updates the status information of each real-time video resource to the real-time status server 606 through the real-time status client unit 607. The instant presence service identification information here may be an instant presence service number or a uniform resource identifier URI, for example: SIP: video8@abcd.com.

客户终端204中的即时状态客户端单元600记录各个实时视频资源状态的即时状态业务标识信息,例如:将对应实时视频资源的即时状态业务号码或统一资源标识URI加入到联系人列表,到即时状态服务器606订阅该标识信息对应的实时视频资源的状态信息,客户终端204根据该业务标识信息请求视频资源。The instant status client unit 600 in the client terminal 204 records the instant status service identification information of each real-time video resource state, for example: the instant status service number or the uniform resource identification URI of the corresponding real-time video resource is added to the contact list, and the instant status The server 606 subscribes to the status information of the real-time video resource corresponding to the identification information, and the client terminal 204 requests the video resource according to the service identification information.

即时状态服务器606接收客户终端204中即时状态客户端单元600的订阅请求,根据该请求,将客户终端600订阅的实时视频资源的状态信息返回给客户终端204中的即时状态客户端单元600。The instant status server 606 receives the subscription request of the instant status client unit 600 in the client terminal 204, and returns the status information of the real-time video resource subscribed by the client terminal 600 to the instant status client unit 600 in the client terminal 204 according to the request.

本实施例中的其他装置的工作原理和实现方法与图2所示实施例完全相同,这里不再重复说明。以下仅对客户终端订阅实时视频状态信息的方法进行说明:The working principles and implementation methods of other devices in this embodiment are exactly the same as those in the embodiment shown in FIG. 2 , and will not be repeated here. The following only describes the method for the client terminal to subscribe to real-time video status information:

参见图7,图7为图6所示实施例中,客户终端订阅实时视频状态信息的处理流程。该流程包括以下步骤:Referring to FIG. 7 , FIG. 7 is a processing flow of a client terminal subscribing to real-time video status information in the embodiment shown in FIG. 6 . The process includes the following steps:

步骤700,视频资源索引服务器从流媒体服务器实时获得视频资源状态信息。Step 700, the video resource index server obtains video resource status information from the streaming media server in real time.

步骤701,视频资源索引服务器将获得的视频资源状态信息实时发送给即时状态服务器。Step 701, the video resource index server sends the obtained video resource status information to the instant status server in real time.

步骤702,即时状态服务器更新并存储各个实时视频资源的状态信息。Step 702, the instant status server updates and stores the status information of each real-time video resource.

步骤703,客户终端中的即时状态客户端单元向即时状态服务器发送订阅实时视频状态信息请求。Step 703, the instant status client unit in the client terminal sends a request to subscribe to real-time video status information to the instant status server.

步骤704,即时状态服务器按订阅方式向客户终端中的即时状态客户端单元返回实时视频状态信息。例如:可以定时返回,也可以在状态信息有变化时返回。Step 704, the instant status server returns real-time video status information to the instant status client unit in the client terminal in a subscription manner. For example: it can be returned at regular intervals, or it can be returned when the status information changes.

第二种采用即时状态业务集成的实现方式可以参考图6,该方式与图6所示的区别在于:系统中不包含即时状态服务器606,由视频资源索引服务器203实现即时状态服务器606的功能。具体来说:Refer to FIG. 6 for the second implementation mode using instant status service integration. The difference between this mode and that shown in FIG. Specifically:

客户终端204中的即时状态客户端单元600记录各个实时视频资源状态的即时状态业务标识信息,并到视频资源索引服务器203上订阅该标识信息对应的实时视频资源的状态信息;根据实时视频资源的状态信息向流媒体服务器202发送实时视频请求。The instant status client unit 600 in the client terminal 204 records the instant status service identification information of each real-time video resource state, and subscribes the status information of the real-time video resource corresponding to the identification information on the video resource index server 203; The status information sends a real-time video request to the streaming media server 202 .

视频资源索引服务器203进一步接收客户终端204的即时状态客户端单元600的订阅请求,根据该请求,将客户终端204订阅的实时视频资源的状态信息返回给客户终端204中的即时状态客户端单元600。The video resource index server 203 further receives the subscription request of the instant state client unit 600 of the client terminal 204, and according to the request, the state information of the real-time video resource subscribed by the client terminal 204 is returned to the instant state client unit 600 in the client terminal 204 .

流媒体服务器202向客户终端204中的即时状态客户端单元600播放实时视频流媒体数据。The streaming server 202 plays real-time video streaming data to the instant presence client unit 600 in the client terminal 204 .

参见图8,图8为本发明第三较佳实施例的实时视频共享系统结构示意图。本实施例也是在图2所示第一较佳实施例的基础上,进行了改进。该系统结构与图2所述系统结构和功能基本相同,区别在于:该系统还包含带有摄像头801的移动通信终端802。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a real-time video sharing system according to a third preferred embodiment of the present invention. This embodiment is also improved on the basis of the first preferred embodiment shown in FIG. 2 . The structure and function of the system are basically the same as those described in FIG. 2 , except that the system also includes a mobile communication terminal 802 with a camera 801 .

该带摄像头801的移动通信终端802与流媒体服务器202之间通过移动通信网络中的WAP网关803建立流媒体数据传输通道,且移动通信终端802将摄像头801拍摄的实时视频数据通过该数据传输通道,上传到流媒体服务器202。The mobile communication terminal 802 with the camera 801 and the streaming media server 202 set up a streaming media data transmission channel through the WAP gateway 803 in the mobile communication network, and the mobile communication terminal 802 passes the real-time video data taken by the camera 801 through the data transmission channel , upload to the streaming media server 202.

移动通信终端802在向流媒体服务器202发送流媒体开始时,发送实时视频的标题和说明等信息,流媒体服务器202将接收到的流媒体与移动通信终端号码以及上述实时视频的标题和说明等信息建立关联并保存,将上述移动通信终端号码等信息作为实时视频资源信息存储到视频资源索引服务器203中。When the mobile communication terminal 802 sends streaming media to the streaming media server 202 and starts, it sends information such as the title and description of the real-time video, and the streaming media server 202 will receive the streaming media and mobile communication terminal number and the title and description of the above-mentioned real-time video. The information is associated and saved, and the above information such as the mobile communication terminal number is stored in the video resource index server 203 as real-time video resource information.

本实施例中的其他装置的工作原理和实现方法与图2所示实施例完全相同,这里不再重复说明。The working principles and implementation methods of other devices in this embodiment are exactly the same as those in the embodiment shown in FIG. 2 , and will not be repeated here.

然后,举一个较佳实施例对第二种实现实时视频信息共享的系统及方法进行详细说明。Then, a preferred embodiment is given to describe the second system and method for realizing real-time video information sharing in detail.

本实施例是通过多媒体消息(MMS)提供实时视频业务。参见图9,图9为本发明第四较佳实施例的实时视频共享系统结构示意图。该系统包含摄像装置201、流媒体服务器202、视频资源索引服务器203、客户终端204和可选的广告视频服务器205,流媒体服务器202与一个或多个摄像装置201相连,视频资源索引服务器203通过移动通信网络中的短消息中心901和多媒体消息中心902与移动通信终端204相连。This embodiment provides real-time video services through multimedia messaging (MMS). Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a real-time video sharing system according to a fourth preferred embodiment of the present invention. The system comprises camera 201, streaming media server 202, video resource index server 203, client terminal 204 and optional advertisement video server 205, streaming media server 202 is connected with one or more camera devices 201, and video resource index server 203 passes The short message center 901 and the multimedia message center 902 in the mobile communication network are connected with the mobile communication terminal 204 .

其中,流媒体服务器202将包含该流媒体服务器地址的实时视频资源信息存储到视频资源索引服务器203;并在接收到实时视频请求后,将从摄像装置201接收的视频信息生成实时视频流媒体数据,并将该实时视频流媒体数据通过视频资源服务器203发送给移动通信网络中的多媒体消息中心902,Wherein, the streaming server 202 stores the real-time video resource information including the address of the streaming server into the video resource index server 203; and after receiving the real-time video request, generates real-time video streaming data from the video information received by the camera 201 , and send the real-time video stream media data to the multimedia message center 902 in the mobile communication network through the video resource server 203,

视频资源索引服务器203与一个或多个流媒体服务器202分别相连,存储从各个流媒体服务器202接收的实时视频资源信息;接收短消息中心901转发的实时视频请求,根据用户需要获得实时视频资源信息,并根据该实时视频资源信息中的地址信息转发给对应的流媒体服务器202,并从流媒体服务器202接收实时视频流媒体数据转发给移动通信网络中的多媒体消息中心902;The video resource index server 203 is connected with one or more streaming media servers 202 respectively, stores the real-time video resource information received from each streaming media server 202; receives the real-time video request forwarded by the short message center 901, and obtains the real-time video resource information according to user needs , and forward to the corresponding streaming server 202 according to the address information in the real-time video resource information, and receive real-time video streaming data from the streaming server 202 and forward it to the multimedia message center 902 in the mobile communication network;

短消息中心901接收到移动通信终端204发送的实时视频请求短消息,将该短消息转换为视频资源索引服务器203能够接收的数据,转发给视频资源索引服务器203。The short message center 901 receives the real-time video request short message sent by the mobile communication terminal 204 , converts the short message into data that the video resource index server 203 can receive, and forwards it to the video resource index server 203 .

多媒体消息中心902接收流媒体服务器202发送的实时视频流媒体数据,转换为多媒体消息,发送给移动通信终端204。The multimedia message center 902 receives the real-time video streaming data sent by the streaming server 202 , converts it into a multimedia message, and sends it to the mobile communication terminal 204 .

移动通信终端204根据用户需要直接通过短消息中心901向视频资源索引服务器203发送实时视频请求,并接收视频资源索引服务器203通过多媒体消息中心902转发的实时视频流媒体数据。The mobile communication terminal 204 directly sends a real-time video request to the video resource index server 203 through the short message center 901 according to user needs, and receives real-time video stream media data forwarded by the video resource index server 203 through the multimedia message center 902 .

与上述图2、图6、图8所示实施例相同,本实施例中的广告视频服务器205也是可选设备,系统中可以有也可以没有,可以有一个也可以有多个。当系统中包含广告视频服务器205时,各个广告视频服务器205与所述视频资源索引服务器203相连,且视频资源索引服务器203存储各个广告视频服务器的地址信息。这种情况下:Same as the above-mentioned embodiments shown in FIG. 2 , FIG. 6 , and FIG. 8 , the advertising video server 205 in this embodiment is also an optional device, which may or may not exist in the system, and may have one or more. When the system includes advertising video servers 205, each advertising video server 205 is connected to the video resource index server 203, and the video resource index server 203 stores the address information of each advertising video server. In this situation:

视频资源索引服务器203接收到移动通信终端204通过短消息中心901发送的实时视频请求后,将该请求转发给一个广告视频服务器205;并在接收到广告视频服务器205发送完广告数据的通知后,根据用户需要获得实时视频资源信息,并根据该实时视频资源信息中的地址信息将该实时视频请求转发给对应的流媒体服务器202。After the video resource index server 203 receives the real-time video request sent by the mobile communication terminal 204 through the short message center 901, the request is forwarded to an advertisement video server 205; and after receiving the notification that the advertisement video server 205 has sent the advertisement data, The real-time video resource information is obtained according to the needs of the user, and the real-time video request is forwarded to the corresponding streaming media server 202 according to the address information in the real-time video resource information.

广告视频服务器205通过视频资源索引服务器203、多媒体消息中心902向移动通信终端204发送视频广告数据,并在视频广告数据发送完后,通知视频资源索引服务器203。The advertisement video server 205 sends the video advertisement data to the mobile communication terminal 204 through the video resource index server 203 and the multimedia message center 902, and notifies the video resource index server 203 after the video advertisement data is sent.

移动通信终端204通过多媒体消息中心902接收广告视频服务器205发送的视频广告数据后,接收流媒体服务器202通过多媒体消息中心902播放的实时视频流媒体数据。After the mobile communication terminal 204 receives the video advertisement data sent by the advertisement video server 205 through the multimedia message center 902 , it receives the real-time video streaming data played by the streaming media server 202 through the multimedia message center 902 .

本实施例中,客户终端204是通过移动通信网络与视频资源索引服务器203和流媒体服务器202进行通信,实际应用中,还可以通过其他网络进行通信。本实施例中的流媒体服务器202和视频资源索引服务器203及广告视频服务器205之间也都可以通过TCP/IP协议或SIP协议等网络通信协议进行通信In this embodiment, the client terminal 204 communicates with the video resource index server 203 and the streaming media server 202 through a mobile communication network. In practical applications, it can also communicate through other networks. In this embodiment, the streaming media server 202, the video resource index server 203 and the advertising video server 205 can also communicate through network communication protocols such as TCP/IP protocol or SIP protocol.

同样,本实施例的系统中,还可以包含带有摄像头的移动通信终端(图9中未示出)。该移动通信终端向流媒体服务器上传实时视频数据的方法与图8所示实施例完全相同,这里不再重复。Likewise, the system of this embodiment may also include a mobile communication terminal with a camera (not shown in FIG. 9 ). The method for the mobile communication terminal to upload real-time video data to the streaming media server is exactly the same as the embodiment shown in FIG. 8 , and will not be repeated here.

参见图10,图10为图9所示实施例中,实现实时视频共享的处理流程。该流程是在系统不包含广告视频服务器情况下的处理流程,具体包括以下步骤:Referring to FIG. 10 , FIG. 10 is a processing flow for realizing real-time video sharing in the embodiment shown in FIG. 9 . This process is the processing process when the system does not contain an advertising video server, and specifically includes the following steps:

步骤10,移动通信终端向移动通信网络中的短消息中心发送实时视频请求短消息。Step 10, the mobile communication terminal sends a real-time video request short message to the short message center in the mobile communication network.

步骤11,短消息中心将该实时视频请求短消息转换为视频资源索引服务器能够接收的数据,转发给视频资源索引服务器。Step 11: The short message center converts the real-time video request short message into data that can be received by the video resource index server, and forwards it to the video resource index server.

步骤12,视频资源索引服务器获得包含流媒体服务器地址信息的实时视频资源信息,并根据该实时视频资源信息向流媒体服务器发送实时视频请求。Step 12, the video resource index server obtains the real-time video resource information including the address information of the streaming media server, and sends a real-time video request to the streaming media server according to the real-time video resource information.

步骤13,流媒体服务器流媒体服务器根据实时视频请求,将从摄像装置接收的视频信息生成实时视频流媒体数据返回给视频资源索引服务器。Step 13, the streaming server The streaming server generates real-time video streaming data from the video information received from the camera device and returns it to the video resource index server according to the real-time video request.

步骤14,视频资源索引服务器通过MM7接口向多媒体消息中心返回实时视频流媒体数据。Step 14, the video resource index server returns real-time video stream media data to the multimedia message center through the MM7 interface.

步骤15,多媒体消息中心将实时视频流媒体数据转换为多媒体消息,发送给移动通信终端。Step 15, the multimedia message center converts the real-time video streaming data into a multimedia message and sends it to the mobile communication terminal.

同样,本实施例中,在系统不包含广告视频服务器的情况下,也可以由视频资源索引服务器实现播放视频广告。具体方法为:Similarly, in this embodiment, in the case that the system does not include an advertisement video server, the video resource index server can also realize playing video advertisements. The specific method is:

由视频资源索引服务器进一步存储一个或多个视频广告数据。在上述步骤12中,实时视频资源索引服务器先通过多媒体消息中心向移动通信终端返回一个视频广告数据,在播放视频广告数据同时或播放后,根据实时视频资源信息向流媒体服务器转发实时视频请求。One or more pieces of video advertisement data are further stored by the video resource index server. In the above step 12, the real-time video resource indexing server first returns a video advertisement data to the mobile communication terminal through the multimedia message center, and forwards the real-time video request to the streaming media server according to the real-time video resource information while playing the video advertisement data or after playing.

这种情况下,还可以在实时视频资源信息中包括实时视频资源的类型信息,并将存储的每个视频广告数据与至少一个类型相关;上述步骤12中,实时视频资源索引服务器从移动通信终端请求的实时视频资源的类型相关的视频广告数据中选取一个发送给客户终端。In this case, the type information of the real-time video resource can also be included in the real-time video resource information, and each video advertisement data stored is related to at least one type; Select one of the video advertisement data related to the type of the requested real-time video resource and send it to the client terminal.

由上述的实施例可见,本发明的这两种实现实时视频信息共享的系统及方法,实现了各种实时视频信息的集中共享,能够应用于各种环境中,满足用户对多种实时视频信息的需求。It can be seen from the above embodiments that the two systems and methods for realizing real-time video information sharing of the present invention realize the centralized sharing of various real-time video information, can be applied in various environments, and satisfy users' requirements for various real-time video information. demand.

Claims (22)

1. method that realizes the real-time video information sharing, it is characterized in that: streaming media server has stored the streaming media server address information in the real-time video resource information into the video resource index server in advance, and the real-time video resource state information real-time update in the real-time video resource information is arrived the video resource index server; The process that client terminal obtains real-time video information may further comprise the steps:
A, client terminal send the video resource request to the video resource index server;
B, video resource index server receive the video resource request, obtain to comprise the real-time video resource information of streaming media server address information and real-time video resource state information, and this real-time video resource information is returned to client terminal;
C, client terminal send the real-time video request according to address information in this real-time video resource information and state information to streaming media server;
D, streaming media server will generate the real-time video stream medium data and play to client terminal according to the real-time video request from the video information that camera head receives.
2. the method for claim 1 is characterized in that:
In the described steps A, client terminal sends the video resource request by internet or local area network (LAN) to the video resource index server;
Among the described step B, the video resource index server returns to client terminal by the real-time video resource information that described internet or local area network (LAN) will comprise the streaming media server address;
Among the described step C, the real-time video request that client terminal sends to streaming media server by internet or local area network (LAN);
Among the described step D, streaming media server plays to client terminal by described internet or local area network (LAN) with the real-time video stream medium data.
3. method as claimed in claim 2 is characterized in that: described video resource index server operation WWW service is with web displaying real-time video resource information; Described client terminal uses the WEB browser by access to the Internet video resource index server;
The video resource index server is communicated by letter with streaming media server by ICP/IP protocol or Session Initiation Protocol.
4. the method for claim 1 is characterized in that, described real-time video resource information further comprises: real-time video resource location information, real-time video resource class information, real-time video resource are controlled one or more in the information.
5. method as claimed in claim 4 is characterized in that:
When described real-time video resource information comprised real-time video resource location information: the video resource index server carried out index by real-time video resource location information, and by described positional information, position on real-time video resource and the map is mapped, and will be included in the real-time video resource information at the map that correspondence position has marked the real-time video resource and sends to client terminal;
When described real-time video resource information comprised real-time video resource class information: the video resource index server carried out index by real-time video resource class information, generate real-time video resource index catalogue, this catalogue is included in the real-time video resource information sends to client terminal;
Described real-time video resource information comprises when the real-time video resource is controlled information: among the described step B, the video resource index server is to controlling the real-time video resource of state, send the video operation and control interface to client terminal, receive the instruction of controlling of user's input, and will control the instruction send streaming media server to, streaming media server is controlled instruction according to this camera head of real-time video resource correspondence is controlled accordingly.
6. the method for claim 1 is characterized in that, described streaming media server with real-time video state of resources information stores to the method for video resource index server is:
The state information request that described streaming media server receiver, video resource index server sends by pre-set time interval is asked to video resource index server return state information according to this; The video resource index server upgrades with the state information that receives;
Or when real-time video state of resources information changed, described streaming media server upgraded up-to-date real-time video resource state information to the video resource index server.
7. method as claimed in claim 6 is characterized in that: described real-time video resource state information comprises whether resource is available, the real-time summary picture of this real-time video resource current accessed number or information on load and this real-time video resource;
Among the described step B, when the video resource index server receives the request of real-time video resource, detect the number of visiting people or the load of this real-time video resource earlier; Reach predefined and go up in limited time when detecting the number of visiting people or load, by certain hour at interval to the streaming media server request picture of making a summary in real time; And after receiving the real-time summary picture that streaming media server returns, it is added real-time video resource state information send to user terminal;
Drop to and be lower than predefined going up in limited time when detecting the number of visiting people or load, video resource index server notice client terminal obtains the real-time video stream medium data to streaming media server.
8. method as claimed in claim 7, it is characterized in that: among the described step B, the video resource index server by certain hour at interval before picture is made a summary in the streaming media server request in real time, the video resource index server sends to user terminal with up-to-date one or more picture, the time corresponding that Shows Picture of this real-time video resource of current storage.
9. method as claimed in claim 6 is characterized in that: described real-time video resource state information comprises resource whether available and this real-time video resource current accessed number or information on load;
Reach predefined and go up in limited time when described streaming media server detects the number of visiting people or load, or behind the play stream media data certain hour, change into by certain hour and send real time picture to client terminal at interval.
10. the method for claim 1, it is characterized in that: described client terminal comprises the immediate status client unit;
Described immediate status client unit writes down the immediate state service identification information of each real-time video resource status, and subscribes to the real-time video state of resources information of this identification information correspondence to the video resource index server; Send the real-time video request according to real-time video state of resources information to streaming media server;
Described video resource index server further receives the subscribe request of the immediate status client unit of client terminal, and according to this request, the real-time video state of resources information that client terminal is subscribed to returns to the immediate status client unit in the client terminal;
Among the described step D, the immediate status client unit of streaming media server in client terminal play the real-time video stream medium data.
11. the method for claim 1 is characterized in that, this system further comprises the immediate status server; Described video resource index server and client terminal comprise the immediate status client unit respectively;
Immediate status client unit in the described video resource index server is each real-time video resource information of registration storage on instant state server in advance, and accept the immediate state service identification information of immediate status server-assignment, and the video resource index server constantly with each real-time video state of resources information updating to the immediate status server;
Immediate status client unit in the described client terminal writes down the immediate state service identification information of each real-time video resource status in advance, subscribes to the real-time video state of resources information of this identification information correspondence to the immediate status server;
After the subscribe request of described immediate status server immediate status client unit in receiving client terminal, according to this request, the real-time video state of resources information that client terminal is subscribed to returns to the immediate status client unit in the client terminal;
Among the described step D, the immediate status client unit of streaming media server in client terminal play the real-time video stream medium data.
12. method as claimed in claim 5, it is characterized in that, this method further comprises: when a real-time video resource was being controlled, the video resource index server was a lock-out state with the information setting of controlling of this real-time video resource, refused the instruction of controlling of other client terminals transmissions.
13. method as claimed in claim 12 is characterized in that: the camera that described camera head comprises track and can orbit, describedly control instruction and also comprise the instruction of controlling that orbits;
Described streaming media server is controlled instruction according to this and camera of the camera head of real-time video resource correspondence is carried out on the track operation is controlled.
14. as claim 1,2,10 or 11 described methods, it is characterized in that: described video resource index server is the one or more video ads data of storage further;
Among the described step B, real-time video resource index server is when returning the real-time video resource information to client terminal, and the notice client terminal arrives first real-time video resource index server and downloads video ads data;
Among the described step C, client terminal to real-time video resource index server download video advertisements data, in the playing video advertisement data while or after playing, sends the real-time video request according to the real-time video resource information to streaming media server according to notice.
15. method as claimed in claim 14 is characterized in that: also comprise the type information of real-time video resource in the described real-time video resource information, each video ads data of described storage are relevant with at least one described type;
Among the described step B, real-time video resource index server is chosen one from the relevant video ads data of the type of the real-time video resource of client terminal request, and the notice client terminal is downloaded this video ads data.
16. as claim 1,2,10 or 11 described methods, it is characterized in that: the advertisement video server that one or more store video ad datas further are set in system; Each advertisement video server links to each other with described video resource index server, and the video resource index server is stored the address information of each advertisement video server;
Among the described step B, after the video resource index server receives the video resource request of client terminal transmission, should ask and the real-time video resource information is transmitted to an advertisement video server, and the address information of advertisement video server was sent to client terminal;
Described step B also comprises: client terminal arrives described advertisement video server download video advertisements data according to the address information of advertisement video server, and receives the advertisement video server is downloaded the back transmission in the video ads data real-time video resource information;
Among the described step C, client terminal sends the real-time video request according to the real-time video resource information that receives from the advertisement video server to streaming media server.
17., it is characterized in that: further in system, comprise: the mobile communication terminal of band camera as claim 1,2,10 or 11 described methods;
The mobile communication terminal of described band camera and streaming media server are set up the transmission of flow media data passage via the WAP gateway in the mobile communications network, and the real time video data that camera is taken is passed through this data transmission channel, upload to streaming media server.
18. method as claimed in claim 2 is characterized in that: the address information that comprises client terminal in the real-time video request that described client terminal sends;
Described step D is: streaming media server is according to the address information in the real-time video request, to be encoded to stream media format from the video information compression that camera head receives, if camera head comprises pick-up, then streaming media server also carries out compressed encoding together with audio frequency, generates the real-time video stream medium data and plays to client terminal.
19. method as claimed in claim 18 is characterized in that, described step D comprises:
D1, streaming media server obtain video information from camera head;
D2, streaming media server and client terminal are set up signalling path, and broadcast address and port numbers are sent to client terminal;
D3, client terminal and streaming media server are set up data channel;
D4, streaming media server send to client terminal with it by this data channel after video information is generated the video stream media data;
D5, client terminal receiving stream media data display the play.
20. method as claimed in claim 19 is characterized in that: among the described step D2, streaming media server sends to client terminal with multicast address and port numbers;
Among the described step D4, streaming media server sends to router in internet or the local area network (LAN) with the real-time video stream medium data; Router will send to a plurality of clients continuously from the real-time video stream medium data that the separate unit streaming media server receives in the multicast mode simultaneously.
21. the method for claim 1 is characterized in that:
In the described steps A, client terminal is carried out the step of authentication earlier before real-time video resource index server sends the video resource request, after authentication is passed through, the record number of the account, real-time video resource index server begins to charge to this number of the account, generates the CDR ticket writing.
22. method as claimed in claim 21 is characterized in that: generate the CDR ticket according to different charging policy; If adopt mode by the time charge on traffic, then finishing when the client sends the real-time video stream medium data eventually by streaming media server, report the time and the flow information of this client terminal playing real-time video to the video resource index server, the video resource index server generates the CDR ticket writing in view of the above.
CNB2005101351010A 2005-12-23 2005-12-23 System and method for realizing real-time video information sharing Expired - Lifetime CN100421469C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101351010A CN100421469C (en) 2005-12-23 2005-12-23 System and method for realizing real-time video information sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101351010A CN100421469C (en) 2005-12-23 2005-12-23 System and method for realizing real-time video information sharing

Publications (2)

Publication Number Publication Date
CN1852431A CN1852431A (en) 2006-10-25
CN100421469C true CN100421469C (en) 2008-09-24

Family

ID=37133898

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101351010A Expired - Lifetime CN100421469C (en) 2005-12-23 2005-12-23 System and method for realizing real-time video information sharing

Country Status (1)

Country Link
CN (1) CN100421469C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325182A (en) * 2011-09-09 2012-01-18 重庆抛物线信息技术有限责任公司 Audio-video sharing method and system

Families Citing this family (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291422B (en) * 2007-04-18 2011-01-12 威宝电信股份有限公司 Method for providing remote real-time audio-visual and its system and communication architecture
ATE541396T1 (en) * 2007-06-18 2012-01-15 Ericsson Telefon Ab L M METHOD AND ARRANGEMENTS IN A CLIENT AND TELEPHONE SERVER
US8180029B2 (en) * 2007-06-28 2012-05-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
CN101146110B (en) * 2007-09-25 2011-06-29 深圳市迅雷网络技术有限公司 A way to play streaming media
CN101141627A (en) 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 System and method for storing streaming media files
US10326812B2 (en) * 2008-01-16 2019-06-18 Qualcomm Incorporated Data repurposing
CN101577630B (en) * 2009-05-27 2011-11-16 华为技术有限公司 Data sharing method and server
CN101710983B (en) * 2009-11-24 2013-06-05 中兴通讯股份有限公司 Method for playing real-time streaming files and device thereof
CN102238151B (en) * 2010-04-27 2014-07-16 中兴通讯股份有限公司 Flash-based media stream generation system and method
CN102404369B (en) * 2010-09-17 2014-12-17 中国电信股份有限公司 Real-time video propelling method, system and central business server
CN102487375B (en) * 2010-12-01 2015-02-04 腾讯科技(深圳)有限公司 Method, device and system for downloading videos online
WO2012084058A1 (en) * 2010-12-23 2012-06-28 Telefonaktiebolaget L M Ericsson (Publ) Media broker server, method, computer program and computer program product for matching a media source and a media receiver
US20120254759A1 (en) * 2011-03-31 2012-10-04 Greenberg David S Browser-based recording of content
CN102752669B (en) * 2011-04-19 2015-09-16 中国电信股份有限公司 The transfer processing method of multichannel real time flow medium file and system, receiving system
CN102223570A (en) * 2011-06-17 2011-10-19 北京互信互通信息技术股份有限公司 Multi-stage real-time video streaming media distribution method and system
CN102883216B (en) * 2011-07-14 2017-10-10 上海聚力传媒技术有限公司 A kind of net cast method and apparatus
CN102325173B (en) * 2011-08-30 2013-12-11 重庆抛物线信息技术有限责任公司 Mixed audio and video sharing method and system
CN103179438B (en) * 2011-12-20 2015-12-16 中国移动通信集团上海有限公司 Video playback accesses determination method and the device of code check first
CN102647625B (en) * 2012-05-03 2014-02-26 重庆邮电大学 Multi-video forwarding method based on port number and IP address
CN102695146A (en) * 2012-05-25 2012-09-26 深圳市龙视传媒有限公司 File sharing method, system and terminal
CN103517095A (en) * 2012-06-18 2014-01-15 鸿富锦精密工业(深圳)有限公司 A set top box which enables video synchronization sharing to be carried out and a video signal synchronization sharing method
CN103595736B (en) * 2012-08-14 2019-02-15 杭州海康威视系统技术有限公司 Access request treating method and apparatus in video monitoring system
CN103327307A (en) * 2013-03-14 2013-09-25 山东电力集团公司青岛供电公司 Power grid monitoring system and method based on streaming media
CN103491454A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method, system and device for sharing audio and video resources
CN103533304A (en) * 2013-09-30 2014-01-22 天脉聚源(北京)传媒科技有限公司 Monitoring method and device
CN103581712B (en) * 2013-11-04 2014-09-10 广州华工信元通信技术有限公司 Multi-protocol video playing method and system based on mobile terminal
CN103593247B (en) * 2013-11-18 2017-02-08 腾讯科技(成都)有限公司 Method and device for data transmission
CN103813141A (en) * 2014-01-17 2014-05-21 国电南瑞科技股份有限公司 Video comprehensive monitoring system and monitoring method based on stream media
CN104202561B (en) * 2014-08-13 2016-03-30 小米科技有限责任公司 The method of play stream media data and device
CN104735526B (en) * 2015-03-30 2018-06-19 天脉聚源(北京)教育科技有限公司 A kind of server connection method and device
CN106162069B (en) * 2015-04-22 2019-09-10 杭州海康威视系统技术有限公司 It is a kind of to obtain, the method for video resource, client and server are provided
CN104811740B (en) * 2015-04-29 2019-01-08 北京奇艺世纪科技有限公司 A kind of distribution method of video file, system and device
CN105391699A (en) * 2015-10-26 2016-03-09 北京奇虎科技有限公司 Transmission method, device and system of video data
CN105744373A (en) * 2016-02-23 2016-07-06 福建星网视易信息系统有限公司 Streaming media playing method and system based on Internet
CN106097225B (en) * 2016-06-17 2022-02-22 北京华风创新网络技术有限公司 Method and system for instant dissemination of meteorological information based on mobile terminal
CN106375793B (en) * 2016-08-29 2019-12-13 东方网力科技股份有限公司 video structured information superposition method, user terminal and superposition system
CN108700889B (en) * 2017-02-27 2022-06-10 深圳市大疆创新科技有限公司 Control method, remote monitoring equipment, remote controller, server and streaming media server
CN108012159A (en) * 2017-12-05 2018-05-08 广州华多网络科技有限公司 live video push control method, device and corresponding terminal
CN110381344A (en) * 2018-11-27 2019-10-25 北京京东尚科信息技术有限公司 Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment
CN110392233B (en) * 2019-06-20 2022-12-23 视联动力信息技术股份有限公司 Monitoring video processing method, device and storage medium
CN111031088A (en) * 2019-10-14 2020-04-17 西安万像电子科技有限公司 Resource transmission method, equipment and system
CN111327584A (en) * 2019-11-12 2020-06-23 杭州海康威视系统技术有限公司 Video monitoring method, device, system, equipment and storage medium
CN110941380B (en) * 2019-11-20 2022-02-22 三星电子(中国)研发中心 Picture downloading method and device and computer readable storage medium
CN113824925A (en) * 2021-08-11 2021-12-21 南京国电南自电网自动化有限公司 A WEB plug-in-free video monitoring system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1143352A2 (en) * 2000-03-09 2001-10-10 Ateon Networks, Inc. Scalable media index system for displaying multiple "live media index menus" on a web clients browser with no additional software or plug-ins
CN1371189A (en) * 2001-02-16 2002-09-25 三星电子株式会社 Remote monitor with mobile video telephone
CN1479462A (en) * 2003-06-04 2004-03-03 威海克劳斯数码通迅有限公司 Full view remote network safety monitoring system
CN1558679A (en) * 2004-01-19 2004-12-29 上海交通大学 Intelligent video content monitoring system based on IP network
CN1656806A (en) * 2002-04-26 2005-08-17 Nti股份有限公司 Information exchange method, information processor, information collection system, communication method, communication system, intermediate device and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1143352A2 (en) * 2000-03-09 2001-10-10 Ateon Networks, Inc. Scalable media index system for displaying multiple "live media index menus" on a web clients browser with no additional software or plug-ins
CN1371189A (en) * 2001-02-16 2002-09-25 三星电子株式会社 Remote monitor with mobile video telephone
CN1656806A (en) * 2002-04-26 2005-08-17 Nti股份有限公司 Information exchange method, information processor, information collection system, communication method, communication system, intermediate device and communication device
CN1479462A (en) * 2003-06-04 2004-03-03 威海克劳斯数码通迅有限公司 Full view remote network safety monitoring system
CN1558679A (en) * 2004-01-19 2004-12-29 上海交通大学 Intelligent video content monitoring system based on IP network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325182A (en) * 2011-09-09 2012-01-18 重庆抛物线信息技术有限责任公司 Audio-video sharing method and system
CN102325182B (en) * 2011-09-09 2013-08-07 重庆抛物线信息技术有限责任公司 Audio-video sharing method and system

Also Published As

Publication number Publication date
CN1852431A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
CN100421469C (en) System and method for realizing real-time video information sharing
US8924552B2 (en) Remote and local compound device capabilities synchronization method and system
US8473583B2 (en) System and method for transmitting and receiving a call on a home network
US8566889B2 (en) Control apparatus, content transmission system and content transmission method
JP6719166B2 (en) Live broadcasting system
US20120060178A1 (en) Continuable communication management apparatus and continuable communication managing method
CN101473629A (en) Method and apparatus for managing multimedia content
US20070180135A1 (en) Multimedia content exchange architecture and services
CN1941899A (en) System and method for downloading contents
CN101453524B (en) Multimedia service implementing method
US20030079008A1 (en) Content distribution system, content reserved-time-extension control apparatus, content reserved-time-extension control method, content reserved-time-extension control program, and content reserved-time-extension control program storage medium
KR100937681B1 (en) Communication module and process for inter-user communication, server comprising such a communication module, broadcasting set comprising such a server and storage medium stored thereon a computer program product executing such an inter-user communication process
WO2008007385A2 (en) Method for controlling advanced multimedia features and supplementary services in sip-based phones and a system employing thereof
KR101351715B1 (en) Inheritance communication administrating apparatus
US20080313150A1 (en) Centralized Network Data Search, Sharing and Management System
JP5802116B2 (en) Call system with data sharing function
CN102377987B (en) A kind of video monitoring system based on IMS and method
Al-Hezmi et al. Towards an interactive IPTV for mobile subscribers
US9197690B2 (en) Method and system for transmitting content
KR20050079175A (en) Method and system for unifying broadcasting programs from multiple sources and for providing broadcasting service through the unified channel
JP2005229547A (en) Recording method, recording system, reproducing method and reproducing system
CN108270995B (en) Communication method and system between terminal and video monitoring equipment
KR100779104B1 (en) Apparatus for providing application service in mobile Internet, method for mobile Internet portal service access and method for starting of application service between mobile Internet terminals
KR20090002085A (en) Method and system for providing broadcasting service through integrated wired / wireless network
WO2005026967A1 (en) Data communication system and data communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220211

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
CX01 Expiry of patent term

Granted publication date: 20080924

CX01 Expiry of patent term