CN103354528A - Method and device for multi-stream synchronization - Google Patents
Method and device for multi-stream synchronization Download PDFInfo
- Publication number
- CN103354528A CN103354528A CN2013102692248A CN201310269224A CN103354528A CN 103354528 A CN103354528 A CN 103354528A CN 2013102692248 A CN2013102692248 A CN 2013102692248A CN 201310269224 A CN201310269224 A CN 201310269224A CN 103354528 A CN103354528 A CN 103354528A
- Authority
- CN
- China
- Prior art keywords
- data
- transmission
- data stream
- information
- data streams
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000005540 biological transmission Effects 0.000 claims abstract description 260
- 230000001360 synchronised effect Effects 0.000 claims description 29
- 230000003993 interaction Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 16
- 238000012986 modification Methods 0.000 claims description 15
- 230000004048 modification Effects 0.000 claims description 15
- 238000012098 association analyses Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000003111 delayed effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a device for multi-stream synchronization controlling a node side and an intermediate node side. The method for controlling the node side comprises: determining at least two data streams needed to synchronize; acquiring transmission conditions of the at least two data streams; and generating transmission adjustment information of related intermediate nodes corresponding to the data streams according to the transmission conditions of at least two data streams. The method for the intermediate node side comprises: providing transmission conditions of data streams; acquiring transmission adjustment information corresponding to the data streams; and adjusting transmission parameters of the data streams according to the transmission adjustment information. The method and the device for multi-stream synchronization can synchronize a plurality of data streams needed to synchronize on a network side, so that network resources are distributed more reasonably.
Description
Technical Field
The present invention relates to the field of multiflow data transmission technologies, and in particular, to a multiflow synchronization method and apparatus.
Background
The development of multi-screen services promotes the growth of multiple data streams in a network, and the problem of synchronization among the multiple data streams needs to be solved.
Generally, synchronization among multiple data streams is solved through a buffering process at a terminal side, specifically: the data packets of the data stream are buffered first, and the data packets of the data stream are processed after waiting for arrival, for example, video playing operation is performed. This presents a problem: the data packet which arrives earlier arrives at the receiving end earlier through occupying more network resources, but better user experience is not brought, especially under the network environment with more tense network resources, waste of the network resources is brought, and the data which needs to use the network resources more can not obtain more network resources.
Therefore, if the network side can participate in multi-stream synchronization, transmission of relatively low-speed data streams is carried out, and the resource occupancy rate of high-speed data streams is reduced, so that the overall transmission resource of the network is optimized.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a multi-stream synchronization method and apparatus are provided, which can synchronize a plurality of data streams to be synchronized on a network side, so that network resources are more reasonably allocated.
To achieve the above object, in a first aspect, the present invention provides a multi-stream synchronization method, including:
determining at least two data streams needing synchronization;
acquiring the transmission conditions of the at least two data streams;
and generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
With reference to the first aspect, in a first possible implementation manner, after generating transmission adjustment information of a relevant intermediate node, the method further includes: a step of sending the transmission adjustment information to the relevant intermediate node.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the determining at least two data streams that need to be synchronized includes: and associating the identification information of the plurality of data streams, and determining at least two data streams needing to be synchronized.
With reference to the first aspect, or the first or second possible implementation manner of the first aspect, in a third possible implementation manner, the step of obtaining transmission conditions of the at least two data streams includes:
acquiring position information corresponding to key data packets of the at least two data streams passing through the corresponding intermediate nodes and position information corresponding to key data packets reaching a receiving end;
and obtaining the transmission condition of the key data packet reaching the receiving end in the at least two data streams according to the position information.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the location information includes: a timestamp and/or an offset relative to an initial point of the data stream.
With reference to the third or fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the step of generating, according to the transmission conditions of the at least two data streams, transmission adjustment information of a relevant intermediate node corresponding to the data streams includes:
determining a reference data stream according to the transmission condition of a key data packet reaching a receiving end in the at least two data streams;
and generating transmission adjustment information of relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packets of the at least two data streams passing through the corresponding intermediate nodes by taking the reference data stream as a reference.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, the reference data stream is a data stream, of the at least two data streams, for which a corresponding key data packet arrives at a receiving end at the latest.
With reference to the fifth possible implementation manner of the first aspect, in a seventh possible implementation manner, the reference data stream is a data stream, of the at least two data streams, in which a corresponding critical data packet arrives at a receiving end earliest.
With reference to the fifth possible implementation manner of the first aspect, in an eighth possible implementation manner, the reference data stream is a virtual data stream, and a time for a key data packet in the reference data stream to reach a receiving end is an average value of times for corresponding key data packets in the at least two data streams to reach the receiving end.
With reference to any one of the fifth to sixth possible implementation manners of the first aspect, in a ninth possible implementation manner, the transmission adjustment information is used to make a time difference between a time when a key data packet with the same position information in the at least two data streams arrives at a receiving end and a time when a corresponding key data packet in the reference data stream arrives at the receiving end be within a predetermined interval.
With reference to the first aspect and any one of the first to ninth possible implementation manners of the first aspect, in a tenth possible implementation manner, the method generates transmission adjustment information of a relevant intermediate node corresponding to the data stream according to the transmission situations of the at least two data streams and with reference to a global network traffic situation.
With reference to the first aspect and any one of the first to tenth possible implementation manners of the first aspect, in an eleventh possible implementation manner, the transmission adjustment information includes: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
In a second aspect, the present invention provides an intermediate node side multiflow synchronization method, including:
providing the transmission condition of the data stream;
acquiring transmission adjustment information corresponding to a data stream;
and adjusting the transmission parameters of the data stream according to the transmission adjustment information.
With reference to the second aspect, in a first possible implementation manner, the transmission adjustment information is service priority modification information.
With reference to the second aspect, in a second possible implementation manner, the transmission adjustment information is reference position information of a key data packet that the data stream should process at the corresponding intermediate node.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner, the step of adjusting the transmission parameter of the data stream according to the transmission adjustment information includes:
judging whether the difference value between the reference position information of the key data packet to be processed by the data stream at the corresponding intermediate node and the position information of the currently processed key data packet exceeds a set threshold value or not;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
With reference to the second aspect and any one of the first to third possible implementation manners of the second aspect, in a fourth possible implementation manner, the step of adjusting the transmission parameter of the data stream includes:
the processing priority of the queue corresponding to the data flow is changed, and/or the buffer size corresponding to the data flow is changed, and/or the number of input/output ports corresponding to the data flow is changed.
With reference to the second aspect and any one of the first to fourth possible implementation manners of the second aspect, in a fifth possible implementation manner, before the step of providing the transmission condition of the data stream, the method further includes:
identification information of the data stream is provided.
With reference to the second aspect and any one of the first to fifth possible implementation manners of the second aspect, in a sixth possible implementation manner, the step of providing a transmission condition of a data stream includes:
and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
In a third aspect, the present invention provides a multi-stream synchronization apparatus, including:
the data flow determining module is used for determining at least two data flows needing to be synchronized;
a transmission condition obtaining module, configured to obtain transmission conditions of the at least two data streams;
and the transmission adjustment information generation module is used for generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
With reference to the third aspect, in a first possible implementation manner, the apparatus further includes:
a first information interaction module, configured to send the transmission adjustment information to the relevant intermediate node.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the first information interaction module is further configured to obtain identification information of a data stream.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner, the data stream determining module includes:
and the association analysis unit is used for associating the identification information of the plurality of data streams and determining the at least two data streams needing to be synchronized.
With reference to the third aspect and any one of the first to third possible implementation manners of the third aspect, in a fourth possible implementation manner, the first information interaction module is further configured to obtain location information corresponding to a key data packet that the at least two data streams pass through a corresponding intermediate node and location information corresponding to a key data packet that reaches a receiving end.
With reference to the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner, the transmission condition obtaining module includes:
and the transmission condition analysis unit is used for obtaining the transmission condition of the key data packet reaching the receiving end in the at least two data streams according to the position information.
With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner, the location information includes: a timestamp and/or an offset relative to an initial point of the data stream.
With reference to the fifth or sixth possible implementation manner of the third aspect, in a seventh possible implementation manner, the transmission adjustment information generating module includes:
a reference data stream determining unit, configured to determine a reference data stream according to a transmission condition of a key data packet that reaches a receiving end in the at least two data streams;
and the transmission adjustment information generating unit is used for generating the transmission adjustment information of the relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packets of the at least two data streams passing through the corresponding intermediate nodes by taking the reference data stream as a reference.
With reference to the seventh possible implementation manner of the third aspect, in an eighth possible implementation manner, the reference data stream is a data stream in which a corresponding key data packet in the at least two data streams arrives at a receiving end at the latest.
With reference to the seventh possible implementation manner of the third aspect, in a ninth possible implementation manner, the reference data stream is a data stream, of the at least two data streams, in which a corresponding critical data packet arrives at a receiving end earliest.
With reference to the seventh possible implementation manner of the third aspect, in a tenth possible implementation manner, the reference data stream is a virtual data stream, and a time for a key data packet in the reference data stream to reach a receiving end is an average value of times for corresponding key data packets in the at least two data streams to reach the receiving end.
With reference to any one of the seventh to tenth possible implementation manners of the third aspect, in an eleventh possible implementation manner, the transmission adjustment information is used to make a time difference between a time when a critical data packet with the same position information in the at least two data streams arrives at a receiving end and a time when a corresponding critical data packet in the reference data stream arrives at the receiving end be within a predetermined interval.
With reference to the third aspect and any one of the first to eleventh possible implementation manners of the third aspect, in a twelfth possible implementation manner, the transmission adjustment information generating module further includes:
a global network traffic obtaining unit, configured to obtain a global network traffic condition;
and the transmission adjustment information generation module generates transmission adjustment information of relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams and by referring to the global network flow condition.
With reference to the third aspect and any one of the first to twelfth possible implementation manners of the third aspect, in a thirteenth possible implementation manner, the transmission adjustment information includes: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
With reference to the third aspect and any one of the first to thirteenth possible implementation manners of the third aspect, in a fourteenth possible implementation manner, the apparatus is a control node in a network.
In a fourth aspect, the present invention provides an intermediate node, comprising:
the second information interaction module is used for providing the transmission condition of the data stream; the data stream transmission adjusting device is used for acquiring transmission adjusting information corresponding to the data stream;
and the transmission parameter analysis and adjustment module is used for adjusting the transmission parameters of the data stream according to the transmission adjustment information.
With reference to the fourth aspect, in a first possible implementation manner, the transmission adjustment information is service priority modification information.
With reference to the fourth aspect, in a second possible implementation manner, the transmission adjustment information is reference position information of a key data packet that a data stream should process at a corresponding intermediate node.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the transmission parameter analysis adjusting module includes:
the position information analysis unit is used for judging whether the difference value between the reference position information of the key data packet to be processed corresponding to the intermediate node and the position information of the currently processed key data packet of the data stream exceeds a set threshold value or not;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
With reference to the fourth aspect and any one of the first to third possible implementation manners of the fourth aspect, in a fourth possible implementation manner, the transmission parameter analysis adjusting module includes:
the processing priority adjusting unit is used for changing the queue processing priority corresponding to the data stream; and/or
The buffer size adjusting unit is used for changing the buffer size corresponding to the data stream; and/or
And the port number adjusting unit is used for changing the number of the input/output ports corresponding to the data flow.
With reference to the fourth aspect and any one of the first to fourth possible implementation manners of the fourth aspect, in a fifth possible implementation manner, the second information interaction module is further configured to provide identification information of a data stream.
With reference to the fourth aspect and any one of the first to fifth possible implementation manners of the fourth aspect, in a sixth possible implementation manner, the providing a transmission condition of a data stream includes: and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
With reference to the fourth aspect and any one of the first to sixth possible implementation manners of the fourth aspect, in a seventh possible implementation manner, the intermediate node is a router in a network.
The method and the device of the embodiment of the invention control the transmission of the data stream at the network end through the control node according to the current transmission condition of a plurality of data streams which need to be synchronized, so that: 1) by taking the latest data stream arriving at the receiving end as a reference, the time for the data stream to arrive at the receiving end is delayed by reducing the occupation of other data streams on network resources, and the occupation of the transmission of the data stream on the network resources is reduced under the condition of not influencing user experience, so that the distribution of the network resources is more optimized; or: 2) the method comprises the steps that the allocation of network resources is modified by taking the data stream which arrives earlier at the receiving end as a reference, and the time of other data streams arriving at the receiving end is advanced, so that the time of all the data streams which need to be synchronized arriving at the receiving end is advanced, and the user experience is improved; or, 3) according to the global network traffic, the transmission speed of the data stream and the occupation of the network resources are balanced, the faster data stream is delayed, and the time for the slower data stream to reach the receiving end is advanced, so that the allocation of the network resources is more optimized and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a multi-stream synchronization method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another multi-stream synchronization method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a middle node side multi-stream synchronization method according to an embodiment of the present invention;
fig. 4 is a block diagram schematically illustrating a structure of a multi-stream synchronization apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram schematically illustrating a structure of another multi-stream synchronization apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating an intermediate node according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a structure of a transmission parameter analysis adjustment module of an intermediate node according to an embodiment of the present invention;
fig. 8 is a block diagram illustrating a structure of a multi-stream synchronization apparatus according to another embodiment of the present invention;
fig. 9 is a flowchart illustrating a network-side multiflow synchronization method according to an embodiment of the present invention;
fig. 10 is a block diagram of a multi-stream synchronization system according to an embodiment of the present invention.
Detailed Description
The method and apparatus of the present invention are described in detail below with reference to the accompanying drawings and examples.
As shown in fig. 1, an embodiment of the present invention provides a multi-stream synchronization method, including:
s110: determining at least two data streams needing synchronization;
s120: acquiring the transmission conditions of the at least two data streams;
s130: and generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
In this embodiment, the control node adjusts the transmission of the corresponding data stream of the relevant intermediate node according to the current transmission condition of the multiple data streams that need to be synchronized, so that the network resources are more optimized.
As shown in fig. 2, in a possible implementation manner of the embodiment of the present invention, in addition to the above three steps, it is preferable to further include the steps of:
s140: sending the transmission adjustment information to the relevant intermediate node.
In a possible implementation manner of the embodiment of the present invention, the step of determining at least two data streams that need to be synchronized includes:
acquiring identification information of a plurality of data streams;
and associating the identification information of the plurality of data streams, and determining at least two data streams needing to be synchronized.
Here, preferably, the identification information of the data stream is included in metadata of a key data packet of the data stream, and the metadata of the key data packet of the data stream may be obtained by a manner that the control node actively acquires the metadata from the intermediate node or the intermediate node actively reports the metadata to the control node. The key data packets are specific data packets which are considered to be set in the data packets of the data stream.
In the embodiment of the present invention, the method further includes a step of acquiring identification information of an intermediate node through which a critical data packet of the data stream passes. The identification information of the intermediate node can also be obtained by the way that the control node actively obtains the identification information from the intermediate node or the identification information is actively reported to the control node by the intermediate node.
Of course, those skilled in the art may know that the identification information of the data stream may be obtained in other ways besides the metadata in the data stream key packet; or, in other possible implementations of the embodiment of the present invention, in addition to performing association through the identification information, the data stream needing to be synchronized may also be determined in other ways, for example, by directly obtaining information of the data stream needing to be synchronized from the sending end.
In a possible implementation manner of the embodiment of the present invention, preferably, the critical data packet is mainly used to determine position information of the data stream relative to an initial point of the data stream when the data stream reaches an intermediate node and a receiving end through which the data stream flows. The critical packets may carry metadata describing their location relative to the initial point of the stream, such as a timestamp or and/or an offset relative to the initial point of the stream and/or other information that may identify the location of the critical packets in the media stream. For example, in a 60-minute video stream, the corresponding packets at intervals of 5 minutes are taken as key packets. The network intermediate node and the receiving end can judge the state of the video stream in network transmission according to the timestamp corresponding to the key data packet which is just arrived.
In a possible implementation manner of the embodiment of the present invention, the step of obtaining the transmission conditions of the at least two data streams includes:
acquiring position information corresponding to key data packets of the at least two data streams passing through the corresponding intermediate nodes and position information corresponding to key data packets reaching a receiving end;
and obtaining the transmission condition of the key data packet reaching the receiving end in the at least two data streams according to the position information.
In this embodiment, the intermediate node and the receiving end through which the data stream passes may continuously provide dynamic information, such as location information of the key data packet, to the control node through which the data stream passes through the node, so that the control node can grasp the transmitted location of the corresponding data stream at each node in the network.
In a possible implementation manner, the location information is included in metadata of the key data packet, where the location information of the key data packet where the data stream passes through the corresponding intermediate node may be obtained by the control node actively acquiring from the intermediate node or by the intermediate node actively reporting to the control node; the position information corresponding to the key data packet of the data stream reaching the receiving end can be obtained by the control node from the receiving end actively or by the receiving end actively reporting to the control node.
The obtaining of the transmission condition of the key data packet arriving at the receiving end in the at least two data streams according to the location information may specifically be: for example, two data streams that need to be synchronized are obtained from the time stamps of the critical data packets: the critical data packets corresponding to the first data stream and the 5 minutes position reach the receiving end earlier than the critical data packets corresponding to the second data stream and the 5 minutes position, so that the transmission of the two data streams needs to be adjusted, and the time difference of the two corresponding critical data packets reaching the receiving end is within the set range.
In a possible implementation manner of the embodiment of the present invention, preferably, the step of generating transmission adjustment information of a relevant intermediate node corresponding to the data stream according to the transmission conditions of the at least two data streams includes:
determining a reference data stream according to the transmission condition of a key data packet reaching a receiving end in the at least two data streams;
and generating transmission adjustment information of relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packets of the at least two data streams passing through the corresponding intermediate nodes by taking the reference data stream as a reference.
In a possible implementation manner of the embodiment of the present invention, the reference data stream is a data stream of the at least two data streams, where a corresponding critical data packet arrives at a receiving end at the latest.
Alternatively, in a possible implementation manner of the embodiment of the present invention, the reference data stream is a data stream in which a corresponding critical data packet of the at least two data streams arrives at a receiving end earliest.
Alternatively, when more than two data streams need to be synchronized, the other data stream between the earliest arrival and the latest arrival may be selected as the reference data stream.
Or, in a possible implementation manner of the embodiment of the present invention, the reference data stream is a virtual data stream, and the time for a key data packet in the reference data stream to reach the receiving end is an average value of the times for corresponding key data packets in the at least two data streams to reach the receiving end. Of course, those skilled in the art will appreciate that other values besides the above average value may be selected as the time of arrival of the critical packet of the reference data stream at the receiving end (for example, the time may be smaller than the earliest arriving packet, or larger than the latest arriving packet, or any value between the earliest arriving packet and the latest arriving packet) according to the requirement.
In addition to the above-mentioned manner of adjusting the transmission condition of the data stream to be synchronized by determining the reference data stream, one reference data stream may be not determined, but adjusted by an approach manner, for example, if the critical data packet corresponding to the first data stream arrives at the receiving end earlier than the second data stream, the critical data packet corresponding to the first data stream may be continuously delayed and simultaneously subjected to the pre-processing on the second data stream, and the critical data packet and the second data stream are continuously approached to each other, so that the time difference between the critical data packets and the second data stream arriving at the receiving end is finally within the set threshold range.
In addition to the above transmission condition of the data stream that needs to be synchronized, in a possible implementation manner of the embodiment of the present invention, transmission adjustment information of the relevant intermediate node corresponding to the data stream is generated with reference to a global network traffic condition. For example, when the global network traffic is high and approaches the maximum load of the network, the time for transmitting the key data packet of the slower data stream to reach the receiving end in advance is not considered to increase the occupation of the network resources, and the occupation of the network resources is reduced to synchronize the transmission delay of other data streams with the data stream which arrives at the receiving end at the latest.
In a possible implementation manner of the embodiment of the present invention, the transmission adjustment information is used to make a time difference between a time when a key data packet with the same position information in the at least two data streams arrives at a receiving end and a time when a corresponding key data packet in the reference data stream arrives at the receiving end be within a predetermined interval.
As can be seen from the above, in this embodiment, the control node calculates, by combining the learned network topology and traffic congestion information, transmission adjustment information of each intermediate node corresponding to each data flow according to a slowest arrival in terms of migration rule, a fastest arrival pursuit rule, or an intermediate rule, or according to a degree of a requirement of a receiving end on arrival of the data flow.
In a possible implementation manner of the embodiment of the present invention, the transmission adjustment information includes: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
For example, according to the transmission condition of the data stream, when the time of arrival of the key data packet corresponding to the data stream at the receiving end needs to be delayed, for example, reference position information of the key data packet that the data stream should process at the corresponding intermediate node may be generated for the data stream, for example, reference position information of the key data packet that the timestamp of the key data packet of the data stream that should be processed at a certain intermediate node should be 15 minutes; or, the service priority level of the corresponding intermediate node to the data stream is reduced; or, a transmission path is re-planned for the data stream, such as adding an intermediate node, or replacing one or more current intermediate nodes with other intermediate nodes with weaker transmission capability. Alternatively, multiple pieces of information above may be adjusted simultaneously, e.g., to lower the service priority of some intermediate nodes to the data flow simultaneously, while other intermediate nodes are also rescheduled.
It is known to those skilled in the art that the transmission adjustment information may be other information that can adjust the transmission condition of the data stream, besides the above-mentioned transmission adjustment information.
As shown in fig. 3, a possible implementation manner of the embodiment of the present invention provides an intermediate node side multiflow synchronization method, including:
s210: providing the transmission condition of the data stream;
s220: acquiring transmission adjustment information corresponding to a data stream;
s230: and adjusting the transmission parameters of the data stream according to the transmission adjustment information.
The embodiment provides the transmission condition of the data stream passing through the intermediate node for the control node, and after the control node generates the transmission adjustment information of the intermediate node according to the transmission condition, the transmission adjustment information of the data stream corresponding to the intermediate node is acquired, and the transmission of the data stream is adjusted, so that the synchronous control of a plurality of data streams is completed on the network side, and the distribution of network resources is optimized on the premise of reducing user experience.
In a possible implementation manner of the embodiment of the present invention, before the step of providing the transmission condition of the data stream, the method further includes: identification information of the data stream is provided.
The identification information of the data stream is provided for the control node, so that the control node can perform association according to the identification information to find the data stream needing synchronization.
In this embodiment, the identification information is included in the metadata of the key data packet corresponding to the data stream, and the definition of the key data packet refers to the description in the above embodiment. The metadata of the data stream key data packet can be provided to the control node by the way that the control node actively acquires the metadata from the intermediate node or the intermediate node actively reports the metadata to the control node.
In a possible implementation manner of the embodiment of the present invention, the step of providing a transmission condition of a data stream includes: and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
Preferably, the control node is configured to provide location information corresponding to a critical data packet of the data stream passing through the intermediate node to the control node. The definition of the location information refers to the description in the above embodiment, which is not described again in this embodiment, and the location information may also be included in the metadata and may be provided to the control node in a manner that the control node actively acquires the location information from the intermediate node or the control node actively reports the location information to the control node.
In a possible implementation manner of the embodiment of the present invention, the obtaining of the transmission adjustment information corresponding to the data stream may be performed by actively obtaining the transmission adjustment information from the control node by the intermediate node or by receiving the transmission adjustment information sent by the control node.
In a possible implementation manner of the embodiment of the present invention, the transmission adjustment information is service priority modification information, or the transmission adjustment information is reference location information of a key data packet that a data stream should process at a corresponding intermediate node. In addition, the transmission adjustment information may also include service priority modification information and reference location information of a key data packet that the data stream should process at the corresponding intermediate node.
When the transmission adjustment information is reference position information of a key data packet that a data stream should process at a corresponding intermediate node, the step of adjusting the transmission parameters of the data stream according to the transmission adjustment information includes:
judging whether the difference value between the reference position information of the key data packet to be processed by the data stream at the corresponding intermediate node and the position information of the currently processed key data packet exceeds a set threshold value or not;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
In a possible implementation manner of the embodiment of the present invention, the step of adjusting the transmission parameter of the data stream includes:
changing the queue processing priority corresponding to the data flow, or changing the buffer size corresponding to the data flow, or changing the number of input/output ports corresponding to the data flow, or a combination of any two or more of the above methods, for example, changing the buffer size corresponding to the data flow and also changing the number of input/output ports corresponding to the data flow.
For example: after the intermediate node through which the data stream passes acquires the reference position information, the result that the transmission speed of the data stream needs to be increased or decreased is calculated according to the position information corresponding to the key data packet which is just arrived, by considering the time delay factor. If the transmission speed needs to be increased, the queue processing priority is increased, or the corresponding buffer size is increased, or the number of corresponding input/output ports is increased. If the transmission speed needs to be reduced, the queue processing priority is reduced, or the corresponding buffer size is reduced, or the number of corresponding input/output ports is reduced.
In this embodiment, the intermediate node adjusts the transmission parameters of the data streams, so that the synchronization of multiple data streams is completed on the network side, and the allocation of network resources is more reasonable.
As shown in fig. 4, an embodiment of the present invention further provides a multi-stream synchronization apparatus 400, which includes a data stream determining module 410, a transmission condition obtaining module 420, and a transmission adjustment information generating module 430. Wherein,
a data stream determining module 410, configured to determine at least two data streams that need to be synchronized;
a transmission condition obtaining module 420, configured to obtain transmission conditions of the at least two data streams;
a transmission adjustment information generating module 430, configured to generate transmission adjustment information of a relevant intermediate node corresponding to the data stream according to the transmission conditions of the at least two data streams.
In this embodiment, the corresponding data stream transmission of the relevant intermediate node is adjusted at the control node according to the current transmission condition of the multiple data streams that need to be synchronized, so that the network is more optimized.
As shown in fig. 5, in a possible implementation manner of the embodiment of the present invention, the apparatus further includes:
a first information interaction module 440, configured to send the transmission adjustment information to the relevant intermediate node.
Preferably, in a possible implementation manner of the embodiment of the present invention, the apparatus is a control node in a Network, for example, a control server in a Software Defined Network (SDN).
Preferably, in a possible implementation manner of the embodiment of the present invention, the first information interaction module 440 is further configured to obtain identification information of a data stream. The description of the identification information is specifically referred to the above method embodiment, and is not repeated here.
Preferably, in a possible implementation manner of the embodiment of the present invention, the data stream determining module 410 includes:
the association analysis unit 411 is configured to associate the identification information of the multiple data streams, and determine the at least two data streams that need to be synchronized.
The association analysis unit 411 implements the functions thereof according to the principles and corresponding descriptions in the above-described method embodiments, and is not described herein again.
Preferably, in a possible implementation manner of the embodiment of the present invention, the first information interaction module 410 is further configured to acquire location information corresponding to a key data packet that the at least two data streams pass through corresponding intermediate nodes and location information corresponding to a key data packet that reaches a receiving end.
The first information interaction module 410 implements the functions thereof according to the principles and corresponding descriptions in the above-described method embodiments, and the location information is also the same as the location information described above, and is not described herein again.
Preferably, in a possible implementation manner of the embodiment of the present invention, the transmission condition obtaining module 420 includes a transmission condition analyzing unit 421, which implements its functions according to the principles and corresponding descriptions in the above-described method embodiment, specifically:
a transmission condition analyzing unit 421, configured to obtain, according to the location information, a transmission condition of a key data packet that reaches a receiving end in the at least two data streams.
Preferably, in a possible implementation manner of the embodiment of the present invention, the location information includes: a timestamp and/or an offset relative to an initial point of the data stream.
Preferably, in a possible implementation manner of the embodiment of the present invention, the transmission adjustment information generating module 430 includes a reference data stream determining unit 431 and a transmission adjustment information generating unit 432, and each unit implements its function according to the principle and the corresponding description in the above-described method embodiment, specifically:
a reference data stream determining unit 431, configured to determine a reference data stream according to a transmission condition of a critical data packet arriving at a receiving end in the at least two data streams;
a transmission adjustment information generating unit 432, configured to generate, with the reference data stream as a reference, transmission adjustment information of relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packet of the at least two data streams passing through the corresponding intermediate node.
Preferably, in a possible implementation manner of the embodiment of the present invention, the reference data stream is a data stream in which a corresponding critical data packet of the at least two data streams arrives at a receiving end at the latest.
Preferably, in a possible implementation manner of the embodiment of the present invention, the reference data stream is a data stream in which a corresponding critical data packet of the at least two data streams arrives at a receiving end earliest.
Preferably, in a possible implementation manner of the embodiment of the present invention, the reference data stream is a virtual data stream, and the time of a key data packet in the reference data stream reaching the receiving end is an average value of the times of corresponding key data packets in the at least two data streams reaching the receiving end.
Preferably, in a possible implementation manner of the embodiment of the present invention, the transmission adjustment information is used to make a time difference between a time when a critical data packet with the same position information in the at least two data streams arrives at a receiving end and a time when a corresponding critical data packet in the reference data stream arrives at the receiving end be within a predetermined interval.
Preferably, in a possible implementation manner of the embodiment of the present invention, the transmission adjustment information generating module 430 further includes a global network traffic obtaining unit 433, which implements the functions thereof according to the principle and the corresponding description in the above-described method embodiment, specifically:
a global network traffic obtaining unit 433, configured to obtain a global network traffic condition;
and the transmission adjustment information generation module generates transmission adjustment information of relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams and by referring to the global network flow condition.
Preferably, in a possible implementation manner of the embodiment of the present invention, the transmission adjustment information includes: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
For example, according to the transmission condition of the data stream, when the time of arrival of the key data packet corresponding to the data stream at the receiving end needs to be delayed, for example, reference position information of the key data packet that the data stream should process at the corresponding intermediate node may be generated for the data stream, for example, reference position information of the key data packet that the timestamp of the key data packet of the data stream that should be processed at a certain intermediate node should be 15 minutes; or, the service priority level of the corresponding intermediate node to the data stream is reduced; or, a transmission path is re-planned for the data stream, such as adding an intermediate node, or replacing one or more current intermediate nodes with other intermediate nodes with weaker transmission capability. Alternatively, multiple pieces of information above may be adjusted simultaneously, e.g., to lower the service priority of some intermediate nodes to the data flow simultaneously, while other intermediate nodes are also rescheduled.
It is known to those skilled in the art that the transmission adjustment information may be other information that can adjust the transmission condition of the data stream, besides the above-mentioned transmission adjustment information.
As shown in fig. 6, a possible implementation manner of the embodiment of the present invention provides an intermediate node 600, which includes a second information interaction module 610 and a transmission parameter analysis and adjustment module 620, where each unit implements its function according to the principle and corresponding description of the foregoing method embodiment, specifically:
the second information interaction module 610 is used for providing the transmission condition of the data stream; the data stream transmission adjusting device is used for acquiring transmission adjusting information corresponding to the data stream;
and a transmission parameter analysis and adjustment module 620, configured to adjust the transmission parameter of the data stream according to the transmission adjustment information.
In this embodiment, the second information interaction module 610 provides a transmission condition of a data stream passing through an intermediate node to a control node, and after the control node generates transmission adjustment information of the intermediate node according to the transmission condition, the second information interaction module 610 acquires the transmission adjustment information of the data stream corresponding to the intermediate node to adjust the transmission of the data stream, so that synchronous control of multiple data streams is completed on a network side, and the allocation of network resources is optimized on the premise of reducing user experience.
Preferably, in a possible implementation manner of the embodiment of the present invention, the second information interaction module 610 is further configured to provide identification information of a data stream. The identification information of the data stream is provided for the control node, so that the control node can perform association according to the identification information to find the data stream needing synchronization.
In this embodiment, the identification information is included in the metadata of the key data packet corresponding to the data stream, and the definition of the key data packet refers to the description in the above embodiment. The metadata of the data stream key data packet can be provided to the control node by the way that the control node actively acquires the metadata from the intermediate node or the intermediate node actively reports the metadata to the control node.
Preferably, in a possible implementation manner of the embodiment of the present invention, the providing the transmission condition of the data stream includes: and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
Preferably, the control node is configured to provide location information corresponding to a critical data packet of the data stream passing through the intermediate node to the control node. The definition of the location information refers to the description in the above embodiment, which is not described again in this embodiment, and the location information may also be included in the metadata and may be provided to the control node in a manner that the control node actively acquires the location information from the intermediate node or the control node actively reports the location information to the control node.
In a possible implementation manner of the embodiment of the present invention, the obtaining of the transmission adjustment information corresponding to the data stream may be performed by actively obtaining the transmission adjustment information from the control node by the intermediate node or by receiving the transmission adjustment information sent by the control node.
In a possible implementation manner of the embodiment of the present invention, the transmission adjustment information is service priority modification information, or the transmission adjustment information is reference location information of a key data packet that a data stream should process at a corresponding intermediate node. In addition, the transmission adjustment information may also include service priority modification information and reference location information of a key data packet that the data stream should process at the corresponding intermediate node.
As shown in fig. 7, in a possible implementation manner of the embodiment of the present invention, the transmission parameter analysis and adjustment module 620 includes:
a location information analysis unit 621, configured to, when the transmission adjustment information is reference location information of a key data packet that a data stream should process at a corresponding intermediate node, determine whether a difference between the reference location information of the key data packet that the data stream should process at the corresponding intermediate node and location information of a currently processed key data packet exceeds a set threshold;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
In a possible implementation manner of the embodiment of the present invention, the transmission parameter analysis and adjustment module 620 includes:
a processing priority adjustment unit 622, configured to change a queue processing priority corresponding to the data flow;
a buffer size adjusting unit 623, configured to change a buffer size corresponding to the data stream;
the port number adjustment unit 624 is configured to change the number of input/output ports corresponding to the data stream.
For example: after the intermediate node through which the data stream passes acquires the reference position information, the result that the transmission speed of the data stream needs to be increased or decreased is calculated according to the position information corresponding to the key data packet which is just arrived, by considering the time delay factor. If the transmission speed needs to be increased, the queue processing priority is raised by the processing priority adjustment unit 622, or the corresponding buffer size is increased by the buffer size adjustment unit 623, or the corresponding number of input/output ports is increased by the port number adjustment unit 624. If the transmission speed needs to be reduced, the queue processing priority is reduced by the processing priority adjustment unit 622, or the corresponding buffer size is reduced by the buffer size adjustment unit 623, or the corresponding number of input/output ports is reduced by the port number adjustment unit 624.
In a possible implementation manner of the embodiment of the present invention, the intermediate node is a router in a network.
In this embodiment, the intermediate node adjusts the transmission parameters of the data streams, so that the synchronization of multiple data streams is completed on the network side, and the allocation of network resources is more reasonable.
Fig. 8 is a schematic structural diagram of another multi-stream synchronization apparatus 800 according to an embodiment of the present invention, and the embodiment of the present invention does not limit the specific implementation of the multi-stream synchronization apparatus 800. As shown in fig. 8, the multi-stream synchronization apparatus 800 may include:
a processor (processor)810, a communication Interface 820, a memory 830, and a communication bus 840. Wherein:
A communication interface 820 for communicating with a network element, such as an intermediate node or client.
The processor 810 is configured to execute the program 832, and may specifically perform the relevant steps in the method embodiments shown in fig. 1 to fig. 2.
In particular, the program 832 may include program code comprising computer operational instructions.
The processor 810 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 830 stores a program 832. Memory 830 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The program 832 may specifically include:
the data flow determining module is used for determining at least two data flows needing to be synchronized;
a transmission condition obtaining module, configured to obtain transmission conditions of the at least two data streams;
and the transmission adjustment information generation module is used for generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
The specific implementation of each unit in the program 832 may refer to a corresponding unit in the embodiment shown in fig. 5, which is not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
As shown in fig. 9, a possible implementation manner of the embodiment of the present invention provides a network-side multiflow synchronization method, including:
s910: the control node side determines at least two data streams needing synchronization;
s920: the middle node side provides the transmission condition of the data stream to the control node side;
s930: the control node side acquires the transmission conditions of the at least two data streams needing to be synchronized;
s940: generating transmission adjustment information of relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams;
s950: sending the transmission adjustment information to the relevant intermediate node;
s960: the intermediate node side acquires transmission adjustment information corresponding to the data stream;
s970: and adjusting the transmission parameters of the data stream according to the transmission adjustment information.
The specific implementation process of the above steps is described in the above embodiments of the multi-stream synchronization method and the intermediate node side multi-stream synchronization method, and is not described herein again.
As shown in fig. 10, a possible implementation manner of the embodiment of the present invention provides a multi-stream synchronization system, which includes the multi-stream synchronization apparatus 400 described in the above apparatus embodiment, a plurality of intermediate nodes 600a to 600e, a plurality of transmitting ends 710a and 710b, and a receiving end 720.
In this embodiment, the multi-stream synchronization apparatus 400 is, for example, a control server of an SDN, the intermediate node 600 is, for example, a router in a network, the sending end 710 is, for example, a data server, and the receiving end 720 may be, for example, a client. As shown in fig. 10, a data stream a (which may be a media stream, for example) sent from a sending end 710a to a receiving end 720 sequentially passes through three intermediate nodes 600a, 600b, and 600c to reach the receiving end 720; a data stream B is sent by another sender 710B to the receiver 720, and reaches the receiver 720 via three intermediate nodes 600d, 600e, and 600c in sequence. The data stream a and the data stream B are data streams that need to be synchronized, and the two data streams are synchronized on the network side through the control of the multi-stream synchronization apparatus 400 on the intermediate node.
The specific adjustment process is described in the above method embodiment, and is not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only for illustrating the invention and are not to be construed as limiting the invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, therefore, all equivalent technical solutions also belong to the scope of the invention, and the scope of the invention is defined by the claims.
Claims (42)
1. A multi-stream synchronization method, comprising:
determining at least two data streams needing synchronization;
acquiring the transmission conditions of the at least two data streams;
and generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
2. The method of claim 1, wherein after generating the transmission adjustment information for the associated intermediate node, the method further comprises: a step of sending the transmission adjustment information to the relevant intermediate node.
3. The method according to claim 1 or 2, wherein the step of determining at least two data streams that need to be synchronized comprises: and associating the identification information of the plurality of data streams, and determining at least two data streams needing to be synchronized.
4. The method according to any of claims 1 to 3, wherein the step of obtaining the transmission of the at least two data streams comprises:
acquiring position information corresponding to key data packets of the at least two data streams passing through the corresponding intermediate nodes and position information corresponding to key data packets reaching a receiving end;
and obtaining the transmission condition of the key data packet reaching the receiving end in the at least two data streams according to the position information.
5. The method of claim 4, wherein the location information comprises: a timestamp and/or an offset relative to an initial point of the data stream.
6. The method according to claim 4 or 5, wherein the step of generating transmission adjustment information of the relevant intermediate node corresponding to the data stream according to the transmission condition of the at least two data streams comprises:
determining a reference data stream according to the transmission condition of a key data packet reaching a receiving end in the at least two data streams;
and generating transmission adjustment information of relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packets of the at least two data streams passing through the corresponding intermediate nodes by taking the reference data stream as a reference.
7. The method of claim 6, wherein the reference data stream is a data stream of the at least two data streams for which corresponding critical data packets arrive at a receiving end at the latest.
8. The method of claim 6, wherein the reference data stream is a data stream of the at least two data streams for which a corresponding critical data packet arrives at a receiving end earliest.
9. The method of claim 6, wherein the reference data stream is a dummy data stream, and the time of arrival of the critical data packet in the reference data stream at the receiving end is an average value of the times of arrival of the corresponding critical data packet in the at least two data streams at the receiving end.
10. The method according to any of claims 6 to 9, wherein the transmission adjustment information is used to make the time difference between the arrival time of the critical data packet with the same position information in the at least two data streams at the receiving end and the arrival time of the corresponding critical data packet in the reference data stream at the receiving end within a predetermined interval.
11. The method according to any of claims 1 to 10, wherein the method generates transmission adjustment information of relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams and with reference to the global network traffic conditions.
12. The method of any of claims 1 to 11, wherein the transmitting adjustment information comprises: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
13. An intermediate node side multi-stream synchronization method is characterized by comprising the following steps:
providing the transmission condition of the data stream;
acquiring transmission adjustment information corresponding to a data stream;
and adjusting the transmission parameters of the data stream according to the transmission adjustment information.
14. The method of claim 13, wherein the transmission adjustment information is service priority level modification information.
15. The method of claim 13, wherein the transmission adjustment information is reference location information of key packets that the data stream should process at the corresponding intermediate node.
16. The method of claim 15, wherein the step of adjusting the transmission parameters of the data stream according to the transmission adjustment information comprises:
judging whether the difference value between the reference position information of the key data packet to be processed by the data stream at the corresponding intermediate node and the position information of the currently processed key data packet exceeds a set threshold value or not;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
17. The method according to any of claims 13 to 16, wherein the step of adjusting the transmission parameters of the data stream comprises:
the processing priority of the queue corresponding to the data flow is changed, and/or the buffer size corresponding to the data flow is changed, and/or the number of input/output ports corresponding to the data flow is changed.
18. The method of any of claims 13 to 17, wherein the method further comprises, prior to the step of providing a transmission aspect of a data stream:
identification information of the data stream is provided.
19. The method according to any of claims 13 to 18, wherein the step of providing a transmission aspect of the data stream comprises:
and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
20. A multi-stream synchronization apparatus, comprising:
the data flow determining module is used for determining at least two data flows needing to be synchronized;
a transmission condition obtaining module, configured to obtain transmission conditions of the at least two data streams;
and the transmission adjustment information generation module is used for generating transmission adjustment information of the relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams.
21. The apparatus of claim 20, wherein the apparatus further comprises:
a first information interaction module, configured to send the transmission adjustment information to the relevant intermediate node.
22. The apparatus of claim 21,
the first information interaction module is further used for acquiring identification information of the data stream.
23. The apparatus of claim 22, wherein the data flow determination module comprises:
and the association analysis unit is used for associating the identification information of the plurality of data streams and determining the at least two data streams needing to be synchronized.
24. The apparatus of any one of claims 20 to 23,
the first information interaction module is further configured to acquire position information corresponding to a key data packet of the at least two data streams passing through the corresponding intermediate node and position information corresponding to a key data packet arriving at the receiving end.
25. The apparatus of claim 24, wherein the transmission condition acquisition module comprises:
and the transmission condition analysis unit is used for obtaining the transmission condition of the key data packet reaching the receiving end in the at least two data streams according to the position information.
26. The apparatus of claim 25, wherein the location information comprises: a timestamp and/or an offset relative to an initial point of the data stream.
27. The apparatus of claim 25 or 26, wherein the transmission adjustment information generating module comprises:
a reference data stream determining unit, configured to determine a reference data stream according to a transmission condition of a key data packet that reaches a receiving end in the at least two data streams;
and the transmission adjustment information generating unit is used for generating the transmission adjustment information of the relevant intermediate nodes corresponding to the at least two data streams according to the position information corresponding to the key data packets of the at least two data streams passing through the corresponding intermediate nodes by taking the reference data stream as a reference.
28. The apparatus of claim 27, wherein the reference data stream is a data stream of the at least two data streams for which corresponding critical data packets arrive at a receiving end at the latest.
29. The apparatus of claim 27, wherein the reference data stream is a data stream of the at least two data streams for which a corresponding critical data packet arrives at a receiving end earliest.
30. The apparatus of claim 27, wherein the reference data stream is a dummy data stream, and the time of arrival of the critical data packet in the reference data stream at the receiving end is an average value of the times of arrival of the corresponding critical data packet in the at least two data streams at the receiving end.
31. The apparatus according to any of claims 27 to 30, wherein the transmission adjustment information is used to make a time difference between a time when a critical data packet with the same position information in the at least two data streams arrives at a receiving end and a time when a corresponding critical data packet in the reference data stream arrives at the receiving end within a predetermined interval.
32. The apparatus of any of claims 20-31, wherein the transmission adjustment information generation module further comprises:
a global network traffic obtaining unit, configured to obtain a global network traffic condition;
and the transmission adjustment information generation module generates transmission adjustment information of relevant intermediate nodes corresponding to the data streams according to the transmission conditions of the at least two data streams and by referring to the global network flow condition.
33. The apparatus of any of claims 20 to 32, wherein the transmitting adjustment information comprises: reference position information of key data packets which should be processed by the data flow at the corresponding intermediate node, and/or service priority level modification information, and/or data flow transmission path re-planning information.
34. The apparatus according to any of claims 20 to 33, wherein the apparatus is a control node in a network.
35. An intermediate node, comprising:
the second information interaction module is used for providing the transmission condition of the data stream; the data stream transmission adjusting device is used for acquiring transmission adjusting information corresponding to the data stream;
and the transmission parameter analysis and adjustment module is used for adjusting the transmission parameters of the data stream according to the transmission adjustment information.
36. The intermediate node of claim 35, wherein the transmission adjustment information is service priority level modification information.
37. The intermediate node of claim 35 wherein the transmission adjustment information is reference location information of critical packets that the data stream should process at the corresponding intermediate node.
38. The intermediate node of claim 37, wherein the transmission parameter analysis adjustment module comprises:
the position information analysis unit is used for judging whether the difference value between the reference position information of the key data packet to be processed corresponding to the intermediate node and the position information of the currently processed key data packet of the data stream exceeds a set threshold value or not;
and when the difference exceeds a set threshold value, adjusting the transmission parameters of the data stream.
39. The intermediate node according to any of claims 35 to 38, wherein the transmission parameter analysis adjustment module comprises:
the processing priority adjusting unit is used for changing the queue processing priority corresponding to the data stream; and/or
The buffer size adjusting unit is used for changing the buffer size corresponding to the data stream; and/or
And the port number adjusting unit is used for changing the number of the input/output ports corresponding to the data flow.
40. The intermediate node of any of claims 35 to 39, wherein the second information interaction module is further configured to provide identification information of a data flow.
41. The intermediate node according to any of claims 35 to 40, wherein said providing a transmission aspect of a data stream comprises: and providing position information corresponding to the key data packet of the data stream passing through the intermediate node.
42. The intermediate node according to any of claims 35 to 41, wherein the intermediate node is a router in a network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310269224.8A CN103354528B (en) | 2013-06-28 | 2013-06-28 | Method and device for multi-stream synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310269224.8A CN103354528B (en) | 2013-06-28 | 2013-06-28 | Method and device for multi-stream synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103354528A true CN103354528A (en) | 2013-10-16 |
CN103354528B CN103354528B (en) | 2017-05-03 |
Family
ID=49310843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310269224.8A Active CN103354528B (en) | 2013-06-28 | 2013-06-28 | Method and device for multi-stream synchronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103354528B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873565A (en) * | 2014-02-28 | 2014-06-18 | 北京智谷睿拓技术服务有限公司 | Data synchronism method and equipment |
CN104754014A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Transmission resource priority level adjusting control method, device and system |
CN106603431A (en) * | 2016-12-15 | 2017-04-26 | 中国科学院沈阳自动化研究所 | Industrial wireless network data scheduling method and apparatus based on the mixture of key tasks |
CN110266371A (en) * | 2014-09-23 | 2019-09-20 | 华为技术有限公司 | Transmitter, receiver, and the method for sending/receiving synchronization signal |
WO2021218248A1 (en) * | 2020-04-30 | 2021-11-04 | 中兴通讯股份有限公司 | Cell flow characteristic feature adjustment method, apparatus and system, and storage medium |
CN115397030A (en) * | 2022-08-16 | 2022-11-25 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for determining data transmission priority |
CN115749740A (en) * | 2021-09-03 | 2023-03-07 | 北京助创科技有限公司 | Method and device for detecting distribution efficiency of pumping well and readable storage medium |
WO2024098347A1 (en) * | 2022-11-10 | 2024-05-16 | 北京小米移动软件有限公司 | Data stream synchronization method and apparatus, communication device, and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010009547A1 (en) * | 2000-01-25 | 2001-07-26 | Akira Jinzaki | Data communications system |
CN1678068A (en) * | 2004-04-01 | 2005-10-05 | 清华大学 | Single-frequency network system of ground digital TV broadcast and its realizing method |
CN1709003A (en) * | 2002-10-29 | 2005-12-14 | 艾利森电话股份有限公司 | Reporting for multi-user services in wireless networks |
CN1795651A (en) * | 2003-05-28 | 2006-06-28 | 艾利森电话股份有限公司 | Method and system for wireless communication networks using relaying |
CN1960240A (en) * | 2006-09-15 | 2007-05-09 | 中兴通讯股份有限公司 | Emission method of mobile multimedia broadcast |
CN101017317A (en) * | 2007-02-13 | 2007-08-15 | 上海水晶石信息技术有限公司 | Control method for synchronization of multiscreen playing suitable for irregular screen |
WO2012077392A1 (en) * | 2010-12-10 | 2012-06-14 | 三菱電機株式会社 | Multi-screen display system |
CN102761954A (en) * | 2011-04-29 | 2012-10-31 | 中兴通讯股份有限公司 | Uplink synchronization method and uplink synchronization system in multi-carrier communication system |
CN103139102A (en) * | 2013-02-02 | 2013-06-05 | 中国人民解放军理工大学 | Matching method for multi-source multipath dynamic synchronous single host information and device thereof |
-
2013
- 2013-06-28 CN CN201310269224.8A patent/CN103354528B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010009547A1 (en) * | 2000-01-25 | 2001-07-26 | Akira Jinzaki | Data communications system |
CN1709003A (en) * | 2002-10-29 | 2005-12-14 | 艾利森电话股份有限公司 | Reporting for multi-user services in wireless networks |
CN1795651A (en) * | 2003-05-28 | 2006-06-28 | 艾利森电话股份有限公司 | Method and system for wireless communication networks using relaying |
CN1678068A (en) * | 2004-04-01 | 2005-10-05 | 清华大学 | Single-frequency network system of ground digital TV broadcast and its realizing method |
CN1960240A (en) * | 2006-09-15 | 2007-05-09 | 中兴通讯股份有限公司 | Emission method of mobile multimedia broadcast |
CN101017317A (en) * | 2007-02-13 | 2007-08-15 | 上海水晶石信息技术有限公司 | Control method for synchronization of multiscreen playing suitable for irregular screen |
WO2012077392A1 (en) * | 2010-12-10 | 2012-06-14 | 三菱電機株式会社 | Multi-screen display system |
CN102761954A (en) * | 2011-04-29 | 2012-10-31 | 中兴通讯股份有限公司 | Uplink synchronization method and uplink synchronization system in multi-carrier communication system |
CN103139102A (en) * | 2013-02-02 | 2013-06-05 | 中国人民解放军理工大学 | Matching method for multi-source multipath dynamic synchronous single host information and device thereof |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754014B (en) * | 2013-12-31 | 2019-01-01 | 中国移动通信集团公司 | A kind of adjustment of transfer resource priority control method, apparatus and system |
CN104754014A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Transmission resource priority level adjusting control method, device and system |
CN103873565A (en) * | 2014-02-28 | 2014-06-18 | 北京智谷睿拓技术服务有限公司 | Data synchronism method and equipment |
CN103873565B (en) * | 2014-02-28 | 2017-09-05 | 北京智谷睿拓技术服务有限公司 | Method of data synchronization and equipment |
US11259259B2 (en) | 2014-09-23 | 2022-02-22 | Huawei Technologies Co., Ltd. | Transmitter, receiver and methods for transmitting/ receiving synchronisation signals |
CN110266371A (en) * | 2014-09-23 | 2019-09-20 | 华为技术有限公司 | Transmitter, receiver, and the method for sending/receiving synchronization signal |
CN110266371B (en) * | 2014-09-23 | 2021-10-22 | 华为技术有限公司 | Transmitter, receiver, and method for transmitting/receiving synchronization signal |
CN106603431B (en) * | 2016-12-15 | 2020-09-04 | 中国科学院沈阳自动化研究所 | Industrial wireless network data scheduling method and device based on mixed key tasks |
CN106603431A (en) * | 2016-12-15 | 2017-04-26 | 中国科学院沈阳自动化研究所 | Industrial wireless network data scheduling method and apparatus based on the mixture of key tasks |
WO2021218248A1 (en) * | 2020-04-30 | 2021-11-04 | 中兴通讯股份有限公司 | Cell flow characteristic feature adjustment method, apparatus and system, and storage medium |
CN115749740A (en) * | 2021-09-03 | 2023-03-07 | 北京助创科技有限公司 | Method and device for detecting distribution efficiency of pumping well and readable storage medium |
CN115397030A (en) * | 2022-08-16 | 2022-11-25 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for determining data transmission priority |
WO2024098347A1 (en) * | 2022-11-10 | 2024-05-16 | 北京小米移动软件有限公司 | Data stream synchronization method and apparatus, communication device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103354528B (en) | 2017-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103354528B (en) | Method and device for multi-stream synchronization | |
CN109412964B (en) | Message control method and network device | |
US9185047B2 (en) | Hierarchical profiled scheduling and shaping | |
KR100757872B1 (en) | Apparatus and method of backward congestion notification on network | |
US8774001B2 (en) | Relay device and relay method | |
US9585053B2 (en) | Communication network and method for transmitting data packets in the communication network | |
CN114338523A (en) | Message forwarding method and device | |
US9350659B1 (en) | Congestion avoidance for network traffic | |
CN107332766B (en) | Method for improving network throughput based on software defined network flow scheduling | |
CN104092625A (en) | Adaptive request batch scheduling method used in DCN | |
CN112866134A (en) | Method for sending message, first network equipment and computer readable storage medium | |
KR101737516B1 (en) | Method and apparatus for packet scheduling based on allocating fair bandwidth | |
CN107070815B (en) | Synchronous message queuing delay control method and device in SDN network | |
CN107222403A (en) | A kind of data transmission method, system and electronic equipment | |
US20150195209A1 (en) | Congestion Notification in a Network | |
CN110809012B (en) | Train network communication data scheduling control method | |
CN108696455B (en) | Method and device for processing service flow | |
CN106603426A (en) | Message discarding method and device | |
CN109391558B (en) | Queue control method and device | |
CN108632162B (en) | Queue scheduling method and forwarding equipment | |
Kozačinski et al. | Configuration of quality of service parameters in communication networks | |
KR101587379B1 (en) | Method of dynamic control for queue size and apparatus thereof | |
KR101681613B1 (en) | Apparatus and method for scheduling resources in distributed parallel data transmission system | |
JP4342395B2 (en) | Packet relay method and apparatus | |
CN114884902B (en) | Data stream transmission method, device, network equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |