WO2022134978A1 - Data sending method and apparatus - Google Patents

Data sending method and apparatus Download PDF

Info

Publication number
WO2022134978A1
WO2022134978A1 PCT/CN2021/131887 CN2021131887W WO2022134978A1 WO 2022134978 A1 WO2022134978 A1 WO 2022134978A1 CN 2021131887 W CN2021131887 W CN 2021131887W WO 2022134978 A1 WO2022134978 A1 WO 2022134978A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
time
nth
data stream
queue system
Prior art date
Application number
PCT/CN2021/131887
Other languages
French (fr)
Chinese (zh)
Inventor
任首首
刘冰洋
勒布德克·简-伊夫
穆罕默德·伊桑
艾法沃·阿拉丁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022134978A1 publication Critical patent/WO2022134978A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present application relates to the field of communications, and more particularly, to a method and apparatus for data transmission.
  • Deterministic networking is a hot spot in the current industry.
  • the demand for deterministic networking comes from businesses such as the Industrial Internet, smart factories, remote programmable logic controllers (PLCs) and cloudification, as well as augmented reality (augmented reality).
  • augmented reality augmented reality
  • AR AR/virtual reality
  • VR real-time interaction
  • remote surgery remote surgery
  • tactile Internet the core of which is to ensure the end-to-end bandwidth, delay and jitter of the service flow.
  • the new deterministic delay after leaving is smaller than the original deterministic delay. Due to the departure of some flows, the actual burstiness of other still-existing flows through the same port is increased compared to that under the damper model. Since the new deterministic delay is calculated by using the original burst degree of the still existing flow, the increased burst degree is larger, so that the packet cannot be sent within the new deterministic delay time. The invariant characteristic of the hop-by-hop traffic model no longer holds, so deterministic latency cannot be guaranteed.
  • the present application provides a method and apparatus for data transmission, which can ensure the certainty of delay.
  • a method for sending data including: at time t, a first device receives a first signaling, the first signaling is used to instruct the second data stream to leave, and the first signaling includes The first delay difference ⁇ T 1 or the first delay T 1 and the second delay T, the delay adjustment step ⁇ and the adjustment time interval ⁇ for the first data stream, where T 1 is the second delay
  • T 1 is the second delay
  • the sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device determined before the data stream leaves, T is determined after the second data stream leaves
  • the method further includes: enabling, by the first device, a first qualifying schedule ETT, where the first ETT is used to update the qualified time of the first data stream sent by the third device.
  • the first signaling is sent by the controller.
  • a method for sending data including: a second device receiving first data sent by a first device within a period of t to t+x, the first data including first indication information, the The first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, where T 1 is the first data stream determined before the second data stream leaves in the first data stream.
  • the sum of the time spent in the queue system of a device and the time delayed in the second device, the first data is the data in the first data stream, and x is a non-negative number; the second device According to T1 and the time that the first data actually stays in the queue system of the first device, determine the first moment when the first data is delayed in the second device and end; the second The device releases the first data at the first moment, so that the first data enters the queue system of the second device; the second device receives the first device at t+x+(N-2 ) ⁇ to t+x+(N-1) ⁇ of the Nth data sent in the period, the Nth data includes the Nth indication information, and the Nth indication information
  • T N T1-(N-1) ⁇
  • is the delay adjustment step size
  • is the adjustment time interval
  • N is an integer
  • the method further includes: enabling, by the second device, a second qualifying schedule ETT, so that the second ETT records the N-1th moment, wherein , the N-1th time is the time when the N-1th data is shaped in the second device; the second device releases the Nth data according to the Nth time, so that the Entering the Nth data into the queue system of the second device includes: if the Nth time is later than the N-1th time, enabling, by the second device, the data to be recorded in the second ETT table The N-1th time is updated to the Nth time, and the Nth data is released at the Nth time; if the Nth time is earlier than the N-1th time, the second device is at the The Nth data is released at the N-1th time.
  • the method before the second device receives the first data sent by the first device, the method further includes: at time t, the second device receives the control the first signaling sent by the device, the first signaling is used to instruct the second data stream to leave; the second device enables the second qualifying timetable ETT according to the first signaling, and the first signaling The second ETT is used to update the qualified time of the first data stream sent by the first device.
  • the delay of the first data stream flowing through the first device is determined by the gradient decreasing method, so as to ensure that the impact of the reduction of the delay on the increase of the burst degree of other devices is reduced. to the clock error level, thus ensuring the determinism of the delay.
  • the data is the data in the first data stream, N is an integer greater than 0, and T N is less than or equal to T 2 .
  • a method for sending data including: a second device receiving first data sent by a first device within a period from t to t+T1, where the first data includes first indication information, and the The first indication information includes T1 and the time that the first data actually stays in the queue system of the first device, wherein T1 is the first data stream determined before the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device, the first data is the data in the first data stream; the second device receives the first data.
  • the Nth data sent by a device within a period from t x to tx +N* ⁇ includes the Nth indication information, and the Nth indication information
  • the sum of the time spent in the queue system of the first device and the time delayed in the second device T N and the time that the Nth data actually stayed in the queue system of the first device, where t x is time t or a time after time t, T N T 1 +N* ⁇ , ⁇ is the delay adjustment step size, ⁇ is the adjustment time interval, N is an integer greater than 0, and the Nth data is the For the data in the first data stream, T N is less than or equal to T 2 , where T 2 is the difference between the time that the first data stream stays in the queue system of the first device determined after the second data stream is added.
  • a communication device comprising: a transceiver unit configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes The first delay difference ⁇ T 1 or the first delay T 1 and the second delay T, the delay adjustment step ⁇ and the adjustment time interval ⁇ for the first data stream, where T 1 is the second delay
  • T 1 is the second delay
  • the transceiver unit is further configured to send first data to the second device within a period from t to t+x, where the first data includes first indication information, and the first indication information includes T 1 and the actual stay time of the first data in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number; the transceiver unit is also used for , during the period from t+x+(N-2) ⁇ to t+x+(N-1) ⁇ , send the Nth data to the second device, where the Nth data includes the Nth indication information, and the Nth data
  • the N indication information includes the sum TN for indicating the time the Nth data stays in the queue system of the first device and the time delayed in the second device, and the Nth data in the The actual stay time in the queue system of the first device
  • the communication device further includes a processing unit, the processing unit is configured to enable the first qualifying schedule ETT, the first ETT is configured to The qualified time of the first data stream sent by the three devices is updated.
  • the first signaling is sent by the controller.
  • a communication apparatus comprising: a transceiver unit configured to receive first data sent by a first device within a period of time from t to t+x, where the first data includes first indication information, and the The first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, where T 1 is the first data stream determined before the second data stream leaves in the first data stream.
  • the processing unit is further configured to enable the second qualified timetable ETT, so that the second ETT records the N-1th moment, wherein the The N-1th time is the time when the N-1th data is reshaped in the second device; the processing unit is specifically configured to: if the Nth time is later than the N-1th time, then Enable the second ETT table to update the recorded N-1th time to the Nth time, and release the Nth data at the Nth time; if the Nth time is earlier than the Nth time At time N-1, the Nth data is released at the N-1th time.
  • the transceiver unit is further configured to receive a first signaling sent by the controller at time t, where the first signaling is used to indicate the second signaling The data stream leaves; the processing unit is further configured to, according to the first signaling, enable a second qualified timetable ETT, where the second ETT is used for the first data stream sent by the first device The qualifying time is updated.
  • T N T 1 +N* ⁇
  • the Nth data is data in the first data stream
  • N is an integer greater than
  • T N is less than or equal to T 2 .
  • a communication device comprising: a transceiver unit configured to receive first data sent by a first device within a period of t to t+T1, where the first data includes first indication information, and the The first indication information includes T1 and the time that the first data actually stays in the queue system of the first device, wherein T1 is the first data stream determined before the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device, the first data is data in the first data stream; the transceiver unit is further configured to receive The Nth data sent by the first device in the period from t x to tx +N* ⁇ , the Nth data includes the Nth indication information, and the Nth indication information includes the Nth data for indicating the Nth data The sum T N of the time spent in the queue system of the first device and the time delayed in the second device and the time that the Nth data actually stayed in the queue system of the first device, Among them, t x is time
  • a communication device comprising: a processor and a transceiver, the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, such as The method of the first aspect or any possible implementation of the first aspect.
  • a communication device comprising: a processor and a transceiver, wherein the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, such as The method of the second aspect or any possible implementation of the second aspect.
  • a communication device comprising: a processor and a transceiver, wherein the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, A method as in the third aspect or any possible implementation manner of the third aspect.
  • a twelfth aspect provides a communication device, comprising: a processor and a transceiver, the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, A method as in the fourth aspect or any possible implementation manner of the fourth aspect.
  • a thirteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program is run on a computer, the computer causes the computer to execute the first aspect or any possible implementation of the first aspect method in method.
  • a fourteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program runs on a computer, the computer causes the computer to execute the second aspect or any possible implementation of the second aspect method in method.
  • a fifteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program is run on a computer, the computer causes the computer to execute the third aspect or any possible implementation of the third aspect method in method.
  • a sixteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program runs on a computer, the computer enables the computer to execute the fourth aspect or any possible implementation of the fourth aspect method in method.
  • FIG. 1 is a schematic diagram of the formation process of burst accumulation.
  • FIG. 2 is a schematic diagram of the scheduling process of circular queuing and forwarding.
  • Figure 3 is a schematic diagram of the basic model of damper.
  • FIG. 4 is a schematic diagram of a system scenario to which this embodiment of the present application is applicable.
  • FIG. 5 is a schematic flowchart of a data sending method according to an embodiment of the present application.
  • FIG. 6 is a schematic block diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic block diagram of another communication apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of a communication device according to an embodiment of the present application.
  • the embodiments of the present application may be applied to various communication systems, such as a wireless local area network (WLAN), a narrowband Internet of things (NB-IoT), a global system for mobile communications (global system for mobile communications, GSM), enhanced data rate for GSM evolution (enhanced data rate for gsmevolution, EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 system (code division multiple access) , CDMA2000), time division-synchronization code division multiple access system (time division-synchronization code division multiple access, TD-SCDMA), long term evolution system (long term evolution, LTE), satellite communication, fifth generation (5th generation, 5G) system Or new communication systems that will appear in the future.
  • WLAN wireless local area network
  • NB-IoT narrowband Internet of things
  • GSM global system for mobile communications
  • GSM global system for mobile communications
  • EDGE enhanced data rate for GSM evolution
  • WCDMA wideband code division multiple access
  • code division multiple access 2000 system code division multiple access
  • the terminal devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem.
  • the terminal can be a mobile station (mobile station, MS), a subscriber unit (subscriber unit), user equipment (user equipment, UE), a cellular phone (cellular phone), a smart phone (smart phone), a wireless data card, a personal digital assistant ( personal digital assistant, PDA) computer, tablet computer, wireless modem (modem), handheld device (handset), laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal, etc.
  • Deterministic networking is a hot spot in the current industry.
  • the demand for deterministic networking comes from businesses such as the Industrial Internet, smart factories, remote programmable logic controllers (PLCs) and cloudification, as well as augmented reality (augmented reality).
  • augmented reality augmented reality
  • AR AR/virtual reality
  • VR real-time interaction
  • remote surgery remote surgery
  • tactile Internet the core of which is to ensure the end-to-end bandwidth, delay and jitter of the service flow.
  • Deterministic delay means that the delay and jitter experienced by the packet transmission meet the upper bound on the premise that the packet obeys certain burst requirements. To meet the end-to-end deterministic delay and jitter of packets, it is necessary to implement deterministic packet scheduling on the data plane that is scalable (suitable for large networks).
  • burst accumulation exists in traditional IP networks, and burst accumulation is the root cause of delay uncertainty.
  • the reason for the accumulation of bursts is the squeezing of different packets.
  • Figure 1 a schematic diagram of the formation process of burst accumulation is shown.
  • Figure 1 when three different data streams arrive at node A at the same time, they are completely uniform. Since the device can only process packets at line speed, one of the streams is affected by the other The squeezing of the two streams causes two consecutive packets of one of the streams to be next to each other, and the burst degree increases. After several cycles of the above process, a flow will form an unpredictable large burst, and the large burst will further squeeze other flows, causing the delay of other flows to increase, and it is difficult to predict.
  • IP Internet Protocol
  • a weighted fair queue (WFQ) allocates weights in equal proportions to the reserved bandwidth of each flow, and performs shaping based on system virtual time and weights.
  • Timestamp-based persistent scheduling algorithm (WFQ) all use a similar "sorted priority queue" mechanism. This mechanism calculates a time stamp for each arriving packet according to the system state, and uses this time stamp as a metric for the priority order of packet scheduling.
  • a flow-by-flow queue needs to be maintained, the maintenance of virtual time is complex, and the scalability is poor.
  • a schematic diagram of the scheduling process of cyclic queuing and forwarding is shown.
  • the packets sent by node A in cycle x are received in cycle x of next hop node B, and sent in cycle x+1.
  • the total delay is hT.
  • the maximum total delay is (h+1)T
  • the minimum total delay is (h-1)T
  • the jitter is 2T.
  • a damper can be regarded as a shaper on the downstream node, which shapes the traffic sent by the upstream node (active delay);
  • the upstream node h calculates the maximum delay that any message may stay in h according to the current access traffic in the network, which is recorded as D h ; note that if the upstream node also has a damper module, this D h does not include the message
  • the time spent in the damper of h corresponds to the maximum value of p+q in Figure 3;
  • D h is based on the existing flow parameters in the network, such as the average flow rate (rate) and the flow burst size (burst), and is calculated using the network calculus theory, each flow will have a certain amount of D h . Contribution; network calculus theory guarantees that any message on node h, calculated from the starting point of p, must be sent out within D h time;
  • D h new is calculated by using the original burst degree of the still existing flow, the increased burst degree is larger, resulting in that the packet cannot be sent within the D h new time, and the hop-by-hop traffic model of damper remains unchanged.
  • an embodiment of the present application proposes a method for sending data, which can solve the above-mentioned problem of uncertain time delay caused by flow departure.
  • the present application provides a method of decreasing the gradient of D h to solve the problem of uncertain delay caused by flow departure, and at the same time cooperates with a scheme based on eligibility time table (ETT) to solve the problem of out-of-order packets.
  • ETT eligibility time table
  • FIG. 4 a schematic diagram of a system scenario applicable to this application is shown.
  • This application is applicable to IP network environments of any scale, including large-scale operator networks, smaller-scale campus networks, and the like.
  • the bandwidth ri is reserved for flow i on each interface of the path, where: flow i is data flow i, and ri is the amount of bandwidth required by data flow i;
  • the edge node will shape the flow-by-flow leaky bucket, so that the traffic entering the network meets the above model.
  • FIG. 5 a schematic flowchart of a data sending method proposed by an embodiment of the present application is shown.
  • the first device Before time t, the first device is used to transmit the first data stream and at least one second data stream. In this case, the first device determines that the first data stream is in the first device according to the instruction information sent by the controller or through calculation.
  • the sum of the time spent in the queue system and the time delayed in the second device T 1 , T 1 is the deterministic delay of the first data stream in the first device, and the first device makes the first data stream in the first device.
  • the data in the first data stream is sent to the second device, and the data sent to the second device carries the actual stay time of the data in the queue system of the first device a and T 1 , after receiving the data in the first data stream sent by the first device, the second device reshapes the data in the damper of the second device, and releases the data after actively staying in the damper for T 1 -a , so that the data enters the queue system of the second device.
  • the first device is an upstream device of the second device, and the second device is a downstream device of the first device.
  • the controller can determine a new deterministic delay T for the first data stream to be transmitted through the first device to the second device after the second data stream leaves, that is, T is The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device determined after the second data stream leaves, the controller can also calculate the time between T and T 1 Delay reduction amount ⁇ T; the controller may send first signaling to the first device, where the first signaling is used to instruct one or more second data streams to leave, and the first signaling may include T and T 1 , it can also only include ⁇ T, and can also include T, T 1 and ⁇ T at the same time, which is not limited in this application.
  • the first device may also calculate a new deterministic delay T for the first data stream by itself.
  • T deterministic delay
  • the flow leaving means that resources are no longer reserved for the flow, usually the contract between the user and the service provider (internet server provider, ISP) expires, and the time must be known; the contract has not expired but the user does not send traffic Don't call the flow away.
  • ISP internet server provider
  • the size of ⁇ T can be calculated according to the network calculus theory, and the application does not care about the specific determination process.
  • the data packet sent by the ingress network device to the first device may also carry the first signaling.
  • the first device receives first signaling, where the first signaling is used to instruct one or more second data streams to leave, and the first signaling may include a first delay for the first data stream T 1 , the second delay T, the delay adjustment step ⁇ and the adjustment time interval ⁇ .
  • the first signaling may also include only the difference ⁇ T between T and T 1 , or the first signaling may include T, T 1 and ⁇ T at the same time.
  • T is the determined shortest delay for the first data stream, in other words, T is the minimum value of the sum of the time that the data in the first data stream stays in the first device and the time that is delayed in the second device ;
  • is the adjustment step size of multiple adjustment delays, which can prevent the excessive adjustment of the adjacent two delays from increasing the burst degree.
  • the size of ⁇ should ensure that the impact on the arrival curve is reduced to the clock error. level, guaranteed to have no impact on performance.
  • the controller may send a stream leaving signaling to all devices that the first data stream passes through, and the signaling simultaneously notifies the adjustment parameters of the relevant devices.
  • the first device sends first data to the second device, where the first data includes first indication information, and the first indication information includes instructions for indicating that the first data is in the first data.
  • the data in the data stream, x is a non-negative number, and x can be equal to T 1 .
  • T 1 is the deterministic delay of the first data. It should be understood that the time when the first device sends data to the second device is the time when the data enters the queue system of the first device.
  • the second device receives the first data sent by the first device to the second device within the period from t to t+x.
  • the second device determines the first moment when the first data is delayed in the second device and ends according to T1 included in the first data and the time that the first data actually stays in the queue system of the first device. For example, if the second device receives the first data sent by the first device at time t 1 , and the time that the first data actually stays in the queue system of the first device is a 1 , the first time is t 1 +a 1 .
  • the second device releases the first data at the first moment, so that the first data enters the queue system of the second device.
  • the first device sends second data to the second device, where the second data includes second indication information, where the second indication information includes instructions for indicating that the second data is in the first
  • T 2 T 1 ⁇ ⁇
  • the second data is the data in the first data stream.
  • the second device receives the second data sent by the first device within a period of t+x to t+x+ ⁇ .
  • the second device determines, according to T 2 and the time that the second data actually stays in the queue system of the first device, the second moment when the second data is delayed in the second device and ends.
  • the second device releases the second data at the second moment, so that the second data enters the queue system of the second device.
  • the second device enables the second qualified timetable ETT maintained by the second device, so that The second ETT records the specific time of the first moment.
  • the controller will send flow leaving signaling to all the devices that the first data flow passes through, that is, the controller will also send a signal to the second device to instruct the second data flow to leave at time t. command, the second device may also immediately enable the second ETT maintained by the second device after receiving the signaling, so that the second ETT records the specific moment at which the data in the first data stream is released.
  • the second device determines the morning and evening of the first time and the second time; The second time is later than the first time, the second device enables the second ETT table maintained by the second device to update the recorded first time to the second time, and releases the second data at the second time; if the second time Earlier than the first moment, the second device releases the second data at the first moment, thereby preventing disorder.
  • the first device sends the Nth data to the second device, the Nth data includes the Nth indication information, the Nth data
  • the indication information includes the sum T N for indicating that the Nth data stays in the queue system of the first device and the time delayed in the damper of the second device, and the Nth data is in the queue system of the first device.
  • T N T 1 -(N-1) ⁇
  • the Nth data is the data in the first data stream, where N is an integer greater than 1, and T N is greater than or equal to T.
  • T N is adjusted with a step size of ⁇ and a time interval of ⁇ . It is necessary to ensure that the impact of the delay of the first data stream flowing through the first device on the increase of the burst degree of other devices is reduced to the clock error level.
  • the second device receives the Nth data sent by the first device in the period from t+x+(N-2) ⁇ to t+x+(N-1) ⁇ .
  • the second device determines, according to T N and the time that the Nth data actually stays in the queue system of the first device, the Nth time when the Nth data is delayed in the second device and ends.
  • the second device releases the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
  • the second device enables the second qualified timetable ETT to record the Nth -1 time; if the Nth time is later than the N-1th time, the second device enables the second ETT table to update the recorded N-1th time to the Nth time, and releases the Nth data at the Nth time ; If the Nth time is earlier than the N-1th time, the second device releases the Nth data at the N-1th time, and does not enable the N-1th time of the second ETT table to update the record; thus, disorder can be prevented.
  • the second device receives the first signaling sent by the controller, where the first signaling is used to instruct the second data stream to leave; the second device enables the second qualifying time according to the first signaling
  • the table ETT enables the second ETT to update the qualified time of the first data stream sent by the first device, and records the latest time when the data in the first data stream is released.
  • the first device receives the first signaling sent by the controller, it enables the first qualified timetable ETT maintained by the first device, and the first ETT is used to update the first data stream sent by the third device.
  • the qualified time is updated, wherein the third device is an upstream device of the first device.
  • the first device, the second device and the third device may be ingress gateway devices, routers and the like.
  • the time delay of the first data stream flowing through the first device is determined by the gradient decreasing method, so as to ensure that the reduction of the time delay causes bursts of other devices
  • the effect of increasing degrees is reduced to the clock error level, thus ensuring the determinism of the delay.
  • the embodiment of the present application proposes another method for sending data, including:
  • the first device receives the first signaling, the first signaling is used to instruct the second data stream to join, and the first signaling includes the second delay difference value ⁇ T 2 or the first data stream for the first data stream.
  • Time delay T 1 and second time delay T 2 , time delay adjustment step ⁇ and adjustment time interval ⁇ , wherein ⁇ T 2 T 2 ⁇ T 1 , and T 1 is the first data determined before the second data stream is added
  • T 2 is the first data flow determined after the second data flow joins in the queue system of the first device.
  • the sum of the time and the time delayed in the second device, the second device is the device that receives the data stream sent by the first device;
  • the first device sends the Nth data to the second device, where the Nth data includes the Nth indication information, and the Nth indication information
  • the Nth data includes the Nth indication information
  • the Nth indication information The sum of the time spent in the queue system of one device and the time delayed in the second device, T N and the time that the Nth data actually stayed in the queue system of the first device, where t x is time t or time t
  • T N T 1 +N* ⁇
  • the Nth data is the data in the first data stream, N is an integer greater than 0, and T N is less than or equal to T 2 ;
  • the second device receives the Nth data sent by the first device within the time period from tx to tx +N* ⁇ , where the Nth data is data in the first data stream, and T N is less than or equal to T 2 ;
  • the second device determines the Nth time when the Nth data is delayed in the second device and ends according to T N and the time that the Nth data actually stays in the queue system of the first device;
  • the second device releases the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
  • the time delay of the first data stream flowing through the first device is determined by a gradient increment method, so as to reduce jitter.
  • FIG. 6 a schematic block diagram of a communication apparatus 600 provided by an embodiment of the present application is shown.
  • the communication apparatus 600 may be a component in the first device implementing the method embodiment of FIG. 5 , such as a chip.
  • the communication device 600 includes:
  • the transceiver unit 610 is configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes a first time delay T 1 for the first data stream , the second delay T, the delay adjustment step ⁇ and the adjustment time interval ⁇ , where T 1 is the first data stream determined before the second data stream leaves the queue system of the first device to stay The sum of the time and the time delayed in the second device, T is the time that the first data stream stays in the queue system of the first device determined after the second data stream leaves and the time that the first data stream stays in the queue system of the first device The sum of the delayed time in the second device, the second device is a device that receives the data stream sent by the first device;
  • the transceiver unit 610 is further configured to send first data to the second device within a period from t to t+x, where the first data includes first indication information, and the first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number;
  • the communication apparatus further includes a processing unit 620, the processing unit 620 is configured to enable a first qualified timetable ETT, and the first ETT is used for the first data stream sent by the third device The qualifying time is updated.
  • the first signaling is sent by the controller.
  • FIG. 7 a schematic block diagram of a network communication apparatus 700 provided by an embodiment of the present application is shown.
  • the communication apparatus 700 may be a component in the second device implementing the method embodiment of FIG. 5 , such as a chip.
  • the communication device 700 includes:
  • a transceiver unit 710 configured to receive first data sent by a first device in a period from t to t+x, where the first data includes first indication information, and the first indication information includes T1 and the first indication
  • the processing unit 720 is configured to determine, according to T1 and the time that the first data actually stays in the queue system of the first device, the first time when the first data is delayed in the second device and ends time;
  • the processing unit is further configured to release the first data at the first moment, so that the first data enters the queue system of the second device;
  • the processing unit 720 is further configured to determine, according to T N and the time that the Nth data actually stays in the queue system of the first device, when the Nth data is delayed in the second device and ends The Nth moment of ;
  • the processing unit 720 is further configured to release the Nth data according to the Nth moment, so that the Nth data enters the queue system of the second device.
  • the processing unit 720 is further configured to enable the second qualified timetable ETT, so that the second ETT records the N-1th time, where the N-1th time is the N-1th data the time when the shaping ends in the second device;
  • the processing unit 720 is specifically used for:
  • the Nth data is released at the N-1th time.
  • the transceiver unit 710 is further configured to receive the first signaling sent by the controller at time t, where the first signaling is used to instruct the second data stream to leave;
  • the processing unit 720 is further configured to, according to the first signaling, enable a second qualifying timetable ETT, where the second ETT is used for the qualifying time of the first data stream sent by the first device to update.
  • the embodiment of the present application provides another communication device, and the communication device includes:
  • T 2 is the determined time after the second data stream is added.
  • the transceiver unit is further configured to send the Nth data to the second device within the period from t x to t x +N* ⁇ , where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device.
  • the actual stay time in the queue system of the is an integer greater than 0, and T N is less than or equal to T 2 .
  • the embodiment of the present application provides another communication device, and the communication device includes:
  • a transceiver unit configured to receive first data sent by a first device within a period from t to t+T 1 , the first data includes first indication information, and the first indication information includes T 1 and the first The actual stay time of the data in the queue system of the first device, where T1 is the time between the stay time of the first data stream in the queue system of the first device determined before the second data stream is added and the time in the queue system of the first device. the sum of the delayed times in the second device, and the first data is the data in the first data stream;
  • the transceiver unit is further configured to receive the Nth data sent by the first device in the period from t x to tx +N* ⁇ , where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device.
  • N T1+N* ⁇
  • the delay adjustment step size
  • the adjustment time interval
  • N is greater than 0
  • the Nth data is the data in the first data stream
  • T N is less than or equal to T 2
  • T 2 is the first data stream determined after the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device;
  • the processing unit is further configured to, according to T N and the time that the Nth data actually stays in the queue system of the first device, determine the time when the Nth data is delayed in the second device and ends. Nth moment;
  • the processing unit is further configured to release the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
  • An embodiment of the present application provides a communication device 800. As shown in FIG. 8, a schematic block diagram of a communication device 800 according to an embodiment of the present application is shown.
  • the device 800 includes: a processor 810 and a transceiver 820, the transceiver 820 is configured to receive computer codes or instructions and transmit them to the processor 810, and the processor 810 executes the computer codes or instructions, as described herein. A method in any possible implementation manner in the application embodiments.
  • the above-mentioned processor 810 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA), or other possible solutions. Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • Programming logic devices, discrete gate or transistor logic devices, discrete hardware components The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the embodiments of the present application further provide a computer-readable storage medium, on which a computer program for implementing the methods in the foregoing method embodiments is stored.
  • a computer program for implementing the methods in the foregoing method embodiments is stored.
  • the computer program runs on a computer, the computer can implement the methods in the above method embodiments.
  • the term "and/or” in this application is only an association relationship to describe associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time. , there are three cases of B alone.
  • the character "/" in this document generally indicates that the contextual object is an "or” relationship; the term “" in this application can indicate "one” and "two or more", for example, A, B In and C, it can be expressed that A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, C and B exist simultaneously, and A and B and C exist simultaneously, these seven situations.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a data sending method and apparatus, which can guarantee the certainty of a time delay. The method comprises: at a moment t, a first device receiving first signaling, wherein the first signaling indicates that a second data stream leaves, and the first signaling comprises a first time delay T1, a second time delay T, a time delay adjustment step length θ and an adjustment time interval τ for the first data stream; within a time period from t to t+x, the first device sending first data to a second device, wherein the first data comprises first indication information, the first indication information comprises T1 and the actual time the first data stays in a queue system of the first device, and the first data is data in the first data stream; and within a time period from t+x+(N-2)τ to t+x+(N-1)τ, the first device sending Nth data to the second device, wherein the Nth data comprises Nth indication information, the Nth indication information comprises TN and the actual time the Nth data stays in the queue system of the first device, TN = T1-(N-1)θ, the Nth data is data in the first data stream, and TN is greater than or equal to T.

Description

数据发送的方法和装置Method and device for data transmission
本申请要求于2020年12月23日提交中国专利局、申请号为202011539631.2、申请名称为“数据发送的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011539631.2 and the application title "Method and Apparatus for Data Transmission" filed with the China Patent Office on December 23, 2020, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及通信领域,并且更具体地,涉及一种数据发送的方法和装置。The present application relates to the field of communications, and more particularly, to a method and apparatus for data transmission.
背景技术Background technique
确定性网络是当前的业界热点,确定性网络的需求来自于工业互联网、智能工厂、可编程序控制器(programmable logic controller,PLC)拉远和云化等业务,也来自于增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)实时交互、远程手术、触觉互联网等远程实时业务,其核心在于保证业务流的端到端带宽、时延和抖动。Deterministic networking is a hot spot in the current industry. The demand for deterministic networking comes from businesses such as the Industrial Internet, smart factories, remote programmable logic controllers (PLCs) and cloudification, as well as augmented reality (augmented reality). , AR)/virtual reality (VR) real-time interaction, remote surgery, tactile Internet and other remote real-time services, the core of which is to ensure the end-to-end bandwidth, delay and jitter of the service flow.
目前,基于整形器(damper)模型的报文发送方案中,当网络中某条存在的流离开时,会导致离开后的新的确定性时延比原来的确定性时延更小。由于某些流的离开,导致其他通过相同端口的仍然存在的流的实际突发度相比damper模型下的突发度增加。由于新的确定性时延是利用仍然存在的流的原始突发度进行计算的,所以增加后的突发度更大,导致报文无法在新的确定性时延时间内发送完毕,damper的逐跳流量模型不变的特性不再成立,从而无法保证确定性时延。另一方面,由于确定性时延的变更,可能会有连续的若干报文分别采用新的确定性时延和原来的确定性时延,导致后到的报文的合格时间(eligibility time)可能会早于先到的报文,发生乱序。At present, in the packet sending scheme based on the shaper (damper) model, when an existing flow in the network leaves, the new deterministic delay after leaving is smaller than the original deterministic delay. Due to the departure of some flows, the actual burstiness of other still-existing flows through the same port is increased compared to that under the damper model. Since the new deterministic delay is calculated by using the original burst degree of the still existing flow, the increased burst degree is larger, so that the packet cannot be sent within the new deterministic delay time. The invariant characteristic of the hop-by-hop traffic model no longer holds, so deterministic latency cannot be guaranteed. On the other hand, due to the change of the deterministic delay, there may be several consecutive packets using the new deterministic delay and the original deterministic delay respectively, resulting in the possibility of the eligibility time of the later arriving packets. It will be earlier than the first-arrived packet, and out-of-order will occur.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种数据发送的方法和装置,能够保证时延的确定性。The present application provides a method and apparatus for data transmission, which can ensure the certainty of delay.
第一方面,提供一种数据发送的方法,包括:在t时刻,第一设备接收第一信令,所述第一信令用于指示第二数据流离开,所述第一信令中包括针对第一数据流的第一时延差值ΔT 1或第一时延T 1和第二时延T、时延调整步长θ和调整时间间隔τ,其中,T 1为在所述第二数据流离开之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备;在t至t+x时段内,所述第一设备向所述第二设备发送第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,所述第一数据是所述第一数据流中的数据,x为非负数;在t+x+(N-2)τ至t+x+(N-1)τ时段内,所述第一设备向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括 用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,所述第N数据是所述第一数据流中的数据,N为大于1的整数,T N大于或等于T。 In a first aspect, a method for sending data is provided, including: at time t, a first device receives a first signaling, the first signaling is used to instruct the second data stream to leave, and the first signaling includes The first delay difference ΔT 1 or the first delay T 1 and the second delay T, the delay adjustment step θ and the adjustment time interval τ for the first data stream, where T 1 is the second delay The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device determined before the data stream leaves, T is determined after the second data stream leaves The sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device, where the second device receives the data sent by the first device Streaming device; in the period from t to t+x, the first device sends first data to the second device, the first data includes first indication information, and the first indication information includes T 1 and the actual stay time of the first data in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number; at t+x+(N-2 )τ to t+x+(N-1)τ period, the first device sends the Nth data to the second device, the Nth data includes the Nth indication information, and the Nth indication information includes It is used to indicate the sum T N of the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the queue of the first device. The actual stay time in the queue system, where T N =T 1 -(N-1)θ, the Nth data is the data in the first data stream, N is an integer greater than 1, and T N is greater than or equal to T.
结合第一方面,在第一方面的某些实现方式中,在所述第一设备接收到所述第一信令之后,所述方法还包括:所述第一设备使能第一合格时间表ETT,所述第一ETT用于对第三设备发送的所述第一数据流的合格时间进行更新。With reference to the first aspect, in some implementations of the first aspect, after the first device receives the first signaling, the method further includes: enabling, by the first device, a first qualifying schedule ETT, where the first ETT is used to update the qualified time of the first data stream sent by the third device.
结合第一方面,在第一方面的某些实现方式中,所述第一信令是控制器发送的。With reference to the first aspect, in some implementations of the first aspect, the first signaling is sent by the controller.
第二方面,提供了一种数据发送的方法,包括:第二设备接收第一设备在t至t+x时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流离开之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据,x为非负数;所述第二设备根据T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,确定所述第一数据在所述第二设备中被延迟结束时的第一时刻;所述第二设备在所述第一时刻释放所述第一数据,以使所述第一数据进入所述第二设备的队列系统;所述第二设备接收所述第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T1-(N-1)θ,θ为时延调整步长,τ为调整时间间隔,N为大于1的整数,所述第N数据是所述第一数据流中的数据,T N大于或等于T,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和;所述第二设备根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻;所述第二设备根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。 In a second aspect, a method for sending data is provided, including: a second device receiving first data sent by a first device within a period of t to t+x, the first data including first indication information, the The first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, where T 1 is the first data stream determined before the second data stream leaves in the first data stream. The sum of the time spent in the queue system of a device and the time delayed in the second device, the first data is the data in the first data stream, and x is a non-negative number; the second device According to T1 and the time that the first data actually stays in the queue system of the first device, determine the first moment when the first data is delayed in the second device and end; the second The device releases the first data at the first moment, so that the first data enters the queue system of the second device; the second device receives the first device at t+x+(N-2 )τ to t+x+(N-1)τ of the Nth data sent in the period, the Nth data includes the Nth indication information, and the Nth indication information The sum of the time spent in the queue system of the first device and the time delayed in the second device, T N , and the time that the Nth data actually stayed in the queue system of the first device, where T N =T1-(N-1)θ, θ is the delay adjustment step size, τ is the adjustment time interval, N is an integer greater than 1, the Nth data is the data in the first data stream, T N greater than or equal to T, where T is the sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device after the second data stream leaves and; the second device determines, according to T N and the time that the Nth data actually stays in the queue system of the first device, the time when the Nth data is delayed in the second device. Time N; the second device releases the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二设备使能第二合格时间表ETT,使所述第二ETT记录第N-1时刻,其中,所述第N-1时刻为第N-1数据在所述第二设备中被整形结束时的时刻;所述第二设备根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统,包括:若所述第N时刻晚于所述第N-1时刻,则所述第二设备使能所述第二ETT表将记录的所述第N-1时刻更新为所述第N时刻,在所述第N时刻释放所述第N数据;若所述第N时刻早于所述第N-1时刻,则所述第二设备在所述第N-1时刻释放所述第N数据。With reference to the second aspect, in some implementations of the second aspect, the method further includes: enabling, by the second device, a second qualifying schedule ETT, so that the second ETT records the N-1th moment, wherein , the N-1th time is the time when the N-1th data is shaped in the second device; the second device releases the Nth data according to the Nth time, so that the Entering the Nth data into the queue system of the second device includes: if the Nth time is later than the N-1th time, enabling, by the second device, the data to be recorded in the second ETT table The N-1th time is updated to the Nth time, and the Nth data is released at the Nth time; if the Nth time is earlier than the N-1th time, the second device is at the The Nth data is released at the N-1th time.
结合第二方面,在第二方面的某些实现方式中,在所述第二设备接收第一设备发送的第一数据之前,所述方法还包括:在t时刻,所述第二设备接收控制器发送的第一信令,所述第一信令用于指示所述第二数据流离开;所述第二设备根据所述第一信令,使能第二合格时间表ETT,所述第二ETT用于对所述第一设备发送的所述第一数据流的合格时间进行更新。With reference to the second aspect, in some implementations of the second aspect, before the second device receives the first data sent by the first device, the method further includes: at time t, the second device receives the control the first signaling sent by the device, the first signaling is used to instruct the second data stream to leave; the second device enables the second qualifying timetable ETT according to the first signaling, and the first signaling The second ETT is used to update the qualified time of the first data stream sent by the first device.
基于上述技术方案,若第二数据流离开,通过梯度递减的方法确定第一数据流流经第 一设备的时延,以确保时延的减小对其他设备的突发度的增加的影响降到时钟误差级别,从而保证时延的确定性。Based on the above technical solution, if the second data stream leaves, the delay of the first data stream flowing through the first device is determined by the gradient decreasing method, so as to ensure that the impact of the reduction of the delay on the increase of the burst degree of other devices is reduced. to the clock error level, thus ensuring the determinism of the delay.
第三方面,提供了一种数据发送的方法,包括:在t时刻,第一设备接收第一信令,所述第一信令用于指示第二数据流加入,所述第一信令中包括针对第一数据流的第二时延差值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在所述第二数据流加入之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备;在t x至t x+N*τ时段内,所述第一设备向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,所述第N数据是所述第一数据流中的数据,N为大于0的整数,T N小于或等于T 2In a third aspect, a method for sending data is provided, including: at time t, a first device receives a first signaling, where the first signaling is used to instruct the joining of a second data stream, and the first signaling contains It includes the second delay difference ΔT 2 or the first delay T 1 and the second delay T 2 for the first data stream, the delay adjustment step size θ and the adjustment time interval τ, where ΔT 2 =T 2 − T 1 , T 1 is the sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device determined before the second data stream is added, T 2 is the sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device determined after the second data stream is added. The second device is a device that receives the data stream sent by the first device; within the period from t x to t x +N*τ, the first device sends the Nth data to the second device, and the Nth data It includes the Nth indication information, and the Nth indication information includes the sum of the time T for indicating that the Nth data stays in the queue system of the first device and the time delayed in the second device N and the actual stay time of the Nth data in the queue system of the first device, where t x is time t or a time after time t, T N =T 1 +N*θ, the Nth data The data is the data in the first data stream, N is an integer greater than 0, and T N is less than or equal to T 2 .
第四方面,提供了一种数据发送的方法,包括:第二设备接收第一设备在t至t+T 1时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流加入之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据;所述第二设备接收所述第一设备在t x至t x+N*τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,θ为时延调整步长,τ为调整时间间隔,N为大于0的整数,所述第N数据是所述第一数据流中的数据,T N小于或等于T 2,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和;所述第二设备根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻;所述第二设备在所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。 In a fourth aspect, a method for sending data is provided, including: a second device receiving first data sent by a first device within a period from t to t+T1, where the first data includes first indication information, and the The first indication information includes T1 and the time that the first data actually stays in the queue system of the first device, wherein T1 is the first data stream determined before the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device, the first data is the data in the first data stream; the second device receives the first data. The Nth data sent by a device within a period from t x to tx +N*τ, the Nth data includes the Nth indication information, and the Nth indication information The sum of the time spent in the queue system of the first device and the time delayed in the second device T N and the time that the Nth data actually stayed in the queue system of the first device, where t x is time t or a time after time t, T N =T 1 +N*θ, θ is the delay adjustment step size, τ is the adjustment time interval, N is an integer greater than 0, and the Nth data is the For the data in the first data stream, T N is less than or equal to T 2 , where T 2 is the difference between the time that the first data stream stays in the queue system of the first device determined after the second data stream is added. The sum of the time delayed in the second device; the second device determines that the Nth data is in The Nth time when the delay ends in the second device; the second device releases the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
第五方面,提供了一种通信装置,包括:收发单元,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流离开,所述第一信令中包括针对第一数据流的第一时延差值ΔT 1或第一时延T 1和第二时延T、时延调整步长θ和调整时间间隔τ,其中,T 1为在所述第二数据流离开之前确定的所述第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备;所述收发单元还用于,在t至t+x时段内,向所述第二设备发送第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,所述第一数据是所述第一数据流中的数据,x为非负数;所述收发单元还用于,在t+x+(N-2)τ至t+x+(N-1)τ 时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,TN=T1-(N-1)θ,所述第N数据是所述第一数据流中的数据,N为大于1的整数,TN大于或等于T。 In a fifth aspect, a communication device is provided, comprising: a transceiver unit configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes The first delay difference ΔT 1 or the first delay T 1 and the second delay T, the delay adjustment step θ and the adjustment time interval τ for the first data stream, where T 1 is the second delay The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device determined before the data stream leaves, T is the total time determined after the second data stream leaves. The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device, where the second device receives the data stream sent by the first device. device; the transceiver unit is further configured to send first data to the second device within a period from t to t+x, where the first data includes first indication information, and the first indication information includes T 1 and the actual stay time of the first data in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number; the transceiver unit is also used for , during the period from t+x+(N-2)τ to t+x+(N-1)τ, send the Nth data to the second device, where the Nth data includes the Nth indication information, and the Nth data The N indication information includes the sum TN for indicating the time the Nth data stays in the queue system of the first device and the time delayed in the second device, and the Nth data in the The actual stay time in the queue system of the first device, where TN=T1-(N-1)θ, the Nth data is the data in the first data stream, N is an integer greater than 1, and TN is greater than 1 or equal to T.
结合第五方面,在第五方面的某些实现方式中,所述通信装置还包括处理单元,所述处理单元,用于使能第一合格时间表ETT,所述第一ETT用于对第三设备发送的所述第一数据流的合格时间进行更新。With reference to the fifth aspect, in some implementations of the fifth aspect, the communication device further includes a processing unit, the processing unit is configured to enable the first qualifying schedule ETT, the first ETT is configured to The qualified time of the first data stream sent by the three devices is updated.
结合第五方面,在第五方面的某些实现方式中,所述第一信令是控制器发送的。With reference to the fifth aspect, in some implementations of the fifth aspect, the first signaling is sent by the controller.
第六方面,提供了一种通信装置,包括:收发单元,用于接收第一设备在t至t+x时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流离开之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据,x为非负数;处理单元,用于根据T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,确定所述第一数据在所述第二设备中被延迟结束时的第一时刻;所述处理单元还用于,在所述第一时刻释放所述第一数据,以使所述第一数据进入所述第二设备的队列系统;所述收发单元还用于,接收所述第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,θ为时延调整步长,τ为调整时间间隔,N为大于1的整数,所述第N数据是所述第一数据流中的数据,T N大于或等于T,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和;所述处理单元还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻;所述处理单元还用于,根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。 In a sixth aspect, a communication apparatus is provided, comprising: a transceiver unit configured to receive first data sent by a first device within a period of time from t to t+x, where the first data includes first indication information, and the The first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, where T 1 is the first data stream determined before the second data stream leaves in the first data stream. The sum of the time spent in the queue system of one device and the time delayed in the second device, the first data is the data in the first data stream, and x is a non-negative number; the processing unit is used for according to T 1 and the actual stay time of the first data in the queue system of the first device to determine the first moment when the first data is delayed in the second device; the processing unit also uses At the first moment, the first data is released, so that the first data enters the queue system of the second device; the transceiver unit is further configured to receive the first device at t+x+ (N-2)τ to t+x+(N-1)τ of the Nth data sent in the period, the Nth data includes the Nth indication information, and the Nth indication information includes the information used to indicate the Nth The sum of the time that the data stays in the queue system of the first device and the time delayed in the second device T N and the time that the Nth data actually stays in the queue system of the first device , where T N =T 1 -(N-1)θ, θ is the delay adjustment step size, τ is the adjustment time interval, N is an integer greater than 1, and the Nth data is in the first data stream data, T N is greater than or equal to T, and T is the difference between the time that the first data stream stays in the queue system of the first device determined after the second data stream leaves The sum of the delayed time; the processing unit is further configured to, according to T N and the time that the Nth data actually stays in the queue system of the first device, determine that the Nth data is in the second The Nth time when the delay ends in the device; the processing unit is further configured to release the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
结合第六方面,在第六方面的某些实现方式中,所述处理单元还用于,使能第二合格时间表ETT,使所述第二ETT记录第N-1时刻,其中,所述第N-1时刻为第N-1数据在所述第二设备中被整形结束时的时刻;所述处理单元具体用于:若所述第N时刻晚于所述第N-1时刻,则使能所述第二ETT表将记录的所述第N-1时刻更新为所述第N时刻,在所述第N时刻释放所述第N数据;若所述第N时刻早于所述第N-1时刻,则在所述第N-1时刻释放所述第N数据。With reference to the sixth aspect, in some implementations of the sixth aspect, the processing unit is further configured to enable the second qualified timetable ETT, so that the second ETT records the N-1th moment, wherein the The N-1th time is the time when the N-1th data is reshaped in the second device; the processing unit is specifically configured to: if the Nth time is later than the N-1th time, then Enable the second ETT table to update the recorded N-1th time to the Nth time, and release the Nth data at the Nth time; if the Nth time is earlier than the Nth time At time N-1, the Nth data is released at the N-1th time.
结合第六方面,在第六方面的某些实现方式中,所述收发单元还用于,在t时刻接收控制器发送的第一信令,所述第一信令用于指示所述第二数据流离开;所述处理单元还用于,根据所述第一信令,使能第二合格时间表ETT,所述第二ETT用于对所述第一设备发送的所述第一数据流的合格时间进行更新。With reference to the sixth aspect, in some implementations of the sixth aspect, the transceiver unit is further configured to receive a first signaling sent by the controller at time t, where the first signaling is used to indicate the second signaling The data stream leaves; the processing unit is further configured to, according to the first signaling, enable a second qualified timetable ETT, where the second ETT is used for the first data stream sent by the first device The qualifying time is updated.
第七方面,提供了一种通信装置,包括:收发单元,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流加入,所述第一信令中包括针对第一数据流的第二时延差 值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在所述第二数据流加入之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备;所述收发单元还用于,在t x至t x+N*τ时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,所述第N数据是所述第一数据流中的数据,N为大于0的整数,T N小于或等于T 2In a seventh aspect, a communication device is provided, comprising: a transceiver unit configured to receive a first signaling at time t, where the first signaling is used to instruct the joining of a second data stream, and the first signaling includes The second delay difference ΔT 2 or the first and second delays T 1 and T 2 , the delay adjustment step θ and the adjustment time interval τ for the first data stream, where ΔT 2 =T 2 −T 1 , T1 is the sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device determined before the second data stream is added, T2 is the sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device after the second data stream is added, the second data stream is The device is a device that receives the data stream sent by the first device; the transceiver unit is further configured to send the Nth data to the second device within the period from t x to t x +N*τ, the The Nth data includes the Nth indication information, and the Nth indication information includes the time between the time that the Nth data stays in the queue system of the first device and the time that is delayed in the second device. and T N and the actual stay time of the Nth data in the queue system of the first device, where t x is the time at or after time t, T N =T 1 +N*θ, the The Nth data is data in the first data stream, N is an integer greater than 0, and T N is less than or equal to T 2 .
第八方面,提供了一种通信装置,包括:收发单元,用于接收第一设备在t至t+T 1时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流加入之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据;所述收发单元还用于,接收所述第一设备在t x至t x+N*τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,θ为时延调整步长,τ为调整时间间隔,N为大于0的整数,所述第N数据是所述第一数据流中的数据,T N小于或等于T 2,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和;所述处理单元还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻;所述处理单元还用于,在所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。 In an eighth aspect, a communication device is provided, comprising: a transceiver unit configured to receive first data sent by a first device within a period of t to t+T1, where the first data includes first indication information, and the The first indication information includes T1 and the time that the first data actually stays in the queue system of the first device, wherein T1 is the first data stream determined before the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device, the first data is data in the first data stream; the transceiver unit is further configured to receive The Nth data sent by the first device in the period from t x to tx +N*τ, the Nth data includes the Nth indication information, and the Nth indication information includes the Nth data for indicating the Nth data The sum T N of the time spent in the queue system of the first device and the time delayed in the second device and the time that the Nth data actually stayed in the queue system of the first device, Among them, t x is time t or time after time t, T N =T 1 +N*θ, θ is the delay adjustment step size, τ is the adjustment time interval, N is an integer greater than 0, the Nth data is the data in the first data stream, T N is less than or equal to T 2 , and T 2 is the first data stream determined after the second data stream is added to stay in the queue system of the first device The sum of the time and the time delayed in the second device; the processing unit is further configured to, according to T N and the actual stay time of the Nth data in the queue system of the first device, determine The Nth time when the Nth data is delayed in the second device; the processing unit is further configured to release the Nth data at the Nth time, so that the Nth data enters the the queue system of the second device.
第九方面,提供一种通信设备,包括:处理器和收发器,所述收发器用于接收计算机代码或指令,并传输至所述处理器,所述处理器运行所述计算机代码或指令,如第一方面或第一方面任意可能的实现方式中的方法。In a ninth aspect, a communication device is provided, comprising: a processor and a transceiver, the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, such as The method of the first aspect or any possible implementation of the first aspect.
第十方面,提供一种通信设备,包括:处理器和收发器,所述收发器用于接收计算机代码或指令,并传输至所述处理器,所述处理器运行所述计算机代码或指令,如第二方面或第二方面任意可能的实现方式中的方法。In a tenth aspect, a communication device is provided, comprising: a processor and a transceiver, wherein the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, such as The method of the second aspect or any possible implementation of the second aspect.
第十一方面,提供一种通信设备,包括:处理器和收发器,所述收发器用于接收计算机代码或指令,并传输至所述处理器,所述处理器运行所述计算机代码或指令,如第三方面或第三方面任意可能的实现方式中的方法。In an eleventh aspect, a communication device is provided, comprising: a processor and a transceiver, wherein the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, A method as in the third aspect or any possible implementation manner of the third aspect.
第十二方面,提供一种通信设备,包括:处理器和收发器,所述收发器用于接收计算机代码或指令,并传输至所述处理器,所述处理器运行所述计算机代码或指令,如第四方面或第四方面任意可能的实现方式中的方法。A twelfth aspect provides a communication device, comprising: a processor and a transceiver, the transceiver is configured to receive computer code or instructions and transmit them to the processor, and the processor executes the computer code or instructions, A method as in the fourth aspect or any possible implementation manner of the fourth aspect.
第十三方面,提供了一种计算机可读存储介质,所述计算机可读介质存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行第一方面或第一方面任意可能的 实现方式中的方法。A thirteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program is run on a computer, the computer causes the computer to execute the first aspect or any possible implementation of the first aspect method in method.
第十四方面,提供了一种计算机可读存储介质,所述计算机可读介质存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行第二方面或第二方面任意可能的实现方式中的方法。A fourteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program runs on a computer, the computer causes the computer to execute the second aspect or any possible implementation of the second aspect method in method.
第十五方面,提供了一种计算机可读存储介质,所述计算机可读介质存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行第三方面或第三方面任意可能的实现方式中的方法。A fifteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program is run on a computer, the computer causes the computer to execute the third aspect or any possible implementation of the third aspect method in method.
第十六方面,提供了一种计算机可读存储介质,所述计算机可读介质存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行第四方面或第四方面任意可能的实现方式中的方法。A sixteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable medium; when the computer program runs on a computer, the computer enables the computer to execute the fourth aspect or any possible implementation of the fourth aspect method in method.
附图说明Description of drawings
图1是突发累积的形成过程示意图。FIG. 1 is a schematic diagram of the formation process of burst accumulation.
图2是循环排队和转发的调度过程示意图。FIG. 2 is a schematic diagram of the scheduling process of circular queuing and forwarding.
图3是damper基本模型示意图。Figure 3 is a schematic diagram of the basic model of damper.
图4是本申请实施例适用的系统场景示意图。FIG. 4 is a schematic diagram of a system scenario to which this embodiment of the present application is applicable.
图5是本申请实施例的一种数据发送的方法的示意性流程图。FIG. 5 is a schematic flowchart of a data sending method according to an embodiment of the present application.
图6是本申请实施例的一种通信装置的示意性框图。FIG. 6 is a schematic block diagram of a communication apparatus according to an embodiment of the present application.
图7是本申请实施例的另一种通信装置的示意性框图。FIG. 7 is a schematic block diagram of another communication apparatus according to an embodiment of the present application.
图8是本申请实施例的一种通信设备的示意性框图。FIG. 8 is a schematic block diagram of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例可以应用于各种通信系统,例如无线局域网系统(wireless local area network,WLAN)、窄带物联网系统(narrow band-internet of things,NB-IoT)、全球移动通信系统(global system for mobile communications,GSM)、增强型数据速率GSM演进系统(enhanced data rate for gsmevolution,EDGE)、宽带码分多址系统(wideband code division multiple access,WCDMA)、码分多址2000系统(code division multiple access,CDMA2000)、时分同步码分多址系统(time division-synchronization code division multiple access,TD-SCDMA),长期演进系统(long term evolution,LTE)、卫星通信、第五代(5th generation,5G)系统或者将来出现的新的通信系统等。The embodiments of the present application may be applied to various communication systems, such as a wireless local area network (WLAN), a narrowband Internet of things (NB-IoT), a global system for mobile communications (global system for mobile communications, GSM), enhanced data rate for GSM evolution (enhanced data rate for gsmevolution, EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 system (code division multiple access) , CDMA2000), time division-synchronization code division multiple access system (time division-synchronization code division multiple access, TD-SCDMA), long term evolution system (long term evolution, LTE), satellite communication, fifth generation (5th generation, 5G) system Or new communication systems that will appear in the future.
本申请实施例中所涉及到的终端设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。终端可以是移动台(mobile station,MS)、用户单元(subscriber unit)、用户设备(user equipment,UE)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handset)、膝上型电脑(laptop computer)、机器类型通信(machine type communication,MTC)终端等。The terminal devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem. The terminal can be a mobile station (mobile station, MS), a subscriber unit (subscriber unit), user equipment (user equipment, UE), a cellular phone (cellular phone), a smart phone (smart phone), a wireless data card, a personal digital assistant ( personal digital assistant, PDA) computer, tablet computer, wireless modem (modem), handheld device (handset), laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal, etc.
确定性网络是当前的业界热点,确定性网络的需求来自于工业互联网、智能工厂、可 编程序控制器(programmable logic controller,PLC)拉远和云化等业务,也来自于增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)实时交互、远程手术、触觉互联网等远程实时业务,其核心在于保证业务流的端到端带宽、时延和抖动。Deterministic networking is a hot spot in the current industry. The demand for deterministic networking comes from businesses such as the Industrial Internet, smart factories, remote programmable logic controllers (PLCs) and cloudification, as well as augmented reality (augmented reality). , AR)/virtual reality (VR) real-time interaction, remote surgery, tactile Internet and other remote real-time services, the core of which is to ensure the end-to-end bandwidth, delay and jitter of the service flow.
“确定性时延”指报文在服从一定突发性要求的前提下,报文传输所经历的时延及抖动满足上界。如果要满足报文端到端的确定性时延及抖动,就需要实现规模可扩展(适用于大网)的数据面确定性报文调度。"Deterministic delay" means that the delay and jitter experienced by the packet transmission meet the upper bound on the premise that the packet obeys certain burst requirements. To meet the end-to-end deterministic delay and jitter of packets, it is necessary to implement deterministic packet scheduling on the data plane that is scalable (suitable for large networks).
传统网际协议(internet protocol,IP)网络中,由于突发累积的存在,导致其无法为某条流提供确定性的端到端时延和抖动。传统IP网络中存在突发累积,突发累积是导致时延不确定的根本原因。突发累积形成的原因是不同报文之间的相互挤压。如图1所示,出示了突发累积的形成过程示意图,图1中三条不同数据流同时到达节点A的时候是完全均匀的,由于设备只能线速处理报文,导致其中一条流受到其他两条流的挤压,从而导致其中一条流的两个连续报文紧挨在了一起,突发度增加。以上过程若干次循环之后,会导致某条流形成一个难以预测大突发,大突发进一步会挤压其他流,导致其他流的时延增加,并且难以预测。In the traditional Internet Protocol (IP) network, due to the existence of burst accumulation, it cannot provide deterministic end-to-end delay and jitter for a flow. Burst accumulation exists in traditional IP networks, and burst accumulation is the root cause of delay uncertainty. The reason for the accumulation of bursts is the squeezing of different packets. As shown in Figure 1, a schematic diagram of the formation process of burst accumulation is shown. In Figure 1, when three different data streams arrive at node A at the same time, they are completely uniform. Since the device can only process packets at line speed, one of the streams is affected by the other The squeezing of the two streams causes two consecutive packets of one of the streams to be next to each other, and the burst degree increases. After several cycles of the above process, a flow will form an unpredictable large burst, and the large burst will further squeeze other flows, causing the delay of other flows to increase, and it is difficult to predict.
在现有的技术方案中,例如,加权公平队列(weighted fair queue,WFQ)按每流的预留带宽等比例分配权重,基于系统虚拟时间和权重进行整形。基于时戳的持续调度算法。这类算法都使用了类似的“分组有序排队”机制(sorted priority queue mechanism)。这种机制根据系统状态为每个到达分组计算一个时戳(time stamp),并以这个时戳作为分组调度优先顺序的度量指标。但是,需要维护逐流的队列,虚拟时间维护复杂度高,可扩展性差。In the existing technical solution, for example, a weighted fair queue (WFQ) allocates weights in equal proportions to the reserved bandwidth of each flow, and performs shaping based on system virtual time and weights. Timestamp-based persistent scheduling algorithm. These algorithms all use a similar "sorted priority queue" mechanism. This mechanism calculates a time stamp for each arriving packet according to the system state, and uses this time stamp as a metric for the priority order of packet scheduling. However, a flow-by-flow queue needs to be maintained, the maintenance of virtual time is complex, and the scalability is poor.
如图2所示,出示了循环排队和转发(cyclic queueing and forwarding,CQF)的调度过程示意图。网络节点以T为周期进行整形和调度,周期流量bi=ri*T,其中,ri为数据流i所需要的带宽量。CQF中节点A在x周期内发送的报文在下一跳节点B的x周期被接收完,并在x+1周期发送。对于长度为h的路径,总时延为hT。最大总时延为(h+1)T,最小总时延为(h-1)T,抖动为2T。为了实现该方案,需要全网节点时钟边缘对齐;且链路延时被包含在T内,不能支持长距离链路。现有解决上述问题的技术要么依赖于全网设备的时间同步,要么对传输距离有限制,很难适用于大规模IP网络。As shown in Figure 2, a schematic diagram of the scheduling process of cyclic queuing and forwarding (CQF) is shown. The network node performs shaping and scheduling with T as a period, and the periodic traffic bi=ri*T, where ri is the bandwidth required by the data flow i. In CQF, the packets sent by node A in cycle x are received in cycle x of next hop node B, and sent in cycle x+1. For a path of length h, the total delay is hT. The maximum total delay is (h+1)T, the minimum total delay is (h-1)T, and the jitter is 2T. In order to realize this scheme, it is necessary to align the clock edges of nodes in the whole network; and the link delay is included in T, which cannot support long-distance links. The existing technologies to solve the above problems either rely on the time synchronization of the entire network devices, or have limitations on the transmission distance, which are difficult to apply to large-scale IP networks.
目前,提出了基于整形器(damper)模型的报文发送方案,如图3所示,出示了damper基本模型示意图。基本工作原理包括:At present, a message sending scheme based on a shaper (damper) model is proposed, as shown in Figure 3, which shows a schematic diagram of the basic damper model. Basic working principles include:
1)一个damper可以看做是下游节点上的一个整形器,该整形器对上游节点发送过来的流量进行整形(主动延迟);1) A damper can be regarded as a shaper on the downstream node, which shapes the traffic sent by the upstream node (active delay);
2)一个damper和上游节点某个出口的队列系统(queueing system)共同组成一个对(pair);2) A damper and the queuing system of an outlet of an upstream node together form a pair;
3)上游节点h根据网络中当前接入的流量,计算任意报文在h中可能停留的最大时延,记为D h;注意,如果上游节点也有damper模块,该D h不包括报文在h的damper中停留的时间,对应图3中的p+q的最大值; 3) The upstream node h calculates the maximum delay that any message may stay in h according to the current access traffic in the network, which is recorded as D h ; note that if the upstream node also has a damper module, this D h does not include the message The time spent in the damper of h corresponds to the maximum value of p+q in Figure 3;
4)记录每个报文在节点h的队列系统中实际的停留时间,对应图3中的p+q实际值,并逐报文携带该信息,其中,p为进入队列系统的处理时间,且为常数,q为在队列系统中的排队时间;4) Record the actual stay time of each message in the queue system of node h, corresponding to the actual value of p+q in Figure 3, and carry this information message by message, where p is the processing time of entering the queue system, and is a constant, q is the queuing time in the queuing system;
5)下游节点h+1收到报文后,将该报文在damper中主动停留d=D h–(p+q的实际值), 然后再释放给交换结构(switch fabric)和队列系统,该释放时刻称为该报文的合格时间(eligibility time); 5) After the downstream node h+1 receives the message, it actively stays in the damper for d=D h – (the actual value of p+q), and then releases it to the switch fabric and the queuing system. The release time is called the eligibility time of the message;
6)D h的计算基于网络中现有的流的参数,例如平均流速率(rate)和流突发度大小(burst),利用网络演算理论进行计算,每条流都会对D h有一定的贡献量;网络演算理论保证,节点h上的任意报文,从p的起始点开始计算,在D h时间内必然能够被发送出去; 6) The calculation of D h is based on the existing flow parameters in the network, such as the average flow rate (rate) and the flow burst size (burst), and is calculated using the network calculus theory, each flow will have a certain amount of D h . Contribution; network calculus theory guarantees that any message on node h, calculated from the starting point of p, must be sent out within D h time;
7)所有经过同一出口的流量,不论是否属于同一条流,均采用相同的D h7) All flows through the same outlet, whether they belong to the same flow or not, use the same D h .
damper的理论效果:The theoretical effect of damper:
任意报文在一个pair中停留的时间相同,在节点h中停留时间短的报文,则在节点h+1的damper中停留时间长,反之亦然;二者总和永远等于D h;任意流经过一个pair之后,输出的流量模型和其进入pair的流量模型相同,消除了突发的逐跳累积;端到端的确定性时延保障。 Any message stays in a pair for the same time, and a message with a short stay in node h will stay in the damper of node h+1 for a long time, and vice versa; the sum of the two is always equal to D h ; any flow After a pair, the output traffic model is the same as the traffic model entering the pair, eliminating burst-by-hop accumulation; end-to-end deterministic delay guarantee.
对于设备h的任意出口,其D h的计算是基于端口当前的流状态的,所以,当网络中某条存在的流离开时,会导致离开后的新的D h(记为D hnew)比原来的Dmax(记为D hold)更小。由于某些流的离开,导致其他通过相同端口的仍然存在的流的实际突发度相比damper模型下的突发度增加。由于D hnew是利用仍然存在的流的原始突发度进行计算的,所以增加后的突发度更大,导致报文无法在D hnew时间内发送完毕,damper的逐跳流量模型不变的特性不再成立,从而无法保证确定性时延。另一方面,由于D h的变更,可能会有连续的若干报文分别采用D hold和D hnew,导致后到的报文的eligibility time可能会早于先到的报文,发生乱序。 For any exit of device h, the calculation of D h is based on the current flow state of the port. Therefore, when an existing flow in the network leaves, it will result in a new D h after leaving (denoted as D h new) It is smaller than the original Dmax (denoted as D old). Due to the departure of some flows, the actual burstiness of other still-existing flows through the same port is increased compared to that under the damper model. Since D h new is calculated by using the original burst degree of the still existing flow, the increased burst degree is larger, resulting in that the packet cannot be sent within the D h new time, and the hop-by-hop traffic model of damper remains unchanged. The properties of , no longer hold, so that deterministic latency cannot be guaranteed. On the other hand, due to the change of D h , there may be several consecutive packets using D old and D h new respectively , resulting in the eligibility time of the later arriving packet may be earlier than the first arriving packet, resulting in out of order. .
为此,本申请实施例提出了一种数据发送的方法,可以解决上述由于流离开而引起的时延不确定的问题。本申请是在damper的基本模型上,提供了一种D h梯度递减的方法解决流离开引起的时延不确定的问题,同时配合以一种基于合格时间表(eligibility time table,ETT)的方案来解决报文乱序的问题。 To this end, an embodiment of the present application proposes a method for sending data, which can solve the above-mentioned problem of uncertain time delay caused by flow departure. Based on the basic model of damper, the present application provides a method of decreasing the gradient of D h to solve the problem of uncertain delay caused by flow departure, and at the same time cooperates with a scheme based on eligibility time table (ETT) to solve the problem of out-of-order packets.
如图4所示,出示了本申请适用的系统场景示意图。本申请适用于任意规模的IP网络环境下,包括大规模的运营商网络、较小规模的园区网络等。报文从发送端节点经过边缘节点汇聚到核心节点,再由边缘节点送达对端节点的确定性时延。As shown in FIG. 4 , a schematic diagram of a system scenario applicable to this application is shown. This application is applicable to IP network environments of any scale, including large-scale operator networks, smaller-scale campus networks, and the like. The deterministic delay of the packet from the sender node to the core node through the edge node, and then from the edge node to the peer node.
本申请上述效果有如下预设条件:The above effects of this application have the following preset conditions:
(1)假设路径确定,路径各接口上为flow i预留带宽ri,其中:flow i为数据流i,ri为数据流i所需要的带宽量;(1) Assuming that the path is determined, the bandwidth ri is reserved for flow i on each interface of the path, where: flow i is data flow i, and ri is the amount of bandwidth required by data flow i;
(2)端侧发送流量符合:Ai(t)=rit+Bi,其中,Ai(t)为在t时间内数据流i的数据总流量,rit为平均带宽,Bi为数据流i的突发流量;(2) The traffic sent by the end-side conforms to: Ai(t)=rit+Bi, where Ai(t) is the total data flow of data stream i in time t, rit is the average bandwidth, and Bi is the burst of data stream i flow;
(3)对于发送流量不满足以上模型的,边缘节点逐流漏桶整形,使得进入网络的流量满足以上模型。(3) For the sending traffic that does not meet the above model, the edge node will shape the flow-by-flow leaky bucket, so that the traffic entering the network meets the above model.
如图5所示,出示了本申请实施例提出的一种数据发送的方法的示意性流程图。As shown in FIG. 5 , a schematic flowchart of a data sending method proposed by an embodiment of the present application is shown.
在t时刻之前,第一设备用于传输第一数据流和至少一个第二数据流,该情况下,第一设备根据控制器下发的指示信息或者通过计算确定第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和T 1,T 1即为第一数据流在第一设备中的确定性时延,第一设备使第一数据流中的数据在第一设备中停留一定时间后,将第一数据 流中的数据发送给第二设备,且发送给第二设备的数据中携带该数据在第一设备的队列系统中实际停留的时间a以及T 1,第二设备接收到第一设备发送的第一数据流中的数据后,将该数据在第二设备的damper中整形,在damper中主动停留T 1-a后,释放该数据,使该数据进入该第二设备的队列系统。其中,第一设备为第二设备的上游设备,第二设备为第一设备的下游设备。 Before time t, the first device is used to transmit the first data stream and at least one second data stream. In this case, the first device determines that the first data stream is in the first device according to the instruction information sent by the controller or through calculation. The sum of the time spent in the queue system and the time delayed in the second device T 1 , T 1 is the deterministic delay of the first data stream in the first device, and the first device makes the first data stream in the first device. After the data stays in the first device for a certain period of time, the data in the first data stream is sent to the second device, and the data sent to the second device carries the actual stay time of the data in the queue system of the first device a and T 1 , after receiving the data in the first data stream sent by the first device, the second device reshapes the data in the damper of the second device, and releases the data after actively staying in the damper for T 1 -a , so that the data enters the queue system of the second device. The first device is an upstream device of the second device, and the second device is a downstream device of the first device.
在t时刻,第二数据流离开,控制器(控制面)可以确定第二数据流离开后第一数据流流经第一设备向第二设备传输的新的确定性时延T,即T为在第二数据流离开之后确定的第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,控制器也可以计算出T与T 1之间的时延降低量ΔT;控制器可以向第一设备发送第一信令,该第一信令用于指示一个或多个第二数据流离开,且该第一信令中可以包括T和T 1,也可以只包括ΔT,还可以同时包括T、T 1以及ΔT,本申请对此不做任何限定。可选的,第一设备也可以自行计算针对第一数据流的新的确定性时延T。应理解,流离开是指不再为该流预留资源,通常是用户和服务提供商(internet server provider,ISP)合同到期,时间一定是可以知道的;合同未到期但是用户不发送流量不叫流离开。ΔT的大小可以根据网络演算(network calculus)理论计算得到,具体的确定过程本申请不关心。可选的,入口网络设备向该第一设备发送的数据报文中也可以携带该第一信令。 At time t, when the second data stream leaves, the controller (control plane) can determine a new deterministic delay T for the first data stream to be transmitted through the first device to the second device after the second data stream leaves, that is, T is The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device determined after the second data stream leaves, the controller can also calculate the time between T and T 1 Delay reduction amount ΔT; the controller may send first signaling to the first device, where the first signaling is used to instruct one or more second data streams to leave, and the first signaling may include T and T 1 , it can also only include ΔT, and can also include T, T 1 and ΔT at the same time, which is not limited in this application. Optionally, the first device may also calculate a new deterministic delay T for the first data stream by itself. It should be understood that the flow leaving means that resources are no longer reserved for the flow, usually the contract between the user and the service provider (internet server provider, ISP) expires, and the time must be known; the contract has not expired but the user does not send traffic Don't call the flow away. The size of ΔT can be calculated according to the network calculus theory, and the application does not care about the specific determination process. Optionally, the data packet sent by the ingress network device to the first device may also carry the first signaling.
510,在t时刻,第一设备接收第一信令,该第一信令用于指示一个或多个第二数据流离开,第一信令中可以包括针对第一数据流的第一时延T 1、第二时延T、时延调整步长θ和调整时间间隔τ。可选的,第一信令中也可以只包括T与T 1之间的差值ΔT,或者,第一信令中同时包括T、T 1以及ΔT。其中,T为确定出的针对第一数据流的最短时延,换言之,T为第一数据流中数据在第一设备中停留的时间与在第二设备中被延迟的时间之和的最小值;θ为多次调整时延的调整步长,可以防止相邻两次时延的调整量过大导致突发度增加,θ的大小要确保对到达曲线(arrival curve)的影响降低到时钟误差级别,保证对性能没有任何影响。 510. At time t, the first device receives first signaling, where the first signaling is used to instruct one or more second data streams to leave, and the first signaling may include a first delay for the first data stream T 1 , the second delay T, the delay adjustment step θ and the adjustment time interval τ. Optionally, the first signaling may also include only the difference ΔT between T and T 1 , or the first signaling may include T, T 1 and ΔT at the same time. Among them, T is the determined shortest delay for the first data stream, in other words, T is the minimum value of the sum of the time that the data in the first data stream stays in the first device and the time that is delayed in the second device ; θ is the adjustment step size of multiple adjustment delays, which can prevent the excessive adjustment of the adjacent two delays from increasing the burst degree. The size of θ should ensure that the impact on the arrival curve is reduced to the clock error. level, guaranteed to have no impact on performance.
应理解,第二数据流离开后,控制器可以向第一数据流经过的所有设备发送流离开信令,该信令同时通知相关设备的调整参数。It should be understood that after the second data stream leaves, the controller may send a stream leaving signaling to all devices that the first data stream passes through, and the signaling simultaneously notifies the adjustment parameters of the relevant devices.
520,在t至t+x时段内,第一设备向第二设备发送第一数据,该第一数据中包括第一指示信息,该第一指示信息中包括用于指示该第一数据在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和T 1和该第一数据在第一设备的队列系统中实际停留的时间,其中,该第一数据为第一数据流中的数据,x为非负数,且x可以等于T 1。T 1为第一数据的确定性时延。应理解,第一设备向第二设备发送数据的时间为数据进入第一设备的队列系统的时间。 520. During the period from t to t+x, the first device sends first data to the second device, where the first data includes first indication information, and the first indication information includes instructions for indicating that the first data is in the first data. The sum T1 of the time spent in the queue system of one device and the time delayed in the second device and the time that the first data actually stayed in the queue system of the first device, wherein the first data is the first The data in the data stream, x is a non-negative number, and x can be equal to T 1 . T 1 is the deterministic delay of the first data. It should be understood that the time when the first device sends data to the second device is the time when the data enters the queue system of the first device.
530,第二设备接收第一设备在t至t+x时段内向该第二设备发送的第一数据。530. The second device receives the first data sent by the first device to the second device within the period from t to t+x.
540,第二设备根据第一数据中包括的T 1和第一数据在第一设备的队列系统中实际停留的时间,确定第一数据在第二设备中被延迟结束时的第一时刻。例如,第二设备在t 1时刻接收到第一设备发送的第一数据,第一数据在第一设备的队列系统中实际停留的时间为a 1,则第一时刻为t 1+a 1540. The second device determines the first moment when the first data is delayed in the second device and ends according to T1 included in the first data and the time that the first data actually stays in the queue system of the first device. For example, if the second device receives the first data sent by the first device at time t 1 , and the time that the first data actually stays in the queue system of the first device is a 1 , the first time is t 1 +a 1 .
550,第二设备在第一时刻释放该第一数据,以使第一数据进入该第二设备的队列系统。550. The second device releases the first data at the first moment, so that the first data enters the queue system of the second device.
在t+x至t+x+τ时段内,第一设备向第二设备发送第二数据,第二数据中包括第二指示信息,该第二指示信息包括用于指示第二数据在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和T 2和该第二数据在所述第一设备的队列系统中实际停留的时间,其中,T 2=T 1-θ,第二数据是第一数据流中的数据。第二设备接收第一设备在t+x至t+x+τ时段内发送的第二数据。第二设备根据T 2和第二数据在所述第一设备的队列系统中实际停留的时间,确定第二数据在第二设备中被延迟结束时的第二时刻。第二设备在第二时刻释放该第二数据,以使所述第二数据进入第二设备的队列系统。 During the period from t+x to t+x+τ, the first device sends second data to the second device, where the second data includes second indication information, where the second indication information includes instructions for indicating that the second data is in the first The sum of the time spent in the queue system of the device and the time delayed in the second device T 2 and the time that the second data actually stayed in the queue system of the first device, where T 2 =T 1 − θ, the second data is the data in the first data stream. The second device receives the second data sent by the first device within a period of t+x to t+x+τ. The second device determines, according to T 2 and the time that the second data actually stays in the queue system of the first device, the second moment when the second data is delayed in the second device and ends. The second device releases the second data at the second moment, so that the second data enters the queue system of the second device.
具体而言,可选的,第二设备确定完第一数据在第二设备中被延迟结束时的第一时刻后,第二设备使能该第二设备维护的第二合格时间表ETT,使第二ETT记录第一时刻的具体时间。由于第二数据流离开后,控制器会向所有第一数据流所经过的设备发送流离开信令,即控制器在t时刻也会向第二设备发送用于指示第二数据流离开的信令,则第二设备也可以在接收到该信令后,立即使能其维护的第二ETT,使第二ETT记录释放第一数据流中数据的具体时刻。Specifically, optionally, after the second device determines the first moment when the first data is delayed in the second device, the second device enables the second qualified timetable ETT maintained by the second device, so that The second ETT records the specific time of the first moment. After the second data flow leaves, the controller will send flow leaving signaling to all the devices that the first data flow passes through, that is, the controller will also send a signal to the second device to instruct the second data flow to leave at time t. command, the second device may also immediately enable the second ETT maintained by the second device after receiving the signaling, so that the second ETT records the specific moment at which the data in the first data stream is released.
在第二设备根据第一设备发送的第二数据,确定出第二数据在第二设备中被延迟结束时的第二时刻后,第二设备判断第一时刻和第二时刻的早晚;若第二时刻晚于第一时刻,则第二设备使能其维护的第二ETT表将记录的所述第一时刻更新为所述第二时刻,在第二时刻释放第二数据;若第二时刻早于第一时刻,则第二设备在第一时刻释放第二数据,从而可以防止乱序。After the second device determines the second time when the second data is delayed in the second device according to the second data sent by the first device, the second device determines the morning and evening of the first time and the second time; The second time is later than the first time, the second device enables the second ETT table maintained by the second device to update the recorded first time to the second time, and releases the second data at the second time; if the second time Earlier than the first moment, the second device releases the second data at the first moment, thereby preventing disorder.
560,在t+x+(N-2)τ至t+x+(N-1)τ时段内,第一设备向第二设备发送第N数据,第N数据中包括第N指示信息,该第N指示信息包括用于指示该第N数据在第一设备的队列系统中停留的时间与在第二设备的damper中被延迟的时间之和T N和该第N数据在第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,第N数据是第一数据流中的数据,其中,N为大于1的整数,T N大于或等于T。其中,T N是以步长为θ、时间间隔为τ递减调整的,要确保第一数据流流经第一设备的时延对其他设备突发度增加的影响降低到时钟误差级别。 560. During the period from t+x+(N-2)τ to t+x+(N-1)τ, the first device sends the Nth data to the second device, the Nth data includes the Nth indication information, the Nth data The indication information includes the sum T N for indicating that the Nth data stays in the queue system of the first device and the time delayed in the damper of the second device, and the Nth data is in the queue system of the first device. The actual stay time, where T N =T 1 -(N-1)θ, the Nth data is the data in the first data stream, where N is an integer greater than 1, and T N is greater than or equal to T. Wherein, T N is adjusted with a step size of θ and a time interval of τ. It is necessary to ensure that the impact of the delay of the first data stream flowing through the first device on the increase of the burst degree of other devices is reduced to the clock error level.
570,第二设备接收第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据。570. The second device receives the Nth data sent by the first device in the period from t+x+(N-2)τ to t+x+(N-1)τ.
580,第二设备根据T N和第N数据在第一设备的队列系统中实际停留的时间,确定第N数据在第二设备中被延迟结束时的第N时刻。 580. The second device determines, according to T N and the time that the Nth data actually stays in the queue system of the first device, the Nth time when the Nth data is delayed in the second device and ends.
590,第二设备根据第N时刻释放第N数据,以使第N数据进入第二设备的队列系统。590. The second device releases the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
具体而言,可选的,在第二设备确定完第N-1数据在第二设备中被延迟结束时的第N-1时刻之后,第二设备使能第二合格时间表ETT记录第N-1时刻;若第N时刻晚于第N-1时刻,则第二设备使能所述第二ETT表将记录的第N-1时刻更新为第N时刻,在第N时刻释放第N数据;若第N时刻早于第N-1时刻,则第二设备在第N-1时刻释放第N数据,不使能第二ETT表更新记录的第N-1时刻;从而可以防止乱序。Specifically, optionally, after the second device determines the N-1th time when the N-1th data is delayed in the second device, the second device enables the second qualified timetable ETT to record the Nth -1 time; if the Nth time is later than the N-1th time, the second device enables the second ETT table to update the recorded N-1th time to the Nth time, and releases the Nth data at the Nth time ; If the Nth time is earlier than the N-1th time, the second device releases the Nth data at the N-1th time, and does not enable the N-1th time of the second ETT table to update the record; thus, disorder can be prevented.
可选的,在t时刻,第二设备接收控制器发送的第一信令,该第一信令用于指示第二数据流离开;第二设备根据第一信令,使能第二合格时间表ETT,使第二ETT对第一设备发送的第一数据流的合格时间进行更新,记录最晚的释放第一数据流中数据的时刻。Optionally, at time t, the second device receives the first signaling sent by the controller, where the first signaling is used to instruct the second data stream to leave; the second device enables the second qualifying time according to the first signaling The table ETT enables the second ETT to update the qualified time of the first data stream sent by the first device, and records the latest time when the data in the first data stream is released.
可选的,第一设备接收到控制器发送的第一信令之后,使能该第一设备维护的第一合格时间表ETT,第一ETT用于对第三设备发送的第一数据流的合格时间进行更新,其中, 第三设备为第一设备的上游设备。应理解,第一设备、第二设备和第三设备可以为入口网关设备,也可以为路由器等。Optionally, after the first device receives the first signaling sent by the controller, it enables the first qualified timetable ETT maintained by the first device, and the first ETT is used to update the first data stream sent by the third device. The qualified time is updated, wherein the third device is an upstream device of the first device. It should be understood that the first device, the second device and the third device may be ingress gateway devices, routers and the like.
在本申请实施例提供的技术方案中,若第二数据流离开,通过梯度递减的方法确定第一数据流流经第一设备的时延,以确保时延的减小对其他设备的突发度的增加的影响降到时钟误差级别,从而保证时延的确定性。In the technical solution provided by the embodiment of the present application, if the second data stream leaves, the time delay of the first data stream flowing through the first device is determined by the gradient decreasing method, so as to ensure that the reduction of the time delay causes bursts of other devices The effect of increasing degrees is reduced to the clock error level, thus ensuring the determinism of the delay.
本申请实施例提出了另一种数据发送的方法,包括:The embodiment of the present application proposes another method for sending data, including:
在t时刻,第一设备接收第一信令,第一信令用于指示第二数据流加入,该第一信令中包括针对第一数据流的第二时延差值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在第二数据流加入之前确定的第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在第二数据流加入之后确定的第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,第二设备为接收第一设备发送的数据流的设备; At time t, the first device receives the first signaling, the first signaling is used to instruct the second data stream to join, and the first signaling includes the second delay difference value ΔT 2 or the first data stream for the first data stream. Time delay T 1 and second time delay T 2 , time delay adjustment step θ and adjustment time interval τ, wherein ΔT 2 =T 2 −T 1 , and T 1 is the first data determined before the second data stream is added The sum of the time that the flow stays in the queue system of the first device and the time that it is delayed in the second device, T 2 is the first data flow determined after the second data flow joins in the queue system of the first device. The sum of the time and the time delayed in the second device, the second device is the device that receives the data stream sent by the first device;
在t x至t x+N*τ时段内,第一设备向第二设备发送第N数据,该第N数据中包括第N指示信息,该第N指示信息包括用于指示第N数据在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和T N和第N数据在第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,第N数据是第一数据流中的数据,N为大于0的整数,T N小于或等于T 2During the period from t x to t x +N*τ, the first device sends the Nth data to the second device, where the Nth data includes the Nth indication information, and the Nth indication information The sum of the time spent in the queue system of one device and the time delayed in the second device, T N and the time that the Nth data actually stayed in the queue system of the first device, where t x is time t or time t At a later time, T N =T 1 +N*θ, the Nth data is the data in the first data stream, N is an integer greater than 0, and T N is less than or equal to T 2 ;
第二设备接收第一设备在t x至t x+N*τ时段内发送的第N数据,该第N数据是第一数据流中的数据,T N小于或等于T 2The second device receives the Nth data sent by the first device within the time period from tx to tx +N*τ, where the Nth data is data in the first data stream, and T N is less than or equal to T 2 ;
第二设备根据T N和第N数据在第一设备的队列系统中实际停留的时间,确定第N数据在第二设备中被延迟结束时的第N时刻; The second device determines the Nth time when the Nth data is delayed in the second device and ends according to T N and the time that the Nth data actually stays in the queue system of the first device;
第二设备在第N时刻释放第N数据,以使第N数据进入第二设备的队列系统。The second device releases the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
在本申请实施例提供的技术方案中,若第二数据流加入,通过梯度递增的方法确定第一数据流流经第一设备的时延,以减小抖动。In the technical solution provided by the embodiment of the present application, if the second data stream is added, the time delay of the first data stream flowing through the first device is determined by a gradient increment method, so as to reduce jitter.
本申请实施例提供了一种通信装置,如图6所示,出示了本申请实施例提供的一种通信装置600的示意性框图。该通信装置600可以是实现图5方法实施例中第一设备中的部件,例如一种芯片。该通信装置600包括:An embodiment of the present application provides a communication apparatus. As shown in FIG. 6 , a schematic block diagram of a communication apparatus 600 provided by an embodiment of the present application is shown. The communication apparatus 600 may be a component in the first device implementing the method embodiment of FIG. 5 , such as a chip. The communication device 600 includes:
收发单元610,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流离开,所述第一信令中包括针对第一数据流的第一时延T 1、第二时延T、时延调整步长θ和调整时间间隔τ,其中,T 1为在所述第二数据流离开之前确定的所述第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; The transceiver unit 610 is configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes a first time delay T 1 for the first data stream , the second delay T, the delay adjustment step θ and the adjustment time interval τ, where T 1 is the first data stream determined before the second data stream leaves the queue system of the first device to stay The sum of the time and the time delayed in the second device, T is the time that the first data stream stays in the queue system of the first device determined after the second data stream leaves and the time that the first data stream stays in the queue system of the first device The sum of the delayed time in the second device, the second device is a device that receives the data stream sent by the first device;
所述收发单元610还用于,在t至t+x时段内,向所述第二设备发送第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,所述第一数据是所述第一数据流中的数据,x为非负数; The transceiver unit 610 is further configured to send first data to the second device within a period from t to t+x, where the first data includes first indication information, and the first indication information includes T 1 and the time that the first data actually stays in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number;
所述收发单元610还用于,在t+x+(N-2)τ至t+x+(N-1)τ时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和 T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,所述第N数据是所述第一数据流中的数据,N为大于1的整数,T N大于或等于T。 The transceiver unit 610 is further configured to send the Nth data to the second device within the period from t+x+(N-2)τ to t+x+(N-1)τ, where the Nth data includes: Nth indication information, where the Nth indication information includes the sum of the time that the Nth data stays in the queue system of the first device and the time delayed in the second device, T N sum The actual stay time of the Nth data in the queue system of the first device, where T N =T 1 -(N-1)θ, and the Nth data is the data in the first data stream , N is an integer greater than 1, and T N is greater than or equal to T.
可选的,所述通信装置还包括处理单元620,所述处理单元620,用于使能第一合格时间表ETT,所述第一ETT用于对第三设备发送的所述第一数据流的合格时间进行更新。Optionally, the communication apparatus further includes a processing unit 620, the processing unit 620 is configured to enable a first qualified timetable ETT, and the first ETT is used for the first data stream sent by the third device The qualifying time is updated.
可选的,所述第一信令是控制器发送的。Optionally, the first signaling is sent by the controller.
本申请实施例提供了另一种通信装置,如图7所示,出示了本申请实施例提供的一种网通信装置700的示意性框图。该通信装置700可以是实现图5方法实施例中第二设备中的部件,例如一种芯片。该通信装置700包括:An embodiment of the present application provides another communication apparatus. As shown in FIG. 7 , a schematic block diagram of a network communication apparatus 700 provided by an embodiment of the present application is shown. The communication apparatus 700 may be a component in the second device implementing the method embodiment of FIG. 5 , such as a chip. The communication device 700 includes:
收发单元710,用于接收第一设备在t至t+x时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流离开之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据,x为非负数; A transceiver unit 710, configured to receive first data sent by a first device in a period from t to t+x, where the first data includes first indication information, and the first indication information includes T1 and the first indication The actual stay time of data in the queue system of the first device, where T 1 is the difference between the time the first data stream stays in the queue system of the first device determined before the second data stream leaves The sum of the delayed times in the two devices, the first data is the data in the first data stream, and x is a non-negative number;
处理单元720,用于根据T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,确定所述第一数据在所述第二设备中被延迟结束时的第一时刻; The processing unit 720 is configured to determine, according to T1 and the time that the first data actually stays in the queue system of the first device, the first time when the first data is delayed in the second device and ends time;
所述处理单元还用于,在所述第一时刻释放所述第一数据,以使所述第一数据进入所述第二设备的队列系统;The processing unit is further configured to release the first data at the first moment, so that the first data enters the queue system of the second device;
所述收发单元710还用于,接收所述第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T1-(N-1)θ,θ为时延调整步长,τ为调整时间间隔,N为大于1的整数,所述第N数据是所述第一数据流中的数据,T N大于或等于T,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The transceiver unit 710 is further configured to receive the Nth data sent by the first device within the period from t+x+(N-2)τ to t+x+(N-1)τ, where the Nth data includes Nth indication information, where the Nth indication information includes the sum of the time that the Nth data stays in the queue system of the first device and the time delayed in the second device, T N sum The actual stay time of the Nth data in the queue system of the first device, where T N =T1-(N-1)θ, θ is the delay adjustment step size, τ is the adjustment time interval, and N is An integer greater than 1, the Nth data is the data in the first data stream, T N is greater than or equal to T, and T is the first data stream determined after the second data stream leaves the data in the The sum of the time spent in the queue system of the first device and the time delayed in the second device;
所述处理单元720还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The processing unit 720 is further configured to determine, according to T N and the time that the Nth data actually stays in the queue system of the first device, when the Nth data is delayed in the second device and ends The Nth moment of ;
所述处理单元720还用于,根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The processing unit 720 is further configured to release the Nth data according to the Nth moment, so that the Nth data enters the queue system of the second device.
可选的,所述处理单元720还用于,使能第二合格时间表ETT,使所述第二ETT记录第N-1时刻,其中,所述第N-1时刻为第N-1数据在所述第二设备中被整形结束时的时刻;Optionally, the processing unit 720 is further configured to enable the second qualified timetable ETT, so that the second ETT records the N-1th time, where the N-1th time is the N-1th data the time when the shaping ends in the second device;
所述处理单元720具体用于:The processing unit 720 is specifically used for:
若所述第N时刻晚于所述第N-1时刻,则使能所述第二ETT表将记录的所述第N-1时刻更新为所述第N时刻,在所述第N时刻释放所述第N数据;If the Nth time is later than the N-1th time, enable the second ETT table to update the recorded N-1th time to the Nth time, and release it at the Nth time the Nth data;
若所述第N时刻早于所述第N-1时刻,则在所述第N-1时刻释放所述第N数据。If the Nth time is earlier than the N-1th time, the Nth data is released at the N-1th time.
可选的,所述收发单元710还用于,在t时刻接收控制器发送的第一信令,所述第一信令用于指示所述第二数据流离开;Optionally, the transceiver unit 710 is further configured to receive the first signaling sent by the controller at time t, where the first signaling is used to instruct the second data stream to leave;
所述处理单元720还用于,根据所述第一信令,使能第二合格时间表ETT,所述第二ETT用于对所述第一设备发送的所述第一数据流的合格时间进行更新。The processing unit 720 is further configured to, according to the first signaling, enable a second qualifying timetable ETT, where the second ETT is used for the qualifying time of the first data stream sent by the first device to update.
本申请实施例提供了另一种通信装置,该通信装置包括:The embodiment of the present application provides another communication device, and the communication device includes:
收发单元,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流加入,所述第一信令中包括针对第一数据流的第二时延差值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在所述第二数据流加入之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; a transceiver unit, configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to join, and the first signaling includes a second delay difference value ΔT for the first data stream 2 or the first delay T 1 and the second delay T 2 , the delay adjustment step θ and the adjustment time interval τ, where ΔT 2 =T 2 −T 1 , and T 1 is added to the second data stream The sum of the previously determined time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device, T 2 is the determined time after the second data stream is added. The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device, where the second device receives the data stream sent by the first device. equipment;
所述收发单元还用于,在t x至t x+N*τ时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,所述第N数据是所述第一数据流中的数据,N为大于0的整数,T N小于或等于T 2The transceiver unit is further configured to send the Nth data to the second device within the period from t x to t x +N*τ, where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device. The actual stay time in the queue system of the is an integer greater than 0, and T N is less than or equal to T 2 .
本申请实施例提供了另一种通信装置,该通信装置包括:The embodiment of the present application provides another communication device, and the communication device includes:
收发单元,用于接收第一设备在t至t+T 1时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流加入之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据; a transceiver unit, configured to receive first data sent by a first device within a period from t to t+T 1 , the first data includes first indication information, and the first indication information includes T 1 and the first The actual stay time of the data in the queue system of the first device, where T1 is the time between the stay time of the first data stream in the queue system of the first device determined before the second data stream is added and the time in the queue system of the first device. the sum of the delayed times in the second device, and the first data is the data in the first data stream;
所述收发单元还用于,接收所述第一设备在t x至t x+N*τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T1+N*θ,θ为时延调整步长,τ为调整时间间隔,N为大于0的整数,所述第N数据是所述第一数据流中的数据,T N小于或等于T 2,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The transceiver unit is further configured to receive the Nth data sent by the first device in the period from t x to tx +N*τ, where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device. The actual stay time in the queue system of , where t x is time t or the time after time t, T N =T1+N*θ, θ is the delay adjustment step size, τ is the adjustment time interval, and N is greater than 0 The Nth data is the data in the first data stream, T N is less than or equal to T 2 , and T 2 is the first data stream determined after the second data stream is added in the The sum of the time spent in the queue system of the first device and the time delayed in the second device;
所述处理单元还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The processing unit is further configured to, according to T N and the time that the Nth data actually stays in the queue system of the first device, determine the time when the Nth data is delayed in the second device and ends. Nth moment;
所述处理单元还用于,在所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The processing unit is further configured to release the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
本申请实施例提供了一种通信设备800,如图8所示,出示了本申请实施例的一种通信设备800的示意性框图。An embodiment of the present application provides a communication device 800. As shown in FIG. 8, a schematic block diagram of a communication device 800 according to an embodiment of the present application is shown.
该设备800包括:处理器810和收发器820,所述收发器820用于接收计算机代码或指令,并传输至所述处理器810,所述处理器810运行所述计算机代码或指令,如本申请实施例中任意可能的实现方式中的方法。The device 800 includes: a processor 810 and a transceiver 820, the transceiver 820 is configured to receive computer codes or instructions and transmit them to the processor 810, and the processor 810 executes the computer codes or instructions, as described herein. A method in any possible implementation manner in the application embodiments.
上述的处理器810可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令 完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The above-mentioned processor 810 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA), or other possible solutions. Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
本申请实施例还提供了一种计算机可读存储介质,其上存储有用于实现上述方法实施例中的方法的计算机程序。当该计算机程序在计算机上运行时,使得该计算机可以实现上述方法实施例中的方法。The embodiments of the present application further provide a computer-readable storage medium, on which a computer program for implementing the methods in the foregoing method embodiments is stored. When the computer program runs on a computer, the computer can implement the methods in the above method embodiments.
另外,本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系;本申请中术语“”,可以表示“一个”和“两个或两个以上”,例如,A、B和C中,可以表示:单独存在A,单独存在B,单独存在C、同时存在A和B,同时存在A和C,同时存在C和B,同时存在A和B和C,这七种情况。In addition, the term "and/or" in this application is only an association relationship to describe associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time. , there are three cases of B alone. In addition, the character "/" in this document generally indicates that the contextual object is an "or" relationship; the term "" in this application can indicate "one" and "two or more", for example, A, B In and C, it can be expressed that A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, C and B exist simultaneously, and A and B and C exist simultaneously, these seven situations.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods for implementing the described functionality for each particular application, but such implementations should not be considered beyond the scope of this application.
本领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described systems, devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (18)

  1. 一种数据发送的方法,其特征在于,包括:A method for data transmission, comprising:
    在t时刻,第一设备接收第一信令,所述第一信令用于指示第二数据流离开,所述第一信令中包括针对第一数据流的第一时延差值ΔT1或第一时延T1和第二时延T、时延调整步长θ和调整时间间隔τ,其中,ΔT 1=T 1-T,T 1为在所述第二数据流离开之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; At time t, the first device receives first signaling, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes the first delay difference value ΔT1 for the first data stream or The first delay T1 and the second delay T, the delay adjustment step θ and the adjustment time interval τ, wherein ΔT 1 =T 1 −T, T 1 is the The sum of the time that the first data flow stays in the queue system of the first device and the time that it is delayed in the second device, T is the time at which the first data flow is determined after the second data flow leaves The sum of the time spent in the queue system of the first device and the time delayed in the second device, where the second device is a device that receives the data stream sent by the first device;
    在t至t+x时段内,所述第一设备向所述第二设备发送第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,所述第一数据是所述第一数据流中的数据,x为非负数; During the period from t to t+x, the first device sends first data to the second device, where the first data includes first indication information, and the first indication information includes T1 and the first indication The time that a piece of data actually stays in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number;
    在t+x+(N-2)τ至t+x+(N-1)τ时段内,所述第一设备向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,所述第N数据是所述第一数据流中的数据,N为大于1的整数,T N大于或等于T。 During the period from t+x+(N-2)τ to t+x+(N-1)τ, the first device sends the Nth data to the second device, where the Nth data includes the Nth indication information , the Nth indication information includes the sum T N for indicating the time the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data The time that data actually stays in the queue system of the first device, where T N =T 1 -(N-1)θ, the Nth data is the data in the first data stream, and N is greater than An integer of 1, T N is greater than or equal to T.
  2. 根据权利要求1所述的方法,其特征在于,在所述第一设备接收到所述第一信令之后,所述方法还包括:The method according to claim 1, wherein after the first device receives the first signaling, the method further comprises:
    所述第一设备使能第一合格时间表ETT,所述第一ETT用于对第三设备发送的所述第一数据流的合格时间进行更新。The first device enables a first qualifying timetable ETT, where the first ETT is used to update the qualifying time of the first data stream sent by the third device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一信令是控制器发送的。The method according to claim 1 or 2, wherein the first signaling is sent by a controller.
  4. 一种数据发送的方法,其特征在于,包括:A method for data transmission, comprising:
    第二设备接收第一设备在t至t+x时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流离开之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据,x为非负数; The second device receives the first data sent by the first device in the period from t to t+x, the first data includes first indication information, and the first indication information includes T1 and where the first data is located The actual stay time in the queue system of the first device, where T 1 is the time between the time the first data stream stays in the queue system of the first device determined before the second data stream leaves and the time it stays in the second data stream. The sum of the delayed time in the device, the first data is the data in the first data stream, and x is a non-negative number;
    所述第二设备根据T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,确定所述第一数据在所述第二设备中被延迟结束时的第一时刻; The second device determines, according to T1 and the time that the first data actually stays in the queue system of the first device, the first moment when the first data is delayed in the second device and ends ;
    所述第二设备在所述第一时刻释放所述第一数据,以使所述第一数据进入所述第二设备的队列系统;The second device releases the first data at the first moment, so that the first data enters the queue system of the second device;
    所述第二设备接收所述第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T1-(N-1)θ,θ为时延调整步长,τ为调整时间间隔,N为大于1的整数,所述第N数据是所述第一数据流中的数 据,T N大于或等于T,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The second device receives the Nth data sent by the first device in the period from t+x+(N-2)τ to t+x+(N-1)τ, where the Nth data includes the Nth indication information , the Nth indication information includes the sum T N for indicating the time the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data The time that the data actually stays in the queue system of the first device, where T N =T1-(N-1)θ, θ is the delay adjustment step size, τ is the adjustment time interval, and N is an integer greater than 1 , the Nth data is the data in the first data stream, T N is greater than or equal to T, and T is the first data stream determined after the second data stream leaves the data in the first device the sum of the time spent in the queue system and the time delayed in the second device;
    所述第二设备根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The second device determines, according to T N and the time that the Nth data actually stays in the queue system of the first device, the Nth time when the Nth data is delayed in the second device and ends ;
    所述第二设备根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The second device releases the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    所述第二设备使能第二合格时间表ETT,使所述第二ETT记录第N-1时刻,其中,所述第N-1时刻为第N-1数据在所述第二设备中被整形结束时的时刻;The second device enables the second qualifying schedule ETT, so that the second ETT records the N-1th time, wherein the N-1th time is the N-1th data being stored in the second device. the moment when the shaping ends;
    所述第二设备根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统,包括:The second device releases the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device, including:
    若所述第N时刻晚于所述第N-1时刻,则所述第二设备使能所述第二ETT表将记录的所述第N-1时刻更新为所述第N时刻,在所述第N时刻释放所述第N数据;If the Nth time is later than the N-1th time, the second device enables the second ETT table to update the recorded N-1th time to the Nth time. releasing the Nth data at the Nth moment;
    若所述第N时刻早于所述第N-1时刻,则所述第二设备在所述第N-1时刻释放所述第N数据。If the Nth time is earlier than the N-1th time, the second device releases the Nth data at the N-1th time.
  6. 根据权利要求4所述的方法,其特征在于,在所述第二设备接收第一设备发送的第一数据之前,所述方法还包括:The method according to claim 4, wherein before the second device receives the first data sent by the first device, the method further comprises:
    在t时刻,所述第二设备接收控制器发送的第一信令,所述第一信令用于指示所述第二数据流离开;At time t, the second device receives the first signaling sent by the controller, where the first signaling is used to instruct the second data stream to leave;
    所述第二设备根据所述第一信令,使能第二合格时间表ETT,所述第二ETT用于对所述第一设备发送的所述第一数据流的合格时间进行更新。The second device enables a second qualifying timetable ETT according to the first signaling, where the second ETT is used to update the qualifying time of the first data stream sent by the first device.
  7. 一种数据发送的方法,其特征在于,包括:A method for data transmission, comprising:
    在t时刻,第一设备接收第一信令,所述第一信令用于指示第二数据流加入,所述第一信令中包括针对第一数据流的第二时延差值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在所述第二数据流加入之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; At time t, the first device receives the first signaling, where the first signaling is used to instruct the second data stream to join, and the first signaling includes the second delay difference value ΔT 2 for the first data stream Or the first delay T 1 and the second delay T 2 , the delay adjustment step θ and the adjustment time interval τ, where ΔT 2 =T 2 −T 1 , and T 1 is before the second data stream is added The determined sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device, T 2 is the determined time after the second data stream is added The sum of the time that the first data stream stays in the queue system of the first device and the time that is delayed in the second device, where the second device is a device that receives the data stream sent by the first device ;
    在t x至t x+N*τ时段内,所述第一设备向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,所述第N数据是所述第一数据流中的数据,N为大于0的整数,T N小于或等于T 2During the period from t x to t x +N*τ, the first device sends the Nth data to the second device, where the Nth data includes Nth indication information, and the Nth indication information includes information for Indicates the sum T N of the time the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the queue system of the first device The actual stay time in , where t x is time t or a time after time t, T N =T 1 +N*θ, the Nth data is the data in the first data stream, and N is greater than 0 An integer of T N less than or equal to T 2 .
  8. 一种数据发送的方法,其特征在于,包括:A method for data transmission, comprising:
    第二设备接收第一设备在t至t+T 1时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流加入之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据 流中的数据; The second device receives the first data sent by the first device in the period from t to t+T1, the first data includes first indication information, and the first indication information includes T1 and the first data in The actual stay time in the queue system of the first device, where T 1 is the time between the stay time of the first data stream in the queue system of the first device determined before the second data stream is added and the time in the queue system of the first device. The sum of the delayed times in the two devices, the first data is the data in the first data stream;
    所述第二设备接收所述第一设备在t x至t x+N*τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,θ为时延调整步长,τ为调整时间间隔,N为大于0的整数,所述第N数据是所述第一数据流中的数据,T N小于或等于T 2,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The second device receives the Nth data sent by the first device in the period from t x to tx +N*τ, the Nth data includes the Nth indication information, and the Nth indication information includes Indicates the sum T N of the time the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the queue system of the first device The actual stay time in , where t x is time t or time after time t, T N =T 1 +N*θ, θ is the delay adjustment step size, τ is the adjustment time interval, and N is an integer greater than 0 , the Nth data is the data in the first data stream, T N is less than or equal to T 2 , and T 2 is the first data stream determined after the second data stream is added in the first data stream the sum of the time spent in the queue system of the device and the time delayed in the second device;
    所述第二设备根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The second device determines, according to T N and the time that the Nth data actually stays in the queue system of the first device, the Nth time when the Nth data is delayed in the second device and ends ;
    所述第二设备在所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The second device releases the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
  9. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发单元,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流离开,所述第一信令中包括针对第一数据流的第一时延差值ΔT 1或第一时延T 1和第二时延T、时延调整步长θ和调整时间间隔τ,其中,T 1为在所述第二数据流离开之前确定的所述第一数据流在第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; a transceiver unit, configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to leave, and the first signaling includes a first delay difference value ΔT for the first data stream 1 or the first time delay T 1 and the second time delay T, the time delay adjustment step θ and the adjustment time interval τ, where T 1 is the first data stream determined before the second data stream leaves The sum of the time spent in the queue system of the first device and the time delayed in the second device, T is the queue of the first data stream in the first device determined after the second data stream leaves The sum of the time spent in the system and the time delayed in the second device, where the second device is a device that receives the data stream sent by the first device;
    所述收发单元还用于,在t至t+x时段内,向所述第二设备发送第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,所述第一数据是所述第一数据流中的数据,x为非负数; The transceiver unit is further configured to send first data to the second device within a period from t to t+x, where the first data includes first indication information, and the first indication information includes T 1 and The time that the first data actually stays in the queue system of the first device, the first data is the data in the first data stream, and x is a non-negative number;
    所述收发单元还用于,在t+x+(N-2)τ至t+x+(N-1)τ时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,所述第N数据是所述第一数据流中的数据,N为大于1的整数,T N大于或等于T。 The transceiver unit is further configured to, within a period from t+x+(N-2)τ to t+x+(N-1)τ, send the Nth data to the second device, where the Nth data includes the N indication information, where the N th indication information includes the sum of the time T N and all the time that the N th data stays in the queue system of the first device and the time delayed in the second device. the actual stay time of the Nth data in the queue system of the first device, wherein T N =T 1 -(N-1)θ, the Nth data is the data in the first data stream, N is an integer greater than 1, and T N is greater than or equal to T.
  10. 根据权利要求9所述的通信装置,其特征在于,所述通信装置还包括处理单元,所述处理单元,用于使能第一合格时间表ETT,所述第一ETT用于对第三设备发送的所述第一数据流的合格时间进行更新。The communication apparatus according to claim 9, characterized in that the communication apparatus further comprises a processing unit, the processing unit is configured to enable a first qualified schedule ETT, the first ETT is used for the third device The qualified time of the sent first data stream is updated.
  11. 根据权利要求9或10所述的通信装置,其特征在于,所述第一信令是控制器发送的。The communication device according to claim 9 or 10, wherein the first signaling is sent by a controller.
  12. 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:
    收发单元,用于接收第一设备在t至t+x时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流离开之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,所述第一数据是所述第一数 据流中的数据,x为非负数; A transceiver unit, configured to receive first data sent by a first device in a period from t to t+x, where the first data includes first indication information, and the first indication information includes T1 and the first data The actual stay time in the queue system of the first device, where T 1 is the difference between the time the first data stream stays in the queue system of the first device determined before the second data stream leaves The sum of the delayed time in the device, the first data is the data in the first data stream, and x is a non-negative number;
    处理单元,用于根据T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,确定所述第一数据在所述第二设备中被延迟结束时的第一时刻; A processing unit, configured to determine a first moment when the first data is delayed in the second device and ends according to T 1 and the time that the first data actually stays in the queue system of the first device ;
    所述处理单元还用于,在所述第一时刻释放所述第一数据,以使所述第一数据进入所述第二设备的队列系统;The processing unit is further configured to release the first data at the first moment, so that the first data enters the queue system of the second device;
    所述收发单元还用于,接收所述第一设备在t+x+(N-2)τ至t+x+(N-1)τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,T N=T 1-(N-1)θ,θ为时延调整步长,τ为调整时间间隔,N为大于1的整数,所述第N数据是所述第一数据流中的数据,T N大于或等于T,T为在所述第二数据流离开之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The transceiver unit is further configured to receive the Nth data sent by the first device in the period from t+x+(N-2)τ to t+x+(N-1)τ, where the Nth data includes the th N indication information, where the N th indication information includes the sum of the time T N and all the time that the N th data stays in the queue system of the first device and the time delayed in the second device. The actual stay time of the Nth data in the queue system of the first device, wherein T N =T 1 -(N-1)θ, θ is the delay adjustment step size, τ is the adjustment time interval, and N is An integer greater than 1, the Nth data is the data in the first data stream, T N is greater than or equal to T, and T is the first data stream determined after the second data stream leaves the data in the The sum of the time spent in the queue system of the first device and the time delayed in the second device;
    所述处理单元还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The processing unit is further configured to, according to T N and the time that the Nth data actually stays in the queue system of the first device, determine the time when the Nth data is delayed in the second device and ends. Nth moment;
    所述处理单元还用于,根据所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The processing unit is further configured to release the Nth data according to the Nth time, so that the Nth data enters the queue system of the second device.
  13. 根据权利要求12所述的通信装置,其特征在于,The communication device according to claim 12, wherein:
    所述处理单元还用于,使能第二合格时间表ETT,使所述第二ETT记录第N-1时刻,其中,所述第N-1时刻为第N-1数据在所述第二设备中被整形结束时的时刻;The processing unit is further configured to enable the second qualified timetable ETT, so that the second ETT records the N-1th time, wherein the N-1th time is the time when the N-1th data is in the second time. The moment in the device when the shaping ends;
    所述处理单元具体用于:The processing unit is specifically used for:
    若所述第N时刻晚于所述第N-1时刻,则使能所述第二ETT表将记录的所述第N-1时刻更新为所述第N时刻,在所述第N时刻释放所述第N数据;If the Nth time is later than the N-1th time, enable the second ETT table to update the recorded N-1th time to the Nth time, and release it at the Nth time the Nth data;
    若所述第N时刻早于所述第N-1时刻,则在所述第N-1时刻释放所述第N数据。If the Nth time is earlier than the N-1th time, the Nth data is released at the N-1th time.
  14. 根据权利要求12所述的通信装置,其特征在于,The communication device according to claim 12, wherein:
    所述收发单元还用于,在t时刻接收控制器发送的第一信令,所述第一信令用于指示所述第二数据流离开;The transceiver unit is further configured to receive, at time t, a first signaling sent by a controller, where the first signaling is used to instruct the second data stream to leave;
    所述处理单元还用于,根据所述第一信令,使能第二合格时间表ETT,所述第二ETT用于对所述第一设备发送的所述第一数据流的合格时间进行更新。The processing unit is further configured to, according to the first signaling, enable a second qualifying timetable ETT, where the second ETT is used to perform the qualifying time on the first data stream sent by the first device. renew.
  15. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发单元,用于在t时刻接收第一信令,所述第一信令用于指示第二数据流加入,所述第一信令中包括针对第一数据流的第二时延差值ΔT 2或第一时延T 1和第二时延T 2、时延调整步长θ和调整时间间隔τ,其中,ΔT 2=T 2-T 1,T 1为在所述第二数据流加入之前确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在第二设备中被延迟的时间之和,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第二设备为接收所述第一设备发送的数据流的设备; a transceiver unit, configured to receive a first signaling at time t, where the first signaling is used to instruct the second data stream to join, and the first signaling includes a second delay difference value ΔT for the first data stream 2 or the first delay T 1 and the second delay T 2 , the delay adjustment step θ and the adjustment time interval τ, where ΔT 2 =T 2 −T 1 , and T 1 is added to the second data stream The sum of the previously determined time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device, T 2 is the determined time after the second data stream is added. The sum of the time that the first data stream stays in the queue system of the first device and the time that it is delayed in the second device, where the second device receives the data stream sent by the first device. equipment;
    所述收发单元还用于,在t x至t x+N*τ时段内,向所述第二设备发送第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数 据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,所述第N数据是所述第一数据流中的数据,N为大于0的整数,T N小于或等于T 2The transceiver unit is further configured to send the Nth data to the second device within the period from t x to t x +N*τ, where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device. The actual stay time in the queue system of the is an integer greater than 0, and T N is less than or equal to T 2 .
  16. 一种通信装置,其特征在于,包括:A communication device, comprising:
    收发单元,用于接收第一设备在t至t+T 1时段内发送的第一数据,所述第一数据中包括第一指示信息,所述第一指示信息包括T 1和所述第一数据在所述第一设备的队列系统中实际停留的时间,其中,T 1为在第二数据流加入之前确定的第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和,所述第一数据是所述第一数据流中的数据; a transceiver unit, configured to receive first data sent by a first device within a period from t to t+T 1 , the first data includes first indication information, and the first indication information includes T 1 and the first The actual stay time of the data in the queue system of the first device, where T1 is the time between the stay time of the first data stream in the queue system of the first device determined before the second data stream is added and the time in the queue system of the first device. the sum of the delayed times in the second device, and the first data is the data in the first data stream;
    所述收发单元还用于,接收所述第一设备在t x至t x+N*τ时段内发送的第N数据,所述第N数据中包括第N指示信息,所述第N指示信息包括用于指示所述第N数据在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,其中,t x为t时刻或t时刻之后的时刻,T N=T 1+N*θ,θ为时延调整步长,τ为调整时间间隔,N为大于0的整数,所述第N数据是所述第一数据流中的数据,T N小于或等于T 2,T 2为在所述第二数据流加入之后确定的所述第一数据流在所述第一设备的队列系统中停留的时间与在所述第二设备中被延迟的时间之和; The transceiver unit is further configured to receive the Nth data sent by the first device in the period from t x to tx +N*τ, where the Nth data includes the Nth indication information, and the Nth indication information Including the sum T N for indicating the time that the Nth data stays in the queue system of the first device and the time delayed in the second device and the Nth data in the first device. The actual stay time in the queue system of the An integer of 0, the Nth data is the data in the first data stream, T N is less than or equal to T 2 , and T 2 is the location where the first data stream is determined after the second data stream is added. the sum of the time spent in the queue system of the first device and the time delayed in the second device;
    所述处理单元还用于,根据T N和所述第N数据在所述第一设备的队列系统中实际停留的时间,确定所述第N数据在所述第二设备中被延迟结束时的第N时刻; The processing unit is further configured to, according to T N and the time that the Nth data actually stays in the queue system of the first device, determine the time when the Nth data is delayed in the second device and ends. Nth moment;
    所述处理单元还用于,在所述第N时刻释放所述第N数据,以使所述第N数据进入所述第二设备的队列系统。The processing unit is further configured to release the Nth data at the Nth time, so that the Nth data enters the queue system of the second device.
  17. 一种通信设备,其特征在于,包括:处理器和收发器,所述收发器用于接收计算机代码或指令,并传输至所述处理器,所述处理器运行所述计算机代码或指令,如权利要求1至8中任一项所述的方法。A communication device, characterized by comprising: a processor and a transceiver, the transceiver is used to receive computer codes or instructions and transmit them to the processor, and the processor executes the computer codes or instructions, as claimed in claim The method of any one of claims 1 to 8.
  18. 一种计算机可读存储介质,其特征在于,包括:A computer-readable storage medium, comprising:
    所述计算机可读介质存储有计算机程序;The computer-readable medium stores a computer program;
    所述计算机程序在计算机上运行时,使得计算机执行权利要求1至8中任一项所述的方法。The computer program, when run on a computer, causes the computer to perform the method of any one of claims 1 to 8.
PCT/CN2021/131887 2020-12-23 2021-11-19 Data sending method and apparatus WO2022134978A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011539631.2 2020-12-23
CN202011539631.2A CN114666809A (en) 2020-12-23 2020-12-23 Data transmission method and device

Publications (1)

Publication Number Publication Date
WO2022134978A1 true WO2022134978A1 (en) 2022-06-30

Family

ID=82025216

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131887 WO2022134978A1 (en) 2020-12-23 2021-11-19 Data sending method and apparatus

Country Status (2)

Country Link
CN (1) CN114666809A (en)
WO (1) WO2022134978A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208837A (en) * 2022-07-26 2022-10-18 武汉烽火技术服务有限公司 Message scheduling method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8705552B1 (en) * 2010-02-09 2014-04-22 Marvell International Ltd. Controlling latency variations in a packet node
CN110086728A (en) * 2018-01-26 2019-08-02 华为技术有限公司 Send method, first network equipment and the computer readable storage medium of message
US20200053018A1 (en) * 2017-05-23 2020-02-13 Cable Television Laboratories, Inc Systems and Methods for Queue Protection
CN112019392A (en) * 2020-11-02 2020-12-01 之江实验室 Multi-feature stream access method for TSN (traffic service network)
WO2020239313A1 (en) * 2019-05-29 2020-12-03 Telefonaktiebolaget Lm Ericsson (Publ) Avoiding jitter in a communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8705552B1 (en) * 2010-02-09 2014-04-22 Marvell International Ltd. Controlling latency variations in a packet node
US20200053018A1 (en) * 2017-05-23 2020-02-13 Cable Television Laboratories, Inc Systems and Methods for Queue Protection
CN110086728A (en) * 2018-01-26 2019-08-02 华为技术有限公司 Send method, first network equipment and the computer readable storage medium of message
WO2020239313A1 (en) * 2019-05-29 2020-12-03 Telefonaktiebolaget Lm Ericsson (Publ) Avoiding jitter in a communication system
CN112019392A (en) * 2020-11-02 2020-12-01 之江实验室 Multi-feature stream access method for TSN (traffic service network)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208837A (en) * 2022-07-26 2022-10-18 武汉烽火技术服务有限公司 Message scheduling method and system

Also Published As

Publication number Publication date
CN114666809A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
Larrañaga et al. Analysis of 5G-TSN integration to support industry 4.0
US11018791B2 (en) Method and device for time-controlled data transmission in a time-sensitive network
CN113630893B (en) 5G and TSN joint scheduling method based on wireless channel information
WO2022022224A1 (en) Data packet scheduling method and related apparatus
WO2021089018A1 (en) Communication method, apparatus and system
CN107948103A (en) A kind of interchanger PFC control methods and control system based on prediction
US20050052997A1 (en) Packet scheduling of real time packet data
WO2022134978A1 (en) Data sending method and apparatus
Imtiaz et al. Approaches to reduce the latency for high priority traffic in IEEE 802.1 AVB networks
Deng et al. A low-delay AVB flow scheduling method occupying the guard band in Time-Sensitive Networking
CN109327406A (en) A method of the service quality guarantee for difference queue service queuing data packet
CN115604193B (en) Deterministic resource scheduling method and system in hot rolling control system
Jenila et al. Cross layer based dynamic traffic scheduling algorithm for wireless multimedia sensor network
CN112311623A (en) Time-sensitive network test platform and test method applied to train
CN112751776A (en) Congestion control method and related device
CN102405624A (en) Real-time data transmission method and device
JP2024501088A (en) TSN flow scheduling method, communication system and central network configuration entity
CN114640634A (en) Communication method and related equipment
Mifdaoui et al. FactoRing: Asynchronous TSN-compliant Network with low bounded Jitters for Industry 4.0
CN111726300A (en) Data sending method and device
CN106059943B (en) A kind of jamming control method for wire and wireless network
WO2024093676A1 (en) Deterministic service processing method and apparatus
WO2024016327A1 (en) Packet transmission
Tang et al. Simulation Analysis on 5G-TSN Scheduling Algorithms based on OMNeT++
WO2023143255A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21908977

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21908977

Country of ref document: EP

Kind code of ref document: A1