CN102387401B - Method, device and equipment for adjusting play time point of audio and video information - Google Patents

Method, device and equipment for adjusting play time point of audio and video information Download PDF

Info

Publication number
CN102387401B
CN102387401B CN201110316851.3A CN201110316851A CN102387401B CN 102387401 B CN102387401 B CN 102387401B CN 201110316851 A CN201110316851 A CN 201110316851A CN 102387401 B CN102387401 B CN 102387401B
Authority
CN
China
Prior art keywords
time point
video information
audio
time
live
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.)
Expired - Fee Related
Application number
CN201110316851.3A
Other languages
Chinese (zh)
Other versions
CN102387401A (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.)
Shanghai Synacast Media Technology Co Ltd
Original Assignee
Shanghai Synacast Media 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 Shanghai Synacast Media Technology Co Ltd filed Critical Shanghai Synacast Media Technology Co Ltd
Priority to CN201110316851.3A priority Critical patent/CN102387401B/en
Publication of CN102387401A publication Critical patent/CN102387401A/en
Application granted granted Critical
Publication of CN102387401B publication Critical patent/CN102387401B/en
Expired - Fee Related 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 invention provides a method, a device and equipment for adjusting a play time point of audio and video information. The method comprises the following steps: obtaining a first compared time point of the current live audio and video information in a node; judging whether the time interval between the first compared time point and the pre-obtained actual live time point of the audio and video information is greater than a pre-determined threshold; if yes, obtaining a synchronous time point of the audio and video information; and playing the audio and video information starting from the synchronous time point. Compared with the prior art, the method has the following advantages: (1) a user can obtain the latest information of the live audio and video information; and (2) re-delay caused by network blockage after synchronization can be reduced.

Description

A kind of method, device and equipment of the play time of adjusting audio/video information
Technical field
The present invention relates to computer realm, relate in particular to a kind of in the node of peer-to-peer network for adjusting method, device and the equipment of play time of audio/video information.
Background technology
In the live process of peer-to-peer network, due to reasons such as network blockage, part of nodes may produce playout-delay and make the content of current broadcasting in node not chase after live content, and because live content has extremely strong ageingly, user wishes to see in time up-to-date content, therefore, how play time is adjusted to up-to-date live time point, or, be adjusted to and approach this live time point, playing real-time to improve, is the problem of wishing solution in the live process of peer-to-peer network.
Summary of the invention
The object of this invention is to provide a kind of in the node of peer-to-peer network for adjusting method, device and the equipment of play time of audio/video information.
According to an aspect of the present invention, provide a kind of in the node of peer-to-peer network for adjusting the method for play time of audio/video information, wherein, said method comprising the steps of:
A. obtain the first comparison time point of current live described audio/video information in described node;
B. judge whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value;
C. when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, obtain the synchronizing time point of described audio/video information;
D. from the described audio/video information of the initial broadcasting of described synchronizing time point.
According to an aspect of the present invention, also provide a kind of in the node of peer-to-peer network for adjusting the synchronizer of play time of audio/video information, wherein, described synchronizer comprises:
The first acquisition device, compares time point for obtaining first of the current live described audio/video information of described node;
The first judgment means, for judging whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value;
The second acquisition device, for when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, obtain the synchronizing time point of described audio/video information;
Playing device, for from the described audio/video information of the initial broadcasting of described synchronizing time point.
According to an aspect of the present invention, also provide a kind of computer equipment, wherein, this computer equipment comprises described synchronizer.
Compared with prior art, the present invention has the following advantages: 1) in the time that node under synchronizer occurs to postpone during at live described audio/video information, the play time of audio/video information is adjusted, so that user obtains the just up-to-date information at live described audio/video information, improve user and experience; 2) can guarantee largely by obtaining smoothly the corresponding data slot of described synchronizing time point in peer-to-peer network, with situation about again postponing because network card pauses after reducing synchronously.
Brief description of the drawings
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 be one aspect of the invention a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information;
Fig. 2 be a preferred embodiment a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information;
Fig. 3 be another preferred embodiment of the present invention a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information;
Fig. 4 one aspect of the invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information;
Fig. 5 a preferred embodiment of the invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information;
Another preferred embodiment of Fig. 6 the present invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 has illustrated one aspect of the invention a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information.The method according to this invention comprises step S1, step S2, step S3 and step S4.Wherein, the method according to this invention can realize by the synchronizer in computer equipment, for example, realizes by such as application module, operating system, processing controller etc. in computer equipment.Wherein, described computer equipment be a kind of can be according to the program of prior storage, automatically, the modernization intelligent electronic device that carries out at high speed massive values computation and various information processings, its hardware includes but not limited to microprocessor, FPGA, DSP, embedded device etc.Described computer equipment includes but not limited to subscriber equipment and the network equipment.Wherein, described subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.The described network equipment includes but not limited to single network server, the server group of multiple webserver composition or the cloud being made up of a large amount of computers or the webserver based on cloud computing (Cloud Computing), wherein, cloud computing is the one of Distributed Calculation, the super virtual machine being made up of the loosely-coupled computer collection of a group.Wherein, described subscriber equipment or the residing network of the described network equipment include but not limited to the Internet, wide area network, metropolitan area network, local area network (LAN), VPN network etc.
It should be noted that; described subscriber equipment and the network equipment are only for giving an example; other subscriber equipmenies existing or that may occur from now on, the network equipment or network, as applicable to the present invention, also should be included in protection range of the present invention, and be contained in this with way of reference.
In step S1, synchronizer obtains under self in node first of current live audio/video information the time point relatively.
Wherein, described the first comparison time point includes but not limited to following any one: 1) the initial play time of the current data slot that belongs to described audio/video information of downloading of described node; 2) the final play time that the part audio/video information of having downloaded in described node can play to; 3) the current play time of described audio/video information in described node.
Particularly, described synchronizer obtain current live described audio/video information in described node first relatively the mode of time point include but not limited to:
1), in the time that the first comparison time point comprises current play time, directly obtain the current play time of the current audio frequency and video of playing.
2) in the time that the first comparison time point comprises initial reproduction time, first determine the current up-to-date data slot of downloading, and obtain the initial reproduction time of this data slot;
3) when first when relatively time point comprises final play time, obtain the up-to-date time point that the part audio/video information data message downloaded can play to, and using this actual point as final play time.
Then,, in step S2, synchronizer judges whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value.
Wherein, the live time point of described reality comprises the play time of this audio/video information in the original live source node that this audio/video information is provided.Wherein, the mode of obtaining in advance the live point of described reality includes but not limited to:
1) synchronizer directly obtains actual live time point by the original live source Nodes that audio/video information is provided.
2) synchronizer is by the live start time point that obtains described audio/video information in described peer-to-peer network; Then,, according to the time interval between current point in time and described live start time point, obtain the live time point of described reality.Wherein, described live start time point is sent in described peer-to-peer network by the original live source node that described audio/video information is provided.
For example, the live start time point that obtains video information in synchronizer other nodes by peer-to-peer network is 14:31:00, and to obtain current point in time be 14:42:00, synchronizer obtains 11 minutes time intervals, and according to this time interval, determine that actual live time point is the 11st minute the 0th second.Wherein, other nodes in this peer-to-peer network obtain live start time point 14:31:00 by the original live source Nodes that described audio/video information is provided.
Preferably, synchronizer adopts aforementioned 1) or 2) mode obtain for the first time after the live time point of described reality, every through a predetermined time interval, as 1 second, refresh actual live time point according to current point in time, as every mistake 1 second all increases by 1 second by live reality time point etc., so that synchronizer directly obtains actual live time point when needed.
For example, it is the 5th second that synchronizer obtains actual live time point, and cumulative by second on the basis of the 5th second, and, after 56 seconds, it is the 1st minute the 1st second that synchronizer directly obtains actual live time point.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention it should be appreciated by those skilled in the art that any implementation of obtaining the live point of described reality, all should be within the scope of the present invention.
Wherein, the method for the pre-definite threshold of synchronizer includes but not limited to:
1) obtain the threshold value of artificial setting;
2) synchronizer first obtains the network bandwidth information of node under self, and according to described network bandwidth information, determines described threshold value.For example, synchronizer is first determined the bandwidth scope under the network bandwidth obtaining, then obtains the threshold value corresponding with this bandwidth scope etc.
Then, in step S3, when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, synchronizer obtains the synchronizing time point of described audio/video information.
Wherein, the mode that described synchronizer obtains the synchronizing time point of described audio/video information includes but not limited to:
1) the current play time of directly obtaining live source is as synchronizing time point.
2) using described first relatively time point and scheduled time length sum as described synchronizing time point.For example, synchronizer in step S1, obtain first relatively time point comprise the 10th point the 32nd second, and scheduled time length comprises 5 minutes, synchronizer determines that synchronizing time point is the 15th minute the 32nd second.
3) synchronizer obtains each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network, and according to predetermined selective rule, by selecting one to be greater than the described first the second comparison time point that compares time point as described synchronizing time point in described each the second comparison time point.
Wherein, described the second comparison time point comprises following any one: a) the initial play time of the current data slot that belongs to this audio/video information of downloading of other nodes of live described audio/video information; B) the final play time that the part audio/video information of having downloaded in these other nodes can play to; C) the current play time of described audio/video information in these other nodes.
Wherein, this implementation will be described in detail in follow-up reference is embodiment illustrated in fig. 2, no longer describe in detail herein.
4) synchronizer obtains the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network; And according to described fragment relevant information, determine by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively; Then, synchronizer, according to described degree of difficulty, is selected a data slot in the data slot by described all or part of download, using by the initial play time of its correspondence as described synchronizing time point.Wherein, this implementation will be described in detail in follow-up reference is embodiment illustrated in fig. 3, no longer describe in detail herein.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, synchronizer obtains the implementation of the synchronizing time point of described audio/video information, all should be within the scope of the present invention.
Then,, in step S4, synchronizer is from the described audio/video information of the initial broadcasting of described synchronizing time point.
Preferably, in the time that the first comparison time point comprises described current play time, described step S4 comprises step S401 (not shown) and step S402 (not shown).
In step S401, synchronizer judge in node, whether exist under self belong to described audio/video information and play that the period comprises described synchronizing time point play multicast data fragment.
Wherein, described audio/video information comprises at least one data slot, and described multicast data fragment comprises the data slot that can be used for motor synchronizing time point and start the part audio/video information of playing.The described broadcasting period comprises initial play time and the corresponding reproduction time scope of end of playing time point of each data slot.Those skilled in the art should determine according to actual conditions and demand the mode of the broadcasting period of obtaining data slot, do not repeat them here.
For example, the reproduction time length of each data slot that predetermined video information comprises is 5s, synchronizer definite synchronizing time point in step S3 is the 15th minute the 3rd second, and definite existence broadcasting period of synchronizer is the data slot of the 15th minute the 1st second to the 15th minute the 5th second, and synchronizer judgement exists the broadcasting period to comprise the synchronizing time point data slot of the 15th minute the 3rd second.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, in any decision node, whether exist and belong to described audio/video information and play the implementation that plays multicast data fragment that the period comprises described synchronizing time point, all should be within the scope of the present invention.
Then,, in step S402, in the time there is not described multicast data fragment in this node, synchronizer, by obtaining the described multicast data fragment that rises in described peer-to-peer network, is play described audio/video information to light from described lock in time.Wherein, those skilled in the art should determine the mode of being obtained data slot by peer-to-peer network according to actual conditions and demand, do not repeat them here.
Preferably, existed describedly while playing multicast data fragment when judging in this node, synchronizer is directly by the described audio/video information of the initial broadcasting of described synchronizing time point.
The method according to this invention, in the time that node under synchronizer occurs to postpone during at live described audio/video information, the play time of audio/video information is adjusted, so that user obtains the just up-to-date information at live described audio/video information, improved user and experience.
Fig. 2 has illustrated a preferred embodiment of the invention a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information.Comprise step S1, step S2, step S3 and step S4 according to the method for the present embodiment, wherein, described step S3 comprises step S301 and step S302.
Step S1 and step S2 are described in detail in reference to the embodiment shown in Fig. 1, and are contained in this by reference, repeat no more.
In step S301, when judge described first relatively between time point and the live time point of described reality interval greater than described pre-definite threshold value time, synchronizer obtains each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network.
Wherein, described second relatively time point in the implementation 3 of aforementioned reference step S3 embodiment illustrated in fig. 1) in be explained, repeat no more herein.
Wherein, described at least one other node comprise other arbitrary nodes in described peer-to-peer network.Preferably, described at least one other node comprise other nodes that can directly communicate with node under synchronizer in described peer-to-peer network.
Particularly, synchronizer obtain described audio/video information live at least one other node of described peer-to-peer network each second relatively mode of time point include but not limited to:
1) by the second comparison time point that obtains described at least one other node in the super node in described peer-to-peer network or network equipment node.
2), in the time that described at least one other node comprise the node that can directly communicate with node under synchronizer in described peer-to-peer network, directly obtain its second comparison time point by described at least one other Nodes.
Then,, in step S302, according to predetermined selective rule, synchronizer is by selecting one to be greater than the described first the second comparison time point that compares time point as described synchronizing time point in described each the second comparison time point.
Wherein, described predetermined selective rule includes but not limited to following at least one:
A) by be greater than described first relatively at least one of time point second relatively select the maximum second time point relatively in time point;
B) by be greater than described first relatively at least one of time point second select one second relatively time point relatively more at random in time point.
Particularly, synchronizer first compares relatively time point of each the second comparison time point and described first, compare time point to obtain one or more second of described the first comparison time points that are greater than, and according to predetermined selective rule, relatively in time point, select one second to compare time point as synchronizing time point by described one or more second.
Then, step S4 is described in detail in reference to the embodiment shown in Fig. 1, and is contained in this by reference, repeats no more.
The method according to this invention, second of other nodes in selection peer-to-peer network compare time point as synchronizing time point, with by least one the node synchronised in the play time of node under synchronizer and other nodes, so that guarantee can be by obtaining smoothly the corresponding data slot of described synchronizing time point in peer-to-peer network, to reduce situation about again postponing because network card pauses after synchronous.
Fig. 3 has illustrated another preferred embodiment of the present invention a kind of in the node of peer-to-peer network for adjusting the method flow diagram of play time of audio/video information.Comprise step S1, step S2, step S3 and step S4 according to the method for the present embodiment, wherein, described step S3 comprises step S303, step S304 and step S305.
Step S1 and step S2 are described in detail in reference to the embodiment shown in Fig. 1, and are contained in this by reference, repeat no more.
In step S303, when judge described first relatively between time point and the live time point of described reality interval greater than described definite threshold value in advance time, synchronizer obtains the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network.
Wherein, described at least one other node comprise other arbitrary nodes in described peer-to-peer network, and preferably, described at least one other node comprise other nodes that can directly communicate with node under synchronizer in described peer-to-peer network.
Wherein, the fragment identification information that described fragment relevant information comprises described data slot, the title of for example data slot, again for example, the sequence number of data slot etc.; Preferably, described fragment relevant information also comprises the complete segment degree information of its corresponding data slot, for example, the data volume of the partial data corresponding to this data slot that node has been downloaded, the data volume of the partial data corresponding to this data slot that again for example, node has been downloaded accounts for the percentage of the total amount of data of this data slot etc.
Wherein, those skilled in the art should determine according to actual conditions and demand the mode of the complete segment degree information of obtaining data slot, for example, each data slot is divided into N part, and adopt 0 and 1 to identify each several part data and whether download, and mode using 1 quantity wherein as the complete segment degree information of data slot etc., do not repeat them here.
Particularly, synchronizer obtains the mode that belongs to the fragment relevant information of the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network and includes but not limited to:
1) by the fragment relevant information of data slot of obtaining the described all or part of download of at least one other node in the super node in described peer-to-peer network or network equipment node.
2), in the time that described at least one other node comprise the node that can directly communicate with node under synchronizer in described peer-to-peer network, directly obtained the fragment relevant information of the data slot of its all or part of download by described at least one other Nodes.
In step S304, synchronizer, according to described fragment relevant information, is determined by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively.Wherein, described degree of difficulty is for evaluating the complexity of being obtained described data slot by peer-to-peer network.
Particularly, described synchronizer, according to described fragment relevant information, is determined and is included but not limited to by the mode of obtaining the degree of difficulty of the data slot of each all or part of download in described peer-to-peer network respectively:
1) synchronizer is according to the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of the described peer-to-peer network obtaining in step S303, add up the number of nodes of other nodes of the described data slot of each all or part of download in described peer-to-peer network, to determine according to described number of nodes the degree of difficulty that obtains described data slot.Wherein, the number of nodes of other nodes of the described data slot of all or part of download is more, and the degree of difficulty that obtains described data slot is less; The number of nodes of other nodes of the described data slot of all or part of download is fewer, and the degree of difficulty that obtains described data slot is larger.Wherein, described degree of difficulty is with degree of difficulty rank or degree of difficulty numeric representation.Preferably, the numerical value of described degree of difficulty and the corresponding relation of described number of nodes comprise inverse proportion corresponding relation.
For example, synchronizer obtains the fragment identification information Dfrag_1 of three data slots that the node Peer1 in peer-to-peer network comprises in step S303, Dfrag_2 and Dfrag_3, fragment identification information Dfrag_3 and the Dfrag_4 of two data slots that node Peer2 comprises, and the fragment identification information Dfrag_3 of two data slots comprising of node Peer3, Dfrag_1, synchronizer statistics obtains the number of nodes 2 of partly or entirely downloading Dfrag_1, and determine by peer-to-peer network and obtain number of nodes=1/2 that Dfrag_1 is partly or entirely downloaded in degree of difficulty=1/ of data slot Dfrag_1, similarly, synchronizer determines that the degree of difficulty that obtains data slot Dfrag_2 by peer-to-peer network is 1, and the degree of difficulty that obtains data slot Dfrag_3 is 1/3, and the degree of difficulty that obtains data slot Dfrag_4 is 1.
2) in the time that fragment relevant information also comprises the complete segment degree information of its corresponding data slot, for the each data slot in the data slot of described each all or part of download, synchronizer obtains its complete segment degree information at least one other node of described peer-to-peer network by subscribing statistical disposition, to determine by the degree of difficulty that obtains described data slot in peer-to-peer network according to statistical disposition result.
Preferably, the mode of described predetermined statistical disposition includes but not limited to: 1) statistics complete segment degree information sum; 2) obtain the mean value of complete segment degree information; 3) add up and judge whether to obtain the individual complete segment degree information that is greater than predetermined integrity degree threshold value of M etc.Wherein, those skilled in the art should determine according to actual conditions and demand value and the described predetermined integrity degree threshold value of M, do not repeat them here.
Wherein, synchronizer is according to predetermined statistical disposition result and the corresponding relation of degree of difficulty, determine by peer-to-peer network with the degree of difficulty that obtains the corresponding data slot of this statistics.Wherein, described degree of difficulty is with degree of difficulty rank or degree of difficulty numeric representation.Preferably, the corresponding relation of the numerical value of described degree of difficulty and described statistical disposition result comprises inverse proportion corresponding relation.
The percentage of download of for example, each data slot in node Peer4, Peer5 and Peer6 that, synchronizer obtains in step S303 is as shown in table 1 below:
Peer4 Peer5 Peer6
Dfrag_5 10% 80% 0%
Dfrag_6 70% 90% 80%
Dfrag_7 100% 10% 10%
Table 1
Predetermined average download percentage and the corresponding relation of degree of difficulty grade are as shown in table 2 below, and wherein, degree of difficulty is increased successively by the first estate to the five grades:
The average percentage of downloading Degree of difficulty grade
0%-15% The 5th grade
16%-30% The fourth estate
31%-50% The tertiary gradient
51%-75% The second grade
75%-100% The first estate
Table 2
Synchronizer obtain data slot according to predetermined each downloaded the statistical disposition mode of the average download percentage of percentage, obtain the average download percentage 30% of Dfrag_5, the average download percentage 80% of Dfrag_6, and the average download percentage 40% of Dfrag_7; Then, synchronizer is according to predetermined average download percentage and the corresponding relation of degree of difficulty grade, determine to be the fourth stage by the degree of difficulty grade of obtaining data slot Dfrag_5 in peer-to-peer network, and similarly definite degree of difficulty grade of obtaining data slot Dfrag_6 is the first order, the degree of difficulty grade of obtaining data slot Dfrag_5 is the third level.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described fragment relevant information, determine by the implementation of obtaining the degree of difficulty of the data slot of each all or part of download in described peer-to-peer network respectively, all should be within the scope of the present invention.
Then, in step S305, synchronizer, according to described degree of difficulty, is selected a data slot in the data slot by described all or part of download, using by the initial play time of its correspondence as described synchronizing time point.
Wherein, described synchronizer, according to described degree of difficulty, selects the mode of a data slot to include but not limited in the data slot by described all or part of download:
1) synchronizer is directly selected the data slot corresponding to minimum degree of difficulty.
2) synchronizer first judges whether the degree of difficulty that each obtained data slot is corresponding is less than predetermined threshold, and be less than by corresponding degree of difficulty and select a data slot at random in the data slot of predetermined threshold, or, be less than a data slot selecting initial reproduction time maximum in the data slot of predetermined threshold by corresponding degree of difficulty.
Then, step S4 is described in detail in reference to the embodiment shown in Fig. 1, and is contained in this by reference, repeats no more.
The method according to this invention, by the data slot of selecting in the data slot by multiple candidates the most easily to obtain, to be synchronized to the broadcasting period of this data slot, further improve by the possibility that obtains smoothly the corresponding data slot of described synchronizing time point in peer-to-peer network, also further reduced situation about again postponing after synchronous simultaneously.
Fig. 4 has illustrated one aspect of the invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information.Synchronizer according to the present invention comprises the first acquisition device 1, the first judgment means 2, the second acquisition device 3 and playing device 4.
The first acquisition device 1 obtains under self in node first of current live audio/video information the time point relatively.
Wherein, described the first comparison time point includes but not limited to following any one: 1) the initial play time of the current data slot that belongs to described audio/video information of downloading of described node; 2) the final play time that the part audio/video information of having downloaded in described node can play to; 3) the current play time of described audio/video information in described node.
Particularly, described the first acquisition device 1 obtain current live described audio/video information in described node first relatively the mode of time point include but not limited to:
1) in the time that the first comparison time point comprises current play time, the first acquisition device 1 directly obtains the current play time of the current audio frequency and video of playing.
2) in the time that the first comparison time point comprises initial reproduction time, the first acquisition device 1 is first determined the current up-to-date data slot of downloading, and obtains the initial reproduction time of this data slot;
3), when first when relatively time point comprises final play time, the first acquisition device 1 obtains the up-to-date time point that the part audio/video information data message downloaded can play to, and using this actual point as final play time.
Then, the first judgment means 2 judges whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value.
Wherein, the live time point of described reality comprises the play time of this audio/video information in the original live source node that this audio/video information is provided.Wherein, the mode of obtaining in advance the live point of described reality includes but not limited to:
1) synchronizer directly obtains actual live time point by the original live source Nodes that audio/video information is provided.
2) be contained in the 3rd acquisition device (not shown) in synchronizer by the live start time point that obtains described audio/video information in described peer-to-peer network; Then, be contained in the 4th acquisition device (not shown) in synchronizer according to the time interval between current point in time and described live start time point, obtain the live time point of described reality.Wherein, described live start time point is sent in described peer-to-peer network by the original live source node that described audio/video information is provided.
For example, the live start time point that obtains video information in the 3rd acquisition device other nodes by peer-to-peer network is 14:31:00, and it is 14:42:00 that the 4th acquisition device obtains current point in time, and 11 minutes time intervals, the 4th acquisition device, according to this time interval, determines that actual live time point is the 11st minute the 0th second.Wherein, other nodes in this peer-to-peer network obtain live start time point 14:31:00 by the original live source Nodes that described audio/video information is provided.
Preferably, synchronizer adopts aforementioned 1) or 2) mode obtain for the first time after the live time point of described reality, every through a predetermined time interval, as 1 second, refresh actual live time point according to current point in time, as every mistake 1 second all increases by 1 second by live reality time point etc., so that synchronizer directly obtains actual live time point when needed.
For example, it is the 5th second that synchronizer obtains actual live time point, and cumulative by second on the basis of the 5th second, and, after 56 seconds, it is the 1st minute the 1st second that synchronizer directly obtains actual live time point.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention it should be appreciated by those skilled in the art that any implementation of obtaining the live point of described reality, all should be within the scope of the present invention.
Wherein, the mode of the pre-definite threshold of synchronizer includes but not limited to:
1) synchronizer obtains the threshold value of artificial setting;
2) be contained in bandwidth acquisition device (not shown) in synchronizer and obtain the network bandwidth information of node under self, then, be contained in threshold value determining device (not shown) in synchronizer according to described network bandwidth information, determine described threshold value.For example, threshold value determining device is first determined the affiliated bandwidth scope of the network bandwidth that bandwidth acquisition device obtains, then obtains the threshold value corresponding with this bandwidth scope etc.
Then, when the first judgment means 2 judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, the second acquisition device 3 obtains the synchronizing time point of described audio/video information.
Wherein, the mode that described the second acquisition device 3 obtains the synchronizing time point of described audio/video information includes but not limited to:
1) the current play time that the second acquisition device 3 directly obtains live source is as synchronizing time point.
2) be contained in the 3rd sub-acquisition device (not shown) in the second acquisition device 3 using described first relatively time point and scheduled time length sum as described synchronizing time point.For example, the first acquisition device 1 obtain first relatively time point comprise the 10th point the 32nd second, and scheduled time length comprises 5 minutes, the 3rd sub-acquisition device determines that synchronizing time point is the 15th minute the 32nd second.
3) the second acquisition device 3 obtains each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network, and according to predetermined selective rule, by selecting one to be greater than the described first the second comparison time point that compares time point as described synchronizing time point in described each the second comparison time point.
Wherein, described the second comparison time point comprises following any one: a) the initial play time of the current data slot that belongs to this audio/video information of downloading of other nodes of live described audio/video information; B) the final play time that the part audio/video information of having downloaded in these other nodes can play to; C) the current play time of described audio/video information in these other nodes.
Wherein, this implementation will be described in detail in follow-up reference is embodiment illustrated in fig. 2, no longer describe in detail herein.
4) the second acquisition device 3 obtains the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network; And according to described fragment relevant information, determine by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively; Then, synchronizer, according to described degree of difficulty, is selected a data slot in the data slot by described all or part of download, using by the initial play time of its correspondence as described synchronizing time point.Wherein, this implementation will be described in detail in follow-up reference is embodiment illustrated in fig. 3, no longer describe in detail herein.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, synchronizer obtains the implementation of the synchronizing time point of described audio/video information, all should be within the scope of the present invention.
Then, playing device 4 is from the described audio/video information of the initial broadcasting of described synchronizing time point.
Preferably, in the time that the first comparison time point comprises described current play time, described playing device 4 comprises the second judgment means (not shown) and obtains playing device (not shown).
The second judgment means judge in node, whether exist under self belong to described audio/video information and play that the period comprises described synchronizing time point play multicast data fragment.
Wherein, described audio/video information comprises at least one data slot, and described multicast data fragment comprises the data slot that can be used for motor synchronizing time point and start the part audio/video information of playing.The described broadcasting period comprises initial play time and the corresponding reproduction time scope of end of playing time point of each data slot.Those skilled in the art should determine according to actual conditions and demand the mode of the broadcasting period of obtaining data slot, do not repeat them here.
For example, the reproduction time length of each data slot that predetermined video information comprises is 5s, the definite synchronizing time point of the second acquisition device 3 is the 15th minute the 3rd second, and definite existence broadcasting period of the second judgment means is the data slot of the 15th minute the 1st second to the 15th minute the 5th second, and the second judgment means judgement exists the broadcasting period to comprise the synchronizing time point data slot of the 15th minute the 3rd second.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, in any decision node, whether exist and belong to described audio/video information and play the implementation that plays multicast data fragment that the period comprises described synchronizing time point, all should be within the scope of the present invention.
Then, in this node, do not exist describedly while playing multicast data fragment when the second judgment means judges, obtain playing device by obtaining the described multicast data fragment that rises in described peer-to-peer network, play described audio/video information to light from described lock in time.Wherein, those skilled in the art should determine the mode of being obtained data slot by peer-to-peer network according to actual conditions and demand, do not repeat them here.
Preferably, existed describedly while playing multicast data fragment when judging in this node, synchronizer is directly by the described audio/video information of the initial broadcasting of described synchronizing time point.
According to the solution of the present invention, in the time that node under synchronizer occurs to postpone during at live described audio/video information, the play time of audio/video information is adjusted, so that user obtains the just up-to-date information at live described audio/video information, improved user and experience.
Fig. 5 has illustrated a preferred embodiment of the invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information.According to the synchronizer of the present embodiment comprise the first acquisition device 1, the first judgment means 2, be contained in the second acquisition device 3 the first sub-acquisition device 301, be contained in the first choice device 302 and the playing device 4 of the second acquisition device 3.
The first acquisition device 1 and the first judgment means 2 are described in detail in reference to the embodiment shown in Fig. 5, and are contained in this by reference, repeat no more.
When the first judgment means 2 judge described first relatively between time point and the live time point of described reality interval greater than described pre-definite threshold value time, the first sub-acquisition device 301 obtains each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network.
Wherein, described second relatively time point in the implementation 3 of aforementioned reference the second acquisition device 3 embodiment illustrated in fig. 4) in be explained, repeat no more herein.
Wherein, described at least one other node comprise other arbitrary nodes in described peer-to-peer network.Preferably, described at least one other node comprise other nodes that can directly communicate with node under synchronizer in described peer-to-peer network.
Particularly, the first sub-acquisition device 301 obtain described audio/video information live at least one other node of described peer-to-peer network each second relatively mode of time point include but not limited to:
1) the first sub-acquisition device 301 is by the second comparison time point that obtains described at least one other node in the super node in described peer-to-peer network or network equipment node.
2) in the time that described at least one other node comprise the node that can directly communicate with node under the first sub-acquisition device 301 in described peer-to-peer network, the first sub-acquisition device 301 directly obtains its second comparison time point by described at least one other Nodes.
Then, the first choice device 302 is according to predetermined selective rule, by selecting one to be greater than the described first the second comparison time point that compares time point as described synchronizing time point in described each the second comparison time point.
Wherein, described predetermined selective rule includes but not limited to following at least one:
A) by be greater than described first relatively at least one of time point second relatively select the maximum second time point relatively in time point;
B) by be greater than described first relatively at least one of time point second select one second relatively time point relatively more at random in time point.
Particularly, the first choice device 302 first compares relatively time point of each the second comparison time point and described first, compare time point to obtain one or more second of described the first comparison time points that are greater than, and according to predetermined selective rule, relatively in time point, select one second to compare time point as synchronizing time point by described one or more second.
Then, playing device 4 is described in detail in reference to the embodiment shown in Fig. 4, and is contained in this by reference, repeats no more.
According to the solution of the present invention, second of other nodes in selection peer-to-peer network compare time point as synchronizing time point, with by least one the node synchronised in the play time of node under synchronizer and other nodes, so that guarantee can be by obtaining smoothly the corresponding data slot of described synchronizing time point in peer-to-peer network, to reduce situation about again postponing because network card pauses after synchronous.
Fig. 6 has illustrated another preferred embodiment of the present invention a kind of in the node of peer-to-peer network for adjusting the structural representation of synchronizer of play time of audio/video information.According to the synchronizer of the present embodiment comprise the first acquisition device 1, the first judgment means 2, be contained in the second acquisition device 3 the second sub-acquisition device 303, be contained in the second acquisition device 3 determining device 304, be contained in the second choice device 305 and the playing device 4 of the second acquisition device 3.
The first acquisition device 1 and the first judgment means 2 are described in detail in reference to the embodiment shown in Fig. 4, and are contained in this by reference, repeat no more.
When the first judgment means 2 judge described first relatively between time point and the live time point of described reality interval greater than described definite threshold value in advance time, the second sub-acquisition device 303 obtains the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network.
Wherein, described at least one other node comprise other arbitrary nodes in described peer-to-peer network, and preferably, described at least one other node comprise other nodes that can directly communicate with node under synchronizer in described peer-to-peer network.
Wherein, the fragment identification information that described fragment relevant information comprises described data slot, the title of for example data slot, again for example, the sequence number of data slot etc.; Preferably, described fragment relevant information also comprises the complete segment degree information of its corresponding data slot, for example, the data volume of the partial data corresponding to this data slot that node has been downloaded, the data volume of the partial data corresponding to this data slot that again for example, node has been downloaded accounts for the percentage of the total amount of data of this data slot etc.
Wherein, those skilled in the art should determine according to actual conditions and demand the mode of the complete segment degree information of obtaining data slot, for example, each data slot is divided into N part, and adopt 0 and 1 to identify each several part data and whether download, and mode using 1 quantity wherein as the complete segment degree information of data slot etc., do not repeat them here.
Particularly, the second sub-acquisition device 303 obtains the mode that belongs to the fragment relevant information of the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network and includes but not limited to:
1) the second sub-acquisition device 303 is by the fragment relevant information of data slot of obtaining the described all or part of download of at least one other node in the super node in described peer-to-peer network or network equipment node.
2), in the time that described at least one other node comprise the node that can directly communicate with node under synchronizer in described peer-to-peer network, the second sub-acquisition device 303 is directly obtained the fragment relevant information of the data slot of its all or part of download by described at least one other Nodes.
Determining device 304, according to described fragment relevant information, is determined by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively.Wherein, described degree of difficulty is for evaluating the complexity of being obtained described data slot by peer-to-peer network.
Particularly, described determining device 304, according to described fragment relevant information, is determined and is included but not limited to by the mode of obtaining the degree of difficulty of the data slot of each all or part of download in described peer-to-peer network respectively:
1) at least one other node of the described peer-to-peer network that determining device 304 obtains according to the second sub-acquisition device 303, belong to the fragment relevant information of the data slot of described audio/video information and all or part of download, add up the number of nodes of other nodes of the described data slot of each all or part of download in described peer-to-peer network, to determine according to described number of nodes the degree of difficulty that obtains described data slot.Wherein, the number of nodes of other nodes of the described data slot of all or part of download is more, and the degree of difficulty that obtains described data slot is less; The number of nodes of other nodes of the described data slot of all or part of download is fewer, and the degree of difficulty that obtains described data slot is larger.Wherein, described degree of difficulty is with degree of difficulty rank or degree of difficulty numeric representation.Preferably, the numerical value of described degree of difficulty and the corresponding relation of described number of nodes comprise inverse proportion corresponding relation.
For example, the second sub-acquisition device 303 obtains the fragment identification information Dfrag_1 of three data slots that the node Peer1 in peer-to-peer network comprises, Dfrag_2 and Dfrag_3, fragment identification information Dfrag_3 and the Dfrag_4 of two data slots that node Peer2 comprises, and the fragment identification information Dfrag_3 of two data slots comprising of node Peer3, Dfrag_1, determining device 304 statistics obtain the number of nodes 2 of partly or entirely downloading Dfrag_1, and determine by peer-to-peer network and obtain number of nodes=1/2 that Dfrag_1 is partly or entirely downloaded in degree of difficulty=1/ of data slot Dfrag_1, similarly, determining device 304 determines that the degree of difficulty that obtains data slot Dfrag_2 by peer-to-peer network is 1, and the degree of difficulty that obtains data slot Dfrag_3 is 1/3, and the degree of difficulty that obtains data slot Dfrag_4 is 1.
2) in the time that fragment relevant information also comprises the complete segment degree information of its corresponding data slot, for the each data slot in the data slot of described each all or part of download, determining device 304 obtains its complete segment degree information at least one other node of described peer-to-peer network by predetermined statistical disposition, to determine by the degree of difficulty that obtains described data slot in peer-to-peer network according to statistical disposition result.
Preferably, the mode of described predetermined statistical disposition includes but not limited to: 1) statistics complete segment degree information sum; 2) obtain the mean value of complete segment degree information; 3) add up and judge whether to obtain the individual complete segment degree information that is greater than predetermined integrity degree threshold value of M etc.Wherein, those skilled in the art should determine according to actual conditions and demand value and the described predetermined integrity degree threshold value of M, do not repeat them here.
Wherein, determining device 304 is according to predetermined statistical disposition result and the corresponding relation of degree of difficulty, determine by peer-to-peer network with the degree of difficulty that obtains the corresponding data slot of this statistics.Wherein, described degree of difficulty is with degree of difficulty rank or degree of difficulty numeric representation.Preferably, the corresponding relation of the numerical value of described degree of difficulty and described statistical disposition result comprises inverse proportion corresponding relation.
The percentage of download of for example, each data slot in node Peer4, Peer5 and Peer6 that, the second sub-acquisition device 303 obtains is as shown in table 3 below:
Peer4 Peer5 Peer6
Dfrag_5 10% 80% 0%
Dfrag_6 70% 90% 80%
Dfrag_7 100% 10% 10%
Table 3
Predetermined average download percentage and the corresponding relation of degree of difficulty grade are as shown in table 4 below, and wherein, degree of difficulty is increased successively by the first estate to the five grades:
The average percentage of downloading Degree of difficulty grade
0%-15% The 5th grade
16%-30% The fourth estate
31%-50% The tertiary gradient
51%-75% The second grade
75%-100% The first estate
Table 4
Determining device 304 obtain data slot according to predetermined each downloaded the statistical disposition mode of the average download percentage of percentage, obtain the average download percentage 30% of Dfrag_5, the average download percentage 80% of Dfrag_6, and the average download percentage 40% of Dfrag_7; Then, determining device 304 is according to predetermined average download percentage and the corresponding relation of degree of difficulty grade, determine to be the fourth stage by the degree of difficulty grade of obtaining data slot Dfrag_5 in peer-to-peer network, and similarly definite degree of difficulty grade of obtaining data slot Dfrag_6 is the first order, the degree of difficulty grade of obtaining data slot Dfrag_5 is the third level.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to described fragment relevant information, determine by the implementation of obtaining the degree of difficulty of the data slot of each all or part of download in described peer-to-peer network respectively, all should be within the scope of the present invention.
Then, the second choice device 305, according to described degree of difficulty, is selected a data slot in the data slot by described all or part of download, using by the initial play time of its correspondence as described synchronizing time point.
Wherein, described the second choice device 305, according to described degree of difficulty, selects the mode of a data slot to include but not limited in the data slot by described all or part of download:
1) the second choice device 305 is directly selected the data slot corresponding to minimum degree of difficulty.
2) the second choice device 305 first judges whether degree of difficulty corresponding to each data slot obtaining is less than predetermined threshold, and be less than by corresponding degree of difficulty and select a data slot at random in the data slot of predetermined threshold, or, be less than a data slot selecting initial reproduction time maximum in the data slot of predetermined threshold by corresponding degree of difficulty.
Then, playing device 4 is described in detail in reference to the embodiment shown in Fig. 4, and is contained in this by reference, repeats no more.
According to the solution of the present invention, by the data slot of selecting in the data slot by multiple candidates the most easily to obtain, to be synchronized to the broadcasting period of this data slot, further improve by the possibility that obtains smoothly the corresponding data slot of described synchronizing time point in peer-to-peer network, also further reduced situation about again postponing after synchronous simultaneously.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and in the situation that not deviating from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, is therefore intended to all changes that drop in the implication and the scope that are equal to important document of claim to be included in the present invention.Any Reference numeral in claim should be considered as limiting related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.Multiple unit of stating in system claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (20)

  1. In the node of peer-to-peer network for adjusting the method for play time for audio/video information, wherein, said method comprising the steps of:
    A. obtain the first comparison time point of current live described audio/video information in described node;
    B. judge whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value;
    C. when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, obtain the synchronizing time point of described audio/video information;
    D. from the described audio/video information of the initial broadcasting of described synchronizing time point.
  2. 2. method according to claim 1, wherein, described method was obtained in advance the live time point of described reality by following steps before described step b:
    -by the live start time point that obtains described audio/video information in described peer-to-peer network, wherein, described live start time point is sent in described peer-to-peer network by the original live source node that described audio/video information is provided;
    -according to the time interval between current point in time and described live start time point, obtain the live time point of described reality.
  3. 3. method according to claim 1 and 2, wherein, described method was determined in advance described threshold value by following steps before described step b:
    -obtain the network bandwidth information of described node;
    -according to described network bandwidth information, determine described threshold value.
  4. 4. method according to claim 1 and 2, wherein, described step c comprises the following steps:
    -when judge described first relatively between time point and the live time point of described reality interval greater than described pre-definite threshold value time, obtain each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network;
    -according to predetermined selective rule, by selecting one to be greater than the described first the second comparison time point that compares time point as described synchronizing time point in described each the second comparison time point.
  5. 5. method according to claim 4, wherein, described second compares time point comprises following any one:
    The initial play time of the current data slot that belongs to this audio/video information of downloading of other nodes of-live described audio/video information;
    The final play time that the part audio/video information of having downloaded in-these other nodes can play to;
    The current play time of-described audio/video information in these other nodes.
  6. 6. method according to claim 1 and 2, wherein, described step c comprises the following steps:
    -when judge described first relatively between time point and the live time point of described reality interval greater than described definite threshold value in advance time, obtain the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network; Wherein, the fragment identification information that described fragment relevant information comprises described data slot;
    -according to described fragment relevant information, determine by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively;
    -according to described degree of difficulty, in the data slot by described all or part of download, select a data slot, using by the initial play time of its correspondence as described synchronizing time point.
  7. 7. method according to claim 6, wherein, described fragment relevant information also comprises the complete segment degree information of the corresponding data slot of this fragment relevant information.
  8. 8. method according to claim 1 and 2, wherein, described step c comprises the following steps:
    -when judge described first relatively time point and the live time point of described reality interval greater than described pre-definite threshold value time, using described the first comparison time point and scheduled time length sum as described synchronizing time point.
  9. 9. method according to claim 1 and 2, wherein, described first compares time point comprises following any one:
    The initial play time of the current data slot that belongs to described audio/video information of downloading of-described node;
    The final play time that the part audio/video information of having downloaded in-described node can play to;
    The current play time of-described audio/video information in described node.
  10. 10. method according to claim 9, wherein, described first compares time point comprises described current play time, described steps d comprises the following steps:
    -judge in described node whether exist and belong to described audio/video information and play the multicast data fragment that the period comprises described synchronizing time point;
    -in the time there is not described multicast data fragment in this node, by obtaining the described multicast data fragment that rises in described peer-to-peer network, play described audio/video information to light from described lock in time.
  11. 11. 1 kinds in the node of peer-to-peer network for adjusting the synchronizer of play time of audio/video information, wherein, described synchronizer comprises:
    The first acquisition device, compares time point for obtaining first of the current live described audio/video information of described node;
    The first judgment means, for judging whether described first time interval of comparing between time point and the live time point of the reality of obtaining in advance of described audio/video information was greater than pre-definite threshold value;
    The second acquisition device, for when judge described first relatively time point and the live time point of described reality interval greater than definite in advance threshold value time, obtain the synchronizing time point of described audio/video information;
    Playing device, for from the described audio/video information of the initial broadcasting of described synchronizing time point.
  12. 12. synchronizers according to claim 11, wherein, described synchronizer is by obtaining in advance the live time point of described reality with lower device:
    The 3rd acquisition device, for obtained the live start time point of described audio/video information by described peer-to-peer network, wherein, described live start time point is sent in described peer-to-peer network by the original live source node that described audio/video information is provided;
    The 4th acquisition device, for according to the time interval between current point in time and described live start time point, obtains the live time point of described reality.
  13. 13. according to the synchronizer described in claim 11 or 12, and wherein, described synchronizer is by determining in advance described threshold value with lower device:
    Bandwidth acquisition device, for obtaining the network bandwidth information of described node;
    Threshold value determining device, for according to described network bandwidth information, determines described threshold value.
  14. 14. according to the synchronizer described in claim 11 or 12, and wherein, described the second acquisition device comprises:
    The first sub-acquisition device, for when judge described first relatively between time point and the live time point of described reality interval greater than described definite threshold value in advance time, obtain each the second comparison time point of described audio/video information live at least one other node of described peer-to-peer network;
    The first choice device, for according to predetermined selective rule, by described each second relatively select in time point one be greater than described first relatively time point second relatively time point as described synchronizing time point.
  15. 15. synchronizers according to claim 14, wherein, described second compares time point comprises following any one:
    The initial play time of the current data slot that belongs to this audio/video information of downloading of other nodes of-live described audio/video information;
    The final play time that the part audio/video information of having downloaded in-these other nodes can play to;
    The current play time of-described audio/video information in these other nodes.
  16. 16. according to the synchronizer described in claim 11 or 12, and wherein, described the second acquisition device comprises:
    The second sub-acquisition device, for when judge between described the first comparison time point and live time point of described reality interval greater than described definite threshold value in advance time, obtain the fragment relevant information that belongs to the data slot of described audio/video information and all or part of download at least one other node of described peer-to-peer network, wherein, the fragment identification information that described fragment relevant information comprises described data slot;
    Determining device, for according to described fragment relevant information, determines by the degree of difficulty that obtains the data slot of each all or part of download in described peer-to-peer network respectively;
    The second choice device, for according to described degree of difficulty, selects a data slot in the data slot by described all or part of download, using by the initial play time of its correspondence as described synchronizing time point.
  17. 17. synchronizers according to claim 16, wherein, described fragment relevant information also comprises the complete segment degree information of the corresponding data slot of this fragment relevant information.
  18. 18. according to the synchronizer described in claim 11 or 12, and wherein, described the second acquisition device comprises:
    The 3rd sub-acquisition device, for when judge described first relatively time point and the live time point of described reality interval greater than described pre-definite threshold value time, using described the first comparison time point and scheduled time length sum as described synchronizing time point.
  19. 19. according to the synchronizer described in claim 11 or 12, and wherein, described first compares time point comprises following any one:
    The initial play time of the current data slot that belongs to described audio/video information of downloading of-described node;
    The final play time that the part audio/video information of having downloaded in-described node can play to;
    The current play time of-described audio/video information in described node.
  20. 20. synchronizers according to claim 19, wherein, described first compares time point comprises described current play time, described playing device comprises:
    The second judgment means, belongs to described audio/video information and plays the multicast data fragment that the period comprises described synchronizing time point for judging whether described node exists;
    Obtain playing device, described while playing multicast data fragment for not existing when this node, by obtaining the described multicast data fragment that rises in described peer-to-peer network, play described audio/video information to light from described lock in time.
CN201110316851.3A 2011-10-17 2011-10-17 Method, device and equipment for adjusting play time point of audio and video information Expired - Fee Related CN102387401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110316851.3A CN102387401B (en) 2011-10-17 2011-10-17 Method, device and equipment for adjusting play time point of audio and video information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110316851.3A CN102387401B (en) 2011-10-17 2011-10-17 Method, device and equipment for adjusting play time point of audio and video information

Publications (2)

Publication Number Publication Date
CN102387401A CN102387401A (en) 2012-03-21
CN102387401B true CN102387401B (en) 2014-08-27

Family

ID=45826272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110316851.3A Expired - Fee Related CN102387401B (en) 2011-10-17 2011-10-17 Method, device and equipment for adjusting play time point of audio and video information

Country Status (1)

Country Link
CN (1) CN102387401B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686409B (en) * 2013-12-06 2017-12-12 乐视网信息技术(北京)股份有限公司 The method and system that desktop background synchronously plays with live interface
CN104954866B (en) * 2015-06-19 2018-04-27 杭州施强教育科技有限公司 A kind of live middle broadcast point dynamic control method of stream medium data
CN105072480B (en) * 2015-07-29 2019-03-12 无锡天脉聚源传媒科技有限公司 A kind of net cast method and device
CN105872608A (en) * 2015-11-16 2016-08-17 乐视体育文化产业发展(北京)有限公司 Live broadcast page refreshing method and device
CN106330922B (en) * 2016-08-26 2019-08-27 天脉聚源(北京)教育科技有限公司 A kind of video fragment naming method and device
CN108235136B (en) * 2018-03-15 2021-06-01 青岛海信传媒网络技术有限公司 Data playing method and terminal equipment
CN108462896B (en) * 2018-03-23 2020-10-02 北京潘达互娱科技有限公司 Live data stream processing method and device and electronic equipment
CN108881963A (en) * 2018-05-30 2018-11-23 歌尔科技有限公司 Data capture method, server-side and client
CN110213604B (en) * 2019-05-27 2021-08-20 北京奇艺世纪科技有限公司 Live video sharing method, system and device and computer readable storage medium
CN117478924B (en) * 2023-12-27 2024-05-14 江西拓世智能科技股份有限公司 Digital live broadcast control method and related device based on artificial intelligence

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179484A (en) * 2006-11-09 2008-05-14 华为技术有限公司 Method and system of synchronizing different media stream
CN101193311A (en) * 2006-12-21 2008-06-04 腾讯科技(深圳)有限公司 Audio and video data synchronization method in P2P system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235331A1 (en) * 2007-01-26 2008-09-25 Sharon Melamed Scheduling synchronized demand for p2p networks
US7983702B2 (en) * 2007-07-09 2011-07-19 Qualcomm Incorporated Synchronization of a peer-to-peer communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179484A (en) * 2006-11-09 2008-05-14 华为技术有限公司 Method and system of synchronizing different media stream
CN101193311A (en) * 2006-12-21 2008-06-04 腾讯科技(深圳)有限公司 Audio and video data synchronization method in P2P system

Also Published As

Publication number Publication date
CN102387401A (en) 2012-03-21

Similar Documents

Publication Publication Date Title
CN102387401B (en) Method, device and equipment for adjusting play time point of audio and video information
CN108683539B (en) Block chain network management method, block chain network management device, block chain network management medium and electronic equipment
CN109165229B (en) Method, device, equipment and storage medium for checking local block synchronization
CN110543684A (en) Indoor effect graph generation method, server and system
CN104133825A (en) Method and device for matching client user
CN103369051A (en) Data server cluster system and data synchronization method
CN106488256B (en) data processing method and device
CN109756766B (en) Virtual gift display method, storage medium, electronic device and system of live broadcast platform
CN103647756A (en) Advertisement broadcasting method, server, client and system
CN106775470B (en) Data storage method and system
CN113633981A (en) Method, device, equipment and storage medium for map data synchronization in game application
CN102510400A (en) Method, apparatus and equipment used for determining user suspectableness degree
CN102999527A (en) Dynamic information pushing method and system in SNS (social networking services) network
CN103530243B (en) For determining the system of the setting for equipment, method
CN105354056B (en) APP recommendation information display method and device
CN106570060B (en) Random extraction method and device for data in information flow
CN102625161A (en) Method, device and equipment for determining evaluation information about media information
CN109660831B (en) Barrage sending period setting method, storage medium, electronic device and system
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN107577808B (en) Method, device, server and medium for sorting multi-level list pages
CN105047210A (en) Method and device for cross-device synchronization of random playlist
CN114924908A (en) Data backup method and device, storage medium and electronic device
CN109388498B (en) Mutual exclusion processing method, device, equipment and medium
CN112764988A (en) Data segmentation acquisition method and device
CN103259863A (en) System and method for controlling zookeeper services based on clusters

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140827

Termination date: 20211017

CF01 Termination of patent right due to non-payment of annual fee