CN107872734A - Stream media information is watched and live method and apparatus - Google Patents
Stream media information is watched and live method and apparatus Download PDFInfo
- Publication number
- CN107872734A CN107872734A CN201610848161.5A CN201610848161A CN107872734A CN 107872734 A CN107872734 A CN 107872734A CN 201610848161 A CN201610848161 A CN 201610848161A CN 107872734 A CN107872734 A CN 107872734A
- Authority
- CN
- China
- Prior art keywords
- viewing
- live
- terminal
- streaming media
- media server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/633—Control signals issued by server directed to the network components or client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/637—Control signals issued by the client directed to the server or network components
- H04N21/6373—Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
- H04N21/64792—Controlling the complexity of the content stream, e.g. by dropping packets
Abstract
The invention discloses a kind of viewing of stream media information and live method and apparatus, wherein, stream media information viewing method includes:The playing request that viewing terminal is sent is received, wherein, playing request includes:Play the address information of mark and viewing terminal;The area of viewing terminal ownership is determined according to the address information of viewing terminal, and determines to include multiple streaming media servers with playing the corresponding streaming medium content of mark in area;According to the data transfer index of multiple streaming media servers, it is determined that corresponding with viewing terminal watch streaming media server;The viewing address information of viewing streaming media server is sent to viewing terminal, so that viewing terminal obtains streaming medium content from viewing streaming media server.Thus, streaming media server is selected according to data transfer index, optimizes the system of selection of streaming media server, realize the high efficiency of transmission of data.
Description
Technical field
The present invention relates to technical field of data transmission, more particularly to a kind of viewing of stream media information and live method and dress
Put.
Background technology
Streaming Media refers to the media formats played by the way of stream transmission, is that in chronological sequence order transmits on network
With continuant/video data stream of broadcasting.Streaming Media is mainly characterized by using stream transmission, and real-time streaming transport is to realize streaming
A kind of mode of transmission.Net cast just employs real time flow medium technology.
Video living transmission system refers to carry out using internet and stream media technology live, and streaming media server is net cast
An indispensable part in system, streaming media server can provide access service end to end for net cast, to meet
The real-time high concurrent of live middle audio and video data streams, different regions even areal can many streaming media services of distributed arrangement
Device, generally the live base station offer service for realizing that plug-flow meeting chosen distance is nearest, in real time sets pushing video streaming to end
Available user watches.
However, under application scenes, limited by the various conditions of Internet Service Provider and live end equipment, just
Data, services that the streaming media server closely selected is provided are it is possible that phenomena such as interim card, packet loss, delay.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technical problem to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of stream media information viewing method,
Second object of the present invention is to propose a kind of stream media information live broadcasting method.
Third object of the present invention is to propose a kind of stream media information viewing apparatus.
Fourth object of the present invention is to propose a kind of stream media information live broadcast device.
To achieve these goals, first aspect present invention embodiment proposes a kind of stream media information viewing method, bag
Include following steps:
The playing request that viewing terminal is sent is received, wherein, the playing request includes:Play mark and the viewing eventually
The address information at end;
The area of the viewing terminal ownership is determined according to the address information of the viewing terminal, and is determined in the area
Include multiple streaming media servers with the broadcasting corresponding streaming medium content of mark;
According to the data transfer index of the multiple streaming media server, it is determined that viewing stream corresponding with the viewing terminal
Media server;
The viewing address information of the viewing streaming media server is sent to the viewing terminal, so as to the viewing terminal
The streaming medium content is obtained from the viewing streaming media server.
The stream media information viewing method of the embodiment of the present invention, the sight of viewing streaming media server is being sent to viewing terminal
See after address information, the broadcasting daily record of viewing terminal offer, and the live daily record that live terminal provides, and root can be also provided
According to daily record and live log acquisition data transfer index corresponding with viewing streaming media server is played, so as to which data transfer is referred to
Mark is compared with data transfer index corresponding to other regional streaming media servers, to send the choosing of the viewing terminal of playing request
Select this viewing streaming media server.Thus, taken according to the good Streaming Media of broadcasting daily record and live log acquisition data target
Be engaged in device as this viewing streaming media server, further optimize to watch streaming media server selection, realize for
Family provides more preferably viewing experience.
In addition, the stream media information viewing method of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, in the data transfer index according to the multiple streaming media server, it is determined that with the viewing terminal pair
Before the viewing streaming media server answered, in addition to:
According to the device identification queries static data target database of the multiple streaming media server, obtain the multiple
The data transfer index of streaming media server.
Alternatively, determine to include and the multiple streams for playing the corresponding streaming medium content of mark in the area described
After media server, in addition to:
According to the address information of the viewing terminal and the address information of the multiple streaming media server, from the multiple
The multiple candidate's streaming media services of the distance between described viewing terminal within a preset range are filtered out in streaming media server
Device;
The data transfer index according to the multiple streaming media server, it is determined that corresponding with the viewing terminal see
Streaming media server is seen, including:
According to the data transfer index of the multiple candidate's streaming media server, it is determined that corresponding with the viewing terminal see
See streaming media server.
Alternatively, the area of the viewing terminal ownership is determined in the address information according to the viewing terminal
Before, in addition to:
Authentication request is sent to the viewing terminal;
The identity information that the viewing terminal provides is received, the identity information is entered according to the checking information prestored
Row matching, to determine whether the identity of the viewing terminal is legal.
Alternatively, after the viewing address information of the viewing streaming media server is sent to the viewing terminal, also
Including:
The broadcasting daily record that the viewing terminal provides, and the live daily record that live terminal provides are obtained, wherein, it is described straight
Terminal is broadcast to upload and the broadcasting corresponding streaming medium content of mark to the viewing streaming media server;
Passed according to the broadcasting daily record and live log acquisition data corresponding with the viewing streaming media server
Defeated index, so as to which data transfer index data transfer index corresponding with described other streaming media servers of area is carried out
Compare, to send the viewing terminal of playing request selection viewing streaming media server.
Alternatively, the broadcasting daily record includes:The network state of viewing terminal, the turn-on time of viewing terminal, Yi Jiguan
See the data packetloss rate of terminal;
The live daily record includes:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity.
Alternatively, it is described to the viewing terminal send it is described viewing streaming media server viewing address information it
Afterwards, in addition to:
The data transfer index of each streaming media server is monitored in real time, if other include the stream matchmaker of the streaming medium content
The data transfer index of body server is better than the viewing streaming media server, then will viewing stream corresponding with the viewing terminal
Media server switches to other streaming media servers.
To achieve these goals, second aspect of the present invention embodiment proposes a kind of stream media information live broadcasting method, bag
Include following steps:
The live request that live terminal is sent is received, wherein, the live request includes:The address letter of the live terminal
Breath;
The area of the live terminal attaching is determined according to the address information of the live terminal, and according in the area
The data transfer index of streaming media server, it is determined that live broadcast stream media server corresponding with the live terminal;
The collection notice that the live address information comprising the live broadcast stream media server is sent to the live terminal disappears
Breath, so that the live terminal uploads to gathered data in the live broadcast stream media server.
The stream media information live broadcasting method of the embodiment of the present invention, receive the address for including live terminal that live terminal is sent
The live request of information, determines the area of live terminal attaching according to the address information of live terminal, and according to flowing matchmaker in area
The data transfer index of body server, it is determined that live broadcast stream media server corresponding with live terminal, and then sent out to live terminal
The collection notification message of the live address information comprising live broadcast stream media server is sent, so that live terminal uploads gathered data
Into live broadcast stream media server.Thus, streaming media server is selected according to data transfer index, optimizes streaming media server
System of selection, realize the high efficiency of transmission of data.
In addition, the stream media information live broadcasting method of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, according to it is described area in streaming media server data transfer index, it is determined that with the live terminal
Before corresponding live broadcast stream media server, in addition to:
According to the device identification queries static data target database of each streaming media server in the area, described in acquisition
The data transfer index of each streaming media server.
Alternatively, the area of the live terminal attaching is determined in the address information according to the live terminal
Afterwards, in addition to:
According to the address information of the live terminal and the address information of each streaming media server, taken from each Streaming Media
The multiple candidate's streaming media servers of the distance between described live terminal within a preset range are filtered out in business device;
The data transfer index according to streaming media server in the area, it is determined that corresponding with the live terminal
Live broadcast stream media server, including:
According to the data transfer index of the multiple candidate's streaming media server, it is determined that corresponding with the live terminal straight
Broadcasting flow-medium server.
Alternatively, the collection of the live address information comprising the live broadcast stream media server is sent to the live terminal
Notification message, including:
The address for including the live broadcast stream media server is sent to the long connection server being connected with the live terminal
The collection notification message of information, so that the long connection server notifies the live data acquisition of terminal and uploaded to described straight
In broadcasting flow-medium server.
Alternatively, lead in the collection for sending the address information comprising the live broadcast stream media server to the live terminal
After knowing message, in addition to:
The live daily record that the live terminal provides, and the broadcasting daily record that viewing terminal provides are obtained, wherein, the sight
See that terminal obtains streaming medium content corresponding with the gathered data from the live broadcast stream media server;
Passed according to the broadcasting daily record and live log acquisition data corresponding with the live broadcast stream media server
Defeated index, so as to which data transfer index data transfer index corresponding with described other streaming media servers of area is carried out
Compare, live broadcast stream media server is selected to send the live terminal of live request.
Alternatively, the broadcasting daily record includes:The network state of viewing terminal, the turn-on time of viewing terminal, Yi Jiguan
See the data packetloss rate of terminal;
The live daily record includes:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity.
To achieve these goals, third aspect present invention embodiment proposes a kind of stream media information viewing apparatus, bag
Include:
First receiving module, for receiving the playing request of viewing terminal transmission, wherein, the playing request includes:Broadcast
Put the address information of mark and the viewing terminal;
First determining module, for determining the ground of the viewing terminal ownership according to the address information of the viewing terminal
Area, and determine to include multiple streaming media servers with the broadcasting corresponding streaming medium content of mark in the area;
Second determining module, for the data transfer index according to the multiple streaming media server, it is determined that with the sight
See viewing streaming media server corresponding to terminal;
First sending module, the viewing address for sending the viewing streaming media server to the viewing terminal are believed
Breath, so that the viewing terminal obtains the streaming medium content from the viewing streaming media server.
The stream media information viewing apparatus of the embodiment of the present invention, the sight of viewing streaming media server is being sent to viewing terminal
See after address information, the broadcasting daily record of viewing terminal offer, and the live daily record that live terminal provides, and root can be also provided
According to daily record and live log acquisition data transfer index corresponding with viewing streaming media server is played, so as to which data transfer is referred to
Mark is compared with data transfer index corresponding to other regional streaming media servers, to send the choosing of the viewing terminal of playing request
Select this viewing streaming media server.Thus, taken according to the good Streaming Media of broadcasting daily record and live log acquisition data target
Be engaged in device as this viewing streaming media server, further optimize to watch streaming media server selection, realize for
Family provides more preferably viewing experience.
In addition, the stream media information viewing apparatus of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, in addition to:
First acquisition module, for the device identification queries static data target number according to the multiple streaming media server
According to storehouse, the data transfer index of the multiple streaming media server is obtained.
Alternatively, in addition to:
First screening module, for the address information according to the viewing terminal and the ground of the multiple streaming media server
Location information, the distance between described viewing terminal within a preset range more are filtered out from the multiple streaming media server
Individual candidate's streaming media server;
Second determining module is used for the data transfer index according to the multiple candidate's streaming media server, it is determined that with
Viewing streaming media server corresponding to the viewing terminal.
Alternatively, in addition to:
Second sending module, for sending authentication request to the viewing terminal;
Second receiving module, the identity information provided for receiving the viewing terminal;
3rd determining module, for being matched according to the checking information prestored to the identity information, to determine
Whether the identity of the viewing terminal is legal.
Alternatively, in addition to:
Second acquisition module, the broadcasting daily record provided for obtaining the viewing terminal, and live terminal provide straight
Daily record is broadcast, wherein, the live terminal uploads and the broadcasting corresponding Streaming Media of mark to the viewing streaming media server
Content;
3rd acquisition module, for according to the broadcasting daily record and the live log acquisition and the viewing Streaming Media clothes
Data transfer index corresponding to business device, so as to which the data transfer index is corresponding with other described regional streaming media servers
Data transfer index is compared, to send the viewing terminal of playing request selection viewing streaming media server.
Alternatively, the broadcasting daily record includes:The network state of viewing terminal, the turn-on time of viewing terminal, Yi Jiguan
See the data packetloss rate of terminal;
The live daily record includes:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity.
Alternatively, in addition to:
Monitoring module, for monitoring the data transfer index of each streaming media server in real time;
Handover module, the data transfer index of the streaming media server for including the streaming medium content at other are better than
During the viewing streaming media server, viewing streaming media server corresponding with the viewing terminal is switched into other Streaming Medias
Server.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of stream media information live broadcast device, bag
Include:
3rd receiving module, the live request sent for receiving live terminal, wherein, the live request includes:Institute
State the address information of live terminal;
4th determining module, for determining the ground of the live terminal attaching according to the address information of the live terminal
Area;
5th determining module, for according to it is described area in streaming media server data transfer index, it is determined that with it is described
Live broadcast stream media server corresponding to live terminal;
3rd sending module, for sending the live address for including the live broadcast stream media server to the live terminal
The collection notification message of information, so that the live terminal uploads to gathered data in the live broadcast stream media server.
The stream media information live broadcast device of the embodiment of the present invention, receive the address for including live terminal that live terminal is sent
The live request of information, determines the area of live terminal attaching according to the address information of live terminal, and according to flowing matchmaker in area
The data transfer index of body server, it is determined that live broadcast stream media server corresponding with live terminal, and then sent out to live terminal
The collection notification message of the live address information comprising live broadcast stream media server is sent, so that live terminal uploads gathered data
Into live broadcast stream media server.Thus, streaming media server is selected according to data transfer index, optimizes streaming media server
System of selection, realize the high efficiency of transmission of data.
In addition, the stream media information live broadcast device of the embodiment of the present invention, also has technical characteristic additional as follows:
Alternatively, in addition to:
4th acquisition module, for being referred to according to the device identification queries static data of each streaming media server in the area
Database is marked, obtains the data transfer index of each streaming media server.
Alternatively, in addition to:
Second screening module, believe for the address of the address information according to the live terminal and each streaming media server
Breath, filters out the multiple candidates of the distance between described live terminal within a preset range from each streaming media server
Streaming media server;
5th determining module is used for the data transfer index according to the multiple candidate's streaming media server, it is determined that with
Live broadcast stream media server corresponding to the live terminal.
Alternatively, the 3rd sending module includes:
The address for including the live broadcast stream media server is sent to the long connection server being connected with the live terminal
The collection notification message of information, so that the long connection server notifies the live data acquisition of terminal and uploaded to described straight
In broadcasting flow-medium server.
Alternatively, in addition to:
What the 5th acquisition module, the live daily record provided for obtaining the live terminal, and viewing terminal provided broadcasts
Daily record is put, wherein, the viewing terminal obtains Streaming Media corresponding with the gathered data from the live broadcast stream media server
Content;
6th acquisition module, for being taken according to the broadcasting daily record and the live log acquisition with the live broadcast stream media
Data transfer index corresponding to business device, so as to which the data transfer index is corresponding with other described regional streaming media servers
Data transfer index is compared, and live broadcast stream media server is selected to send the live terminal of live request.
Alternatively, the broadcasting daily record includes:The network state of viewing terminal, the turn-on time of viewing terminal, Yi Jiguan
See the data packetloss rate of terminal;
The live daily record includes:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of stream media information viewing method according to an embodiment of the invention;
Fig. 2 is the flow chart of stream media information viewing method in accordance with another embodiment of the present invention;
Fig. 3 is the embodiment of stream media information live broadcasting method according to an embodiment of the invention;
Fig. 4 is the flow chart of the live method of stream media information in accordance with another embodiment of the present invention;
Fig. 5 is the structural representation of stream media information viewing apparatus according to an embodiment of the invention;
Fig. 6 is the structural representation of stream media information viewing apparatus in accordance with another embodiment of the present invention;
Fig. 7 is the structural representation according to the stream media information viewing apparatus of another embodiment of the invention
Fig. 8 is the structural representation according to the stream media information viewing apparatus of further embodiment of the present invention;
Fig. 9 is the structural representation according to the stream media information viewing apparatus of a still further embodiment of the present invention;
Figure 10 is the structural representation of stream media information live broadcast device according to an embodiment of the invention;
Figure 11 is the structural representation of stream media information live broadcast device in accordance with another embodiment of the present invention;
Figure 12 is the structural representation according to the stream media information live broadcast device of another embodiment of the invention;And
Figure 13 is the structural representation according to the stream media information live broadcast device of further embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the stream media information viewing of the embodiment of the present invention and live method and apparatus are described.
It should be noted that streaming media server is provided which data, services for viewing end and live end, for the ease of describing,
It is divided into stream media information viewing in the embodiment of the present invention and live two aspect of stream media information illustrates.
Below with reference to the accompanying drawings stream media information viewing method embodiment is described:
Fig. 1 is the flow chart of stream media information viewing method according to an embodiment of the invention.
As shown in figure 1, the stream media information viewing method may include:
S110, the playing request that viewing terminal is sent is received, wherein, playing request includes:Play mark and viewing terminal
Address information.
Generally, when pushing stream media information to viewing user, nearby principle can be based on, chosen distance viewing user is nearest
Streaming media server provide the user the service of propelling data.
However, due under application scenes, being limited by the condition such as Internet Service Provider and live end equipment, just
The streaming media server closely selected is possible to not be that preferably, the streaming media server selected nearby may provide data
When service, there is phenomena such as interim card, packet loss and delay.
In order to solve the above problems, the present invention proposes a kind of stream media information viewing method, according to the property of data transfer
Streaming media server can be selected, optimizes the system of selection of streaming media server, realizes the high efficiency of transmission of data.
Specifically, in practical implementation, the playing request that viewing terminal is sent is received, playing request, which includes playing, to be marked
Know the address information with viewing terminal, wherein, the audio, video data that mark corresponds to viewing terminal request is played, viewing terminal
Address information is the geographical location information belonging to viewing terminal.
S120, according to the address information of viewing terminal determine viewing terminal belong to area, and determine in area include with
Play multiple streaming media servers of streaming medium content corresponding to mark.
Specifically, after the address information of viewing terminal is obtained, viewing terminal is determined according to the address information of viewing terminal
The area of ownership, and the streaming media server for the streaming medium content asked comprising viewing terminal is filtered out in this area, i.e., really
Determine to include multiple streaming media servers with playing the corresponding streaming medium content of mark in this area.
For example, if determining that viewing terminal belongs to A areas according to the address information of viewing terminal, in A areas
It is interior to determine comprising multiple streaming media servers with playing the corresponding streaming medium content of mark.
Preferably, in order to economize on resources, the efficiency of selection streaming media server is improved, it is determined that being included in this area with broadcasting
During putting multiple streaming media servers of streaming medium content corresponding to mark, nearby principle can be also taken into account, is watched in distance
In the distance range of terminal relative close, determine comprising multiple streaming media services with playing the corresponding streaming medium content of mark
Device.
Specifically, in an embodiment of the present invention, according to the address information of viewing terminal and multiple streaming media servers
Address information, the multiple times of the distance between viewing terminal within a preset range are filtered out from multiple streaming media servers
Streaming media server is selected, is carried in order to select the higher streaming media server of data transmission performance in multiple streaming media servers
For service.
Wherein, the preset range of above-mentioned distance can demarcate according to many experiments, when streaming media server and viewing terminal
When distance is in the preset range, due to closer to the distance, the data transmission performance of streaming media server is not readily susceptible to distance
Limitation.
S130, according to the data transfer index of multiple streaming media servers, it is determined that viewing stream matchmaker corresponding with viewing terminal
Body server.
Specifically, multiple stream matchmakers with playing the corresponding streaming medium content of mark are determined in the area where viewing terminal
After body server, streaming media server is selected according to the data transmission performance of streaming media server, it is determined that corresponding with viewing terminal
Viewing streaming media server.
Specifically, the data transfer of streaming media server can be determined according to the data transfer index of streaming media server
Can, wherein, data transfer index may include that packet loss, delay etc. characterize the parameter of the data transmission performance of Streaming Media, so that will
The streaming media server that packet loss is low, delay is small is defined as corresponding with viewing terminal watching streaming media server.
It should be noted that according to the difference of concrete application scene, the data transfer index of streaming media server is obtained
Mode is different:
, can be in advance in static data achievement data storehouse as a kind of example, the equipment that stores multiple streaming media servers
Mark and corresponding data transfer index, so as to the equipment index queries static data target number according to multiple streaming media servers
According to road, to obtain the data transfer index of multiple streaming media servers.
S140, the viewing address information of viewing streaming media server is sent to viewing terminal, so that viewing terminal is from viewing
Streaming medium content is obtained in streaming media server.
Specifically, viewing terminal is being determined according to the transmission objective of multiple streaming media servers corresponding to watch Streaming Media
After server, the viewing address information of viewing streaming media server is sent to viewing terminal, for example send and watch to viewing terminal
Streaming media server URL ((Uniform Resoure Locator, uniform resource locator) information, so as to viewing terminal from
Streaming medium content is obtained in viewing streaming media server.
Preferably due in actual applications, during the work for watching streaming media server, its transmission objective is to become
Change, such as network environment when being changed into 2G networks from 4G networks of viewing streaming media server, its delay may increase.
Thus, during viewing streaming media server provides related service for viewing terminal, in order to ensure user's
Viewing experience, can also across comparison other streaming media servers data transfer index, more preferably select, then switch if it find that having
Other streaming media servers are viewing streaming media server.
Specifically, in one embodiment of the invention, the data transfer index of each streaming media server is monitored in real time,
If the data transfer index of other streaming media servers for including streaming medium content is better than viewing streaming media server, such as,
It is less than viewing streaming media server in the presence of the packet loss of other streaming media servers, then by viewing stream matchmaker corresponding with viewing terminal
Body server switches to other streaming media servers.
In summary, the stream media information viewing method of the embodiment of the present invention, receive viewing terminal transmission includes broadcasting
The playing request of the address information of mark and viewing terminal, the ground of viewing terminal ownership is determined according to the address information of viewing terminal
Area, and determine to include multiple streaming media servers with playing the corresponding streaming medium content of mark in area, and then according to multiple
The data transfer index of streaming media server, it is determined that corresponding with viewing terminal watch streaming media server, sent out to viewing terminal
The viewing address information of viewing streaming media server is sent, so that viewing terminal is obtained in Streaming Media from viewing streaming media server
Hold.Thus, streaming media server is selected according to data transfer index, optimizes the system of selection of streaming media server, realize
The high efficiency of transmission of data.
, can also comprehensive consideration in order to further improve the efficiency of selection viewing streaming media server based on above example
The live terminal corresponding with streaming media server of statistics, and viewing terminal history is live and viewing effect, select this
The secondary streaming media server that service is provided for viewing terminal.
Fig. 2 is the flow chart of stream media information viewing method in accordance with another embodiment of the present invention, as shown in Fig. 2 should
Stream media information viewing method includes:
S210, the playing request that viewing terminal is sent is received, wherein, playing request includes:Play mark and viewing terminal
Address information.
S220, authentication request is sent to viewing terminal.
Specifically, in order to ensure that the terminal for sending playing request is user's actively transmission of viewing terminal, avoid one
Under a little application scenarios, rogue program or advertising program send playing request to streaming media server so that streaming media server
The waste of flow is caused to viewing terminal transmission ad data etc., interrupts user to normal use of viewing terminal etc., can be to sight
See that terminal sends authentication information, in order to carry out the legitimate verification of identity to viewing terminal.
S230, the identity information that viewing terminal provides is received, identity information is carried out according to the checking information prestored
Matching, to determine whether the identity of viewing terminal is legal.
Specifically, checking information is prestored, the checking information may include identity information of legal viewing terminal etc..
And then the identity information that viewing terminal provides is received, identity information is carried out according to the checking information prestored
Matching, to determine whether the identity of viewing terminal is legal, the identity information only provided in viewing terminal is tested with what is prestored
When demonstrate,proving information matches, the identity for just determining the viewing terminal is legal.
S240, when the identity of viewing terminal is legal, determine what viewing terminal belonged to according to the address information of viewing terminal
Area, and determine to include multiple streaming media servers with playing the corresponding streaming medium content of mark in area.
Specifically, when the identity of viewing terminal is legal, then in order to meet the viewing demand of viewing terminal, according to viewing eventually
The home zone at end, determine to include multiple streaming media servers with playing the corresponding streaming medium content of mark in this area.
S250, the broadcasting daily record that viewing terminal provides, and the live daily record that live terminal provides are obtained, wherein, it is live
Terminal is uploaded with playing the corresponding streaming medium content of mark to viewing streaming media server.
It is appreciated that in actual applications, the viewing address information that viewing terminal provides according to viewing streaming media server
When watching streaming medium content, viewing effect is recorded, generation shows the broadcasting daily record of viewing terminal viewing effect.Accordingly
Ground, live terminal is uploaded with after the broadcasting corresponding streaming medium content of mark, recording and uploading effect to viewing streaming media server, raw
Into the live daily record for showing live terminal upload effect.
Wherein, playing daily record includes the network state of viewing terminal, the turn-on time of viewing terminal and viewing terminal
Data packetloss rate etc., live daily record include:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity etc..
So as to, can obtain comprising with play the corresponding streaming medium content of mark, it is multiple with viewing terminal areal
After streaming media server, history can be obtained and play daily record and live daily record, daily record and live daily record are played from upper with reference to the history
State and preferably streaming media server is filtered out in multiple streaming media servers.
S260, according to playing daily record and live log acquisition data transfer index corresponding with watching streaming media server,
So as to which data transfer index compared with data transfer index corresponding to other regional streaming media servers, is played to send
The viewing terminal selection viewing streaming media server of request.
Specifically, according to play daily record and live log acquisition the actual viewing of history and it is live during, broadcasting daily record
Data transfer index corresponding with viewing streaming media server with live log acquisition, is marked being included in above-mentioned area with playing
The data transfer index of multiple streaming media servers of streaming medium content corresponding to knowledge is compared, and selects preferably Streaming Media
Server is as this viewing streaming media server.
S270, the viewing address information of viewing streaming media server is sent to viewing terminal, so that viewing terminal is from viewing
Streaming medium content is obtained in streaming media server.
Specifically, the live daily record for playing daily record and being provided with live terminal that the viewing terminal of collection provides is provided,
After selecting viewing streaming media server, the viewing address information of viewing streaming media server is sent to viewing terminal, to see
See that terminal obtains corresponding streaming medium content from the viewing streaming media server.
In summary, the stream media information viewing method of the embodiment of the present invention, viewing Streaming Media is being sent to viewing terminal
After the viewing address information of server, can also obtain viewing terminal offer broadcasting daily record, and live terminal provide it is straight
Broadcast daily record, and according to playing daily record and live log acquisition data transfer index corresponding with watching streaming media server, so as to
By data transfer index compared with data transfer index corresponding to other regional streaming media servers, to send playing request
Viewing terminal select this watch streaming media server.Thus, it is good according to broadcasting daily record and live log acquisition data target
Good streaming media server further optimizes the choosing to watching streaming media server as this viewing streaming media server
Select, realize and provide the user more preferably viewing experience.
Below with reference to the accompanying drawings stream media information live broadcasting method embodiment is described:
Fig. 3 is the embodiment of stream media information live broadcasting method according to an embodiment of the invention.As shown in figure 3, the party
Method includes:
S310, the live request that live terminal is sent is received, wherein, live request includes:The address information of live terminal.
Generally, draw stream service identical with being provided to viewing user, during plug-flow service is provided for live terminal,
Nearby principle selection streaming media server can be based on.
Thus, in order to avoid based on the streaming media server for just entering principle selection, when providing plug-flow service, blocking
, packet loss and delay phenomena such as, the embodiment of the present invention proposes a kind of stream media information live broadcasting method, can be according to data transfer
Performance selection streaming media server, optimize the system of selection of streaming media server, realize the efficient reception of data.
Specifically, in practical implementation, the live request that live terminal is sent is received, live request includes live end
The address information at end, wherein, the address information of live terminal is the geographical location information belonging to live terminal.
S320, the area of live terminal attaching is determined according to the address information of live terminal, and according to Streaming Media in area
The data transfer index of server, it is determined that live broadcast stream media server corresponding with live terminal.
Specifically, after the address information of live terminal is obtained, live terminal is determined according to the address information of live terminal
The area of ownership, and then streaming media server is selected according to the data transmission performance of the streaming media server of this area, it is determined that with
Live broadcast stream media server corresponding to live terminal.
Specifically, the data transfer of streaming media server can be determined according to the data transfer index of streaming media server
Can, wherein, data transfer index may include that packet loss, delay etc. characterize the parameter of the data transmission performance of Streaming Media.
It should be noted that according to the difference of concrete application scene, the data transfer index of streaming media server is obtained
Mode is different:
, can be in advance in static data achievement data storehouse as a kind of example, the equipment that stores multiple streaming media servers
Mark and corresponding data transfer index, so as to the equipment index queries static data target number according to multiple streaming media servers
According to road, to obtain the data transfer index of multiple streaming media servers.
Preferably, in order to economize on resources, improve the efficiency of selection streaming media server, with live terminal areal
During determining live broadcast stream media server in multiple streaming media servers, nearby principle can be also taken into account, apart from live end
In the distance range for holding relative close, multiple streaming media servers are determined.
Specifically, in an embodiment of the present invention, according to the address information of live terminal and each streaming media server
Address information, the multiple candidates of the distance between live terminal within a preset range are filtered out from multiple streaming media servers
Streaming media server, in order in multiple streaming media servers, be gone out according to the data transfer index screening of streaming media server
The higher streaming media server of data transmission performance provides service.
S330, the collection notification message of the live address information comprising live broadcast stream media server is sent to live terminal,
So that live terminal uploads to gathered data in live broadcast stream media server.
Specifically, live terminal is being determined according to the transmission objective of multiple streaming media servers corresponding to live broadcast stream media
After server, the collection announcement information of the live address information comprising live broadcast stream media server is sent to live terminal, such as
The collection notification message of the URL information comprising live broadcast stream media server is sent to live terminal, so that live terminal will gather
Data are uploaded in live broadcast stream media server.
, wherein it is desired to explanation, in actual applications, what is communicated with the holding of live terminal is usually long Connection Service
Device, thus in one embodiment of the invention, can be sent to the long connection server being connected with live terminal and include live TV stream
The collection notification message of the address information of media server, so that long connection server notifies live data acquisition of terminal and uploaded
Into live broadcast stream media server.
Alternatively, in one embodiment of the invention, in order to ensure to be uploaded to the safety of the data of streaming media server,
Avoid malicious process that illegal video etc. is uploaded into streaming media server, the checking of legitimacy can be also carried out to live terminal, only
Have after checking is legal, just store the data that live terminal uploads.
In summary, the stream media information live broadcasting method of the embodiment of the present invention, including of receiving that live terminal sends are live
The live request of the address information of terminal, determines the area of live terminal attaching according to the address information of live terminal, and according to
The data transfer index of streaming media server in area, it is determined that live broadcast stream media server corresponding with live terminal, Jin Erxiang
Live terminal sends the collection notification message of the live address information comprising live broadcast stream media server, so that live terminal will adopt
Collection data are uploaded in live broadcast stream media server.Thus, streaming media server is selected according to data transfer index, optimizes stream
The system of selection of media server, realize the high efficiency of transmission of data.
, can also comprehensive consideration in order to further improve the efficiency of selection live broadcast stream media server based on above example
Corresponding with the streaming media server live terminal and viewing terminal of statistics history is live and viewing effect, select this
The streaming media server of service is provided for live terminal.
Fig. 4 is the flow chart of the live method of stream media information in accordance with another embodiment of the present invention, as shown in figure 4,
This method includes:
S410, the live request that live terminal is sent is received, wherein, live request includes:The address information of live terminal.
S420, the live daily record that live terminal provides, and the broadcasting daily record that viewing terminal provides are obtained, wherein, viewing
Terminal obtains streaming medium content corresponding with gathered data from live broadcast stream media server.
It is appreciated that in actual applications, viewing terminal obtains corresponding with gathered data from live broadcast stream media server
Streaming medium content, it is right when the viewing address information that viewing terminal provides according to viewing streaming media server watches streaming medium content
Viewing effect is recorded, and generation shows the broadcasting daily record of viewing terminal viewing effect.Correspondingly, live terminal flows matchmaker to viewing
Body server is uploaded with after the broadcasting corresponding streaming medium content of mark, recording and uploading effect, and generation shows that live terminal uploads and imitated
The live daily record of fruit.
Wherein, playing daily record includes the network state of viewing terminal, the turn-on time of viewing terminal and viewing terminal
Data packetloss rate etc., live daily record include:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity etc..
So as to determine live broadcast stream media server in multiple streaming media servers from live terminal attaching area
When, history can be obtained and play daily record and live daily record, with reference to the broadcasting daily record and live daily record from above-mentioned multiple streaming media services
Preferably streaming media server is filtered out in device.
S430, according to playing daily record and live log acquisition data transfer index corresponding with live broadcast stream media server,
So as to by data transfer index compared with data transfer index corresponding to other regional streaming media servers, it is live to send
The live terminal selection live broadcast stream media server of request.
Specifically, according to play daily record and live log acquisition the actual viewing of history and it is live during, broadcasting daily record
Data transfer index corresponding with live broadcast stream media server with live log acquisition, marked being included in above-mentioned area with playing
The data transfer index of multiple streaming media servers of streaming medium content corresponding to knowledge is compared, and selects preferably Streaming Media
Server is as this live broadcast stream media server.
S440, the collection notification message of the live address information comprising live broadcast stream media server is sent to live terminal,
So that live terminal uploads to gathered data in live broadcast stream media server.
Specifically, the live daily record for playing daily record and being provided with live terminal that the viewing terminal of collection provides is provided,
After selecting live broadcast stream media server, adopting for the live address information comprising live broadcast stream media server is sent to live terminal
Collect notification message, so that live terminal uploads to gathered data in live broadcast stream media server.
In summary, the stream media information live broadcasting method of the embodiment of the present invention, live TV stream is included being sent to live terminal
After the collection notification message of the address information of media server, the live daily record that live terminal provides is obtained, and viewing is eventually
The broadcasting daily record provided is held, in order to according to broadcasting daily record and live log acquisition data corresponding with live broadcast stream media server
Transmission objective, by by data transfer index compared with data transfer index corresponding to other regional streaming media servers,
This live broadcast stream media server is selected to send the live terminal of live request.Thus, according to broadcasting daily record and live daily record
The good streaming media server of data target is obtained as this live broadcast stream media server, is further optimized to live TV stream matchmaker
The selection of body server.
In order to realize above-described embodiment, the invention also provides a kind of stream media information viewing apparatus, Fig. 5 is according to this hair
The structural representation of the stream media information viewing apparatus of bright one embodiment, as shown in figure 5, the stream media information viewing apparatus bag
Include:First receiving module 10, the first determining module 20, the second determining module 30 and the first sending module 40.
Wherein, the first receiving module 10, for receiving the playing request of viewing terminal transmission, wherein, playing request includes:
Play the address information of mark and viewing terminal.
Specifically, the first receiving module 10 receives the playing request that viewing terminal is sent, and playing request, which includes playing, to be identified
With the address information of viewing terminal, wherein, play mark correspond to viewing terminal request audio, video data, the ground of viewing terminal
Location information is the geographical location information belonging to viewing terminal.
First determining module 20, for determining the area of viewing terminal ownership according to the address information of viewing terminal, and really
Multiple streaming media servers with playing the corresponding streaming medium content of mark are included in fixed area.
Preferably, in order to economize on resources, the efficiency of selection streaming media server is improved, the first determining module 20 was it is determined that should
During multiple streaming media servers with playing the corresponding streaming medium content of mark are included in area, it can also take into account former nearby
Then, in the distance range apart from viewing terminal relative close, determine comprising with playing the corresponding streaming medium content of mark
Multiple streaming media servers.
Specifically, Fig. 6 is the structural representation of stream media information viewing apparatus in accordance with another embodiment of the present invention, such as
Shown in Fig. 6, on the basis of as shown in Figure 5, the stream media information viewing apparatus may also include the first screening module 50.
In an embodiment of the present invention, believed according to the address of the address information of viewing terminal and multiple streaming media servers
Breath, first screening module 50 filter out the distance between viewing terminal within a preset range from multiple streaming media servers
Multiple candidate's streaming media servers, in order to which the second determining module 20 selects data transmission performance in multiple streaming media servers
Higher streaming media server provides service.
Second determining module 30, for the data transfer index according to multiple streaming media servers, it is determined that and viewing terminal
Corresponding viewing streaming media server.
It should be noted that according to the difference of concrete application scene, the data transfer index of streaming media server is obtained
Mode is different:
As a kind of example, as shown in fig. 7, on the basis of as shown in Figure 5, the stream media information viewing apparatus can also wrap
Include the first acquisition module 60.The equipment mark of multiple streaming media servers can be stored in advance in static data achievement data storehouse
Knowledge and corresponding data transfer index, so as to which the first acquisition module 60 is quiet according to the inquiry of the equipment index of multiple streaming media servers
State data target data road, to obtain the data transfer index of multiple streaming media servers.
First sending module 40, for sending the viewing address information of viewing streaming media server to viewing terminal, so as to
Viewing terminal obtains streaming medium content from viewing streaming media server.
Preferably due in actual applications, during the work for watching streaming media server, its transmission objective is to become
Change, such as network environment when being changed into 2G networks from 4G networks of viewing streaming media server, its delay may increase.
Thus, during viewing streaming media server provides related service for viewing terminal, in order to ensure user's
Viewing experience, can also across comparison other streaming media servers data transfer index, more preferably select, then switch if it find that having
Other streaming media servers are viewing streaming media server.
Fig. 8 is according to the structural representation of the stream media information viewing apparatus of further embodiment of the present invention, such as Fig. 8 institutes
Show, on the basis of as shown in Figure 5, stream media information viewing apparatus may also include monitoring module 70 and handover module 80.
Specifically, in one embodiment of the invention, monitoring module 70 monitors the number of each streaming media server in real time
According to transmission objective, if the data transfer index of other streaming media servers for including streaming medium content is better than viewing Streaming Media clothes
Business device, such as, the packet loss of other streaming media servers be present less than viewing streaming media server, handover module 80 then will be with sight
See that viewing streaming media server switches to other streaming media servers corresponding to terminal.
It should be noted that the explanation of foregoing streaming media information viewing method, is also applied for the embodiment of the present invention
The explanation of middle streaming media information viewing apparatus, its realization principle is similar, will not be repeated here.
The stream media information viewing apparatus of the embodiment of the present invention, receive viewing terminal transmission includes broadcasting mark and viewing
The playing request of the address information of terminal, the area of viewing terminal ownership is determined according to the address information of viewing terminal, and is determined
Multiple streaming media servers with playing the corresponding streaming medium content of mark are included in area, and then according to multiple streaming media services
The data transfer index of device, it is determined that corresponding with viewing terminal watch streaming media server, viewing stream matchmaker is sent to viewing terminal
The viewing address information of body server, so that viewing terminal obtains streaming medium content from viewing streaming media server.Thus, root
Streaming media server is selected according to data transfer index, the system of selection of streaming media server is optimized, realizes the efficient of data
Transmission.
, can also comprehensive consideration in order to further improve the efficiency of selection viewing streaming media server based on above example
The live terminal corresponding with streaming media server of statistics, and viewing terminal history is live and viewing effect, select this
The secondary streaming media server that service is provided for viewing terminal.
Fig. 9 is according to the structural representation of the stream media information viewing apparatus of a still further embodiment of the present invention, such as Fig. 9 institutes
Show, on the basis of as shown in Figure 5, the stream media information viewing apparatus also includes:Second sending module 90, the second receiving module
100th, the 3rd determining module 110, the second acquisition module 120 and the 3rd acquisition module 130.
Wherein, the second sending module 90, for sending authentication request to viewing terminal.
Second receiving module 100, for receiving the identity information of viewing terminal offer.
3rd determining module 110, for being matched according to the checking information prestored to identity information, to determine to see
See whether the identity of terminal is legal.
Second acquisition module 120, the broadcasting daily record provided for obtaining viewing terminal, and live terminal provide live
Daily record, wherein, live terminal is uploaded with playing the corresponding streaming medium content of mark to viewing streaming media server.
3rd acquisition module 130, for corresponding with viewing streaming media server according to daily record and live log acquisition is played
Data transfer index, so as to which data transfer index data transfer index corresponding with other regional streaming media servers is carried out
Compare, to send the viewing terminal of playing request selection viewing streaming media server.
It should be noted that the explanation of foregoing streaming media information viewing method, is also applied for the embodiment of the present invention
The explanation of middle streaming media information viewing apparatus, its realization principle is similar, will not be repeated here.
In summary, the stream media information viewing apparatus of the embodiment of the present invention, viewing Streaming Media is being sent to viewing terminal
After the viewing address information of server, can also obtain viewing terminal offer broadcasting daily record, and live terminal provide it is straight
Broadcast daily record, and according to playing daily record and live log acquisition data transfer index corresponding with watching streaming media server, so as to
By data transfer index compared with data transfer index corresponding to other regional streaming media servers, to send playing request
Viewing terminal select this watch streaming media server.Thus, it is good according to broadcasting daily record and live log acquisition data target
Good streaming media server further optimizes the choosing to watching streaming media server as this viewing streaming media server
Select, realize and provide the user more preferably viewing experience.
In order to realize above-described embodiment, the invention also provides a kind of stream media information live broadcast device, Figure 10 is according to this
The structural representation of the stream media information live broadcast device of invention one embodiment, as shown in Figure 10, the live dress of the stream media information
Put including:3rd receiving module 1000, the 4th determining module 2000, the 5th determining module 3000 and the 3rd sending module 4000.
Wherein, the 3rd receiving module 1000, the live request sent for receiving live terminal, wherein, live request bag
Include:The address information of live terminal.
4th determining module 2000, for determining the area of live terminal attaching according to the address information of live terminal.
5th determining module 3000, for the data transfer index according to streaming media server in area, it is determined that with it is live
Live broadcast stream media server corresponding to terminal.
It should be noted that according to the difference of concrete application scene, the data transfer index of streaming media server is obtained
Mode is different:
Figure 11 is the structural representation of stream media information live broadcast device in accordance with another embodiment of the present invention, such as Figure 11 institutes
Show, on the basis of as shown in Figure 10, the stream media information live broadcast device may also include the 4th acquisition module 5000.
Specifically, the device identification of multiple streaming media servers can be stored in advance in static data achievement data storehouse
With corresponding data transfer index, so as to the 4th acquisition module 5000 according to the equipment index of multiple streaming media servers inquire about it is quiet
State data target data road, to obtain the data transfer index of multiple streaming media servers.
Preferably, in order to economize on resources, improve the efficiency of selection streaming media server, with live terminal areal
During determining live broadcast stream media server in multiple streaming media servers, nearby principle can be also taken into account, apart from live end
In the distance range for holding relative close, multiple streaming media servers are determined.
Figure 12 is according to the structural representation of the stream media information live broadcast device of another embodiment of the invention, such as Figure 12 institutes
Show, on the basis of as shown in Figure 10, the stream media information live broadcast device may also include the second screening module 6000.
Specifically, in an embodiment of the present invention, the second screening module 6000 according to the address information of live terminal and
The address information of each streaming media server, the distance between live terminal is filtered out from multiple streaming media servers default
In the range of multiple candidate's streaming media servers, in order to which the 5th determining module 3000 is in multiple streaming media servers, according to
The data transfer index screening of streaming media server goes out the higher streaming media server of data transmission performance and provides service.
3rd sending module 4000, for sending the live address information for including live broadcast stream media server to live terminal
Collection notification message, so that live terminal uploads to gathered data in live broadcast stream media server.
, wherein it is desired to explanation, in actual applications, what is communicated with the holding of live terminal is usually long Connection Service
Device, thus in one embodiment of the invention, the 3rd sending module 4000 can be to the long Connection Service being connected with live terminal
Device sends the collection notification message of the address information comprising live broadcast stream media server, so that long connection server notifies live end
End gathered data is simultaneously uploaded in live broadcast stream media server.
It should be noted that the explanation of foregoing streaming media information live broadcasting method, is also applied for the embodiment of the present invention
The explanation of middle streaming media information live broadcast device, its realization principle is similar, will not be repeated here.
In summary, the stream media information live broadcast device of the embodiment of the present invention, including of receiving that live terminal sends are live
The live request of the address information of terminal, determines the area of live terminal attaching according to the address information of live terminal, and according to
The data transfer index of streaming media server in area, it is determined that live broadcast stream media server corresponding with live terminal, Jin Erxiang
Live terminal sends the collection notification message of the live address information comprising live broadcast stream media server, so that live terminal will adopt
Collection data are uploaded in live broadcast stream media server.Thus, streaming media server is selected according to data transfer index, optimizes stream
The system of selection of media server, realize the high efficiency of transmission of data.
, can also comprehensive consideration in order to further improve the efficiency of selection live broadcast stream media server based on above example
Corresponding with the streaming media server live terminal and viewing terminal of statistics history is live and viewing effect, select this
The streaming media server of service is provided for live terminal.
Figure 13 is according to the structural representation of the stream media information live broadcast device of further embodiment of the present invention, such as Figure 13 institutes
Show, on the basis of as shown in Figure 10, the stream media information live broadcast device may also include:5th acquisition module the 7000, the 6th obtains
Modulus block 8000.
Wherein, the 5th acquisition module 7000, the live daily record provided for obtaining live terminal, and viewing terminal provide
Broadcasting daily record, wherein, viewing terminal obtains corresponding with gathered data streaming medium content from live broadcast stream media server.
Wherein, playing daily record includes:The network state of viewing terminal, the turn-on time of viewing terminal and viewing terminal
Data packetloss rate.Live daily record includes:The network state of live terminal, the turn-on time of live terminal and live terminal
Data cached capacity.
6th acquisition module 8000, for corresponding with live broadcast stream media server according to broadcasting daily record and live log acquisition
Data transfer index, so as to which data transfer index data transfer index corresponding with other regional streaming media servers is carried out
Compare, live broadcast stream media server is selected to send the live terminal of live request.
It should be noted that the explanation of foregoing streaming media information live broadcasting method, is also applied for the embodiment of the present invention
The explanation of middle streaming media information live broadcast device, its realization principle is similar, will not be repeated here.
In summary, the stream media information live broadcast device of the embodiment of the present invention, live TV stream is included being sent to live terminal
After the collection notification message of the address information of media server, the live daily record that live terminal provides is obtained, and viewing is eventually
The broadcasting daily record provided is held, in order to according to broadcasting daily record and live log acquisition data corresponding with live broadcast stream media server
Transmission objective, by by data transfer index compared with data transfer index corresponding to other regional streaming media servers,
This live broadcast stream media server is selected to send the live terminal of live request.Thus, according to broadcasting daily record and live daily record
The good streaming media server of data target is obtained as this live broadcast stream media server, is further optimized to live TV stream matchmaker
The selection of body server.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changed, replacing and modification.
Claims (10)
1. a kind of stream media information viewing method, it is characterised in that comprise the following steps:
The playing request that viewing terminal is sent is received, wherein, the playing request includes:Play mark and the viewing terminal
Address information;
The area of the viewing terminal ownership is determined according to the address information of the viewing terminal, and determines to include in the area
With multiple streaming media servers of the broadcasting corresponding streaming medium content of mark;
According to the data transfer index of the multiple streaming media server, it is determined that corresponding with the viewing terminal watch Streaming Media
Server;
The viewing address information of the viewing streaming media server is sent to the viewing terminal, so that the viewing terminal is from institute
State in viewing streaming media server and obtain the streaming medium content.
2. the method as described in claim 1, it is characterised in that refer to according to the data transfer of the multiple streaming media server
Mark, it is determined that before viewing streaming media server corresponding with the viewing terminal, in addition to:
According to the device identification queries static data target database of the multiple streaming media server, the multiple stream matchmaker is obtained
The data transfer index of body server.
3. the method as described in claim 1, it is characterised in that determine to include and the broadcasting mark in the area described
After multiple streaming media servers of corresponding streaming medium content, in addition to:
According to the address information of the viewing terminal and the address information of the multiple streaming media server, from the multiple stream matchmaker
The multiple candidate's streaming media servers of the distance between described viewing terminal within a preset range are filtered out in body server;
The data transfer index according to the multiple streaming media server, it is determined that viewing stream corresponding with the viewing terminal
Media server, including:
According to the data transfer index of the multiple candidate's streaming media server, it is determined that viewing stream corresponding with the viewing terminal
Media server.
4. the method as described in claim 1, it is characterised in that determine institute in the address information according to the viewing terminal
Before the area for stating viewing terminal ownership, in addition to:
Authentication request is sent to the viewing terminal;
The identity information that the viewing terminal provides is received, according to the checking information prestored to identity information progress
Match somebody with somebody, to determine whether the identity of the viewing terminal is legal.
5. the method as described in claim 1-4 is any, it is characterised in that sending the viewing stream matchmaker to the viewing terminal
After the viewing address information of body server, in addition to:
The broadcasting daily record that the viewing terminal provides, and the live daily record that live terminal provides are obtained, wherein, the live end
Hold to the viewing streaming media server and upload and the broadcasting corresponding streaming medium content of mark;
Referred to according to the broadcasting daily record and live log acquisition data transfer corresponding with the viewing streaming media server
Mark, so as to which data transfer index data transfer index corresponding with described other streaming media servers of area is compared
Compared with to send the viewing terminal of playing request selection viewing streaming media server.
6. method as claimed in claim 5, it is characterised in that
The broadcasting daily record includes:The data of the network state of viewing terminal, the turn-on time of viewing terminal and viewing terminal
Packet loss;
The live daily record includes:The caching of the network state of live terminal, the turn-on time of live terminal and live terminal
Data capacity.
7. the method as described in claim 1-6 is any, it is characterised in that send the viewing to the viewing terminal described
After the viewing address information of streaming media server, in addition to:
The data transfer index of each streaming media server is monitored in real time, if other Streaming Medias for including the streaming medium content take
The data transfer index of business device is better than the viewing streaming media server, then corresponding with the viewing terminal will watch Streaming Media
Server switches to other streaming media servers.
8. a kind of stream media information live broadcasting method, it is characterised in that comprise the following steps:
The live request that live terminal is sent is received, wherein, the live request includes:The address information of the live terminal;
The area of the live terminal attaching is determined according to the address information of the live terminal, and matchmaker is flowed according in the area
The data transfer index of body server, it is determined that live broadcast stream media server corresponding with the live terminal;
The collection notification message of the live address information comprising the live broadcast stream media server is sent to the live terminal, with
Toilet states live terminal and uploads to gathered data in the live broadcast stream media server.
A kind of 9. stream media information viewing apparatus, it is characterised in that including:
First receiving module, for receiving the playing request of viewing terminal transmission, wherein, the playing request includes:Play mark
Know the address information with the viewing terminal;
First determining module, for determining the area of the viewing terminal ownership according to the address information of the viewing terminal, and
Determine to include multiple streaming media servers with the broadcasting corresponding streaming medium content of mark in the area;
Second determining module, for the data transfer index according to the multiple streaming media server, it is determined that with the viewing eventually
Viewing streaming media server corresponding to end;
First sending module, for sending the viewing address information of the viewing streaming media server to the viewing terminal, with
Toilet states viewing terminal and obtains the streaming medium content from the viewing streaming media server.
A kind of 10. stream media information live broadcast device, it is characterised in that including:
3rd receiving module, the live request sent for receiving live terminal, wherein, the live request includes:It is described straight
Broadcast the address information of terminal;
4th determining module, for determining the area of the live terminal attaching according to the address information of the live terminal;
5th determining module, for according to it is described area in streaming media server data transfer index, it is determined that with it is described live
Live broadcast stream media server corresponding to terminal;
3rd sending module, for sending the live address information for including the live broadcast stream media server to the live terminal
Collection notification message, so that the live terminal uploads to gathered data in the live broadcast stream media server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610848161.5A CN107872734A (en) | 2016-09-23 | 2016-09-23 | Stream media information is watched and live method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610848161.5A CN107872734A (en) | 2016-09-23 | 2016-09-23 | Stream media information is watched and live method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107872734A true CN107872734A (en) | 2018-04-03 |
Family
ID=61751606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610848161.5A Pending CN107872734A (en) | 2016-09-23 | 2016-09-23 | Stream media information is watched and live method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107872734A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966290A (en) * | 2018-07-24 | 2018-12-07 | Oppo广东移动通信有限公司 | Method for connecting network and Related product |
CN111131843A (en) * | 2018-10-31 | 2020-05-08 | 中国移动通信集团浙江有限公司 | Network live broadcast system and method |
CN112637258A (en) * | 2020-09-28 | 2021-04-09 | 西安万像电子科技有限公司 | Data processing method and system |
CN114584561A (en) * | 2022-03-15 | 2022-06-03 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
CN114710694A (en) * | 2022-04-12 | 2022-07-05 | 深圳市瑞云科技有限公司 | Distributed plug flow method in cloud game scene |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166985A (en) * | 2011-12-09 | 2013-06-19 | 上海盛霄云计算技术有限公司 | Global load balancing scheduling method and data transmission method and device and system |
CN103945198A (en) * | 2014-05-13 | 2014-07-23 | 高新兴科技集团股份有限公司 | System and method for controlling streaming media route of video monitoring system |
US9137575B2 (en) * | 2010-10-20 | 2015-09-15 | Beaumaris Networks Inc. | External network control of media services |
CN105554046A (en) * | 2014-10-29 | 2016-05-04 | 中国移动通信集团公司 | Scheduling method and apparatus of terminal request for content distribution system, and equipment |
CN105847399A (en) * | 2016-04-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Server scheduling method and device |
CN105872627A (en) * | 2015-12-15 | 2016-08-17 | 乐视云计算有限公司 | Transmission method and equipment for live data |
-
2016
- 2016-09-23 CN CN201610848161.5A patent/CN107872734A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9137575B2 (en) * | 2010-10-20 | 2015-09-15 | Beaumaris Networks Inc. | External network control of media services |
CN103166985A (en) * | 2011-12-09 | 2013-06-19 | 上海盛霄云计算技术有限公司 | Global load balancing scheduling method and data transmission method and device and system |
CN103945198A (en) * | 2014-05-13 | 2014-07-23 | 高新兴科技集团股份有限公司 | System and method for controlling streaming media route of video monitoring system |
CN105554046A (en) * | 2014-10-29 | 2016-05-04 | 中国移动通信集团公司 | Scheduling method and apparatus of terminal request for content distribution system, and equipment |
CN105872627A (en) * | 2015-12-15 | 2016-08-17 | 乐视云计算有限公司 | Transmission method and equipment for live data |
CN105847399A (en) * | 2016-04-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Server scheduling method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966290A (en) * | 2018-07-24 | 2018-12-07 | Oppo广东移动通信有限公司 | Method for connecting network and Related product |
WO2020019775A1 (en) * | 2018-07-24 | 2020-01-30 | Oppo广东移动通信有限公司 | Network connection method and related product |
CN111131843A (en) * | 2018-10-31 | 2020-05-08 | 中国移动通信集团浙江有限公司 | Network live broadcast system and method |
CN112637258A (en) * | 2020-09-28 | 2021-04-09 | 西安万像电子科技有限公司 | Data processing method and system |
CN114584561A (en) * | 2022-03-15 | 2022-06-03 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
CN114710694A (en) * | 2022-04-12 | 2022-07-05 | 深圳市瑞云科技有限公司 | Distributed plug flow method in cloud game scene |
CN114710694B (en) * | 2022-04-12 | 2023-05-30 | 深圳市瑞云科技有限公司 | Distributed plug flow method in cloud game scene |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107872734A (en) | Stream media information is watched and live method and apparatus | |
CN100556129C (en) | A kind of equity connects flow medium live system and device | |
KR100993601B1 (en) | Method of measuring similarity of digital video contents, method of managing video contents using the same and management system for video contents using the method of managing video contents | |
CN106612456A (en) | Network video playing method and system, user terminal and home stream service node | |
CN103561327B (en) | A kind of method of advertisement filter, media server, video reception terminal and system | |
CN106506391B (en) | Network traffic distribution method and router | |
CN103069826A (en) | Transmission device and method, reception device and method, and transmission/reception system | |
RU2582857C2 (en) | Method of measuring television audience | |
US9215492B2 (en) | Advertisement analysis and error correlation | |
CA3158720A1 (en) | Content segment detection and replacement | |
CN102123307B (en) | Method and system for playing programs | |
CN104584571A (en) | Generating a sequence of audio fingerprints at a set top box | |
WO2011088122A1 (en) | Systems and methods for monitoring and tracking broadcast service point usage | |
WO2015121708A1 (en) | Media content delivery using an obfuscated manifest | |
JP2017011503A (en) | Receiver, transmitter, and data processing method | |
CN104349184A (en) | Method of identification of multimedia flows and corresponding apparatus | |
JP5990363B2 (en) | Viewer personalized broadcasting and data channel content distribution system and method | |
CN105872572A (en) | Live broadcast video processing method and device | |
CN102984558A (en) | Set top box and method of playing frames in channel switching process of set top box | |
CN103929682B (en) | Method and device for setting key frames in video live broadcast system | |
CN105335437A (en) | Data processing method and apparatus | |
US20100153445A1 (en) | Scheduling recording of recommended multimedia programs | |
CN107872424B (en) | Method and device for watching and live broadcasting streaming media information | |
CN106559699A (en) | A kind of multi-screen interaction method of IPTV, server and system | |
CN106688240B (en) | For recording method, reception device, server unit and the system of video program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190626 Address after: Room A-3010, 2nd floor, No. 3 Courtyard, 30 Shixing Street, Shijingshan District, Beijing Applicant after: Beijing happy I unlimited Technology Co., Ltd. Address before: Grand Cayman Applicant before: Happy honey Company Limited |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180403 |