CN100566297C - User end inserting method and system in the live streaming media - Google Patents

User end inserting method and system in the live streaming media Download PDF

Info

Publication number
CN100566297C
CN100566297C CNB2006101098854A CN200610109885A CN100566297C CN 100566297 C CN100566297 C CN 100566297C CN B2006101098854 A CNB2006101098854 A CN B2006101098854A CN 200610109885 A CN200610109885 A CN 200610109885A CN 100566297 C CN100566297 C CN 100566297C
Authority
CN
China
Prior art keywords
client
described request
access
medium data
stream medium
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
Application number
CNB2006101098854A
Other languages
Chinese (zh)
Other versions
CN101068197A (en
Inventor
王海波
方斌
林实立
吴波
宋洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006101098854A priority Critical patent/CN100566297C/en
Publication of CN101068197A publication Critical patent/CN101068197A/en
Application granted granted Critical
Publication of CN100566297C publication Critical patent/CN100566297C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses user end inserting method in a kind of live streaming media, comprising: requesting client sends the request access information to access server and supply client; Described access server determines that the described request client satisfies prerequisite, allows its access and required stream medium data is provided, and does not satisfy prerequisite until the described request client; The described request client inserts described supply client, obtains required stream medium data.Simultaneously, the present invention also discloses in a kind of live streaming media client connecting system in user end inserting method and the two kinds of live streaming medias.Stand-by period when the present invention can shorten the client user and watches program, improve client user's experience.

Description

User end inserting method and system in the live streaming media
Technical field
The present invention relates to the live streaming media field, particularly relate to user end inserting method and system in the live streaming media.
Background technology
Live streaming media is a kind of direct broadcast service based on the Internet, watches flow-medium performance on the network synchronously to be implemented in.Wherein, peer-to-peer network (P2P, Peer to peer) can share stream medium data between each client in the live streaming media, can alleviate the load of serving the provider, save the cost that service is provided, simultaneously, the P2P live streaming media has good user's property of participation, therefore, the P2P live streaming media is widely used on the internet and approves, is an important directions of following live streaming media development.
See also Fig. 1, the method that client inserts in the existing P2P live streaming media is shown, concrete steps are as follows:
Step 101, requesting client send solicited message to server;
The P2P flow medium live system comprises server and a plurality of client, can provide stream medium data to download between the client mutually.The client of request download stream media data is called requesting client, the client that stream medium data is provided is called the supply client.Requesting client user clicks the program of watching in advance, and requesting client sends the solicited message of this program to server.
Step 102, server return to requesting client can provide the supply of this program stream media data client-side information;
After server is received solicited message, in the P2P network, collect the supply client network information that this program stream media data can be provided, and the network information of collecting is sent to requesting client.
Step 103, requesting client insert supply client downloads stream medium data;
The supply client network information that requesting client is returned according to server sends the request access information to supplying client, downloads the stream medium data of this program by the back.
Behind the stream medium data of step 104, requesting client buffer memory a period of time, the beginning broadcast program.
The P2P flow medium live system for fear of stream medium data under the unstable situation of Network Transmission, the slack problem of program appears watching, need to restart broadcast behind the stream medium data of requesting client buffer memory a period of time, when playing, continue the download stream media data.
User end inserting method in the existing P2P live streaming media, the requesting client first frame stream medium data need be in the supply client downloads, but, the supply client state is stable inadequately, the speed of transmission data is slow, the limited in one's ability of requesting client access is provided, make requesting client be difficult to timely access and can stablize the supply of required stream medium data client is provided, incur loss through delay the time that requesting client downloads to the first frame stream medium data in the very first time of sending the request of inserting.And the transmission data are slower between the client, and the time that stream medium data cushioned before requesting client was finished and play is longer, make requesting client send the request access information to beginning broadcast program waits for too long, reduce client user's experience.
Summary of the invention
Technical problem to be solved by this invention provides live middle client fast access method of a kind of Media Stream and system, the stand-by period when shortening client user watches program, improves client user's experience.
The invention provides user end inserting method in a kind of live streaming media, comprising:
Management server receives the solicited message that requesting client sends, and obtains the access server that the required stream medium data of described request client can be provided and the network information of supplying client and returns the described request client;
The described request client determines to provide the access server and the supply client of the required stream medium data of described request client according to the described network information that receives, and sends the request access information to described access server and supply client;
Described access server determines that employed express passway does not surpass the express passway of being safeguarded, and determine that according to prerequisite the described request client just inserts, allow its access and provide the described request client required stream medium data, do not satisfy prerequisite until the described request client;
Described supply client inserts the described request client, provides the described request client required stream medium data.
Preferably, described access server determines that according to prerequisite the described request client just inserts, and allows its access and provides the described request client required stream medium data, does not satisfy prerequisite until the described request client and specifically carries out according to following step:
Step a, described access server determine that the described request client satisfies prerequisite, allows its access;
Step b, described request client send the request download message to described access server;
Step c, described access server provide and described request download message corresponding stream media data, and go to step a.
Preferably, the described request download message comprises the filename of stream medium data, the original position and the download length of download.
Preferably, the described request client inserts described supply client, provides the required stream medium data of described request client specifically to carry out according to following step:
The described request client-requested inserts the quick access passage of described supply client;
The employed quick access passage of described supply client does not surpass the own quick access passage of being safeguarded, and determine that according to prerequisite the described request client just inserts, allow it to insert and insert passage fast, and provide the described request client required stream medium data, do not satisfy prerequisite until the described request client;
Described supply client does not go to normal access passage with it when the described request client does not satisfy prerequisite, provide the described request client required stream medium data.
Preferably, described prerequisite comprises that the time of described request client access is less than Preset Time.
Preferably, described prerequisite comprises that the stream medium data of described request client downloads is less than preset value.
The present invention also provides client connecting system in a kind of live streaming media, comprises management server, requesting client, access server and at least one supply client;
Described management server is used to receive the solicited message that the described request client sends, and obtains the access server that the required stream medium data of described request client can be provided and the network information of supplying client and returns the described request client;
The described request client, be used for sending solicited message to described management server, and the described network information of returning according to described management server determines to provide the access server and the supply client of the required stream medium data of described request client, and send the request access information, and obtain the required stream medium data of described request client from described access server and supply client to described access server and described supply client;
Described access server is used for determining that according to prerequisite the described request client just inserts, and allows its access and provides the described request client required stream medium data, does not satisfy prerequisite until the described request client;
Described supply client is used to insert the described request client, and provides the described request client required stream medium data.
Preferably, described access server comprises the quick access unit of server, server judging unit and server stream medium data unit;
The quick access unit of described server is used to judge whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then refuse described access; If not, then go to described server judging unit;
Described server judging unit is used for judging according to prerequisite whether the described request client just inserts, and is, then goes to the server flows media data units; , then do not refuse its access;
Described server flows media data units is used for providing required stream medium data to the described request client.
Preferably, described supply client comprises the quick access unit of client, the normal access unit of client, client judging unit, client stream medium data unit;
The quick access unit of described client is used to judge whether employed quick access passage surpasses the own quick access passage of being safeguarded, if, then go to client and normally insert channel unit, if not, then go to described client judging unit;
Described client judging unit is used for judging according to prerequisite whether the described request client just inserts, and is, then goes to client stream medium data unit; , then do not go to the normal access unit of client or refuse its access;
Described client stream medium data unit is used for providing required stream medium data to the described request client.
The present invention also provides user end inserting method in the another kind of live streaming media, comprising:
Management server receives the solicited message that requesting client sends, and obtains the network information of the supply client that the required stream medium data of described request client can be provided and returns the described request client;
The described request client determines to provide the supply client of the required stream medium data of described request client according to the described network information that receives, and asks to insert the quick access passage of supply client;
Described supply client determines that employed quick access passage does not surpass the own quick access passage of being safeguarded, and just insert according to pre-conditioned definite described request client, allow it to insert and insert passage fast, and provide the described request client required stream medium data, do not satisfy pre-conditioned until the described request client;
The described request client is obtained the required stream medium data of described request client not satisfying normal access passage or other supply client that forwards described supply client when pre-conditioned to.
Preferably, described supply client just inserts according to pre-conditioned definite described request client, allows its access and provides the described request client required stream medium data, does not satisfy until the described request client and pre-conditionedly specifically carries out according to following step:
Steps A, that described supply client determines that the described request client satisfies is pre-conditioned, allows its access;
Step B, described request client send the request download message to described supply client;
Step C, described supply client provide and described request download message corresponding stream media data, and go to steps A.
The present invention also provides client connecting system in the another kind of live streaming media, comprises management server, requesting client, at least one supplies client;
Described management server is used to receive the solicited message that the described request client sends, and obtains the network information of the supply client that the required stream medium data of described request client can be provided and returns the described request client;
The described request client, the network information that is used for returning according to described management server determines to provide the supply client of the required stream medium data of described request client, and send the request access information to described supply client, obtain the required stream medium data of described request client in described supply client;
Described supply client, be used for just inserting according to pre-conditioned definite described request client, allowing it to insert inserts passage fast and provides the described request client required stream medium data, do not satisfy pre-conditionedly until the described request client, it is changed over to normal access passage or stops its access.
Compared with prior art, the present invention has the following advantages:
The present invention uses access server, aim at the requesting client that has just inserted required stream medium data is provided, access server is in stable condition, the transmission data speed is fast, provide the client access capability strong, can guarantee that the client that has just inserted can be stablized obtains required stream medium data, can reduce the time of client buffering data in stream media before broadcast again, stand-by period when the shortening client is watched program, improve the client user and experience.
Preferably, the quick access passage of client maintenance some of the present invention, these insert fast passages only for other requesting client that has just inserted provides required stream medium data, can guarantee to a certain extent that the requesting client that has just inserted can stablize the required stream medium data of acquisition quickly.And can under the too high situation of a certain flow-medium performance clicking rate, alleviate the burden of access server.
Preferably, the present invention adopts the stream medium data amount of turn-on time and buffer memory to judge that request inserts whether client is the client that has just inserted, the requesting client of avoiding inserting takies access server and the quick access passage of supplying client after for a long time, the client that other request is inserted can not insert quick access passage, guarantees to stablize, provide the described request client required stream medium data fast for more requests insert client.
Description of drawings
The method flow diagram that Fig. 1 inserts for client in the existing P2P live streaming media;
Fig. 2 is user end inserting method embodiment flow chart in a kind of live streaming media of the present invention;
Fig. 3 is client connecting system embodiment schematic diagram in a kind of flow medium live system of the present invention;
Fig. 4 is an embodiment schematic diagram of access server of the present invention;
Fig. 5 supplies an embodiment schematic diagram of client for the present invention;
Fig. 6 is user end inserting method embodiment flow chart in the another kind of live streaming media of the present invention;
Fig. 7 is client connecting system embodiment schematic diagram in the another kind of live streaming media of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Core concept of the present invention is to use access server, aim at the client that has just inserted required stream medium data is provided, access server is in stable condition, the transmission data speed is fast, provide the client access capability strong, can guarantee that the client that has just inserted can be stablized obtains required stream medium data, can reduce the time of client buffering data in stream media before broadcast again, stand-by period when the shortening client is watched program, improve the client user and experience.
Please refer to Fig. 2, user end inserting method embodiment in a kind of live streaming media of the present invention is shown, concrete steps are as follows:
Step 201, requesting client send solicited message to management server;
Live streaming media of the present invention is meant that the P2P network flow-medium is live, and P2P live streaming media service system comprises a plurality of clients, access server and management server.Management server is responsible for the management of flow-medium performance, safeguards network information, state information, download message of each client and access server etc.Required stream medium data is stablized, provided apace to access server for the client that has just inserted.Client is divided into requesting client and supply client according to the present located state.Requesting client, begins to start and plays after the data of buffer memory a period of time at access server and the required stream medium data of supply client downloads.For providing the client of stream medium data, requesting client is called the supply client, the supply client not only refers to data source of stream media, also comprise with requesting client and download identical stream medium data simultaneously, but carry out the mutual client of stream medium data with requesting client.Requesting client is relative with the supply client.
Requesting client user wants to watch certain program, clicks this program, and requesting client sends solicited message to management server, and solicited message comprises the required stream medium data information of requesting client.Stream medium data information comprises information such as the file life, download address of flow-medium performance.
Step 202, management server obtain access server that required stream medium data can be provided and the network information of supplying client, and this information is returned requesting client;
Management server is checked access server and supply client that this stream medium data can be provided according to stream medium data information, and the access server that finds and the network information of supplying client are sent to requesting client.
The network information comprises communication protocol, IP address, port numbers etc., and management server is stable, and the domain name of management server, port numbers, communication protocol generally are changeless, and requesting client can be directly connected to management server.But the IP address of access server and other client and port numbers may change, and the presence of client also often changes.So requesting client must be obtained access server and the supply client-side information that required stream medium data can be provided by management server.
Step 203, requesting client send the request access information to access server and supply client;
Requesting client determines to provide the access server and the supply client of required stream medium data according to the network information that receives, and sends the request access information to access server and supply client.This request access information comprises temporal information and self buffering data in stream media information.Requesting client sends the request access information to access server and a plurality of supply client simultaneously.
Requesting client is access server and a plurality of supply client simultaneously.Requesting client inside can be downloaded required stream medium data burst respectively from different places, in the download place of selecting the subsequent flows media data according to speed of download.Such as, access server and 9 supply clients can provide requesting client required stream medium data simultaneously, requesting client can be downloaded 1 to 5 second flow media data in the access server request, 5 seconds the stream medium data in 5 to 50 seconds every intervals is respectively 9 supply client downloads, requesting client determines that according to speed of download that download place download is the fastest, and follow-up 50 to 100 seconds stream medium data requesting client can ask to download at this place.
Requesting client goes to step 204 at access server download stream media data; Requesting client goes to step 208 at supply client downloads stream medium data.
Step 204, access server judge whether employed quick access passage surpasses the own quick access passage of being safeguarded;
Access server has the quick access passage of some, and the quantity of the quick access passage of the access server of general P2P network can be about 1000 to 10000.Access server judges whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then forward step 207 to; If not, then forward step 205 to.
Step 205, access server judge whether requesting client satisfies prerequisite;
Access server judges according to prerequisite whether the described request client just inserts, if then forward step 206 to; If not, then forward step 207 to.
The time that the requesting client that comprises prerequisite inserts was no more than the time of setting, as 20 seconds.Described access server compares the turn-on time and the current time of this requesting client, determines its turn-on time.As surpass, judge that then this requesting client is not just to insert.
Prerequisite comprises that also requesting client buffering data in stream media amount is no more than set point.The foundation of judging is that access server offers requesting client with the stream medium data burst, as provide 1 second to 15 seconds stream medium data, the employing time method that multiply by the transfer of data code check can accurately be learnt the data volume of the Streaming Media that requesting client is downloaded again, as surpassing set point, judge that then this requesting client is not just to insert.
In live streaming media, the Streaming Media of requesting client buffer memory some just begins to play, and requesting client can utilize reproduction time to continue to download follow-up stream medium data, and continuous watches.Therefore, access server does not just need to provide quick access service for this requesting client again.
Step 206, access server insert this requesting client and provide required stream medium data for it;
Access server returns the information that has inserted to requesting client, and requesting client sends download request information to access server, and download request information comprises information such as original position that required files in stream media name, needs download, download length.Access server provides corresponding stream media data according to the request download message, and goes to step 204.
Requesting client is at every turn to the less stream medium data of access server request, after access server provides and finishes, judge once more whether this requesting client satisfies prerequisite, make only requesting client service of access server for just having inserted, simultaneously, requesting client also can determine whether according to the speed of download stream media data also to continue from this download, and is slow excessively as speed, and requesting client can ask to insert other access server or supply client.
Step 207, supply client insert requesting client, and required stream medium data is provided.
When requesting client after access server has been downloaded junior one section stream medium data, the access server refusal provides stream medium data for it again.Requesting client changes the required stream medium data of supply client-requested over to.
The present invention supply client have quick access passage, normally insert functions such as passage, judge that whether requesting client is for just inserting client, functions such as stream medium data being provided, similar to access server functionality, difference is, the supply client is many not as the quick access number of channels that access server provides, not as access server is stablized, the transmission data speed is fast.The supply client has the unexistent normal access passage of access server, can intactly provide requesting client required stream medium data.
Step 208, supply client judge whether employed quick access passage surpasses the own quick access passage of being safeguarded;
The supply client has the quick access passage of lesser amt, and the supply client judges whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then forward step 211 to; If not, then forward step 209 to.
Step 209, to judge whether requesting client satisfies pre-conditioned for the supply client;
The supply client judges according to pre-conditioned whether the described request client just inserts, if then forward step 210 to; If not, then forward step 211 to.
Pre-conditioned and above-mentioned prerequisite is identical, comprise that time that requesting client inserts is no more than the time of setting, and requesting client buffering data in stream media amount is no more than set point.Pre-conditioned as not satisfying, judge that then this requesting client is not just to insert.
In live streaming media, the Streaming Media of requesting client buffer memory some just begins to play, and requesting client can utilize reproduction time to continue to download follow-up stream medium data, and continuous watches.Therefore, the supply client does not just need it to be transferred to normal access passage for this requesting client provides quick access service again.
Step 210, supply client insert this requesting client and provide required stream medium data for it;
The supply client is returned the information that has inserted to requesting client, and requesting client sends download request information to the supply client, and download request information comprises information such as original position that required files in stream media name, needs download, download length.The supply client provides corresponding stream media data according to the request download message, and goes to step 208.
Requesting client is at every turn to the less stream medium data of supply client-requested, after the supply client provides and finishes, judge once more whether this requesting client satisfies prerequisite, make only the requesting client service of quick access passage of supply client for just having inserted, simultaneously, requesting client also can determine whether according to the speed of download stream media data also to continue from this download, and is slow excessively as speed, and requesting client can ask to insert other supply client downloads.
Step 211, supply client change requesting client over to normal access passage.
The supply client changes requesting client over to normal access passage or refuses it and insert, and the normal access passage of supply client can be requesting client and provides complete, watches the stream medium data of program in advance.
Therefore access server of the present invention and each client all have the quick access passage that transfers the client-server that has just inserted to, even a certain flow-medium performance moment clicking rate uprush, insert the powerful ability that quick access is provided of client, add each client and share part access service fast, be enough to guarantee that the client of asking to insert enjoys quick access service, reduce the client user and watch the preceding stand-by period of program, improve the client user and experience.
See also Fig. 3,, comprise management server 301, access server 302, requesting client 303 and a plurality of supply client 304 for client connecting system embodiment schematic diagram in a kind of flow medium live system of the present invention.
Management server 301 is responsible for the management of flow-medium performances, safeguards the network information, state information, download message of access server 302, requesting client 303 and supply client 304 etc.And provide the required network information for requesting client 303.
Required stream medium data is stablized, provided apace to access server 302 for the client that has just inserted.When access server 302 determines that requesting client 303 satisfies prerequisite, allow its access and required stream medium data is provided, do not satisfy prerequisite until described request client 33.Prerequisite comprises that time that requesting client 303 inserts is no more than the time of setting, and requesting client 303 buffering data in stream media amounts are no more than set point.Pre-conditioned as not satisfying, judge that then this requesting client 303 is not just to insert, and refuses its access.
Supply client 304 inserts requesting client 303, and its required stream medium data is provided.When requesting client 303 has been downloaded junior one section stream medium data at access server 302, and after beginning to watch, access server 302 refusals are again for it provides stream medium data, and requesting client 303 switchings are gone into to supply client 304 and obtained required stream medium data.
See also Fig. 4, be an embodiment schematic diagram of access server of the present invention, comprise the quick access unit 401 of server, server judging unit 402, server flows media data units 403, server info interactive unit 404.
The quick access unit 401 of server receives the request access information that requesting client sends, and goes to server judging unit 402.The quick access unit 401 of server has the quick access passage of some, and the quantity of the quick access passage of the access server of general P2P network can be about 1000 to 10000.The quick access unit 401 of server can judge whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then refuse described access; If not, then forward server judging unit 402 to.
Server judging unit 402 judges whether the described request client satisfies prerequisite, is, then goes to server flows media data units 403; , then do not refuse its access.The time that the requesting client that comprises prerequisite inserts was no more than the time of setting, as 20 seconds.Server judging unit 402 compares the turn-on time and the current time of this requesting client, determines its turn-on time.As surpass, judge that then this requesting client is not just to insert.Prerequisite comprises that also requesting client buffering data in stream media amount is no more than set point.The foundation of judging is that access server offers requesting client with the stream medium data burst, as provide 1 second to 15 seconds stream medium data, the employing time method that multiply by the transfer of data code check can accurately be learnt the data volume of the Streaming Media that requesting client is downloaded again, as surpassing set point, judge that then this requesting client is not just to insert.Set point is about client and begins the preceding stream medium data amount that needs buffer memory of broadcast program.
Server flows media data units 403 provides required stream medium data to requesting client, server judging unit 402 returns the information that has inserted to requesting client, requesting client sends download request information to server flows media data units 403, and download request information comprises information such as the original position, download length of required files in stream media name, needs download.Server flows media data units 403 provides corresponding stream media data according to the request download message.
The main effect of server info interactive unit 404 be and management server, each client between carry out information interaction.
See also Fig. 5, for the present invention supplies an embodiment schematic diagram of client, comprise the quick access unit 501 of client, the normal access unit 502 of client, client judging unit 503, client stream medium data unit 504 and client-side information interactive unit 505.
The quick access unit 501 of client receives the request access information that requesting client sends, and goes to client judging unit 503.The quick access unit 501 of client has the quick access passage of lesser amt, the quick access unit 501 of client judges whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then forward client to and normally insert channel unit 502; If not, then forward client judging unit 503 to.
It is pre-conditioned that client judging unit 503 judges whether the described request client satisfies, and is, then goes to client stream medium data unit 504; , then do not go to the normal access unit 502 of client or refuse its access.The pre-conditioned time that comprises that requesting client inserts is no more than the time of setting, and requesting client buffering data in stream media amount is no more than set point.
Client stream medium data unit 504 provides required stream medium data to requesting client.Client judging unit 503 returns the information that has inserted to requesting client, requesting client sends download request information to client stream medium data unit 504, and download request information comprises information such as the original position, download length of required files in stream media name, needs download.Client stream medium data unit 504 provides corresponding stream media data according to the request download message.
The normal access unit 502 of client is provided for requesting client by the required stream medium data that provides that continues.
Client-side information interactive unit 505 is used for and management server, access server and other client interactive information.
See also Fig. 6, be user end inserting method embodiment flow chart in the another kind of live streaming media of the present invention, concrete steps are as follows:
Step 601, requesting client send solicited message to management server, and this solicited message comprises required stream medium data information;
Step 602, management server obtain the network information that the supply of required stream medium data client can be provided, and this network information is returned requesting client;
Step 603, requesting client send the request access information to supplying client according to the network information;
Step 604, supply client judge whether employed quick access passage surpasses the own quick access passage of being safeguarded;
The supply client has the quick access passage of lesser amt, and the supply client judges whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then forward step 607 to; If not, then forward step 605 to.
Step 605, to judge whether requesting client satisfies pre-conditioned for the supply client;
The supply client judges according to pre-conditioned whether the described request client just inserts, if then forward step 606 to; If not, then forward step 607 to.
The pre-conditioned time that comprises that requesting client inserts is no more than the time of setting, and requesting client buffering data in stream media amount is no more than set point.Pre-conditioned as not satisfying, judge that then this requesting client is not just to insert, refuse it and insert access passage fast.
Step 606, supply client insert this requesting client and provide required stream medium data for it;
The supply client is returned the information that has inserted to requesting client, and requesting client sends download request information to the supply client, and download request information comprises information such as original position that required files in stream media name, needs download, download length.The supply client provides corresponding stream media data according to the request download message, and goes to step 604.
Requesting client is at every turn to the less stream medium data of supply client-requested, after the supply client provides and finishes, judge once more whether this requesting client satisfies prerequisite, make only the requesting client service of quick access passage of supply client for just having inserted, simultaneously, requesting client also can determine whether according to the speed of download stream media data also to continue from this download, and is slow excessively as speed, and requesting client can ask to insert other supply client downloads.
Step 607, supply client change requesting client over to normal access passage.
The supply client changes requesting client over to normal access passage or refuses it and insert, and the normal access passage of supply client can be requesting client and provides complete, watches the stream medium data of program in advance.
See also Fig. 7,, comprise management server 701, requesting client 702, a plurality of supply client 703 for client connecting system embodiment schematic diagram in the another kind of live streaming media of the present invention.
Management server 701 main effects are the requesting client 702 of being in charge of whole P2P network, the network information of supplying client 703, download message, state information etc.
Requesting client 702 sends the request access informations to supplying client 703, and obtains required stream medium data in supply client 703.
It is pre-conditioned that supply client 703 determines that requesting client 702 satisfy, and allows it to insert and insert passage fast and required stream medium data is provided, and do not satisfy pre-conditionedly until requesting client 703, and it is changed over to normal access passage or stops its access.
More than user end inserting method and system in a kind of live streaming media provided by the present invention are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1, user end inserting method in a kind of live streaming media is characterized in that, comprising:
Management server receives the solicited message that requesting client sends, and obtains the access server that the required stream medium data of described request client can be provided and the network information of supplying client and returns the described request client;
The described request client determines to provide the access server and the supply client of the required stream medium data of described request client according to the described network information that receives, and sends the request access information to described access server and supply client;
Described access server determines that employed express passway does not surpass the express passway of being safeguarded, and determine that according to prerequisite the described request client just inserts, allow its access and provide the described request client required stream medium data, do not satisfy prerequisite until the described request client;
Described supply client inserts the described request client, provides the described request client required stream medium data.
2, method according to claim 1, it is characterized in that, described access server determines that according to prerequisite the described request client just inserts, allow its access and provide the described request client required stream medium data, do not satisfy prerequisite until the described request client and specifically carry out according to following step:
Step a, described access server determine that the described request client satisfies prerequisite, allows its access;
Step b, described request client send the request download message to described access server;
Step c, described access server provide and described request download message corresponding stream media data, and go to step a.
3, method according to claim 2 is characterized in that, the described request download message comprises the filename of stream medium data, the original position and the download length of download.
4, method according to claim 1 is characterized in that, described supply client inserts the described request client, provides the required stream medium data of described request client specifically to carry out according to following step:
The described request client-requested inserts the quick access passage of described supply client;
Described supply client determines that employed quick access passage does not surpass the own quick access passage of being safeguarded, and determine that according to prerequisite the described request client just inserts, allow it to insert and insert passage fast, and provide the described request client required stream medium data, do not satisfy prerequisite until the described request client;
Described supply client does not go to normal access passage with it when the described request client does not satisfy prerequisite, provide the described request client required stream medium data.
According to each described method of claim 1 to 4, it is characterized in that 5, described prerequisite comprises that the time of described request client access is less than Preset Time.
According to each described method of claim 1 to 4, it is characterized in that 6, described prerequisite comprises that the stream medium data amount of described request client downloads is less than preset value.
7, client connecting system in a kind of live streaming media is characterized in that, comprises management server, requesting client, access server and at least one supply client;
Described management server is used to receive the solicited message that the described request client sends, and obtains the access server that the required stream medium data of described request client can be provided and the network information of supplying client and returns the described request client;
The described request client, be used for sending solicited message to described management server, and the described network information of returning according to described management server determines to provide the access server and the supply client of the required stream medium data of described request client, and send the request access information, and obtain the required stream medium data of described request client from described access server and supply client to described access server and described supply client;
Described access server is used for determining that according to prerequisite the described request client just inserts, and allows its access and provides the described request client required stream medium data, does not satisfy prerequisite until the described request client;
Described supply client is used to insert the described request client, and provides the described request client required stream medium data.
8, system according to claim 7 is characterized in that, described access server comprises the quick access unit of server, server judging unit and server stream medium data unit;
The quick access unit of described server is used to judge whether employed quick access passage surpasses the own quick access passage of being safeguarded, if then refuse described access; If not, then go to described server judging unit;
Described server judging unit is used for judging according to prerequisite whether the described request client just inserts, and is, then goes to the server flows media data units; , then do not refuse its access;
Described server flows media data units is used for providing required stream medium data to the described request client.
9, system according to claim 7 is characterized in that, described supply client comprises the quick access unit of client, the normal access unit of client, client judging unit, client stream medium data unit;
The quick access unit of described client is used to judge whether employed quick access passage surpasses the own quick access passage of being safeguarded, if, then go to client and normally insert channel unit, if not, then go to described client judging unit;
Described client judging unit is used for judging according to prerequisite whether the described request client just inserts, and is, then goes to client stream medium data unit; , then do not go to the normal access unit of client or refuse its access;
Described client stream medium data unit is used for providing required stream medium data to the described request client.
10, user end inserting method in a kind of live streaming media is characterized in that, comprising:
Management server receives the solicited message that requesting client sends, and obtains the network information of the supply client that the required stream medium data of described request client can be provided and returns the described request client;
The described request client determines to provide the supply client of the required stream medium data of described request client according to the described network information that receives, and asks to insert the quick access passage of supply client;
Described supply client determines that employed quick access passage does not surpass the own quick access passage of being safeguarded, and just insert according to pre-conditioned definite described request client, allow it to insert and insert passage fast, and provide the described request client required stream medium data, do not satisfy pre-conditioned until the described request client;
The described request client is obtained the required stream medium data of described request client not satisfying normal access passage or other supply client that forwards described supply client when pre-conditioned to.
11, method according to claim 10, it is characterized in that, described supply client just inserts according to pre-conditioned definite described request client, allow its access and provide the described request client required stream medium data, do not satisfy until the described request client and pre-conditionedly specifically carry out according to following step:
Steps A, that described supply client determines that the described request client satisfies is pre-conditioned, allows its access;
Step B, described request client send the request download message to described supply client;
Step C, described supply client provide and described request download message corresponding stream media data, and go to steps A.
12, client connecting system in a kind of live streaming media is characterized in that, comprises management server, requesting client, at least one supplies client;
Described management server is used to receive the solicited message that the described request client sends, and obtains the network information of the supply client that the required stream medium data of described request client can be provided and returns the described request client;
The described request client, the network information that is used for returning according to described management server determines to provide the supply client of the required stream medium data of described request client, and send the request access information to described supply client, obtain the required stream medium data of described request client in described supply client;
Described supply client, be used for just inserting according to pre-conditioned definite described request client, allowing it to insert inserts passage fast and provides the described request client required stream medium data, do not satisfy pre-conditionedly until the described request client, it is changed over to normal access passage or stops its access.
CNB2006101098854A 2006-08-18 2006-08-18 User end inserting method and system in the live streaming media Active CN100566297C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101098854A CN100566297C (en) 2006-08-18 2006-08-18 User end inserting method and system in the live streaming media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101098854A CN100566297C (en) 2006-08-18 2006-08-18 User end inserting method and system in the live streaming media

Publications (2)

Publication Number Publication Date
CN101068197A CN101068197A (en) 2007-11-07
CN100566297C true CN100566297C (en) 2009-12-02

Family

ID=38880640

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101098854A Active CN100566297C (en) 2006-08-18 2006-08-18 User end inserting method and system in the live streaming media

Country Status (1)

Country Link
CN (1) CN100566297C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223570A (en) * 2011-06-17 2011-10-19 北京互信互通信息技术股份有限公司 Multi-stage real-time video streaming media distribution method and system
CN103024467A (en) * 2012-12-11 2013-04-03 中兴通讯股份有限公司 Method, device and system for achieving Internet protocol television (IPTV) business
CN108847965B (en) * 2018-05-30 2022-01-25 新华三技术有限公司 Cluster member state oscillation prevention method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
adPD:一种速度自适应的动态并行下载技术. 周旭,卢显良,候孟书,詹川.计算机科学,第32卷第4期. 2005
adPD:一种速度自适应的动态并行下载技术. 周旭,卢显良,候孟书,詹川.计算机科学,第32卷第4期. 2005 *
基于P2P技术的流媒体服务模型及其CA仿真. 段晓东,于鑫,刘向东.计算机工程与应用,第36卷. 2005
基于P2P技术的流媒体服务模型及其CA仿真. 段晓东,于鑫,刘向东.计算机工程与应用,第36卷. 2005 *

Also Published As

Publication number Publication date
CN101068197A (en) 2007-11-07

Similar Documents

Publication Publication Date Title
EP3706424B1 (en) Video live broadcast method and apparatus
CN100556129C (en) A kind of equity connects flow medium live system and device
CN102098310B (en) Streaming media content service method and system
US7650376B1 (en) Content distribution system for distributing content over a network, with particular applicability to distributing high-bandwidth content
CN101141459B (en) Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
CN101478556B (en) Method and apparatus for downloading peer-to-peer transmitted data slice
US20100023579A1 (en) Dynamic media bit rates based on enterprise data transfer policies
CA2840106A1 (en) Offline download method, multimedia file download method and system thereof
JP2013510453A (en) Streaming with optional broadcast delivery of data segments
US9313268B2 (en) Methods and arrangements for prioritization in a peer-to-peer network
WO2009141269A1 (en) System and method for distributing a map of content available at multiple receivers
US9965640B1 (en) Real-time distribution of messages via a network with multi-region replication in a hosted service environment
JP5752231B2 (en) Method and apparatus for providing time shift service in digital broadcasting system and system thereof
CN100566297C (en) User end inserting method and system in the live streaming media
CN102571409B (en) Service request management system and method for realizing service across-terminal application
CN111372103B (en) Multicast method, device, equipment and computer storage medium
CN112995783A (en) Advertisement insertion method, electronic device and storage medium
KR101252947B1 (en) Method and apparatus for push-pull hybrid streaming adaptive to video chunk distribution
KR101465659B1 (en) Methods and apparatuses of peer-assisted data delivery using periodic multicast
CN113630618A (en) Video processing method, device and system
CN101616168A (en) The processing method of streaming media interactive information, Apparatus and system
CN114760485B (en) Video carousel method, system and related equipment
CN104661108A (en) Media stream downloading method for terminal, terminal and communication system
EP3681122A1 (en) System, method and devices for low latency transmission
WO2016165596A1 (en) Multimedia file control method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant