Service flow scheduling method, apparatus, system, and communication device
The business flow scheduling method addresses latency uncertainties in 5G TDD systems by mapping identifiers to deterministic parameters, enhancing communication quality through predictable data delivery.
Patent Information
- Application Number
- CN202310822276.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2043-07-05
AI Technical Summary
In 5G air interface transmission, delay uncertainty is caused by up and downlink time slot conversion under TDD mode, data arrival time randomization, and other reasons, which affects communication quality.
By receiving the target service flow and based on the mapping relationship between its identification information and deterministic indicator parameters, the time difference and delay are calculated, the scheduling strategy is determined, and the target service flow is scheduled to ensure delay certainty.
The communication quality between the terminal and the base station is improved, ensuring the delay certainty of data transmission.
Smart Images

Figure CN116709551B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a service flow scheduling method, apparatus, system, communication device, storage medium, and computer program product. Background Art
[0002] With the continuous development of mobile communication technologies, the application scope of mobile communication technologies has become increasingly extensive. For example, it can be applied to fields such as industrial Internet. Therefore, the requirements for the determinacy of mobile communication networks are also getting higher and higher, and the concept of deterministic networks has extended from traditional wired networks to wireless networks.
[0003] In related technologies, in the TDD (Time Division Duplexing) mode of 5G (5th-Generation Mobile Communication Technology) air interface transmission, there are situations such as uplink and downlink time slot conversion, discontinuous single-direction transmission time, randomization of data arrival time, and the need to wait until the downlink time slot to send data. Therefore, it will lead to the uncertainty of air interface transmission delay and poor communication quality. Summary of the Invention
[0004] Based on this, it is necessary to provide a service flow scheduling method, apparatus, system, communication device, storage medium, and computer program product that can ensure deterministic delay for the above technical problems.
[0005] In a first aspect, this application provides a service flow scheduling method. Applied to a base station, the method includes:
[0006] Receiving a target service flow, and determining a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter, where the target service flow carries a time identifier, and the target deterministic metric parameter includes at least a target delay;
[0007] Calculating the time difference between the current time and the time identifier of the target service flow;
[0008] Determining a scheduling policy for the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy.
[0009] In one embodiment, the receiving a target service flow, and determining a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter includes:
[0010] Receive a target service flow transmitted through a target bearer flow;
[0011] Based on the mapping relationship between the identification information of each service flow corresponding to the target bearer flow and the deterministic index parameter, determine the target deterministic index parameter corresponding to the identification information of the target service flow.
[0012] In one embodiment, the determining the scheduling policy of the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy includes:
[0013] If the time difference is less than the target delay, calculate the transmission time of the target service flow based on the time difference and the target delay;
[0014] When the transmission time of the target service flow is reached, transmit the target service flow.
[0015] In one embodiment, the determining the scheduling policy of the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy includes:
[0016] If the time difference is greater than the target delay, discard the target service flow and / or output an exception prompt message.
[0017] In one embodiment, it further includes: the Packet Data Convergence Protocol (PDCP) layer of the target service flow carries the time identifier of the target service flow; or, the Radio Link Control (RLC) layer of the target service flow carries the time identifier of the target service flow; or, the Medium Access Control (MAC) layer of the target service flow carries the time identifier of the target service flow.
[0018] In a second aspect, the present application further provides a service flow scheduling method. Applied to a terminal, the method includes:
[0019] Receive an initial service flow;
[0020] Add the current time as a time identifier to the service flow to obtain a target service flow;
[0021] Send the target service flow to the base station.
[0022] In one embodiment, the receiving the arrived service flow, adding the current time as a time identifier to the service flow to obtain a target service flow, and sending the target service flow includes:
[0023] Receive the service flow corresponding to the bearer flow, add the current time as a time identifier to the service flow to obtain a target service flow, and send the target service flow through the bearer flow.
[0024] In one embodiment, the method further includes:
[0025] Establish a bearer flow between the terminal and the base station;
[0026] If the quality of service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establish a mapping relationship between the identifier information of the service flow of the service type corresponding to the bearer flow and the deterministic metric parameters, and send the mapping relationship between the identifier information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameters to the base station, where the deterministic metric parameters at least include the target delay.
[0027] In one embodiment, the adding the current time as a time identifier to the service flow to obtain a target service flow includes:
[0028] Add the current time as a time identifier to the Packet Data Convergence Protocol (PDCP) layer of the service flow to obtain a target service flow;
[0029] Or, add the current time as a time identifier to the Radio Link Control (RLC) layer of the service flow to obtain a target service flow;
[0030] Or, add the current time as a time identifier to the Medium Access Control (MAC) layer of the service flow to obtain a target service flow.
[0031] In a third aspect, the present application further provides a service flow scheduling device. Applied to a base station, the device includes:
[0032] A first receiving module, configured to receive a target service flow, and determine target deterministic metric parameters corresponding to the identifier information of the target service flow based on a mapping relationship between the identifier information of the service flow and the deterministic metric parameters, where the target service flow carries a time identifier, and the target deterministic metric parameters at least include a target delay;
[0033] A first calculation module, configured to calculate a time difference between the current time and the time identifier of the target service flow;
[0034] A first determination module, configured to determine a scheduling policy for the target service flow based on the time difference and the target delay, and schedule the target service flow based on the scheduling policy.
[0035] In one embodiment, the first receiving module is specifically configured to:
[0036] Receive the target service flow transmitted through the target bearer flow;
[0037] Based on the mapping relationship between the identification information of each service flow corresponding to the target bearer flow and the deterministic index parameter, determine the target deterministic index parameter corresponding to the identification information of the target service flow.
[0038] In one embodiment, the first determination module is specifically configured to:
[0039] If the time difference is less than the target delay, calculate the transmission time of the target service flow based on the time difference and the target delay;
[0040] When the transmission time of the target service flow is reached, transmit the target service flow.
[0041] In one embodiment, the first determination module is further specifically configured to:
[0042] If the time difference is greater than the target delay, discard the target service flow and / or output an exception prompt message.
[0043] Fourthly, the present application further provides a service flow scheduling device. Applied to a terminal, the device includes:
[0044] A second receiving module, configured to receive an initial service flow;
[0045] An adding module, configured to add the current time as a time identifier to the service flow to obtain a target service flow;
[0046] A second sending module, configured to send the target service flow to the base station.
[0047] In one embodiment, the second receiving module is specifically configured to:
[0048] Receive the service flow corresponding to the bearer flow, add the current time as a time identifier to the service flow to obtain a target service flow, and send the target service flow through the bearer flow.
[0049] In one embodiment, the device further includes:
[0050] A first establishment module, configured to establish a bearer flow between the terminal and the base station;
[0051] A second establishment module, configured to establish a mapping relationship between the identification information of the service flow corresponding to the bearer flow and the deterministic metric parameters if the quality of service identification of the service type carried by the bearer flow meets the deterministic delay requirement, and send the mapping relationship between the identification information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameters to the base station, where the deterministic metric parameters at least include the target delay.
[0052] In one embodiment, the adding module is specifically configured to:
[0053] Add the current time as a time identifier to the packet data convergence protocol (PDCP) layer of the service flow to obtain a target service flow;
[0054] Or, add the current time as a time identifier to the radio link control (RLC) layer of the service flow to obtain a target service flow;
[0055] Or, add the current time as a time identifier to the media access control (MAC) layer of the service flow to obtain a target service flow.
[0056] In a fifth aspect, the present application further provides a service flow scheduling system, where the system includes a base station and a terminal; where:
[0057] The terminal is configured to receive an initial service flow; add the current time as a time identifier to the service flow to obtain a target service flow; and send the target service flow to the base station.
[0058] The base station is configured to receive the target service flow, and determine the target deterministic metric parameters corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameters, where the target service flow carries a time identifier, and the target deterministic metric parameters at least include the target delay; calculate the time difference between the current time and the time identifier of the target service flow; determine the scheduling policy of the target service flow based on the time difference and the target delay, and schedule the target service flow based on the scheduling policy.
[0059] In a third aspect, the present application further provides a communication device, including a receiver, a memory, and a processor, where the memory stores a computer program:
[0060] The receiver is configured to receive the target service flow;
[0061] The processor is configured to determine the target deterministic metric parameters corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameters, where the target service flow carries a time identifier, and the target deterministic metric parameters at least include the target delay;
[0062] The processor is further configured to calculate the time difference between the current time and the time identifier of the target service flow; determine a scheduling policy for the target service flow based on the time difference and the target delay, and schedule the target service flow based on the scheduling policy.
[0063] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, implements the following steps: receiving a target service flow, and determining a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter, where the target service flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay;
[0064] Calculating the time difference between the current time and the time identifier of the target service flow;
[0065] Determining a scheduling policy for the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy.
[0066] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program which, when executed by a processor, implements the following steps:
[0067] Receiving a target service flow, and determining a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter, where the target service flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay;
[0068] Calculating the time difference between the current time and the time identifier of the target service flow;
[0069] Determining a scheduling policy for the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy.
[0070] The above-mentioned service flow scheduling method, device, system, communication device, storage medium, and computer program product, the method includes: receiving a target service flow, and determining a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter. The target service flow carries a time identifier, and the target deterministic metric parameter includes at least a target delay; calculating the time difference between the current time and the time identifier of the target service flow; determining a scheduling policy for the target service flow based on the time difference and the target delay, and scheduling the target service flow based on the scheduling policy. By adopting this method, the scheduling policy of the currently received target service flow can be determined based on the target deterministic metric parameter corresponding to the target service flow, that is, the target delay of the target service flow, and based on the time identifier carried in the target service flow. The target service flow scheduled through the scheduling policy can ensure the delay determinism of the service flow and improve the communication quality between the terminal and the base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 It is an application environment diagram of the service flow scheduling method in an embodiment;
[0072] Figure 2 It is a schematic flowchart of the service flow scheduling method in an embodiment;
[0073] Figure 3 It is a schematic flowchart of the step of determining the target deterministic metric parameter in an embodiment;
[0074] Figure 4 It is a schematic flowchart of the step of sending the target service flow in an embodiment;
[0075] Figure 5 It is a schematic flowchart of the service flow scheduling method in an embodiment;
[0076] Figure 6 It is a schematic flowchart of the step of establishing the mapping relationship in an embodiment;
[0077] Figure 7 It is a schematic flowchart of the step of adding the time identifier in an embodiment;
[0078] Figure 8 It is a schematic flowchart of the service flow scheduling method in another embodiment;
[0079] Figure 9 It is a structural block diagram of the service flow scheduling device in an embodiment;
[0080] Figure 10 It is a structural block diagram of the service flow scheduling device in an embodiment;
[0081] Figure 11It is the internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0082] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0083] The service flow scheduling method provided by the embodiments of the present application is applied to the technical field of wireless and terminal communication, and can be specifically applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the base station 104 through the network. The data storage system can store the data that the base station 104 needs to process. The terminal can receive the initial service flow and add the time when the initial service flow is ready to be sent as a time identifier to the initial service flow to obtain the target service flow; in this way, the terminal can send the target service flow to the base station; after receiving the target service flow, the base station can determine the deterministic index parameter corresponding to the target service flow, which includes the target delay corresponding to the target service flow, determine the scheduling strategy based on the target delay and the time identifier carried in the target service flow, and schedule the target service flow based on the determined scheduling strategy to achieve the delay determinacy of the service flow and improve the communication quality between the terminal and the base station, and between the base station and other communication devices.
[0084] Among them, the terminal 102 can be a wireless terminal. A wireless terminal can be a device that provides voice and / or other service data connectivity to a user, or a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks through a radio access network (RAN). The wireless terminal can be a mobile terminal, such as a mobile phone (or called a "cellular" phone) and a computer with a mobile terminal. For example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with the radio access network. The wireless terminal can also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, a remote terminal, an access terminal, a user terminal, a user agent, a user device or user equipment, which is not limited herein.
[0085] The base station 104 can be a Base Transceiver Station (BTS) in Global System of Mobile communication (GSM) or Code Division Multiple Access (CDMA), or a Node B (NB) in Wideband Code Division Multiple Access (WCDMA), or an Evolutional Node B (eNB or eNodeB) in LTE, or a relay station or an access point, or a base station in a 5G network, a base station in a 6G network, etc., which is not limited herein.
[0086] In traditional technologies, with the continuous development of mobile communication technologies up to the 5G stage, there are deterministic requirements in the actual application scenarios of mobile communication. As these deterministic requirements become more and more urgent, the concept of a deterministic network has extended from traditional wired networks to wireless networks. Due to several factors in communication, such as the influence of the frame structure. For example, in the Time Division Duplex (TDD) mode of air interface transmission, there are transmission requirements such as uplink and downlink time slot conversion, discontinuous transmission time in a single direction, randomization of data arrival time, and the need to wait until the downlink time slot to send data. Also, due to the influence of data segmentation, there are data packets of different sizes, which may be transmitted in multiple time slots in different numbers of segments. Additionally, there is the influence of channel quality, where data packets of the same size need to adapt to the channel conditions and be encoded with different modulation methods and coding efficiencies, and there may be the influence of error retransmission, as well as multi-user resource contention, etc. Based on this, there is a problem of uncertain delay in 5G air interface transmission in traditional technologies, resulting in an impact on the communication quality of 5G air interface transmission.
[0087] Based on the above traditional technologies, the embodiments of the present application provide a service flow scheduling method. By determining the scheduling strategy of the currently received target service flow based on the target deterministic metric parameter corresponding to the target service flow, that is, the target delay of the target service flow, and based on the time identifier carried in the target service flow, the target service flow scheduled through the scheduling strategy can ensure the delay determinism of the service flow and improve the communication quality between the terminal and the base station. That is to say, the service flow scheduling method provided by the present disclosure can ensure the delay determinism of data transmission from the terminal to the base station in the air interface data mode in a 5G scenario (or in a 6G scenario, and other possible generations of mobile communication technology scenarios), that is, realize the scheduling of deterministic services from the terminal to the base station.
[0088] It should be noted that the beneficial effects brought by the embodiments of the present application or the technical problems to be solved are not limited to this one, and there may also be other implicit or related problems. For specific details, please refer to the descriptions of the following embodiments.
[0089] The following uses specific embodiments to elaborate in detail on the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following will describe the embodiments of the present application in conjunction with the drawings.
[0090] In one embodiment, as Figure 2 shown, a service flow scheduling method is provided. Taking the base station in Figure 1 as an example for illustration, the method includes the following steps:
[0091] Step 202, receive a target service flow, and determine the target deterministic index parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic index parameter.
[0092] Among them, the target service flow can be a service flow sent by a terminal to the base station, or a service flow with deterministic delay requirements; the target service flow carries a time identifier, and the target deterministic index parameter at least includes the target delay; the identification information of the service flow can be the name information of the service flow, or the service type information corresponding to the service flow. The name information can be the id of the service flow; the time identifier carried by the target service flow can be the sending time when the terminal sends the target service flow to the base station. The target deterministic index parameter can at least include the target delay (i.e., the delay target value) of the target service flow, and the target deterministic index parameter can also include the transmission packet size (upper limit) and the time identifier protocol layer, etc.
[0093] In implementation, the terminal can send a target service flow to the base station, and the target service flow can carry a time identifier. After receiving the target service flow, the base station can, in the case of determining that the target service flow is a service flow with deterministic delay requirements, extract the identification information of the target service flow, and based on the mapping relationship between the identification information of the service flow pre-configured in the base station and the deterministic index parameter, determine the target deterministic index parameter corresponding to the identification information of the target service flow, that is, determine the target delay corresponding to the identification information of the target service flow.
[0094] Step 204, calculate the time difference between the current time and the time identifier of the target service flow;
[0095] Among them, the current time can be the time when the base station receives the current target service flow.
[0096] In implementation, after receiving the target traffic flow, the base station may obtain the current time, that is, the time when the target traffic flow is received, and calculate the time difference between the current time and the time identifier carried by the target traffic flow.
[0097] Step 206: Determine the scheduling policy for the target traffic flow based on the time difference and the target delay, and schedule the target traffic flow based on the scheduling policy.
[0098] Among them, the scheduling policy is a policy for scheduling traffic flows, and the scheduling policy may at least include continuing to transmit the traffic flow, or discarding the traffic flow, etc.
[0099] In implementation, the base station may determine the scheduling policy for the target traffic flow based on the calculated time difference and the target delay corresponding to the current target traffic flow. Specifically, the base station may calculate the time difference between the current time and the time identifier of the target traffic flow calculated in the above steps, and calculate the target delay corresponding to the target traffic flow based on the time difference, make a comparison, obtain a comparison result, and determine the scheduling policy for the target traffic flow corresponding to the comparison result. Based on this, the base station may schedule the target traffic flow according to the scheduling policy.
[0100] In the above traffic flow scheduling method, receive the target traffic flow, and determine the target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter. The target traffic flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay; calculate the time difference between the current time and the time identifier of the target traffic flow; determine the scheduling policy for the target traffic flow based on the time difference and the target delay, and schedule the target traffic flow based on the scheduling policy. By adopting this method, based on the target deterministic metric parameter corresponding to the target traffic flow, that is, the target delay of the target traffic flow, determine the scheduling policy of the currently received target traffic flow based on the time identifier carried in the target traffic flow. The target traffic flow scheduled through the scheduling policy can ensure the delay determinacy of the traffic flow and improve the communication quality between the terminal and the base station.
[0101] In one embodiment, as Figure 3 shown, the specific processing procedure of step 202 "receive the target traffic flow, and determine the target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter" includes:
[0102] Step 302: Receive the target traffic flow transmitted through the target bearer flow.
[0103] In implementation, the bearer flow can be a communication link established between the base station and the terminal for data packet transmission, or it can also be a transmission channel. Multiple bearer flows can be established between the base station and the terminal, and the target bearer flow can be the bearer flow for transmitting the service flow with deterministic delay requirements. The base station can obtain the service flow transmitted through the target bearer flow, that is, the target service flow.
[0104] Step 304: Based on the mapping relationship between the identification information of each service flow corresponding to the target bearer flow and the deterministic metric parameter, determine the target deterministic metric parameter corresponding to the identification information of the target service flow.
[0105] In implementation, the base station can store the mapping relationship between the identification information of the service flows corresponding to multiple bearer flows and the deterministic metric parameter. For example, it can be the mapping relationship between the identification information of the service flow pre-sent by the terminal to the base station and the deterministic metric parameter. Based on this, after the terminal determines that the service flow transmitted by the target bearer flow is a service flow with deterministic delay requirements, it can determine the mapping relationship between the identification information of each service flow corresponding to this service type and the deterministic metric parameter based on the service type of this service flow. The base station can query in the mapping relationship between the identification information of each service flow and the deterministic metric parameter to query the target deterministic metric parameter corresponding to the identification information of the target service flow.
[0106] In this embodiment, different deterministic metric parameters are configured for each service flow based on the actual requirements and capabilities of each service flow, ensuring the personalization of the configuration of the deterministic metric parameter.
[0107] In one embodiment, as Figure 4 shown, the specific processing procedure of step 206 "Based on the time difference and the target delay, determine the scheduling strategy of the target service flow, and schedule the target service flow based on the scheduling strategy" includes:
[0108] Step 402: If the time difference is less than the target delay, calculate the transmission time of the target service flow based on the time difference and the target delay.
[0109] In implementation, the base station can compare the calculated time difference with the target delay corresponding to the target service flow to obtain a comparison result. In one example, when the base station determines that the time difference is less than the target delay, the base station can determine that the delay of the target service flow has not reached the target delay requirement of the service type corresponding to the target service flow at this time, that is, it has not reached the deterministic delay requirement of this service type. Based on this, the base station will not transmit the target service flow in the current situation, but will calculate the time distance between the time difference and the target delay, and determine the transmission time of the target service flow based on this time distance.
[0110] Step 404: When the transmission time of the target service flow is reached, send the target service flow.
[0111] In implementation, after calculating the transmission time of the target service flow, the base station can monitor the current time. When it is determined that the current time has reached the transmission time of the target service flow, the base station can send the target service flow to an external communication device, that is, continue to transmit the target service flow.
[0112] Optionally, the calculated time difference is the transmission delay of the target service flow. When the time difference is equal to the target delay, the base station can determine that the transmission delay of the current target service flow is consistent with the target delay required by the service type of the target service flow. In this way, the base station can immediately send the target service flow to ensure the certainty of the delay of the target service flow.
[0113] In this embodiment, by recalculating the transmission time of the target service flow when it is determined that the target service flow does not meet the deterministic delay requirement, and then continuing to transmit the target service flow after reaching the transmission time, service flows that do not meet the deterministic delay requirement can be screened in a timely manner, and the delay of this service flow can be adjusted accordingly to ensure the certainty of the delay of the transmitted service flow.
[0114] In one embodiment, the specific processing procedure of step 206, "Based on the time difference and the target delay, determine the scheduling policy of the target service flow, and schedule the target service flow based on the scheduling policy", includes:
[0115] If the time difference is greater than the target delay, discard the target service flow and / or output an exception prompt message.
[0116] Among them, the exception prompt message is used to prompt that the currently transmitted target service flow no longer meets the requirement of deterministic delay, and this exception prompt message can also be an error reporting message.
[0117] In implementation, the base station can compare the calculated time difference with the target delay corresponding to the target service flow to obtain a comparison result. In one example, when the base station determines that the time difference is less than the target delay, the base station can determine that the target service flow no longer meets the requirement of deterministic delay. In this way, the base station can discard the target service flow, that is, stop transmitting the target service flow; or, the base station can generate an exception prompt message or an error reporting message, and send the exception prompt message and send the error reporting message.
[0118] In this embodiment, by performing scheduling processes such as discarding on service flows whose delay has exceeded the target delay, the delay certainty of the service flow can be ensured, and error information can be output in a timely manner for easy adjustment.
[0119] In one embodiment, the service flow scheduling method further includes:
[0120] The packet data convergence protocol (PDCP) layer of the target service flow carries the time identifier of the target service flow. Alternatively, the radio link control (RLC) layer of the target service flow carries the time identifier of the target service flow. Alternatively, the media access control (MAC) layer of the target service flow carries the time identifier of the target service flow.
[0121] In implementation, the PDCP layer is at the edge of the upload from the application layer. For the case where the data packet is large and the IP layer data is transmitted in multiple PDCP packets, time gating at the PDCP layer is beneficial for the deterministic control of the overall delay after data packet aggregation; at the RLC layer, the deterministic delay for data to be delivered to the upper layer after RLC layer reception can be achieved; at the MAC layer, being closest to the air interface, the deterministic delay for data to be delivered to the upper layer after HARQ completion can be ensured.
[0122] In this embodiment, by annotating the time identifier at different protocol layers of the target service flow, the reliability of data transmission can be ensured.
[0123] In one embodiment, as Figure 5 shown, a service flow scheduling method is provided. Taking the case where the method is applied to the Figure 1 terminal as an example, the method includes the following steps:
[0124] Step 502, receiving an initial service flow.
[0125] In implementation, when a service flow arrives at the terminal, the terminal can determine the received service flow as the initial service flow.
[0126] Step 504, adding the current time as a time identifier to the initial service flow to obtain a target service flow.
[0127] In implementation, after receiving the initial service flow, the terminal can obtain the time when the data reaches the target protocol layer, determine the time when it reaches the target protocol layer as the current time, and add the current time as a time identifier to the initial service flow. Based on this, the terminal can determine the initial service flow carrying the time identifier as the target service flow.
[0128] Step 506, sending the target service flow to the base station.
[0129] In implementation, the terminal can send the target service flow carrying the time identifier to the base station.
[0130] In this embodiment, an initial service flow is received; the current time is added to the service flow as a time identifier to obtain a target service flow; and the target service flow is sent to the base station. By adopting this method, the transmitted service flow can carry a time identifier, that is, time information is added to the service flow, so that the base station can schedule the service flow based on the carried time identifier to ensure the certainty of the transmission delay of the service flow.
[0131] In one embodiment, the specific processing procedure of the steps of "receiving an initial service flow, adding the current time as a time identifier to the initial service flow to obtain a target service flow, and sending the target service flow to the base station" includes:
[0132] Receive the initial service flow corresponding to the bearer flow, add the current time as a time identifier to the initial service flow to obtain a target service flow, and send the target service flow to the base station through the bearer flow.
[0133] In implementation, the terminal can receive the initial service flow arriving at the terminal; the terminal can determine the time when the initial service flow reaches the target protocol layer, and add the time when the initial service flow reaches the target service flow as a time identifier to the service flow to obtain a target service flow. In this way, the terminal can send the target service flow to the base station through the bearer flow established between the terminal and the base station.
[0134] Optionally, the terminal has a transmission queue for sending data to the base station. When the initial service flow enters the transmission queue, the terminal can use the time when the initial service flow enters the transmission buffer (i.e., the transmission queue) as the time identifier and add the time when the target service flow enters the transmission buffer to the initial service flow to obtain a target service flow. In this way, the terminal can add the target service flow with the time identifier to the transmission queue so that the target service flow can be transmitted to the base station through the bearer flow.
[0135] In this embodiment, by adding a time identifier to the service flow, a base station for performing service flow scheduling can be provided to ensure the certainty of the data transmission delay.
[0136] In one embodiment, as Figure 6 shown, the service flow scheduling method further includes:
[0137] Step 602, establish a bearer flow between the terminal and the base station.
[0138] In implementation, the terminal can establish a bearer flow between the terminal and the base station. This bearer flow is used to transmit data packets between the terminal and the base station. For example, it can be an uplink transmission or a downlink transmission.
[0139] Step 604: If the quality of service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establish a mapping relationship between the identification information of the service flow corresponding to the service type of the bearer flow and the deterministic metric parameters, and send to the base station the mapping relationship between the identification information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameters.
[0140] Among them, the deterministic metric parameters at least include the target delay. The quality of service identifier may be a QoS identifier, and the deterministic metric parameters may be metric values of the QCI (QoS Class Identifier, scale value) type or the 5QI type. Among them, the deterministic metric parameters at least may include the target delay, and the target delay indicates that in the case where the service flow has a deterministic delay requirement, it is expected that the transmission delay of all service flows or data packets is the above target delay; the deterministic metric parameters may also include the maximum data packet capacity of the service flow, the protocol layer where the time identifier is located, and so on.
[0141] In implementation, the terminal can determine the service type of the service flow carried by the bearer flow and determine the quality of service identifier corresponding to the service flow of this service type; in the case of determining that there is a deterministic delay duration for the service flow corresponding to this service type based on this quality of service identifier, the terminal can establish a mapping relationship between the identification information of each service flow and the deterministic metric parameters under this service type, and configure the specific values of the deterministic metric parameters corresponding to the identification information of each service flow.
[0142] Based on this, after the terminal completes the configuration and obtains the mapping relationship between the identification information of the service flow corresponding to the service type of the bearer flow and the deterministic metric parameters, it can send to the base station the mapping relationship between the identification information of the service flow corresponding to the service type of the bearer flow and the deterministic metric parameters. In this way, after receiving the above mapping relationship, the base station can store it in the local storage database and query in the local storage database after receiving the service flow to obtain the scheduling policy corresponding to the service flow, etc.
[0143] In this embodiment, by configuring the specific values of the deterministic metric parameters corresponding to each service type after establishing the bearer flow between the terminal and the base station, it can be combined with the service to ensure the fixity of the air interface transmission delay.
[0144] In one embodiment, as Figure 7 shown, the specific processing procedure of the step "add the current time as the time identifier to the service flow to obtain the target service flow" includes:
[0145] Step 702: Add the current time as the time identifier to the packet data convergence protocol (PDCP) layer of the service flow to obtain the target service flow.
[0146] In implementation, the terminal uses the time when the initial service flow reaches the target protocol layer as a time identifier and adds it to the Packet Data Convergence Protocol (PDCP) layer of the service flow to obtain the target service flow.
[0147] Optionally, if the terminal has a transmission queue for sending data to the base station, when the initial service flow enters the transmission queue, the terminal can use the time when the initial service flow enters the transmission buffer (i.e., the transmission queue) as a time identifier and add the time when the target service flow enters the transmission buffer to the Packet Data Convergence Protocol (PDCP) layer of the service flow to obtain the target service flow.
[0148] Step 704, alternatively, use the current time as a time identifier and add it to the Radio Link Control (RLC) layer of the service flow to obtain the target service flow.
[0149] In implementation, alternatively, the terminal uses the time when the initial service flow reaches the target protocol layer as a time identifier and adds it to the Radio Link Control (RLC) layer of the service flow to obtain the target service flow.
[0150] Optionally, if the terminal has a transmission queue for sending data to the base station, when the initial service flow enters the transmission queue, the terminal can use the time when the initial service flow enters the transmission buffer (i.e., the transmission queue) as a time identifier and add the time when the target service flow enters the transmission buffer to the Radio Link Control (RLC) layer of the service flow to obtain the target service flow.
[0151] Step 706, alternatively, use the current time as a time identifier and add it to the Medium Access Control (MAC) layer of the service flow to obtain the target service flow.
[0152] In implementation, alternatively, the terminal uses the time when the initial service flow reaches the target protocol layer as a time identifier and adds it to the Medium Access Control (MAC) layer of the service flow to obtain the target service flow.
[0153] Optionally, if the terminal has a transmission queue for sending data to the base station, when the initial service flow enters the transmission queue, the terminal can use the time when the initial service flow enters the transmission buffer (i.e., the transmission queue) as a time identifier and add the time when the target service flow enters the transmission buffer to the Medium Access Control (MAC) layer of the service flow to obtain the target service flow.
[0154] In this embodiment, by marking time identifiers at different protocol layers of the target service flow, the reliability of data transmission can be ensured.
[0155] Next, the specific execution process of the above service flow scheduling method is described in combination with a detailed embodiment:
[0156] In air interface transmission, due to the existence of the following factors, there will be uncertainty in the air interface transmission delay: First, the influence of the frame structure. In the TDD mode, the uplink and downlink time slots will be switched, and the transmission time in a single direction is discontinuous. The data arrival time is relatively random, and data needs to wait until the downlink time slot to be sent. Second, the influence of data segmentation. Data packets of different sizes may be segmented into different numbers of segments and transmitted in multiple time slots. Third, the influence of channel quality. Data packets of the same size need to adapt to the channel conditions and be encoded with different modulation methods and coding efficiencies. Fourth, the influence of error retransmission. Fifth, multi-user resource contention, etc.
[0157] Therefore, this disclosure needs to ensure the delay determinacy of air interface data transmission from the terminal to the base station. By determinacy, it means to ensure that the delay from the time a data packet is sent from the sending end to the time it is received at the receiving end is fixed, so as to ensure the time predictability of service data transmission. The determination of the delay of each segment of the end-to-end transmission path is conducive to ensuring the overall determinacy.
[0158] In a service flow scheduling method provided by this disclosure, a new identifier can be configured for the type of service flow. For example, it can be a QoS identifier, and this QoS identifier can be indexed by QCI or 5QI.
[0159] As Figure 8 shown:
[0160] Bearer establishment (flow mapping) obtains the delay target corresponding to the QoS identifier; the base station performs resource allocation and scheduling according to the control mode corresponding to the bearer (flow); the terminal inserts the data arrival time identifier (T0) at the corresponding protocol layer for the arriving data; the base station receives the data and extracts the time identifier (T0) at the corresponding protocol layer; the base station compares the time identifier (T0) with the current time (T1) to determine whether T1 - T0 < Tt?; Based on this, when it is determined that T1 - T0 < Tt, the base station caches the data and sets the timer to Tt - (T1 - T0); the base station passes the data to the upper layer at the moment of To + Tt when the timer expires; when it is determined that T1 - T0 is greater than or equal to Tt, the base station discards the data (and / or) reports an error.
[0161] Specifically, in the service bearer establishment phase, for services (flows) with determinacy requirements, a QoS identifier (i.e., the specific value of QCI or the specific value of 5QI) corresponding to the determinacy requirements is configured between the base station and the terminal. For example, the relevant parameters of QCI can at least include the maximum packet size, the time identifier protocol layer, and the target delay, and the specific value of QCI or the specific value of 5QI corresponding to the configured service type is sent to the base station.
[0162] Specifically, for the data transmitted on this bearer (flow), the terminal adds a time stamp before sending the data into the sending queue. This time stamp is the time point when the service flow enters the sending buffer. After sending the service flow to the base station, the base station can schedule the service flow based on the time stamp carried by the service flow and the resource allocation and scheduling method for this type of service.
[0163] T0 is the time when the terminal delivers the service layer data packet to the air interface transmission module. Here, the air interface transmission module can be the sending queue of the terminal; T1 is the time when the base station receives the data packet and the time stamp after air interface transmission. The data packet is the target service flow carrying the time stamp; Tt is the target delay of the data packet, and it is also the time relative to T0 when the data is sent to the upper layer on the base station side.
[0164] The service flow scheduling method provided by the embodiments of the present disclosure can ensure deterministic air interface transmission through the QoS category. The position for adding the time stamp can be set at different transmission protocol layers, and different QoS indexes can be adopted accordingly. For the 5G NR air interface data transmission from the terminal to the base station, the time stamp is added at the terminal, and the marked time is the time when the data reaches the corresponding protocol layer. The extraction position is at the corresponding protocol layer of the base station. The protocol layers for marking and extraction can be at the following protocol layer positions:
[0165] At the PDCP layer, located at the edge of the upload from the application layer. For the case where the data packet is large and the IP layer data is transmitted in multiple PDCP packets, time gating at the PDCP layer is beneficial for the deterministic control of the overall delay after data packet aggregation.
[0166] At the RLC layer, the deterministic delay for the data to be delivered to the upper layer after the RLC layer reception is completed can be achieved.
[0167] At the MAC layer, closest to the air interface, it can ensure the deterministic delay for the data to be delivered to the upper layer after HARQ is completed.
[0168] Taking the 5G protocol of 3GPP as an example, the specific process of configuring the deterministic metric parameters can be as follows:
[0169] 1. Add a new resource type “Deterministic Delay GBR” corresponding to 5QI;
[0170] 2. Add “Target delay” and “Timestamp layer” to the QoS attributes (operations) corresponding to the 5QI value;
[0171] 3. And configure specific values for the specific 5QI parameters corresponding to the above new type based on the actual application scenario. An example of the relationship between the specific 5QI index and QoS is shown in Table 1:
[0172] Table 1
[0173]
[0174]
[0175] In one embodiment, the specific process of the service flow scheduling method may include:
[0176] S1. Define a new bearer (or flow) deterministic service type QoS according to the data transmission deterministic requirements from the terminal to the base station.
[0177] S2. Define the QoS index (5QI for NR) of the deterministic service type and its associated metrics, including but not limited to the upper limit of the packet size, the time stamp protocol layer, the target delay time, etc.
[0178] S3. For the data transmission from the terminal to the base station, when establishing a radio bearer (or flow mapping) according to the requirements of the deterministic service attributes, use the corresponding QoS index to establish the subsequent data time stamp marking position, resource allocation and scheduling method, and ensure that the air interface delay from the relevant protocol layer of the data terminal to the corresponding protocol layer of the base station for reception is within the target delay range.
[0179] S4. According to the time stamp position corresponding to the QoS index, the terminal adds a time stamp before the data enters the sending queue of the corresponding protocol layer and records the time point when the data enters the sending buffer.
[0180] S5. The base station interprets the sending data time according to the protocol layer corresponding to the QoS index and compares it with the target delay. In the case of not reaching the target delay, it is cached and submitted upward when the target delay is reached; the data packets with a delay greater than the target delay can be discarded or processed otherwise.
[0181] S6. The base station cache time is jointly determined by the target delay, the reception time and the time stamp corresponding to the QoS index. The cache duration is calculated based on the target delay, the reception time and the time stamp. Specifically, the difference between the reception time and the time stamp can be calculated as the first difference, and the difference between the target delay and the first difference can be calculated as the second difference. The base station can determine the second difference as the cache duration.
[0182] S7. The protocol layer position of the time stamp is defined by the corresponding relationship of the QoS index, including but not limited to PDCP, RLC, MAC. The marking is executed by the terminal and the interpretation is executed by the base station.
[0183] A service flow scheduling method provided by an embodiment of the present disclosure can be strictly combined with a service delay target to ensure the fixation of the delay of air interface data transmission. By introducing new QoS parameters and based on time stamp gating, the problem of deterministic scheduling of the air interface from the terminal to the base station is solved, and the delay determinism of air interface data transmission from the terminal to the base station is achieved.
[0184] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least some of the steps or stages in other steps or other steps.
[0185] Based on the same inventive concept, an embodiment of the present application also provides a service flow scheduling device for implementing the service flow scheduling method involved above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the service flow scheduling device provided below can refer to the limitations on the service flow scheduling method in the above text, and will not be repeated here.
[0186] In one embodiment, as Figure 9 shown, a service flow scheduling device 900 is provided, which is applied to a base station and includes: a first receiving module 902, a first calculation module 904, and a first determination module 906, where:
[0187] The first receiving module 902 is configured to receive a target service flow, and determine a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter. The target service flow carries a time stamp, and the target deterministic metric parameter includes at least a target delay;
[0188] The first calculation module 904 is configured to calculate the time difference between the current time and the time stamp of the target service flow;
[0189] The first determination module 906 is configured to determine a scheduling policy for the target service flow based on the time difference and the target delay, and schedule the target service flow based on the scheduling policy.
[0190] In one of the embodiments, the first receiving module is specifically configured to:
[0191] Receive a target service flow transmitted through a target bearer flow;
[0192] Based on the mapping relationship between the identification information of each service flow corresponding to the target bearer flow and the deterministic index parameter, determine the target deterministic index parameter corresponding to the identification information of the target service flow.
[0193] In one embodiment, the first determination module is specifically configured to:
[0194] If the time difference is less than the target delay, calculate the transmission time of the target service flow based on the time difference and the target delay;
[0195] When the transmission time of the target service flow is reached, transmit the target service flow.
[0196] In one embodiment, the first determination module is further specifically configured to:
[0197] If the time difference is greater than the target delay, discard the target service flow and / or output an exception prompt message.
[0198] In one embodiment, as Figure 10 shown, a service flow scheduling device 1000 is provided, which is applied to a terminal and includes: a second receiving module 1002, an adding module 1004, and a second transmitting module 1006, where:
[0199] The second receiving module 1002 is configured to receive an initial service flow;
[0200] The adding module 1004 is configured to add the current time as a time identifier to the service flow to obtain a target service flow;
[0201] The second transmitting module 1006 is configured to send the target service flow to the base station.
[0202] In one embodiment, the second receiving module is specifically configured to:
[0203] Receive the service flow corresponding to the bearer flow, add the current time as a time identifier to the service flow to obtain a target service flow, and send the target service flow through the bearer flow.
[0204] In one embodiment, the device further includes:
[0205] The first establishment module is configured to establish a bearer flow between the terminal and the base station;
[0206] A second establishment module, configured to establish a mapping relationship between the identification information of the service flow corresponding to the service type carried by the bearer flow and the deterministic metric parameters if the quality of service identification of the service type carried by the bearer flow meets the deterministic delay requirement, and send the mapping relationship between the identification information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameters to the base station, where the deterministic metric parameters at least include the target delay.
[0207] In one embodiment, the adding module is specifically configured to:
[0208] Add the current time as a time identifier to the packet data convergence protocol (PDCP) layer of the service flow to obtain a target service flow;
[0209] Or, add the current time as a time identifier to the radio link control (RLC) layer of the service flow to obtain a target service flow;
[0210] Or, add the current time as a time identifier to the media access control (MAC) layer of the service flow to obtain a target service flow.
[0211] Each module in the above service flow scheduling device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0212] Based on the same inventive concept, an embodiment of the present application further provides a service flow scheduling system for implementing the above-mentioned service flow scheduling method. The implementation solutions provided by this system to solve problems are similar to those described in the above method. Therefore, the specific limitations in one or more embodiments of the following service flow scheduling system can refer to the limitations on the service flow scheduling method in the above text, and will not be repeated here.
[0213] In one embodiment, a service flow scheduling system is provided, and the system includes a base station and a terminal; where:
[0214] The terminal is configured to receive an initial service flow; add the current time as a time identifier to the service flow to obtain a target service flow; and send the target service flow to the base station.
[0215] A base station is configured to receive a target traffic flow, determine a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter. The target traffic flow carries a time identifier, and the target deterministic metric parameter includes at least a target delay; calculate the time difference between the current time and the time identifier of the target traffic flow; determine a scheduling policy for the target traffic flow based on the time difference and the target delay, and schedule the target traffic flow based on the scheduling policy.
[0216] Figure 11 It is a schematic structural diagram of an access network device provided by an embodiment of the present invention. Figure 11 The access network device 1100 shown includes: at least one processor 1101, a memory 1102, and at least one network interface 1104. Each component in the access network device 1100 is coupled together through a bus system 1105. It can be understood that the bus system 1105 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1105 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in Figure 11 all kinds of buses are labeled as the bus system 1105. In addition, in an embodiment of the present invention, a transceiver 1106 is further included. The transceiver can be multiple components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium.
[0217] It can be understood that the memory 1102 in the embodiments of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM). The memory 1102 of the systems and methods described in the embodiments of the present invention is intended to include but not be limited to these and any other suitable types of memory.
[0218] In some embodiments, the memory 1102 stores the following elements, executable modules, or data structures, or subsets or supersets thereof: an operating system 11021. Among them, the operating system 11021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks.
[0219] In the embodiments of the present invention, by invoking the programs or instructions stored in the memory 1102, the processor receives a target service flow through a receiver, and is used to determine a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of the service flow and the deterministic metric parameter. The target service flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay; calculates a time difference between the current time and the time identifier of the target service flow; determines a scheduling policy for the target service flow based on the time difference and the target delay, and schedules the target service flow based on the scheduling policy.
[0220] Some or all of the methods disclosed in the embodiments of the present invention can also be applied to the processor 1101, or implemented by the processor 1101, or implemented in cooperation with other components (such as a transceiver) by the processor 1101. The processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor 1101 or the instructions in the form of software. The above-mentioned processor 1101 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by the combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. This storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102 and combines its hardware to complete the steps of the above method.
[0221] It can be understood that these embodiments described in the embodiments of the present invention can be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application, or a combination thereof.
[0222] For software implementation, the technologies described in the embodiments of the present invention can be implemented by modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. The software code can be stored in the memory and executed by the processor 1101. The memory can be implemented inside or outside the processor 1101.
[0223] In one embodiment, the receiver is further configured to receive a target service flow transmitted through a target bearer flow;
[0224] The processor is further configured to determine a target deterministic metric parameter corresponding to the identification information of the target service flow based on the mapping relationship between the identification information of each service flow corresponding to the target bearer flow and the deterministic metric parameter.
[0225] In one embodiment, the processor is further configured to, if the time difference is less than the target delay, calculate the transmission time of the target service flow based on the time difference and the target delay; and in the case where the transmission time of the target service flow is reached, transmit the target service flow through the transmitter.
[0226] In one embodiment, the processor is further configured to, if the time difference is greater than the target delay, discard the target service flow and / or output an exception prompt message.
[0227] In the embodiments of the present invention, by invoking the program or instruction stored in the memory 1102, the receiver is configured to receive an initial service flow; the processor is configured to add the current time as a time identifier to the service flow to obtain a target service flow; and the transmitter is configured to transmit the target service flow to the base station.
[0228] In one embodiment, the receiver is configured to receive a service flow corresponding to a bearer flow; the processor is configured to add the current time as a time identifier to the service flow to obtain a target service flow; and the transmitter is configured to transmit the target service flow through the bearer flow.
[0229] In one embodiment, the processor is configured to establish a bearer flow between the terminal and the base station; if the quality of service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establish a mapping relationship between the identification information of the service flow of the service type corresponding to the bearer flow and the deterministic metric parameter, and transmit, through the transmitter, the mapping relationship between the identification information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameter to the base station, where the deterministic metric parameter at least includes a target delay.
[0230] In one embodiment, a processor is configured to add the current time as a time identifier to the Packet Data Convergence Protocol (PDCP) layer of the service flow to obtain a target service flow; alternatively, add the current time as a time identifier to the Radio Link Control (RLC) layer of the service flow to obtain a target service flow; or add the current time as a time identifier to the Media Access Control (MAC) layer of the service flow to obtain a target service flow.
[0231] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0232] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0233] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties.
[0234] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., and are not limited thereto.
[0235] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0236] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A service flow scheduling method, characterized in that, Applied to a base station, the method includes: Receiving a target traffic flow, and determining a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter. The target traffic flow carries a time identifier, and the target deterministic metric parameter includes at least a target delay; Calculating the time difference between the current time and the time identifier of the target traffic flow; Determining a scheduling policy for the target traffic flow based on the time difference and the target delay, and scheduling the target traffic flow based on the scheduling policy.
2. The method according to claim 1, wherein, The step of receiving a target traffic flow and determining a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter includes: Receiving a target traffic flow transmitted through a target bearer flow; Determining a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of each traffic flow corresponding to the target bearer flow and the deterministic metric parameter.
3. The method according to claim 1, wherein The step of determining a scheduling policy for the target traffic flow based on the time difference and the target delay, and scheduling the target traffic flow based on the scheduling policy includes: If the time difference is less than the target delay, calculating the transmission time of the target traffic flow based on the time difference and the target delay; Transmitting the target traffic flow when the transmission time of the target traffic flow is reached.
4. The method according to claim 1, characterized in that The step of determining a scheduling policy for the target traffic flow based on the time difference and the target delay, and scheduling the target traffic flow based on the scheduling policy includes: If the time difference is greater than the target delay, discarding the target traffic flow and / or outputting an exception prompt message.
5. The method according to claim 1, wherein It further includes: The packet data convergence protocol (PDCP) layer of the target traffic flow carries the time identifier of the target traffic flow; or, the radio link control protocol (RLC) layer of the target traffic flow carries the time identifier of the target traffic flow; or, the media access control (MAC) layer of the target traffic flow carries the time identifier of the target traffic flow.
6. A service flow scheduling method, characterized in that, Applied to a terminal, the method includes: Receiving an initial traffic flow; Adding the current time as a time identifier to the initial traffic flow to obtain a target traffic flow; Sending the target traffic flow to the base station; The method further includes: Establishing a bearer flow between the terminal and the base station; If the quality of service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establishing a mapping relationship between the identification information of the traffic flow of the service type corresponding to the bearer flow and the deterministic metric parameter, and sending the mapping relationship between the identification information of the traffic flow included in the service type corresponding to the bearer flow and the deterministic metric parameter to the base station. The deterministic metric parameter includes at least a target delay. The time identifier is used to determine the time difference between the current time and the time identifier of the target traffic flow. The time difference and the target delay are used to determine the scheduling policy of the target traffic flow, and enable the base station to schedule the target traffic flow based on the scheduling policy.
7. The method according to claim 6, wherein The initial service flow is to receive the arriving service flow; The receiving of the arriving service flow, adding the current time as a time identifier to the service flow to obtain a target service flow, and sending the target service flow includes: Receiving the service flow corresponding to the bearer flow, adding the current time as a time identifier to the service flow to obtain a target service flow, and sending the target service flow to the base station through the bearer.
8. The method according to claim 6, characterized in that, The adding the current time as a time identifier to the service flow to obtain a target service flow includes: Adding the current time as a time identifier to the packet data convergence protocol (PDCP) layer of the service flow to obtain a target service flow; Or, adding the current time as a time identifier to the radio link control (RLC) layer of the service flow to obtain a target service flow; Or, adding the current time as a time identifier to the media access control (MAC) layer of the service flow to obtain a target service flow.
9. A service flow scheduling device, characterized in that, Applied to a base station, the device includes: A first receiving module, configured to receive a target service flow, and determine a target deterministic metric parameter corresponding to the identifier information of the target service flow based on the mapping relationship between the identifier information of the service flow and the deterministic metric parameter. The target service flow carries a time identifier, and the target deterministic metric parameter includes at least a target delay; A first calculation module, configured to calculate the time difference between the current time and the time identifier of the target service flow; A first determination module, configured to determine a scheduling policy for the target service flow based on the time difference and the target delay, and schedule the target service flow based on the scheduling policy.
10. A service flow scheduling device, characterized in that Applied to a terminal, the device includes: A second receiving module, configured to receive an initial service flow; An adding module, configured to add the current time as a time identifier to the initial service flow to obtain a target service flow; A second sending module, configured to send the target service flow to the base station; The device further includes: A first establishment module, configured to establish a bearer flow between the terminal and the base station; A second establishment module, configured to, if the quality of service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establish a mapping relationship between the identifier information of the service flow of the service type corresponding to the bearer flow and the deterministic metric parameter, and send the mapping relationship between the identifier information of the service flow included in the service type corresponding to the bearer flow and the deterministic metric parameter to the base station. The deterministic metric parameter includes at least a target delay. The time identifier is used to determine the time difference between the current time and the time identifier of the target service flow. The time difference and the target delay are used to determine the scheduling policy of the target service flow, and enable the base station to schedule the target service flow based on the scheduling policy.
11. A service flow scheduling system, characterized in that, The system includes a base station and a terminal; wherein: The terminal is configured to receive an initial service flow; add the current time as a time identifier to the initial service flow to obtain a target service flow; and send the target service flow to the base station; The base station is configured to receive a target traffic flow, and determine a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter. The target traffic flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay; calculate the time difference between the current time and the time identifier of the target traffic flow; determine a scheduling policy for the target traffic flow based on the time difference and the target delay, and schedule the target traffic flow based on the scheduling policy. The terminal is further configured to establish a bearer flow between the terminal and the base station. If the quality-of-service identifier of the service type carried by the bearer flow meets the deterministic delay requirement, establish a mapping relationship between the identification information of the traffic flow of the service type corresponding to the bearer flow and the deterministic metric parameter, and send the mapping relationship between the identification information of the traffic flow included in the service type corresponding to the bearer flow and the deterministic metric parameter to the base station. The deterministic metric parameter at least includes a target delay. The time identifier is used to determine the time difference between the current time and the time identifier of the target traffic flow. The time difference and the target delay are used to determine the scheduling policy for the target traffic flow, and enable the base station to schedule the target traffic flow based on the scheduling policy.
12. A communication device, characterized in that, It includes a receiver, a memory, and a processor. The memory stores a computer program: The receiver is configured to receive a target traffic flow; The processor is configured to determine a target deterministic metric parameter corresponding to the identification information of the target traffic flow based on the mapping relationship between the identification information of the traffic flow and the deterministic metric parameter. The target traffic flow carries a time identifier, and the target deterministic metric parameter at least includes a target delay; The processor is further configured to calculate the time difference between the current time and the time identifier of the target traffic flow; determine a scheduling policy for the target traffic flow based on the time difference and the target delay, and schedule the target traffic flow based on the scheduling policy.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 8.
14. A computer program product, comprising a computer program, characterized in that, When this computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Time delay data measurement method, device and system, electronic equipment and storage medium
CN115250243A