Data stream transmission method and device, related equipment and storage medium
By determining the resource requirements and available resources of the terminal in the network equipment, and adjusting the offset frame generation time of the data flow, the problem of limited network capacity caused by multi-user data packet collision is solved, and the user experience and network capacity are improved.
Patent Information
- Application Number
- CN202410064501.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-22
AI Technical Summary
When multi-user data packets collide when they arrive, the base station increases the user's waiting delay to adjust the data packet sending time, resulting in an increase in end-to-end delay and affecting user experience. Existing technologies cannot effectively solve this problem.
By determining the required resources and available resources of the terminal for the target service in the network device, when the required resources are greater than the available resources, a second data stream that can alleviate resource congestion is determined based on the first data stream, and indication information is sent to the corresponding terminal. Adjust its offset frame generation time to stagger the transmission data stream.
This avoids the instantaneous capacity limitation of network equipment, enhances network capacity, and improves user experience without adding additional waiting delays.
Smart Images

Figure CN118828682A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a data stream transmission method, apparatus, related equipment and storage medium. Background Art
[0002] In the related art, when the arrival time of multiple user data packets collides, the base station artificially increases the waiting delay of some users and adjusts the data packets of some users to the time when the air interface resources are sufficient for transmission. However, this increases the end-to-end delay and affects the user service experience. There is currently no effective solution to this problem. Summary of the invention
[0003] To solve the related technical problems, the embodiments of the present application provide a data stream transmission method, apparatus, related equipment and storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The embodiment of the present application provides a data stream transmission method, which is applied to a network device, including:
[0006] If there are first data streams of at least two terminals arriving at the network device at the same time, determining required resources of the at least two terminals for the target service and available resources of the network device;
[0007] When the required resources are greater than the available resources, determining at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow;
[0008] Send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
[0009] In the above solution, determining the required resources of at least two terminals for the target service includes:
[0010] Acquire characteristic parameters of each terminal for a target service and channel quality indication parameters reported by each terminal;
[0011] The required resources are determined based on the characteristic parameter and the channel quality indication parameter.
[0012] In the above solution, the characteristic parameter includes at least one of the following:
[0013] A service cycle of each terminal for a target service;
[0014] The number and size of data packets of each terminal in the service cycle;
[0015] The remaining delay parameters and arrival time parameters of the data packet.
[0016] In the above solution, the required resources include the first frequency domain resources required by the first time slot; the available resources include the second frequency domain resources available in the first time slot; and the method further includes:
[0017] When the first frequency domain resources are greater than the second frequency domain resources, it is determined that resource congestion occurs in the network device in the first time slot.
[0018] In the above solution, the determining, based on the first data flow, at least one terminal corresponding to the second data flow that can alleviate resource congestion among the at least two terminals includes:
[0019] Determining, in the first data stream, a third data stream that affects resource congestion in the first time slot;
[0020] Using the data stream with the least adjustment degree in the third data stream as the second data stream;
[0021] Determine the at least one terminal corresponding to the second data stream.
[0022] In the above scheme, the method further comprises:
[0023] Sending indication information to a service originating end corresponding to the at least one terminal by filling a field with a first value in a packet header of an Internet Protocol (IP);
[0024] or,
[0025] In the case that the target service is a downlink service, indication information is sent to a service originating end corresponding to the at least one terminal through Media Access Control (MAC) signaling.
[0026] In the above scheme, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0027] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0028] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0029] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0030] The embodiment of the present application also provides a data stream transmission method, which is applied to a terminal, including:
[0031] Receiving instruction information sent by the network device;
[0032] The service originator corresponding to itself adjusts the offset frame generation time for the second data stream in the first data stream according to the indication information.
[0033] In the above scheme, the method further comprises:
[0034] Receive the indication information sent by the network device by filling a field with a first value in an IP packet header;
[0035] or,
[0036] In the case where the target service is a downlink service, the indication information sent by the network device is received through MAC signaling.
[0037] In the above scheme, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0038] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0039] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0040] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0041] In the above scheme, when the indication information includes a ratio parameter of the offset frame corresponding to the offset period carried in the field or the MAC signaling; the method further includes:
[0042] The offset frame generation time is adjusted in one step according to the scale parameter.
[0043] In the above scheme, when the indication information includes a first offset parameter carrying a step size and a multiple corresponding to the offset frame in the field or the MAC signaling; the method further includes:
[0044] The offset frame generation time is adjusted in multiple steps according to the first offset parameter.
[0045] The embodiment of the present application further provides a data stream transmission device, which is arranged on a network device and includes:
[0046] A first determining unit, configured to determine required resources of the at least two terminals for a target service and available resources of the network device if first data streams of at least two terminals arrive at the network device at the same time;
[0047] A second determining unit is configured to determine, when the required resources are greater than the available resources, at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow;
[0048] A sending unit is used to send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
[0049] The embodiment of the present application further provides a data stream transmission device, which is arranged on a terminal and includes:
[0050] A receiving unit, used for receiving instruction information sent by a network device;
[0051] The adjustment unit is used to adjust the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream according to the indication information.
[0052] The embodiment of the present application further provides a network device, comprising: a first communication interface and a first processor; wherein:
[0053] The first processor is configured to determine, if there are first data flows of at least two terminals that arrive at the network device at the same time, required resources of the at least two terminals for a target service and available resources of the network device; when the required resources are greater than the available resources, determine, based on the first data flow, at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals; the first data flow includes the second data flow;
[0054] The first communication interface is used to send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
[0055] The embodiment of the present application further provides a terminal, comprising: a second communication interface and a second processor; wherein:
[0056] The second communication interface is used to receive instruction information sent by the network device;
[0057] The second processor is used to adjust the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream according to the indication information.
[0058] The embodiment of the present application further provides a network device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0059] Wherein, the first processor is used to execute the steps of any one of the above-mentioned methods on the network device side when running the computer program.
[0060] The embodiment of the present application further provides a terminal, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0061] Wherein, the second processor is used to execute the steps of any of the above-mentioned terminal side methods when running the computer program.
[0062] An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods on the network device side are implemented, or the steps of any of the above-mentioned methods on the terminal are implemented.
[0063] The data stream transmission method, device, related equipment and storage medium provided by the embodiment of the present application include: if there are at least two terminals whose first data streams arrive at the network device at the same time, determine the required resources of the at least two terminals for the target service and the available resources of the network device; when the required resources are greater than the available resources, determine at least one terminal corresponding to the second data stream that can alleviate resource congestion among the at least two terminals based on the first data stream; the first data stream includes the second data stream; send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service originating end corresponding to the at least one terminal for the second data stream, and adopt the technical solution of the present application, by having at least two terminals whose first data streams arrive at the network device at the same time, when the at least two terminals have the required resources for the target service greater than the available resources of the network device, determine at least one terminal corresponding to the second data stream that can alleviate resource congestion, and then send indication information for adjusting the offset frame generation time of the service originating end corresponding to the at least one terminal for the second data stream, so that multiple terminals can transmit at off-peak times, avoid the instantaneous capacity limitation of the network device, enhance the network capacity, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 This is a schematic diagram of a service data packet arriving at a base station in this application;
[0065] Figure 2 A schematic diagram of generating a multi-user data stream for a service end and transmitting a data packet by a base station;
[0066] Figure 3 A schematic diagram of generating a multi-user data stream for another service end and transmitting a data packet by a base station;
[0067] Figure 4 This is a flow chart of a data stream transmission method according to an embodiment of the present application;
[0068] Figure 5 This is another flow chart of the data stream transmission method according to an embodiment of the present application;
[0069] Figure 6 A schematic diagram of a time slot where congestion occurs in a data stream transmission method in an embodiment of the present application;
[0070] Figure 7 A schematic diagram of a newly added field in an IP packet header in a data stream transmission method in an embodiment of the present application;
[0071] Figure 8 A schematic diagram of a MAC layer control signaling sending an offset value to a terminal in a data stream transmission method in an embodiment of the present application;
[0072] Fig. 9 A schematic diagram of multi-step adjustment of services in a data stream transmission method in an embodiment of the present application;
[0073] Fig.10 A schematic diagram of a device for transmitting data streams according to an embodiment of the present application;
[0074] Fig.11 A schematic diagram of another device for transmitting data streams according to an embodiment of the present application;
[0075] Fig.12 This is a schematic diagram of the structure of the network device according to the embodiment of the present application;
[0076] Fig.13 This is a schematic diagram of the structure of the terminal in the embodiment of the present application;
[0077] Fig.14 This is a schematic diagram of the structure of the data stream transmission system according to an embodiment of the present application. DETAILED DESCRIPTION
[0078] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0079] Services such as virtual reality (VR) games require both large bandwidth and real-time performance. From the distribution diagram of service data packets arriving at the base station, the service arrival shows burst characteristics, the data packet arrival cycle and frame rate match, and a frame of data packets in each cycle arrives within 2 to 3 seconds. Considering the frame delay constraint, such as completing the transmission of all data packets of an image frame within 10ms or 5ms, the instantaneous bandwidth requirement is much higher than the average service bit rate. Figure 1 As shown, Figure 1 This is a schematic diagram of a service data packet arriving at a base station in this application.
[0080] In a multi-user scenario, such as Figure 2 As shown, Figure 2 A schematic diagram of a service end generating a multi-user data stream and a base station transmitting data packets; if the service frames of multiple users arrive at the base station very close to each other (as shown in the time periods of t1, t3, and t5), the instantaneous rate demand for the air interface is extremely high during the time periods of t1, t3, and t5, and congestion is very likely to occur. However, during the time periods of t2 and t4, the air interface resources are relatively idle because the previous frame has been transmitted and the next frame has not arrived. The problems caused by this phenomenon are, on the one hand, that the multi-user capacity is easily limited, and on the other hand, the network resources in certain time periods are not fully utilized.
[0081] As mentioned above, one solution is that when the arrival time of multiple user data packets collides, the base station artificially increases the waiting delay of some users, such as Figure 3 As shown, Figure 3 A schematic diagram of generating a multi-user data stream for another service end and transmitting a data packet by a base station; Figure 3 For user 2 and user 3, some users' data packets are adjusted to be sent when air interface resources are sufficient. However, this increases the end-to-end delay. Although this can solve the capacity problem, it will affect the user service experience.
[0082] Based on this, an embodiment of the present application provides a data stream transmission method, which is applied to a network device. Figure 4 Schematic diagram of the data stream transmission method according to the embodiment of the present application; Figure 4 As shown, the method includes:
[0083] Step 401: If there are first data flows from at least two terminals that arrive at the network device at the same time, determine the required resources of the at least two terminals for the target service and the available resources of the network device.
[0084] Step 402: When the required resources are greater than the available resources, determine at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow.
[0085] Step 403: Send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
[0086] It should be noted that the network device may be any network device, which is not limited here. As an example, the network device may include at least a base station. The terminal may also be determined according to actual conditions, which is not limited here. As an example, the terminal may be a user terminal, which may include a smart phone, a tablet computer, a desktop computer, a notebook, a client, etc.
[0087] In step 401, the specific number of the at least two terminals can be determined according to actual conditions and is not limited here. If the first data streams of at least two terminals arrive at the network device at the same time, it can be understood that the network device may have instantaneous capacity limitation due to the first data streams of at least two terminals arriving at the network device at the same time, and the network device needs to determine whether the instantaneous capacity is limited.
[0088] Determine the required resources of the at least two terminals for the target service and the available resources of the network device; wherein the target service can be determined according to actual conditions, which is not limited here. As an example, the target service can be a VR game. The determination of the required resources of the at least two terminals for the target service can also be determined according to actual conditions, which is not limited here. As an example, the determination of the required resources of the at least two terminals for the target service can be to obtain the characteristic parameters of each terminal for the target service and the channel quality indication parameters reported by each terminal; determine the required resources based on the characteristic parameters and the channel quality indication parameters. The available resources of the network device can also be determined according to actual conditions, which is not limited here. As an example, the available resources of the network device can be the idle resources of the network device.
[0089] In step 402, when the required resources are greater than the available resources, it can be understood that the available resources of the network device cannot meet the required resources and the instantaneous capacity is limited.
[0090] The specific process of determining at least one terminal corresponding to the second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow can be determined according to actual conditions and is not limited here. As an example, the process of determining at least one terminal corresponding to the second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow can be to determine the third data flow that affects the occurrence of resource congestion in the first data flow; use the data flow with less adjustment in the third data flow as the second data flow; and determine the at least one terminal corresponding to the second data flow.
[0091] In step 403, the indication information may be determined according to actual conditions, which is not limited here. As an example, the indication information may include indication information for setting a first value, etc. For example, the indication information for setting a first value may be indication information for setting an offset value.
[0092] The indication information is used to adjust the offset frame generation time of the service originating end corresponding to the at least one terminal for the second data stream; wherein the specific process of the adjustment can be determined according to actual conditions and is not limited here. As an example, the adjustment can include one-step adjustment, multiple-step adjustment, etc.
[0093] The indication information is used to adjust the offset frame generation time of the service originator corresponding to the at least one terminal for the second data stream. It can be understood that when the network device (for example, a base station) determines that there is a collision at the arrival time of periodic packets of no less than two users and that instantaneous capacity limitation will occur, one or more users are selected and their service layer offset frame generation time is indicated.
[0094] In one embodiment, determining the required resources of at least two terminals for the target service includes:
[0095] Acquire characteristic parameters of each terminal for a target service and channel quality indication parameters reported by each terminal;
[0096] The required resources are determined based on the characteristic parameter and the channel quality indication parameter.
[0097] It should be noted that the target service may be determined according to actual conditions and is not limited here. As an example, the target service may be a VR game.
[0098] The characteristic parameters may be determined according to actual conditions and are not limited here. As an example, the characteristic parameters may include a service cycle, a time when packets arrive in each cycle, a number of packets in each cycle, and a packet size.
[0099] The channel quality indicator parameter may be determined according to actual conditions and is not limited here. As an example, the channel quality indicator parameter may include a channel quality indicator (Channel Quality Indicator, CQI), a frame delay parameter, and the like.
[0100] Determining the required resources based on the characteristic parameters and the channel quality indication parameters can be understood as determining the current instantaneous required resources per user based on the characteristic parameters and the channel quality indication parameters.
[0101] For ease of understanding, an example is given here, where the network device is a base station, the terminal is a user terminal, referred to as a user; and the target service is a VR game. The base station determines the service characteristics of the current active user, such as the service cycle, the time when each period packet arrives, the number of packets per period, and the packet size; the base station determines the frame delay requirement of the current user, and the judgment process can be: based on the delay parameter of the protocol data unit set (PDU SET) in the CQI parameter of the user session, which is directly transmitted to the base station by the core network; the base station determines the typical frame delay requirement of the service based on the previously identified service characteristics. For example, if the base station identifies that the current user's service is a VR game, it matches the frame delay requirement of 10ms. To determine the current instantaneous resource demand of each user, the base station determines whether the total instantaneous resource demand of multiple users exceeds the system wireless resource carrying capacity based on the instantaneous rate demand of each user and the arrival time of each period packet of the user.
[0102] In one embodiment, the characteristic parameter includes at least one of the following:
[0103] A service cycle of each terminal for a target service;
[0104] The number and size of data packets of each terminal in the service cycle;
[0105] The remaining delay parameters and arrival time parameters of the data packet.
[0106] In this embodiment, the service cycle, the number and size of the data packets, the remaining delay parameter, and the arrival time parameter can all be determined according to actual conditions and are not limited here.
[0107] In one embodiment, the required resources include first frequency domain resources required in a first time slot; the available resources include second frequency domain resources available in the first time slot; and the method further includes:
[0108] When the first frequency domain resources are greater than the second frequency domain resources, it is determined that resource congestion occurs in the network device in the first time slot.
[0109] In this embodiment, the first frequency domain resources and the second frequency domain resources need to be determined according to actual conditions and are not limited here.
[0110] When the first frequency domain resources are greater than the second frequency domain resources, it can be understood that the resource carrying capacity of the network device in the first time slot is limited, or it can be understood as capacity limitation, that is, resource congestion occurs in the first time slot.
[0111] In one embodiment, determining, based on the first data flow, at least one terminal corresponding to the second data flow that can alleviate resource congestion among the at least two terminals includes:
[0112] Determining, in the first data stream, a third data stream that affects resource congestion in the first time slot;
[0113] Using the data stream with the least adjustment degree in the third data stream as the second data stream;
[0114] Determine the at least one terminal corresponding to the second data stream.
[0115] In this embodiment, for ease of understanding, an example is given here, where the network device is a base station; the terminal is a user terminal, which is recorded as user 1 to user 4. As an example, when it is predicted that congestion will occur, the base station first determines which part of the data packets in the data frames of user 1 to user 4 will be affected by the congested time slot. The last two transmission blocks of user 1, the last five transmission blocks of user 2, the initial five transmission blocks of user 3, and the initial three transmission blocks of user 4 will be affected. The user with the smallest adjustment amount for alleviating congestion is preferentially selected to advance the image frame generation time. Taking these four users as an example, the users whose tail transmission blocks are affected by the congested time slot are preferentially selected to adjust the image frame generation time, namely user 1 and user 2.
[0116] In one embodiment, the method further comprises:
[0117] Sending indication information to a service originating end corresponding to the at least one terminal by filling a field with a first value in an IP packet header;
[0118] or,
[0119] In the case where the target service is a downlink service, indication information is sent to a service originating end corresponding to the at least one terminal through MAC signaling.
[0120] In this embodiment, the first value may be determined according to actual conditions and is not limited here. As an example, the first value may be an offset value.
[0121] For ease of understanding, an example is given here to add a new field in the IP packet header to indicate the time when the image frame is generated by the offset; for users who need to be offset, the base station sets the offset value in the IP field position of the user's service packet. After receiving this information, the service layer of the receiving end feeds it back to the sending end.
[0122] The MAC signaling may be determined according to actual conditions and is not limited here. As an example, the MAC signaling may be a MAC PDU.
[0123] For ease of understanding, an example is given here where the base station sends the offset value to the terminal via MAC layer control signaling, and the terminal passes it to the service layer after receiving it. If the terminal is the receiving end and the server is the sending end, the terminal service layer feeds back the information to the sending end.
[0124] In one embodiment, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0125] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0126] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0127] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0128] In this embodiment, the ratio parameter can be determined according to actual conditions and is not limited here. As an example, the ratio parameter can be an offset indicated by a ratio of a period. For example, a 2-bit field, '00' indicates an offset of 1 / 2 period, '01' indicates an offset of 1 / 3 period, '10' indicates an offset of 1 / 4 period, etc.
[0129] The first offset parameter may be determined according to actual conditions and is not limited here. As an example, the first offset parameter may be in a fixed step size manner, with the offset indicated by a step size multiple. For example, the step size and multiple are indicated in the field or the MAC signaling.
[0130] The second offset parameter may be determined according to actual conditions and is not limited here. As an example, the second offset parameter may not indicate a specific offset, but only indicate that an offset is required. Before the user packet arrival time conflict is resolved, the instruction requiring an offset is continuously sent.
[0131] By adopting the technical solution of the present application, when the first data streams of at least two terminals arrive at the network device at the same time, when the required resources for the target service of the at least two terminals are greater than the available resources of the network device, at least one terminal corresponding to the second data stream that can alleviate resource congestion is determined, and then indication information for adjusting the offset frame generation time of the service originating end corresponding to the at least one terminal for the second data stream is sent, so that multiple terminals can transmit at off-peak times, avoid the limitation of the instantaneous capacity of the network device, enhance the network capacity, and improve the user experience.
[0132] Accordingly, an embodiment of the present application further provides a data transmission method, which is applied to a terminal. Figure 5 FIG. 2 is another flow chart of the data stream transmission method according to an embodiment of the present application; Figure 5As shown, the method includes:
[0133] Step 501: Receive indication information sent by a network device.
[0134] Step 502: According to the indication information, the service originator corresponding to itself adjusts the offset frame generation time for the second data stream in the first data stream.
[0135] It should be noted that the network device may be any network device, which is not limited here. As an example, the network device may at least include a base station. The terminal may also be determined according to actual conditions, which is not limited here. As an example, the terminal may be a user terminal, which may include a smart phone, a tablet computer, a desktop computer, a notebook, a client, etc.
[0136] In step 501, the indication information may be determined according to actual conditions, which is not limited here. As an example, the indication information may include indication information for setting a first value, etc. For example, the indication information for setting a first value may be indication information for setting an offset value.
[0137] In step 502, the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream is adjusted according to the indication information; wherein the specific process of the adjustment can be determined according to the actual situation and is not limited here. As an example, the adjustment can include one-step adjustment, multiple-step adjustment, etc.
[0138] Adjusting the offset frame generation time of the second data stream in the first data stream at the corresponding service originator according to the indication information can be understood as when the network device (for example, a base station) determines that there is a collision at the arrival time of periodic packets of no less than two users and that instantaneous capacity limitation will occur, it selects one or more users and instructs their service layer offset frame generation time.
[0139] As an example, after receiving the offset indication, the service initiator adjusts the time when the user image frame is generated. Whether to adjust in one step or in multiple steps can be determined based on the offset to be adjusted and the service layer processing capability. Specifically, in the case of one step adjustment, the time when the image frame is generated is advanced by the duration indicated by the offset in the adjustment frame, and the next frame is still generated according to the cycle matching the original frame rate. In the case of multiple steps adjustment, each step of the adjustment frame advances the time when the image frame is generated by a part, and the sum of the offsets of the multiple steps adjustment is the duration indicated by the offset.
[0140] In one embodiment, the method further comprises:
[0141] Receive the indication information sent by the network device by filling a field with a first value in a packet header of an Internet Protocol IP;
[0142] or,
[0143] In the case that the target service is a downlink service, the indication information sent by the network device is received through media access control MAC signaling.
[0144] For ease of understanding, an example is given here to add a new field in the IP packet header to indicate the time when the image frame is generated by the offset; for users who need to be offset, the base station sets the offset value in the IP field position of the user's service packet. After receiving this information, the service layer of the receiving end feeds it back to the sending end.
[0145] The MAC signaling may be determined according to actual conditions and is not limited here. As an example, the MAC signaling may be a MAC PDU.
[0146] For ease of understanding, an example is given here where the base station sends the offset value to the terminal via MAC layer control signaling, and the terminal passes it to the service layer after receiving it. If the terminal is the receiving end and the server is the sending end, the terminal service layer feeds back the information to the sending end.
[0147] In one embodiment, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0148] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0149] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0150] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0151] In this embodiment, the ratio parameter can be determined according to actual conditions and is not limited here. As an example, the ratio parameter can be an offset indicated by a ratio of a period. For example, a 2-bit field, '00' indicates an offset of 1 / 2 period, '01' indicates an offset of 1 / 3 period, '10' indicates an offset of 1 / 4 period, etc.
[0152] The first offset parameter may be determined according to actual conditions and is not limited here. As an example, the first offset parameter may be in a fixed step size manner, with the offset indicated by a step size multiple. For example, the step size and multiple are indicated in the field or the MAC signaling.
[0153] The second offset parameter may be determined according to actual conditions and is not limited here. As an example, the second offset parameter may not indicate a specific offset, but only indicate that an offset is required. Before the user packet arrival time conflict is resolved, the instruction requiring an offset is continuously sent.
[0154] In one embodiment, when the indication information includes a ratio parameter of the offset frame corresponding to the offset period carried in the field or the MAC signaling; the method further includes:
[0155] The offset frame generation time is adjusted in one step according to the scale parameter.
[0156] In this embodiment, adjusting the offset frame generation time in one step according to the ratio parameter can be understood as adjusting the offset frame generation time in one step according to the ratio parameter.
[0157] For ease of understanding, an example is given here, where the ratio parameter indicates the offset of the ratio of the period, with the period as the unit, and the offset is indicated by the ratio of the period, and only the ratio value is carried in the field or signaling. For example, in a 2-bit field, '00' indicates an offset of 1 / 2 period, '01' indicates an offset of 1 / 3 period, '10' indicates an offset of 1 / 4 period, etc. One-step adjustment is in place, and the moment when the image frame is generated is advanced by the time indicated by the offset when the adjustment frame is adjusted, and the next frame is still generated according to the period matching the original frame rate.
[0158] In one embodiment, when the indication information includes a first offset parameter carrying a step size and a multiple corresponding to the offset frame in the field or the MAC signaling; the method further includes:
[0159] The offset frame generation time is adjusted in multiple steps according to the first offset parameter.
[0160] In this embodiment, adjusting the offset frame generation time in multiple steps according to the first offset parameter can be understood as adjusting the offset frame generation time in multiple steps according to the first offset parameter.
[0161] For ease of understanding, an example is given here, in which the first offset parameter is a fixed step size method, and the offset is indicated by a step size multiple, and the step size and multiple are indicated in the field or signaling. When the multi-step adjustment is in place, each step adjustment frame will advance the moment of generating the image frame by a part, and the sum of the offsets of the multi-step adjustment is the duration indicated by the offset. In practical applications, a process for determining the multi-step adjustment can be based on the processing capacity of the service layer, the minimum time required to generate an image frame is Tgen, and the current frame period is T, then the maximum offset that can be advanced between the two frames is T-Tgen. The offset that needs to be adjusted is T offset , then the number of steps to be adjusted is offset / (T-Tgen) is rounded up, and the offset adjusted each time can be averaged, or the offset (T-Tgen) has been adjusted to the maximum capacity in the first few steps, and the remaining offset is adjusted in the last step.
[0162] By adopting the technical solution of the present application, when the first data streams of at least two terminals arrive at the network device at the same time, when the required resources for the target service of the at least two terminals are greater than the available resources of the network device, at least one terminal corresponding to the second data stream that can alleviate resource congestion is determined, and then indication information for adjusting the offset frame generation time of the service originating end corresponding to the at least one terminal for the second data stream is sent, so that multiple terminals can transmit at off-peak times, avoid the limitation of the instantaneous capacity of the network device, enhance the network capacity, and improve the user experience.
[0163] In order to better understand the present application, an actual application scenario is exemplified here, in which the data stream transmission method is a multi-stream staggered transmission method, the network device is a base station, and the terminal is a user terminal for example.
[0164] This application proposes a multi-stream transmission mechanism that collaborates with the network and services to solve the problem that the demand for air interface transmission resources increases instantaneously due to the simultaneous arrival of multiple user service data streams at the base station, forming a transmission bottleneck. The network determines whether instantaneous capacity limitation occurs based on information such as the arrival time of multiple streams and the frame delay budget. If it is determined that this phenomenon will occur or has occurred, the base station feeds back the information to the service layer. After receiving the base station information, the service layer adjusts the time for generating and sending some user image frames, so that multiple users can transmit at off-peak times and avoid instantaneous capacity limitation of the base station.
[0165] (I) The base station determines that the instantaneous capacity is limited. The specific steps are as follows:
[0166] Step 1: The base station determines the service characteristics of the current active user, such as the service cycle, the time when the packets arrive in each cycle, the number of packets in each cycle, and the packet size.
[0167] Step 2: The base station determines the frame delay requirement of the current user. The determination process may be: 1) based on the PDU SET delay parameter in the CQI parameter of the user session, the parameter is directly transmitted to the base station by the core network; 2) the base station determines the typical frame delay requirement of the service based on the service characteristics identified in step 1. For example, if the base station identifies that the service of the current user is a VR game, the frame delay requirement is matched to 10ms.
[0168] Step 3: Based on steps 1 and 2, the base station determines the current instantaneous resource requirement of each user.
[0169] Step 4: The base station determines whether the total instantaneous resource demand of multiple users exceeds the system wireless resource carrying capacity based on the instantaneous rate demand of each user and the arrival time of the user's periodic packet in step 1.
[0170] For ease of understanding, an example method for determining capacity limitation is provided herein, in which a user who adjusts the time at which an image frame is generated is selected.
[0171] Taking the 5G system as an example, users 1 to 4 are all XR service users with the same security level. The base station knows the data packet size and remaining delay margin of the buffer of users 1 to 4 in this cell. Combined with the CQI reported by users 1 to 4, it can determine the available MCS, thereby calculating the sum of the frequency domain resource requirements of the four users in each time slot. At the same time, the base station knows the available frequency domain resources in each time slot of this cell. When the available frequency domain resources are lower than the sum of the frequency domain resources of the four XR users, congestion is predicted to occur.
[0172] When congestion is predicted, the base station first determines which data packets in the data frames of user 1 to user 4 will be affected by the congested time slot. Figure 6 To understand, Figure 6 It is a schematic diagram of the time slot where congestion occurs in the data stream transmission method in the embodiment of the present application; the dotted box is the time slot where congestion will occur, which will affect the last two transmission blocks of user 1, the last five transmission blocks of user 2, the initial five transmission blocks of user 3, and the initial three transmission blocks of user 4. The user with the smallest adjustment amount for alleviating congestion is preferentially selected to advance the image frame generation time. Taking the four users in the figure as an example, the users whose tail transmission blocks are affected by the congested time slot are preferentially selected to adjust the image frame generation time, namely user 1 and user 2.
[0173] (ii) The base station transmits the information to the service.
[0174] 1. When the base station determines that the arrival times of periodic packets of no less than two users collide and the instantaneous capacity will be limited, it selects one or more users and instructs them to generate the service layer offset frame. The specific method is as follows:
[0175] Solution 1: Add a new field in the IP packet header to indicate the time when the image frame is generated by the offset; for users who need to be offset, the base station sets the offset value in the IP field position of the user's service packet. After receiving the information, the service layer of the receiving end feeds it back to the sending end.
[0176] As an example, the length of the "optional" in the IP packet header is not fixed and can be up to 40 bytes. A new option is added to the optional option to indicate the time when the upper layer adjusts the generation of the image frame. For example, the length of the new option is 2 bits, 00 indicates that the generation of the frame offset is not supported, 01 indicates that the generation of the frame offset is supported, and 10 indicates that the generation of the image frame needs to be adjusted. Figure 7 To understand, Figure 7 This is a schematic diagram of the newly added fields in the IP packet header in the data stream transmission method in the embodiment of the present application.
[0177] Solution 2: The base station sends the offset value to the terminal through MAC layer control signaling, and the terminal passes it to the service layer after receiving it. If the terminal is the receiving end and the server is the sending end, the terminal service layer will feed back the information to the sending end.
[0178] As an example, the design of MAC PDU can flexibly carry multiple sub PDUs containing MAC CE. Based on this mechanism, a new MAC CE is added to instruct the service layer to adjust the time to generate image frames. The length is 2 bits. 00 indicates that frame offset generation is not supported, 01 indicates that frame offset generation is supported, and 10 indicates that the time to generate image frames needs to be adjusted. After the base station detects congestion, it inserts the MAC CE into the header of the MAC PDU. After the terminal receives and parses the MAC PDU, it sends the information to the upper service layer of the terminal. The terminal can determine which service the indication corresponds to based on the LCID corresponding to the MAC CE. It can be combined with Figure 8 To understand, Figure 8 This is a schematic diagram of sending an offset value to a terminal by MAC layer control signaling in a data stream transmission method in an embodiment of the present application.
[0179] 2. The method of indicating the packet offset. If the number of users who need to make an offset is greater than one, different users will need different offsets. The scheme for indicating the offset is:
[0180] Solution 1: The offset is indicated by the ratio of the period in units of periods. The field or signaling in step 1 only carries the ratio value. For example, a 2-bit field, '00' indicates an offset of 1 / 2 period, '01' indicates an offset of 1 / 3 period, '10' indicates an offset of 1 / 4 period, etc.
[0181] Solution 2: Fixed step size method, the offset is indicated by the step size multiple, and the step size and multiple are indicated in the field or signaling of step 1.
[0182] Solution 3: Do not indicate the specific offset, only indicate the need for offset. Before the user packet arrival time conflict is resolved, continue to send the instruction of the required offset.
[0183] (III) Business adjustment of frame sending time.
[0184] After receiving the offset indication, the service initiator adjusts the time when the user image frame is generated. It can decide whether to adjust in one step or in multiple steps according to the offset to be adjusted and the processing capacity of the service layer. Adjustment plan:
[0185] Solution 1: One-step adjustment is performed. When adjusting the frame, the moment when the image frame is generated is advanced by the time indicated by the offset. The next frame is still generated at a period that matches the original frame rate, as shown in the figure below by user 2.
[0186] Solution 2: Multi-step adjustment is in place. Each step of adjusting the frame will advance the time of generating the image frame by a part. The sum of the offsets of the multi-step adjustment is the duration indicated by the offset. Fig. 9 To understand, Fig. 9 Schematic diagram of multi-step adjustment of services in the data stream transmission method in the embodiment of the present application. Fig. 9 User 3. As an example, a method for determining multi-step adjustment is that, according to the processing capacity of the service layer, the minimum time required to generate a frame of image is Tgen, the current frame period is T, and the maximum offset between two frames that can be advanced is T-Tgen. The offset that needs to be adjusted is T offset , then the number of steps to be adjusted is offset / (T-Tgen) is rounded up, and the offset adjusted each time can be averaged, or the offset (T-Tgen) has been adjusted to the maximum capacity in the first few steps, and the remaining offset is adjusted in the last step.
[0187] Compared with the shortcomings of the existing technology, this proposal has the following advantages:
[0188] 1. Transmit multi-user data streams at different times to enhance network capacity.
[0189] 2. Since the adjustment is made to the time when the service layer generates frames, no additional waiting time is added and the user experience is not affected.
[0190] 3. The image frame generation time is advanced, without reducing the bit rate or adjusting the frame rate, and there is no impact on the service quality.
[0191] In the embodiment of the present application, for machine learning related businesses, the estimated time of the machine learning model is evaluated by introducing relevant performance models, and then the cloud management platform is guided to reasonably allocate the existing computing resources according to the analysis results. It can not only improve the utilization rate of computing resources to a certain extent, but also improve the leasing method of computing resources, from leasing in units of time periods to leasing in units of task volume, so as to reduce costs and increase efficiency for cloud service providers. At the same time, users make comprehensive considerations based on the computing power price and model running time to find the most cost-effective solution.
[0192] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a data stream transmission device, which is arranged on a network device. Fig.10 Schematic diagram of a device for transmitting data streams according to an embodiment of the present application; Fig.10 As shown, including:
[0193] A first determining unit 1001 is configured to determine required resources of the at least two terminals for a target service and available resources of the network device if first data streams of at least two terminals arrive at the network device at the same time;
[0194] A second determining unit 1002 is configured to determine, when the required resources are greater than the available resources, at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow;
[0195] The sending unit 1003 is used to send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
[0196] In one embodiment, the first determination unit 1001 is further used to obtain characteristic parameters of each terminal for the target service and channel quality indication parameters reported by each terminal; and determine the required resources based on the characteristic parameters and the channel quality indication parameters.
[0197] In one embodiment, the characteristic parameter includes at least one of the following:
[0198] A service cycle of each terminal for a target service;
[0199] The number and size of data packets of each terminal in the service cycle;
[0200] The remaining delay parameters and arrival time parameters of the data packet.
[0201] Here, in one embodiment, the required resources include first frequency domain resources required in a first time slot; the available resources include second frequency domain resources available in the first time slot; the first determination unit 1001 is also used to determine that resource congestion occurs in the network device in the first time slot when the first frequency domain resources are greater than the second frequency domain resources.
[0202] In one embodiment, the second determination unit 1002 is further used to determine a third data stream in the first data stream that affects resource congestion in the first time slot; use the data stream with a less adjustment degree in the third data stream as the second data stream; and determine the at least one terminal corresponding to the second data stream.
[0203] In one embodiment, the device 1000 also includes a sending unit, which is used to send indication information to the service originating end corresponding to the at least one terminal by filling a field with a first value in a packet header of the Internet Protocol IP; or, when the target service is a downlink service, send indication information to the service originating end corresponding to the at least one terminal through media access control MAC signaling.
[0204] In one embodiment, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0205] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0206] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0207] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0208] In order to implement the method on the terminal side of the embodiment of the present application, the embodiment of the present application also provides a data stream transmission device, which is arranged on the terminal. Fig.11 Schematic diagram of another device for transmitting data streams according to an embodiment of the present application; Fig.11 As shown, the device comprises:
[0209] The receiving unit 1101 is used to receive the indication information sent by the network device;
[0210] The adjusting unit 1102 is configured to adjust, according to the indication information, the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream.
[0211] In one embodiment, the receiving unit 1101 is further used to receive the indication information sent by the network device by filling a field with a first value in a packet header of the Internet Protocol IP; or, when the target service is a downlink service, receive the indication information sent by the network device through a media access control MAC signaling.
[0212] In one embodiment, when there are multiple terminals at the offset frame generation time, the indication information includes one of the following:
[0213] Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling;
[0214] Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling;
[0215] The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
[0216] Here, in one embodiment, when the indication information includes a ratio parameter of the offset frame corresponding to the offset period carried in the field or the MAC signaling; the adjustment unit 1102 is further used to adjust the offset frame generation time in one step according to the ratio parameter.
[0217] Here, in one embodiment, when the indication information includes a first offset parameter carrying the step size and multiple corresponding to the offset frame in the field or the MAC signaling; the adjustment unit 1102 is also used to adjust the offset frame generation time in multiple steps according to the first offset parameter.
[0218] It should be noted that: the data stream transmission device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when performing data stream transmission. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the data stream transmission device provided in the above embodiment and the data stream transmission method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0219] Based on the hardware implementation of the above program module, and in order to implement the method on the network device side of the embodiment of the present application, the embodiment of the present application also provides a network device, Fig.12 Schematic diagram of the structure of the network device of the embodiment of the present application; Fig.12 As shown, the network device 1200 includes:
[0220] The first communication interface 1201 is capable of exchanging information with the terminal;
[0221] The first processor 1202 is connected to the first communication interface 1201 to implement information interaction with the terminal, and is used to execute the method provided by one or more technical solutions on the network device side when running a computer program. The computer program is stored in the first memory 1203.
[0222] It should be noted that the specific processing process of the first processor 1202 and the first communication interface 1201 can be understood by referring to the above method.
[0223] Of course, in actual application, the various components in the network device 1200 are coupled together through the bus system 1204. It can be understood that the bus system 1204 is used to realize the connection and communication between these components. In addition to the information bus, the bus system 1204 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus system 1204.
[0224] The first memory 1203 in the embodiment of the present application is used to store various types of information to support the operation of the network device 1200. Examples of such information include: any computer program used to operate on the network device 1200.
[0225] The method disclosed in the above embodiment of the present application can be applied to the first processor 1202, or implemented by the first processor 1202. The first processor 1202 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the first processor 1202 or an instruction in the form of software. The above-mentioned first processor 1202 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 1202 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 1203, and the first processor 1202 reads the information in the first memory 1203 and completes the steps of the above method in combination with its hardware.
[0226] In an exemplary embodiment, the network device 1200 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0227] Based on the hardware implementation of the above program module, and in order to implement the method on the terminal side of the embodiment of the present application, the embodiment of the present application also provides a terminal, Fig.13 Schematic diagram of the structure of the terminal of the embodiment of the present application; Fig.13 As shown, the terminal 1300 includes:
[0228] The second communication interface 1301 is capable of exchanging information with a network device;
[0229] The second processor 1302 is connected to the second communication interface 1301 to implement information interaction with the network device, and is used to execute the method provided by one or more technical solutions of the terminal side when running the computer program. The computer program is stored in the second memory 1303.
[0230] It should be noted that the specific processing process of the second communication interface 1301 and the second processor 1302 can be understood by referring to the above method.
[0231] Of course, in actual application, the various components in the terminal 1300 are coupled together through the bus system 1304. It can be understood that the bus system 1304 is used to realize the connection and communication between these components. In addition to the information bus, the bus system 1304 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.13 Various buses are labeled as bus system 1304 .
[0232] The second memory 1303 in the embodiment of the present application is used to store various types of information to support the operation of the terminal 1300. Examples of such information include: any computer program used to operate on the terminal 1300.
[0233] The method disclosed in the above embodiment of the present application can be applied to the second processor 1302, or implemented by the second processor 1302. The second processor 1302 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 hardware integrated logic circuit or software instructions in the second processor 1302. The above-mentioned second processor 1302 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1302 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1303, and the second processor 1302 reads the information in the second memory 1303 and completes the steps of the above method in combination with its hardware.
[0234] In an exemplary embodiment, the terminal 1300 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0235] It can be understood that the memory (first memory 1203, second memory 1303) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also 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), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0236] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides a data stream transmission system, Fig.14 Schematic diagram of the data stream transmission system structure of the present application embodiment; Fig.14 As shown, the system includes: a network device 1401 and a terminal 1402.
[0237] Here, it should be noted that the specific processing process of the network device 1401 and the terminal 1402 has been described in detail above and will not be repeated here.
[0238] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 1203 storing a computer program, and the computer program can be executed by the first processor 1202 of the network device 1200 to complete the steps of the aforementioned network device side method. For another example, a second memory 1303 storing a computer program can be executed by the second processor 1302 of the terminal 1300 to complete the steps of the aforementioned terminal side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
[0239] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0240] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0241] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A data stream transmission method, characterized in that: Applied to network equipment, including: If there are first data streams of at least two terminals arriving at the network device at the same time, determining required resources of the at least two terminals for the target service and available resources of the network device; When the required resources are greater than the available resources, determining at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow; Send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
2. The method according to claim 1, characterized in that: The determining the required resources of at least two terminals for the target service includes: Acquire characteristic parameters of each terminal for a target service and channel quality indication parameters reported by each terminal; The required resources are determined based on the characteristic parameter and the channel quality indication parameter.
3. The method according to claim 2, characterized in that The characteristic parameters include at least one of the following: A service cycle of each terminal for a target service; The number and size of data packets of each terminal in the service cycle; The remaining delay parameters and arrival time parameters of the data packet.
4. The method according to claim 3, characterized in that The required resources include first frequency domain resources required in a first time slot; the available resources include second frequency domain resources available in the first time slot; and the method further includes: When the first frequency domain resources are greater than the second frequency domain resources, it is determined that resource congestion occurs in the network device in the first time slot.
5. The method according to claim 4, characterized in that The determining, based on the first data flow, at least one terminal corresponding to the second data flow that can alleviate resource congestion among the at least two terminals includes: Determining, in the first data stream, a third data stream that affects resource congestion in the first time slot; Using the data stream with the least adjustment degree in the third data stream as the second data stream; Determine the at least one terminal corresponding to the second data stream.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Sending indication information to a service originating end corresponding to the at least one terminal by filling a field with a first value in a packet header of an Internet Protocol IP; or, In the case that the target service is a downlink service, indication information is sent to a service originating end corresponding to the at least one terminal through a media access control MAC signaling.
7. The method according to claim 6, characterized in that In the case where there are multiple terminals at the offset frame generation time, the indication information includes one of the following: Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling; Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling; The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
8. A data stream transmission method, characterized in that: Applied to terminals, including: Receiving instruction information sent by the network device; The service originator corresponding to itself adjusts the offset frame generation time for the second data stream in the first data stream according to the indication information.
9. The method according to claim 8, characterized in that The method further comprises: Receive the indication information sent by the network device by filling a field with a first value in a packet header of an Internet Protocol IP; or, In the case that the target service is a downlink service, the indication information sent by the network device is received through media access control MAC signaling.
10. The method according to claim 9, characterized in that In the case where there are multiple terminals at the offset frame generation time, the indication information includes one of the following: Carrying a ratio parameter of the offset frame to the offset period in the field or the MAC signaling; Carrying a first offset parameter corresponding to the step length and multiple of the offset frame in the field or the MAC signaling; The second offset parameter corresponding to the offset frame is carried in the field or the MAC signaling.
11. The method according to claim 10, characterized in that In the case where the indication information includes a ratio parameter of the offset frame corresponding to the offset period carried in the field or the MAC signaling; the method further includes: The offset frame generation time is adjusted in one step according to the scale parameter.
12. The method according to claim 10, characterized in that In a case where the indication information includes a first offset parameter carrying a step size and a multiple corresponding to the offset frame in the field or the MAC signaling; The method further comprises: The offset frame generation time is adjusted in multiple steps according to the first offset parameter.
13. A data stream transmission device, characterized in that: Set on the network device, including: A first determining unit, configured to determine required resources of the at least two terminals for a target service and available resources of the network device if first data streams of at least two terminals arrive at the network device at the same time; A second determining unit is configured to determine, when the required resources are greater than the available resources, at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals based on the first data flow; the first data flow includes the second data flow; A sending unit is used to send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
14. A data stream transmission device, characterized in that: Set on the terminal, including: A receiving unit, used for receiving instruction information sent by a network device; The adjustment unit is used to adjust the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream according to the indication information.
15. A network device, characterized in that: include: A first processor and a first communication interface; wherein, The first processor is configured to determine, if there are first data flows of at least two terminals that arrive at the network device at the same time, required resources of the at least two terminals for a target service and available resources of the network device; when the required resources are greater than the available resources, determine, based on the first data flow, at least one terminal corresponding to a second data flow that can alleviate resource congestion among the at least two terminals; the first data flow includes the second data flow; The first communication interface is used to send indication information to the service receiving end corresponding to the at least one terminal; the indication information is used to adjust the offset frame generation time of the service sending end corresponding to the at least one terminal for the second data stream.
16. A terminal, characterized in that: include: A second communication interface and a second processor; wherein, The second communication interface is used to receive instruction information sent by the network device; The second processor is used to adjust the offset frame generation time of the service originating end corresponding to itself for the second data stream in the first data stream according to the indication information.
17. A network device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 7 are executed.
18. A terminal, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 8 to 12 are executed.
19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 7, or implements the steps of the method according to any one of claims 8 to 12.
