CN104796730A - Method and device for detecting low-speed users in network video live broadcast and system - Google Patents

Method and device for detecting low-speed users in network video live broadcast and system Download PDF

Info

Publication number
CN104796730A
CN104796730A CN201410025295.8A CN201410025295A CN104796730A CN 104796730 A CN104796730 A CN 104796730A CN 201410025295 A CN201410025295 A CN 201410025295A CN 104796730 A CN104796730 A CN 104796730A
Authority
CN
China
Prior art keywords
parameter
client
data
data fragmentation
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410025295.8A
Other languages
Chinese (zh)
Other versions
CN104796730B (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 Cloud Computing Beijing 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 CN201410025295.8A priority Critical patent/CN104796730B/en
Publication of CN104796730A publication Critical patent/CN104796730A/en
Application granted granted Critical
Publication of CN104796730B publication Critical patent/CN104796730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method and a device for detecting low-speed users in network video live broadcast and a system. According to the embodiment of the invention, a data fragment carrying a fragment number can be acquired, wherein the data fragment is acquired by carrying out time slicing on video data streams in network video live broadcast, the data fragment is sent to a client, synchronization information between a fragment number of a data fragment in a server and the fragment number of the data fragment in the client is acquired, and then detection for the low-speed users in network video broadcast is carried out according to the synchronization information. The scheme disclosed by the embodiment of the invention not only can detect the low-speed users in real time more accurately, but also greatly simplifies the implementation logic, and improves the detection efficiency.

Description

The methods, devices and systems of user at a slow speed in a kind of Sampling network net cast
Technical field
The present invention relates to communication technical field, be specifically related to the methods, devices and systems of user at a slow speed in a kind of Sampling network net cast.
Background technology
Video network is live to be required higher to network quality, and experience if need to obtain smooth broadcasting, then the download bandwidth of user at least needs the code check requirement reaching video.In order to make broadcasting more smooth, in the prior art, general meeting is downloaded in advance after a certain amount of video data by client and is play, thus make this locality have a bit of buffer memory, like this, when network quality is deteriorated, some video data local can be play, thus reduces the factors such as network fluctuation to the impact of Consumer's Experience.But, due to the requirement with real-time of video live broadcast service, user always wishes it is seen that up-to-date pictured scene, therefore, client often can only the data of buffer memory short period, it is very responsive to factors such as such as network fluctuations that this just makes to play fluency, causes more easily occurring user at a slow speed in playing process.What is called is user at a slow speed, refers in watching video live broadcast process, because speed of download is comparatively slow, plays slack user at pending datas such as playing process.Visible, detect user at a slow speed in real time, for analyzing and judging that the service quality of current live system is very important.
In the prior art, the general speed of download being carried out counting user by server, then the speed of download of user and video code rate are synchronously compared, judge whether user belongs to user at a slow speed, such as, generally all can adopt the mode speed of download of user and the average bit rate of video compared, judge whether user belongs to user at a slow speed.
To in the research and practice process of prior art, the present inventor finds, existing scheme to realize logic comparatively complicated, and be average bit rate due to what wherein adopt, therefore, its accuracy and real-time are also unsatisfactory.
Summary of the invention
The embodiment of the present invention provides the methods, devices and systems of user at a slow speed in a kind of Sampling network net cast, not only can detect the user at a slow speed in internet video live broadcasting accurately and real-time, and greatly reduce the complexity of realization.
A user's at a slow speed method in Sampling network net cast, comprising:
Obtain data fragmentation, described data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number;
Described data fragmentation is sent to client;
Synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client;
The detection of user at a slow speed in internet video live broadcasting is carried out according to described synchronizing information.
In Sampling network net cast, a user's at a slow speed device, comprises data capture unit, transmitting element, information acquisition unit and detecting unit;
Data capture unit, for obtaining data fragmentation, described data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number;
Transmitting element, for sending to client by described data fragmentation;
Information acquisition unit, for determine the data fragmentation in the burst number of the data fragmentation in server and client burst number between synchronizing information;
Detecting unit, for carrying out the detection of user at a slow speed in internet video live broadcasting according to described synchronizing information.
A kind of video living transmission system, comprises the device of user at a slow speed in any one Sampling network net cast that the embodiment of the present invention provides.
The embodiment of the present invention can obtain the data fragmentation carrying burst number, wherein, video data stream the carry out time of this data fragmentation to internet video live broadcasting cuts and obtains, this data fragmentation is sent to client, and the synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, the detection of user at a slow speed in internet video live broadcasting is then carried out according to this synchronizing information.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 a is the flow chart of the method for user at a slow speed in the Sampling network net cast that provides of the embodiment of the present invention;
The situation schematic diagram of data fragmentation when Fig. 1 b is client initial play in the embodiment of the present invention;
Fig. 2 a is the scene schematic diagram of the video living transmission system that the embodiment of the present invention provides;
Fig. 2 b is another flow chart of the method for user at a slow speed in the Sampling network net cast that provides of the embodiment of the present invention;
Fig. 3 is the another flow chart of the method for user at a slow speed in the Sampling network net cast that provides of the embodiment of the present invention;
Fig. 4 a is the structural representation of the device of user at a slow speed in the Sampling network net cast that provides of the embodiment of the present invention;
Fig. 4 b is another structural representation of the device of user at a slow speed in the Sampling network net cast that provides of the embodiment of the present invention;
Fig. 5 is the structural representation of the server that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides the methods, devices and systems of user at a slow speed in a kind of Sampling network net cast.Below be described in detail respectively.
Embodiment one,
The embodiment of the present invention by from Sampling network net cast at a slow speed the angle of the device of user be described, in this Sampling network net cast, the device of user can be integrated in the network equipments such as server at a slow speed.
A kind of method of user at a slow speed in Sampling network net cast, comprise: obtain the data fragmentation carrying burst number, this data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, this data fragmentation is sent to client, synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, carries out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information.
As shown in Figure 1a, idiographic flow can be as follows:
101, data fragmentation is obtained;
Wherein, this data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number.Such as, specifically can carry out isochronous surface by encoder to the video data stream of internet video live broadcasting, obtain data fragmentation, further, can also be numbered for each data fragmentation, for convenience, in embodiments of the present invention, these numberings are called burst number.
Wherein, this encoder can be the entity independent of the device (as server) of user at a slow speed in this Sampling network net cast, or be integrated in other equipment independent of the device (as server) of user at a slow speed in this Sampling network net cast, in addition, can also be integrated in the equipment of device (as server) of user at a slow speed in this Sampling network net cast.If in this Sampling network net cast the device (as server) of user at a slow speed equipment in, then in this Sampling network net cast, the method for user can also comprise at a slow speed:
Receive the video data stream of internet video live broadcasting, isochronous surface (namely cutting into slices according to time sequencing) is carried out to this video data stream, obtains data fragmentation, and stamp the burst number of correspondence for each data fragmentation.
Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.That is, step " carries out isochronous surface to this video data stream, obtains data fragmentation " comprising:
Obtain the maximum delay value that this video data stream allows, and determine whether the maximum delay value that this video data stream allows is less than preset threshold value, if the maximum delay value that this video data stream allows is less than preset threshold value, then this video data stream is cut into the data fragmentation comprising N number of frame; If the maximum delay value that this video data stream allows is more than or equal to preset threshold value, then this video data stream is cut into the data fragmentation comprising M frame.
Wherein, N and M is positive integer, and M is greater than N, and the value of N and M and this threshold value can be arranged according to the demand of practical application.
In addition, it should be noted that, when cutting into slices to video data stream, can ensure that the playing duration of each data fragmentation is equal substantially, the frame number that namely data fragmentation comprises is directly proportional to frame per second as far as possible.
102, this data fragmentation is sent to client.
103, the synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client.Such as, specifically can be as follows:
(1) initial buffering amount of client is obtained;
Wherein, the instruction of this initial buffering amount, when the quantity of the data fragmentation of client reaches this initial buffering amount, starts played data burst.
Such as, for this initial buffering amount for T data fragmentation, then after client has recorded T sheet data fragmentation, client starts to play these data fragmentations.
(2) the first parameter and the second parameter is obtained;
Wherein, first parameter is for when this client starts played data burst, the burst number of the data fragmentation that server gets, the second parameter then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client; For downloading with a video data stream, the first parameter and the second parameter are a fixed value.
(3) the 3rd parameter and the 4th parameter is obtained;
Wherein, the 3rd parameter is the burst number of the current data fragmentation got of server, and the 4th parameter refers to the current burst number sending to the data fragmentation of client of server.
Namely, when in this Sampling network net cast, the device (as server) of user often sends a data fragmentation to client at a slow speed, all can record that this sends to the burst number (i.e. the 4th parameter) of the data fragmentation of client, and record the burst number (i.e. the 3rd parameter) of the data fragmentation that now server gets, also just have a talk about, the 3rd parameter and the 4th parameter are variablees.
104, the detection of user at a slow speed in internet video live broadcasting is carried out according to this synchronizing information.
Such as, the detection of user at a slow speed in internet video live broadcasting is specifically carried out according to this initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter.
As shown in Figure 1 b, suppose a server buffer M data fragmentation, and the initial buffering amount of client is T, then client is after receiving T sheet data fragmentation, and start to play these data fragmentations, then now, state is as follows:
Due to the reason of delaying, when client starts to play, client D data fragmentation (initial delay value namely server and client between) more backward than server, so, now client terminal playing is (T+D) individual data fragmentation reciprocal, that is, now the video seen of user and real-time live broadcast have the delay of (T+D) individual data fragmentation.When playing process is smooth, this delay is fixing, and namely T+D is a fixing value.But, if client downloads speed, then current difference D 1(current delay value between server and client) can reduce gradually, and the current cache T of client 1to increase gradually, final D 1=0, T 1=D+T; And in the slow situation of client downloads, current difference D 1then will increase gradually, correspondingly, the current cache T of client 1then can reduce gradually, final T 1=0, and difference D 1=D+T, wherein, " T 1=0 " represent that client does not have data playback, occur buffering, this just means and defines user at a slow speed.Therefore, specifically can according to D 1relation between " D+T " detects user at a slow speed, such as, specifically can adopt any one mode following:
(1) first kind of way;
Calculate the difference of the first parameter and the second parameter, obtain the initial delay value between server and client; Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client; When this current delay value be greater than this initial delay value and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.
Such as, if initial buffering amount T represents, the first parameter I represents, the second parameter i represents, the 3rd parameter I 1represent, the 4th parameter i 1represent, then:
Initial delay value D between server and client is: D=I-i;
Current delay value D between server and client 1: D1=I 1-i 1;
Work as D 1during >D+T, determine that this client is the user at a slow speed in internet video live broadcasting.
Wherein, initial delay value and initial buffering amount is a fixed value with D.
(2) second way;
Calculate the difference of the 3rd parameter and the first parameter, obtain server current latest data burst difference; Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference; Determine this server current latest data burst difference be greater than this client current latest data burst difference and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.
Such as, if initial buffering amount T represents, the first parameter I represents, the second parameter i represents, the 3rd parameter I 1represent, the 4th parameter i 1represent, then:
Initial delay value D between server and client is: D=I-i;
Current delay value D between server and client 1: D1=I 1-i 1;
Due to according to D 1>D+T can release: I 1-i 1>I-i+T;
Namely can obtain after being out of shape: I 1-I>i 1-i+T;
Therefore, I is worked as 1-I>i 1during-i+T, also can determine that this client is the user at a slow speed in internet video live broadcasting.
As from the foregoing, the present embodiment can obtain the data fragmentation carrying burst number, wherein, video data stream the carry out time of this data fragmentation to internet video live broadcasting cuts and obtains, this data fragmentation is sent to client, and the synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, the detection of user at a slow speed in internet video live broadcasting is then carried out according to this synchronizing information.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
According to the method described by embodiment one, below will illustrate in embodiment two and three and be described in further detail.
Embodiment two,
In the present embodiment, by with in this Sampling network net cast at a slow speed the device of user be specifically integrated in server, for example is described in such as direct broadcast server.
As shown in Figure 2 a, video living transmission system can comprise signal source, encoder and direct broadcast server, in addition, this video living transmission system can also comprise client, wherein, encoder can be the entity independent of direct broadcast server, also can be integrated in direct broadcast server or be integrated in other independent of in the network equipment of direct broadcast server.The function of the various piece in this video living transmission system specifically can be as follows:
(1) signal source;
Signal source, for sending original video data stream, this signal source can be satellite-signal or make a video recording first-class.
(2) encoder;
Encoder, for the original video data stream that lock-on signal source sends, and this encoding video frequency data flow is become the video data stream of standard (i.e. the said video data stream of the embodiment of the present invention), isochronous surface is carried out to the video data stream (hereinafter referred to as video data stream) of this standard, obtain data fragmentation, and data fragmentation is numbered, be each data fragmentation and stamp burst number, then data fragmentation is sent to direct broadcast server.Wherein, coded format can comprise naked h264, flv(FLASH VIDEO, refers to a kind of stream media format) etc.
(3) direct broadcast server;
Direct broadcast server, for the data fragmentation that received code device sends, data fragmentation is sent to client, synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, carries out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information.
(4) client;
Client, for receiving the data fragmentation that direct broadcast server sends, when the heap(ed) capacity of pending data burst reaches initial buffering amount T, starting to play these data fragmentations, just starting to play this video.
Based on this video living transmission system, below by its Sampling network net cast at a slow speed the flow process of user be described in detail.
As shown in Figure 2 b, a kind of method of user at a slow speed in Sampling network net cast, idiographic flow can be as follows:
201, signal source sends original video data stream.
202, the original video data stream of encoder lock-on signal source transmission, and this encoding video frequency data flow is become the video data stream of standard, isochronous surface is carried out to the video data stream (hereinafter referred to as video data stream) of this standard, obtain data fragmentation, and stamp corresponding burst number for each data fragmentation.
Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.That is, step " carries out isochronous surface to this video data stream, obtains data fragmentation " comprising:
Obtain the maximum delay value that this video data stream allows, and determine whether the maximum delay value that this video data stream allows is less than preset threshold value, if the maximum delay value that this video data stream allows is less than preset threshold value, then this video data stream is cut into the data fragmentation comprising N number of frame; If the maximum delay value that this video data stream allows is more than or equal to preset threshold value, then this video data stream is cut into the data fragmentation comprising M frame.
Wherein, N and M is positive integer, and M is greater than N, and the value of N and M and this threshold value can be arranged according to the demand of practical application.
In addition, it should be noted that, when cutting into slices to video data stream, can ensure that the playing duration of each data fragmentation is equal substantially, the frame number that namely data fragmentation comprises is directly proportional to frame per second as far as possible.
203, data fragmentation is sent to direct broadcast server by encoder, and this data fragmentation carries burst number.
204, after the data fragmentation that server received code device sends, data fragmentation is sent to client, and when often sending a data fragmentation to client, record the burst number that this sends to the burst of the data fragmentation of client number and records the data fragmentation that now server receives from encoder.
205, server obtains the initial buffering amount T of client, and obtains the first parameter I, the second parameter i, the 3rd parameter I 1with the 4th parameter i 1.
Wherein, the initial buffering amount T of client indicates when the quantity of the data fragmentation of client reaches this initial buffering amount T, starts played data burst; First parameter I is when this client starts played data burst, the burst number of the data fragmentation that server gets, and the second parameter i then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client; 3rd parameter I 1the burst number of the data fragmentation got for server is current, and the 4th parameter i 1refer to the current burst number sending to the data fragmentation of client of server.
206, server calculates the difference of the first parameter I and the second parameter i, obtains the initial delay value D between server and client; Calculate the 3rd parameter I 1with the 4th parameter i 1difference, obtain the current delay value D between server and client 1; As this current delay value D 1be greater than this initial delay value D and initial buffering amount T's and time, determine that this client is the user at a slow speed in internet video live broadcasting.That is:
Work as D 1during >D+T, determine that this client is the user at a slow speed in internet video live broadcasting.
And as this current delay value D 1be less than or equal to this initial delay value D and initial buffering amount T's and time, then represent that the current speed of download of client is normal, can be failure to actuate.
Detecting at a slow speed after user, can record and preserve the related data of this user at a slow speed, like this, webmaster or operation maintenance personnel just can the health status of real-time analysis current live system, Problems existing in discovery system.Some factors typically causing user at a slow speed to increase, as network of computer room or carrier network shake, central processing unit (CPU, the Central Processing Unit) high capacity of server, network interface card run full, client cross operator access etc. can by Timeliness coverage.
As from the foregoing, the present embodiment adopts and carries out isochronous surface by encoder to video data stream, obtain data fragmentation, and stamp burst number for each data fragmentation, then by direct broadcast server according to the synchronizing information between the burst of the data fragmentation in the burst of the data fragmentation in server number and client number, judge that whether client is user at a slow speed.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
Embodiment three,
Identical with embodiment two is, the present embodiment equally with in this Sampling network net cast at a slow speed the device of user be specifically integrated in server, for example is described in such as direct broadcast server, with embodiment two unlike, in the present embodiment, by carrying out the detection carrying out user at a slow speed in internet video live broadcasting according to synchronizing information in another way, below will be described in detail.
In the present embodiment, be described equally based on the video living transmission system shown in Fig. 2 a, detailed in Example two, does not repeat them here.
As shown in Figure 3, a kind of method of user at a slow speed in Sampling network net cast, idiographic flow can be as follows:
301, signal source sends original video data stream.
302, the original video data stream of encoder lock-on signal source transmission, and this encoding video frequency data flow is become the video data stream of standard, isochronous surface is carried out to the video data stream (hereinafter referred to as video data stream) of this standard, obtain data fragmentation, and stamp corresponding burst number for each data fragmentation.
Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.That is, step " carries out isochronous surface to this video data stream, obtains data fragmentation " comprising:
Obtain the maximum delay value that this video data stream allows, and determine whether the maximum delay value that this video data stream allows is less than preset threshold value, if the maximum delay value that this video data stream allows is less than preset threshold value, then this video data stream is cut into the data fragmentation comprising N number of frame; If the maximum delay value that this video data stream allows is more than or equal to preset threshold value, then this video data stream is cut into the data fragmentation comprising M frame.
Wherein, N and M is positive integer, and M is greater than N, and the value of N and M and this threshold value can be arranged according to the demand of practical application.
In addition, it should be noted that, when cutting into slices to video data stream, can ensure that the playing duration of each data fragmentation is equal substantially, the frame number that namely data fragmentation comprises is directly proportional to frame per second as far as possible.
303, data fragmentation is sent to direct broadcast server by encoder, and this data fragmentation carries burst number.
304, after the data fragmentation that server received code device sends, data fragmentation is sent to client, and when often sending a data fragmentation to client, record the burst number that this sends to the burst of the data fragmentation of client number and records the data fragmentation that now server receives from encoder.
305, server obtains the initial buffering amount T of client, and obtains the first parameter I, the second parameter i, the 3rd parameter I 1with the 4th parameter i 1.
Wherein, the initial buffering amount T of client indicates when the quantity of the data fragmentation of client reaches this initial buffering amount T, starts played data burst; First parameter I is when this client starts played data burst, the burst number of the data fragmentation that server gets, and the second parameter i then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client; 3rd parameter I 1the burst number of the data fragmentation got for server is current, and the 4th parameter i 1refer to the current burst number sending to the data fragmentation of client of server.
306, server calculates the 3rd parameter I 1with the difference of the first parameter I, obtain server current latest data burst difference " I 1-I "; Calculate the 4th parameter i 1with the difference of the second parameter i, obtain client current latest data burst difference " i 1-i "; Determine this server current latest data burst difference be greater than this client current latest data burst difference and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.That is:
Work as I 1-I>i 1during-i+T, determine that this client is the user at a slow speed in internet video live broadcasting.
And work as " I 1-I " be less than or equal to " i 1-i+T " time, then the speed of download that expression client is current is normal, can be failure to actuate.
Detecting at a slow speed after user, can record and preserve the related data of this user at a slow speed, like this, webmaster or operation maintenance personnel just can the health status of real-time analysis current live system, Problems existing in discovery system.Some factors typically causing user at a slow speed to increase, as network of computer room or carrier network shake, the CPU high capacity of server, network interface card run full, client cross operator access etc. can by Timeliness coverage.
As from the foregoing, the present embodiment adopts and carries out isochronous surface by encoder to video data stream, obtain data fragmentation, and stamp burst number for each data fragmentation, then by direct broadcast server according to the synchronizing information between the burst of the data fragmentation in the burst of the data fragmentation in server number and client number, judge that whether client is user at a slow speed.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
Embodiment four,
In order to implement above method better, the embodiment of the present invention also provides the device of user at a slow speed in a kind of Sampling network net cast, as shown in fig. 4 a, in this Sampling network net cast, the device of user comprises data capture unit 401, transmitting element 402, information acquisition unit 403 and detecting unit 404 at a slow speed, as follows:
Data capture unit 401, for obtaining data fragmentation, described data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number;
Wherein, this data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number.
Transmitting element 402, sends to client for the data fragmentation got by data capture unit 401;
Information acquisition unit 403, for determine the data fragmentation in the burst number of the data fragmentation in server and client burst number between synchronizing information;
Detecting unit 404, the synchronizing information for getting according to acquiring unit 403 carries out the detection of user at a slow speed in internet video live broadcasting.
Such as, wherein, information acquisition unit 403 can comprise the first acquisition subelement, the second acquisition subelement and the 3rd obtains subelement;
First obtains subelement, for obtaining the initial buffering amount of client.
Wherein, the instruction of this initial buffering amount, when the quantity of the data fragmentation of client reaches this initial buffering amount, starts played data burst.
Such as, for this initial buffering amount for T data fragmentation, then after client has recorded T sheet data fragmentation, client starts to play these data fragmentations.
Second obtains subelement, for obtaining the first parameter and the second parameter;
Wherein, first parameter is for when this client starts played data burst, the burst number of the data fragmentation that server gets, the second parameter then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client; For downloading with a video data stream, the first parameter and the second parameter are a fixed value.
3rd obtains subelement, for obtaining the 3rd parameter and the 4th parameter;
Wherein, the 3rd parameter is the burst number of the current data fragmentation got of server, and the 4th parameter refers to the current burst number sending to the data fragmentation of client of server.
Namely, when in this Sampling network net cast, the device (as server) of user often sends a data fragmentation to client at a slow speed, all can record that this sends to the burst number (i.e. the 4th parameter) of the data fragmentation of client, and record the burst number (i.e. the 3rd parameter) of the data fragmentation that now server gets, also just have a talk about, the 3rd parameter and the 4th parameter are variablees.
Then now, detecting unit 404, specifically may be used for the detection carrying out user at a slow speed in internet video live broadcasting according to this initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter.Such as, any one mode following can specifically be adopted:
(1) first kind of way;
Detecting unit 404, specifically may be used for the difference of calculating first parameter and the second parameter, obtains the initial delay value between server and client; Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client; When described current delay value be greater than described initial delay value and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
(2) second way;
Detecting unit 404, specifically may be used for the difference of calculating the 3rd parameter and the first parameter, obtains server current latest data burst difference; Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference; Determine this server current latest data burst difference be greater than this client current latest data burst difference and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.
Optionally, as shown in Figure 4 b, in this Sampling network net cast, the device of user can also comprise receiving element 405 and section unit 406 at a slow speed;
Receiving element 405, for receiving the video data stream of internet video live broadcasting;
Section unit 406, for carrying out isochronous surface to receiving element 405 video data stream, obtain data fragmentation, and for each data fragmentation stamp correspondence burst number.
Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.That is:
Section unit 406, specifically may be used for the maximum delay value obtaining the permission of this video data stream, and determine whether the maximum delay value that this video data stream allows is less than preset threshold value, if the maximum delay value that this video data stream allows is less than preset threshold value, then this video data stream is cut into the data fragmentation comprising N number of frame; If the maximum delay value that this video data stream allows is more than or equal to preset threshold value, then this video data stream is cut into the data fragmentation comprising M frame.
Wherein, N and M is positive integer, and M is greater than N, and the value of N and M and this threshold value can be arranged according to the demand of practical application.
In addition, it should be noted that, when cutting into slices to video data stream, can ensure that the playing duration of each data fragmentation is equal substantially, the frame number that namely data fragmentation comprises is directly proportional to frame per second as far as possible.
During concrete enforcement, above unit can realize as independently entity, and can carry out combination in any yet, realize as same or several entities, the concrete enforcement of above unit see embodiment of the method above, can not repeat them here.
In this Sampling network net cast, the device of user can be integrated in the network equipments such as server at a slow speed.
As from the foregoing, in the Sampling network net cast of the present embodiment, the data capture unit 401 of the device of user can obtain the data fragmentation carrying burst number at a slow speed, wherein, video data stream the carry out time of this data fragmentation to internet video live broadcasting cuts and obtains, then by transmitting element 402, this data fragmentation is sent to client, and the synchronizing information between the burst number being obtained the data fragmentation in the burst number of the data fragmentation in server and client by information acquisition unit 403, then carried out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information by detecting unit 404.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
Embodiment five,
Accordingly, the embodiment of the present invention also provides a kind of video living transmission system, comprise the device of user at a slow speed in any one Sampling network net cast that the embodiment of the present invention provides, specifically can see embodiment four, in this Sampling network net cast, the device of user specifically can be integrated in the network equipments such as server at a slow speed, such as, specifically can be as follows:
Server, for receiving acquisition data fragmentation, data fragmentation is sent to client, and the synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, carries out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information.
Wherein, this data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number.Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.
Wherein, step " synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client " specifically can comprise:
(1) initial buffering amount of client is obtained;
Wherein, the instruction of this initial buffering amount, when the quantity of the data fragmentation of client reaches this initial buffering amount, starts played data burst.
(2) the first parameter and the second parameter is obtained;
Wherein, first parameter is for when this client starts played data burst, the burst number of the data fragmentation that server gets, the second parameter then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client.
(3) the 3rd parameter and the 4th parameter is obtained;
Wherein, the 3rd parameter is the burst number of the current data fragmentation got of server, and the 4th parameter refers to the current burst number sending to the data fragmentation of client of server.
That is, when this server often sends a data fragmentation to client, all can record that this sends to the burst number (i.e. the 4th parameter) of the data fragmentation of client, and record the burst number (i.e. the 3rd parameter) of the data fragmentation that now server gets.
Wherein, " carry out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information " and specifically can adopt any one mode following:
(1) first kind of way;
Server, specifically may be used for the difference of calculating first parameter and the second parameter, obtains the initial delay value between server and client; Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client; When described current delay value be greater than described initial delay value and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
(2) second way;
Server, specifically may be used for the difference of calculating the 3rd parameter and the first parameter, obtains server current latest data burst difference; Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference; Determine this server current latest data burst difference be greater than this client current latest data burst difference and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.
Optionally, this video living transmission system can also comprise other equipment, such as signal source, encoder and client etc., as follows:
Signal source, for sending original video data stream, this signal source can be satellite-signal or make a video recording first-class.
Encoder, for the original video data stream that lock-on signal source sends, and this encoding video frequency data flow is become the video data stream of standard (i.e. the said video data stream of the embodiment of the present invention), isochronous surface is carried out to the video data stream (hereinafter referred to as video data stream) of this standard, obtain data fragmentation, and data fragmentation is numbered, be each data fragmentation and stamp burst number, then data fragmentation is sent to direct broadcast server.Wherein, coded format can comprise naked h264, flv etc.
Client, for receiving the data fragmentation that direct broadcast server sends, when the heap(ed) capacity of pending data burst reaches initial buffering amount T, starting to play these data fragmentations, just starting to play this video.
It should be noted that, encoder also can be in the server integrated, that is:
Server, can also be used for the video data stream receiving internet video live broadcasting, carry out isochronous surface, obtain data fragmentation to this video data stream, and stamps corresponding burst number for each data fragmentation.
Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.
The concrete enforcement of each equipment see embodiment above, can not repeat them here above.
Because this video living transmission system comprises the device of user at a slow speed in any one Sampling network net cast that the embodiment of the present invention provides, therefore can realize the beneficial effect achieved by device of user at a slow speed in any one Sampling network net cast that the embodiment of the present invention provides equally, not repeat them here.
Embodiment six,
The embodiment of the present invention also provides a kind of server, wherein can the device of user at a slow speed in the Sampling network net cast of the integrated embodiment of the present invention, as shown in Figure 5, it illustrates the structural representation of the server involved by the embodiment of the present invention, specifically:
This server can comprise processor 501, the memory 502 of one or more computer-readable recording mediums, radio frequency (the Radio Frequency that more than or processes core, RF) circuit 503, wireless communication module are as parts such as bluetooth module and/or Wireless Fidelity (WiFi, Wireless Fidelity) module 504 grade (for WIFI module 504 in Fig. 5), power supply 505, transducer 506, input unit 507 and display units 508.It will be understood by those skilled in the art that the server architecture shown in Fig. 5 does not form the restriction to server, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Processor 501 is control centres of this server, utilize the various piece of various interface and the whole server of connection, software program in memory 502 and/or module is stored in by running or performing, and call the data be stored in memory 502, perform various function and the deal with data of server, thus integral monitoring is carried out to server.Optionally, processor 501 can comprise one or more process core; Preferably, processor 501 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 501.
Memory 502 can be used for storing software program and module, and processor 501 is stored in software program and the module of memory 502 by running, thus performs the application of various function and data processing.Memory 502 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data etc. created according to the use of server.In addition, memory 502 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also comprise Memory Controller, to provide the access of processor 501 pairs of memories 502.
RF circuit 503 can be used in the process of receiving and sending messages, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to more than one or one processor 501 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 503 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, low noise amplifier (LNA, Low Noise Amplifier), duplexer etc.In addition, RF circuit 503 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GSM, Global System ofMobile communication), general packet radio service (GPRS, General Packet RadioService), code division multiple access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, LongTerm Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc.
WiFi belongs to short range wireless transmission technology, and server is sent and received e-mail by WiFi module 504 and accessed streaming video etc., and it can provide wireless broadband internet access.Although Fig. 5 shows WiFi module 504, be understandable that, it does not belong to must forming of server, can omit in the scope of essence not changing invention as required completely.
Server also comprises the power supply 505(such as battery of powering to all parts), preferably, power supply can be connected with processor 501 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 505 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
This server also can comprise at least one transducer 506, such as optical sensor, motion sensor and other transducers.This server is other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
This server also can comprise input unit 507, and this input unit 507 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input unit 507 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 501, and the order that energy receiving processor 501 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input unit 507 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
This server also can comprise display unit 508, this display unit 508 can be used for the various graphical user interface showing information or the information being supplied to user and the server inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 508 can comprise display floater, optionally, the form such as liquid crystal display (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) can be adopted to configure display floater.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 501 to determine the type of touch event, provide corresponding vision to export with preprocessor 501 on a display panel according to the type of touch event.Although in Figure 5, Touch sensitive surface and display floater be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display floater integrated and realize input and output function.
Although not shown, server can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 501 in server can according to following instruction, executable file corresponding for the process of one or more application program is loaded in memory 502, and the application program be stored in memory 502 is run by processor 501, thus realize various function, as follows:
Receive and obtain data fragmentation, data fragmentation is sent to client, synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, carries out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information.
Wherein, this data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number.Wherein, each data fragmentation can comprise multiple frame, the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation.
Wherein, step " synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client " specifically can comprise:
(1) initial buffering amount of client is obtained;
Wherein, the instruction of this initial buffering amount, when the quantity of the data fragmentation of client reaches this initial buffering amount, starts played data burst.
(2) the first parameter and the second parameter is obtained;
Wherein, first parameter is for when this client starts played data burst, the burst number of the data fragmentation that server gets, the second parameter then refers to when this client starts played data burst, and server sends to the burst number of the data fragmentation of client.
(3) the 3rd parameter and the 4th parameter is obtained;
Wherein, the 3rd parameter is the burst number of the current data fragmentation got of server, and the 4th parameter refers to the current burst number sending to the data fragmentation of client of server.
That is, when this server often sends a data fragmentation to client, all can record that this sends to the burst number (i.e. the 4th parameter) of the data fragmentation of client, and record the burst number (i.e. the 3rd parameter) of the data fragmentation that now server gets.
Wherein, " carry out the detection of user at a slow speed in internet video live broadcasting according to this synchronizing information " and specifically can adopt any one mode following:
(1) first kind of way;
Calculate the difference of the first parameter and the second parameter, obtain the initial delay value between server and client; Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client; When described current delay value be greater than described initial delay value and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
(2) second way;
Calculate the difference of the 3rd parameter and the first parameter, obtain server current latest data burst difference; Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference; Determine this server current latest data burst difference be greater than this client current latest data burst difference and initial buffering amount and time, determine that this client is the user at a slow speed in internet video live broadcasting.
Optionally, the video data stream of internet video live broadcasting can also be received, isochronous surface be carried out to this video data stream, obtains data fragmentation, and stamp corresponding burst number for each data fragmentation.
Wherein, each data fragmentation can comprise multiple frame, and the quantity of frame included in data fragmentation can be arranged according to the demand of practical application, such as, for the program that delay requirement is high, due to the real-time distribution of needs, therefore, less frame can be comprised in a data fragmentation, and for the insensitive program of time delay, then more frame can be packaged into a data fragmentation, specifically see embodiment above, can not repeat them here.
Each operation specifically see embodiment above, can not repeat them here above.
As from the foregoing, the server of the present embodiment can obtain the data fragmentation carrying burst number, wherein, video data stream the carry out time of this data fragmentation to internet video live broadcasting cuts and obtains, this data fragmentation is sent to client, and the synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client, the detection of user at a slow speed in internet video live broadcasting is then carried out according to this synchronizing information.Due in this scenario, what adopt is comparatively simply number, the i.e. synchronous compare of burst number, and, these bursts number and the equal one_to_one corresponding of data fragmentation, each data fragmentation can be identified exactly, therefore, for synchronous compare, not only user at a slow speed can be detected more accurately and real-time relative to the average bit rate of user's speed of download and video being carried out in prior art, and also greatly simplify the logic of realization, improve detection efficiency.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
In a kind of Sampling network net cast provided the embodiment of the present invention above, the methods, devices and systems of user are described in detail at a slow speed, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. a user's at a slow speed method in Sampling network net cast, is characterized in that, comprising:
Obtain data fragmentation, described data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number;
Described data fragmentation is sent to client;
Synchronizing information between the burst number obtaining the data fragmentation in the burst number of the data fragmentation in server and client;
The detection of user at a slow speed in internet video live broadcasting is carried out according to described synchronizing information.
2. method according to claim 1, is characterized in that, the synchronizing information between the burst of the data fragmentation in the burst of the data fragmentation in described acquisition server number and client number, comprising:
Obtain the initial buffering amount of client, described initial buffering amount instruction, when the quantity of the data fragmentation of described client reaches described initial buffering amount, starts played data burst;
Obtain the first parameter and the second parameter, described first parameter is for when described client starts played data burst, the burst number of the data fragmentation that server gets, described second parameter is for when described client starts played data burst, and server sends to the burst number of the data fragmentation of client;
Obtain the 3rd parameter and the 4th parameter, described 3rd parameter is the burst number of the current data fragmentation got of server, and described 4th parameter is the current burst number sending to the data fragmentation of client of server;
The described detection carrying out user at a slow speed in internet video live broadcasting according to described synchronizing information, comprising: the detection carrying out user at a slow speed in internet video live broadcasting according to described initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter.
3. method according to claim 2, is characterized in that, the described detection carrying out user at a slow speed in internet video live broadcasting according to described initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter, comprising:
Calculate the difference of the first parameter and the second parameter, obtain the initial delay value between server and client;
Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client;
When described current delay value be greater than described initial delay value and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
4. method according to claim 2, is characterized in that, the described detection carrying out user at a slow speed in internet video live broadcasting according to described initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter, comprising:
Calculate the difference of the 3rd parameter and the first parameter, obtain server current latest data burst difference;
Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference;
Determine described server current latest data burst difference be greater than described client current latest data burst difference and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
5. the method according to any one of Claims 1-4, is characterized in that, described method also comprises:
Receive the video data stream of internet video live broadcasting;
Carry out isochronous surface to described video data stream, obtain data fragmentation, and stamp corresponding burst number for each data fragmentation, described data fragmentation comprises multiple frame.
6. the method according to any one of Claims 1-4, is characterized in that, describedly carries out isochronous surface to described video data stream, obtains data fragmentation, comprising:
Obtain the maximum delay value that described video data stream allows;
Determine whether the maximum delay value that described video data stream allows is less than preset threshold value;
If the maximum delay value that described video data stream allows is less than preset threshold value, then described video data stream is cut into the data fragmentation comprising N number of frame, described N is positive integer;
If the maximum delay value that described video data stream allows is more than or equal to preset threshold value, then described video data stream is cut into the data fragmentation comprising M frame, described M is positive integer, and described M is greater than N.
7. a user's at a slow speed device in Sampling network net cast, is characterized in that, comprising:
Data capture unit, for obtaining data fragmentation, described data fragmentation carries out isochronous surface by the video data stream of internet video live broadcasting and obtains, and carries burst number;
Transmitting element, for sending to client by described data fragmentation;
Information acquisition unit, for determine the data fragmentation in the burst number of the data fragmentation in server and client burst number between synchronizing information;
Detecting unit, for carrying out the detection of user at a slow speed in internet video live broadcasting according to described synchronizing information.
8. the device of user at a slow speed in Sampling network net cast according to claim 7, is characterized in that, described information acquisition unit comprises the first acquisition subelement, second and obtains subelement and the 3rd and obtain subelement;
First obtains subelement, and for obtaining the initial buffering amount of client, described initial buffering amount instruction, when the quantity of the data fragmentation of described client reaches described initial buffering amount, starts played data burst;
Second obtains subelement, for obtaining the first parameter and the second parameter, described first parameter is for when described client starts played data burst, the burst number of the data fragmentation that server gets, described second parameter is for when described client starts played data burst, and server sends to the burst number of the data fragmentation of client;
3rd obtains subelement, and for obtaining the 3rd parameter and the 4th parameter, described 3rd parameter is the burst number of the current data fragmentation got of server, and described 4th parameter is the current burst number sending to the data fragmentation of client of server;
Detecting unit, specifically for carrying out the detection of user at a slow speed in internet video live broadcasting according to described initial buffering amount, the first parameter, the second parameter, the 3rd parameter and the 4th parameter.
9. the device of user at a slow speed in Sampling network net cast according to claim 8, is characterized in that,
Described detecting unit, specifically for calculating the difference of the first parameter and the second parameter, obtains the initial delay value between server and client; Calculate the difference of the 3rd parameter and the 4th parameter, obtain the current delay value between server and client; When described current delay value be greater than described initial delay value and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
10. the device of user at a slow speed in Sampling network net cast according to claim 8, is characterized in that,
Described detecting unit, specifically for calculating the difference of the 3rd parameter and the first parameter, obtains server current latest data burst difference; Calculate the difference of the 4th parameter and the second parameter, obtain client current latest data burst difference; Determine described server current latest data burst difference be greater than described client current latest data burst difference and initial buffering amount and time, determine that described client is the user at a slow speed in internet video live broadcasting.
In 11. Sampling network net casts according to any one of claim 7 to 10, the device of user at a slow speed, is characterized in that, also comprise receiving element and section unit;
Described receiving element, for receiving the video data stream of internet video live broadcasting;
Section unit, for carrying out isochronous surface to described video data stream, obtain data fragmentation, and for each data fragmentation stamp correspondence burst number, described data fragmentation comprises multiple frame.
In 12. Sampling network net casts according to any one of claim 7 to 10, the device of user at a slow speed, is characterized in that,
Described section unit, specifically for obtaining the maximum delay value that described video data stream allows; Determine whether the maximum delay value that described video data stream allows is less than preset threshold value; If the maximum delay value that described video data stream allows is less than preset threshold value, then described video data stream is cut into the data fragmentation comprising N number of frame, described N is positive integer; If the maximum delay value that described video data stream allows is more than or equal to preset threshold value, then described video data stream is cut into the data fragmentation comprising M frame, described M is positive integer, and described M is greater than N.
13. 1 kinds of video living transmission systems, is characterized in that, comprise the device of user at a slow speed in the Sampling network net cast described in any one of claim 7 to 12.
CN201410025295.8A 2014-01-20 2014-01-20 The methods, devices and systems of user at a slow speed in a kind of detection internet video live broadcasting Active CN104796730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410025295.8A CN104796730B (en) 2014-01-20 2014-01-20 The methods, devices and systems of user at a slow speed in a kind of detection internet video live broadcasting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410025295.8A CN104796730B (en) 2014-01-20 2014-01-20 The methods, devices and systems of user at a slow speed in a kind of detection internet video live broadcasting

Publications (2)

Publication Number Publication Date
CN104796730A true CN104796730A (en) 2015-07-22
CN104796730B CN104796730B (en) 2017-10-10

Family

ID=53561185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410025295.8A Active CN104796730B (en) 2014-01-20 2014-01-20 The methods, devices and systems of user at a slow speed in a kind of detection internet video live broadcasting

Country Status (1)

Country Link
CN (1) CN104796730B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302477A (en) * 2016-08-18 2017-01-04 合网络技术(北京)有限公司 A kind of net cast method of testing and system
CN107277013A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 Live broadcast system and node administration method in peer-to-peer network
CN107302727A (en) * 2016-04-15 2017-10-27 杭州海康威视数字技术股份有限公司 A kind of method for down loading, the apparatus and system of live video burst
CN111654690A (en) * 2020-05-06 2020-09-11 北京百度网讯科技有限公司 Live video delay time determination method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024461A (en) * 2012-12-10 2013-04-03 乐视网信息技术(北京)股份有限公司 Method for measuring speed of player
CN103024598A (en) * 2013-01-10 2013-04-03 深信服网络科技(深圳)有限公司 Device and method for acquiring network video playing fluency
US20130132605A1 (en) * 2011-11-23 2013-05-23 Aol Inc. Systems and Methods for Internet Video Delivery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132605A1 (en) * 2011-11-23 2013-05-23 Aol Inc. Systems and Methods for Internet Video Delivery
CN103024461A (en) * 2012-12-10 2013-04-03 乐视网信息技术(北京)股份有限公司 Method for measuring speed of player
CN103024598A (en) * 2013-01-10 2013-04-03 深信服网络科技(深圳)有限公司 Device and method for acquiring network video playing fluency

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302727A (en) * 2016-04-15 2017-10-27 杭州海康威视数字技术股份有限公司 A kind of method for down loading, the apparatus and system of live video burst
CN107302727B (en) * 2016-04-15 2020-02-11 杭州海康威视数字技术股份有限公司 Method, device and system for downloading live video fragments
CN106302477A (en) * 2016-08-18 2017-01-04 合网络技术(北京)有限公司 A kind of net cast method of testing and system
CN107277013A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 Live broadcast system and node administration method in peer-to-peer network
WO2018232798A1 (en) * 2017-06-19 2018-12-27 网宿科技股份有限公司 Live broadcast system in peer-to-peer network and node management method
CN111654690A (en) * 2020-05-06 2020-09-11 北京百度网讯科技有限公司 Live video delay time determination method and device and electronic equipment

Also Published As

Publication number Publication date
CN104796730B (en) 2017-10-10

Similar Documents

Publication Publication Date Title
CN104135667B (en) Video remote explanation synchronization method, terminal equipment and system
CN108737908B (en) Media playing method, device and storage medium
CN104113787B (en) Based on the comment method of program, terminal, server and system
CN104142862B (en) The overload protection method of server and device
CN105338368A (en) Method, device and system for converting live stream of video into on-demand data
CN106162316A (en) The data processing method of a kind of video flowing, device and system
CN105005909A (en) Method and device for predicting lost users
CN104618794A (en) Method and device for playing video
CN104834529A (en) Method and device for optimizing performance of application
CN103458305A (en) Video playing method and device, terminal device and server
CN104469143A (en) Video sharing method and device
CN103731810A (en) Access point sharing method and device
CN105554522A (en) Method for playing audio in group, server and terminal
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN104935955A (en) Live video stream transmission method, device and system
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN104980455A (en) Multi-terminal data synchronization method based on cloud storage, device and system thereof
CN105516784A (en) Virtual good display method and device
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN103678605A (en) Information transmission method and device and terminal device
CN104615421A (en) Virtual gift display method and device
CN104837042A (en) Digital multimedia data encoding method and apparatus
CN104602135A (en) Method and device for controlling full screen play
CN104967865A (en) Video previewing method and apparatus
CN104159140A (en) Video processing method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180913

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Patentee after: Tencent cloud computing (Beijing) limited liability company

Address before: 518000 East 403 room, Sai Ge science and Technology Park, Futian District Zhenxing Road, Shenzhen, Guangdong, China, 2

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.