Scheduling strategy adjustment method, device, electronic device and storage medium
By collecting and analyzing the characteristic information of TSN data packets, and using the traffic prediction model to adjust the scheduling strategy of 5G/5G+ base stations, the problem of TSN service delay uncertainty is solved, and network performance and user experience are improved.
Patent Information
- Application Number
- CN202311320797.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-10-12
AI Technical Summary
The 5G/5G+ base station scheduler cannot perform special scheduling according to the data characteristics of TSN services, resulting in uncertainty in TSN service delays and equipment downtime.
By collecting the characteristic information of TSN data packets and inputting it into the traffic prediction model, we can generate dynamic information on traffic changes, adjust the scheduling strategy, including adjusting the RLC payload length, modulation and coding scheme and control retransmission scheme, and determine the priority of data packets based on the prediction information. level and transmission method.
It improves the performance of the TSN network to meet low-latency, high-reliability and real-time transmission requirements, avoid equipment downtime, and improve user experience.
Smart Images

Figure CN117377102B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of mobile communications, and in particular to a scheduling strategy adjustment method, a scheduling strategy adjustment device, an electronic device, and a computer-readable storage medium. Background Art
[0002] TSN (Time-Sensitive Network) is a general term for a series of data link layer protocol specifications developed by the IEEE 802.1TSN working group. It defines a time-sensitive mechanism for Ethernet data transmission and adds determinism and reliability to standard Ethernet to ensure real-time, deterministic and reliable data transmission. 5G / 5G+TSN refers to a time-sensitive network based on 5G / 5G+ networks. It is a technology for real-time communication and control that can provide high-precision and reliable clock synchronization on 5G / 5G+ networks.
[0003] In related technologies, the 5G / 5G+ base station scheduler cannot make special scheduling based on the data characteristics of TSN services, and cannot guarantee the determinism of TSN service delays. Changes in data packet delays and jitter will cause equipment downtime. Therefore, how to adaptively adjust the scheduling strategy based on the data characteristics of TSN services is a problem that needs to be solved in TSN service application scenarios.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The embodiments of the present disclosure provide a scheduling strategy adjustment method, a scheduling strategy adjustment device, an electronic device, and a computer-readable storage medium.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a scheduling strategy adjustment method is provided, the method comprising: collecting TSN data packets to be processed corresponding to a time-sensitive network TSN service, and obtaining characteristic information of the TSN data packets to be processed; inputting the TSN data packets to be processed and the characteristic information of the TSN data packets to be processed into a traffic prediction model, outputting traffic change dynamic information corresponding to the TSN data packets to be processed, and generating prediction information of the TSN service based on the traffic change dynamic information; and adjusting the scheduling strategy of the TSN service based on the prediction information of the TSN service.
[0008] In some embodiments of the present disclosure, the prediction information of the TSN service includes one or more of the predicted length of the target TSN data packet, the predicted arrival time interval of the target TSN data packet, the predicted transmission duty cycle of the target TSN data packet, the predicted transmission delay of the target TSN data packet, the predicted jitter of the target TSN data packet, and the predicted priority of the target TSN data packet.
[0009] In some embodiments of the present disclosure, the scheduling strategy of the TSN service is adjusted according to the prediction information of the TSN service, including: adjusting the radio link control RLC payload length in the scheduling strategy according to the prediction information of the TSN service; adjusting the modulation and coding scheme and the control retransmission scheme in the scheduling strategy according to the prediction information of the TSN service.
[0010] In some embodiments of the present disclosure, the wireless link control RLC payload length in the scheduling strategy is adjusted according to the prediction information of the TSN service, including: if the TSN service is determined to be a real-time requirement service according to the prediction information of the TSN service, the RLC payload length in the scheduling strategy is reduced; if the TSN service is determined to be a non-real-time requirement service according to the prediction information of the TSN service, the RLC payload length in the scheduling strategy is increased.
[0011] In some embodiments of the present disclosure, the method includes: if one or more of the following conditions is satisfied: the predicted length is less than a first length threshold, the predicted arrival time interval is greater than a first arrival time interval threshold, and the predicted transmission duty cycle is less than a first duty cycle threshold, then the TSN service is determined to be the real-time requirement service; otherwise, the TSN service is determined to be the non-real-time requirement service.
[0012] In some embodiments of the present disclosure, the modulation and coding scheme and the control retransmission scheme in the scheduling strategy are adjusted according to the prediction information of the TSN service, including: if the target TSN data packet is determined to be a critical data packet according to the prediction information of the TSN service, then it is determined to copy the target TSN data packet according to the first number of copies, downgrade the modulation and coding scheme, so as to transmit the copied target TSN data packet using the downgraded modulation and coding scheme, and enable the negative feedback statistics function; if the target TSN data packet is determined to be a general data packet according to the prediction information of the TSN service, then it is determined to transmit the target TSN data packet using the modulation and coding scheme, and enable the negative feedback statistics function; if the target TSN data packet is determined to be a non-critical data packet according to the prediction information of the TSN service, then it is determined to transmit the target TSN data packet using the modulation and coding scheme, and determine to turn off the negative feedback statistics function.
[0013] In some embodiments of the present disclosure, the target TSN data packet is the key data packet, and the method further includes: counting the number of transmission failures through the negative feedback statistical function, and determining whether the number of transmission failures is less than or equal to a retransmission number threshold; if so, determining to copy the target TSN data packet according to a second number of copies, downgrading the downgraded modulation and coding scheme, and obtaining a new modulation and coding scheme to transmit the copied target TSN data packet using the new modulation and coding scheme; wherein the second number of copies and the level of the new modulation and coding scheme are determined based on the number of transmission failures; if not, determining that the target TSN data packet has failed in transmission.
[0014] In some embodiments of the present disclosure, the target TSN data packet is the general data packet, and the method further includes: counting the number of transmission failures through the negative feedback statistical function; if the number of transmission failures reaches a retransmission number threshold, copying the target TSN data packet according to the first number of copies, and downgrading the modulation and coding scheme to transmit the copied target TSN data packet using the downgraded modulation and coding scheme.
[0015] In some embodiments of the present disclosure, the method further includes: determining that the target TSN data packet is the critical data packet if one or more of the following options are satisfied: the predicted length is less than the second length threshold, the predicted arrival time interval is less than the second arrival time interval threshold, the predicted transmission duty cycle is greater than the second duty cycle threshold, the predicted transmission delay is less than the first transmission delay threshold, the predicted jitter is less than the first jitter threshold, and the predicted priority is a high priority; determining that the target TSN data packet is the general data packet if one or more of the following options are satisfied: the predicted length is greater than or equal to the second length threshold and less than a third length threshold, the predicted arrival time interval is greater than or equal to the second arrival time interval threshold and less than the third arrival time interval threshold, the predicted The measured transmission duty cycle is less than or equal to the second duty cycle threshold and greater than the third duty cycle threshold, the predicted transmission delay is greater than or equal to the first transmission delay threshold and less than the second transmission delay threshold, the predicted jitter is greater than or equal to the first jitter threshold and less than the second jitter threshold, and the predicted priority is medium priority; if one or more of the following options are met, the target TSN data packet is determined to be the non-critical data packet: the predicted length is greater than or equal to the third length threshold, the predicted arrival time interval is greater than or equal to the third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to the third duty cycle threshold, the predicted transmission delay is greater than or equal to the second transmission delay threshold, the predicted jitter is greater than or equal to the second jitter threshold, and the predicted priority is low priority.
[0016] In some embodiments of the present disclosure, the prediction information of the TSN service is generated according to the dynamic information of traffic changes, including: analyzing the time series characteristics of the TSN data packets to be processed to obtain the timing analysis results of the TSN data packets to be processed; generating the prediction information of the TSN service according to the dynamic information of traffic changes and the timing analysis results of the TSN data packets to be processed.
[0017] In some embodiments of the present disclosure, the traffic prediction model is obtained based on training of a machine learning algorithm, and the traffic prediction model is used to output dynamic information of traffic changes corresponding to the input TSN data packets based on the input TSN data packets and feature information of the input TSN data packets.
[0018] According to another aspect of the present disclosure, a scheduling strategy adjustment device is provided, the device comprising: a data acquisition module, used to collect TSN data packets to be processed corresponding to time-sensitive network TSN services, and obtain characteristic information of the TSN data packets to be processed; a service prediction module, used to input the TSN data packets to be processed and the characteristic information of the TSN data packets to be processed into a traffic prediction model, output the traffic change dynamic information corresponding to the TSN data packets to be processed, and generate prediction information of the TSN services according to the traffic change dynamic information; a scheduling processing module, used to adjust the scheduling strategy of the TSN services according to the prediction information of the TSN services.
[0019] According to another aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a storage device configured to store one or more programs, so that when the one or more programs are executed by the one or more processors, the one or more processors implement the scheduling strategy adjustment method as described in the above embodiments.
[0020] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the scheduling strategy adjustment method as described in the above embodiment is implemented.
[0021] The scheduling strategy adjustment method provided by the embodiment of the present disclosure can obtain the TSN traffic trend according to the pending TSN data packets corresponding to the TSN service and their corresponding characteristic information, and then determine the prediction information of the TSN service, and then adjust the scheduling strategy according to the prediction information. It can combine the prediction information of the TSN service with the adjustment of the scheduling strategy, and adaptively adjust the scheduling strategy according to different requirements for latency, jitter, reliability, etc. in different TSN service scenarios, thereby effectively ensuring the TSN network performance, better meeting the requirements of the TSN service for low latency, high reliability and real-time transmission, improving the user experience in the TSN service scenario, and avoiding equipment downtime due to the failure to ensure the determinism of the TSN service latency.
[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0024] Figure 1 A schematic diagram of a network architecture of a 5G / 5G+ based TSN system applicable to an embodiment of the present disclosure is shown;
[0025] Figure 2 A schematic diagram of the structure of the scheduling processing module of a 5G / 5G+ base station is shown;
[0026] Figure 3 A flowchart of a scheduling strategy adjustment method according to an embodiment of the present disclosure is shown;
[0027] Figure 4 A flow chart of adjusting the RLC payload length in the scheduling strategy according to an embodiment of the present disclosure is shown;
[0028] Figure 5 A flow chart showing how to adjust a modulation and coding scheme and a control retransmission scheme in a scheduling strategy according to an embodiment of the present disclosure is shown;
[0029] Figure 6 A flowchart of a scheduling strategy adjustment method according to another embodiment of the present disclosure is shown;
[0030] Figure 7 A schematic diagram showing the structure of a scheduling strategy adjustment device according to an embodiment of the present disclosure is shown;
[0031] Figure 8 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0032] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0033] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0034] It should be noted that the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present disclosure are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects, and the descriptions of "first" and "second" do not limit the objects to be different.
[0035] Figure 1 A schematic diagram of a network architecture of a 5G / 5G+ based TSN system applicable to an embodiment of the present disclosure is shown. Figure 1 The TSN system based on 5G / 5G+ includes 5G / 5G+Time Domain and TSN Time Domain.
[0036] Among them, TSN Time Domain includes TSN Bridge, TSN GM (TSN master clock, GM stands for grandmaster clock. In the TSN protocol, GM is the master clock in the master-slave synchronization model, responsible for synchronizing time information to the slave clock) and TSN End Station (TSN terminal station, including both the sending and receiving ends). Each node is synchronized with TSN GM. 5G / 5G+Time Domain includes 5G / 5G+GM (5G / 5G+ master clock), DS-TT (Device-side TSN translator, terminal-side TSN adapter), NW-TT (Network-side TSN translator, network-side TSN adapter), UE (User Equipment, terminal equipment), 5G / 5G+ base station and 5G / 5G+ core network. Each node is synchronized with 5G / 5G+GM.
[0037] In TSN, DS-TT and NW-TT are two different types of adapters, which are used for connection and communication between UE and network devices. DS-TT refers to the adapter used to connect UE (such as sensors, actuators, etc.) to the TSN network. These UEs may use different protocols and data formats, and the role of DS-TT is to adapt and integrate these devices with the TSN network to achieve the transmission and processing of time-sensitive data. NW-TT refers to the adapter used to connect the TSN network with external networks (such as the Internet, Ethernet, etc.). These external networks may use different protocols and data formats, and the role of NW-TT is to adapt and interconnect the TSN network with the external network to achieve the transmission and processing of time-sensitive data between the two networks. DS-TT and NW-TT need to perceive the time in two different time domains at the same time, and 5G / 5G+ base stations do not need to perceive TSN time.
[0038] In the related technologies, the 5G / 5G+ base station scheduler cannot make special scheduling based on the data characteristics of TSN services, and cannot guarantee the determinism of TSN service delays. The changes in packet delay and jitter will cause equipment downtime. Therefore, how to adaptively adjust the scheduling strategy based on the data characteristics of TSN services is a problem that needs to be solved in TSN service application scenarios. In order to solve the above problems, a data collection module and a service prediction module can be added to the 5G / 5G+ base station, and the functions of the scheduling processing module can be modified, and the function of adjusting the scheduling strategy based on service prediction information can be added.
[0039] Specifically, the data acquisition module supports 5G / 5G+ base stations to collect TSN data packets and extract the features of TSN data packets, such as TSN data packet size, sending timestamp, priority, etc. The business prediction module can use machine learning algorithms to train business prediction models. The input of the model is TSN data packets and corresponding features, and the output is TSN traffic trends. During the training process, different optimization algorithms and loss functions can be selected for optimization so that the trained business prediction model can better predict the results. The business prediction module can use the trained business prediction model to predict unknown TSN data packet features, obtain the corresponding TSN traffic trend, and obtain TSN business prediction information, such as TSN data packet size, TSN data packet arrival time interval, duty cycle, latency, jitter, and TSN data packet priority.
[0040] Figure 2 The schematic diagram of the structure of the scheduling processing module of the 5G / 5G+ base station is shown. Figure 2 As shown, the scheduling processing module can be composed of a QoS (Quality of Service) management submodule, a physical layer measurement value processing submodule, a user selection submodule, a NACK (Negative Acknowledgement, negative feedback, the receiver notifies the sender only when no data is received) real-time statistics submodule, an MCS (Modulation and Coding Scheme, modulation and coding scheme) selection submodule and a resource allocation submodule. The input signals of the scheduling processing module include QoS (such as setting and optimizing through parameters 5QI, GBR and AMBR), channel state indication, HARQ (Hybrid Automatic Repeat Request, hybrid automatic repeat request) feedback, RLC (Radio Link Control, radio link control) data cache, downlink transmission power, downlink MIMO (Multiple-Input Multiple-Output, multiple input multiple output) scheme, and service prediction information, and the output signals include selecting users, RLC payload size, selecting MCS, controlling retransmission, antenna and resource mapping.
[0041] Among them, the business prediction information is a new input signal for the scheduling processing module. In addition to generating a scheduling strategy based on the existing input signal, the scheduling processing module can also adjust the scheduling strategy based on the new input signal, namely, the business prediction information. Specifically, the RLC payload size in the scheduling strategy can be adjusted, MCS selection and retransmission control can be performed.
[0042] Next, the scheduling strategy adjustment method of the embodiment of the present disclosure is described in detail with reference to the accompanying drawings. Figure 3A flowchart of a scheduling strategy adjustment method according to an embodiment of the present disclosure is shown. Figure 3 The scheduling strategy adjustment method provided in the embodiment may be executed by a base station, for example Figure 1 5G / 5G+ base stations in Figure 3 As shown, the scheduling strategy adjustment method specifically includes the following steps S310 to S330.
[0043] Step S310: collect the TSN data packets to be processed corresponding to the TSN service, and obtain characteristic information of the TSN data packets to be processed.
[0044] TSN services can be industrial automation, intelligent transportation, aerospace, smart mining, smart grid, automotive electronics, autonomous driving, and telemedicine. Different TSN services have different requirements for latency, jitter, and reliability. For example, TSN service application scenarios such as Internet of Vehicles, industrial automation, and telemedicine have very high requirements for real-time performance, and need to strictly control the delay and jitter of data transmission to ensure the timeliness and accuracy of data.
[0045] The TSN data packet to be processed can be understood as a known TSN data packet, and the characteristic information of the TSN data packet to be processed may include information such as the TSN data packet size, the sending timestamp of the TSN data packet, and the priority of the TSN data packet. Among them, the size of the data packet refers to the length of the data packet, the occurrence timestamp of the data packet refers to the sending time of the data packet, and the priority of the data packet refers to the priority level when the data packet is transmitted in the network.
[0046] In this step, data packets of specific TSN services can be collected and the features of the data packets can be extracted. Subsequently, the traffic trend of the TSN service can be predicted based on the collected data packets and data packet features to obtain TSN service prediction information, and then the scheduling strategy can be adjusted in combination with the TSN service prediction information so that the adjusted scheduling strategy matches the TSN service.
[0047] Step S320, input the TSN data packet to be processed and the characteristic information of the TSN data packet to be processed into the traffic prediction model, output the traffic change dynamic information corresponding to the TSN data packet to be processed, and generate the prediction information of the TSN service according to the traffic change dynamic information.
[0048] In some embodiments of the present disclosure, the traffic prediction model is obtained through training based on a machine learning algorithm, for example, a traffic prediction model is obtained through training using a random forest algorithm. The traffic prediction model refers to a trained traffic prediction model, which is used to output dynamic traffic change information corresponding to an input TSN data packet based on the input TSN data packet and the characteristic information of the input TSN data packet.
[0049] Among them, the dynamic information of traffic changes corresponding to the TSN data packets can be understood as TSN traffic trends, such as the sending frequency of TSN data packets, the traffic size of TSN data packets, the priority of TSN data packets, and the transmission delay of TSN data packets. By analyzing the characteristics of the arrival time interval and duty cycle of the data packets, the sending frequency trend of the TSN data packets can be predicted, such as whether the data packet transmission is dense or sparse; by analyzing the characteristics of the size of the data packets, the traffic size trend of the TSN data packets can be predicted, such as whether the data packet traffic is large or small; by analyzing the characteristics of the priority of the data packets, the priority trend of the TSN data packets can be predicted, such as whether there are more high-priority data packets or more low-priority data packets; by analyzing the characteristics of the data packets such as delay and jitter, the transmission delay trend of the TSN data packets can be predicted, such as whether the transmission delay of the data packets is large or small. Of course, the traffic trend can also include other information, which is not limited in the embodiments of the present disclosure.
[0050] In the disclosed embodiment, a trained traffic prediction model can be obtained according to the following method: obtain a historical TSN data packet, which is a training sample, obtain the actual traffic trend corresponding to the historical TSN data packet, and extract the feature information of the historical TSN data packet; input the historical TSN data packet and its corresponding feature information into an untrained traffic prediction model, and output the predicted traffic trend corresponding to the historical TSN data packet; select different optimization algorithms, such as stochastic gradient descent, genetic algorithm, etc., and loss functions, such as root mean square error, cross entropy, etc., calculate the model loss value according to the predicted traffic trend and the actual traffic trend, and continuously adjust the model parameters until the model loss value meets the preset conditions, such as being less than the preset loss threshold, to obtain a trained traffic prediction model.
[0051] In some embodiments of the present disclosure, generating prediction information of TSN services based on dynamic information of traffic changes may include: analyzing the time series characteristics of the TSN data packets to be processed to obtain the timing analysis results of the TSN data packets to be processed; generating prediction information of TSN services based on the dynamic information of traffic changes and the timing analysis results of the TSN data packets to be processed.
[0052] The time series characteristics of the TSN data packets to be processed are analyzed to obtain the timing analysis results of the TSN data packets to be processed, such as the arrival time interval, duty cycle, delay and jitter of the TSN data packets. Among them, the arrival time interval refers to the time required for a data packet to be transmitted from one device to another; the duty cycle usually refers to the proportion of time occupied by data transmission in a specific time period, that is, the proportion of network activity; delay refers to the time required for a data packet to be sent from the sender to the receiver; jitter refers to the irregularity of the arrival time interval between data packets.
[0053] In the disclosed embodiment, a traffic prediction model is used to process the TSN data packets to be processed and the corresponding features to obtain the corresponding TSN traffic trends, and a timing analysis is performed on the TSN data packets to be processed to obtain the timing analysis results. The TSN traffic trends and timing analysis results are combined to obtain the prediction information of the TSN business.
[0054] Among them, the prediction information of the TSN service can be understood as the information of the predicted target TSN data packet, and the target TSN data packet can be understood as an unknown data packet transmitted after the TSN data packet to be processed. The prediction information may include one or more of the predicted length of the target TSN data packet, the predicted arrival time interval of the target TSN data packet, the predicted transmission duty cycle of the target TSN data packet, the predicted transmission delay of the target TSN data packet, the predicted jitter of the target TSN data packet and the predicted priority of the target TSN data packet.
[0055] In the disclosed embodiments, TSN traffic trends are obtained based on a pre-trained traffic prediction model, and then prediction information of TSN services is obtained. The prediction information is subsequently used as an important basis for base station scheduling in the 5G / 5G+TSN system, to dynamically adjust the scheduling strategy, improve 5G / 5G+TSN network performance and user experience, and is highly targeted at the evolution of wireless networks towards 6G.
[0056] Step S330: adjusting the scheduling strategy of the TSN service according to the prediction information of the TSN service.
[0057] Scheduling strategies may include user selection schemes, antenna and resource mapping schemes, RLC payload length settings, modulation and coding schemes, and control retransmission schemes. Among them, the user selection scheme mainly determines which users can obtain more resources based on factors such as user priority, channel quality, and data cache; the antenna and resource mapping scheme mainly determines how to allocate wireless resources based on factors such as channel status, data transmission rate, and antenna status; the RLC payload length setting mainly reflects the size of the data transmitted by the RLC layer, and the appropriate RLC payload length can be determined by factors such as data cache size, HARQ feedback, and scheduling decisions to ensure reliable data transmission and high performance; the modulation and coding scheme mainly selects the best modulation and coding scheme based on factors such as the current channel status, data cache size, and QoS requirements to ensure the reliability and efficiency of data transmission; the control retransmission scheme mainly determines when data needs to be retransmitted and how to reasonably use resources for retransmission based on NACK feedback statistics.
[0058] In some embodiments of the present disclosure, the scheduling strategy of the TSN service is adjusted according to the prediction information of the TSN service, including: adjusting the RLC payload length in the scheduling strategy according to the prediction information of the TSN service; adjusting the modulation and coding scheme and the control retransmission scheme in the scheduling strategy according to the prediction information of the TSN service.
[0059] In the disclosed embodiments, the RLC payload size, MCS selection, and retransmission control are dynamically adjusted according to the prediction information of the TSN service, so as to realize dynamic and real-time adjustment of the scheduling strategy in different TSN service scenarios and improve the completeness, adaptability, and flexibility of the base station in the 5G / 5G+TSN system.
[0060] Figure 4 FIG. 4 is a flow chart showing how to adjust the RLC payload length in the scheduling strategy according to an embodiment of the present disclosure. Figure 4 As shown, adjusting the RLC payload length may include the following steps.
[0061] Step S410: If the TSN service is determined as a real-time service according to the prediction information of the TSN service, the RLC payload length in the scheduling strategy is reduced and adjusted.
[0062] Step S420: If it is determined according to the prediction information of the TSN service that the TSN service is a service with non-real-time requirements, the RLC payload length in the scheduling strategy is increased and adjusted.
[0063] Real-time services can be understood as services that have strict requirements on latency and jitter, requiring precise time synchronization and low-latency data transmission to ensure real-time, synchronization, and time accuracy. Non-real-time services can be understood as services that do not have strict requirements on latency and jitter, do not have high requirements on real-time, and focus on the reliability and stability of data transmission.
[0064] RLC payload refers to the amount of valid data that can be carried in one data transmission in the RLC protocol. When adjusting the RLC payload length according to the prediction information of the TSN service, it is possible to first determine whether the TSN service is a real-time requirement service according to the prediction information of the TSN service. If the TSN service is determined to be a real-time requirement service, the RLC payload length is reduced; if the TSN service is determined to be a non-real-time requirement service, the RLC payload length is increased.
[0065] Furthermore, whether the TSN service is a real-time requirement service can be determined according to the following method: if one or more of the following conditions are met: the predicted length is less than a first length threshold, the predicted arrival time interval is greater than a first arrival time interval threshold, and the predicted transmission duty cycle is less than a first duty cycle threshold, then the TSN service is determined to be a real-time requirement service; otherwise, the TSN service is determined to be a non-real-time requirement service.
[0066] If the predicted length of the target TSN data packet is less than the first length threshold, the target TSN data packet is small according to the service prediction information; if the predicted arrival time interval of the target TSN data packet is greater than the first arrival time interval, the target TSN data packet arrival time interval is long according to the service prediction information; if the predicted transmission duty cycle of the target TSN data packet is less than the first duty cycle threshold, the target TSN data packet duty cycle is small according to the service prediction information. If the target TSN data packet is small or the target TSN data packet arrival time interval is long or the duty cycle is small, the TSN service is considered to be a real-time requirement service, and the RLC payload is reduced; otherwise, the TSN service is considered to be a non-real-time requirement service, and the RLC payload is increased.
[0067] In the disclosed embodiment, if the TSN service is judged as a real-time service based on the TSN service prediction information, the RLC payload length is reduced, which can increase the transmission frequency of data packets and reduce transmission delays, while also improving the real-time performance of data to meet strict requirements on latency and jitter; if the TSN service is judged as a non-real-time service based on the TSN service prediction information, the RLC payload length is increased, which can increase the reliability of data packets to improve the reliability of data.
[0068] Figure 5 FIG. 1 is a flow chart showing how to adjust the modulation and coding scheme and the control retransmission scheme in the scheduling strategy according to an embodiment of the present disclosure. Figure 5 As shown, adjusting the modulation and coding scheme and controlling the retransmission scheme may include the following steps.
[0069] Step S510, if the target TSN data packet is determined to be a key data packet according to the prediction information of the TSN service, it is determined to copy the target TSN data packet according to the first number, downgrade the modulation and coding scheme, use the downgraded modulation and coding scheme to transmit the copied target TSN data packet, and enable the negative feedback statistics function.
[0070] The modulation and coding scheme, i.e., the selection of MCS, is a key parameter used in wireless networks to adjust the data transmission rate and reliability. When selecting MCS, it is usually necessary to consider signal quality, interference level, transmission distance, system load, and resource utilization; the control retransmission scheme refers to the situation in which data may not be successfully transmitted in one go due to various reasons in a wireless network (such as interference, signal attenuation, etc.), and the control retransmission scheme is used to decide when and how to retransmit data. The disclosed embodiment can adjust the modulation and coding scheme and the control retransmission scheme according to the prediction information of the TSN service.
[0071] When adjusting the modulation and coding scheme and the control retransmission scheme according to the prediction information of the TSN service, it is possible to first determine whether the target TSN data packet is a critical data packet, a general data packet, or a non-critical data packet based on the prediction information of the TSN service, and then adjust the modulation and coding scheme and the control retransmission scheme when the type of the target TSN data packet is determined.
[0072] Among them, critical data packets can be understood as data packets carrying critical information, such as data packets carrying critical instructions or control information, which are crucial to the normal operation of the system or application; general data packets can be understood as regular data packets or standard data packets, which carry a moderate amount of information and may belong to general business data packets; non-critical data packets can be understood as data packets that are not particularly important or urgent, which carry a large amount of information or data.
[0073] In some embodiments of the present disclosure, if one or more of the following options are met, the target TSN data packet is determined to be a critical data packet: the predicted length is less than a second length threshold, the predicted arrival time interval is less than a second arrival time interval threshold, the predicted transmission duty cycle is greater than a second duty cycle threshold, the predicted transmission delay is less than a first transmission delay threshold, the predicted jitter is less than a first jitter threshold, and the predicted priority is a high priority.
[0074] If the predicted length of the target TSN data packet is less than the second length threshold, it is determined that the target TSN data packet is small; if the predicted arrival time interval of the target TSN data packet is less than the second arrival time interval, it is determined that the arrival time interval of the target TSN data packet is short; if the predicted transmission duty cycle of the target TSN data packet is greater than the second duty cycle threshold, it is determined that the duty cycle of the target TSN data packet is large; if the predicted transmission delay of the target TSN data packet is less than the first transmission delay threshold, it is determined that the delay is small; if the predicted jitter of the target TSN data packet is less than the first jitter threshold, it is determined that the jitter is small; if the predicted priority of the target TSN data packet is high priority, it is determined that the priority is high.
[0075] In the disclosed embodiment, if one or more of the following options are met: small target TSN data packet, short target TSN data packet arrival time interval, large space ratio, small delay, small jitter, and high priority, the target TSN data packet is determined to be a critical data packet. In this case, the target TSN data packet may be a control or instruction data packet with high priority, low latency, and high real-time performance, which needs to be transmitted frequently and at high speed, and the network needs to have high stability and low latency.
[0076] When the target TSN data packet is determined to be a critical data packet, the target TSN data packet can be copied, the modulation and coding scheme can be downgraded, and the copied target TSN data packet can be transmitted using the downgraded modulation and coding scheme, and the negative feedback statistics function can be enabled. For example, the target TSN data packet can be copied into two copies, the MCS transmission can be reduced by one level, and the NACK real-time statistics submodule can be enabled.
[0077] In the disclosed embodiment, when it is determined that the target TSN data packet is a key data packet, the coverage of the data packet can be increased by duplicating the data packet, thereby improving the success rate of data transmission; the complexity and interference of data transmission can be reduced by reducing the modulation and coding scheme, thereby improving the reliability of data transmission; after the NACK real-time statistics submodule is turned on, when the receiver receives a damaged or lost data packet, it will send a NACK response, and the quality of data transmission can be understood by counting the number of NACK responses.
[0078] In some embodiments of the present disclosure, when it is determined that the target TSN data packet is a critical data packet, the scheduling strategy adjustment method may further include: counting the number of transmission failures through a negative feedback statistical function, and determining whether the number of transmission failures is less than or equal to a retransmission number threshold; if so, determining to copy the target TSN data packet according to a second number of copies, downgrading the downgraded modulation and coding scheme, and obtaining a new modulation and coding scheme, so as to utilize the new modulation and coding scheme to transmit the copied target TSN data packet; wherein the second number of copies and the level of the new modulation and coding scheme are determined based on the number of transmission failures; if not, determining that the target TSN data packet has failed to be transmitted.
[0079] After the negative feedback statistics function is enabled, the number of transmission failures can be counted through the negative feedback statistics function. When the number of transmission failures does not exceed the retransmission threshold, the target TSN data packet can be copied to continue to downgrade the modulation and coding scheme. For example, the retransmission threshold is set to 3 times. When the NACK real-time statistics submodule continuously counts the number of transmission failures for more than 1 time, the target TSN data packet is copied into 4 copies, and the MCS transmission is reduced by one level. When the NACK real-time statistics submodule continuously counts the number of transmission failures for more than 2 times, the target TSN data packet is copied into 8 copies, and the MCS transmission is further reduced by one level.
[0080] In the disclosed embodiment, when the target TSN data packet is determined to be a critical data packet, the number of transmission failures is counted by turning on the negative feedback statistics function. When the number of transmission failures does not exceed the retransmission threshold, the target TSN data packet is copied more and the level of the modulation and coding scheme is further reduced to reduce the system capacity, thereby ensuring the reliability of the target TSN data packet transmission and reducing latency and jitter.
[0081] Step S520: If it is determined according to the prediction information of the TSN service that the target TSN data packet is a general data packet, it is determined to transmit the target TSN data packet using a modulation and coding scheme, and a negative feedback statistics function is enabled.
[0082] In some embodiments of the present disclosure, if one or more of the following options are met, the target TSN data packet is determined to be a general data packet: the predicted length is greater than or equal to the second length threshold and less than the third length threshold, the predicted arrival time interval is greater than or equal to the second arrival time interval threshold and less than the third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to the second duty cycle threshold and greater than the third duty cycle threshold, the predicted transmission delay is greater than or equal to the first transmission delay threshold and less than the second transmission delay threshold, the predicted jitter is greater than or equal to the first jitter threshold and less than the second jitter threshold, and the predicted priority is medium priority. Among them, the second length threshold is less than the third length threshold, the second arrival time interval threshold is less than the third arrival time interval threshold, the second duty cycle threshold is greater than the third duty cycle threshold, the first transmission delay threshold is less than the second transmission delay threshold, and the first jitter threshold is less than the second jitter threshold.
[0083] If the predicted length of the target TSN data packet is greater than or equal to the second length threshold and less than the third length threshold, it is determined that the target TSN data packet belongs to the medium level, that is, it is neither a large data packet nor a small data packet; if the predicted arrival time interval of the target TSN data packet is greater than or equal to the second arrival time interval threshold and less than the third arrival time interval threshold, it is determined that the arrival time interval of the target TSN data packet is medium, that is, the arrival time interval is neither long nor short; if the predicted transmission duty cycle of the target TSN data packet is less than or equal to the second duty cycle threshold and greater than the third duty cycle threshold, it is determined that the duty cycle of the target TSN data packet is medium, that is, the duty cycle is neither large nor small; if the predicted transmission delay of the target TSN data packet is greater than or equal to the first transmission delay threshold and less than the second transmission delay threshold, it is determined that the delay is medium, that is, the transmission delay is neither long nor short; if the predicted jitter of the target TSN data packet is greater than or equal to the first jitter threshold and less than the second jitter threshold, it is determined that the jitter is medium, that is, the jitter is neither large nor small; if the predicted priority of the target TSN data packet is medium priority, the priority is determined to be medium.
[0084] In the embodiment of the present disclosure, if one or more of the following options are met: in the target TSN data packet, in the target TSN data packet arrival time interval, in the space ratio, in the delay, in the jitter, and in the priority, the target TSN data packet is determined to be a general data packet. In this case, the target TSN data packet may contain medium-sized business data or information, with moderate requirements for real-time performance and reliability, and will not cause excessive pressure on network transmission.
[0085] When the target TSN data packet is determined to be a general data packet, it can be determined not to copy the target TSN data packet, and the modulation and coding scheme in the scheduling strategy is not adjusted, and transmission is performed normally. At the same time, the negative feedback statistics function is enabled, that is, the NACK real-time statistics submodule is enabled.
[0086] In some embodiments of the present disclosure, when it is determined that the target TSN data packet is a general data packet, the scheduling strategy adjustment method may also include: counting the number of transmission failures through a negative feedback statistical function; if the number of transmission failures reaches a retransmission threshold, copying the target TSN data packet according to the first number, and downgrading the modulation and coding scheme to transmit the copied target TSN data packet using the downgraded modulation and coding scheme.
[0087] After the negative feedback statistics function is enabled, the number of transmission failures can be counted through the negative feedback statistics function. When the number of transmission failures reaches the retransmission threshold, the target TSN data packet can be copied and the modulation and coding scheme can be downgraded to use the downgraded modulation and coding scheme to transmit the copied target TSN data packet. For example, the target TSN data packet can be copied into two copies and the MCS transmission can be reduced by one level. In this way, the effect of appropriate retransmission is achieved, which improves the system capacity while ensuring the reliability of data transmission.
[0088] Step S530: If the target TSN data packet is determined to be a non-critical data packet according to the prediction information of the TSN service, it is determined to transmit the target TSN data packet using a modulation and coding scheme, and it is determined to turn off the negative feedback statistics function.
[0089] In some embodiments of the present disclosure, if one or more of the following options are met, the target TSN data packet is determined to be a non-critical data packet: the predicted length is greater than or equal to a third length threshold, the predicted arrival time interval is greater than or equal to a third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to a third duty cycle threshold, the predicted transmission delay is greater than or equal to the second transmission delay threshold, the predicted jitter is greater than or equal to the second jitter threshold, and the predicted priority is low priority.
[0090] If the predicted length of the target TSN data packet is greater than or equal to the third length threshold, the target TSN data packet is determined to be large; if the predicted arrival time interval of the target TSN data packet is greater than or equal to the third arrival time interval threshold, the target TSN data packet arrival time interval is determined to be long; if the predicted transmission duty cycle of the target TSN data packet is less than or equal to the third duty cycle threshold, the target TSN data packet duty cycle is determined to be small; if the predicted transmission delay of the target TSN data packet is greater than or equal to the second transmission delay threshold, the delay is determined to be large; if the predicted jitter of the target TSN data packet is greater than or equal to the second jitter threshold, the jitter is determined to be large; if the predicted priority of the target TSN data packet is low priority, the priority is determined to be low.
[0091] In the disclosed embodiment, if one or more of the following options are met: large target TSN data packet, long target TSN data packet arrival time interval, small space ratio, large delay, large jitter, and low priority, the target TSN data packet is determined to be a non-critical data packet. In this case, the target TSN data packet may contain a large amount of information or data, which requires a long time to transmit, and the requirements for real-time performance and stability may not be particularly high, requiring efficient and reliable transmission.
[0092] When it is determined that the target TSN data packet is a non-critical data packet, it can be determined not to copy the target TSN data packet, and the modulation and coding scheme in the scheduling strategy is not adjusted, and transmission is performed normally. At the same time, it is determined to turn off the negative feedback statistics function, that is, it is determined to turn off the NACK real-time statistics sub-module, and retransmit normally according to the configured number of retransmissions, for example, retransmit according to the configured number of retransmissions 4 times.
[0093] Specific embodiments are listed below to illustrate the scheduling strategy adjustment method provided in the embodiments of the present disclosure. Figure 6 A flowchart of a scheduling strategy adjustment method according to another embodiment of the present disclosure is shown. Figure 6 As shown, the specific implementation of the scheduling strategy adjustment method may include the following steps.
[0094] Step S610: collecting the TSN data packets to be processed corresponding to the TSN service, and extracting the characteristic information of the TSN data packets to be processed.
[0095] Specifically, the newly added data acquisition module in the 5G / 5G+ base station can be used to collect TSN data packets and extract the characteristics of the data packets, such as the size of the TSN data packet, the sending timestamp of the TSN data packet, the priority of the TSN data packet, and other information.
[0096] Step S620, obtaining a traffic prediction model based on machine learning algorithm training.
[0097] Specifically, the model can be trained through the newly added service prediction module in the 5G / 5G+ base station. The input of the traffic prediction model is the TSN data packet and the corresponding features, and the output is the dynamic information of the traffic change corresponding to the input TSN data packet, that is, the TSN traffic trend, such as the sending frequency of the TSN data packet, the traffic size of the TSN data packet, the priority of the TSN data packet, and the transmission delay of the TSN data packet.
[0098] In the process of training the traffic prediction model, different optimization algorithms and loss functions can be selected for optimization, and the training effect can be continuously evaluated and verified in order to obtain a traffic prediction model with accurate prediction results.
[0099] Step S630, input the features of the TSN data packet to be processed and the extracted data packet into the traffic prediction model, obtain the TSN traffic trend corresponding to the TSN data packet to be processed, and perform timing analysis on the TSN data packet to be processed to obtain prediction information of the TSN service.
[0100] Among them, the prediction information may include one or more of the predicted length of the target TSN data packet, the predicted arrival time interval of the target TSN data packet, the predicted transmission duty cycle of the target TSN data packet, the predicted transmission delay of the target TSN data packet, the predicted jitter of the target TSN data packet and the predicted priority of the target TSN data packet. The target TSN data packet can be understood as an unknown data packet transmitted after the TSN data packet to be processed.
[0101] Step S640: Use the prediction information of the TSN service as a new input signal for the scheduling processing module in the 5G / 5G+ base station, and adjust the scheduling strategy through the scheduling processing module.
[0102] Step S650: adjusting the RLC payload size according to the prediction information of the TSN service through the scheduling processing module.
[0103] The above steps S410 and S420 have already described the steps of adjusting the RLC payload size in detail, which will not be repeated here.
[0104] Step S660: The scheduling processing module adjusts the modulation and coding scheme and controls the retransmission scheme according to the prediction information of the TSN service, and determines whether to start the NACK real-time statistics submodule.
[0105] The above steps S510 to S530 have already explained in detail how to adjust the modulation and coding scheme and control the retransmission scheme, as well as whether to enable the NACK real-time statistics submodule, which will not be repeated here.
[0106] The scheduling strategy adjustment method provided by the embodiment of the present disclosure can obtain the TSN traffic trend according to the pending TSN data packets corresponding to the TSN service and their corresponding characteristic information, and then determine the prediction information of the TSN service, and then adjust the scheduling strategy according to the prediction information. It can combine the prediction information of the TSN service with the adjustment of the scheduling strategy, and adaptively adjust the scheduling strategy according to different requirements for latency, jitter, reliability, etc. in different TSN service scenarios, thereby effectively ensuring the TSN network performance, improving the user experience in the TSN service scenarios, and better meeting the TSN service requirements for low latency, high reliability and real-time transmission.
[0107] Furthermore, by adding a data collection module and a service prediction module, as well as an optimized scheduling processing module in the base station of the 5G / 5G+TSN system, the scheduling strategy adjustment method of the embodiment of the present disclosure is implemented, which greatly improves the completeness and flexibility of the base station equipment, improves the performance of the 5G / 5G+ access network, and has low implementation complexity, and is easy to implement and promote.
[0108] Figure 7 FIG. 2 shows a schematic diagram of the structure of a scheduling strategy adjustment device according to an embodiment of the present disclosure. Figure 7 As shown, the scheduling strategy adjustment device 700 may include a data collection module 710 , a service prediction module 720 and a scheduling processing module 730 .
[0109] Among them, the data acquisition module 710 can be used to collect the TSN data packets to be processed corresponding to the TSN business and obtain the characteristic information of the TSN data packets to be processed; the business prediction module 720 can be used to input the TSN data packets to be processed and the characteristic information of the TSN data packets to be processed into the traffic prediction model, and output the dynamic information of the traffic change corresponding to the TSN data packets to be processed, and generate the prediction information of the TSN business according to the dynamic information of the traffic change; the scheduling processing module 730 can be used to adjust the scheduling strategy of the TSN business according to the prediction information of the TSN business.
[0110] In some embodiments of the present disclosure, the prediction information of the TSN service includes one or more of the predicted length of the target TSN data packet, the predicted arrival time interval of the target TSN data packet, the predicted transmission duty cycle of the target TSN data packet, the predicted transmission delay of the target TSN data packet, the predicted jitter of the target TSN data packet, and the predicted priority of the target TSN data packet.
[0111] In some embodiments of the present disclosure, the scheduling processing module 730 may also be used to: adjust the RLC payload length in the scheduling strategy according to the prediction information of the TSN service; adjust the modulation coding scheme and control retransmission scheme in the scheduling strategy according to the prediction information of the TSN service.
[0112] In some embodiments of the present disclosure, the scheduling processing module 730 may also be used to: if the TSN service is determined to be a real-time requirement service based on the prediction information of the TSN service, then the RLC payload length in the scheduling strategy is reduced; if the TSN service is determined to be a non-real-time requirement service based on the prediction information of the TSN service, then the RLC payload length in the scheduling strategy is increased.
[0113] In some embodiments of the present disclosure, the scheduling processing module 730 may also be used to: determine that the TSN service is a real-time requirement service if one or more of the following conditions are met: the predicted length is less than a first length threshold, the predicted arrival time interval is greater than a first arrival time interval threshold, and the predicted transmission duty cycle is less than a first duty cycle threshold; otherwise, determine that the TSN service is a non-real-time requirement service.
[0114] In some embodiments of the present disclosure, the scheduling processing module 730 can also be used for: if the target TSN data packet is determined to be a critical data packet according to the prediction information of the TSN service, it is determined to copy the target TSN data packet according to the first number, downgrade the modulation and coding scheme, and use the downgraded modulation and coding scheme to transmit the copied target TSN data packet, and turn on the negative feedback statistics function; if the target TSN data packet is determined to be a general data packet according to the prediction information of the TSN service, it is determined to use the modulation and coding scheme to transmit the target TSN data packet, and turn on the negative feedback statistics function; if the target TSN data packet is determined to be a non-critical data packet according to the prediction information of the TSN service, it is determined to use the modulation and coding scheme to transmit the target TSN data packet, and determine to turn off the negative feedback statistics function.
[0115] In some embodiments of the present disclosure, the target TSN data packet is a critical data packet, and the scheduling processing module 630 can also be used to: count the number of transmission failures through a negative feedback statistical function, and determine whether the number of transmission failures is less than or equal to a retransmission number threshold; if so, determine to copy the target TSN data packet according to the second number, downgrade the downgraded modulation and coding scheme, and obtain a new modulation and coding scheme to transmit the copied target TSN data packet using the new modulation and coding scheme; wherein the second number and the level of the new modulation and coding scheme are determined according to the number of transmission failures; if not, determine that the target TSN data packet transmission has failed.
[0116] In some embodiments of the present disclosure, the target TSN data packet is a general data packet, and the scheduling processing module 630 can also be used to: count the number of transmission failures through a negative feedback statistics function; if the number of transmission failures reaches a retransmission threshold, copy the target TSN data packet according to the first number, downgrade the modulation and coding scheme, and use the downgraded modulation and coding scheme to transmit the copied target TSN data packet.
[0117] In some embodiments of the present disclosure, the scheduling processing module 730 may also be used to: determine that the target TSN data packet is a critical data packet if one or more of the following options are met: the predicted length is less than the second length threshold, the predicted arrival time interval is less than the second arrival time interval threshold, the predicted transmission duty cycle is greater than the second duty cycle threshold, the predicted transmission delay is less than the first transmission delay threshold, the predicted jitter is less than the first jitter threshold, and the predicted priority is a high priority; determine that the target TSN data packet is a general data packet if one or more of the following options are met: the predicted length is greater than or equal to the second length threshold and less than the third length threshold, the predicted arrival time interval is greater than or equal to the second arrival time interval threshold and less than the third arrival time interval threshold; interval threshold, the predicted transmission duty cycle is less than or equal to the second duty cycle threshold and greater than the third duty cycle threshold, the predicted transmission delay is greater than or equal to the first transmission delay threshold and less than the second transmission delay threshold, the predicted jitter is greater than or equal to the first jitter threshold and less than the second jitter threshold, and the predicted priority is medium priority; if one or more of the following options are met, the target TSN data packet is determined to be a non-critical data packet: the predicted length is greater than or equal to the third length threshold, the predicted arrival time interval is greater than or equal to the third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to the third duty cycle threshold, the predicted transmission delay is greater than or equal to the second transmission delay threshold, the predicted jitter is greater than or equal to the second jitter threshold, and the predicted priority is low priority.
[0118] In some embodiments of the present disclosure, the service prediction module 720 can also be used to: analyze the time series characteristics of the TSN data packets to be processed to obtain the timing analysis results of the TSN data packets to be processed; and generate prediction information of the TSN service based on the traffic change dynamic information and the timing analysis results of the TSN data packets to be processed.
[0119] In some embodiments of the present disclosure, the traffic prediction model is obtained based on training of a machine learning algorithm, and the traffic prediction model is used to output dynamic information of traffic changes corresponding to the input TSN data packets based on the input TSN data packets and feature information of the input TSN data packets.
[0120] Since the principle of solving the problem in the embodiment of the scheduling strategy adjustment device is similar to that in the above-mentioned method embodiment, the implementation of the embodiment of the scheduling strategy adjustment device can refer to the implementation of the above-mentioned method embodiment, and the repeated parts will not be repeated.
[0121] Figure 8 FIG. 1 shows a structural block diagram of an electronic device in an embodiment of the present disclosure. It should be noted that: Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0122] like Figure 8As shown, the electronic device 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0123] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.
[0124] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present disclosure are executed.
[0125] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, terminal device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, a terminal device or a device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, a terminal device or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0126] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0127] The modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The modules described may also be arranged in a processor, for example, they may be described as: a processor including a data acquisition module, a service prediction module and a scheduling processing module. Among them, the names of these modules do not constitute a limitation on the modules themselves in certain cases. For example, the data acquisition module may also be described as a "module for collecting TSN data packets to be processed corresponding to TSN services, and obtaining characteristic information of TSN data packets to be processed".
[0128] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiments. For example, the electronic device may implement the following Figure 2 The steps shown.
[0129] According to one aspect of the present disclosure, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various optional implementations of the above-mentioned embodiments.
[0130] It should be understood that any number of elements in the drawings of the present disclosure is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0131] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0132] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A scheduling strategy adjustment method, characterized in that: The method comprises: Collecting TSN data packets to be processed corresponding to the time-sensitive network TSN service, and obtaining characteristic information of the TSN data packets to be processed; Inputting the TSN data packet to be processed and the characteristic information of the TSN data packet to be processed into the traffic prediction model, outputting the traffic change dynamic information corresponding to the TSN data packet to be processed, and generating the prediction information of the TSN service according to the traffic change dynamic information; According to the prediction information of the TSN service, the scheduling strategy of the TSN service is adjusted.
2. The method according to claim 1, characterized in that The prediction information of the TSN service includes one or more of the predicted length of the target TSN data packet, the predicted arrival time interval of the target TSN data packet, the predicted transmission duty cycle of the target TSN data packet, the predicted transmission delay of the target TSN data packet, the predicted jitter of the target TSN data packet and the predicted priority of the target TSN data packet.
3. The method according to claim 2, characterized in that The adjusting the scheduling strategy of the TSN service according to the prediction information of the TSN service includes: Adjusting the radio link control RLC payload length in the scheduling strategy according to the prediction information of the TSN service; According to the prediction information of the TSN service, the modulation and coding scheme and the control retransmission scheme in the scheduling strategy are adjusted.
4. The method according to claim 3, characterized in that The adjusting the radio link control RLC payload length in the scheduling strategy according to the prediction information of the TSN service includes: If it is determined according to the prediction information of the TSN service that the TSN service is a real-time service, the RLC payload length in the scheduling strategy is reduced and adjusted; If it is determined according to the prediction information of the TSN service that the TSN service is a service with non-real-time requirements, the RLC payload length in the scheduling strategy is increased and adjusted.
5. The method according to claim 4, characterized in that The method comprises: If one or more of the following conditions is satisfied: the predicted length is less than the first length threshold, the predicted arrival time interval is greater than the first arrival time interval threshold, and the predicted transmission duty cycle is less than the first duty cycle threshold, then the TSN service is determined to be the real-time requirement service; otherwise, the TSN service is determined to be the non-real-time requirement service.
6. The method according to claim 3, characterized in that The adjusting the modulation and coding scheme and the control retransmission scheme in the scheduling strategy according to the prediction information of the TSN service includes: If the target TSN data packet is determined to be a critical data packet according to the prediction information of the TSN service, it is determined to copy the target TSN data packet according to the first number of copies, downgrade the modulation and coding scheme, so as to transmit the copied target TSN data packet using the downgraded modulation and coding scheme, and enable a negative feedback statistics function; If it is determined according to the prediction information of the TSN service that the target TSN data packet is a general data packet, it is determined to transmit the target TSN data packet using the modulation and coding scheme, and the negative feedback statistics function is enabled; If the target TSN data packet is determined to be a non-critical data packet according to the prediction information of the TSN service, it is determined to transmit the target TSN data packet using the modulation and coding scheme, and it is determined to turn off the negative feedback statistics function.
7. The method according to claim 6, characterized in that The target TSN data packet is the key data packet, and the method further includes: Counting the number of transmission failures through the negative feedback statistical function, and determining whether the number of transmission failures is less than or equal to a retransmission number threshold; If so, it is determined to copy the target TSN data packet according to the second number, downgrade the downgraded modulation and coding scheme, and obtain a new modulation and coding scheme, so as to transmit the copied target TSN data packet using the new modulation and coding scheme; wherein the second number and the level of the new modulation and coding scheme are determined according to the number of transmission failures; If not, it is determined that the target TSN data packet transmission fails.
8. The method according to claim 6, characterized in that The target TSN data packet is the universal data packet, and the method further includes: Counting the number of transmission failures through the negative feedback counting function; If the number of transmission failures reaches a retransmission number threshold, the target TSN data packet is copied according to the first number, and the modulation and coding scheme is downgraded to transmit the copied target TSN data packet using the downgraded modulation and coding scheme.
9. The method according to claim 6, characterized in that The method further comprises: If one or more of the following options are met, the target TSN data packet is determined to be the key data packet: the predicted length is less than the second length threshold, the predicted arrival time interval is less than the second arrival time interval threshold, the predicted transmission duty cycle is greater than the second duty cycle threshold, the predicted transmission delay is less than the first transmission delay threshold, the predicted jitter is less than the first jitter threshold, and the predicted priority is a high priority; If one or more of the following options are met, the target TSN data packet is determined to be the general data packet: the predicted length is greater than or equal to the second length threshold and less than the third length threshold, the predicted arrival time interval is greater than or equal to the second arrival time interval threshold and less than the third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to the second duty cycle threshold and greater than the third duty cycle threshold, the predicted transmission delay is greater than or equal to the first transmission delay threshold and less than the second transmission delay threshold, the predicted jitter is greater than or equal to the first jitter threshold and less than the second jitter threshold, and the predicted priority is medium priority; If one or more of the following options are met, the target TSN data packet is determined to be the non-critical data packet: the predicted length is greater than or equal to the third length threshold, the predicted arrival time interval is greater than or equal to the third arrival time interval threshold, the predicted transmission duty cycle is less than or equal to the third duty cycle threshold, the predicted transmission delay is greater than or equal to the second transmission delay threshold, the predicted jitter is greater than or equal to the second jitter threshold, and the predicted priority is low priority.
10. The method according to claim 1, characterized in that The generating the prediction information of the TSN service according to the traffic change dynamic information includes: Analyze the time series characteristics of the TSN data packet to be processed to obtain a time series analysis result of the TSN data packet to be processed; Generate prediction information of the TSN service based on the traffic change dynamic information and the timing analysis results of the TSN data packets to be processed.
11. The method according to claim 1, characterized in that: The traffic prediction model is obtained based on machine learning algorithm training, and the traffic prediction model is used to output traffic change dynamic information corresponding to the input TSN data packet according to the input TSN data packet and the characteristic information of the input TSN data packet.
12. A scheduling strategy adjustment device, characterized in that: The device comprises: A data collection module is used to collect TSN data packets to be processed corresponding to the time sensitive network TSN service and obtain characteristic information of the TSN data packets to be processed; A service prediction module, used for inputting the TSN data packet to be processed and the characteristic information of the TSN data packet to be processed into a traffic prediction model, outputting the traffic change dynamic information corresponding to the TSN data packet to be processed, and generating the prediction information of the TSN service according to the traffic change dynamic information; The scheduling processing module is used to adjust the scheduling strategy of the TSN service according to the prediction information of the TSN service.
13. An electronic device, characterized in that: include: one or more processors; A storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the scheduling strategy adjustment method according to any one of claims 1 to 11.
14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the scheduling strategy adjustment method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
LTE scheduling method and device for packet real-time service perception
CN109981483A
Planning method and device for joint scheduling of time-sensitive service flow and route
CN114374647A
