CN102164306A - Streaming media service pause processing method, device and system - Google Patents

Streaming media service pause processing method, device and system Download PDF

Info

Publication number
CN102164306A
CN102164306A CN2011101057041A CN201110105704A CN102164306A CN 102164306 A CN102164306 A CN 102164306A CN 2011101057041 A CN2011101057041 A CN 2011101057041A CN 201110105704 A CN201110105704 A CN 201110105704A CN 102164306 A CN102164306 A CN 102164306A
Authority
CN
China
Prior art keywords
program
request
server
time
client
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
Application number
CN2011101057041A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN2011101057041A priority Critical patent/CN102164306A/en
Publication of CN102164306A publication Critical patent/CN102164306A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a streaming media service pause processing method, a streaming media service pause processing device and a streaming media service pause processing system, which relate to the technical fields of communication and streaming media. The resource utilization rate of a server is increased, convenience is brought to the paused streaming media service recovery of a user, and user experiences are improved. The method comprises the following steps of: detecting whether used resources of the server meet preset resource strain conditions or not; if the used resources of the server are detected to meet the preset resource strain conditions, determining an on demand task with pause duration greater than a first threshold value in the on demand tasks requested by a client to be paused; and transmitting an on demand task termination notice to the client of the on demand task, and after an on demand task termination request is received from the client, terminating the on demand task with the pause duration greater than the first threshold value. The embodiment of the invention is mainly applied to the processing of pause time-out of the streaming media.

Description

The time-out processing method of streaming media service, Apparatus and system
Technical field
The present invention relates to communication technical field, the stream media technology field relates in particular to a kind of time-out processing method, Apparatus and system of streaming media service.
Background technology
At present, stream media technology has been widely used in digital TV field, in interactive VOD business such as internet television, IPTV, NGB.When adopting stream media technology to provide the transmission service of audio frequency and video for the user, audio/video server can transmit Streaming Medias such as sound, image or animation continuously, in real time to the user, the user needn't wait until that whole file is all downloaded and finish, and only need can watch through the startup time-delay of several seconds or ten several seconds.
In the interactive VOD business, service such as existing streaming media server can provide broadcast, time-out, F.F., rewind down for the user, stop.For example, when carrying out program request and watch, a lot of users may leave in watching process and handle other things, watch for the ease of continuing after returning, and custom is suspended current program request, returns over time to continue to watch from current time-out.
Yet, though it is out of service that existing streaming media server all provides basically, but some streaming media server lacks pause timeout to be handled, cause user's interval, when especially time out is longer, take server and bandwidth resources etc., can not in time discharge other users of resource service when big, cause the wasting of resources of server end concurrent.And some media server detect suspend the duration overtime after, can force the end user program request, discharge a part of resource.Yet, overtime in the server resource anxiety if the time-out duration of program request task does not have, at this moment, still can't the end user program request, discharge resource and use for other users, cause the waste of server resource.On the other hand, because in the prior art, server one side is forced the end user program request, making the user return needs program request once more when watching, from the beginning watch again and be manually adjusted to and suspended the position last time, has influenced user experience.
Summary of the invention
Embodiments of the invention provide a kind of time-out processing method, Apparatus and system of streaming media service, improve the resource utilization of server, make things convenient for the user that the streaming media service that suspends is recovered, and improve user experience.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, provide a kind of time-out processing method of streaming media service, comprising:
Whether that detects server satisfies the nervous condition of default resource with resource;
Described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
Client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value.
On the one hand, provide a kind of time-out processing method of streaming media service, comprising:
When the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
Receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program;
When the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server;
Receive and play the program data of the described request program of described server transmission from described time out point beginning.
On the other hand, provide a kind of server, comprising:
First detecting unit, whether what be used to detect server satisfies the nervous condition of default resource with resource;
Determining unit, be used for described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
Suspend processing unit, be used for sending end program request task notice, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than first threshold value to the client of described program request task.
On the other hand, provide a kind of client, comprising:
Send processing unit, be used for when the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
The recording processing unit is used to receive the end program request task notice that described server sends, and send end program request task requests to described server after, writes down the time out point of described request program;
Transmitting element is used for sending the order request that carries request program sign and time out point to described server when the play instruction of the described request program that receives input;
Receive broadcast unit, be used to receive and play the program data of the described request program of described server transmission from described time out point beginning.
On the one hand, provide a kind of stream media service system again, comprising:
Server, whether what be used to detect server satisfies the nervous condition of default resource with resource; Described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value; Client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value;
Client is used for when the pause instruction of the request program that receives input, to the time-out request of server transmission request program, suspends and plays described request program; Receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; When the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Receive and play the program data of the described request program of described server transmission from described time out point beginning.
In the described embodiment of the invention of technique scheme, server one side, whether satisfy the nervous condition of default resource with resource by what detect server, and described server satisfy the nervous condition of default resource with resource the time, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish to suspend the program request task of duration greater than first threshold value.Realized when server resource is nervous, also can come the release portion resource to use for other users by finishing the program request task, with only whether overtime in the prior art according to suspending the duration, determine whether finishing the program request task, can't carry out resource releasing processing according to the current resource operating position of server compares, the beneficial effect that the embodiment of the invention is brought is: can be in conjunction with the operating position of server resource, in time resource is used and adjusted, improved the service efficiency of server resource.
On the other hand, in the embodiment of the invention when finishing the program request task, server one side, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than first threshold value.Simultaneously, in client one side, receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; And when the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Afterwards, client will begin to continue broadcast program from described time out point.Force to finish the program request task with one side of server in the prior art, the user needs program request once more when returning client and watching, again from the beginning watch and be manually adjusted to and suspended the position last time and compare, another beneficial effect that the embodiment of the invention is brought is: make things convenient for the user that the streaming media service that suspends is recovered, improve user experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the time-out processing method of a kind of streaming media service that Fig. 1 provides for the embodiment of the invention 1;
The flow chart of the time-out processing method of the another kind of streaming media service that Fig. 2 provides for the embodiment of the invention 1;
The flow chart of the time-out processing method of another streaming media service that Fig. 3 provides for the embodiment of the invention 1;
The flow chart of the time-out processing method of another streaming media service that Fig. 4 provides for the embodiment of the invention 1;
The structure chart of a kind of server that Fig. 5 provides for the embodiment of the invention 2;
The structure chart of the another kind of server that Fig. 6 provides for the embodiment of the invention 2;
The structure chart of another server that Fig. 7 provides for the embodiment of the invention 2;
The structure chart of a kind of client that Fig. 8 provides for the embodiment of the invention 2;
The structure chart of a kind of stream media service system that Fig. 9 provides for the embodiment of the invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1:
As shown in Figure 1, the embodiment of the invention provides a kind of time-out processing method of streaming media service, and this method is carried out by server one side, comprises the steps:
101, whether the detection server satisfies the nervous condition of default resource with resource;
102, described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
103, the client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value.
Because server one side, whether satisfy the nervous condition of default resource with resource by what detect server, and described server satisfy the nervous condition of default resource with resource the time, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish to suspend the program request task of duration greater than first threshold value.Realized when server resource is nervous, also can come the release portion resource to use for other users by finishing the program request task, with only whether overtime in the prior art according to suspending the duration, determine whether finishing the program request task, can't carry out resource releasing processing according to the current resource operating position of server compares, the beneficial effect that the embodiment of the invention is brought is: can be in conjunction with the operating position of server resource, in time resource is used and adjusted, improved the service efficiency of server resource.
Further, whether the satisfying the nervous condition of default resource with resource and comprise of described detection server: whether the dedicated bandwidth that detects server is greater than the default maximum utilized bandwidth of described server; And/or, detect the maximum number of user whether number of users of having served of server can serve greater than described server.
In the above-mentioned steps 102 described server satisfy the nervous condition of default resource with resource the time, concrete finger: at the dedicated bandwidth of described server during greater than the default maximum utilized bandwidth of described server; And/or, when the maximum number of user that the number of users of having served of server can be served greater than described server.
Further, when specifically using, present embodiment can also suspend the duration during whether greater than second threshold value detecting, and finishes the described program request task of suspending the duration greater than second threshold value.As shown in Figure 2, this method also comprises the steps:
104, whether the time-out duration of the program request task of the described client-requested time-out of detection is greater than second threshold value;
When 105, the time-out duration of the program request task of suspending in described client-requested is greater than second threshold value, send end program request task notice to described client, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than second threshold value.
Need to prove that first threshold value of mentioning in the step 102 is used to represent the program request task near overtime state, and second threshold value in the step 105 is used to the state of representing that the program request task is overtime.For example, during practical application, when program request task A plays, can above-mentioned second threshold value be set to 1800s under the IP pattern, that is, will finish described program request task A by step 105 when time-out duration of program request task A during greater than 1800s; Above-mentioned first threshold value can be set to 1800s*90%, that is described server satisfy the nervous condition of default resource with resource the time, when time-out duration of program request task A during, finish described program request task A by step 103 greater than 1800s*90%.
Certainly, above-mentioned first threshold value can be set to different values with second threshold value according to the demand mode of program request task is different.
In addition, can adjust timely server resource in order to guarantee the embodiment of the invention, above-mentioned steps 101 and 104 can periodically detect.
Further, in order to improve the user experience of client, as shown in Figure 3, this method also comprises the steps:
106, receive the order request that carries request program sign and time out point that described client sends;
107, send and the corresponding program data of described request program sign to described client from described time out point beginning.Thereby being convenient to client will begin to continue broadcast program from described time out point.
On the other hand, as shown in Figure 4, the embodiment of the invention also provides a kind of time-out processing method of streaming media service, and this method is carried out by client one side, comprises the steps:
201, when the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
202, receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program;
203, when the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server;
204, receive and play the program data of the described request program of described server transmission from described time out point beginning.
In the embodiment of the invention when finishing the program request task, server one side, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value.Simultaneously, in client one side, receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; And when the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Afterwards, client will begin to continue broadcast program from described time out point.Force to finish the program request task with one side of server in the prior art, the user needs program request once more when returning client and watching, again from the beginning watch and be manually adjusted to and suspended the position last time and compare, another beneficial effect that the embodiment of the invention is brought is: make things convenient for the user that the streaming media service that suspends is recovered, improve user experience.
Embodiment 2:
The embodiment of the invention provides a kind of server, as shown in Figure 5, comprising: first detecting unit 11, determining unit 12 and time-out processing unit 13.
First detecting unit 11, whether what be used to detect server satisfies the nervous condition of default resource with resource;
Determining unit 12, be used for described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
Suspend processing unit 13, be used for sending end program request task notice, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than first threshold value to the client of described program request task.
In the embodiment of the invention, whether server satisfies the nervous condition of default resource with resource by the detection server, and described server satisfy the nervous condition of default resource with resource the time, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish to suspend the program request task of duration greater than first threshold value.Realized when server resource is nervous, also can come the release portion resource to use for other users by finishing the program request task, with only whether overtime in the prior art according to suspending the duration, determine whether finishing the program request task, can't carry out resource releasing processing according to the current resource operating position of server compares, the beneficial effect that the embodiment of the invention is brought is: can be in conjunction with the operating position of server resource, in time resource is used and adjusted, improved the service efficiency of server resource.
Further, whether the satisfying the nervous condition of default resource with resource and comprise of described detection server: whether the dedicated bandwidth that detects server is greater than the default maximum utilized bandwidth of described server; And/or, detect the maximum number of user whether number of users of having served of server can serve greater than described server.
Further, when specifically using, present embodiment can also suspend the duration during whether greater than second threshold value detecting, and finishes the described program request task of suspending the duration greater than second threshold value.As shown in Figure 6, this server also comprises:
Second detecting unit 14, whether the time-out duration that is used to detect the program request task that described client-requested suspends is greater than second threshold value;
The time-out duration that described time-out processing unit 13 also is used for the program request task suspended in described client-requested is during greater than second threshold value, send end program request task notice to described client, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than second threshold value.
Further, in order to improve the user experience of client, as shown in Figure 7, this server also comprises: receiving element 15 and transmitting element 16.
Receiving element 15 is used to receive the order request that carries request program sign and time out point that described client sends;
Transmitting element 16 is used for sending and the corresponding program data of described request program sign to described client from described time out point beginning.
On the other hand, the embodiment of the invention also provides a kind of client, as shown in Figure 8, comprising: send processing unit 21, recording processing unit 22, transmitting element 23 and reception broadcast unit 24.
Send processing unit 21, be used for when the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
Recording processing unit 22 is used to receive the end program request task notice that described server sends, and send end program request task requests to described server after, writes down the time out point of described request program;
Transmitting element 23 is used for sending the order request that carries request program sign and time out point to described server when the play instruction of the described request program that receives input;
Receive broadcast unit 24, be used to receive and play the program data of the described request program of described server transmission from described time out point beginning.
Client one side of the embodiment of the invention is notified by the end program request task that receives described server transmission, and send end program request task requests to described server after, writes down the time out point of described request program; And when the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Afterwards, client will begin to continue broadcast program from described time out point.Force to finish the program request task with one side of server in the prior art, the user needs program request once more when returning client and watching, again from the beginning watch and be manually adjusted to and suspended the position last time and compare, another beneficial effect that the embodiment of the invention is brought is: make things convenient for the user that the streaming media service that suspends is recovered, improve user experience.
The embodiment of the invention also provides a kind of stream media service system, as shown in Figure 9, comprising: server 31 and client 32.
Server 31, whether what be used to detect server satisfies the nervous condition of default resource with resource; Described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value; Client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value;
Client 32 is used for when the pause instruction of the request program that receives input, to the time-out request of server transmission request program, suspends and plays described request program; Receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; When the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Receive and play the program data of the described request program of described server transmission from described time out point beginning.
In the stream media service system that the embodiment of the invention provided, server one side, whether satisfy the nervous condition of default resource with resource by what detect server, and described server satisfy the nervous condition of default resource with resource the time, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish to suspend the program request task of duration greater than first threshold value.Realized when server resource is nervous, also can come the release portion resource to use for other users by finishing the program request task, with only whether overtime in the prior art according to suspending the duration, determine whether finishing the program request task, can't carry out resource releasing processing according to the current resource operating position of server compares, can in time resource be used and adjust in conjunction with the operating position of server resource, improved the service efficiency of server resource.
On the other hand, in the embodiment of the invention when finishing the program request task, server one side, client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than first threshold value.Simultaneously, in client one side, receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; And when the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Afterwards, client will begin to continue broadcast program from described time out point.Force to finish the program request task with one side of server in the prior art, the user needs program request once more when returning client and watching, again from the beginning watch and be manually adjusted to and suspended the position last time and compare, make things convenient for the user that the streaming media service that suspends is recovered, improve user experience.
Embodiment 3:
It is example that the embodiment of the invention is specifically carried out program request, time-out, recovery program request with the user, the time-out processing method of a kind of streaming media service of complete detailed description.
(1), when initial, the user carries out the implementation procedure of program request:
The user uses client (for example, PC or set-top box) to send order request to streaming media server, carries request program ID and play time in described order request.
Streaming media server receives the order request that described client sends, and judges whether and can provide order program service for described client.Concrete processing procedure is as follows:
1), streaming media server detects the maximum number of user B whether the number of users b (that is the number of users of having served) set up the program request task can serve greater than described server.Can provide service for the active user if b, shows streaming media server less than B, proceed step 2), otherwise, the wrong client of giving of request failure returned.
2), whether the program of the described program ID of streaming media server judges correspondence exists, if program does not exist, then return request error and give client, otherwise obtain the code check a1 of program, the a of dedicated bandwidth that judges server adds a1's and whether greater than the maximum utilized bandwidth A of server, if a+a1<A, show that the current bandwidth of server can satisfy the bandwidth needs of program request task, return the request success message, and set up the program request task, and record program request solicited message, the state of program request task simultaneously is set to prepare broadcast state.
3), afterwards, the number of users b that streaming media server will be set up the program request task is updated to b+1, and a of dedicated bandwidth with server is updated to a+a1 simultaneously.
After client receives the request success message of streaming media server transmission, send playing request to described streaming media server; Streaming media server begins to send program data to described client from described play time, and the state of described program request task is set to broadcast state.
(2), the user carries out pausing operation, server carries out the realization flow that pause timeout is handled:
When the user carries out pausing operation in playing process, client can receive the pause instruction of the request program of input, at this moment, client sends the time-out request of request program to streaming media server, and after message is replied in the time-out request that receives described streaming media server transmission, suspend to play described request program, and keep the last frame of picture when playing, display halt state on the interface simultaneously.At this moment, the state of described request program can be set to suspend not timeout mode.
After streaming media server receives the time-out request of client, stop to send program data, and the state of program request task is set to halted state, writes down the time point pause_t that described program request task changes to halted state to described client.
Simultaneously, on the one hand, whether a of dedicated bandwidth of streaming media server cycle detection server is greater than the default maximum utilized bandwidth A*90% of described server, if a>A*90%, then Flag1 is set to 1, illustrates that the bandwidth resources of server this moment are nervous, otherwise Flag1 is set to 0.
Streaming media server is the number of users b that has served of the cycle detection server maximum number of user B*90% that whether can serve greater than described server also.If b>B*90%, then Flag2 is set to 1, illustrate that the concurrent pressure of server this moment is bigger, otherwise Flag2 is set to 0.
On the other hand, streaming media server travels through the program request task of all foundation, checks whether the state of current program request task is halted state, if current program request task is not in halted state, then continues to judge whether next program request task is in halted state; If current program request task is in halted state, judge then whether the time-out duration of current program request task is overtime or approaching overtime, concrete deterministic process is as follows:
If the time difference of current time and above-mentioned pause_t (that is time-out duration of current program request task) is during greater than default pause timeout duration T, the halted state that shows current program request task is overtime, sends to described program request task clients corresponding this moment to finish program request task notice.Need to prove that described default duration T can be set to different durations according to the different demand modes that the program request task adopts.For example, well-to-do relatively as resource under the IP pattern, it is 1800s that default pause timeout duration T can be set, and the frequency resource is nervous relatively under the IPQAM pattern, and it is 600s that pause timeout duration T can be set.
If the time difference of current time and above-mentioned pause_t, shows current program request task greater than pause timeout duration T*90% near overtime, Flag3 is set to 1, and carries out the overtime judgement of next program request task.
The value that detects above-mentioned Flag1 at streaming media server is 1, i.e. the bandwidth anxiety of server; Perhaps the value of Flag2 is 1, and promptly the concurrent pressure of server is bigger; Perhaps the value of Flag1 is that the value of 1 while Flag2 is 1 o'clock, it is the bandwidth anxiety of server, when simultaneously the concurrent pressure of server is big, obtain the Flag3 value and be 1 program request task, send to described program request task clients corresponding and finish program request task notice.
Client sends the end order request to described streaming media server, and writes down the time out point of described request program after receiving and finishing program request task notice, and the state of described request program simultaneously is set to pause timeout and waits for program request state once more.
Described streaming media server receives and finishes order request, and finishes described program request task.Afterwards, the number of users b that streaming media server will be set up the program request task is updated to b-1, and a of dedicated bandwidth with server is updated to a-a1 (a1 is the code check of the program request task of described end) simultaneously.
(3), client recovers to suspend the implementation procedure of playing:
When the user returns client and continues to watch described request program, client receives the play instruction of the described request program of user's input, if described request program is for suspending not timeout mode, then client directly sends playing request on current program request task, streaming media server receives that playing request begins from the breakpoint to continue to send program data to client, and client is play after receiving program data.
If described request program is for suspending timeout mode, the streaming media server one side this moment program request task corresponding with described request program is released, client resends the program request task creation request that carries request program sign and time out point, streaming media server is set up new program request task, and begin to send program data stream from the time out point of client-requested, the client terminal playing program data stream recovers program request.
The embodiment of the invention is mainly used in carries out in the processing of pause timeout Media Stream, improves the resource utilization of server, makes things convenient for the user that the streaming media service that suspends is recovered, and improves user experience.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (11)

1. the time-out processing method of a streaming media service is characterized in that, comprising:
Whether that detects server satisfies the nervous condition of default resource with resource;
Described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
Client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value.
2. the time-out processing method of streaming media service according to claim 1 is characterized in that, whether the satisfying the nervous condition of default resource with resource and comprise of described detection server:
Whether the dedicated bandwidth that detects server is greater than the default maximum utilized bandwidth of described server;
And/or, detect the maximum number of user whether number of users of having served of server can serve greater than described server.
3. the time-out processing method of streaming media service according to claim 1 is characterized in that, also comprises:
Whether the time-out duration of detecting the program request task that described client-requested suspends is greater than second threshold value;
The time-out duration of the program request task of suspending in described client-requested is during greater than second threshold value, send end program request task notice to described client, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than second threshold value.
4. the time-out processing method of streaming media service according to claim 1 is characterized in that, also comprises:
Receive the order request that carries request program sign and time out point that described client sends;
Send and the corresponding program data of described request program sign to described client from described time out point beginning.
5. the time-out processing method of a streaming media service is characterized in that, comprising:
When the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
Receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program;
When the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server;
Receive and play the program data of the described request program of described server transmission from described time out point beginning.
6. a server is characterized in that, comprising:
First detecting unit, whether what be used to detect server satisfies the nervous condition of default resource with resource;
Determining unit, be used for described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value;
Suspend processing unit, be used for sending end program request task notice, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than first threshold value to the client of described program request task.
7. server according to claim 6 is characterized in that, whether the dedicated bandwidth that described detecting unit specifically is used to detect server is greater than the default maximum utilized bandwidth of described server; And/or, detect the maximum number of user whether number of users of having served of server can serve greater than described server.
8. server according to claim 6 is characterized in that, also comprises:
Second detecting unit, whether the time-out duration that is used to detect the program request task that described client-requested suspends is greater than second threshold value;
The time-out duration that described time-out processing unit also is used for the program request task suspended in described client-requested is during greater than second threshold value, send end program request task notice to described client, and after the end program request task requests that receives described client transmission, finish the program request task of described time-out duration greater than second threshold value.
9. server according to claim 6 is characterized in that, also comprises:
Receiving element is used to receive the order request that carries request program sign and time out point that described client sends;
Transmitting element is used for sending and the corresponding program data of described request program sign to described client from described time out point beginning.
10. a client is characterized in that, comprising:
Send processing unit, be used for when the pause instruction of the request program that receives input,, suspend and play described request program to the time-out request of server transmission request program;
The recording processing unit is used to receive the end program request task notice that described server sends, and send end program request task requests to described server after, writes down the time out point of described request program;
Transmitting element is used for sending the order request that carries request program sign and time out point to described server when the play instruction of the described request program that receives input;
Receive broadcast unit, be used to receive and play the program data of the described request program of described server transmission from described time out point beginning.
11. a stream media service system is characterized in that, comprising:
Server, whether what be used to detect server satisfies the nervous condition of default resource with resource; Described server satisfy the nervous condition of default resource with resource the time, in the program request task that client-requested is suspended, determine to suspend the program request task of duration greater than first threshold value; Client to described program request task sends end program request task notice, and after the end program request task requests that receives described client transmission, finishes the program request task of described time-out duration greater than first threshold value;
Client is used for when the pause instruction of the request program that receives input, to the time-out request of server transmission request program, suspends and plays described request program; Receive the end program request task notice that described server sends, and send end program request task requests to described server after, write down the time out point of described request program; When the play instruction of the described request program that receives input, send the order request that carries request program sign and time out point to described server; Receive and play the program data of the described request program of described server transmission from described time out point beginning.
CN2011101057041A 2011-04-26 2011-04-26 Streaming media service pause processing method, device and system Pending CN102164306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101057041A CN102164306A (en) 2011-04-26 2011-04-26 Streaming media service pause processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101057041A CN102164306A (en) 2011-04-26 2011-04-26 Streaming media service pause processing method, device and system

Publications (1)

Publication Number Publication Date
CN102164306A true CN102164306A (en) 2011-08-24

Family

ID=44465226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101057041A Pending CN102164306A (en) 2011-04-26 2011-04-26 Streaming media service pause processing method, device and system

Country Status (1)

Country Link
CN (1) CN102164306A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791954A (en) * 2016-12-27 2017-05-31 广州高清视信数码科技股份有限公司 Digital TV video frequency program request control system
CN114143569A (en) * 2021-11-18 2022-03-04 聚好看科技股份有限公司 Webpage recording and live broadcasting method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247325A (en) * 2007-02-14 2008-08-20 华为技术有限公司 Method and system for adding new service
CN101304269A (en) * 2008-06-26 2008-11-12 宇龙计算机通信科技(深圳)有限公司 Method and terminal for implementing bluetooth play
CN101588470A (en) * 2008-05-20 2009-11-25 深圳市同洲电子股份有限公司 A kind of time shift pause method, system and equipment of IP-QAM video on-demand system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247325A (en) * 2007-02-14 2008-08-20 华为技术有限公司 Method and system for adding new service
CN101588470A (en) * 2008-05-20 2009-11-25 深圳市同洲电子股份有限公司 A kind of time shift pause method, system and equipment of IP-QAM video on-demand system
CN101304269A (en) * 2008-06-26 2008-11-12 宇龙计算机通信科技(深圳)有限公司 Method and terminal for implementing bluetooth play

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791954A (en) * 2016-12-27 2017-05-31 广州高清视信数码科技股份有限公司 Digital TV video frequency program request control system
CN114143569A (en) * 2021-11-18 2022-03-04 聚好看科技股份有限公司 Webpage recording and live broadcasting method and system
CN114143569B (en) * 2021-11-18 2024-02-27 聚好看科技股份有限公司 Webpage recording and live broadcasting method and system

Similar Documents

Publication Publication Date Title
JP5870924B2 (en) Transmitting apparatus, transmitting method, receiving apparatus, receiving method, program, and broadcasting system
EP2415252B1 (en) Method and device for playing out a gap filling content during content switching
US8954597B2 (en) Method and apparatus for synchronizing paused playback across platforms
US20070220577A1 (en) Method and media manager client unit for optimising network resources usage
US10057014B2 (en) System and method for streaming data
WO2016197864A1 (en) Connection-status detection method and apparatus, and smart television system
CN104702563A (en) Method and device for acquiring streaming media play time
KR101475991B1 (en) Method and system for playing video on a mobile device
US20170347167A1 (en) Decoding method switching for preview image processing using a bundle of preview images
CN101296158A (en) Stream media data transmission method and data transmission device thereof
JP2004080785A (en) Quick digital channel change
CN103686199A (en) IPTV multi-window program preview method, system and terminal
CN102970579B (en) Method and device for monitoring video buffer area
EP2521373A1 (en) Method of surveying watching of image content, and broadcast receiving apparatus and server employing the same
WO2016197863A1 (en) Client, smart television system, and corresponding data transmission method
CN104427400A (en) Streaming media transmission method and system, and streaming media server
CN111200757A (en) Video playing method, set top box, system and storage medium
CN103404158A (en) Methods and apparatuses for resuming paused media
US20180220168A1 (en) Method and system for linking real-time broadcasting with non-real-time video service using user history information
CN105335437A (en) Data processing method and apparatus
CN107509086A (en) Video reorientation method and device under a kind of cloud desktop
CN102164306A (en) Streaming media service pause processing method, device and system
CN106612462B (en) Fast forward and fast backward processing method and terminal
CN111479122B (en) Video playing method, device, equipment and storage medium
CN109889871B (en) Digital television live broadcasting method, device and system based on network playing equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110824