CN102883216B - A kind of net cast method and apparatus - Google Patents

A kind of net cast method and apparatus Download PDF

Info

Publication number
CN102883216B
CN102883216B CN201110197515.1A CN201110197515A CN102883216B CN 102883216 B CN102883216 B CN 102883216B CN 201110197515 A CN201110197515 A CN 201110197515A CN 102883216 B CN102883216 B CN 102883216B
Authority
CN
China
Prior art keywords
video
file
mobile terminal
net cast
live
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 - Fee Related
Application number
CN201110197515.1A
Other languages
Chinese (zh)
Other versions
CN102883216A (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.)
Shanghai Synacast Media Technology Co Ltd
Original Assignee
Shanghai Synacast Media Technology 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 Shanghai Synacast Media Technology Co Ltd filed Critical Shanghai Synacast Media Technology Co Ltd
Priority to CN201110197515.1A priority Critical patent/CN102883216B/en
Publication of CN102883216A publication Critical patent/CN102883216A/en
Application granted granted Critical
Publication of CN102883216B publication Critical patent/CN102883216B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

It is an object of the invention to provide a kind of net cast method and apparatus.Wherein, net cast service equipment obtains the initial video file corresponding to current programme televised live;Obtain the net cast request that user sends via mobile terminal;Asked according to the net cast, obtain the initial video file corresponding with net cast request;According to the video association attributes of the mobile terminal, the initial video file is accordingly changed, to obtain the target video file corresponding with the video association attributes;The target video file is provided to the mobile terminal.The video association attributeses such as the speed of media file format, corresponding screen resolution or access network that the present invention is supported according to the mobile terminal for sending net cast request, initial video file is accordingly changed, so that the mobile terminal of user finally obtains the target video file being consistent with its video association attributes, so as to ensure that user obtains more preferable net cast experience.

Description

A kind of net cast method and apparatus
Technical field
The present invention relates to Web Video Service technical field, more particularly to a kind of technology of net cast.
Background technology
Existing BroadVision WEBTV, it is main to consider that user passes through the stronger video of the disposal abilities such as personal computer Playback equipment watches network direct broadcasting program, without in view of the video using users such as the mobile terminals such as mobile phone, tablet personal computer Live demand.
For example, due to the difference of access network, especially, mobile terminal switches in moving process between heterogeneous networks, So that its access bandwidth and network congestion situation may all have larger difference, the video file that corresponding mobile terminal is supported Code check would also vary from.Also, because the hardware configuration of personal computer is higher, various video player can be installed, from And media file format is supported, and and for mobile terminal, because its disposal ability is weaker, every kind of brand, model Mobile terminal can only support specific media file format, and the media file format that such as iphone, ipad are supported includes mp4, mov Deng supporting the media file formats such as mp4,3gp, avi htc mobile phone more.Further, since the screen resolution of mobile terminal is also big Differ, if the mobile terminal for not being directed to different resolution provides the video file adaptable with it, then its video playback Effect can also have a greatly reduced quality, or even can not play.
Therefore, a kind of net cast technology suitable for mobile terminal how is provided so that user sees via mobile terminal When seeing network direct broadcasting program, preferable video display effect and user experience are resulted in, is badly in need of what is solved as current One of problem.
The content of the invention
It is an object of the invention to provide a kind of net cast method and apparatus.
According to an aspect of the invention, there is provided a kind of net cast method realized in direct broadcast service equipment end, its In, this method comprises the following steps:
Initial video file corresponding to the current programme televised live of-acquisition;
Wherein, this method also includes:
A obtains the net cast request that user sends via mobile terminal;
B is asked according to the net cast, obtains the initial video file corresponding with net cast request;
C is accordingly changed according to the video association attributes of the mobile terminal to the initial video file, to obtain The target video file corresponding with the video association attributes;
D provides the target video file to the mobile terminal.
According to another aspect of the present invention, a kind of net cast method realized at video source device end is additionally provided, Wherein, this method comprises the following steps:
A obtains the program source information of current programme televised live;
B, according to predetermined file attribute, generates the initial video text of the programme televised live according to the program source information Part;
C provides the initial video file to net cast service equipment.
According to an aspect of the invention, there is provided a kind of net cast service equipment, wherein, the equipment includes:
Initial video acquisition device, the initial video file for obtaining corresponding to current programme televised live;
Wherein, the equipment also includes:
Live acquisition request device, is asked for obtaining the net cast that user sends via mobile terminal;
Live request responding device, for being asked according to the net cast, obtains relative with net cast request The initial video file answered;
Initial video conversion equipment, for the video association attributes according to the mobile terminal, to initial video text Part is accordingly changed, to obtain the target video file corresponding with the video association attributes;
Target video provides device, for the target video file to be provided to the mobile terminal.
According to another aspect of the present invention, a kind of video source device for aiding in realizing net cast is additionally provided, wherein, The equipment includes:
Program source acquisition device, the program source information of current programme televised live for obtaining;
Original document generating means, for according to the program source information, according to predetermined file attribute, are generated described straight Broadcast the initial video file of program;
Original document provides device, for the initial video file to be provided to net cast service equipment.
According to a further aspect of the invention, a kind of video living transmission system is additionally provided, the system includes such as foregoing basis One aspect of the present invention net cast service equipment and such as foregoing video source device according to another aspect of the present invention.
Compared with prior art, the present invention is all according to the video association attributes for sending the mobile terminal that net cast is asked Speed of media file format, corresponding screen resolution or access network supported such as the mobile terminal etc., pair with should Net cast asks corresponding initial video file accordingly to be changed, and the target video file obtained after conversion is provided To the mobile terminal so that the mobile terminal of user finally obtains the target video file being consistent with its video association attributes, from And ensure user and obtain more preferable net cast experience.
Also, due to existing net cast service equipment, it is mainly directed towards that the disposal abilities such as personal computer are stronger to be regarded Frequency playback equipment provides net cast service, and the present invention can be on the basis of existing net cast service equipment, according to user The video association attributes of mobile terminal, the initial video file provided existing net cast service equipment, is accordingly turned Change, to obtain the target video file for being adapted to customer mobile terminal.
Further, video source device generates the initial of programme televised live and regarded according to the video source and audio-source of programme televised live , can be according to the video association attributes of the program category of the programme televised live, live time and customer mobile terminal during frequency file Statistical information etc., determine the file attribute of the initial video file, such as coded format, code check, media file format so that The initial video file results in the support of customer mobile terminal as much as possible, or even obtains more preferable customer mobile terminal Result of broadcast.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the schematic diagram of the net cast service equipment according to one aspect of the invention;
Fig. 2 shows the schematic diagram of net cast service equipment in accordance with a preferred embodiment of the present invention;
Fig. 3 shows the schematic diagram of net cast service equipment and video source device according to a further aspect of the present invention;
Fig. 4 shows the signal of net cast service equipment and video source device in accordance with a preferred embodiment of the present invention Figure;
Fig. 5 shows the method flow diagram of the net cast according to one aspect of the invention;
Fig. 6 shows the method flow diagram of net cast in accordance with a preferred embodiment of the present invention;
Fig. 7 shows that net cast service equipment according to a further aspect of the present invention and video source device coordinate and realizes video Live method flow diagram;
Fig. 8 shows that net cast service equipment and video source device in accordance with a preferred embodiment of the present invention coordinate realization The method flow diagram of net cast.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the equipment schematic diagram according to one aspect of the invention, shows a kind of net cast service equipment.Wherein, depending on Frequency direct broadcast service equipment 2 includes initial video acquisition device 121, live acquisition request device 122, live request responding device 123rd, initial video conversion equipment 124 and target video provide device 125.Specifically, initial video acquisition device 121, which is obtained, works as Initial video file corresponding to preceding programme televised live;Live acquisition request device 122 obtains user and sent via mobile terminal Net cast request;Live request responding device 123 is asked according to the net cast, is obtained and is asked with the net cast Corresponding initial video file;Initial video conversion equipment 124 is according to the video association attributes of the mobile terminal, to described Initial video file is accordingly changed, to obtain the target video file corresponding with the video association attributes;Target is regarded Frequency provides device 125 and provides the target video file to the mobile terminal.Here, video source device 1 includes but not limited In the various electronic products with video record, coding and encapsulation function, such as video camera, the photograph with video record function Machine or other video processing equipments with camera etc..Net cast service equipment 2 include but is not limited to network host, Single network server, multiple webserver set or the set of computers based on cloud computing, here, cloud computing is distributed One kind of calculating, a super virtual computer being made up of the computer collection of a group loose couplings.Those skilled in the art should It is understood that, above-mentioned video source device and net cast service equipment are only for example, other are existing or being likely to occur from now on to regard Frequency source device or net cast service equipment are such as applicable to the present invention, should also be included within the scope of the present invention, and with Way of reference is incorporated herein.
Initial video acquisition device 121 obtains the initial video file corresponding to current programme televised live.Here, initially regarding The mode that frequency acquisition device 121 obtains the initial video file includes but is not limited to:1) it is received to working as from video source device 1 The initial video file obtained is recorded, encoded and encapsulated to preceding programme televised live, wherein, the initial video file can be regarded Frequency source device 1 directly pushes to initial video acquisition device 121 or video source device 1 answers initial video to obtain dress The acquisition for putting 121 asks what is pushed;2) net cast service equipment 2 include multiple server groups into based on CDN (content distributions Network) server set, wherein, the initial video acquisition device 121 of central server obtains current straight from video source device 1 The initial video file corresponding to program is broadcast, the Servers-all into the CDN is distributed in the initial video file, the CDN The initial video acquisition device 121 of other servers obtain the initial video file from the central server;3) video is straight Broadcast service equipment 2 including multiple computers and/or server group into the set of computers based on P2P (peer-to-peer network), the P2P The initial video acquisition device 121 of at least one node in network is obtained corresponding to current live program from video source device 1 Initial video file, and forwarded to other nodes, the initial video acquisition device 121 of each node in the P2P networks from Connected node obtains the initial video file;4) initial video acquisition device 121 directly obtains current live program Video source and audio-source, the video source and audio-source are encoded and encapsulated, to generate corresponding initial video file.This Art personnel will be understood that the mode of the initial video file of above-mentioned acquisition current live program is only for example, and other show The mode of the initial video file of acquisition current live program that is having or being likely to occur from now on is such as applicable to the present invention, also should It is incorporated herein within the scope of the present invention, and by reference.
.Live acquisition request device 122 obtains the net cast request that user sends via mobile terminal.Here, live The mode that acquisition request device 122 obtains the net cast request includes but is not limited to:1) user is received to send out from mobile terminal The net cast request sent;2) the net cast request that the user of third party device forwarding sends from mobile terminal is received.Ability Field technique personnel will be understood that the mode of above-mentioned acquisition net cast request is only for example, and other are existing or may go out from now on The mode of existing acquisition net cast request is such as applicable to the present invention, should also be included within the scope of the present invention, and with Way of reference is incorporated herein.
Live request responding device 123 is asked according to the net cast of user, obtains relative with net cast request The initial video file answered.For example, initial video acquisition device 121 is in each unit interval, such as 1S, obtain once current It is all just live program initial video file;Live acquisition request device 122 receives the net cast request of user;Directly Broadcast request responding device 123 and corresponding programme televised live is asked according to the net cast, obtain the institute of initial video acquisition device 121 The initial video file of the nearest unit interval of the programme televised live provided.Those skilled in the art will be understood that above-mentioned The mode for obtaining initial video file is only for example, other sides of acquisition initial video file that are existing or being likely to occur from now on Formula is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Preferably, net cast request and the ground of customer mobile terminal of the live request responding device 123 always according to user Location information, obtains the initial video file of corresponding current live program.Here, live request responding device 123 is according to described The mode that the address information of net cast request and mobile terminal obtains the initial video file includes but is not limited to:1) regard Frequency direct broadcast service equipment 2 includes the server cluster based on CDN (content distributing network), the live basis of request responding device 123 The address information of mobile terminal, the clothes of the distance mobile terminal recently in the CDN are redirected to by the net cast request of user Business device, and asked according to the net cast, provide corresponding initial video file from the server to the mobile terminal;2) video Direct broadcast service equipment 2 includes at least one in computer and/or server cluster based on P2P (peer-to-peer network), the P2P networks Individual node receives the net cast request of user, and the live request responding device 123 of the receiving node is according to the ground of mobile terminal Location information, it is determined that the node nearest apart from the mobile terminal, the nearest node is asked according to the net cast, to the mobile terminal Corresponding initial video file is provided;3) live request responding device 123 is first asked according to the net cast of user, is searched for and is regarded The Video Reservoir that the connected third party device of frequency direct broadcast service equipment 2 is provided, such as based on CDN's (content distributing network) Video Reservoir or Video Reservoir based on P2P networks are scanned for, with obtain match be distributed in CDN or P2P networks Different nodes in multiple initial video files, further according to the address information of the customer mobile terminal, from these nodes really The immediate node of the set a distance customer mobile terminal, the nearest node provides the nearest list of its acquisition to the customer mobile terminal The initial video file of position time interval.Those skilled in the art will be understood that the mode of above-mentioned acquisition initial video file only For citing, other modes of acquisitions initial video file that are existing or being likely to occur from now on are such as applicable to the present invention, also answered It is incorporated herein within the scope of the present invention, and by reference.
Initial video conversion equipment 124 is according to the video association attributes of customer mobile terminal, the net cast pair with user The corresponding initial video file of request is accordingly changed, to obtain the target video corresponding with the video association attributes File.Here, the video association attributes includes but is not limited to any influence customer mobile terminal for being applicable to the present invention The attribute of video playback, the screen resolution of mobile terminal, the media file format supported etc.;The video correlation category Property can be by parsing the net cast acquisition request of user, the mark of mobile terminal in can also being asked according to the net cast Know information and obtained by inquiring about terminal attribute storehouse, inquiry from video association attributes to the mobile terminal that can also be by sending please Ask acquisition.Initial video conversion equipment 124 not only can be according to a video association attributes of mobile terminal to initial video text Part is changed, and initial video file can also accordingly be changed according to the multinomial video association attributes of mobile terminal.Example Such as, live request responding device 123 obtains the initial video file corresponding with the live request of user video;Initial video is changed Device 124 is initial to this according to the screen resolution of mobile terminal, the media file format supported and current network speed The screen resolution of video file, the media file format supported and code check are changed, to obtain and the mobile terminal The consistent target video file of every video association attributes.Those skilled in the art will be understood that above-mentioned video association attributes And the mode of conversion initial video file is only for example, other existing or video association attributeses for being likely to occur from now on or The mode of conversion initial video file is such as applicable to the present invention, should also be included within the scope of the present invention, and to quote Mode is incorporated herein.
Preferably, the video association attributes includes but is not limited to, below any one of at least:
1) media file format that the mobile terminal is supported;
2) screen resolution of the mobile terminal;
3) speed of the access network of the mobile terminal.
Specifically, its media file format for being supported of different mobile terminals and corresponding screen resolution are different , the speed of the access network of mobile terminal includes network rate (i.e. bandwidth) of the Virtual network operator of mobile terminal for its distribution And the current network speed of mobile terminal.Initial video conversion equipment 124 can be according to the video association attributes of mobile terminal One or more couple initial video file accordingly changed.For example, according to the current network speed of mobile terminal, just The code check of 124 pairs of the beginning video change-over device initial video file is accordingly changed, with obtain with the mobile terminal work as The consistent target video file of preceding network rate so that mobile terminal smooth can must play the target video file.And for example, just Beginning video change-over device 124 is according to the screen resolution of mobile terminal and its media file format supported, conversion is described The resolution ratio and media file format of initial video file, to obtain, the mobile terminal can decode that broadcasting and picture is clearly Target video file.Those skilled in the art will be understood that above-mentioned video association attributes is only for example, and other are existing or from now on The video association attributes being likely to occur such as is applicable to the present invention, should also be included within the scope of the present invention, and to quote Mode is incorporated herein.
Target video provide device 125 by the target video file that initial video conversion equipment 124 changes acquisition provide to Customer mobile terminal.Here, target video provides the communication protocol that device 125 is supported the target video file according to it Or the communication protocol that net cast service equipment 2 and customer mobile terminal are arranged, the communication such as HTTP, RTP, MMS, P2P Agreement, sends to the mobile terminal of user.Those skilled in the art will be understood that the mode of above-mentioned offer target video file with And communication protocol is only for example, other modes or communication protocols that target video file is provided existing or be likely to occur from now on View is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
It should be noted that operation performed by initial video acquisition device 121 and live acquisition request device 122, straight Broadcasting between request responding device 123, initial video conversion equipment 124 and target video provide the operation performed by device 125 is It can carry out simultaneously.Initial video acquisition device 121 persistently obtains the initial video file corresponding to current live program;Directly Broadcast acquisition request device 122, live request responding device 123, initial video conversion equipment 124 and target video and device is provided 125 net casts sent according to user via mobile terminal are asked, and provide corresponding mesh to the mobile terminal of the user in real time Mark video file.
Fig. 2 is the equipment schematic diagram according to a preferred embodiment of the invention, shows a kind of net cast service equipment.Its In, net cast service equipment 2 includes initial video acquisition device 221, live acquisition request device 222, live request response Device 223, initial video conversion equipment 224, target video provide device 225 and terminal attribute acquisition device 226.Specifically, Initial video acquisition device 221 obtains the initial video file corresponding to current programme televised live;Live acquisition request device 222 Obtain the net cast request that user sends via mobile terminal;Live request responding device 223 please according to the net cast Ask, obtain the initial video file corresponding with net cast request;Terminal attribute acquisition device 226 obtains the movement The video association attributes of terminal;Initial video conversion equipment 224 according to the video association attributes of the mobile terminal, to it is described just Beginning video file is accordingly changed, to obtain the target video file corresponding with the video association attributes;Target video Device 225 is provided to provide the target video file to the mobile terminal.
Wherein, initial video acquisition device 221, live acquisition request device 222, live request responding device in Fig. 2 223rd, initial video conversion equipment 224 and target video provide initial video in operation and Fig. 1 performed by device 225 and obtain dress 121, live acquisition request device 122, live request responding device 123, initial video conversion equipment 124 and target video is put to carry It is identical or essentially identical for the operation performed by device 125, for simplicity, it is incorporated herein, is not repeating by reference.
Terminal attribute acquisition device 226 obtains the video association attributes of customer mobile terminal.Here, terminal attribute obtains dress The mode for putting the 226 acquisitions video association attributes includes but is not limited to:
1) the video association attributes that the mobile terminal of user is sent is received, here, the video association attributes can be mobile Terminal is actively sent to net cast service equipment 2 or mobile terminal answers the inquiry of net cast service equipment 2 please Ask what is be sent to.For example, mobile terminal is regarded while net cast request is sent to net cast service equipment 2 to this Frequency direct broadcast service equipment 2 sends the video association attributes of the mobile terminal, is provided it for the net cast service equipment 2 The target video file corresponding with its video association attributes, correspondingly, terminal attribute acquisition device 226 receive the mobile terminal Video association attributes.And for example, the live acquisition request device 222 of net cast service equipment 2 receives the net cast of user Request;Terminal attribute acquisition device 226 sends video association attributes inquiry request to the mobile terminal of the user, and receives the shifting The video association attributes that dynamic terminal is returned.
2) asked according to the net cast of user, obtain the video association attributes of customer mobile terminal, concrete mode includes But it is not limited to:
A) the net cast request of parsing user, the relevant field asked from the net cast extracts the video correlation category Property.Ask, and asking including the net cast for example, mobile terminal sends net cast to net cast service equipment 2 The video association attributes of the mobile terminal is write in the respective field in the packet header of packet;Net cast service equipment 2 it is live Acquisition request device 222 receives the packet of the net cast request for including user;The parsing of terminal attribute acquisition device 226 should Packet, extracts the video association attributes of the mobile terminal from the respective field in its packet header.
B) asked according to the net cast of user, obtain the identification information of customer mobile terminal, according to the identification information, Terminal attribute storehouse is inquired about, to obtain the video association attributes of customer mobile terminal.Specifically, terminal attribute acquisition device 226 is solved The net cast request of user is analysed, the relevant field asked from the net cast extracts the identification information of customer mobile terminal, root According to the identification information, inquiry terminal attribute storehouse obtains the video association attributes of customer mobile terminal, wherein, the terminal attribute Storehouse can net cast service equipment 2 itself storage or the Virtual network operator of mobile terminal provide, can be with It is the third party device offer of the terminal attribute of other mobile terminals that are stored with.For example, mobile terminal is to net cast service Equipment 2 sends net cast request, and writes the mobile terminal in the packet header for the packet asked including the net cast Identification information;The live acquisition request device 222 of net cast service equipment 2 receives the net cast request for including user Packet;Terminal attribute acquisition device 226 parses the packet, and the mark of the mobile terminal is extracted from the respective field in its packet header Know information, and the terminal attribute storehouse provided according to the Virtual network operator of the identification information-enquiry mobile terminal, so as to be somebody's turn to do The video association attributes of mobile terminal.
Those skilled in the art will be understood that the mode and terminal category of the video association attributes of above-mentioned acquisition mobile terminal Property storehouse be only for example, other it is existing or be likely to occur from now on acquisition mobile terminal video association attributes mode or end End attribute library is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
It should be noted that those skilled in the art will be understood that above-mentioned terminal attribute acquisition device 226 both can be independent In initial video conversion equipment 224, it can also be integrated with initial video conversion equipment 224.
Fig. 3 is the equipment schematic diagram according to another aspect of the invention, shows a kind of net cast service equipment and video Source device.Wherein, video source device 1 is carried including program source acquisition device 311, original document generating means 312 and original document For device 313;Net cast service equipment 2 include initial video acquisition device 321, live acquisition request device 322, it is live please Responding device 323, initial video conversion equipment 324 and target video is asked to provide device 325.Specifically, the section of video source device 1 Mesh source acquisition device 311 obtains the program source information of current programme televised live;Original document generating means 312 are according to the program Source information, according to predetermined file attribute, generates the initial video file of the programme televised live;Original document provides device 313 The initial video file is provided to net cast service equipment 2;Correspondingly, the initial video of net cast service equipment 2 Acquisition device 321 obtains the initial video file corresponding to current programme televised live from video source device 1;Live acquisition request dress Put the net cast request that 322 acquisition users send via mobile terminal;Live request responding device 323 is straight according to the video Request is broadcast, the initial video file corresponding with net cast request is obtained;The basis of initial video conversion equipment 324 The video association attributes of the mobile terminal, is accordingly changed to the initial video file, to obtain and the video phase Close the corresponding target video file of attribute;Target video provides device 325 and provides the target video file to the shifting Dynamic terminal.
Wherein, the initial video acquisition device 321 of net cast service equipment 2 in Fig. 3, live acquisition request device 322, Live request responding device 323, initial video conversion equipment 324 and target video provide operation and Fig. 1 performed by device 325 The initial video acquisition device 121 of middle net cast service equipment 2, live acquisition request device 122, live request responding device 123rd, initial video conversion equipment 124 is identical or essentially identical with the operation performed by target video offer device 125, is concise For the sake of, it is incorporated herein, is not repeating by reference.
The program source acquisition device 311 of video source device 1 obtains the program source information of current programme televised live.The program Source information includes but is not limited to video source information, audio source information or its combination.For example, program source acquisition device 311 is by taking the photograph As video capture devices such as head, video cameras, the video source information and audio source information of current live program are gathered.Art technology Personnel will be understood that the mode and video capture device of the program source information of above-mentioned acquisition programme televised live are only for example, other It is existing or be likely to occur from now on acquisition programme televised live program source information mode or video capture device it is for example applicable In the present invention, it should also be included within the scope of the present invention, and be incorporated herein by reference.
Original document generating means 312 are according to the program source information of current programme televised live, according to predetermined file attribute, Generate the initial video file of current live program.Here, the predetermined file attribute include but is not limited to it is any applicable In the association attributes of the file formats such as the coding, the encapsulation that are used to determine the initial video file of the present invention, it can be by first Beginning file creating apparatus 312 determines according to default default document attribute, can also be according to the type of current live program, current The live time of programme televised live, statistics of attributes information of a large number of users mobile terminal etc. are determined or adjusted.Art technology Personnel will be understood that above-mentioned file attribute and its determination mode are only for example, other files that are existing or being likely to occur from now on Attribute or its determination mode are such as applicable to the present invention, should also be included within the scope of the present invention, and wrap by reference It is contained in this.
Preferably, the file attribute includes but is not limited to, below any one of at least:
1) coded format of the initial video file;
2) code check of the initial video file;
3) media file format of the initial video file.
Specifically, original document generating means 312 are according to predetermined coded format, and the coded format of such as video source is H.264, the coded format of audio-source be AAC, predetermined code check, such as 512kbps, predetermined media file format, such as ASF, Video source information and audio source information to current live program are compressed coding and encapsulated, to generate corresponding initial video File.Those skilled in the art will be understood that above-mentioned file attribute is only for example, other texts that are existing or being likely to occur from now on Part attribute is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Original document provides device 313 and provides the initial video file that original document generating means 312 are generated to video Direct broadcast service equipment 2.Here, original document provide the communication protocol that device 313 supported initial video file according to it or The communication protocol that person's video source device 1 and net cast service equipment 2 are arranged, the communication protocols such as HTTP, RTP, MMS, P2P View, sends to net cast service equipment 2.Those skilled in the art will be understood that the mode of above-mentioned offer initial video file And communication protocol is only for example, other existing or the mode of offer initial video file being likely to occur from now on or communications Agreement is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
In a preferred embodiment of net cast service equipment shown in Fig. 32, the net cast service equipment 2 is also wrapped Include terminal attribute acquisition device (not shown).The terminal attribute acquisition device obtains the video association attributes of customer mobile terminal; The video association attributes for the customer mobile terminal that initial video conversion equipment 324 is obtained according to terminal attribute acquisition device, to straight The initial video file for broadcasting the request acquisition of responding device 323 is accordingly changed, to obtain corresponding target video file.Equally Ground is, it is necessary to which explanation, those skilled in the art will be understood that above-mentioned terminal attribute acquisition device can be changed with initial video Device 324 is mutually independent, can also be integrated with initial video conversion equipment 324.
It should also be noted that, those skilled in the art will be understood that above-mentioned video source device 1 is set with net cast service Standby 2 be able to can also both be integrated with separate.
Fig. 4 be according to the equipment schematic diagram of a preferred embodiment of the invention, show a kind of net cast service equipment and Video source device.Wherein, video source device 1 includes program source acquisition device 411, original document generating means 412, original document Device 413 and preferred attribute determining device 414 are provided;Net cast service equipment 2 includes initial video acquisition device 421, straight Broadcast acquisition request device 422, live request responding device 423, initial video conversion equipment 424 and target video and device is provided 425.Specifically, the program source acquisition device 411 of video source device 1 obtains the program source information of current programme televised live;It is preferred that Attribute determining device 414 is according to the live association attributes of the programme televised live, it is determined that corresponding with the programme televised live is preferred File attribute;Original document generating means 412 are according to the program source information, according to the preferred file attribute, generation The initial video file of the programme televised live;Original document provides device 413 and provides straight to video by the initial video file Broadcast service equipment 2;Correspondingly, the initial video acquisition device 421 of net cast service equipment 2 is obtained from video source device 1 and worked as Initial video file corresponding to preceding programme televised live;Live acquisition request device 422 obtains user and sent via mobile terminal Net cast request;Live request responding device 423 is asked according to the net cast, is obtained and is asked with the net cast The corresponding initial video file;Initial video conversion equipment 424 judge the file attribute of the initial video file with Whether the video association attributes of the mobile terminal is consistent, when the file attribute is not consistent with the video association attributes, The initial video file is accordingly changed according to the video association attributes not being consistent, to obtain the target video text Part;Target video provides device 425 and provides the target video file to the mobile terminal.
Wherein, the program source acquisition device 411 of video source device 1 and original document are provided performed by device 413 in Fig. 4 The program source acquisition device 311 and original document that operate with video source device in Fig. 31 provide the operation phase performed by device 313 It is same or essentially identical, for simplicity, it is incorporated herein, is not repeating by reference.
The preferred attribute determining device 414 of video source device 1 according to the live association attributes of current programme televised live, it is determined that The preferred file attribute corresponding with the programme televised live.Original document generating means 412 are according to the section of the programme televised live Mesh source information, according to its corresponding preferred file attribute, generates the initial video file of the programme televised live.Here, described Live association attributes includes but is not limited to the file category of any initial video file with programme televised live for being applicable to the present invention Property related attribute, the program category of programme televised live, live time etc..For example, current live program is ball match, the program The media file format that customer mobile terminal is supported under type mostly MOV, then preferred attribute determining device 414 determine current Preferred file attribute corresponding to programme televised live is MOV, i.e., the media text of the initial video file corresponding to the programme televised live Part form should be MOV;Original document generating means 412, according to MOV forms, are generated according to the video source and audio-source of the ball match Corresponding initial video file.Those skilled in the art will be understood that above-mentioned live association attributes and determine programme televised live institute The mode of corresponding preferred file attribute is only for example, other existing or live association attributeses for being likely to occur from now on or Determine that the mode of the preferred file attribute corresponding to programme televised live is such as applicable to the present invention, should also be included in present invention protection Within scope, and it is incorporated herein by reference.
Preferably, the live association attributes includes but is not limited to, below any one of at least:
1) program category of the programme televised live;
2) the live time of the programme televised live;
3) statistical information of the video association attributes of the mobile terminal corresponding to the programme televised live.
Specifically, 1) user of the preferred attribute determining device 414 according to corresponding to the different program categories of programme televised live moves The statistical information of the video association attributes of dynamic terminal, determines the preferred file category corresponding to the programme televised live of respective program type Property.2) user movement of the preferred attribute determining device 414 according to belonging to the live time of programme televised live corresponding to the live period The statistical information of the video association attributes of terminal, determines the preferred file category corresponding to the programme televised live of respective live time Property.3) preferred attribute determining device 414 is according to the video association attributes of the customer mobile terminal of the current accessed programme televised live Statistical information, determines the preferred file attribute corresponding to the programme televised live.Here, preferred attribute determining device 414 can be from Net cast service equipment 2 or other third party devices, obtain the video association attributes of relative users mobile terminal, to be united Meter, so that it is determined that the preferred file attribute corresponding to programme televised live;Can also directly from net cast service equipment 2 or other Third party device, obtains the statistical information of the video association attributes of relative users mobile terminal, to determine corresponding to programme televised live Preferred file attribute.Those skilled in the art will be understood that above-mentioned live association attributes and determine that programme televised live institute is right The mode for the preferred file attribute answered is only for example, other live association attributeses or true that are existing or being likely to occur from now on The mode for determining the preferred file attribute corresponding to programme televised live is such as applicable to the present invention, should also be included in present invention protection model Within enclosing, and it is incorporated herein by reference.
Wherein, the initial video acquisition device 421 of net cast service equipment 2 in Fig. 4, live acquisition request device 422, Net cast service equipment 2 in operation and Fig. 1 performed by live request responding device 423 and target video offer device 425 Initial video acquisition device 121, live acquisition request device 122, it is live request responding device 123 and target video provide dress The operation put performed by 225 is identical or essentially identical, for simplicity, is incorporated herein by reference, is not repeating.
Initial video conversion equipment 424 judges the file category for the initial video file that live request responding device 423 is obtained Whether property is consistent with the video association attributes of customer mobile terminal, when the file attribute is not consistent with the video association attributes When, the initial video file is accordingly changed according to the video association attributes not being consistent, regarded with obtaining corresponding target Frequency file.Here, the judgement operation performed by initial video conversion equipment 424, after corresponding judged result is obtained, according only to The video association attributes not being consistent, is changed to initial video file, is reduced unnecessary conversion cost, is improved video The efficiency of direct broadcast service.For example, the coded format of initial video file be video H.264, audio A AC, media file format is ASF, the media file format that customer mobile terminal is supported be MP4, the corresponding coded format of the media file format also be regarding Frequency H.264, audio A AC, then initial video conversion equipment 424 determine that both media file format is not consistent, and according to the shifting The media file format that dynamic terminal is supported, i.e. MP4 enters row format conversion to the initial video file, to obtain corresponding matchmaker Body file format is MP4 target video file.
In a preferred embodiment of net cast service equipment shown in Fig. 42, the net cast service equipment 2 is also wrapped Terminal attribute acquisition device 426 is included, terminal attribute acquisition device 426 obtains the video association attributes of customer mobile terminal;Initially Video change-over device 424 judges the file attribute for the initial video file that live request responding device 423 is obtained and the movement Whether the video association attributes of terminal is consistent, when the file attribute is not consistent with the video association attributes, according to not phase The video association attributes of symbol is accordingly changed to the initial video file, to obtain corresponding target video file.
Wherein, the institute of terminal attribute acquisition device 226 in the content and Fig. 2 of the performed operation of terminal attribute acquisition device 426 The content for performing operation is identical or essentially identical, for simplicity, is incorporated herein, repeats no more by reference.
It should be noted that those skilled in the art will be understood that above-mentioned terminal attribute acquisition device 426 can with it is initial Video change-over device 424 is mutually independent, can also be integrated with initial video conversion equipment 424.
It should also be noted that, those skilled in the art will be understood that above-mentioned video source device 1 is set with net cast service Standby 2 be able to can also both be integrated with separate.
Fig. 5 is the method flow diagram according to one aspect of the invention, shows a kind of net cast process.Specifically, in step In rapid S501, net cast service equipment 2 obtains the initial video file corresponding to current programme televised live;In step S502 In, net cast service equipment 2 obtains the net cast request that user sends via mobile terminal;In step S503, video Direct broadcast service equipment 2 is asked according to the net cast, obtains the initial video file corresponding with net cast request; In step S504, net cast service equipment 2 is according to the video association attributes of the mobile terminal, to initial video text Part is accordingly changed, to obtain the target video file corresponding with the video association attributes;In step S505, video Direct broadcast service equipment 2 provides the target video file to the mobile terminal.Here, video source device 1 includes but not limited In the various electronic products with video record, coding and encapsulation function, such as video camera, the photograph with video record function Machine or other video processing equipments with camera etc..Net cast service equipment 2 include but is not limited to network host, Single network server, multiple webserver set or the set of computers based on cloud computing, here, cloud computing is distributed One kind of calculating, a super virtual computer being made up of the computer collection of a group loose couplings.Those skilled in the art should It is understood that, above-mentioned video source device and net cast service equipment are only for example, other are existing or being likely to occur from now on to regard Frequency source device or net cast service equipment are such as applicable to the present invention, should also be included within the scope of the present invention, and with Way of reference is incorporated herein.
In step S501, net cast service equipment 2 obtains the initial video file corresponding to current programme televised live. Here, the mode that net cast service equipment 2 obtains the initial video file includes but is not limited to:1) from video source device 1 Receive it and recorded, encoded and encapsulated the initial video file obtained to current live program, wherein, the initial video text Part can be that video source device 1 directly pushes to initial video acquisition device 121 or video source device 1 should be initial What the acquisition request of video acquisition device 121 was pushed;2) net cast service equipment 2 include multiple server groups into based on CDN (content distributing network) server set, wherein, the central server of the CDN obtains current live from video source device 1 In initial video file corresponding to program, and the Servers-all distribution initial video file into the CDN, the CDN Other servers obtain the initial video file from the central server;3) net cast service equipment 2 includes multiple meters Calculation machine and/or server group into the set of computers based on P2P (peer-to-peer network), at least one node in the P2P networks The initial video file corresponding to current live program is obtained from video source device 1, and is forwarded to other nodes, the P2P networks In each node obtain the initial video file from connected node;4) net cast service equipment 2 is directly obtained The video source and/or audio-source of current live program, are encoded and are encapsulated to the video source and/or audio-source, to generate phase The initial video file answered.Those skilled in the art will be understood that the initial video file of above-mentioned acquisition current live program Mode is only for example, other it is existing or be likely to occur from now on acquisition current live program initial video file mode such as The present invention is applicable to, should be also included within the scope of the present invention, and be incorporated herein by reference.
In step S502, net cast service equipment 2 obtains the net cast request that user sends via mobile terminal. Here, the mode that net cast service equipment 2 obtains the net cast request includes but is not limited to:1) user is received from movement The net cast request that terminal is sent;2) net cast that the user of reception third party device forwarding sends from mobile terminal please Ask.Those skilled in the art will be understood that the mode of above-mentioned acquisition net cast request is only for example, and other are existing or from now on Be likely to occur acquisition net cast request mode be such as applicable to the present invention, also should be included in the scope of the present invention with It is interior, and be incorporated herein by reference.
In step S503, net cast service equipment 2 is asked according to the net cast of user, is obtained straight with the video Broadcast and ask corresponding initial video file.For example, in step S501, net cast service equipment 2 is in each unit interval Interval, such as 1S, obtain once it is current it is all just live program initial video file;In step S502, net cast Service equipment 2 receives the net cast request of user;In step S503, net cast service equipment 2 is according to the net cast The corresponding programme televised live of request, obtain its programme televised live obtained in step S501 nearest unit interval just Beginning video file.Those skilled in the art will be understood that the mode of above-mentioned acquisition initial video file is only for example, and other are existing Or the mode of acquisition initial video file that is likely to occur from now on be such as applicable to the present invention, should also be included in present invention protection Within scope, and it is incorporated herein by reference.
Preferably, in step S503, net cast request and user of the net cast service equipment 2 always according to user are moved The address information of dynamic terminal, obtains the initial video file of corresponding current live program.Here, net cast service equipment 2 The mode for obtaining the initial video file according to the address information of the net cast request and mobile terminal is included but not It is limited to:1) net cast service equipment 2 is genuinely convinced in including in the server cluster based on CDN (content distributing network), the CDN The net cast request of user is redirected to distance mobile terminal in the CDN by business device according to the address information of mobile terminal Nearest server, and asked according to the net cast, provide corresponding initial video text from the server to the mobile terminal Part;2) net cast service equipment 2 includes computer and/or server cluster based on P2P (peer-to-peer network), the P2P networks In at least one node receive the net cast request of user, the receiving node according to the address information of mobile terminal, it is determined that The node nearest apart from the mobile terminal, the nearest node is asked according to the net cast, provides corresponding to the mobile terminal Initial video file;3) net cast service equipment 2 is first asked according to the net cast of user, and search is serviced with the net cast The Video Reservoir that the connected third party device of equipment 2 is provided, such as in the Video Reservoir based on CDN (content distributing network) Or the Video Reservoir based on P2P networks is scanned for, to obtain the different nodes for being distributed in CDN or P2P networks matched In multiple initial video files, further according to the address information of the customer mobile terminal, determined from these nodes apart from the use The immediate node of family mobile terminal, the nearest node provides the nearest unit interval of its acquisition to the customer mobile terminal Initial video file.Those skilled in the art will be understood that the mode of above-mentioned acquisition initial video file is only for example, other The mode of acquisition initial video file that is existing or being likely to occur from now on is such as applicable to the present invention, should also be included in the present invention Within protection domain, and it is incorporated herein by reference.
In step S504, net cast service equipment 2 according to the video association attributes of customer mobile terminal, pair and user Net cast ask corresponding initial video file accordingly to be changed, it is corresponding with the video association attributes with acquisition Target video file.Here, the video association attributes includes but is not limited to any influence user for being applicable to the present invention The attribute of the video playback of mobile terminal, the screen resolution of mobile terminal, the media file format supported etc.;It is described Video association attributes can be moved by parsing the net cast acquisition request of user in can also being asked according to the net cast The identification information of dynamic terminal is obtained by inquiring about terminal attribute storehouse, can also be belonged to by sending video correlation to the mobile terminal Property inquiry request obtain.Net cast service equipment 2 not only can be according to a video association attributes of mobile terminal to first Beginning video file is changed, and initial video file can also be carried out according to the multinomial video association attributes of mobile terminal corresponding Conversion.For example, in step S503, the acquisition of net cast service equipment 2 is corresponding with the live request of user video initially to be regarded Frequency file;In step S504, net cast service equipment 2 is according to the screen resolution of mobile terminal, the media supported text Part form and current network speed, screen resolution to the initial video file, the media file format supported and Code check is changed, to obtain the target video file consistent with every video association attributes of the mobile terminal.This area skill Art personnel will be understood that above-mentioned video association attributes and the mode of conversion initial video file are only for example, and other are existing Or the video association attributes or the mode of conversion initial video file being likely to occur from now on are such as applicable to the present invention, should also wrap It is contained within the scope of the present invention, and is incorporated herein by reference.
Preferably, the video association attributes includes but is not limited to, below any one of at least:
1) media file format that the mobile terminal is supported;
2) screen resolution of the mobile terminal;
3) speed of the access network of the mobile terminal.
Specifically, its media file format for being supported of different mobile terminals and corresponding screen resolution are different , the speed of the access network of mobile terminal includes network rate (i.e. bandwidth) of the Virtual network operator of mobile terminal for its distribution And the current network speed of mobile terminal.Net cast service equipment 2 can be according to the video association attributes of mobile terminal The one or more pair of initial video file is accordingly changed.For example, according to the current network speed of mobile terminal, video The code check of 2 pairs of the direct broadcast service equipment initial video file is accordingly changed, to obtain the current net with the mobile terminal The consistent target video file of network speed so that mobile terminal smooth can must play the target video file.And for example, video is straight Service equipment 2 is broadcast according to the screen resolution of mobile terminal and its media file format supported, conversion is described initially to be regarded The resolution ratio and media file format of frequency file, to obtain, the mobile terminal can decode that broadcasting and clearly target is regarded picture Frequency file.Those skilled in the art will be understood that above-mentioned video association attributes is only for example, and other are existing or may go out from now on Existing video association attributes is such as applicable to the present invention, should also be included within the scope of the present invention, and wrap by reference It is contained in this.
In step S505, net cast service equipment 2 changes it target video file of acquisition in step S504 There is provided to customer mobile terminal.Here, the communication that net cast service equipment 2 is supported the target video file according to it The communication protocol that agreement or the net cast service equipment 2 are arranged with customer mobile terminal, such as HTTP, RTP, MMS, P2P Etc. communication protocol, send to the mobile terminal of user.Those skilled in the art will be understood that above-mentioned offer target video file Mode and communication protocol are only for example, other it is existing or be likely to occur from now on offer target video file mode or Communication protocol is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
It should be noted that the operation performed in step S501 of net cast service equipment 2 with its step S502, It can be carried out simultaneously between operation performed by step S503, step S504 and step S505.In step S501, video Direct broadcast service equipment 2 persistently obtains the initial video file corresponding to current live program;In step S502, step S503, step Rapid S504 and step S505, the net cast that net cast service equipment 2 is sent according to user via mobile terminal is asked, in real time Corresponding target video file is provided to the mobile terminal of the user.
Fig. 6 is the method flow diagram according to a preferred embodiment of the invention, shows a kind of net cast process.Specifically Ground, in step s 601, net cast service equipment 2 obtain the initial video file corresponding to current programme televised live;In step In rapid S602, net cast service equipment 2 obtains the net cast request that user sends via mobile terminal;In step S603 In, net cast service equipment 2 is asked according to the net cast, and acquisition is corresponding with net cast request initially to be regarded Frequency file;In step S606, net cast service equipment 2 obtains the video association attributes of the mobile terminal;In step In S604, net cast service equipment 2 is carried out according to the video association attributes of the mobile terminal to the initial video file Corresponding conversion, to obtain the target video file corresponding with the video association attributes;In step s 605, net cast takes Business equipment 2 provides the target video file to the mobile terminal.
Wherein, in Fig. 6 net cast service equipment 2 in step S601, step S602, step S603, step S604 and step Net cast service equipment 2 is in step S501, step S502, step S503, step in operation and Fig. 5 performed by rapid S605 S504 is identical or essentially identical with operation performed in step S505, for simplicity, is incorporated herein, does not exist by reference Repeat.
In step S606, net cast service equipment 2 obtains the video association attributes of customer mobile terminal.Here, regarding The mode that frequency direct broadcast service equipment 2 obtains the video association attributes includes but is not limited to:
1) the video association attributes that the mobile terminal of user is sent is received, here, the video association attributes can be mobile Terminal is actively sent to net cast service equipment 2 or mobile terminal answers the inquiry of net cast service equipment 2 please Ask what is be sent to.For example, mobile terminal is regarded while net cast request is sent to net cast service equipment 2 to this Frequency direct broadcast service equipment 2 sends the video association attributes of the mobile terminal, is provided it for the net cast service equipment 2 The target video file corresponding with its video association attributes, correspondingly, net cast service equipment 2 receive the mobile terminal Video association attributes.And for example, net cast service equipment 2 receives the net cast request of user, and to the mobile end of the user End sends video association attributes inquiry request, receives the video association attributes of mobile terminal return.
2) asked according to the net cast of user, obtain the video association attributes of customer mobile terminal, concrete mode includes But it is not limited to:
A) the net cast request of parsing user, the relevant field asked from the net cast extracts the video correlation category Property.Ask, and asking including the net cast for example, mobile terminal sends net cast to net cast service equipment 2 The video association attributes of the mobile terminal is write in the respective field in the packet header of packet;Net cast service equipment 2 is received simultaneously The packet that the net cast for including user is asked, the video that the mobile terminal is extracted from the respective field in its packet header is related Attribute.
B) asked according to the net cast of user, obtain the identification information of customer mobile terminal, according to the identification information, Terminal attribute storehouse is inquired about, to obtain the video association attributes of customer mobile terminal.Specifically, net cast service equipment 2 is parsed The net cast request of user, the relevant field asked from the net cast extracts the identification information of customer mobile terminal, according to The identification information, inquiry terminal attribute storehouse, obtains the video association attributes of customer mobile terminal, wherein, the terminal attribute storehouse Can net cast service equipment 2 itself storage or the Virtual network operator of mobile terminal provide, can also be What the third party device of the terminal attribute of other mobile terminals that are stored with was provided.For example, mobile terminal is set to net cast service Standby 2 send net casts request, and write in the packet header for the packet asked including the net cast mark of the mobile terminal Know information;Net cast service equipment 2 receives and parses through the packet that the net cast including user is asked, from its packet header Extract the identification information of the mobile terminal in respective field, and according to the Virtual network operator of the identification information-enquiry mobile terminal The terminal attribute storehouse of offer, so as to obtain the video association attributes of the mobile terminal.
Those skilled in the art will be understood that the mode and terminal category of the video association attributes of above-mentioned acquisition mobile terminal Property storehouse be only for example, other it is existing or be likely to occur from now on acquisition mobile terminal video association attributes mode or end End attribute library is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Fig. 7 is the method flow diagram according to another aspect of the invention, shows a kind of net cast service equipment and video Source device coordinates the process for realizing net cast.Specifically, in step S7011, video source device 1 obtains current live section Purpose program source information;In step S7012, video source device 1 belongs to according to the program source information according to predetermined file Property, generate the initial video file of the programme televised live;In step S7013, video source device 1 is by the initial video file There is provided to net cast service equipment 2;Correspondingly, net cast service equipment 2 obtains current live section from video source device 1 Initial video file corresponding to mesh;In step S702, net cast service equipment 2 obtains user and sent via mobile terminal Net cast request;In step S703, net cast service equipment 2 according to the net cast ask, obtain with it is described The corresponding initial video file is asked in net cast;In step S704, net cast service equipment 2 is moved according to described The video association attributes of dynamic terminal, is accordingly changed to the initial video file, to obtain and the video association attributes Corresponding target video file;In step S705, net cast service equipment 2 provides the target video file to institute State mobile terminal.
Wherein, in Fig. 7 net cast service equipment 2 in step S7013, step S702, step S703, step S704 and step Net cast service equipment 2 is in step S501, step S502, step S503, step in operation and Fig. 5 performed by rapid S705 S504 is identical or essentially identical with operation performed in step S505, for simplicity, is incorporated herein, does not exist by reference Repeat.
In step S7011, video source device 1 obtains the program source information of current programme televised live.The program source letter Breath includes but is not limited to video source information, audio source information and combinations thereof.For example, video source device 1 passes through camera, video camera Deng video capture device, the video source information and audio source information of current live program are gathered.Those skilled in the art should be able to manage Solution, the mode and video capture device of the program source information of above-mentioned acquisition programme televised live are only for example, other existing or the presents The mode or video capture device of the program source information for the acquisition programme televised live being likely to occur afterwards are such as applicable to the present invention, It should be included within the scope of the present invention, and be incorporated herein by reference.
In step S7012, video source device 1 is according to the program source information of current programme televised live, according to predetermined text Part attribute, generates the initial video file of current live program.Here, the predetermined file attribute is including but not limited to any The association attributes for being used to determine the file formats such as coding, the encapsulation of the initial video file of the present invention is applicable to, it can , can also be according to the type of current live program, current straight to be determined by video source device 1 according to default default document attribute Live time, statistics of attributes information of a large number of users mobile terminal of program etc. is broadcast to be determined or adjust.People in the art Member is it will be understood that above-mentioned file attribute and its determination mode are only for example, and other files that are existing or being likely to occur from now on belong to Property or its determination mode be such as applicable to the present invention, should also be included within the scope of the present invention, and include by reference In this.
Preferably, the file attribute includes but is not limited to, below any one of at least:
1) coded format of the initial video file;
2) code check of the initial video file;
3) media file format of the initial video file.
Specifically, video source device 1 is according to predetermined coded format, and the coded format of such as video source is H.264 audio-source Coded format be AAC, predetermined code check, such as 512kbps, predetermined media file format, such as ASF, to current live section Purpose video source information and audio source information are compressed coding and encapsulated, to generate corresponding initial video file.This area Technical staff will be understood that above-mentioned file attribute is only for example, and other file attributes that are existing or being likely to occur from now on such as may be used Suitable for the present invention, it should also be included within the scope of the present invention, and be incorporated herein by reference.
In step S7013, the initial video file that video source device 1 generates it in step S7012 is provided to regarding Frequency direct broadcast service equipment 2.Here, communication protocol that video source device 1 is supported initial video file according to it or this regard The communication protocol that frequency source device 1 and net cast service equipment 2 are arranged, the communication protocol, hair such as HTTP, RTP, MMS, P2P Deliver to net cast service equipment 2.Those skilled in the art will be understood that the mode of above-mentioned offer initial video file and lead to Letter agreement is only for example, and other existing or modes of offer initial video file or communication protocol for being likely to occur from now on are such as The present invention is applicable to, should be also included within the scope of the present invention, and be incorporated herein by reference.
In a preferred embodiment of process shown in Fig. 7, the process also includes step S706 (not shown).In step In S706, net cast service equipment 2 obtains the video association attributes of customer mobile terminal;In step S704, net cast The video association attributes for the customer mobile terminal that service equipment 2 is obtained according to terminal attribute acquisition device, to it in step S703 The initial video file of middle acquisition is accordingly changed, to obtain corresponding target video file.
Fig. 8 be according to the method flow diagram of a preferred embodiment of the invention, show a kind of net cast service equipment and Video source device coordinates the process for realizing net cast.Specifically, in step S8011, video source device 1 obtains current straight Broadcast the program source information of program;In step S8014, video source device 1 is according to the live association attributes of the programme televised live, really The fixed preferred file attribute corresponding with the programme televised live;In step S8012, video source device 1 is according to the program Source information, according to the preferred file attribute, generates the initial video file of the programme televised live;In step S8013, depending on Frequency source device 1 provides the initial video file to net cast service equipment 2;Correspondingly, net cast service equipment 2 from Video source device 1 obtains the initial video file corresponding to current programme televised live;In step S802, net cast service is set The net cast that standby 2 acquisition user sends via mobile terminal is asked;In step S803, the basis of net cast service equipment 2 The net cast request, obtains the initial video file corresponding with net cast request;In step S804, Net cast service equipment 2 judges that the file attribute of the initial video file is with the video association attributes of the mobile terminal It is no to be consistent, when the file attribute is not consistent with the video association attributes, according to the video association attributes not being consistent to institute State initial video file accordingly to be changed, to obtain the target video file;In step S805, net cast service is set Standby 2 provide the target video file to the mobile terminal.
Wherein, in Fig. 8 the operation performed in step S8011, step S8012 and step S8013 of video source device 1 with The operation performed in step S7011, step S7012 and step S7013 of video source device 1 is identical or essentially identical in Fig. 7, For simplicity, it is incorporated herein, is not repeating by reference.
In step S7014, video source device 1 according to the live association attributes of current programme televised live, it is determined that with it is described The corresponding preferred file attribute of programme televised live.In step S7012, video source device 1 is according to the section of the programme televised live Mesh source information, according to its corresponding preferred file attribute, generates the initial video file of the programme televised live.Here, described Live association attributes includes but is not limited to the file category of any initial video file with programme televised live for being applicable to the present invention Property related attribute, the program category of programme televised live, live time etc..For example, current live program is ball match, the program The media file format that customer mobile terminal is supported under type mostly MOV, then video source device 1 determine current programme televised live Corresponding preferred file attribute is MOV, i.e., the media file format of the initial video file corresponding to the programme televised live should For MOV;Video source device 1, according to MOV forms, generates corresponding initial video text according to the video source and audio-source of the ball match Part.Those skilled in the art will be understood that above-mentioned live association attributes and determine programme televised live corresponding to preferred file The mode of attribute is only for example, and other existing or live association attributeses being likely to occur from now on or determination programme televised live institute are right The mode for the preferred file attribute answered such as is applicable to the present invention, should also be included within the scope of the present invention, and to draw It is incorporated herein with mode.
Preferably, the live association attributes includes but is not limited to, below any one of at least:
1) program category of the programme televised live;
2) the live time of the programme televised live;
3) statistical information of the video association attributes of the mobile terminal corresponding to the programme televised live.
Specifically, 1) customer mobile terminal of the video source device 1 according to corresponding to the different program categories of programme televised live The statistical information of video association attributes, determines the preferred file attribute corresponding to the programme televised live of respective program type.2) regard The video correlation category of customer mobile terminal of the frequency source device 1 according to belonging to the live time of programme televised live corresponding to the live period The statistical information of property, determines the preferred file attribute corresponding to the programme televised live of respective live time.3) video source device 1 According to the statistical information of the video association attributes of the customer mobile terminal of the current accessed programme televised live, determine that programme televised live institute is right The preferred file attribute answered.Here, video source device 1 can be obtained from net cast service equipment 2 or other third party devices The video association attributes of relative users mobile terminal is taken, to be counted, so that it is determined that the preferred text corresponding to programme televised live Part attribute;Regarding for relative users mobile terminal can also be obtained directly from net cast service equipment 2 or other third party devices The statistical information of frequency association attributes, to determine the preferred file attribute corresponding to programme televised live.Those skilled in the art should be able to Understand, the mode of the preferred file attribute corresponding to above-mentioned live association attributes and determination programme televised live is only for example, its His existing or live association attributes for being likely to occur from now on determines preferred file attribute corresponding to programme televised live Mode is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Wherein, net cast service equipment 2 is held in step S801, step S802, step S803 and step S805 in Fig. 8 Net cast service equipment 2 is performed by step S501, step S502, step S503 and step S505 in capable operation and Fig. 5 Operation it is identical or essentially identical, for simplicity, be incorporated herein, do not repeating by reference.
In step S804, net cast service equipment 2 judges its initial video file obtained in step S803 Whether file attribute is consistent with the video association attributes of customer mobile terminal, when the file attribute and the video association attributes When not being consistent, the initial video file is accordingly changed according to the video association attributes not being consistent, it is corresponding to obtain Target video file.Here, the judgement operation performed in step S804 of net cast service equipment 2, corresponding obtaining After judged result, according only to the video association attributes not being consistent, initial video file is changed, unnecessary turn is reduced Change this into, improve the efficiency of net cast service.For example, the coded format of initial video file be video H.264, audio AAC, media file format is ASF, and the media file format that customer mobile terminal is supported is MP4, the media file format pair The coded format answered also for video H.264, audio A AC, then net cast service equipment 2 determine both media file format not It is consistent, and the media file format supported according to the mobile terminal, i.e. MP4, row format conversion is entered to the initial video file, To obtain target video file of the corresponding media file format as MP4.
In a preferred embodiment of process shown in Fig. 8, the process also includes step S806, in step S806, depending on Frequency direct broadcast service equipment 2 obtains the video association attributes of customer mobile terminal;In step S804, net cast service equipment 2 Judging the video association attributes of the file attribute and the mobile terminal of its initial video file obtained in step S803 is It is no to be consistent, when the file attribute is not consistent with the video association attributes, according to the video association attributes not being consistent to institute State initial video file accordingly to be changed, to obtain corresponding target video file.
Wherein, the net cast service in the content and Fig. 6 of performed operation in step S806 of net cast service equipment 2 Equipment 2 is identical or essentially identical in the content operated performed by step S606, for simplicity, is incorporated herein by reference, Repeat no more.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (9)

1. a kind of net cast method, wherein, this method comprises the following steps:
- video source device obtains the program source information of current programme televised live;
- video source device is according to the program source information, according to predetermined file attribute, generates the initial of the programme televised live and regards Frequency file, wherein, the file attribute is determined according to the live association attributes of the programme televised live;
Wherein, the live association attributes includes following at least any one:
The program category of-the programme televised live;
The live time of-programme televised live;
The statistics of attributes information of mobile terminal corresponding to the-programme televised live;
- video source device provides the initial video file to net cast service equipment, the net cast service equipment Constitute CDN or P2P networks;
Wherein, this method is further comprising the steps of:
A net casts service equipment obtains the net cast request to the programme televised live that user sends via mobile terminal;
B net casts service equipment is asked according to the net cast and the address information of the mobile terminal is corresponding to obtain Initial video file;
C net casts service equipment enters according to the video association attributes of the mobile terminal to acquired initial video file The corresponding conversion of row, to obtain the target video file corresponding with the video association attributes;
D net casts service equipment provides the target video file to the mobile terminal.
2. according to the method described in claim 1, wherein, in the net cast equipment end,
Wherein, the step a is specifically included:
At least one node in the-direct broadcast service equipment obtain user via mobile terminal send to the programme televised live Net cast request;
Wherein, the step b is specifically included:
- described at least one node asked according to the net cast and the mobile terminal address information, determine described straight Broadcast the nearest node in service equipment, with by the corresponding initial video file of acquisition;
Wherein, the step c is specifically included:
- the nearest node carries out phase according to the video association attributes of the mobile terminal to acquired initial video file It should change, to obtain the target video file corresponding with the video association attributes;
Wherein, the step d is specifically included:
- the nearest node provides the target video file to the mobile terminal.
3. according to the method described in claim 1, wherein, the file attribute include it is following any one of at least:
The coded format of-initial video the file;
The code check of-initial video the file;
The media file format of-initial video the file.
4. according to the method described in claim 1, wherein, the step c is specifically included:
- net cast service equipment judges the file attribute of initial video file category related to the video of the mobile terminal Whether property is consistent;
- when the file attribute is not consistent with the video association attributes, net cast service equipment is according to regarding for not being consistent Frequency association attributes, is accordingly changed to acquired initial video file, to obtain the target video file.
5. method according to any one of claim 1 to 4, wherein, the video association attributes is at least appointed including following One:
The media file format that-the mobile terminal is supported;
The screen resolution of-the mobile terminal;
The speed of the access network of-mobile terminal.
6. a kind of video living transmission system, the system includes video source device and net cast service equipment, the net cast clothes Equipment of being engaged in composition CDN or P2P networks,
Wherein, the video source device includes:
Program source acquisition device, the program source information of current programme televised live for obtaining;
Original document generating means, for according to the program source information, according to predetermined file attribute, generate the live section Purpose initial video file, wherein, the file attribute is determined according to the live association attributes of the programme televised live;
Wherein, the live association attributes includes following at least any one:
The program category of-the programme televised live;
The live time of-programme televised live;
The statistics of attributes information of mobile terminal corresponding to the-programme televised live;
Original document provides device, for the initial video file to be provided to net cast service equipment;
Wherein, at least one in the net cast service equipment includes:
Initial video acquisition device, for obtaining the initial video file from the video source device;
Live acquisition request device, please for obtaining the net cast to the programme televised live that user sends via mobile terminal Ask;
Live request responding device, phase is obtained for the address information according to net cast request and the mobile terminal The initial video file answered;
Initial video conversion equipment, for the video association attributes according to the mobile terminal, to acquired initial video text Part is accordingly changed, to obtain the target video file corresponding with the video association attributes;
Target video provides device, for the target video file to be provided to the mobile terminal.
7. system according to claim 6, wherein, the file attribute includes following at least any one:
The coded format of-initial video the file;
The code check of-initial video the file;
The media file format of-initial video the file.
8. system according to claim 6, the initial video conversion equipment specifically for:
- judge whether the file attribute of the initial video file is consistent with the video association attributes of the mobile terminal;
- when the file attribute is not consistent with the video association attributes, according to the video association attributes not being consistent, to being obtained The initial video file taken is accordingly changed, to obtain the target video file.
9. the system according to any one of claim 6 to 8, wherein, the video association attributes is at least appointed including following One:
The media file format that-the mobile terminal is supported;
The screen resolution of-the mobile terminal;
The speed of the access network of-mobile terminal.
CN201110197515.1A 2011-07-14 2011-07-14 A kind of net cast method and apparatus Expired - Fee Related CN102883216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110197515.1A CN102883216B (en) 2011-07-14 2011-07-14 A kind of net cast method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110197515.1A CN102883216B (en) 2011-07-14 2011-07-14 A kind of net cast method and apparatus

Publications (2)

Publication Number Publication Date
CN102883216A CN102883216A (en) 2013-01-16
CN102883216B true CN102883216B (en) 2017-10-10

Family

ID=47484322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110197515.1A Expired - Fee Related CN102883216B (en) 2011-07-14 2011-07-14 A kind of net cast method and apparatus

Country Status (1)

Country Link
CN (1) CN102883216B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573826A (en) * 2013-10-15 2015-04-29 星闻互动媒体有限公司 On-line real-time video watching reservation system
WO2016000151A1 (en) * 2014-06-30 2016-01-07 华为技术有限公司 Video delivery method, device and system
CN104333765B (en) * 2014-10-23 2018-04-10 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing unit of net cast stream
CN105791975A (en) * 2014-12-26 2016-07-20 上海百事通信息技术股份有限公司 Multi-screen interactive streaming media platform and system
CN104639949B (en) * 2015-03-03 2018-07-06 腾讯科技(深圳)有限公司 A kind of video source cut-in method and device
CN105872572A (en) * 2015-12-14 2016-08-17 乐视云计算有限公司 Live broadcast video processing method and device
CN106341694B (en) * 2016-08-29 2019-08-02 广州华多网络科技有限公司 A kind of method and apparatus obtaining live streaming operation data
CN107968948A (en) * 2016-10-19 2018-04-27 北京新唐思创教育科技有限公司 Online Video playback method and system
CN108243153B (en) * 2016-12-23 2019-03-12 视联动力信息技术股份有限公司 A kind of method and apparatus playing TV programme in view networking
CN108259948B (en) * 2018-03-30 2020-12-15 武汉斗鱼网络科技有限公司 Method and device for playing live broadcast audio and video, computer and storage medium
CN108924609B (en) * 2018-07-13 2021-06-29 广州虎牙信息科技有限公司 Streaming media data transmission method, electronic equipment, device and storage medium
CN109218756A (en) * 2018-09-28 2019-01-15 广州市协衡网络科技有限公司 A kind of order method of camera shooting and video, device, server and storage medium
CN109548060B (en) * 2018-12-29 2022-05-13 广州敬信药草园信息科技有限公司 Processing method for abnormal disconnection of recorded broadcast network
CN110139113B (en) * 2019-04-30 2021-05-14 腾讯科技(深圳)有限公司 Transmission parameter distribution method and device for video resources
CN111107393A (en) * 2019-11-29 2020-05-05 视联动力信息技术股份有限公司 Video transcoding method, transcoder, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909509A (en) * 2006-07-19 2007-02-07 华为技术有限公司 System, method and user terminal for realizing video live broadcast in media distributing network
CN101068186A (en) * 2007-06-05 2007-11-07 华为技术有限公司 Customer end node network topological structure method and stream media distributing system
CN101282281A (en) * 2007-04-03 2008-10-08 华为技术有限公司 Medium distributing system and apparatus as well as flow medium play method
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN101945096A (en) * 2010-07-13 2011-01-12 上海未来宽带技术及应用工程研究中心有限公司 Video live broadcast system facing to set-top box and PC of mobile phone and working method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191242B1 (en) * 2000-06-22 2007-03-13 Apple, Inc. Methods and apparatuses for transferring data
CN100421469C (en) * 2005-12-23 2008-09-24 华为技术有限公司 System and method for realizing video frequency information sharing
CN101184195B (en) * 2007-12-25 2010-04-14 腾讯科技(深圳)有限公司 Audio/video living broadcast system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909509A (en) * 2006-07-19 2007-02-07 华为技术有限公司 System, method and user terminal for realizing video live broadcast in media distributing network
CN101282281A (en) * 2007-04-03 2008-10-08 华为技术有限公司 Medium distributing system and apparatus as well as flow medium play method
CN101068186A (en) * 2007-06-05 2007-11-07 华为技术有限公司 Customer end node network topological structure method and stream media distributing system
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN101945096A (en) * 2010-07-13 2011-01-12 上海未来宽带技术及应用工程研究中心有限公司 Video live broadcast system facing to set-top box and PC of mobile phone and working method thereof

Also Published As

Publication number Publication date
CN102883216A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102883216B (en) A kind of net cast method and apparatus
CN110012300B (en) Video live broadcasting method and device
CN105814901B (en) The method and apparatus for measuring and monitoring the exposure of Streaming Media
CN102546608B (en) For synchronously playing the method for media information, device, equipment and system
CN102857794B (en) A kind of method and apparatus for being used to merge video segmentation
CN101714154B (en) Method for carrying out interactive operation on server by utilizing comprehensive identification equipment
CN102883185A (en) Video-on-demand method and equipment thereof
CN104322030B (en) For arranging the method, apparatus and system of media recording via hand-held device
CN103200430A (en) Personal content sharing method, system, server and terminal devices
CN102694831B (en) Mobile terminal streaming compensation data method and system, content distributing network
CN105187950B (en) A kind of method, apparatus and system that video file plays
CN101715104B (en) Network interaction reading system and method for user and content management
CN102404567A (en) System and method for transcoding network monitoring video in real time according to need
CN108810657B (en) Method and system for setting video cover
CN103581698A (en) Terminal device and video data releasing method
KR101638315B1 (en) System and method for providing advertisement based on web using wifi network
CN106817587B (en) Video stream generating/sharing method and system, terminal device and server cluster
CN109451326A (en) A kind of methods of exhibiting, device, server and the storage medium of main broadcaster's information
CN106303553A (en) A kind of network direct broadcasting plateform system
KR20140061295A (en) Method for image playback verification
CN101834856B (en) High-immersion virtual travel roaming interaction method and system
CN107734350A (en) Live broadcast system and live broadcasting method
CN103167327A (en) Method, device and system of information interaction
JP2014060678A (en) Cache distribution apparatus, cache distribution program, and content distribution system
CN106412106B (en) Message sending method and device

Legal Events

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

Granted publication date: 20171010

Termination date: 20210714