[go: up one dir, main page]

CN106817587A - Generation/the sharing method of video flowing, system, terminal device and server cluster - Google Patents

Generation/the sharing method of video flowing, system, terminal device and server cluster Download PDF

Info

Publication number
CN106817587A
CN106817587A CN201611196475.8A CN201611196475A CN106817587A CN 106817587 A CN106817587 A CN 106817587A CN 201611196475 A CN201611196475 A CN 201611196475A CN 106817587 A CN106817587 A CN 106817587A
Authority
CN
China
Prior art keywords
video stream
video
client
publisher
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.)
Granted
Application number
CN201611196475.8A
Other languages
Chinese (zh)
Other versions
CN106817587B (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.)
Non Cloud Internet Technology (shanghai) Co Ltd
Original Assignee
Non Cloud Internet Technology (shanghai) 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 Non Cloud Internet Technology (shanghai) Co Ltd filed Critical Non Cloud Internet Technology (shanghai) Co Ltd
Priority to CN201611196475.8A priority Critical patent/CN106817587B/en
Publication of CN106817587A publication Critical patent/CN106817587A/en
Application granted granted Critical
Publication of CN106817587B publication Critical patent/CN106817587B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种视频流的生成方法/分享方法、系统、终端设备和服务器集群,视频流的生成方法应用于包括视频流的源端和作为发布者的客户端的通信网络中;视频流的生成方法包括:生成一包括用于链接该视频流来源的网页链接地址的二维码;将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。本发明实现电视端用户短视频的快速选取、生成、发布、分享,极大的降低了电视用户选取、生成、分享、传播短视频的门槛。

The present invention provides a method for generating/sharing a video stream, a system, a terminal device, and a server cluster. The method for generating a video stream is applied to a communication network including a source end of a video stream and a client serving as a publisher; the generation of a video stream The method includes: generating a two-dimensional code including a link address of a web page used to link the source of the video stream; encapsulating the two-dimensional code in the video stream that needs to be propagated to the client as the publisher, so that the After receiving the video stream, the publisher's client automatically links to the webpage by scanning the two-dimensional code encapsulated in the video stream, so as to receive the video sharing request input by the user. The present invention realizes the rapid selection, generation, distribution and sharing of short videos for TV end users, and greatly reduces the threshold for TV users to select, generate, share and disseminate short videos.

Description

视频流的生成/分享方法、系统、终端设备和服务器集群Video stream generation/sharing method, system, terminal device and server cluster

技术领域technical field

本发明涉及视频通信技术领域,特别是涉及一种视频流的生成/分享方法、系统、终端设备和服务器集群。The present invention relates to the technical field of video communication, in particular to a video stream generation/sharing method, system, terminal equipment and server cluster.

背景技术Background technique

随着移动互联网的发展,视频呈现出移动化、碎片化和社交化的趋势。电视用户观众将自己在电视屏幕看到的精彩片段提取出来,发布到社交平台,好友在手机上观赏,和好友一起分享内容有重要的意义。用精彩短视频吸引更多用户观看长视频、引导至电视大屏,形成电视与手机之间大小屏的传播闭环。通过大数据分析,可以获取用户的收看和传播喜好,从而提高精准服务水准,提升用户活跃度。With the development of the mobile Internet, video shows a trend of mobility, fragmentation and socialization. TV users and viewers extract the highlights they see on the TV screen and publish them on social platforms. Friends can watch them on their mobile phones. It is of great significance to share content with friends. Use exciting short videos to attract more users to watch long videos, guide them to large TV screens, and form a closed loop of communication between TVs and mobile phones. Through big data analysis, users' viewing and dissemination preferences can be obtained, so as to improve the level of accurate service and increase user activity.

然而,电视主要是通过遥控器的方式进行操作,交互困难。通过在电视上来进行短视频的生成和分享非常不方便,需要一种方便简洁的技术,来实现电视端用户短视频的快速选取、生成、发布、分享。However, the TV is mainly operated by a remote control, and the interaction is difficult. It is very inconvenient to generate and share short videos on TV, and a convenient and concise technology is needed to realize the rapid selection, generation, release, and sharing of short videos for TV end users.

因此,如何提供一种视频流的生成/分享方法、系统、终端设备和服务器集群,以解决现有技术中无法通过电视端进行短视频的生成,也不方便分享短视频等种种缺陷,实以成为本领域从业者亟待解决的技术问题。Therefore, how to provide a video stream generation/sharing method, system, terminal equipment, and server cluster to solve various defects such as the inability to generate short videos through the TV terminal in the prior art, and the inconvenient sharing of short videos, etc. Become a technical problem to be solved urgently by practitioners in this field.

发明内容Contents of the invention

鉴于以上所述现有技术的缺点,本发明的目的在于提供一种视频流的生成/分享方法、系统、终端设备和服务器集群,用于解决现有技术中无法通过电视端进行短视频的生成,也不方便分享短视频的问题。In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a video stream generation/sharing method, system, terminal equipment and server cluster, which are used to solve the problem that the short video cannot be generated through the TV terminal in the prior art. , and it is not convenient to share short videos.

为实现上述目的及其他相关目的,本发明一方面提供一种视频流的生成方法,应用于包括视频流的源端和作为发布者的客户端的通信网络中;所述视频流的生成方法包括以下步骤:生成一包括用于链接该视频流来源的网页链接地址的二维码;将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。In order to achieve the above object and other related objects, the present invention provides a method for generating a video stream on the one hand, which is applied to a communication network including a source end of the video stream and a client as a publisher; the method for generating the video stream includes the following Steps: generating a two-dimensional code that includes a webpage link address for linking the source of the video stream; encapsulating the two-dimensional code in the video stream that needs to be transmitted to the client as the publisher, so that the publisher as the publisher After receiving the video stream, the client as the publisher automatically links to the webpage by scanning the two-dimensional code encapsulated in the video stream, so as to receive the video sharing request input by the user.

于本发明的一实施例中,所述用户输入的视频分享请求包括用户需分享视频流的标题、需分享视频流的描述内容、和/或需分享视频流的时间长度。In an embodiment of the present invention, the video sharing request input by the user includes the title of the video stream to be shared by the user, the description of the video stream to be shared, and/or the time length of the video stream to be shared.

本发明另一方面提供一种基于所述的视频流的生成方法的视频流分享方法,应用于包括作为发布者的客户端、作为分享者的客户端和服务器集群的通信网络中,所述视频流的分享方法包括以下步骤:接收作为发布者的客户端发送的视频分享请求;根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。Another aspect of the present invention provides a video stream sharing method based on the video stream generation method, which is applied to a communication network including a client as a publisher, a client as a sharer, and a server cluster. The stream sharing method includes the following steps: receiving a video sharing request sent by a client as a publisher; according to the video sharing request, searching for a video stream attribute file corresponding to the video stream and indicating the video stream attribute; According to the found video stream attribute file, the storage address of the latest video stream attribute file is forwarded, so that the client as the publisher shares the latest video stream attribute file to the mainstream social platform, In order to share the video stream with the client as the sharer.

于本发明的一实施例中,所述视频流属性文件包括用于记录组成所述视频流的视频数据片段的源地址的索引文件,和由若干视频数据片段组成的视频流传输媒体文件;所述服务器集群包括数据分发服务器、直播源服务器、及点播源服务器;所述查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件的步骤包括:所述直播源服务器接收所述数据分发服务器接收的视频分享请求,并将该视频分享请求发送至所述点播源服务器,所述点播源服务器在接收到该视频分享请求后,反馈一请求确认信息至所述直播源服务器,使所述直播源服务器知悉已收到该视频分享请求,并从所述直播源服务器下载所述索引文件和视频流传输媒体文件。In an embodiment of the present invention, the video stream attribute file includes an index file for recording the source address of the video data segments that make up the video stream, and a video stream transmission media file composed of several video data segments; The server cluster includes a data distribution server, a live broadcast source server, and an on-demand source server; the step of searching for a video stream attribute file corresponding to the video stream and representing the video stream attribute includes: the live broadcast source server receiving The video sharing request received by the data distribution server, and the video sharing request is sent to the on-demand source server, and the on-demand source server feeds back a request confirmation message to the live broadcast source server after receiving the video sharing request , making the live broadcast source server know that the video sharing request has been received, and download the index file and the video streaming media file from the live broadcast source server.

于本发明的一实施例中,所述当前最新的视频流属性文件的存储地址包括当前最新的索引文件的存储地址和当前需播放视频的封面地址。In an embodiment of the present invention, the storage address of the latest video stream attribute file includes the storage address of the latest index file and the cover address of the video currently to be played.

于本发明的一实施例中,在所述直播源服务器知悉所述点播源服务器已收到该视频分享请求时,将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址发送至所述数据分发服务器,所述数据分发服务器将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址转发至作为发布者的客户端。In one embodiment of the present invention, when the live broadcast source server knows that the video-on-demand source server has received the video sharing request, it sends the storage address of the latest index file and the cover address of the current video to be played To the data distribution server, the data distribution server forwards the storage address of the latest index file and the cover address of the video currently to be played to the client as the publisher.

于本发明的一实施例中,所述视频流分享方法还包括:若作为分享者的客户端在分享所述视频流时,根据接收到的当前最新的索引文件的存储地址和当前需播放视频的封面地址,访问所述点播源服务器,并判断所述点播源服务器已下载的所述索引文件和视频流传输媒体文件中是否存在所述作为分享者的客户端需分享的视频流所对应的索引文件和视频流传输媒体文件,若是,则直接从所述点播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件;若否,则从所述直播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件。In an embodiment of the present invention, the video stream sharing method further includes: if the client as the sharer is sharing the video stream, according to the received storage address of the latest index file and the current video to be played address of the cover page, access the on-demand source server, and determine whether the index file and the video stream transmission media file downloaded by the on-demand source server correspond to the video stream that the client as the sharer needs to share. Index file and video stream transmission media file, if so, then directly extract the index file and video stream transmission media file corresponding to this video stream from the described on-demand source server; The index file and video streaming media file corresponding to the video stream.

本发明另一方面还提供一种视频流的生成系统,应用于包括视频流的源端和作为发布者的客户端的通信网络中;所述视频流的生成系统包括:二维码生成模块,用于生成一包括用于链接该视频流来源的网页链接地址的二维码;封装模块,用于将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。Another aspect of the present invention also provides a video stream generation system, which is applied to a communication network including a source end of a video stream and a client as a publisher; the video stream generation system includes: a two-dimensional code generation module, used To generate a two-dimensional code that includes a webpage link address for linking the source of the video stream; an encapsulation module for encapsulating the two-dimensional code in the video stream that needs to be transmitted to the client as the publisher, so that all After the client as the publisher receives the video stream, the client as the publisher automatically links to the webpage by scanning the two-dimensional code encapsulated in the video stream to receive the video sharing request input by the user .

本发明另一方面又提供一种终端设备,包括所述的视频流的生成系统。Another aspect of the present invention provides a terminal device, including the system for generating a video stream.

本发明又一方面提供一种基于所述的视频流的生成系统的视频流的分享系统,应用于包括作为发布者的客户端、作为分享者的客户端和服务器端的通信网络中,所述视频流的分享系统包括:第一处理模块,用于接收作为发布者的客户端发送的视频分享请求;第二处理模块,用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;第三处理模块,用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。Another aspect of the present invention provides a video stream sharing system based on the video stream generating system, which is applied to a communication network including a client as a publisher, a client as a sharer, and a server. The stream sharing system includes: a first processing module, configured to receive a video sharing request sent by a client serving as a publisher; a second processing module, configured to search for a user corresponding to the video stream according to the video sharing request, And represent the video stream attribute file of the video stream attribute; the third processing module is used to forward the storage address of the latest video stream attribute file according to the found video stream attribute file, so that the publisher The client of the client shares the latest video stream attribute file to the mainstream social platform, so as to share the video stream as the sharer's client.

本发明最后一方面提供一种通信网络,包括与作为发布者的客户端和作为分享者的客户端通信连接服务器集群,所述服务器集群包括:数据分发服务器,用于接收作为发布者的客户端发送的视频分享请求;点播源服务器,用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;和/或直播源服务器,用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。The last aspect of the present invention provides a communication network, including a server cluster communicating with a client serving as a publisher and a client serving as a sharer, and the server cluster includes: a data distribution server for receiving a client serving as a publisher The video sharing request sent; the on-demand source server is used to search for a video stream attribute file corresponding to the video stream and indicating the video stream attribute according to the video sharing request; and/or the live broadcast source server is used for According to the found video stream attribute file, the storage address of the latest video stream attribute file is forwarded, so that the client as the publisher shares the latest video stream attribute file to the mainstream social platform, In order to share the video stream with the client as the sharer.

如上所述,本发明的视频流的生成/分享方法、系统、终端设备和服务器集群,具有以下有益效果:As mentioned above, the video stream generation/sharing method, system, terminal equipment and server cluster of the present invention have the following beneficial effects:

通过后台强大的视频处理能力,电视用户只需扫描二维码,本发明所述的视频流的生成/分享方法、系统、终端设备和服务器集群极大的降低了电视用户选取、生成、分享、传播短视频的门槛。通过本发明所述的视频流的生成/分享方法、系统、终端设备和服务器集群,使得提供方可极大的加快视频的覆盖范围和传播深度;发布者可将自己观看内容分享到社交平台,提高自己的关注度;观看者可及时有效的参与发布者真实分享内容,避免无谓的链接、软件推广,减少垃圾数据的接收。Through the powerful video processing capability of the background, TV users only need to scan the QR code, and the video stream generation/sharing method, system, terminal equipment and server cluster of the present invention greatly reduce the TV user's selection, generation, sharing, The threshold for disseminating short videos. Through the generation/sharing method, system, terminal equipment and server cluster of the video stream described in the present invention, the provider can greatly speed up the coverage and propagation depth of the video; the publisher can share the content he or she watches on the social platform, Improve their own attention; viewers can participate in real content sharing by publishers in a timely and effective manner, avoid unnecessary links, software promotion, and reduce the reception of junk data.

附图说明Description of drawings

图1显示为本发明的视频流的生成方法于一实施例中的流程示意图。FIG. 1 is a schematic flowchart of a method for generating a video stream in an embodiment of the present invention.

图2显示为本发明的基于视频流的生成方法的视频流的分享方法的应用实景示意图。FIG. 2 is a schematic diagram showing the application of the video stream sharing method based on the video stream generation method of the present invention.

图3显示为本发明的基于视频流的生成方法的视频流的分享方法于一实施例中的流程示意图。FIG. 3 is a schematic flowchart of a video stream sharing method based on the video stream generating method in an embodiment of the present invention.

图4显示为本发明的视频流的分享方法中S32的流程示意图。FIG. 4 is a schematic flowchart of S32 in the video stream sharing method of the present invention.

图5显示为本发明的视频流的分享方法中S33的流程示意图。FIG. 5 is a schematic flowchart of S33 in the video stream sharing method of the present invention.

图6显示为本发明的视频流的生成系统的原理结构示意图。FIG. 6 is a schematic diagram showing the principle structure of the video stream generation system of the present invention.

图7显示为本发明的终端设备的原理结构示意图。FIG. 7 is a schematic diagram showing the principle structure of the terminal device of the present invention.

图8显示为本发明的基于视频流的生成系统的视频流的分享系统的原理结构示意图。FIG. 8 is a schematic structural diagram of a video stream sharing system based on the video stream generation system of the present invention.

图9显示为本发明的通信网络于一实施例中的原理结构示意图。FIG. 9 is a schematic structural diagram of a communication network in an embodiment of the present invention.

元件标号说明Component designation description

1 通信网络1 Communication network

11 作为发布者的客户端11 Client as Publisher

12 作为分享者的客户端12 Client as sharer

13 服务器集群13 server cluster

131 数据分发服务器131 data distribution server

132 点播源服务器132 VOD source server

133 直播源服务器133 Live source server

2 视频流的生成系统2 Video stream generation system

21 二维码生成模块21 QR code generation module

22 封装模块22 packaged modules

3 终端设备3 terminal equipment

4 基于视频流的生成系统的4 The generation system based on video stream

视频流的分享系统 Video streaming sharing system

41 第一处理模块41 First processing module

42 第二处理模块42 Second processing module

43 第三处理模块43 The third processing module

8 通信网络8 Communication network

5 服务器集群5 server cluster

6 作为发布者的客户端6 Client as Publisher

7 作为分享者的客户端7 Client as sharer

51 数据分发服务器51 Data distribution server

52 点播源服务器52 VOD source server

53 播源服务器53 Broadcast source server

具体实施方式detailed description

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual implementation, and the component layout type may also be more complicated.

实施例一Embodiment one

本实施例提供一种视频流的生成方法,应用于包括视频流的源端和作为发布者的客户端的通信网络中;所述视频流的生成方法包括以下步骤:This embodiment provides a method for generating a video stream, which is applied to a communication network including a source end of the video stream and a client as a publisher; the method for generating the video stream includes the following steps:

生成一包括用于链接该视频流来源的网页链接地址的二维码;generating a QR code including a link address of a webpage used to link to the source of the video stream;

将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。The two-dimensional code is encapsulated in the video stream that needs to be transmitted to the client as the publisher, so that the client as the publisher can scan the encapsulated video stream after receiving the video stream. The two-dimensional code enables the client as the publisher to automatically link to the webpage to receive the video sharing request input by the user.

以下将结合图示对本实施例所提供的视频流的生成方法进行详细描述。本实施例所述的视频流的生成方法应用于包括视频流的源端、传输媒介和作为发布者的客户端的通信网络中。于本实施例中,所述视频流的源端为电视台、有线电视网络运营商、内容牌照方、或视频网站,即视频内容的制作方或视频内容的来源方。所述传输媒介包括有线电视、IPTV、互联网大事、卫星电视等等。所述作为发布者的客户端包括智能手机,平板电脑,触摸式平板电视等等终端设备。The method for generating a video stream provided by this embodiment will be described in detail below with reference to illustrations. The method for generating a video stream described in this embodiment is applied to a communication network including a video stream source, a transmission medium, and a client as a publisher. In this embodiment, the source of the video stream is a TV station, a cable TV network operator, a content licensee, or a video website, that is, a video content producer or a video content source. The transmission medium includes cable TV, IPTV, Internet events, satellite TV, and the like. The clients serving as publishers include terminal devices such as smart phones, tablet computers, and touch-screen flat-panel TVs.

请参阅图1,显示为视频流的生成方法于一实施例中的流程示意图。如图1所示,所述视频流的生成方法具体包括以下几个步骤:Please refer to FIG. 1 , which is a schematic flowchart of a method for generating a video stream in an embodiment. As shown in Figure 1, the method for generating the video stream specifically includes the following steps:

S1,所述视频流的源端生成一包括用于链接该视频流来源的网页链接地址(于本实施例中,所述网页链接地址为HTML5页面地址)的二维码。在本实施例中,所述二维码中还包括视频标识,和/或时间戳标识。S1. The source of the video stream generates a two-dimensional code including a webpage link address (in this embodiment, the webpage link address is an HTML5 page address) for linking to the source of the video stream. In this embodiment, the two-dimensional code further includes a video identifier and/or a time stamp identifier.

S2,所述视频流的源端将生成的二维码封装在需通过所述传播媒介传播至所述作为发布者的客户端的视频流中。在本实施例中,在所述作为发布者的客户端在接收到所述视频流后播放所述视频流时,屏幕上会显示该二维码,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。在所述客户端链接到该HTML5页面时,用户可根据自身分享需求在所述HTML5页面上输入用户的视频分享请求,例如,用户需分享视频流的标题、需分享视频流的描述内容(可设置为不超过200字)、和/或需分享视频流的时间长度(由用户自行设置)。S2. The source end of the video stream encapsulates the generated two-dimensional code in the video stream that needs to be transmitted to the client as the publisher through the media. In this embodiment, when the client as the publisher plays the video stream after receiving the video stream, the two-dimensional code will be displayed on the screen. By scanning the two-dimensional code encapsulated in the video stream, The code enables the client as the publisher to automatically link to the webpage, so as to receive the video sharing request input by the user. When the client is linked to the HTML5 page, the user can input the video sharing request of the user on the HTML5 page according to the user's own sharing requirements, for example, the title of the video stream to be shared by the user, the description content of the video stream to be shared (optional) Set to no more than 200 characters), and/or the length of time to share the video stream (set by the user).

本实施例还提供一种基于上述视频流的生成方法的视频流的分享方法。本实施例所述的视频流的分享方法应用于包括作为发布者的客户端、作为分享者的客户端和服务器集群的通信网络中,所述视频流的分享方法包括以下步骤:This embodiment also provides a method for sharing a video stream based on the above method for generating a video stream. The video stream sharing method described in this embodiment is applied to a communication network including a client as a publisher, a client as a sharer, and a server cluster, and the video stream sharing method includes the following steps:

接收作为发布者的客户端发送的视频分享请求;Receive the video sharing request sent by the client as the publisher;

根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;According to the video sharing request, search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream;

根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。According to the found video stream attribute file, the storage address of the latest video stream attribute file is forwarded, so that the client as the publisher shares the latest video stream attribute file to the mainstream social platform, In order to share the video stream with the client as the sharer.

以下将结合图示对本实施例所提供的视频流的分享方法进行详细描述。请参阅图2,显示为基于视频流的生成方法的视频流的分享方法的应用实景示意图。所述视频流的分享方法应用于如图2所示的包括作为发布者的客户端、作为分享者的客户端和服务器集群的通信网络1中。在本实施例中,所述作为发布者的客户端11和所述作为分享者的客户端12可以为智能手机,平板电脑,触摸式平板电视等等终端设备。于本实施例中,所述作为发布者的客户端11和所述作为分享者的客户端12采用智能手机。The video stream sharing method provided by this embodiment will be described in detail below with reference to illustrations. Please refer to FIG. 2 , which is a schematic diagram showing an application of a video stream sharing method based on a video stream generation method. The video stream sharing method is applied to a communication network 1 including a client as a publisher, a client as a sharer, and a server cluster as shown in FIG. 2 . In this embodiment, the client 11 serving as the publisher and the client 12 serving as the sharer may be terminal devices such as smart phones, tablet computers, and touch-screen flat-panel TVs. In this embodiment, the client 11 serving as the publisher and the client 12 serving as the sharer use smart phones.

所述服务器集群13于本实施例中包括:The server cluster 13 includes in this embodiment:

数据分发服务器131,例如,CDN服务器。CDN服务器能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上。其目的是使用户可就近取得所需内容,解决Internet网络拥挤的状况,提高用户访问网站的响应速度。The data distribution server 131 is, for example, a CDN server. The CDN server can redirect the user's request to the service node closest to the user based on comprehensive information such as network traffic, connection of each node, load status, distance to the user, and response time in real time. Its purpose is to enable users to obtain the required content nearby, solve the congestion situation of the Internet network, and improve the response speed of users' access to websites.

点播源服务器132,用户在客户端启动播放请求,这个请求通过网络发出,到达并由点播源服务器的网卡接收,传送给点播源服务器。经过请求验证后,点播源服务器把存储子系统中可访问的节目名准备好,使用户可以浏览到所喜爱的节目单。用户选择节目后,点播源服务器从存储子系统中取出节目内容,并传送到客户端播放。客户端可以在任何时间播放存在点播源服务器视频存储器中的任何多媒体资料。客户端在接收到一小部分数据时,便可以观看所选择的多媒体资料。On the on-demand source server 132, the user initiates a play request on the client side. This request is sent through the network, arrives and is received by the network card of the on-demand source server, and is sent to the on-demand source server. After the request is verified, the on-demand source server prepares the name of programs accessible in the storage subsystem, so that the user can browse to the list of favorite programs. After the user selects a program, the on-demand source server takes out the program content from the storage subsystem and transmits it to the client for playback. The client can play any multimedia material stored in the video memory of the on-demand source server at any time. When the client receives a small portion of data, it can watch the selected multimedia data.

直播源服务器133本质上是视音频i编码设备。主要为视频直播、流媒体服务、IPTV、交互式电视、移动电视、商务电视、远程教学、B2B商务通信、视频至台式机桌面的传输、VOD系统、远程监控、资料保存等应用需求而设计的媒流体设备。直播服务器支持RTMP(推流或拉流)、UDP、Http-ts协议流的输入,在分发输出时,系统会根据访问终端平台的不同,实时转换为相应的协议流输出,以支持不同终端平台的播放。The live source server 133 is essentially a video and audio encoding device. It is mainly designed for application requirements such as live video broadcast, streaming media service, IPTV, interactive TV, mobile TV, business TV, distance learning, B2B business communication, video to desktop transmission, VOD system, remote monitoring, data storage, etc. Media fluid equipment. The live server supports the input of RTMP (push or pull), UDP, and Http-ts protocol streams. When distributing output, the system will convert the corresponding protocol stream output in real time according to the different access terminal platforms to support different terminal platforms. play.

请参阅图3,显示为基于视频流的生成方法的视频流的分享方法于一实施例中的流程示意图。如图3所示,所述视频流的分享方法具体包括以下几个步骤:Please refer to FIG. 3 , which is a schematic flowchart of a video stream sharing method based on the video stream generating method in an embodiment. As shown in Figure 3, the method for sharing the video stream specifically includes the following steps:

S31,通过所述CDN服务器接收作为发布者的客户端发送的视频分享请求。S31. Receive, through the CDN server, a video sharing request sent by a client serving as a publisher.

S32,根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件。所述视频流属性文件包括用于记录组成所述视频流的视频数据片段的源地址的索引文件,和由若干视频数据片段组成的视频流传输媒体文件。于本实施例中,用于记录组成所述视频流的视频数据片段的源地址的索引文件为M3U8索引文件。所述视频流传输媒体文件为由若干视频数据片段组成的TS媒体文件。所有视频数据片段的网络地址组成一个M3U8索引列表。请参阅图4,显示为S32的流程示意图。如图4所示,S32具体包括以下几个步骤:S32. According to the video sharing request, search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream. The video stream attribute file includes an index file for recording source addresses of video data segments that make up the video stream, and a video stream transmission media file composed of several video data segments. In this embodiment, the index file used to record the source addresses of the video data segments forming the video stream is an M3U8 index file. The video streaming media file is a TS media file composed of several video data segments. The network addresses of all video data segments form an M3U8 index list. Please refer to FIG. 4, which is a schematic flow diagram of S32. As shown in Figure 4, S32 specifically includes the following steps:

S321,所述直播源服务器接收所述数据分发服务器分发的视频分享请求,并将该视频分享请求发送至所述点播源服务器;S321. The live broadcast source server receives the video sharing request distributed by the data distribution server, and sends the video sharing request to the on-demand source server;

S322,所述点播源服务器在接收到该视频分享请求后,反馈一请求确认信息至所述直播源服务器。在本实施例中,所述请求确认信息为一代码200的数据信息。S322. After receiving the video sharing request, the on-demand source server feeds back request confirmation information to the live broadcast source server. In this embodiment, the request confirmation information is data information of a code 200 .

S323,待所述直播源服务器知悉已收到该视频分享请求后,即待所述直播源服务器接收到代码200的数据信息后,所述点播源服务器从所述直播源服务器下载所述索引文件(M3U8索引文件)和视频流传输媒体文件(TS媒体文件)。S323, after the live broadcast source server knows that the video sharing request has been received, that is, after the live broadcast source server receives the data information of code 200, the on-demand source server downloads the index file from the live broadcast source server (M3U8 index file) and video streaming media file (TS media file).

S33,根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。在本实施例中,所述当前最新的视频流属性文件的存储地址包括当前最新的索引文件的存储地址和当前需播放视频的封面地址。S33. According to the searched video stream attribute file, forward the storage address of the latest video stream attribute file, so that the client serving as the publisher shares the latest video stream attribute file to mainstream social media platform, so that the client as the sharer shares the video stream. In this embodiment, the storage address of the latest video stream attribute file includes the storage address of the latest index file and the cover address of the video currently to be played.

请参阅图5,显示为S33的流程示意图。如图5所示,S33具体包括以下几个步骤:Please refer to FIG. 5 , which is a schematic flow chart of S33 . As shown in Figure 5, S33 specifically includes the following steps:

S331,在所述直播源服务器知悉所述点播源服务器已收到该视频分享请求时,所述直播源服务器将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址发送至所述CDN服务器。S331. When the live broadcast source server knows that the video-on-demand source server has received the video sharing request, the live broadcast source server sends the storage address of the latest index file and the cover address of the video currently to be played to the The above CDN server.

S332,所述CDN服务器将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址转发至作为发布者的客户端。S332. The CDN server forwards the storage address of the latest index file and the cover address of the video currently to be played to the client as the publisher.

S333,所述作为发布者的客户端将当前最新的索引文件的存储地址和当前需播放视频的封面地址分享到其的主流社交平台,例如,微信好友,微信朋友圈,QQ空间,微博等。S333, the client as the publisher shares the storage address of the latest index file and the cover address of the video currently to be played to its mainstream social platforms, such as WeChat friends, WeChat circle of friends, Qzone, Weibo, etc. .

S335,作为分享者的客户端在分享作为发布者的客户端发布的当前最新的索引文件的存储地址和当前需播放视频的封面地址,根据接收到的当前最新的索引文件的存储地址和当前需播放视频的封面地址,访问所述点播源服务器,并判断所述点播源服务器已下载的所述索引文件和视频流传输媒体文件中是否存在所述作为分享者的客户端需分享的视频流所对应的索引文件和视频流传输媒体文件,若是,则执行S335,直接从所述点播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件;若否,则执行S336,从所述直播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件。S335, the client serving as the sharer is sharing the storage address of the latest index file and the cover address of the video currently to be played by the client serving as the publisher, according to the received storage address of the latest index file and the current demand Play the cover address of the video, access the on-demand source server, and judge whether there is the video stream that needs to be shared by the client as the sharer in the index file and the video streaming media file downloaded by the on-demand source server Corresponding index file and video stream transmission media file, if so, then execute S335, directly extract the index file and video stream transmission media file corresponding to this video stream from the on-demand source server; If not, then execute S336, from all The index file and the video streaming media file corresponding to the video stream are extracted from the live broadcast source server.

通过后台强大的视频处理能力,电视用户只需扫描二维码,本实施例所述的视频流的生成方法和基于视频流的生成方法的视频流的分享方法极大的降低了电视用户选取、生成、分享、传播短视频的门槛。通过本实施例所述的视频流的生成方法和基于视频流的生成方法的视频流的分享方法,提供方可极大的加快视频的覆盖范围和传播深度;发布者可将自己观看内容分享到社交平台,提高自己的关注度;观看者可及时有效的参与发布者真实分享内容,避免无谓的链接、软件推广,减少垃圾数据的接收。Through the powerful video processing capability of the background, TV users only need to scan the QR code. The video stream generation method described in this embodiment and the video stream sharing method based on the video stream generation method greatly reduce the TV user's selection, The threshold for generating, sharing and disseminating short videos. Through the video stream generation method described in this embodiment and the video stream sharing method based on the video stream generation method, the provider can greatly speed up the coverage and propagation depth of the video; the publisher can share the content he/she watches to the Social platform to increase their attention; viewers can participate in real content sharing by publishers in a timely and effective manner, avoid unnecessary links and software promotion, and reduce the reception of spam data.

实施例二Embodiment two

本实施例提供一种视频流的生成系统2,应用于包括视频流的源端和作为发布者的客户端的通信网络中。请参阅图6,显示为视频流的生成系统的原理结构示意图。如图6所示,所述视频流的生成系统2包括二维码生成模块21和封装模块22。This embodiment provides a video stream generation system 2, which is applied to a communication network including a video stream source and a client as a publisher. Please refer to FIG. 6 , which is a schematic structural diagram of a system for generating video streams. As shown in FIG. 6 , the video stream generation system 2 includes a two-dimensional code generation module 21 and an encapsulation module 22 .

所述二维码生成模块21用于生成一包括用于链接该视频流来源的网页链接地址的二维码。The two-dimensional code generating module 21 is used to generate a two-dimensional code including a link address of a webpage used to link the source of the video stream.

与所述二维码生成模块21连接的封装模块22用于将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。The packaging module 22 connected with the two-dimensional code generation module 21 is used to encapsulate the two-dimensional code in the video stream that needs to be propagated to the client as the publisher, so that the client as the publisher receives After receiving the video stream, by scanning the two-dimensional code encapsulated in the video stream, the client as the publisher is automatically linked to the web page to receive the video sharing request input by the user.

本实施例还提供一种终端设备3,请参阅图7,显示为终端设备的原理结构示意图。如图7所示,所述终端设备3包括上述视频流的生成系统2。This embodiment also provides a terminal device 3 , please refer to FIG. 7 , which is a schematic diagram showing a principle structure of the terminal device. As shown in FIG. 7 , the terminal device 3 includes the above video stream generation system 2 .

实施例三Embodiment three

本实施例提供一种基于实施例二所述的视频流的生成系统的视频流的分享系统4,请参阅图8,显示为基于视频流的生成系统的视频流的分享系统的原理结构示意图。如图8所示,所述基于视频流的生成系统的视频流的分享系统4包括第一处理模块41、第二处理模块42、及第三处理模块43。This embodiment provides a video stream sharing system 4 based on the video stream generating system described in Embodiment 2. Please refer to FIG. 8 , which is a schematic structural diagram of a video stream sharing system based on the video stream generating system. As shown in FIG. 8 , the video stream sharing system 4 based on the video stream generation system includes a first processing module 41 , a second processing module 42 , and a third processing module 43 .

所述第一处理模块41用于接收作为发布者的客户端发送的视频分享请求;The first processing module 41 is configured to receive a video sharing request sent by a client as a publisher;

与所述第一处理模块41连接的第二处理模块42用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件。The second processing module 42 connected to the first processing module 41 is configured to search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream according to the video sharing request.

与所述第一处理模块41和第二处理模块42连接的第三处理模块43用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。The third processing module 43 connected with the first processing module 41 and the second processing module 42 is used to forward the storage address of the latest video stream attribute file according to the found video stream attribute file, so that all The client as the publisher shares the latest video stream attribute file to the mainstream social platform, so that the client as the sharer can share the video stream.

本实施例还提供一种通信网络8,请参阅图9,显示为通信网络于一实施例中的原理结构示意图。如图9所示,所述通信网络5包括与作为发布者的客户端6和作为分享者的客户端7的通信连接的服务器集群5,所述服务器集群5包括:数据分发服务器51、点播源服务器52、直播源服务器53。This embodiment also provides a communication network 8 , please refer to FIG. 9 , which is a schematic structural diagram of the communication network in an embodiment. As shown in Figure 9, described communication network 5 comprises the server cluster 5 that is connected with the client 6 as publisher and the client 7 as sharer, and described server cluster 5 comprises: data distribution server 51, broadcasting source Server 52, live source server 53.

数据分发服务器51用于接收作为发布者的客户端发送的视频分享请求。The data distribution server 51 is configured to receive a video sharing request sent by a client serving as a publisher.

与数据分发服务器51连接的点播源服务器52用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件。The on-demand source server 52 connected to the data distribution server 51 is used to search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream according to the video sharing request.

和/或与所述数据分发服务器51和点播源服务器52连接的直播源服务器53用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。And/or the live source server 53 connected with the data distribution server 51 and the on-demand source server 52 is used to forward the storage address of the latest video stream attribute file according to the video stream attribute file found, so that all The client as the publisher shares the latest video stream attribute file to the mainstream social platform, so that the client as the sharer can share the video stream.

于本实施例中,用于记录组成所述视频流的视频数据片段的源地址的索引文件为M3U8索引文件。所述视频流传输媒体文件为由若干视频数据片段组成的TS媒体文件。所有视频数据片段的网络地址组成一个M3U8索引列表。在本实施例中,所述当前最新的视频流属性文件的存储地址包括当前最新的索引文件的存储地址和当前需播放视频的封面地址。本实施例所述的服务器集群5应用于包括与作为发布者的客户端6和作为分享者的客户端7的通信连接的通信网络中的具体工作过程如下:In this embodiment, the index file used to record the source addresses of the video data segments forming the video stream is an M3U8 index file. The video streaming media file is a TS media file composed of several video data segments. The network addresses of all video data segments form an M3U8 index list. In this embodiment, the storage address of the latest video stream attribute file includes the storage address of the latest index file and the cover address of the video currently to be played. The specific working process of the application of the server cluster 5 described in this embodiment in the communication network including the communication connection with the client 6 as the publisher and the client 7 as the sharer is as follows:

所述直播源服务器53接收所述数据分发服务器接收的视频分享请求,并将该视频分享请求发送至所述点播源服务器52;The live source server 53 receives the video sharing request received by the data distribution server, and sends the video sharing request to the on-demand source server 52;

所述点播源服务器52在接收到该视频分享请求后,反馈一请求确认信息至所述直播源服务器。在本实施例中,所述请求确认信息为一代码200的数据信息。After receiving the video sharing request, the on-demand source server 52 feeds back a request confirmation message to the live broadcast source server. In this embodiment, the request confirmation information is data information of a code 200 .

待所述直播源服务器53知悉已收到该视频分享请求后,即待所述直播源服务器接收到代码200的数据信息后,所述点播源服务器从所述直播源服务器下载所述索引文件(M3U8索引文件)和视频流传输媒体文件(TS媒体文件)。After the live broadcast source server 53 knows that the video sharing request has been received, that is, after the live broadcast source server receives the data information of the code 200, the on-demand source server downloads the index file from the live broadcast source server ( M3U8 index file) and video streaming media file (TS media file).

在所述直播源服务器53知悉所述点播源服务器已收到该视频分享请求时,所述直播源服务器53将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址发送至所述CDN服务器。When the live broadcast source server 53 knew that the video-on-demand source server had received the video sharing request, the live broadcast source server 53 sent the storage address of the current latest index file and the cover address of the current video to be played to the said live broadcast source server 53. The above CDN server.

所述CDN服务器51将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址转发至作为发布者的客户端6。The CDN server 51 forwards the storage address of the latest index file and the cover address of the video currently to be played to the client 6 as the publisher.

所述作为发布者的客户端6将当前最新的索引文件的存储地址和当前需播放视频的封面地址分享到其的主流社交平台,例如,微信好友,微信朋友圈,QQ空间,微博等。The client 6 as the publisher shares the storage address of the latest index file and the cover address of the video currently to be played to its mainstream social platforms, such as WeChat friends, WeChat circle of friends, Qzone, Weibo, etc.

作为分享者的客户端7在分享作为发布者的客户端发布的当前最新的索引文件的存储地址和当前需播放视频的封面地址,根据接收到的当前最新的索引文件的存储地址和当前需播放视频的封面地址,访问所述点播源服务器52,并判断所述点播源服务器52已下载的所述索引文件和视频流传输媒体文件中是否存在所述作为分享者的客户端需分享的视频流所对应的索引文件和视频流传输媒体文件,若是,则直接从所述点播源服务器52中提取与该视频流对应的索引文件和视频流传输媒体文件;若否,则从所述直播源服务器53中提取与该视频流对应的索引文件和视频流传输媒体文件。The client 7 as the sharer is sharing the storage address of the latest index file issued by the client as the publisher and the cover address of the video to be played currently, according to the storage address of the latest index file received and the current video to be played. The cover address of the video, access the on-demand source server 52, and judge whether there is the video stream that the client as the sharer needs to share in the index file and the video streaming media file that the on-demand source server 52 has downloaded Corresponding index file and video stream transmission media file, if so, then directly extract the index file and video stream transmission media file corresponding to this video stream from described on-demand source server 52; If not, then from described live broadcast source server In step 53, the index file and the video streaming media file corresponding to the video stream are extracted.

综上所述,通过后台强大的视频处理能力,电视用户只需扫描二维码,本发明所述的视频流的生成/分享方法、系统、终端设备和服务器集群极大的降低了电视用户选取、生成、分享、传播短视频的门槛。通过本发明所述的视频流的生成/分享方法、系统、终端设备和服务器集群,使得提供方可极大的加快视频的覆盖范围和传播深度;发布者可将自己观看内容分享到社交平台,提高自己的关注度;观看者可及时有效的参与发布者真实分享内容,避免无谓的链接、软件推广,减少垃圾数据的接收。所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, through the powerful video processing capabilities of the background, TV users only need to scan the QR code, and the video stream generation/sharing method, system, terminal equipment, and server cluster of the present invention greatly reduce the number of options for TV users to choose. , Generate, share, and disseminate short video thresholds. Through the video stream generation/sharing method, system, terminal equipment and server cluster of the present invention, the provider can greatly speed up the coverage and propagation depth of the video; the publisher can share the content he/she watches on the social platform, Improve their own attention; viewers can participate in real content sharing by publishers in a timely and effective manner, avoid unnecessary links, software promotion, and reduce the reception of junk data. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial application value.

上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。The above-mentioned embodiments only illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical ideas disclosed in the present invention shall still be covered by the claims of the present invention.

Claims (11)

1.一种视频流的生成方法,其特征在于,应用于包括视频流的源端和作为发布者的客户端的通信网络中;所述视频流的生成方法包括以下步骤:1. a generation method of video stream, it is characterized in that, be applied in the communication network that comprises the source end of video stream and the client as issuer; The generation method of described video stream comprises the following steps: 生成一包括用于链接该视频流来源的网页链接地址的二维码;generating a QR code including a link address of a webpage used to link to the source of the video stream; 将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。The two-dimensional code is encapsulated in the video stream that needs to be transmitted to the client as the publisher, so that the client as the publisher can scan the encapsulated video stream after receiving the video stream. The two-dimensional code enables the client as the publisher to automatically link to the webpage to receive the video sharing request input by the user. 2.根据权利要求1所述的视频流的视频流的生成方法,其特征在于:所述用户输入的视频分享请求包括用户需分享视频流的标题、需分享视频流的描述内容、和/或需分享视频流的时间长度。2. The method for generating a video stream of a video stream according to claim 1, wherein the video sharing request input by the user includes the title of the video stream to be shared by the user, the description content of the video stream to be shared, and/or The length of time to share the video stream. 3.一种基于权1所述的视频流的生成方法的视频流分享方法,其特征在于,应用于包括作为发布者的客户端、作为分享者的客户端和服务器集群的通信网络中,所述视频流的分享方法包括以下步骤:3. A video stream sharing method based on the video stream generation method described in right 1, characterized in that, it is applied to a communication network including a client as a publisher, a client as a sharer, and a server cluster. The sharing method of the video stream includes the following steps: 接收作为发布者的客户端发送的视频分享请求;Receive the video sharing request sent by the client as the publisher; 根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;According to the video sharing request, search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream; 根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。According to the found video stream attribute file, the storage address of the latest video stream attribute file is forwarded, so that the client as the publisher shares the latest video stream attribute file to the mainstream social platform, In order to share the video stream with the client as the sharer. 4.根据权利要求3所述的视频流的生成方法的视频流的分享方法,其特征在于:所述视频流属性文件包括用于记录组成所述视频流的视频数据片段的源地址的索引文件,和由若干视频数据片段组成的视频流传输媒体文件;所述服务器集群包括数据分发服务器、直播源服务器、及点播源服务器;4. The video stream sharing method of the video stream generation method according to claim 3, characterized in that: the video stream attribute file includes an index file for recording the source addresses of the video data segments forming the video stream , and a video streaming media file composed of several video data segments; the server cluster includes a data distribution server, a live source server, and an on-demand source server; 所述查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件的步骤包括:The step of searching for a video stream attribute file corresponding to the video stream and representing the attribute of the video stream includes: 所述直播源服务器接收所述数据分发服务器接收的视频分享请求,并将该视频分享请求发送至所述点播源服务器,所述点播源服务器在接收到该视频分享请求后,反馈一请求确认信息至所述直播源服务器,使所述直播源服务器知悉已收到该视频分享请求,并从所述直播源服务器下载所述索引文件和视频流传输媒体文件。The live broadcast source server receives the video sharing request received by the data distribution server, and sends the video sharing request to the on-demand source server, and the on-demand source server feeds back a request confirmation message after receiving the video sharing request To the live source server, let the live source server know that the video sharing request has been received, and download the index file and video streaming media file from the live source server. 5.根据权利要求3所述的视频流的生成方法的视频流的分享方法,其特征在于:所述当前最新的视频流属性文件的存储地址包括当前最新的索引文件的存储地址和当前需播放视频的封面地址。5. The video stream sharing method of the video stream generation method according to claim 3, wherein: the storage address of the current latest video stream attribute file includes the storage address of the current latest index file and the currently required playback address. The cover address of the video. 6.根据权利要求5所述的视频流的生成方法的视频流的分享方法,其特征在于:在所述直播源服务器知悉所述点播源服务器已收到该视频分享请求时,将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址发送至所述数据分发服务器,所述数据分发服务器将所述当前最新的索引文件的存储地址和当前需播放视频的封面地址转发至作为发布者的客户端。6. The video stream sharing method of the video stream generating method according to claim 5, characterized in that: when the live broadcast source server knows that the on-demand source server has received the video sharing request, the current The storage address of the latest index file and the cover address of the video to be played currently are sent to the data distribution server, and the data distribution server forwards the storage address of the latest index file and the cover address of the video to be played currently to the server as Publisher's client. 7.根据权利要求4所述的视频流的生成方法的视频流的分享方法,其特征在于:所述视频流分享方法还包括:7. The video stream sharing method of the video stream generation method according to claim 4, characterized in that: the video stream sharing method further comprises: 若作为分享者的客户端在分享所述视频流时,根据接收到的当前最新的索引文件的存储地址和当前需播放视频的封面地址,访问所述点播源服务器,并判断所述点播源服务器已下载的所述索引文件和视频流传输媒体文件中是否存在所述作为分享者的客户端需分享的视频流所对应的索引文件和视频流传输媒体文件,若是,则直接从所述点播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件;若否,则从所述直播源服务器中提取与该视频流对应的索引文件和视频流传输媒体文件。If the client as the sharer shares the video stream, access the on-demand source server according to the storage address of the latest received index file and the cover address of the video to be played at present, and judge the on-demand source server In the downloaded index file and video streaming media file, whether there is an index file and a video streaming media file corresponding to the video stream that the client as the sharer needs to share, if so, then directly from the on-demand source Extract the index file and video streaming media file corresponding to the video stream from the server; if not, extract the index file and video streaming media file corresponding to the video stream from the live source server. 8.一种视频流的生成系统,其特征在于,应用于包括视频流的源端和作为发布者的客户端的通信网络中;所述视频流的生成系统包括:8. A generation system of a video stream, characterized in that it is applied to a communication network comprising a source end of a video stream and a client as a publisher; the generation system of the video stream comprises: 二维码生成模块,用于生成一包括用于链接该视频流来源的网页链接地址的二维码;A two-dimensional code generating module, configured to generate a two-dimensional code that includes a web page link address for linking the source of the video stream; 封装模块,用于将该二维码封装在需传播至所述作为发布者的客户端的视频流中,以使所述作为发布者的客户端在接收到所述视频流后,通过扫描该视频流中所封装的二维码使所述作为发布者的客户端自动链接该网页,以接收用户输入的视频分享请求。An encapsulation module, configured to encapsulate the two-dimensional code in the video stream that needs to be propagated to the client as the publisher, so that the client as the publisher can scan the video stream after receiving the video stream The two-dimensional code encapsulated in the stream enables the client as the publisher to automatically link to the webpage to receive the video sharing request input by the user. 9.一种终端设备,其特征在于,包括如权利要求8中所述的视频流的生成系统。9. A terminal device, characterized by comprising the system for generating video streams as claimed in claim 8. 10.一种基于权8所述的视频流的生成系统的视频流的分享系统,其特征在于,应用于包括作为发布者的客户端、作为分享者的客户端和服务器端的通信网络中,所述视频流的分享系统包括:10. A video stream sharing system based on the video stream generating system described in claim 8, characterized in that it is applied to a communication network including a client as a publisher, a client as a sharer, and a server. The sharing system of the above video stream includes: 第一处理模块,用于接收作为发布者的客户端发送的视频分享请求;A first processing module, configured to receive a video sharing request sent by a client serving as a publisher; 第二处理模块,用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;The second processing module is configured to search for a video stream attribute file corresponding to the video stream and indicating the attribute of the video stream according to the video sharing request; 第三处理模块,用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。The third processing module is configured to forward the storage address of the latest video stream attribute file according to the searched video stream attribute file, so that the client serving as the publisher forwards the current latest video stream attribute The file is shared to a mainstream social platform, so that the client as the sharer can share the video stream. 11.一种通信网络,其特征在于,包括与作为发布者的客户端和作为分享者的客户端通信连接服务器集群,所述服务器集群包括:11. A communication network, characterized in that it includes a server cluster connected to a client as a publisher and a client as a sharer, and the server cluster includes: 数据分发服务器,用于接收作为发布者的客户端发送的视频分享请求;The data distribution server is used to receive the video sharing request sent by the client as the publisher; 点播源服务器,用于根据所述视频分享请求,查找用于与所述视频流对应,并表示该视频流属性的视频流属性文件;和/或The on-demand source server is used to search for a video stream attribute file corresponding to the video stream and indicating the video stream attribute according to the video sharing request; and/or 直播源服务器,用于根据查找到的视频流属性文件,将当前最新的所述视频流属性文件的存储地址转发,以使所述作为发布者的客户端将当前最新的所述视频流属性文件分享到主流社交平台,以便作为分享者的客户端分享所述视频流。The live broadcast source server is configured to forward the storage address of the latest video stream attribute file according to the found video stream attribute file, so that the client serving as the publisher forwards the current latest video stream attribute file Share to mainstream social platforms, so that the client as the sharer can share the video stream.
CN201611196475.8A 2016-12-22 2016-12-22 Video stream generation/sharing method, system, terminal device and server cluster Expired - Fee Related CN106817587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611196475.8A CN106817587B (en) 2016-12-22 2016-12-22 Video stream generation/sharing method, system, terminal device and server cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611196475.8A CN106817587B (en) 2016-12-22 2016-12-22 Video stream generation/sharing method, system, terminal device and server cluster

Publications (2)

Publication Number Publication Date
CN106817587A true CN106817587A (en) 2017-06-09
CN106817587B CN106817587B (en) 2020-12-08

Family

ID=59109429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611196475.8A Expired - Fee Related CN106817587B (en) 2016-12-22 2016-12-22 Video stream generation/sharing method, system, terminal device and server cluster

Country Status (1)

Country Link
CN (1) CN106817587B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509093A (en) * 2017-09-08 2017-12-22 北京未来媒体科技股份有限公司 Video resource processing method, the method and device across the synchronous broadcasting video resource of screen
CN108377429A (en) * 2018-04-24 2018-08-07 中国广播电视网络有限公司 A kind of demolition of video flowing and take out frame method
CN108737849A (en) * 2018-05-02 2018-11-02 王林 Video deployment method, device and terminal device and server
CN108900880A (en) * 2018-07-25 2018-11-27 亦非云互联网技术(上海)有限公司 Big smaller screen interactive approach and system
CN111131844A (en) * 2019-12-02 2020-05-08 钛马信息网络技术有限公司 Resource sharing method and system for automobile data recorder
CN111682951A (en) * 2020-04-17 2020-09-18 深圳传音控股股份有限公司 Cluster active session sharing apparatus, method and computer readable storage medium
CN113038161A (en) * 2021-03-24 2021-06-25 李辉 Video display method and system based on two-dimensional code

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902761A (en) * 2012-09-25 2013-01-30 腾讯科技(深圳)有限公司 Cross-terminal cloud browse method and system
CN103501463A (en) * 2013-10-25 2014-01-08 乐视网信息技术(北京)股份有限公司 Data acquisition method and electronic equipment
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio and visual fragments in terminal
CN104703041A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video sharing method and device
CN104703039A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video information acquiring method and device
CN105282480A (en) * 2014-06-30 2016-01-27 三亚中兴软件有限责任公司 File sharing method and device in video conference
CN105721462A (en) * 2016-02-01 2016-06-29 百度在线网络技术(北京)有限公司 Information pushing method and device
CN105872858A (en) * 2016-04-27 2016-08-17 亦非云互联网技术(上海)有限公司 Video sharing method and system, video processing system and client side

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902761A (en) * 2012-09-25 2013-01-30 腾讯科技(深圳)有限公司 Cross-terminal cloud browse method and system
CN103501463A (en) * 2013-10-25 2014-01-08 乐视网信息技术(北京)股份有限公司 Data acquisition method and electronic equipment
CN103647991A (en) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for sharing video in intelligent television
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio and visual fragments in terminal
CN105282480A (en) * 2014-06-30 2016-01-27 三亚中兴软件有限责任公司 File sharing method and device in video conference
CN104703041A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video sharing method and device
CN104703039A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video information acquiring method and device
CN105721462A (en) * 2016-02-01 2016-06-29 百度在线网络技术(北京)有限公司 Information pushing method and device
CN105872858A (en) * 2016-04-27 2016-08-17 亦非云互联网技术(上海)有限公司 Video sharing method and system, video processing system and client side

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509093A (en) * 2017-09-08 2017-12-22 北京未来媒体科技股份有限公司 Video resource processing method, the method and device across the synchronous broadcasting video resource of screen
CN108377429A (en) * 2018-04-24 2018-08-07 中国广播电视网络有限公司 A kind of demolition of video flowing and take out frame method
CN108737849A (en) * 2018-05-02 2018-11-02 王林 Video deployment method, device and terminal device and server
CN108900880A (en) * 2018-07-25 2018-11-27 亦非云互联网技术(上海)有限公司 Big smaller screen interactive approach and system
CN108900880B (en) * 2018-07-25 2020-12-08 亦非云互联网技术(上海)有限公司 Large and small screen interaction method and system
CN111131844A (en) * 2019-12-02 2020-05-08 钛马信息网络技术有限公司 Resource sharing method and system for automobile data recorder
CN111682951A (en) * 2020-04-17 2020-09-18 深圳传音控股股份有限公司 Cluster active session sharing apparatus, method and computer readable storage medium
CN113038161A (en) * 2021-03-24 2021-06-25 李辉 Video display method and system based on two-dimensional code

Also Published As

Publication number Publication date
CN106817587B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN106817587B (en) Video stream generation/sharing method, system, terminal device and server cluster
US11539989B2 (en) Media content redirection
US12132943B2 (en) Enhanced service compatibility with clients
US10932014B2 (en) Systems and methods for inserting breakpoints and reference links into a media file
CN103096182A (en) Network television program information sharing method and system
US20140215508A1 (en) Distributing Graphic Content Over a Public Network for Inclusion in a Linear Television Broadcast
KR20120048522A (en) Method and apparatus for providing converged social broadcasting service
CN113099258A (en) Cloud director system, live broadcast processing method and device, and computer readable storage medium
CN103747285A (en) Program playing method, server side and client
CN105706453A (en) Transmission device, transmission method, reception device, and reception method
EP3048796A1 (en) Information system, information delivery method and iptv system based on multi-screen interaction
CN101645786A (en) Method for issuing blog content and business processing device thereof
US8392452B2 (en) Method and apparatus for callback supplementation of media program metadata
CN101646160A (en) Method for browsing blog content and business processing device thereof
CN105095216A (en) Data assembling method and device and resource communication system
CN102655605A (en) Media scheduling and broadcasting device, system and channel automatic scheduling method
JP6597604B2 (en) Reception device, transmission device, data communication method, and data processing method
TWI482496B (en) Apparatus, system for scheduling and broadcasting media, automatic channel scheduling method and recording medium
CN101646012B (en) Blog business processing system
JP2010026974A (en) Preview system by real time streaming for website and operation method thereof
González Peinado et al. Video-on-demand platform using dynamic adaptive streaming over http (dash)–merakiplay
CN106331734A (en) Method and system for implementing WeChat-based video on demand service
CN104079959A (en) Program picture publishing method and program picture publishing system
JP2011259179A (en) Content providing system
Yang et al. An implementation of designing media streaming system for live broadcast

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201208

CF01 Termination of patent right due to non-payment of annual fee