CN115696465B - 5G-TSN resource management method and device based on terminal side gateway queue cache - Google Patents

5G-TSN resource management method and device based on terminal side gateway queue cache Download PDF

Info

Publication number
CN115696465B
CN115696465B CN202310010576.5A CN202310010576A CN115696465B CN 115696465 B CN115696465 B CN 115696465B CN 202310010576 A CN202310010576 A CN 202310010576A CN 115696465 B CN115696465 B CN 115696465B
Authority
CN
China
Prior art keywords
queue
time delay
scheduled
service packet
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310010576.5A
Other languages
Chinese (zh)
Other versions
CN115696465A (en
Inventor
孙雷
胡馨予
李卫
王健全
朱渊
吴思远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology Beijing USTB
Original Assignee
University of Science and Technology Beijing USTB
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 University of Science and Technology Beijing USTB filed Critical University of Science and Technology Beijing USTB
Priority to CN202310010576.5A priority Critical patent/CN115696465B/en
Publication of CN115696465A publication Critical patent/CN115696465A/en
Application granted granted Critical
Publication of CN115696465B publication Critical patent/CN115696465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of industrial networks, in particular to a 5G-TSN resource management method and a device based on terminal side gateway queue cache, and the 5G-TSN resource management method based on the terminal side gateway queue cache comprises the following steps: acquiring data of a base station terminal side to obtain base station data information; acquiring current queue cache data to obtain queue cache information; further processing the service packet according to the base station data information to obtain a service packet to be scheduled; calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled; and judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judgment result, and transmitting the service packet to be scheduled according to the time delay judgment result. The invention realizes accurate and efficient data transmission in time-sensitive service scheduling.

Description

5G-TSN resource management method and device based on terminal side gateway queue cache
Technical Field
The invention relates to the technical field of industrial networks, in particular to a 5G-TSN resource management method and device based on terminal side gateway queue caching.
Background
Time Sensitive Networking (TSN) is often applied in the field of industrial internet, and due to low delay requirement and high reliability requirement of industrial field network transmission, the Time Sensitive network becomes one of the research hotspots in the field. The time sensitive network has the functions of determining time delay guarantee and multi-service bearing capacity, can be used for real-time deterministic, industrial communication with low time delay in a certain range, has the functions of ensuring real-time performance such as time synchronization, time delay guarantee and the like, and also has the functions of low jitter and extremely low data packet loss rate, so that the Ethernet can be suitable for time sensitive application scenes with high reliability and low time delay requirements. The R16 standard of the 5G network defines a 5G-TSN cooperative architecture, and the entire 5G network includes a terminal, a radio, a bearer and a core network, and serves as a transparent bridge in the TSN network. For adaptation to the TSN network, a new network element function is added to the 5GS (5G System). On the other hand, the 5G system performs function enhancement on the original core network element.
As 2 gateways of the 5G system that need to pass through in the service transmission process, a Centralized Network Controller (CNC) is allowed to configure the gating information under the 5G-TSN coordinated transmission architecture, which can effectively reduce the jitter of data transmission at the air interface. Time-sensitive services are transmitted to a 5G bridge and need to pass through DS-TT gateways and NW-TT gateways, service data are cached in queues at the gateways, a base station describes the arrival time, the cycle time, the flow direction of service flows and a flow scheduling strategy determined by a control plane according to TSCAI information, and a periodic gating list is set at a port DS-TT/NW-TT.
However, the amount of data that can be buffered in the port gateway queue is limited, and when time-sensitive traffic to be transmitted is excessive, if all the traffic data to be transmitted can be buffered in the port gateway queue, the queue at the DS-TT of the port gateway may overflow, resulting in problems such as packet loss. When a base station schedules time-sensitive services, the prior art lacks consideration on queue information at a port gateway DS-TT, and cannot accurately and efficiently transmit data.
Disclosure of Invention
The embodiment of the invention provides a 5G-TSN resource management method and device based on terminal side gateway queue buffering. The technical scheme is as follows:
in one aspect, a 5G-TSN resource management method based on a terminal-side gateway queue buffer is provided, where the method is implemented by an electronic device, and the method includes:
acquiring data of a base station terminal side to obtain base station data information;
acquiring current queue cache data to obtain queue cache information;
further processing the service packet according to the base station data information to obtain a service packet to be scheduled;
calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled;
and judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judgment result, and transmitting the service packet to be scheduled according to the time delay judgment result.
The base station data information comprises user information and channel information reported by a 5G domain user terminal.
Optionally, the further processing the service packet according to the base station data information to obtain a service packet to be scheduled includes:
judging whether retransmission operation is needed or not according to the base station data information; when retransmission operation is needed, retransmission operation is carried out on the service packet to obtain a service packet to be scheduled; and when the retransmission operation is not needed, sequencing the service packets to obtain the service packets to be scheduled.
Optionally, the calculating according to the queue cache information to obtain a waiting time delay of a service packet to be scheduled includes:
according to the queue caching information, acquiring the caching data quantity of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data quantity;
calculating according to the queue threshold of the DS-TT queue data quantity and a preset queue cache control factor to obtain a cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
and calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the comparison result is that the amount of the cache data in the DS-TT queue is smaller than the cache threshold of the DS-TT queue;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
and determining the waiting time delay of the service packet to be scheduled as 0.
Optionally, the comparison result is that the buffer data amount in the DS-TT queue is greater than the buffer threshold of the DS-TT queue and less than the queue threshold of the data amount of the DS-TT queue;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
obtaining the minimum value of the opening time of the unopened gate in a period according to a periodic gate control list set at a gateway; and calculating according to the minimum value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the amount of buffered data in the DS-TT queue is greater than a queue threshold of the amount of data in the DS-TT queue;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
according to a periodic gating list set at a gateway, obtaining a middle value of opening time of unopened gating in a period; and calculating according to the intermediate value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the transmitting the service packet to be scheduled according to the result of the time delay determination includes:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting the service packet; and when the time delay judgment result does not exceed the time delay requirement, transmitting the service packet to be scheduled to a DS-TT queue, and transmitting after the gating is started.
On the other hand, a 5G-TSN resource management device based on a terminal side gateway queue buffer is provided, and the device is applied to a 5G-TSN resource management method based on a terminal side gateway queue buffer, and the device includes:
the base station information acquisition module is used for acquiring base station terminal side data to obtain base station data information;
the queue information acquisition module is used for acquiring current queue cache data and acquiring queue cache information;
the retransmission judging module is used for further processing the service packet according to the base station data information to obtain a service packet to be scheduled;
the time delay calculation module is used for calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled;
and the time delay judging module is used for judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judging result and transmitting the service packet to be scheduled according to the time delay judging result.
The base station data information comprises user information and channel information reported by a 5G domain user terminal.
Optionally, the retransmission determining module is further configured to:
judging whether retransmission operation is needed or not according to the base station data information; when retransmission operation is needed, retransmission operation is carried out on the service packet to obtain a service packet to be scheduled; and when the retransmission operation is not needed, sequencing the service packets to obtain the service packets to be scheduled.
Optionally, the time delay calculation module is further configured to:
according to the queue caching information, acquiring the caching data quantity of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data quantity;
calculating according to the queue threshold of the DS-TT queue data quantity and a preset queue cache control factor to obtain a cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
and calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the comparison result is that the amount of the cache data in the DS-TT queue is smaller than the cache threshold of the DS-TT queue;
the time delay calculation module is further configured to:
and determining the waiting time delay of the service packet to be scheduled as 0.
Optionally, the comparison result is that the buffer data amount in the DS-TT queue is greater than the buffer threshold of the DS-TT queue and less than the queue threshold of the DS-TT queue data amount;
the time delay calculation module is further configured to:
obtaining the minimum value of the opening time of the unopened gate in a period according to a periodic gate control list set at a gateway; and calculating according to the minimum value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the amount of buffered data in the DS-TT queue is greater than a queue threshold of the amount of data of the DS-TT queue;
the time delay calculation module is further configured to:
according to a periodic gating list set at a gateway, obtaining a middle value of opening time of unopened gating in a period; and calculating according to the intermediate value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the delay determining module is further configured to:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting the service packet; and when the time delay judgment result is that the time delay requirement is not exceeded, transmitting the service packet to be scheduled to a DS-TT queue, and transmitting after the gating is started.
In another aspect, an electronic device is provided, where the electronic device includes a processor and a memory, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the above 5G-TSN resource management method based on terminal-side gateway queue cache.
In another aspect, a computer-readable storage medium is provided, where at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the above 5G-TSN resource management method based on a terminal-side gateway queue cache.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the invention provides a 5G-TSN joint resource scheduling mechanism based on the DS-TT queue caching condition. The base station reduces queue pressure at the DS-TT position of the port gateway through linkage of the port gateway queue and the base station scheduling according to the periodic gating list, the current caching condition of the DS-TT queue of the port gateway and a scheduling mechanism of the queue capacity to the time-sensitive service, provides different setting modes of the periodic gating list, and improves the transmission reliability of the time-sensitive service under a 5G-TSN framework. In the process of scheduling the time-sensitive service, accurate and efficient data transmission is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a 5G-TSN resource management method based on a terminal-side gateway queue cache according to an embodiment of the present invention;
fig. 2 is a block diagram of a 5G-TSN resource management device based on a terminal-side gateway queue buffer according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a 5G-TSN resource management method based on terminal side gateway queue caching, which can be realized by electronic equipment, wherein the electronic equipment can be a terminal or a server. As shown in fig. 1, a flow chart of a 5G-TSN resource management method based on a terminal-side gateway queue buffer includes the following steps:
s1, collecting data of a base station terminal side to obtain base station data information.
The base station data information comprises user information and channel information reported by a 5G domain user terminal.
In a feasible implementation manner, in the process of cross-Network transmission from a 5G Network (5G Network, 5G) to a Time-Sensitive Network (TSN), the Time-Sensitive traffic needs to pass through a Network Side TSN Translator (NW-TT) on the port gateway Network Side and a Device Side TSN Translator (DS-TT) on the Device Side. When the base station schedules the time-sensitive service, the base station not only receives the user information and the channel quality information reported by the terminal, but also receives the queue cache information fed back by the port DS-TT, thereby avoiding the problem of packet loss caused by queue overflow caused by the fact that all services are transmitted to the port gateway queue for waiting.
And S2, acquiring current queue cache data and acquiring queue cache information.
In one possible implementation, the current queue buffer information is collected and fed back to the base station, and the service packets arriving at the DS-TT queue and waiting for transmission are buffered and managed.
And S3, further processing the service packet according to the base station data information to obtain a service packet to be scheduled.
Optionally, further processing the service packet according to the base station data information to obtain a service packet to be scheduled, including:
judging whether retransmission operation is needed or not according to the base station data information; when retransmission operation is needed, retransmission operation is carried out on the service packet to obtain a service packet to be scheduled; and when the retransmission operation is not needed, sequencing the service packets to obtain the service packets to be scheduled.
In one possible implementation, there may be packet loss, packet duplication, or packet disorder during data transmission in the 5G-TSN network. In order to ensure that data transmission is correct, not repeated and ordered, the transmitted service packet needs to be judged.
And S4, calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled.
Optionally, calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled, including:
according to the queue caching information, acquiring the caching data quantity of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data quantity;
calculating according to a queue threshold of the DS-TT queue data quantity and a preset queue cache control factor to obtain a cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
and calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled.
In a feasible implementation mode, the invention provides a 5G-TSN joint resource scheduling mechanism based on DS-TT queue caching condition, which is realized by a base station information collection function, a queue management function and joint resource decision as well as a DS-TT data management function and a queue caching management function.
When data transmission is carried out under a 5G-TSN joint resource scheduling mechanism without considering the buffer pressure of a DS-TT queue, when time-sensitive services to be transmitted flow through a lot, a large amount of data is easily buffered in the DS-TT queue, and the problem of packet loss is caused. The provided mechanism can obviously reduce the buffering amount of the DS-TT queue, even if the number of users to be transmitted is increased, the buffering amount of the DS-TT queue can be guaranteed not to exceed the threshold value, the reliability of cross-network transmission of the time-sensitive service is improved, and the buffering pressure of the DS-TT queue is reduced.
Optionally, the comparison results may include three types, the first type is that the amount of cache data in the DS-TT queue is smaller than the cache threshold of the DS-TT queue, the second type is that the amount of cache data in the DS-TT queue is greater than the cache threshold of the DS-TT queue and smaller than the queue threshold of the amount of data in the DS-TT queue, the third type is that the amount of cache data in the DS-TT queue is greater than the queue threshold of the amount of data in the DS-TT queue, and different ways of calculating the waiting delay of the service packet to be scheduled are set for the three different comparison results, which are respectively described below:
the first method comprises the following steps: when the comparison result is that the cache data amount in the DS-TT queue is smaller than the cache threshold value of the DS-TT queue, calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled, and adopting the following steps:
and determining the waiting time delay of the service packet to be scheduled as 0.
In a feasible implementation mode, simulation is carried out based on the flow, and simulation shows that a control factor delta of DS-TT queue capacity influences the time delay of end-to-end transmission of time sensitive services. Simulation verification can determine that when delta is larger than or equal to 0.3, the average delay of the service and the queue buffer amount at DS-TT have no obvious optimization trend, so the verification discussion is carried out for the cases of delta =0.1, delta =0.2 and delta = 0.3. The results show that DS-TT queue buffer pressure is minimal when δ =0.1, because the traffic needs to be delivered immediately to the DS-TT queue to meet the requirements more stringent than when δ =0.2 and δ = 0.3. δ =0.1 is therefore selected as the control coefficient.
When the buffer data amount in the DS-TT queue is smaller than the buffer threshold value of the DS-TT queue, the waiting time delay calculation formula is shown as the formula (1):
Figure 615322DEST_PATH_IMAGE001
wherein q is the data amount cached in the DS-TT queue by the current time slot; q is a queue threshold value of DS-TT queue data volume; delta is a control factor of DS-TT queue capacity;
Figure 174873DEST_PATH_IMAGE002
the waiting delay of the current time slot.
And the second method comprises the following steps: when the comparison result is that the cache data amount in the DS-TT queue is larger than the cache threshold of the DS-TT queue and smaller than the queue threshold of the DS-TT queue data amount, calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled, and adopting the following steps:
obtaining the minimum value of the opening time of the unopened door control in a period according to a periodic door control list arranged at a gateway; and calculating according to the minimum value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
In one possible implementation, when the amount of buffered data in the DS-TT queue is greater than the buffering threshold of the DS-TT queue and less than the queue threshold of the amount of data in the DS-TT queue, the waiting delay calculation formula is as shown in equation (2):
Figure 485769DEST_PATH_IMAGE003
wherein q is the data amount cached in the DS-TT queue by the current time slot; q is a queue threshold value of DS-TT queue data volume; k is a radical of i The time from the ith opening of the Gate in the period of a periodic Gate Control List (GCL); delta is a control factor of DS-TT queue capacity;
Figure 818661DEST_PATH_IMAGE002
is the waiting delay of the current time slot.
Thirdly, when the comparison result is that the cache data amount in the DS-TT queue is larger than the queue threshold value of the data amount of the DS-TT queue, a corresponding algorithm is adopted to calculate according to the comparison result, and the waiting time delay of the service packet to be scheduled is obtained, and the following steps can be adopted:
according to a periodic gating list set at a gateway, obtaining a middle value of opening time of unopened gating in a period; and calculating according to the intermediate value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
In one possible implementation, when the amount of buffered data in the DS-TT queue is greater than the queue threshold of the amount of data in the DS-TT queue, the waiting delay calculation formula is as shown in equation (3):
Figure 39558DEST_PATH_IMAGE004
wherein q is the data amount cached in the DS-TT queue by the current time slot; q is a queue threshold value of DS-TT queue data volume; k is a radical of formula i The time from the ith opening of the gating in the GCL gating period; delta is a control factor of DS-TT queue capacity;
Figure 65283DEST_PATH_IMAGE002
the waiting delay of the current time slot.
And S5, judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judgment result, and transmitting the service packet to be scheduled according to the time delay judgment result.
Optionally, transmitting the service packet to be scheduled according to the delay determination result includes:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting; and when the time delay judgment result is that the time delay requirement is not exceeded, transmitting the service packet to be scheduled to the DS-TT queue, and transmitting after the gating is started.
In a feasible implementation manner, in order to further guarantee the time delay requirement of cross-network transmission of the industrial service, the project provides an emergency queue mechanism based on the proposed mechanism. And defining an emergency queue with the highest priority at the DS-TT port gateway queue, wherein the GCL of the emergency queue is always kept in an open mode. When the base station schedules air interface resources, the time required for transmitting the current time sensitive service to the TSN terminal is estimated, if the required time exceeds the time delay requirement of the user, the emergency queue is adopted for transmission immediately, because the emergency queue has the highest priority, the network resources can be preempted to transmit the service immediately.
Under the emergency queue mechanism, once the time delay estimated by the base station exceeds the time delay requirement of the time sensitive service, the emergency queue is adopted for transmission immediately. In simulation, the minimum time delay of the time-sensitive service is set to be 1ms, and the simulation result shows that the time delay requirements of most users can be met under an emergency queue mechanism. Meanwhile, the packet loss rate is also greatly reduced under the action of the mechanism.
In one possible embodiment, the resource scheduling mechanism of 5G is different from the scheduling mechanism of TSN, where 5G is dynamic resource scheduling in units of Time Transmission Interval (TTI), and TSN is a flow scheduling mechanism based on Time management. If the two mechanisms cannot be efficiently adapted in the cross-network transmission process of the service, a large amount of data is cached in a port gateway DS-TT queue, so that the port gateway queue overflows, and the packet loss problem is caused. Therefore, in order to realize the efficient adaptation of the 5G and TSN scheduling mechanisms and guarantee the end-to-end time delay of cross-network transmission of services, the invention researches the starting mode of GCL at DS-TT. When the GCL is in an ON state, gating is started, the services cached in the DS-TT queue can be transmitted, and otherwise the services to be transmitted are cached and wait in the queue. Verification discussion is performed based on two gated-on modes, including a continuous gated-on mode and a discrete gated-on mode within one GCL cycle. Setting a gating period of a GCL to
Figure 597895DEST_PATH_IMAGE005
. In the continuous mode, the on duration is ^ 5 within one GCL gating period>
Figure 498593DEST_PATH_IMAGE006
Has a closing time length of->
Figure 573996DEST_PATH_IMAGE007
(ii) a In the discrete mode, the time length of gating opening once is->
Figure 832939DEST_PATH_IMAGE008
And the closing time is->
Figure 790531DEST_PATH_IMAGE009
And has >>
Figure 934067DEST_PATH_IMAGE010
Simulation verification is carried out according to two different gating opening modes. Simulation result shows thatThe average end-to-end transmission delay of the service in the scattered mode is lower than that of the service in the continuous mode. The reason is that in the discrete mode, in one GCL period, the service has more transmission times, and the waiting time delay of the service to be transmitted in the queue is reduced. Albeit with
Figure 723032DEST_PATH_IMAGE011
And &>
Figure 851744DEST_PATH_IMAGE012
But when the packet is->
Figure 234315DEST_PATH_IMAGE007
When the DS-TT queue is reached, the system also needs to wait for a longer time until the next gating is started. Therefore, the GCL is more adaptive to the 5G-TSN joint resource scheduling mechanism with discrete mode setting.
In a feasible implementation manner, in order to guarantee the time delay requirement of cross-network transmission of the industrial service, the end-to-end time delay of the cross-network transmission of the service is researched based on a 5G resource scheduling time transmission unit TTI. Time sensitive services
Figure 40597DEST_PATH_IMAGE013
Integrated delay profile>
Figure 90593DEST_PATH_IMAGE014
Is divided into seven parts including: queuing delay when base station is not processing->
Figure 629021DEST_PATH_IMAGE015
(ii) a Waiting delay at the base station for the next GCL gating on>
Figure 623522DEST_PATH_IMAGE016
(ii) a Base station processing delay pickand place>
Figure 607396DEST_PATH_IMAGE017
(ii) a Wireless transmission delay->
Figure 308636DEST_PATH_IMAGE018
(ii) a Queuing delay waiting for GCL gating on in DS-TT queues>
Figure 611441DEST_PATH_IMAGE019
(ii) a Wired transmission delay time pick-up>
Figure 703025DEST_PATH_IMAGE020
(ii) a Subscriber terminal processing delay->
Figure 116689DEST_PATH_IMAGE021
。/>
Therefore, the composition of the overall delay is shown in the following equation (4):
Figure 875698DEST_PATH_IMAGE022
……(4)
Figure 522973DEST_PATH_IMAGE023
the representative queuing delay coefficient is determined by a scheduling strategy. />
Figure 226487DEST_PATH_IMAGE024
Represents a processing delay factor, usually @>
Figure 53629DEST_PATH_IMAGE025
。/>
Figure 57357DEST_PATH_IMAGE026
Represents the packet length, or length, of the transmitted user>
Figure 374069DEST_PATH_IMAGE027
Is the transmission rate from the 5G domain to the TSN domain.
Figure 440245DEST_PATH_IMAGE028
Indicating the amount of data buffered in the DS-TT queue for the current slot. k is a radical of i Calculated by the base station and used for indicating the distance from the ith gate opening in a GCL gate control periodThe time of opening is controlled. />
Figure 195711DEST_PATH_IMAGE029
Indicating that the ith gate has been opened during a GCL cycle.
In order to avoid the problem of packet loss caused by DS-TT queue overflow, the service to be transmitted is regulated to wait at the base station until the DS-TT queue gate control is opened. The mechanism reduces the waiting time delay of the service to be transmitted in the DS-TT queue, thereby relieving the buffering pressure of the DS-TT. The mathematical expression of this problem is shown in the following formula (5):
Figure 959006DEST_PATH_IMAGE030
wherein the utility function
Figure 649881DEST_PATH_IMAGE031
,/>
Figure 327987DEST_PATH_IMAGE032
Is the transmission delay requirement of time sensitive users. />
Figure 762511DEST_PATH_IMAGE033
Indicating the maximum size of the DS-TT queue. The invention mainly calculates the waiting time delay for waiting the next GCL gating opening at the base station>
Figure 147355DEST_PATH_IMAGE034
To meet the user's latency requirement->
Figure 602608DEST_PATH_IMAGE032
. The user processed by the base station joint resource decision module is not immediately transmitted to the DS-TT queue, but is transmitted before the GCL gating of the DS-TT queue is started next time.
The invention provides a 5G-TSN joint resource scheduling mechanism based on the buffering condition of a DS-TT queue. The base station reduces queue pressure at the DS-TT position of the port gateway through linkage of the port gateway queue and the base station scheduling according to the periodic gating list, the current caching condition of the DS-TT queue of the port gateway and a scheduling mechanism of the queue capacity to the time-sensitive service, provides different setting modes of the periodic gating list, and improves the transmission reliability of the time-sensitive service under a 5G-TSN framework. In the process of scheduling the time-sensitive service, accurate and efficient data transmission is realized.
Fig. 2 is a block diagram of a 5G-TSN resource management device based on a terminal-side gateway queue buffer according to an exemplary embodiment. Referring to fig. 2, the apparatus includes:
a base station information acquisition module 210, configured to acquire base station terminal side data to obtain base station data information;
the queue information acquisition module 220 is configured to acquire current queue cache data and obtain queue cache information;
a retransmission determining module 230, configured to further process the service packet according to the base station data information, so as to obtain a service packet to be scheduled;
the delay calculating module 240 is configured to calculate according to the queue cache information to obtain a waiting delay of the service packet to be scheduled;
and the delay judging module 250 is configured to judge whether the waiting delay requirement is exceeded according to the waiting delay of the service packet to be scheduled, obtain a delay judging result, and transmit the service packet to be scheduled according to the delay judging result.
The base station data information comprises user information and channel information reported by a 5G domain user terminal.
Optionally, the retransmission determining module 230 is further configured to:
judging whether retransmission operation is needed or not according to the base station data information; when retransmission operation is needed, performing retransmission operation on the service packet to obtain a service packet to be scheduled; and when the retransmission operation is not needed, sequencing the service packets to obtain the service packets to be scheduled.
Optionally, the delay calculating module 240 is further configured to:
according to the queue caching information, acquiring the caching data quantity of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data quantity;
calculating according to a queue threshold of the DS-TT queue data volume and a preset queue cache control factor to obtain a cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
and calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the comparison result is that the cache data amount in the DS-TT queue is smaller than the cache threshold value of the DS-TT queue;
a delay calculation module 240, further configured to:
and determining the waiting time delay of the service packet to be scheduled as 0.
Optionally, the comparison result is that the cache data amount in the DS-TT queue is larger than the cache threshold of the DS-TT queue and smaller than the queue threshold of the DS-TT queue data amount;
a delay calculation module 240, further configured to:
obtaining the minimum value of the opening time of the unopened gate in a period according to a periodic gate control list set at a gateway; and calculating according to the minimum value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the buffer data amount in the DS-TT queue is larger than the queue threshold value of the DS-TT queue data amount;
a delay calculation module 240, further configured to:
according to a periodic gating list set at a gateway, obtaining a middle value of opening time of unopened gating in a period; and calculating according to the intermediate value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
Optionally, the time delay determining module 250 is further configured to:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting; and when the time delay judgment result is that the time delay requirement is not exceeded, transmitting the service packet to be scheduled to the DS-TT queue, and transmitting after the gating is started.
The invention provides a 5G-TSN joint resource scheduling mechanism based on the DS-TT queue caching condition. The base station reduces queue pressure at the DS-TT position of the port gateway through linkage of the port gateway queue and the base station scheduling according to the periodic gating list, the current caching condition of the DS-TT queue of the port gateway and a scheduling mechanism of the queue capacity to the time-sensitive service, provides different setting modes of the periodic gating list, and improves the transmission reliability of the time-sensitive service under a 5G-TSN framework. In the process of scheduling the time-sensitive service, accurate and efficient data transmission is realized.
Fig. 3 is a schematic structural diagram of an electronic device 300 according to an embodiment of the present invention, where the electronic device 300 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 301 and one or more memories 302, where the memory 302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 301 to implement the above-mentioned steps of the 5G-TSN resource management method based on the terminal-side gateway queue cache.
In an exemplary embodiment, a computer-readable storage medium, such as a memory including instructions executable by a processor in a terminal, is also provided to perform the above-mentioned 5G-TSN resource management method based on a terminal-side gateway queue buffer. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A5G-TSN resource management method based on terminal side gateway queue buffer is characterized by comprising the following steps:
acquiring data at a base station terminal side to obtain base station data information;
acquiring current queue cache data to obtain queue cache information;
further processing the service packet according to the base station data information to obtain a service packet to be scheduled;
calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled;
wherein, the calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled comprises:
according to the queue caching information, acquiring the caching data quantity of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data quantity;
calculating according to the queue threshold of the DS-TT queue data volume and a preset queue cache control factor to obtain the cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled;
and judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judgment result, and transmitting the service packet to be scheduled according to the time delay judgment result.
2. The method of claim 1, wherein the base station data information includes user information and channel information reported by a 5G domain user terminal.
3. The method for managing 5G-TSN resources based on terminal side gateway queue buffer according to claim 1, wherein the further processing the service packet according to the base station data information to obtain the service packet to be scheduled comprises:
judging whether retransmission operation is needed or not according to the base station data information; when retransmission operation is needed, retransmission operation is carried out on the service packet to obtain a service packet to be scheduled; and when the retransmission operation is not needed, sequencing the service packets to obtain the service packets to be scheduled.
4. The 5G-TSN resource management method based on terminal side gateway queue buffering of claim 1, wherein the comparison result is that the amount of buffered data in the DS-TT queue is less than the buffering threshold of the DS-TT queue;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
and determining the waiting time delay of the service packet to be scheduled as 0.
5. The 5G-TSN resource management method based on terminal side gateway queue buffering of claim 1, wherein the comparison result is that the amount of buffered data in the DS-TT queue is greater than the buffering threshold of the DS-TT queue and less than the queue threshold of the DS-TT queue data amount;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
obtaining the minimum value of the opening time of the unopened gate in a period according to a periodic gate control list set at a gateway; and calculating according to the minimum value of the opening time of the opened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
6. The 5G-TSN resource management method based on terminal side gateway queue buffering of claim 1, wherein the amount of buffered data in the DS-TT queue is larger than the queue threshold of the DS-TT queue data amount;
the calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled comprises the following steps:
according to a periodic gating list arranged at a gateway, obtaining an intermediate value of opening time of unopened gating in a period; and calculating according to the intermediate value of the opening time of the unopened gate in the period to obtain the waiting time delay of the service packet to be scheduled.
7. The method for managing 5G-TSN resources based on queue buffering of a gateway on a terminal side according to claim 1, wherein the transmitting the service packet to be scheduled according to the result of the delay determination comprises:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting the service packet; and when the time delay judgment result is that the time delay requirement is not exceeded, transmitting the service packet to be scheduled to a DS-TT queue, and transmitting after the gating is started.
8. A5G-TSN resource management device based on terminal side gateway queue buffer memory is characterized in that the device comprises:
the base station information acquisition module is used for acquiring base station terminal side data to obtain base station data information;
the queue information acquisition module is used for acquiring current queue cache data and acquiring queue cache information;
the retransmission judging module is used for further processing the service packet according to the base station data information to obtain a service packet to be scheduled;
the time delay calculation module is used for calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled;
wherein, the calculating according to the queue cache information to obtain the waiting time delay of the service packet to be scheduled comprises:
according to the queue caching information, acquiring the caching data volume of the current time slot in the DS-TT queue and the queue threshold value of the DS-TT queue data volume;
calculating according to the queue threshold of the DS-TT queue data quantity and a preset queue cache control factor to obtain a cache threshold of the DS-TT queue; the queue buffer control factor is a positive number less than 1;
comparing the cache data volume in the DS-TT queue, the cache threshold value of the DS-TT queue and the queue threshold value of the DS-TT queue data volume to obtain a comparison result;
calculating by adopting a corresponding algorithm according to the comparison result to obtain the waiting time delay of the service packet to be scheduled;
and the time delay judging module is used for judging whether the waiting time delay of the service packet to be scheduled exceeds the waiting time delay requirement or not according to the waiting time delay of the service packet to be scheduled, obtaining a time delay judging result and transmitting the service packet to be scheduled according to the time delay judging result.
9. The terminal-side gateway queue buffer-based 5G-TSN resource management device according to claim 8, wherein the delay determining module is further configured to:
when the time delay judgment result is that the time delay requirement is exceeded, transmitting the service packet to be scheduled to an emergency queue, and immediately transmitting the service packet; and when the time delay judgment result is that the time delay requirement is not exceeded, transmitting the service packet to be scheduled to a DS-TT queue, and transmitting after the gating is started.
CN202310010576.5A 2023-01-05 2023-01-05 5G-TSN resource management method and device based on terminal side gateway queue cache Active CN115696465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310010576.5A CN115696465B (en) 2023-01-05 2023-01-05 5G-TSN resource management method and device based on terminal side gateway queue cache

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310010576.5A CN115696465B (en) 2023-01-05 2023-01-05 5G-TSN resource management method and device based on terminal side gateway queue cache

Publications (2)

Publication Number Publication Date
CN115696465A CN115696465A (en) 2023-02-03
CN115696465B true CN115696465B (en) 2023-04-07

Family

ID=85057072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310010576.5A Active CN115696465B (en) 2023-01-05 2023-01-05 5G-TSN resource management method and device based on terminal side gateway queue cache

Country Status (1)

Country Link
CN (1) CN115696465B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141207A (en) * 2021-04-22 2021-07-20 东北大学 Time-sensitive service-oriented spatial information network data transmission method
CN114079977A (en) * 2021-11-17 2022-02-22 重庆大学 5G and TSN fusion network flow scheduling framework and resource allocation method
WO2022109986A1 (en) * 2020-11-27 2022-06-02 新华三技术有限公司 Message forwarding method and apparatus, and electronic device
CN114928894A (en) * 2022-05-07 2022-08-19 北京邮电大学 Deterministic scheduling method and device for time-sensitive network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022109986A1 (en) * 2020-11-27 2022-06-02 新华三技术有限公司 Message forwarding method and apparatus, and electronic device
CN113141207A (en) * 2021-04-22 2021-07-20 东北大学 Time-sensitive service-oriented spatial information network data transmission method
CN114079977A (en) * 2021-11-17 2022-02-22 重庆大学 5G and TSN fusion network flow scheduling framework and resource allocation method
CN114928894A (en) * 2022-05-07 2022-08-19 北京邮电大学 Deterministic scheduling method and device for time-sensitive network

Also Published As

Publication number Publication date
CN115696465A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
JP4500549B2 (en) Method and apparatus for dynamic allocation of network resources
US8130650B2 (en) Retro flow control for arriving traffic in computer networks
KR101344014B1 (en) Zero Delay Queuing Method and System
CN112512018B (en) Method for dynamically unloading tasks among cooperative vehicles based on mobile edge calculation
WO2021147368A1 (en) Method and apparatus for adjusting service level, device, system and storage medium
JP2008113117A (en) Band control device and method
CN112995048B (en) Blocking control and scheduling fusion method of data center network and terminal equipment
WO2021083160A1 (en) Data transmission method and apparatus
CN113141321B (en) Data transmission method based on edge calculation and electronic equipment
WO2021088893A1 (en) Tcp congestion control method, apparatus, terminal, and readable storage medium
US7707345B2 (en) Methods and apparatus for managing deadtime in feedback control queuing system
CN113783785A (en) ECN (engineering-centric networking) water line value configuration method and device and network equipment
CN115696465B (en) 5G-TSN resource management method and device based on terminal side gateway queue cache
CN115811799B (en) DDPG-based 5G-TSN joint resource scheduling device and method
CN115514710B (en) Weak connection flow management and control method based on self-adaptive sliding window
CN109391558B (en) Queue control method and device
Wang et al. Toward statistical QoS guarantees in a differentiated services network
Li et al. Rpq: Resilient-priority queue scheduling for delay-sensitive applications
JP3790897B2 (en) Packet transfer control system and method, program thereof, recording medium, and communication apparatus
Peng et al. Adaptive scheduling strategy for WiMAX real-time communication
KR100458707B1 (en) Adaptation packet forwarding method and device for offering QoS in differentiated service network
JP4238150B2 (en) Rate control method and rate control system in communication network
Domzal et al. The flushing mechanism for MBAC in flow-aware networks
KR100462475B1 (en) Apparatus for queue scheduling using linear control and method therefor
KR101446441B1 (en) Timestamp Adjustment for Packet Loss Differentiation in Weighted Fair Queuing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant