CN104935949B - A kind of live video data method for down loading, apparatus and system - Google Patents
A kind of live video data method for down loading, apparatus and system Download PDFInfo
- Publication number
- CN104935949B CN104935949B CN201510340892.4A CN201510340892A CN104935949B CN 104935949 B CN104935949 B CN 104935949B CN 201510340892 A CN201510340892 A CN 201510340892A CN 104935949 B CN104935949 B CN 104935949B
- Authority
- CN
- China
- Prior art keywords
- data
- destination server
- programme televised
- request
- server address
- 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.)
- Active
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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23103—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2408—Monitoring of the upstream path of the transmission network, e.g. client requests
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application discloses a kind of live video data method for down loading, apparatus and system, wherein method are as follows: program is divided into multiple sorting groups in advance, the program of different classifications group is respectively stored on different servers, and the corresponding relationship between master control server record program classification group and the server address stored is set, when receiving the programme televised live request of data comprising requested program code of client transmission, inquire corresponding relationship, determine the server address where program, and then programme televised live request of data is forwarded to the server address, or programme televised live request of data is sent from client to the server address, complete the downloading of programme televised live data.The requested program data of all clients received in the client unit time in the application, compared with the prior art, it and is not in Caton phenomenon that parsing, which is got up more convenient,.
Description
Technical field
This application involves set-top box technique fields, more specifically to a kind of live video data method for down loading, device
And device.
Background technique
Most of Android set-top box downloads live video data by the way of IP live streaming currently on the market, and passes through
Live video is broadcasted after crossing the sequence of operations such as demultiplexing, decryption, decoding.Wherein, the downloading of Android set-top box is current
The live data streams that all programme televised lives are packaged into, data volume are huge.By being parsed to live data streams after downloading, look for
The relevant information for some the specific program for wanting to see to user, plays out.
But since the data flow of downloading is huge, resolving is cumbersome, and consuming time is long.Also, in the certain feelings of bandwidth
The problem of audio, video data that some specific program is got under condition, in the unit time is less, be easy to cause live streaming Caton, influences
The experience of user.
Summary of the invention
In view of this, this application provides a kind of live video data method for down loading, device and devices, for providing one kind
Distributed direct multicast data acquisition methods, to solve the problems, such as live streaming Caton present in the prior art.
To achieve the goals above, it is proposed that scheme it is as follows:
A kind of live video data method for down loading, comprising:
The programme televised live request of data that client is sent is received, the programme televised live request of data includes that the program of request is compiled
Number;
The corresponding relationship between preset program classification group and server address is inquired, by the program where the program code
Server address corresponding to sorting group is determined as destination server address, in server corresponding with some program classification group only
Store the program-related information in the program classification group;
The destination server address is sent to client, so that client is corresponding from the destination server address
Programme televised live data are downloaded in destination server, alternatively, forwarding institute to the corresponding destination server of the destination server address
State programme televised live request of data, for the destination server by the programme televised live data-pushing of request to client.
Preferably, the destination server address has multiple, described to the corresponding target clothes of the destination server address
Business device forwards the programme televised live request of data, comprising:
The CPU usage for inquiring each destination server therefrom selects the minimum destination server of CPU usage, and
The programme televised live request of data is forwarded to it.
A kind of live video data method for down loading, comprising:
The programme televised live request of data comprising requested program code is sent to master control server, for master control clothes
Business device inquires server address corresponding to the program classification group where the program code, and it is determined as destination server
Address, wherein the program-related information in the program classification group is only stored in server corresponding with some program classification group;
The destination server address of the master control server feedback is received, and to described in destination server address transmission
Programme televised live request of data, so that the destination server address is inquired and returns to requested programme televised live data, alternatively, connecing
The programme televised live data of the corresponding destination server feedback of the destination server address are received, which is target clothes
It is engaged in after the programme televised live request of data of device reception master control server forwarding, inquires obtained programme televised live data.
Preferably, the destination server address is multiple, described to send the live streaming to the destination server address
Program data request, comprising:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download
Higher than preset value, then programme televised live data directly are downloaded from the destination server address, if speed of download is not higher than preset value,
Next destination server is selected to be broadcast live program data request, until finding the destination service that speed of download is higher than preset value
Until device address.
A kind of live video data download apparatus, is applied to master control server, which includes:
Request reception unit, for receiving the programme televised live request of data of client transmission, the programme televised live data are asked
Seek the program code comprising request;
Address lookup unit, the corresponding relationship for inquiring between preset program classification group and server address will be described
Server address corresponding to program classification group where program code is determined as destination server address, with some program classification
The program-related information in the program classification group is only stored in the corresponding server of group;
Data processing unit, for the destination server address to be sent to client, so that client is from the mesh
It marks in the corresponding destination server of server address and downloads programme televised live data, alternatively, corresponding to the destination server address
Destination server forward the programme televised live request of data, so that the destination server pushes away the programme televised live data of request
Give client.
Preferably, the destination server address has multiple, and the data processing unit is to the destination server
When the corresponding destination server in location forwards the programme televised live request of data, specifically:
The CPU usage for inquiring each destination server therefrom selects the minimum destination server of CPU usage, and
The programme televised live request of data is forwarded to it.
A kind of live video data download apparatus, is applied to client, which includes:
Request transmitting unit is asked for sending the programme televised live data comprising requested program code to master control server
It asks, server address corresponding to the program classification group where the program code is inquired for the master control server, and will
Be determined as destination server address, wherein only store the program classification group in server corresponding with some program classification group
In program-related information;
Data capture unit, for receiving the destination server address of the master control server feedback, and to the target
Server address sends the programme televised live request of data, so that the destination server address is inquired and is returned requested straight
Program data is broadcast, alternatively, receiving the programme televised live data of the corresponding destination server feedback of the destination server address, this is straight
Broadcasting program data is after destination server receives the programme televised live request of data that master control server forwards, to inquire obtained
Programme televised live data.
Preferably, the destination server address is multiple, and the data capture unit is to the destination server
When location sends the programme televised live request of data, specifically:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download
Higher than preset value, then programme televised live data directly are downloaded from the destination server address, if speed of download is not higher than preset value,
Next destination server is selected to be broadcast live program data request, until finding the destination service that speed of download is higher than preset value
Until device address.
A kind of live video data download system, comprising: client, master control server and several servers, wherein described
It is stored with the corresponding relationship of program classification group and server address in master control server, only stores and is somebody's turn to do in each server
Program-related information in the corresponding program classification group of server address;
Client sends the programme televised live request of data comprising requested program code to master control server;
Master control server inquires the corresponding relationship between preset program classification group and server address, by the program code
Server address corresponding to the program classification group at place is determined as destination server address;
The destination server address is fed back to client or master control server and saves the live streaming by master control server
Mesh request of data is forwarded to the destination server address;
When client receives the destination server address of master control server transmission, Xiang Suoshu destination server address is sent
The programme televised live request of data;
Destination server corresponding with destination server address when receiving the programme televised live request of data, inquire and to
The requested programme televised live data of client feedback.
Preferably, the number of the destination server address is multiple, and client is sent to the destination server address
The process of the programme televised live request of data specifically:
Client selects some destination server address to be broadcast live program data request, and detects speed of download, if under
It carries speed and is higher than preset value, then directly download programme televised live data from the destination server address, if speed of download is not higher than pre-
If value, then select next destination server to be broadcast live program data request, until finding speed of download higher than preset value
Until destination server address;
When the number of the destination server address is multiple, master control server forwards the programme televised live request of data
To the process of the destination server address specifically:
Master control server inquires the CPU usage of each destination server, therefrom selects the minimum target of CPU usage
Server, and the programme televised live request of data is forwarded to it.
It can be seen from the above technical scheme that live video data method for down loading provided by the embodiments of the present application, according to
Program is divided into multiple sorting groups in advance by certain rule, and the program of different classifications group is respectively stored on different servers,
And the corresponding relationship between master control server record program classification group and the server address stored is set, receiving client
When holding the programme televised live request of data comprising requested program code sent, inquiry corresponding relationship, where determining program
Server address, and then programme televised live request of data is forwarded to the server address, or from client to the server address
Programme televised live request of data is sent, the downloading of programme televised live data is completed.The present processes, it is distributed by being carried out to program
Storage, program can be more quickly found in client request, and directly return to client request by corresponding server
Program data, thus the requested program data of all clients received in the client unit time, compared to existing
There is a technology, it and is not in Caton phenomenon that parsing, which is got up more convenient,.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of signaling diagram of live video data downloading process disclosed in the embodiment of the present application;
Fig. 2 is the signaling diagram of another kind live video data downloading process disclosed in the embodiment of the present application;
Fig. 3 is a kind of live video data method for down loading flow chart disclosed in the embodiment of the present application;
Fig. 4 is another kind live video data method for down loading flow chart disclosed in the embodiment of the present application;
Fig. 5 is a kind of live video data download apparatus structural schematic diagram disclosed in the embodiment of the present application;
Fig. 6 is another kind live video data download apparatus structural schematic diagram disclosed in the embodiment of the present application;
Fig. 7 is a kind of live video data download system structural schematic diagram disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
This application provides a kind of live video data method for down loading.The application in advance to program according to certain rules into
Row classification, is stored in different servers the program of different program classification groups.And master control server storage program is set
The corresponding relationship of sorting group and server address.The signaling diagram of live video data downloading process is illustrated referring to Fig. 1, Fig. 1.
As shown in Figure 1:
Client requests programme televised live data to master control server, and preset corresponding relationship is inquired by master control server, will
Server address where the request program found returns to client.Client is to the Server Address Request programme televised live
Data return to programme televised live data by corresponding server.
Other than above-mentioned implementation, the embodiment of the present application also provides another live video data downloading sides
Formula, referring to fig. 2, Fig. 2 are the signaling diagram of another kind live video data downloading process disclosed in the embodiment of the present application.
Comparison diagram 1 and Fig. 2 are known:
In Fig. 2, master control server is after finding the server address where request program, directly to the server
Programme televised live data are requested in location, by the corresponding server of the server address by the program push of request to client.
Next, being introduced by scheme of the different angles to the application.Firstly, Fig. 3 is from master control referring to Fig. 3
The introduction that the angle of server carries out application scheme.
As shown in figure 3, this method comprises:
Step S300, the programme televised live request of data comprising requested program code that client is sent is received;
Step S310, inquiry and the destination server address where the corresponding program of program code is determined;
Specifically, the corresponding relationship between preset program classification group and server address is inquired, by the program code institute
Program classification group corresponding to server address be determined as destination server address.Wherein, with some program classification group pair
The program-related information in the program classification group is only stored in the server answered.
Step S320, the destination server address is sent to client, alternatively, to the destination server address pair
The destination server answered forwards the programme televised live request of data.
Specifically, in this step, destination server address can be sent to client, so that client is from the target
Programme televised live data are downloaded in the corresponding destination server of server address.In addition to this it is possible to destination server address
Corresponding destination server forwards the programme televised live request of data, so that the destination server is by the programme televised live number of request
According to being pushed to client.
It is understood that the mark of client can be carried in the programme televised live request of data forwarded to destination server
Know, so that destination server pushes programme televised live data.
Program is divided into more by live video data method for down loading provided by the embodiments of the present application in advance according to certain rules
A sorting group, the program of different classifications group are respectively stored on different servers, and master control server record program point is arranged
Corresponding relationship between class group and the server address stored is receiving compiling comprising requested program for client transmission
Number programme televised live request of data when, inquire corresponding relationship, determine the server address where program, and then to the server
Location forwards programme televised live request of data, or sends programme televised live request of data from client to the server address, completes straight
Broadcast the downloading of program data.The present processes can be more in client request by carrying out distributed storage to program
Program quickly is found, and directly returns to the program data of client request by corresponding server, thus when client unit
In the requested program data of all clients that receives, compared with the prior art, parsing get up it is more convenient, and not
It will appear Caton phenomenon.
It, can be there are many mode classification for the assorting process of program.For example, classifying according to area belonging to program:
It lifts for example, the TV station that Hebei satellite TV, Hebei Agriculture satellite TV, the economic satellite TV in Hebei etc. belong to Hebei is attributed to one kind, it will
Beijing TV, Beijing Agriculture satellite TV etc. belong to TV station, Pekinese and are attributed to one kind.
In addition to this it is possible to classify according to program category, such as variety satellite TV is all classified as one kind, by TV
Acute satellite TV is all classified as one kind, and news satellite TV is all classified as one kind, and sport satellite TV is all classified as one kind etc..
The other ways such as whether can also encrypt according to program certainly to classify to program.Different classes of program difference
It is stored in different servers.
In another embodiment of the application, another live video data downloading mode is further disclosed.
In the present embodiment, we can be set multiple servers and store same class program, namely divide with certain program
The corresponding server address of class group has multiple.In this case, above-mentioned steps S320 is corresponding to the destination server address
Destination server forward the process of the programme televised live request of data, be specifically as follows:
The CPU usage for inquiring each destination server therefrom selects the minimum destination server of CPU usage, and
The programme televised live request of data is forwarded to it.
Here, the busy condition of each destination server, the low mesh of CPU usage are determined by inquiry CPU usage
Mark server represents it and is currently at relatively not busy state.Thus programme televised live data can be forwarded to the destination server
Request, by the requested programme televised live of destination server inquiring client terminal, and carries out the push of programme televised live data.
It is understood that by way of this implementation, can more quickly finish programme televised live data inquiry and
Push, improves the Experience Degree of user.
In another embodiment of the application, application scheme is described further from the angle of client.Referring to
Fig. 4, Fig. 4 are another kind live video data method for down loading flow chart disclosed in the embodiment of the present application.
As shown in figure 4, this method comprises:
Step S400, the programme televised live request of data comprising requested program code is sent to master control server;
Specifically, by sending programme televised live request of data to master control server, so that the master control server inquires institute
Server address corresponding to the program classification group where program code is stated, and it is determined as destination server address, wherein
The program-related information in the program classification group is only stored in server corresponding with some program classification group.
Step S410, the destination server address of the master control server feedback is received, and to the destination server
Location sends the programme televised live request of data, alternatively, receiving the corresponding destination server feedback of the destination server address
Programme televised live data.
Specifically, in master control server feedback destination server address, client can be to the destination server address
Programme televised live request of data is sent, and then obtains the programme televised live data of its feedback.If the non-feedback target clothes of master control server
Programme televised live request of data can be transmitted to the corresponding destination server of destination server address by business device address, master control server,
Destination server can be by the programme televised live data-pushing of request to client.
It should be noted that when destination server address is multiple, it is above-mentioned to send institute to the destination server address
The process for stating programme televised live request of data can be with are as follows:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download
Higher than preset value, then programme televised live data directly are downloaded from the destination server address, if speed of download is not higher than preset value,
Next destination server is selected to be broadcast live program data request, until finding the destination service that speed of download is higher than preset value
Until device address.
Logical detection speed of download, selects the good destination server of speed of download to be broadcast live under program data
It carries, can more quickly finish the downloading of programme televised live data.
Live video data download apparatus provided by the embodiments of the present application is described below, live streaming view described below
Frequency can correspond to each other reference with above-described live video data method for down loading according to download apparatus.
Firstly, introducing a kind of live video data download apparatus, it is applied in above-mentioned master control server, as shown in figure 5,
The device includes:
Request reception unit 51, for receiving the programme televised live request of data of client transmission, the programme televised live data
Program code of the request comprising request;
Address lookup unit 52, the corresponding relationship for inquiring between preset program classification group and server address, by institute
It states server address corresponding to the program classification group where program code and is determined as destination server address, with some program point
The program-related information in the program classification group is only stored in the corresponding server of class group;
Data processing unit 53, for the destination server address to be sent to client, so that client is from described
Programme televised live data are downloaded in the corresponding destination server of destination server address, alternatively, to the destination server address pair
The destination server answered forwards the programme televised live request of data, so that the destination server is by the programme televised live data of request
It is pushed to client.
Optionally, when the destination server address has multiple, the data processing unit is to the destination service
When the corresponding destination server in device address forwards the programme televised live request of data, specifically:
The CPU usage for inquiring each destination server therefrom selects the minimum destination server of CPU usage, and
The programme televised live request of data is forwarded to it.
In the embodiment of the present application, program is divided into multiple sorting groups, the section of different classifications group in advance according to certain rules
Mesh is respectively stored on different servers, and the server address that master control server record program classification group is arranged and is stored
Between corresponding relationship, receive client transmission the programme televised live request of data comprising requested program code when,
Corresponding relationship is inquired, determines the server address where program, and then forward programme televised live request of data to the server address,
Or programme televised live request of data is sent from client to the server address, complete the downloading of programme televised live data.The application
By carrying out distributed storage to program, program can be more quickly found in client request, and by corresponding with service
Device directly returns to the program data of client request, thus all clients received in the client unit time are requested
Program data, compared with the prior art, it and is not in Caton phenomenon that parsing, which is got up more convenient,.
In another embodiment of the application, it is further provided under a kind of live video data applied to client
It carries and sets, as shown in fig. 6, the live video data download apparatus includes:
Request transmitting unit 61, for sending the programme televised live data comprising requested program code to master control server
Server address corresponding to the program classification group where the program code is inquired in request for the master control server, and
It is determined as destination server address, wherein only store the program classification in server corresponding with some program classification group
Program-related information in group;
Data capture unit 62, for receiving the destination server address of the master control server feedback, and to the mesh
It marks server address and sends the programme televised live request of data, so that the destination server address is inquired and is returned requested
Programme televised live data, alternatively, the programme televised live data of the corresponding destination server feedback of the destination server address are received, it should
Programme televised live data are after destination server receives the programme televised live request of data that master control server forwards, obtained by inquiry
Programme televised live data.
Optionally, when the destination server address is multiple, the data capture unit 62 takes to the target
Business device address sends the process of the programme televised live request of data, specifically:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download
Higher than preset value, then programme televised live data directly are downloaded from the destination server address, if speed of download is not higher than preset value,
Next destination server is selected to be broadcast live program data request, until finding the destination service that speed of download is higher than preset value
Until device address.
Client provided by the present application is determined to request section by sending programme televised live request of data to master control server
Server where mesh, and then the programme televised live data of request are provided by the server.It is received in the client unit time
All requested program datas of client, compared with the prior art, it and is not in that Caton is existing that parsing, which is got up more convenient,
As.
The embodiment of the present application also provides a kind of live video data download systems, as shown in fig. 7, the system includes:
Client 1, master control server 2 and several servers 3, wherein being stored with program classification in the master control server 2
Group and the corresponding relationship of server address, only storage program classification corresponding with the server address in each server 3
Program-related information in group;
Client 1 sends the programme televised live request of data comprising requested program code to master control server 2;
Master control server 2 inquires the corresponding relationship between preset program classification group and server address, and the program is compiled
Server address corresponding to program classification group where number is determined as destination server address;
The destination server address is fed back to client 1 or master control server 2 by master control server 2 will be described straight
It broadcasts program data request and is forwarded to the destination server address;
When client 1 receives the destination server address of the transmission of master control server 2, Xiang Suoshu destination server address hair
Send the programme televised live request of data;
For destination server 3 corresponding with destination server address when receiving the programme televised live request of data, inquiry is simultaneously
Requested programme televised live data are fed back to client 1.
When the number of destination server address is multiple:
Client sends the process of the programme televised live request of data to the destination server address specifically:
Client selects some destination server address to be broadcast live program data request, and detects speed of download, if under
It carries speed and is higher than preset value, then directly download programme televised live data from the destination server address, if speed of download is not higher than pre-
If value, then select next destination server to be broadcast live program data request, until finding speed of download higher than preset value
Until destination server address.
The programme televised live request of data is forwarded to the process of the destination server address by master control server specifically:
Master control server inquires the CPU usage of each destination server, therefrom selects the minimum target of CPU usage
Server, and the programme televised live request of data is forwarded to it.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of live video data method for down loading characterized by comprising
The programme televised live request of data that client is sent is received, the programme televised live request of data includes the program code of request;
The corresponding relationship between preset program classification group and server address is inquired, by the program classification where the program code
The corresponding server address of group is determined as destination server address, only stores in server corresponding with some program classification group
Program-related information in the program classification group;
The destination server address is sent to client, so that client is from the corresponding target of the destination server address
Programme televised live data are downloaded in server, alternatively, carrying institute to the corresponding destination server forwarding of the destination server address
The programme televised live request of data of the mark of client is stated, so that the destination server pushes away the programme televised live data of request
Give client.
2. the method according to claim 1, wherein the destination server address have it is multiple, it is described to described
The corresponding destination server of destination server address forwards the programme televised live request of data, comprising:
The CPU usage for inquiring each destination server, therefrom selects the minimum destination server of CPU usage, and to its
Forward the programme televised live request of data.
3. a kind of live video data method for down loading characterized by comprising
The programme televised live request of data comprising requested program code is sent to master control server, for the master control server
Server address corresponding to the program classification group where the program code is inquired, and with being determined as destination server by it
Location, wherein the program-related information in the program classification group is only stored in server corresponding with some program classification group;
The destination server address of the master control server feedback is received, and sends the live streaming to the destination server address
Program data request, so that requested programme televised live data are inquired and returned to the destination server address, alternatively, receiving institute
The programme televised live data of the corresponding destination server feedback of destination server address are stated, which is destination server
After the programme televised live request of data for receiving the mark of the carrying client of master control server forwarding, inquire obtained
Programme televised live data.
4. according to the method described in claim 3, it is characterized in that, the destination server address be it is multiple, it is described to described
Destination server address sends the programme televised live request of data, comprising:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download is higher than
Preset value then directly downloads programme televised live data from the destination server address, if speed of download is not higher than preset value, selects
Next destination server is broadcast live program data request, until finding destination server of the speed of download higher than preset value
Until location.
5. a kind of live video data download apparatus, which is characterized in that be applied to master control server, which includes:
Request reception unit, for receiving the programme televised live request of data of client transmission, the programme televised live data request packet
Program code containing request;
Address lookup unit, the corresponding relationship for inquiring between preset program classification group and server address, by the program
Server address corresponding to program classification group where numbering is determined as destination server address, with some program classification group pair
The program-related information in the program classification group is only stored in the server answered;
Data processing unit, for the destination server address to be sent to client, so that client takes from the target
It is engaged in downloading programme televised live data in the corresponding destination server in device address, alternatively, to the corresponding mesh of the destination server address
The programme televised live request of data that server forwarding carries the mark of the client is marked, so that the destination server will ask
The programme televised live data-pushing asked is to client.
6. device according to claim 5, which is characterized in that the destination server address have it is multiple, at the data
Unit is managed when forwarding the programme televised live request of data to the corresponding destination server of the destination server address, specifically
Are as follows:
The CPU usage for inquiring each destination server, therefrom selects the minimum destination server of CPU usage, and to its
Forward the programme televised live request of data.
7. a kind of live video data download apparatus, which is characterized in that be applied to client, which includes:
Request transmitting unit, for sending the programme televised live request of data comprising requested program code to master control server,
Server address corresponding to the program classification group where the program code is inquired for the master control server, and really by it
It is set to destination server address, wherein only store in the program classification group in server corresponding with some program classification group
Program-related information;
Data capture unit, for receiving the destination server address of the master control server feedback, and to the destination service
Device address sends the programme televised live request of data, so that the destination server address is inquired and returns to requested live streaming section
Mesh number evidence, alternatively, receiving the programme televised live data of the corresponding destination server feedback of the destination server address, the live streaming section
Mesh number is according to the programme televised live data for being the mark for carrying the client that destination server receives the forwarding of master control server
After request, obtained programme televised live data are inquired.
8. device according to claim 7, which is characterized in that the destination server address be it is multiple, the data obtain
Take unit when sending the programme televised live request of data to the destination server address, specifically:
It selects some destination server address to be broadcast live program data request, and detects speed of download, if speed of download is higher than
Preset value then directly downloads programme televised live data from the destination server address, if speed of download is not higher than preset value, selects
Next destination server is broadcast live program data request, until finding destination server of the speed of download higher than preset value
Until location.
9. a kind of live video data download system characterized by comprising client, master control server and several servers,
Wherein it is stored with the corresponding relationship of program classification group and server address in the master control server, in each server only
Store the program-related information in program classification group corresponding with the server address;
Client sends the programme televised live request of data comprising requested program code to master control server;
Master control server inquires the corresponding relationship between preset program classification group and server address, will be where the program code
Program classification group corresponding to server address be determined as destination server address;
The destination server address is fed back to client or master control server by master control server will carry the client
The programme televised live request of data of mark be forwarded to the destination server address;
When client receives the destination server address of master control server transmission, described in the transmission of Xiang Suoshu destination server address
Programme televised live request of data;
Destination server corresponding with destination server address is inquired and when receiving the programme televised live request of data to client
Feed back requested programme televised live data in end.
10. system according to claim 9, which is characterized in that the number of the destination server address is multiple, client
Hold the process that the programme televised live request of data is sent to the destination server address specifically:
Client selects some destination server address to be broadcast live program data request, and detects speed of download, if downloading speed
Degree is higher than preset value, then directly downloads programme televised live data from the destination server address, if speed of download is not higher than preset value,
Next destination server is then selected to be broadcast live program data request, until the target for finding speed of download higher than preset value takes
Until business device address;
When the number of the destination server address is multiple, the programme televised live request of data is forwarded to institute by master control server
State the process of destination server address specifically:
Master control server inquires the CPU usage of each destination server, therefrom selects the minimum destination service of CPU usage
Device, and the programme televised live request of data is forwarded to it.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510340892.4A CN104935949B (en) | 2015-06-18 | 2015-06-18 | A kind of live video data method for down loading, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510340892.4A CN104935949B (en) | 2015-06-18 | 2015-06-18 | A kind of live video data method for down loading, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104935949A CN104935949A (en) | 2015-09-23 |
CN104935949B true CN104935949B (en) | 2019-12-03 |
Family
ID=54122862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510340892.4A Active CN104935949B (en) | 2015-06-18 | 2015-06-18 | A kind of live video data method for down loading, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104935949B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375803B (en) * | 2016-09-09 | 2019-05-31 | 北京小米移动软件有限公司 | Processing method, processing unit and the processing system of live information |
CN107749997B (en) * | 2017-09-21 | 2019-08-06 | 烽火通信科技股份有限公司 | A kind of video broadcasting method and system |
CN108153803B (en) * | 2017-11-17 | 2021-04-02 | 北京奇艺世纪科技有限公司 | Data acquisition method and device and electronic equipment |
CN108683722B (en) * | 2018-05-10 | 2022-03-11 | 中国银行股份有限公司 | Data transmission method, ESB platform and client |
CN111526377B (en) * | 2019-02-01 | 2022-07-05 | 广州虎牙信息科技有限公司 | Stream pulling method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012049875A (en) * | 2010-08-27 | 2012-03-08 | Fujitsu Ltd | Video distribution server and video distribution method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7584491B2 (en) * | 2001-04-25 | 2009-09-01 | Sony Corporation | System and method for managing interactive programming and advertisements in interactive broadcast systems |
JP3853663B2 (en) * | 2002-02-04 | 2006-12-06 | 富士通株式会社 | Lottery method and lottery program |
CN100433619C (en) * | 2004-07-23 | 2008-11-12 | 腾讯科技(深圳)有限公司 | Data download method and system |
CN101030873A (en) * | 2007-02-15 | 2007-09-05 | 深圳市迅雷网络技术有限公司 | Method and system for downloading data |
CN101146110B (en) * | 2007-09-25 | 2011-06-29 | 深圳市迅雷网络技术有限公司 | A method for playing stream media |
CN102263999B (en) * | 2011-08-03 | 2014-07-16 | Tcl集团股份有限公司 | Face-recognition-based method and system for automatically classifying television programs |
CN102281474B (en) * | 2011-09-02 | 2013-03-27 | 乐视网信息技术(北京)股份有限公司 | Live network broadcasting and recording method |
CN103237063B (en) * | 2013-04-11 | 2016-12-28 | 安科智慧城市技术(中国)有限公司 | Cloud storage method, cloud control server, cloud storage server and system |
CN103731691A (en) * | 2013-11-25 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for direct-broadcast program video-on-demand of smart television |
-
2015
- 2015-06-18 CN CN201510340892.4A patent/CN104935949B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012049875A (en) * | 2010-08-27 | 2012-03-08 | Fujitsu Ltd | Video distribution server and video distribution method |
Also Published As
Publication number | Publication date |
---|---|
CN104935949A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104935949B (en) | A kind of live video data method for down loading, apparatus and system | |
CN105187847B (en) | A kind of distributed network live telecast method, apparatus, video gateway and system | |
EP3595268A1 (en) | Streaming media resource distribution method, system, edge node and central dispatching system | |
CN100448290C (en) | Internet protocol address to packet identifier mapping | |
US8346957B2 (en) | Method and apparatus for transmitting/receiving information in internet protocol network | |
CN103813185B (en) | A kind of method that segment programs are quickly distributed, server and client | |
CN104883618B (en) | Programme televised live tries method, apparatus and system | |
CN105657578A (en) | Live broadcast method, system and client based on HLS protocol | |
US20150229676A1 (en) | Communication Receiver | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
CN107645485B (en) | Network live broadcast distribution method, system and device | |
EP3734927A1 (en) | Content service implementation method and device, and content delivery network node | |
CN103152650A (en) | Robust file casting for mobile TV | |
US20080216143A1 (en) | method for receiving ip broadcast and a receiving terminal | |
WO2008062989A1 (en) | Operating method of contents on demand system | |
CN106686083B (en) | A kind of video file method for down loading and device | |
CN105827694B (en) | Method and device for acquiring network resources | |
CN105100835A (en) | Channel classification method and device | |
TW201301802A (en) | System and method for recognizing broadcast program content | |
CN105812847A (en) | HLS video live broadcast method, server and system | |
US20090193455A1 (en) | Information storage medium and method for providing additional contents based on trigger, and digital broadcast reception apparatus | |
CN112995783A (en) | Advertisement insertion method, electronic device and storage medium | |
CN108933949B (en) | Multimedia control method, server and computer storage medium | |
CN102244642B (en) | Redirecting method, system and terminal | |
WO2015171029A1 (en) | Method, apparatus and communication device for handling broadcasted or multicasted content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |