CN105898387A - Method and device for sending streaming media data - Google Patents
Method and device for sending streaming media data Download PDFInfo
- Publication number
- CN105898387A CN105898387A CN201610195435.5A CN201610195435A CN105898387A CN 105898387 A CN105898387 A CN 105898387A CN 201610195435 A CN201610195435 A CN 201610195435A CN 105898387 A CN105898387 A CN 105898387A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- downstream site
- data
- stream medium
- medium data
- 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/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/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a method and device for sending streaming media data. The method comprises steps of determining, according to a streaming media data request sent from a lower-level node, associated information of the streaming media requested by the lower-level node; correspondingly recording the lower-level node and the associated information of the streaming media; sending the streaming media data to the lower-level node according to a recorded relation every time it is determined that a current node has the streaming media data corresponding to the associated information of the streaming media. The method and the device may shorten time delay in a process that a client acquire the streaming media data and enhance data acquisition instantaneity.
Description
Technical field
The present embodiments relate to stream media technology field, particularly relate to a kind of stream medium data sender
Method and device.
Background technology
Streaming Media refers to use the media formats that plays out in the Internet of mode of stream transmission, as audio frequency,
Video or multimedia file.Stream media technology can be widely applied for multimedia news briefing, the most live,
The web advertisement, ecommerce, video request program, long-distance education, network radio station, real-time video meeting etc.,
It enriches the form of expression of conventional internet content, gives broadband application the most recreational and interactive.
The process of the player plays Streaming Media of client is, player initiates stream matchmaker to streaming media server
Volume data is asked;Streaming Media receives the audio/video asking the player of backward client to return certain time length
Fragment data;Player is while by the decoding data obtained, broadcasting, continuing please to Streaming Media
Seek the audio/video data of next fragment.
Along with popularizing of broadband, Stream Media Application is developed rapidly.Traditional is carried by internet content
Directly provide the mode of streaming media service cannot meet the situation that a large number of users accesses for business (ICP).For solving
Certainly this problem, uses content distributing network (CDN) to carry out the distribution of stream medium data at present.Its technology
Principle is, is sent to substantial amounts of CDN service equipment from ICP website by stream medium data, user's
Client from nearby CDN service equipment access required for stream medium data.
At present, a kind of framework mode of stream medium data distribution platform based on CDN, as it is shown in figure 1,
Including source server, Relay Server, Edge Server.Wherein, source server can be from ICP website
Obtain stream medium data;Source server is the superior node of Relay Server;
Relay Server is Streaming Media as its function of downstream site of source server relative to its superior node
Player;Meanwhile, Relay Server is the superior node of Edge Server, and its function is relative to its subordinate
Node is streaming media server;
Edge Server as Relay Server its function of downstream site relative to its superior node be stream matchmaker
Body player, Edge Server as client its function of superior node relative to its superior node be stream
Media player.
But, in actual applications it was found by the inventors of the present invention that existing method is wanted for some real-times
The application scenarios asking the highest is no problem, but for the high scene of requirement of real-time, this method just cannot
It is competent at;Reason is, client needs constantly to carry out request of data, and server end is in order to meet visitor
Family end request, it is necessary to carrying out certain data buffer storage, the result so brought is: on the one hand server end
Data cached can increase data transmission delay;On the other hand the node of every one-level be all one-level one-level upwards
Request, the node of every one-level is required for carrying out data buffer storage, and this can further increase data delay;And
And, the interaction time upwards asked of one-level one-level, also can increase time delay.
Summary of the invention
In view of this, it is an object of the invention to propose a kind of stream medium data sending method and device, make
Obtain during client obtains stream medium data and reduce time delay, improve the real-time of data acquisition.
Based on above-mentioned purpose, a kind of stream medium data sending method that the embodiment of the present invention provides, including:
The stream medium data request sent according to downstream site, determines the stream matchmaker that described downstream site is asked
The relevant information of body;
This downstream site of corresponding record and the relevant information of described Streaming Media;
Determine in this node when having the corresponding stream medium data with the relevant information of described Streaming Media, root every time
According to the corresponding relation of record, described stream medium data is sent to described downstream site.
Wherein, the relevant information of described Streaming Media includes: the mark of described Streaming Media;And
The corresponding stream medium data of relevant information of described and described Streaming Media specially has described mark
The real time data of Streaming Media.
Or, the relevant information of described Streaming Media includes: the mark of described Streaming Media and download location;With
And
The corresponding stream medium data of relevant information of described and described Streaming Media specially has described mark
Streaming Media stream medium data at this download location;And
Described by after described stream medium data transmission to described downstream site, also include:
The information of described download location is updated according to the stream medium data sent.
In the another aspect of the embodiment of the present invention, additionally provide a kind of stream medium data acquisition device, including:
Data request processing module, for the stream medium data request sent according to downstream site, determines institute
State the relevant information of the Streaming Media that downstream site is asked;
Subscription information logging modle, for this downstream site of corresponding record and the relevant letter of described Streaming Media
Breath;
Data distribution module, for determining in this node there be and the relevant information of described Streaming Media storage every time
During corresponding stream medium data, according to the corresponding relation of described subscription information logging modle record by described stream
Media data sends to described downstream site.
Wherein, described subscription information logging modle is specifically for this downstream site of corresponding record and described stream
The mark of the Streaming Media in the relevant information of media;And
Described data distribution module is specifically for receiving the real-time of the Streaming Media with described mark every time
During data, according to the corresponding relation of described subscription information logging modle record, described real time data is sent extremely
Described downstream site.
Or, described subscription information logging modle is specifically for this downstream site of corresponding record and described stream
The mark of the Streaming Media in the relevant information of media and download location;And
Described data distribution module is specifically for determining to store to have in this node have described mark every time
During Streaming Media stream medium data at this download location, according to described subscription information logging modle record
Described stream medium data is sent to described downstream site by corresponding relation.
Further, described device also includes:
Subscription information more new module, for the stream medium data sent according to described data distribution module, more
The information of new described download location.
Further, described device also includes:
Ending request processing module, for the ending request sent according to downstream site, determines described end
Streaming Media involved by request;By described downstream site and the phase of described Streaming Media of corresponding record before
Close information deletion.
In the technical scheme of the embodiment of the present invention, superior node receives the stream matchmaker that a subordinate node sends
After volume data request, the relevant information of the Streaming Media carried in record solicited message is right with this downstream site
Should be related to;And after the data of this Streaming Media subsequently received, it is not necessary to downstream site retransmits request,
Just automatically according to record, the data of this Streaming Media can be sent to this downstream site.So, downstream site
During obtaining stream medium data, avoid the need for constantly superior node and send request of data, joint
Save interaction time, decreased time delay, particularly with the situation that transmission node is the most, reduce the effect of time delay
Fruit is the best;On the other hand, superior node can also save to subordinate the most immediately when getting stream medium data
Point sends, it is not necessary to caches, saves cache-time, further reduce time delay, but also subtracts
Lack the demand to caching.Thus it is finally reached the time delay reducing client acquisition Streaming Media real time data,
Improve the purpose of data acquisition real-time.
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the stream medium data distribution platform based on CDN of prior art;
Fig. 2 is the flow chart of the stream medium data sending method of the embodiment of the present invention one;
Fig. 3 is the internal structure block diagram of the stream medium data dispensing device of the embodiment of the present invention one;
Fig. 4 is the flow chart of the stream medium data sending method of the embodiment of the present invention one;
Fig. 5 is the internal structure block diagram of the stream medium data dispensing device of the embodiment of the present invention two.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with being embodied as
Example, and referring to the drawings, the present invention is described in more detail.
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, its
In the most same or similar label represent same or similar element or there is same or like merit
The element of energy.The embodiment described below with reference to accompanying drawing is exemplary, is only used for explaining this
Bright, and be not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative used herein
" one ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.Should manage further
Solve, the wording used in the description of the present invention " include " referring to existing described feature, integer,
Step, operation, element and/or assembly, but it is not excluded that existence or add one or more other
Feature, integer, step, operation, element, assembly and/or their group.It should be understood that when me
Claim element to be " connected " or during " coupled " to another element, it can be directly connected or coupled to
Other elements, or intermediary element can also be there is.Additionally, " connection " used herein or " coupling
Connect " wireless connections can be included or wireless couple.Wording "and/or" used herein includes one
Or more be associated list the whole of item or any cell and all combinations.
It should be noted that all uses " first " and the statement of " second " in the embodiment of the present invention
It is for the parameter of entity or the non-equal distinguishing two same names non-equal, it is seen that " the
One " " second " is only for the convenience of statement, should not be construed as the restriction to the embodiment of the present invention, after
This is illustrated by continuous embodiment the most one by one.
In the technical scheme of the embodiment of the present invention, the mode of active push data is used to improve client
Obtain the real-time of stream medium data: the stream medium data that superior node sends according to downstream site is asked,
Determine the relevant information of the Streaming Media that described downstream site asked, and this downstream site of corresponding record and
The relevant information of described Streaming Media;At the follow-up relevant letter determining in this node and having to described Streaming Media every time
When ceasing corresponding stream medium data, according to the corresponding relation of record, described stream medium data is sent to described
Downstream site.
So, after superior node receives the stream medium data request that a subordinate node sends, i.e. record
The relevant information of the Streaming Media carried in solicited message and the corresponding relation of this downstream site;And in rear continued access
After receiving the data of this Streaming Media, it is not necessary to downstream site retransmits request, it is possible to automatically according to record
The data of this Streaming Media are sent to this downstream site.So, downstream site is obtaining stream medium data
During, avoid the need for constantly superior node and send request of data, save interaction time, reduce
Time delay, particularly with the situation that transmission node is the most, the effect reducing time delay is the best;On the other hand,
Superior node just can send to downstream site immediately once get stream medium data, it is not necessary to delays
Deposit, save cache-time, further reduce time delay, but also decrease the demand to caching.From
And it is finally reached the time delay reducing client acquisition stream medium data, improve the purpose of data acquisition real-time.
The invention provides two embodiments;Wherein, embodiment one is for real time data source applied field
The technical scheme of scape;Embodiment two is for the sound that prestores, the technical scheme of the application scenarios of video file.
Describe technical scheme below in conjunction with the accompanying drawings in detail.
Embodiment one
The embodiment of the present invention one provide a kind of stream medium data sending method, idiographic flow as in figure 2 it is shown,
Comprise the steps:
Step S201: superior node receives the stream medium data request that downstream site sends, and determines subordinate
The relevant information of the Streaming Media that node is asked includes the mark of Streaming Media.
Specifically, superior node can be source server, and downstream site can be Relay Server;Source takes
Business device can receive the stream medium data request that its downstream site Relay Server sends.
Or, superior node can be Relay Server, and downstream site can be Edge Server;Relaying
Server can receive the stream medium data request that its downstream site Edge Server sends.
Or, superior node can be Edge Server, and downstream site can be the client of user;Limit
Edge server can receive the stream medium data request that its downstream site client sends.
Wherein, stream medium data request can carry the relevant letter of the Streaming Media that downstream site is asked
Breath.If the Streaming Media that the Streaming Media asked is capture apparatus captured in real-time, the then phase of the Streaming Media carried
Pass information includes the mark of asked Streaming Media.
In this step, superior node can determine downstream site institute according to the stream medium data request received
The mark of the Streaming Media of request.
Step S202: superior node corresponding record this downstream site and determining in user subscription table
The relevant information of Streaming Media;Wherein, the relevant information of Streaming Media specifically includes the mark of Streaming Media.
Specifically, superior node meeting one user subscription table of long term maintenance, send receiving downstream site
Stream medium data request after, at user subscription table record by this downstream site and in above-mentioned steps S201
In the corresponding relation of the relevant information of Streaming Media determined.
Step S203: superior node determine in this node every time have corresponding to the relevant information of described Streaming Media
Stream medium data time, described stream medium data is sent to described downstream site.
In this step, when superior node receives the real time data of the Streaming Media with described mark every time,
Then according to the corresponding relation of record, the real time data received is sent to corresponding downstream site.
Specifically, when superior node receives the real time data of certain data source, determine that this counts in real time
Mark according to affiliated Streaming Media;And then subordinate corresponding to the mark of this Streaming Media in lookup user subscription table
Node;Afterwards, the real time data of reception is transmitted to the downstream site found out.
Further, superior node also can terminate the data to downstream site and send, step S204 specific as follows,
Described in S205.
Step S204: after superior node receives the ending request that described downstream site sends, determines described
Streaming Media involved by ending request.
Specifically, the mark of the Streaming Media carried in the ending request that superior node sends according to downstream site,
May determine that the Streaming Media involved by this ending request.
Step S205: superior node is by the described downstream site of corresponding record before and described Streaming Media
Relevant information is deleted.
Specifically, superior node is by the described downstream site of corresponding record before and the mark of described Streaming Media
Know and delete from user subscription table.Thus, if the follow-up reality also receiving described Streaming Media of superior node
Time data, but owing to user subscription table the most not existing the mark of this downstream site and described Streaming Media
Corresponding record, therefore, superior node no longer will send the data of this Streaming Media to this downstream site, the most just
Being to say, superior node stops the data continuing to send this Streaming Media to this downstream site.
Based on said method, the embodiment of the present invention one additionally provides one and is arranged at Relay Server or edge
Data sending device in server, this device can carry out the device of data distribution as superior node,
Internal structure is as it is shown on figure 3, include: data request processing module 301, subscription information logging modle 302,
Data distribution module 303.
Data request processing module 301, for the stream medium data request sent according to downstream site, determines
The relevant information of the Streaming Media that described downstream site is asked;Wherein it is determined that the relevant information of Streaming Media
Specifically include the mark of asked Streaming Media.
Subscription information logging modle 302 is relevant for this downstream site of corresponding record and described Streaming Media
Information;Specifically, subscription information logging modle 302 this downstream site of corresponding record in user subscription table
And the mark of the Streaming Media in the relevant information of described Streaming Media.
Data distribution module 303 is for determining that in this node, storage has the relevant letter to described Streaming Media every time
When ceasing corresponding stream medium data, according to the corresponding relation of described subscription information logging modle record by described
Stream medium data sends to described downstream site.Specifically, data distribution module 303 is receiving every time
During the real time data of the Streaming Media with described mark, right according to described subscription information logging modle record
Should be related to and described real time data is sent to described downstream site.
Further, the data sending device of the embodiment of the present invention one can also include: ending request processes
Module 304.
Ending request processing module 304, for the ending request sent according to downstream site, determines described knot
Streaming Media involved by bundle request;By before in user subscription table the described downstream site of corresponding record with
And the relevant information of described Streaming Media deletes.
In the technical scheme of the embodiment of the present invention one, superior node receives the stream that a subordinate node sends
After media data request, the relevant information of the Streaming Media carried in record solicited message and this downstream site
Corresponding relation;And after the data of this Streaming Media subsequently received, it is not necessary to downstream site retransmits request,
Just automatically according to record, the data of this Streaming Media can be sent to this downstream site.So, downstream site
During obtaining stream medium data, avoid the need for constantly superior node and send request of data, joint
Save interaction time, decreased time delay, particularly with the situation that transmission node is the most, reduce the effect of time delay
Fruit is the best;On the other hand, superior node just can be the most downward once the real time data getting Streaming Media
Level node sends, it is not necessary to caches, saves cache-time, further reduces time delay, and
Also reduce the demand to caching.Thus be finally reached and reduce prolonging of client acquisition Streaming Media real time data
Time, improve the purpose of data acquisition real-time.
Embodiment two
The embodiment of the present invention two provide a kind of stream medium data sending method, idiographic flow as shown in Figure 4,
Comprise the steps:
Step S401: superior node receives the stream medium data request that downstream site sends, and determines subordinate
The relevant information of the Streaming Media that node is asked includes mark and the download location of Streaming Media.
Specifically, superior node can be source server, and downstream site can be Relay Server;Source takes
Business device can receive the stream medium data request that its downstream site Relay Server sends.
Or, superior node can be Relay Server, and downstream site can be Edge Server;Relaying
Server can receive the stream medium data request that its downstream site Edge Server sends.
Or, superior node can be Edge Server, and downstream site can be the client of user;Limit
Edge server can receive the stream medium data request that its downstream site client sends.
Wherein, stream medium data request can carry the relevant letter of the Streaming Media that downstream site is asked
Breath.If the Streaming Media asked is with the Streaming Media of document form storage, the many matchmakers of audio/video such as stored
Body file, then the relevant information of the Streaming Media carried includes the mark of asked Streaming Media and is asked
The download location asked.Specifically, the mark of Streaming Media can be specifically the title of multimedia file, downloads
Position refers specifically to the download location of asked multimedia file.
In this step, superior node can determine downstream site institute according to the stream medium data request received
The relevant information of the Streaming Media of request can include mark and the download location of Streaming Media.
Step S402: superior node corresponding record this downstream site and determining in user subscription table
The relevant information of Streaming Media.
Specifically, superior node meeting one user subscription table of long term maintenance, send receiving downstream site
Stream medium data request after, at user subscription table record by this downstream site and in above-mentioned steps S401
In the corresponding relation of the relevant information of Streaming Media determined.
Step S403: superior node determines in this node there be and the relevant information of described Streaming Media storage every time
During corresponding stream medium data, described stream medium data is sent to described downstream site, and updates user
The download location of the Streaming Media of corresponding described downstream site record in subscription table.
In this step, superior node receives the Streaming Media with described mark at this download location every time
Stream medium data time, then according to record corresponding relation by receive Streaming Media send to corresponding subordinate
Node.
Or, the whole file of the Streaming Media of described mark is cached by superior node, and periodically
Ground scanning user subscription table, according to the stream of the described downstream site of record in user subscription table with described mark
The corresponding relation of media, determines when in this node, storage has the file of this Streaming Media, by the phase of this Streaming Media
The stream medium data answering download location is transmitted to this downstream site.
In this step, stream medium data is sent to described downstream site by superior node, also updates user
The download location of the Streaming Media of corresponding described downstream site record in subscription table.
Such as, m-th flow media data packet is sent to described downstream site by superior node, then will
Download location corresponding to m+1 flow media data packet update recorded in user subscription table with described subordinate
In the Streaming Media relevant information that node is corresponding, in order to send m+1 Streaming Media in next time to downstream site
Packet.
Further, superior node also can terminate the data to downstream site and send, step S404 specific as follows,
Described in S405.
Step S404: after superior node receives the ending request that described downstream site sends, determines described
Streaming Media involved by ending request.
Specifically, the mark of the Streaming Media carried in the ending request that superior node sends according to downstream site,
May determine that the Streaming Media involved by this ending request.
Step S405: superior node is by the described downstream site of corresponding record before and described Streaming Media
Relevant information is deleted.
Specifically, superior node is by the described downstream site of corresponding record before and the mark of described Streaming Media
Know and download location is deleted from user subscription table.Thus, superior node will no longer be sent out to this downstream site
Give the data of this Streaming Media, say, that superior node stops continuing to send this stream matchmaker to this downstream site
The data of body.
Stream medium data sending method based on the invention described above embodiment two, the embodiment of the present invention two also carries
A kind of stream medium data dispensing device being arranged in Relay Server or Edge Server, this device are supplied
Can carry out the device of data distribution as superior node, internal structure is as it is shown in figure 5, include: data
Request processing module 501, subscription information logging modle 502, data distribution module 503.
Data request processing module 501, for the stream medium data request sent according to downstream site, determines
The relevant information of the Streaming Media that described downstream site is asked;Wherein it is determined that the relevant information of Streaming Media
Specifically include mark and the download location of Streaming Media.
Subscription information logging modle 502 is relevant for this downstream site of corresponding record and described Streaming Media
Information;Specifically, the stream that subscription information logging modle 502 determines according to data request processing module 501
The relevant information of media, the stream matchmaker in the relevant information of this downstream site of corresponding record and described Streaming Media
The mark of body and download location.
Data distribution module 503 is for determining that in this node, storage has the relevant letter to described Streaming Media every time
When ceasing corresponding stream medium data, according to the corresponding relation of described subscription information logging modle record by described
Stream medium data sends to described downstream site.Specifically, data distribution module 503 is determining this every time
When in node, storage has the stream medium data at this download location of the Streaming Media with described mark, according to
Described stream medium data is sent to described subordinate joint by the corresponding relation of subscription information logging modle 502 record
Point.
Further, the stream medium data dispensing device of the embodiment of the present invention two can also include: ending request
Processing module 504.
Ending request processing module 504, for the ending request sent according to downstream site, determines described knot
Streaming Media involved by bundle request;By the described downstream site of corresponding record before and described Streaming Media
Relevant information is deleted.
Further, the stream medium data dispensing device of the embodiment of the present invention two can also include: subscription information
More new module 505.
Subscription information more new module 505 is used for the stream medium data sent according to described data distribution module,
Update the information of described download location.
In the technical scheme of the embodiment of the present invention two, superior node receives the stream that a subordinate node sends
After media data request, the relevant information of the Streaming Media carried in record solicited message and this downstream site
Corresponding relation;And after the data of this Streaming Media subsequently received, it is not necessary to downstream site retransmits request,
Just automatically according to record, the data of this Streaming Media can be sent to this downstream site.So, downstream site
During obtaining stream medium data, avoid the need for constantly superior node and send request of data, joint
Save interaction time, decreased time delay, particularly with the situation that transmission node is the most, reduce the effect of time delay
Fruit is the best;On the other hand, superior node can also save to subordinate the most immediately when getting stream medium data
Point sends, it is not necessary to caches, saves cache-time, further reduce time delay, but also subtracts
Lack the demand to caching.Thus it is finally reached the time delay reducing client acquisition Streaming Media real time data,
Improve the purpose of data acquisition real-time.
Those skilled in the art of the present technique are appreciated that the present invention includes relating to performing described herein
One or more equipment in operation.These equipment can be required purpose and specialized designs and manufacture,
Or the known device in general purpose computer can also be included.These equipment have storage calculating within it
Machine program, these computer programs optionally activate or reconstruct.Such computer program can be deposited
Store up in equipment (such as, computer) computer-readable recording medium or be stored in and be suitable to store e-command difference
Being coupled in any kind of medium of bus, described computer-readable medium includes but not limited to any class
The dish (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk) of type, ROM (Read-Only
Memory, read only memory), RAM (Random Access Memory, memorizer immediately),
EPROM (Erasable Programmable Read-Only Memory, the read-only storage of erasable programmable
Device), (Electrically Erasable Programmable Read-Only Memory, electricity can for EEPROM
EPROM), flash memory, magnetic card or light card.It is, computer-readable recording medium includes
By equipment (such as, computer) with the form storage that can read or any medium of transmission information.
Those skilled in the art of the present technique are appreciated that and can realize these structures with computer program instructions
Frame in each frame in figure and/or block diagram and/or flow graph and these structure charts and/or block diagram and/or flow graph
Combination.Those skilled in the art of the present technique are appreciated that and can be supplied to by these computer program instructions
The processor of general purpose computer, special purpose computer or other programmable data processing methods realizes, thus
Structure chart disclosed by the invention is performed by the processor of computer or other programmable data processing methods
And/or the scheme specified in block diagram and/or the frame of flow graph or multiple frame.
Those skilled in the art of the present technique be appreciated that the present invention had discussed various operations, method,
Step in flow process, measure, scheme can be replaced, changed, combined or deleted.Further, tool
There are the various operations discussed in the present invention, method, other steps in flow process, measure, scheme
Can also be replaced, changed, reset, decomposed, combined or deleted.Further, of the prior art
Have with the step in the various operations disclosed in the present invention, method, flow process, measure, scheme can also
Replaced, changed, reset, decomposed, combined or deleted.
Those of ordinary skill in the field are it is understood that the discussion of any of the above embodiment is merely illustrative
, it is not intended that hint the scope of the present disclosure (including claim) is limited to these examples;At this
Under bright thinking, can also be combined between the technical characteristic in above example or different embodiment,
Step can realize with random order, and exist the present invention as above different aspect many other
Change, for they not offers in details simple and clear.Therefore, all the spirit and principles in the present invention it
In, any omission of being made, amendment, equivalent, improvement etc., should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. a stream medium data sending method, it is characterised in that including:
The stream medium data request sent according to downstream site, determines the stream matchmaker that described downstream site is asked
The relevant information of body;
This downstream site of corresponding record and the relevant information of described Streaming Media;
Determine in this node when having the corresponding stream medium data with the relevant information of described Streaming Media, root every time
According to the corresponding relation of record, described stream medium data is sent to described downstream site.
Method the most according to claim 1, it is characterised in that the relevant information bag of described Streaming Media
Include: the mark of described Streaming Media;And
The corresponding stream medium data of relevant information of described and described Streaming Media specially has described mark
The real time data of Streaming Media.
Method the most according to claim 1, it is characterised in that the relevant information bag of described Streaming Media
Include: the mark of described Streaming Media and download location;And
The corresponding stream medium data of relevant information of described and described Streaming Media specially has described mark
Streaming Media stream medium data at this download location;And
Described by after described stream medium data transmission to described downstream site, also include:
The information of described download location is updated according to the stream medium data sent.
4. according to the arbitrary described method of claim 1-3, it is characterised in that also include:
After receiving the ending request that described downstream site sends, determine the stream involved by described ending request
Media;
The described downstream site of corresponding record before and the relevant information of described Streaming Media are deleted.
5. according to the arbitrary described method of claim 1-3, it is characterised in that described downstream site is concrete
For Relay Server, its superior node is specially source server;Or
Described downstream site is specially Edge Server, and its superior node is specially Relay Server;Or
Described downstream site is specially the client of user, and its superior node is specially Edge Server.
6. a stream medium data dispensing device, it is characterised in that including:
Data request processing module, for the stream medium data request sent according to downstream site, determines institute
State the relevant information of the Streaming Media that downstream site is asked;
Subscription information logging modle, for this downstream site of corresponding record and the relevant letter of described Streaming Media
Breath;
Data distribution module, for determining in this node there be and the relevant information of described Streaming Media storage every time
During corresponding stream medium data, according to the corresponding relation of described subscription information logging modle record by described stream
Media data sends to described downstream site.
Device the most according to claim 6, it is characterised in that
Described subscription information logging modle is specifically for this downstream site of corresponding record and described Streaming Media
The mark of the Streaming Media in relevant information;And
Described data distribution module is specifically for receiving the real-time of the Streaming Media with described mark every time
During data, according to the corresponding relation of described subscription information logging modle record, described real time data is sent extremely
Described downstream site.
Device the most according to claim 6, it is characterised in that
Described subscription information logging modle is specifically for this downstream site of corresponding record and described Streaming Media
The mark of the Streaming Media in relevant information and download location;And
Described data distribution module is specifically for determining to store to have in this node have described mark every time
During Streaming Media stream medium data at this download location, according to described subscription information logging modle record
Described stream medium data is sent to described downstream site by corresponding relation.
Device the most according to claim 8, it is characterised in that also include:
Subscription information more new module, for the stream medium data sent according to described data distribution module, more
The information of new described download location.
10. according to the arbitrary described device of claim 6-9, it is characterised in that also include:
Ending request processing module, for the ending request sent according to downstream site, determines described end
Streaming Media involved by request;By described downstream site and the phase of described Streaming Media of corresponding record before
Close information deletion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610195435.5A CN105898387A (en) | 2016-03-30 | 2016-03-30 | Method and device for sending streaming media data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610195435.5A CN105898387A (en) | 2016-03-30 | 2016-03-30 | Method and device for sending streaming media data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105898387A true CN105898387A (en) | 2016-08-24 |
Family
ID=57014115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610195435.5A Pending CN105898387A (en) | 2016-03-30 | 2016-03-30 | Method and device for sending streaming media data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105898387A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488263A (en) * | 2016-10-24 | 2017-03-08 | 北京小米移动软件有限公司 | Push the method and device of live broadcast stream media data |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540885A (en) * | 2009-04-30 | 2009-09-23 | 中兴通讯股份有限公司 | IPTV on-demand system and method |
CN102118438A (en) * | 2011-01-17 | 2011-07-06 | 中兴通讯股份有限公司 | Method and device for live broadcasting apple media stream in Internet protocol television (IPTV) system |
CN102223288A (en) * | 2010-04-15 | 2011-10-19 | ***通信集团公司 | Method, system and device for scheduling resources |
CN102282825A (en) * | 2010-12-14 | 2011-12-14 | 华为技术有限公司 | Method and device for streaming media to request address mapping and cache nodes in content delivery network |
CN103036983A (en) * | 2012-12-14 | 2013-04-10 | 北京小米科技有限责任公司 | Method, network node, server and system of information acquisition |
CN103986976A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | Content delivery network (CDN)-based transmission system and method |
WO2014183708A1 (en) * | 2013-12-02 | 2014-11-20 | 中兴通讯股份有限公司 | Method and system for realizing block storage of distributed file system |
EP2678229B1 (en) * | 2011-02-21 | 2015-12-30 | Papier in Form und Farbe GmbH | Device for producing a dimensionally stable moulding and method for producing such mouldings |
-
2016
- 2016-03-30 CN CN201610195435.5A patent/CN105898387A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540885A (en) * | 2009-04-30 | 2009-09-23 | 中兴通讯股份有限公司 | IPTV on-demand system and method |
CN102223288A (en) * | 2010-04-15 | 2011-10-19 | ***通信集团公司 | Method, system and device for scheduling resources |
CN102282825A (en) * | 2010-12-14 | 2011-12-14 | 华为技术有限公司 | Method and device for streaming media to request address mapping and cache nodes in content delivery network |
CN102118438A (en) * | 2011-01-17 | 2011-07-06 | 中兴通讯股份有限公司 | Method and device for live broadcasting apple media stream in Internet protocol television (IPTV) system |
EP2678229B1 (en) * | 2011-02-21 | 2015-12-30 | Papier in Form und Farbe GmbH | Device for producing a dimensionally stable moulding and method for producing such mouldings |
CN103036983A (en) * | 2012-12-14 | 2013-04-10 | 北京小米科技有限责任公司 | Method, network node, server and system of information acquisition |
WO2014183708A1 (en) * | 2013-12-02 | 2014-11-20 | 中兴通讯股份有限公司 | Method and system for realizing block storage of distributed file system |
CN103986976A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | Content delivery network (CDN)-based transmission system and method |
Non-Patent Citations (1)
Title |
---|
张震: "基于CCN的CDN视频内容分发技术研究", 《软件》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488263A (en) * | 2016-10-24 | 2017-03-08 | 北京小米移动软件有限公司 | Push the method and device of live broadcast stream media data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100556129C (en) | A kind of equity connects flow medium live system and device | |
CN102238419B (en) | Method and apparatus for playing live content | |
KR101378218B1 (en) | Continuable communication management apparatus and continuable communication managing method | |
US9615119B2 (en) | Method and apparatus for providing timeshift service in digital broadcasting system and system thereof | |
CN103460667A (en) | Network streaming of video data using byte range requests | |
JP6007697B2 (en) | Cache device, cache program, and content distribution system | |
CN104980482A (en) | File transmitting method and device, file receiving method and device | |
JP5752231B2 (en) | Method and apparatus for providing time shift service in digital broadcasting system and system thereof | |
CN108200444B (en) | Video live broadcast method, device and system | |
KR101351715B1 (en) | Inheritance communication administrating apparatus | |
CN107920072B (en) | Multimedia sharing method and system based on data characteristics | |
JPWO2018043134A1 (en) | Delivery device, delivery method, receiving device, receiving method, program, and content delivery system | |
CN105812831A (en) | Network program recording method, device and system and recorded program playing method and device | |
CN109672911A (en) | A kind of method for processing video frequency and device | |
CN105898387A (en) | Method and device for sending streaming media data | |
CN105284118A (en) | Content provision device, content provision method, program, terminal device, and content provision system | |
US8181213B2 (en) | IP-based hometown TV program delivery system | |
CN101080017B (en) | A playing system and method of additional programs | |
JP3627631B2 (en) | Packet information transfer processing device, stream information transfer processing device, and stream information transfer network service providing method | |
KR101244512B1 (en) | Smart DMB Service System, Apparatus and Method to Provide/Receive of IP Streaming Service for Smart DMB Service | |
KR20160058756A (en) | Content provision device, content provision method, program, terminal device and content provision system | |
KR20060088438A (en) | System and method for inserting real-time rich media advertisement into multimedia content | |
CN101631271A (en) | Method, device, terminal and system for providing service guide | |
KR100620630B1 (en) | System and method for inserting Real-time rich media advertisement into multimedia content | |
KR20060088443A (en) | System for inserting real-time rich media advertisement into multimedia content with crm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |
|
WD01 | Invention patent application deemed withdrawn after publication |