Data transmission method and device, computer readable medium and electronic equipment
By acquiring the tolerant packet loss ratio of service data streams, packet transmission control is solved, and the challenge of high-bandwidth interactive services in 5G systems to wireless network transmission is improved.
Patent Information
- Application Number
- CN202311622853.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
In 5G and subsequent evolution systems, high-bandwidth interactive services pose challenges to wireless network transmission, especially in terms of transmission timeliness and packet processing flexibility.
By obtaining the tolerant packet loss ratio of the service data flow, packet transmission control is carried out, allowing a certain number of data packets to be discarded when the network state allows, thereby improving the flexibility of packet processing.
This method can better deal with the challenges of high-bandwidth interactive services to wireless network transmission, and improve the flexibility of packet processing during service data stream transmission.
Smart Images

Figure CN120075887A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer and communication technologies, and in particular, to a data transmission method, apparatus, computer-readable medium, and electronic device. Background Art
[0002] In 5G and its subsequent evolved systems, high-bandwidth interactive services are important service types, such as cloud gaming, VR (Virtual Reality), AR (Augmented Reality), MR (Mixed Reality), XR (Extended Reality), CR (Cinematic Reality), etc.
[0003] These high-bandwidth interactive services not only have high requirements for transmission timeliness, but also with the improvement of indicators such as resolution, frame rate, and degree of freedom, the amount of data generated at the application layer has increased greatly. Therefore, the content of data packets generated by the application layer of this type of service usually uses a series of related data packets for transmission. For the transmission process of this series of data packets, how to effectively perform transmission control to cope with the challenges of high-bandwidth interactive services to wireless network transmission is a technical problem to be solved urgently. Summary of the Invention
[0004] Embodiments of this application provide a data transmission method, apparatus, computer-readable medium, and electronic device, which can perform transmission control on data packets based on the tolerable packet loss ratio, improve the flexibility of data packet processing during the transmission of service data streams, and thus can better cope with the challenges of high-bandwidth interactive services to wireless network transmission.
[0005] Other features and advantages of this application will become apparent through the following detailed description, or be learned in part through the practice of this application.
[0006] In a first aspect, embodiments of this application provide a data transmission method, including: obtaining a tolerable packet loss ratio of a service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; and performing transmission control on the service data stream according to the tolerable packet loss ratio.
[0007] In a second aspect, embodiments of this application provide a data transmission method, including: obtaining a tolerable packet loss ratio of a service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; and sending the tolerable packet loss ratio to an access network element so that the access network element performs transmission control on the service data stream according to the tolerable packet loss ratio.
[0008] In a third aspect, an embodiment of the present application provides a data transmission device, including: an acquisition unit configured to acquire a tolerable packet loss ratio of a service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; and a processing unit configured to perform transmission control on the service data stream according to the tolerable packet loss ratio.
[0009] In a fourth aspect, an embodiment of the present application provides a data transmission device, including: an acquisition unit configured to acquire a tolerable packet loss ratio of a service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; and a sending unit configured to send the tolerable packet loss ratio to an access network element so that the access network element performs transmission control on the service data stream according to the tolerable packet loss ratio.
[0010] In a fifth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the data transmission method described in the above embodiments.
[0011] In a sixth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; and a storage device for storing one or more computer programs, and when the one or more computer programs are executed by the one or more processors, the electronic device implements the data transmission method described in the above embodiments.
[0012] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium. A processor of an electronic device reads and executes the computer program from the computer-readable storage medium, so that the electronic device executes the data transmission methods provided in the above various alternative embodiments.
[0013] In the technical solutions provided by some embodiments of the present application, by acquiring the tolerable packet loss ratio of a service data stream and then performing transmission control on the service data stream according to the tolerable packet loss ratio, it is possible to perform transmission control on data packets based on the tolerable packet loss ratio, and then it is possible to decide whether to discard a certain number of data packets in combination with the actual network state (such as resource usage, etc.), improving the flexibility of data packet processing during the transmission of the service data stream, and further being able to better cope with the challenges of high-bandwidth interactive services to wireless network transmission.
[0014] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The figure shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;
[0016] Figure 2 The figure shows a schematic diagram of the transmission process of a multimedia data packet according to an embodiment of the present application;
[0017] Figure 3 The figure shows a flowchart of a data transmission method according to an embodiment of the present application;
[0018] Figure 4 The figure shows a flowchart of a data transmission method according to an embodiment of the present application;
[0019] Figure 5A The figure shows a schematic diagram of the structure of multiple data packets according to an embodiment of the present application;
[0020] Figure 5B The figure shows a schematic diagram of the structure of multiple data packets according to an embodiment of the present application;
[0021] Figure 6 The figure shows a flowchart of a data transmission method according to an embodiment of the present application;
[0022] Figure 7 The figure shows an interaction flowchart of a data transmission method according to an embodiment of the present application;
[0023] Figure 8 The figure shows a block diagram of a data transmission device according to an embodiment of the present application;
[0024] Figure 9 The figure shows a block diagram of a data transmission device according to an embodiment of the present application;
[0025] Figure 10 The figure shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing the embodiments of the present application. Detailed implementation manners
[0026] Now, the exemplary embodiments will be described in a more comprehensive manner with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be construed as being limited to these examples; on the contrary, these embodiments are provided so that this application will be more complete and comprehensive, and the concept of the exemplary embodiments will be fully conveyed to those skilled in the art.
[0027] In addition, the features, structures, or characteristics described in this application can be combined in one or more embodiments in any suitable manner. In the following description, numerous specific details are provided to enable a full understanding of the embodiments of this application. However, those skilled in the art should realize that when implementing the technical solutions of this application, not all the detailed features in the embodiments are required, one or more specific details can be omitted, or other methods, elements, devices, steps, etc. can be adopted.
[0028] In the embodiments of this application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit that includes the function of that module or unit.
[0029] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0030] The flowcharts shown in the drawings are only illustrative and do not necessarily include all the content and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.
[0031] It should be noted that: "a plurality of" mentioned in this article means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0032] With the development of 5G (5th - Generation, the fifth - generation mobile communication technology) and its subsequent evolved systems (such as 5G - A, 6G, etc.), many multimedia services that require a large amount of data and short latency have been applied. Such as cloud gaming services, interactive services such as VR, AR, MR, XR, and CR.
[0033] For example, in Figure 1In the cloud game scenario shown, the cloud server 101 is used to run cloud games. The cloud server 101 can render game screens, encode audio signals and the rendered images, and finally transmit the encoded data obtained through encoding to each game client via the network. The game client can be a user device (User Equipment) with basic streaming media playback capabilities, human-computer interaction capabilities, communication capabilities, etc., such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart TV, a smart home, a vehicle-mounted terminal, an aircraft, etc.; or the game client can be an application program running on a terminal device. Specifically, the game client can decode the encoded data transmitted by the cloud server 101 to obtain analog audio and video signals and play them.
[0034] It should be understood that Figure 1 only exemplarily represents the system architecture of the cloud game system and does not limit the specific architecture of the cloud game system; for example, in other embodiments, the cloud game system may further include a background server for scheduling, etc. And the cloud server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The game client and the cloud server 101 can be directly or indirectly connected through wired or wireless communication methods, and this application does not make any restrictions here.
[0035] In the above various application scenarios of multimedia-based interactive services, due to the huge size of multimedia data packets, they need to be split into multiple data packets for transmission during transmission. Specifically, as Figure 2 shown, taking the 5G system as an example, the user plane mainly includes an application server, UPF (User Plane Function), a base station (next generation nodeB, abbreviated as gNB), and a UE (User Equipment). The transmission of multimedia data packets is mainly in the downlink direction for some typical service scenarios, such as from the application server to the UPF, and then sent to the UE through the gNB. During transmission, the multimedia data packet (in Figure 2The XR data packet is taken as an example in the figure. It is split at the application layer of the application server. After the split data packet reaches the UPF from the application server as an IP packet, the 5G system transmits the sub-data packet to the UE through the PDU (Protocol Data Unit) session. At the UE, it is submitted upward from the protocol stack step by step and reassembled to recover the multimedia data packet.
[0036] Among them, Figure 2 In the system shown, L1 layer refers to the physical layer, which is used to ensure that the original data can be transmitted on various physical media; L2 layer refers to the data link layer, which provides services to the network layer based on the services provided by the physical layer; IP (Internet Protocol) layer is the network layer, which is used to realize data transmission between two end systems; UDP is User Datagram Protocol, and its Chinese name is User Datagram Protocol; GTP-U is GPRS (General packet radio service) Tunneling Protocol, and its Chinese name is General Packet Radio Service Tunneling Protocol User Plane; PHY is the abbreviation of Physical, and its Chinese name is physical layer; MAC is Media Access Control, and its Chinese name is media access control; RLC is Radio Link Control, and its Chinese name is Radio Link Control Layer Protocol; PDCP is Packet Data Convergence Protocol, and its Chinese name is Packet Data Convergence Protocol; SDAP is Service Data Adaptation Protocol, and its Chinese name is Service Data Adaptation Protocol.
[0037] As mentioned above, for multimedia services, such as XRM (XR and Media Services), it is common to divide a multimedia data packet into multiple data packets for transmission. A single multimedia service frame or GoP (Group of Packets) may also have a large number of bytes and need to be carried by a series of IP (Internet Protocol) data packets. There is a certain correlation between these IP data packets, and processing these packets based on the correlation can effectively save wireless network bandwidth.
[0038] For example, assume that during transmission, multiple IP data packets are used for transmission, and these multiple IP data packets can form a PDU set (PDU collection). If some data packets in the PDU set are lost, it may cause the entire frame, GoP, or other parts of the video content to be undecodable. Then, the remaining data in the PDU set is also meaningless to the decoding end. However, if application layer FEC (Forward Error Correction) or other mechanisms are introduced and the media application layer has a certain packet loss recovery ability or packet loss resistance ability, then the remaining data in the PDU set can still be recovered and decoded after discarding some packets, indicating that the remaining data in the PDU set is still meaningful for decoding at the receiving end. However, the related art does not provide a reasonable and effective solution for this situation.
[0039] Based on the above problems, the technical solution of the embodiment of the present application proposes a new data transmission scheme, which can perform transmission control on data packets with different priorities based on the tolerable packet loss ratio of the service data stream, and then can decide whether to discard a certain number of low-priority data packets in combination with the actual network status (such as resource usage, etc.), improving the flexibility of processing data packets (i.e., data packets in the PDU set) during the transmission of the service data stream, and thus can better cope with the challenges of high-bandwidth interactive services to wireless network transmission.
[0040] The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below:
[0041] Figure 3 The flowchart of a data transmission method according to an embodiment of the present application is shown. This data transmission method can be executed by a data transmitter, which can be an access network element, such as a base station or a user equipment, etc. Referring to Figure 3 As shown, this data transmission method at least includes S310 to S320, which are introduced in detail as follows:
[0042] In S310, obtain the tolerable packet loss ratio of the service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream.
[0043] In some optional embodiments, the tolerable packet loss ratio of the service data stream is used to represent the maximum allowable packet loss ratio in the service data stream. For example, it can be the maximum ratio of data packets that can be discarded on the premise of ensuring that other data packets in the service data stream can be normally decoded by the data receiving party.
[0044] In some alternative embodiments, the tolerable packet loss ratio of the service data stream may be determined according to the forward error correction configuration parameters of the service data stream. For example, since the service data stream uses forward error correction, 10% packet loss can be tolerated. In this case, the tolerable packet loss ratio of the service data stream may be 10%.
[0045] In some alternative embodiments, the tolerable packet loss ratio of the service data stream may be determined according to the attribute parameters of the service data stream. For example, it may be determined according to one or more of the frame rate and resolution of the service data stream. Specifically, if the setting of the frame rate or resolution of the service data stream enables recovery through interpolation or fitting even if frames are lost, it indicates that partial packet loss can be tolerated, and the tolerable packet loss ratio can be set accordingly.
[0046] In some alternative embodiments, the tolerable packet loss ratio of the service data stream may also be associated with the delay requirement of the service data stream. For example, after exceeding the delay requirement of the service data stream, even if the data packets in the service data stream are transmitted to the receiver, they may not be very meaningful. Therefore, a larger tolerable packet loss ratio can be set after the delay of the service data stream exceeds the delay requirement. Optionally, the delay requirement of the service data stream may be PSDB (PDU setDelay Budget, PDU set delay budget).
[0047] In some alternative embodiments, the tolerable packet loss ratio of the service data stream may also be determined according to two or all of the forward error correction configuration parameters, the attribute parameters, and the delay requirement of the service data stream.
[0048] In some alternative embodiments, the process of obtaining the tolerable packet loss ratio of the service data flow may be to obtain the tolerable packet loss ratio configured by the core network element. Specifically, the AF (Application Function) may send the tolerable packet loss ratio to the PCF (Policy Control Function). For example, the AF may directly send the tolerable packet loss ratio to the PCF, or the AF may first send the tolerable packet loss ratio to the NEF (Network Exposure Function), and then the NEF forwards it to the PCF. After receiving the tolerable packet loss ratio sent by the AF, the PCF may generate corresponding policy information, such as PCC (Policy Control and Charging) rules, and then configure the PCC rules to the SMF (Session Management Function), and further configure them to the base station, user equipment, and UPF (User Plane Function) by the SMF.
[0049] In some alternative embodiments, the process of obtaining the tolerable packet loss ratio of the service data flow may be to obtain the tolerable packet loss ratio sent by the user plane function network element (i.e., UPF). Specifically, the AS (Application Server) may send the tolerable packet loss ratio to the UPF. For example, it may be sent to the PSA (PDU Session Anchor) UPF, and then the UPF forwards the tolerable packet loss ratio to the base station and user equipment.
[0050] In some alternative embodiments, the process of obtaining the tolerable packet loss ratio of the service data flow may also be obtained implicitly. For example, there is a set mapping relationship between the transmission resources and the packet loss ratio. Then the base station or the user equipment can obtain the transmission resources allocated for the service data flow, and then obtain the tolerable packet loss ratio corresponding to the allocated transmission resources according to the mapping relationship between the transmission resources and the packet loss ratio. Optionally, the transmission resources may be DRB (Data Radio Bearer).
[0051] In some alternative embodiments, the process of obtaining the tolerable packet loss ratio of the service data flow may also be obtained through the interaction between the media application layer and the network protocol layer. For example, if the terminal device is the data sender, then the media application layer of the terminal device may transmit the determined tolerable packet loss ratio to the network protocol layer after determining the tolerable packet loss ratio of the service data flow.
[0052] In some alternative embodiments, the process of obtaining the tolerable packet loss ratio of the service data stream may also be to obtain it from other network elements, such as other network elements in the core network.
[0053] Continue to refer to Figure 3 As shown, in S320, transmission control is performed on the service data stream according to the tolerable packet loss ratio.
[0054] In some alternative embodiments, the process of performing transmission control on the service data stream according to the tolerable packet loss ratio may be to perform packet loss control on the data packets included in the service data stream according to the allocated transmission resources, network status, etc. during the transmission of the service data stream. For example, if the allocated transmission resources for the service data stream are sufficient or the network status is relatively good, then all the data packets included in the service data stream can be transmitted as much as possible; if the allocated transmission resources for the service data stream are insufficient or the network status is poor, then on the premise of ensuring that the number of lost packets does not exceed the tolerable packet loss ratio, appropriate discarding processing can be performed on the data packets in the service data stream, such as randomly discarding, or discarding data packets according to a certain strategy (such as discarding one data packet every n data packets, n≥1), etc.
[0055] In some alternative embodiments, when performing transmission control on the service data stream, transmission control may also be performed in combination with the priorities of the data packets included in the service data stream. Specifically, referring to Figure 4 As shown, the data transmission method according to an embodiment of the present application may be executed by a data transmission party, and the data transmission party may be an access network element, such as a base station or a user equipment, etc., and at least includes S410 to S430, which are introduced in detail as follows:
[0056] In S410, obtain the tolerable packet loss ratio of the service data stream, where the tolerable packet loss ratio is used to represent the maximum tolerable packet loss ratio in the service data stream.
[0057] It should be noted that the specific implementation details of S410 are similar to those of S310 in the foregoing embodiments and will not be elaborated here.
[0058] In S420, determine the priorities of the data packets included in the service data stream.
[0059] In some alternative embodiments, the priority of data packets included in a service data stream may be determined according to the tolerable packet loss ratio. Specifically, for example, according to the service data stream granularity targeted by the tolerable packet loss ratio, the transmission processes of multiple data packets matching the service data stream granularity may be detected, and then the first set ratio of data packets arranged in the front in the transmission order among the multiple data packets may be set as the first priority, and the other data packets except the first set ratio of data packets among the multiple data packets may be set as the second priority. The first priority is higher than the second priority, and the sum of the first set ratio and the tolerable packet loss ratio is 1.
[0060] For example, referring to Figure 5A As shown, assume that the first 90% of the data packets (i.e., the first 90% of the data packets arranged in the transmission order) among the multiple data packets matching the service data stream granularity are real payloads, and the remaining 10% are redundant data, such as data packets for forward error correction determined based on the FEC mechanism. Then, if the tolerable packet loss ratio is 10%, the first 90% of the payload data packets may be set as the first priority, and the last 10% of the redundant data packets may be set as the second priority; if the tolerable packet loss ratio is 5%, then the first 95% of the payload data packets may be set as the first priority, and the last 5% of the redundant data packets may be set as the second priority. The technical solution of this embodiment can ensure that high-priority data packets are valid data packets, while low-priority data packets are redundant data packets.
[0061] Referring to Figure 5B As shown, assume that all the multiple data packets matching the service data stream granularity are real payloads, and after losing some data packets, they can be recovered by interpolation or fitting, or losing some data packets does not affect the use of the data receiving party. Then, the first set ratio of data packets arranged in the front in the transmission order among the multiple data packets may also be set as the first priority, and the other data packets except the first set ratio of data packets among the multiple data packets may be set as the second priority, where the first priority is higher than the second priority, and the sum of the first set ratio and the tolerable packet loss ratio is 1.
[0062] Optionally, the service data stream granularity may be the granularity represented by a PDU session, the granularity represented by a QoS flow in a PDU session, or the granularity represented by a PDU set. Correspondingly, the multiple data packets matching the service data stream granularity may be the data packets included in a PDU session, the data packets included in a QoS flow in a PDU session, or the data packets in a PDU set.
[0063] In some alternative embodiments, when determining the priorities of the data packets included in a service data stream according to the tolerable packet loss ratio, it is also possible to detect the transmission processes of multiple data packets matching the service data stream granularity according to the service data stream granularity targeted by the tolerable packet loss ratio, and then set the first set of data packets arranged in the front in the transmission order among the multiple data packets as the first priority, and determine the data packets of the second priority from the other data packets according to the importance of the other data packets except the first set of data packets among the multiple data packets; wherein, the first priority is higher than the second priority, and the first set of data packets is less than or equal to the difference between 1 and the tolerable packet loss ratio.
[0064] For example, continuing to refer to Figure 5A As shown, assume that 90% of the data packets (i.e., the first 90% of the data packets arranged in the transmission order) among the multiple data packets matching the service data stream granularity are real payloads, and the remaining 10% are redundant data, such as data packets determined based on the FEC mechanism for forward error correction. Then, if the tolerable packet loss ratio is 10%, the first 85% (i.e., the first set of data packets, where 85% here is only an example and can also be other values such as 80%) of the data packets can be set as the first priority, and then the data packets of the second priority are determined according to the importance of the remaining 15% of the data packets. For example, 10% of the data packets are determined from the remaining 15% of the data packets as the data packets of the second priority in ascending order of importance, and the remaining 5% of the data packets are still set as the data packets of the first priority. In addition to ensuring that high-priority data packets are valid data packets and low-priority data packets are redundant data packets as much as possible, the technical solution of this embodiment can also determine the priorities of data packets according to the importance of the data packets.
[0065] Referring to Figure 5B As shown, assume that all the multiple data packets matching the service data stream granularity are real payloads, and after losing some data packets, they can be recovered by interpolation or fitting, or losing some data packets does not affect the use of the data receiving party. Then, it is also possible to set the first set of data packets arranged in the front in the transmission order among the multiple data packets as the first priority, and determine the data packets of the second priority from the other data packets according to the importance of the other data packets except the first set of data packets among the multiple data packets; wherein, the first priority is higher than the second priority, and the first set of data packets is less than or equal to the difference between 1 and the tolerable packet loss ratio.
[0066] In some alternative embodiments, the priority of data packets included in a service data flow may be determined according to the latency requirement of the service data flow. Specifically, for example, data packets that meet the latency requirement in the service data flow may be regarded as high-priority data packets, and data packets that do not meet the latency requirement in the service data flow may be regarded as low-priority data packets. Optionally, the latency requirement of the service data flow may be PSDB.
[0067] In some alternative embodiments, the priority of data packets included in a service data flow may be determined according to the tolerable packet loss ratio and the latency requirement of the service data flow. Specifically, for example, according to the service data flow granularity targeted by the tolerable packet loss ratio, the transmission processes of multiple data packets matching the service data flow granularity are detected; if the transmission latency of the multiple data packets can meet the latency requirement, the priority of the data packets included in the service data flow is determined according to the tolerable packet loss ratio; if the transmission latency of the multiple data packets cannot meet the latency requirement, the target data packets that cannot meet the latency requirement among the multiple data packets are set as the second priority, or the third set ratio of the target data packets that cannot meet the latency requirement and are arranged at the back in the transmission order among the multiple data packets are set as the second priority; wherein, other data packets among the multiple data packets except the target data packets are the first priority, and the first priority is higher than the second priority, and the third set ratio is the tolerable packet loss ratio.
[0068] Optionally, if the transmission latency of multiple data packets matching the service data flow granularity can meet the latency requirement, the process of determining the priority of the data packets included in the service data flow according to the tolerable packet loss ratio may refer to the technical solution of determining the priority of the data packets included in the service data flow according to the tolerable packet loss ratio introduced in the foregoing embodiments.
[0069] In some alternative embodiments, the priority of data packets included in a service data flow may also be determined by receiving indication information from a core network element. For example, the AF may send data packet priority indication information to the PCF. For example, the AF may directly send the data packet priority indication information to the PCF, or the AF may first send the data packet priority indication information to the NEF, and then the NEF forwards it to the PCF. After receiving the data packet priority indication information sent by the AF, the PCF may generate corresponding policy information, such as a PCC rule, and then configure the PCC rule to the SMF, and then the SMF configures it to the base station and the user equipment to implement the indication of the data packet priority information. Another example is that the AS may send data packet priority indication information to the UPF, and then the UPF sends the data packet priority indication information to access network elements, such as the base station and the user equipment. Or, the priority of the data packets may also be determined by receiving data packet priority indication information sent by other network elements.
[0070] Continue to refer to Figure 4 As shown, in S430, transmission control is performed on the service data flow according to the tolerable packet loss ratio and the priority of the data packet.
[0071] In some alternative embodiments, the process of performing transmission control on the service data flow according to the tolerable packet loss ratio and the priority of the data packet may be to transmit the data packets included in the service data flow in the order of decreasing priority of the data packets, and perform packet loss control based on the usage status of the transmission resources and the tolerable packet loss ratio. For example, if the transmission resources allocated for the service data flow are sufficient, then all the data packets included in the service data flow can be transmitted as much as possible; if the transmission resources allocated for the service data flow are insufficient, then it is possible to ensure that the high-priority data packets are transmitted as much as possible, and the low-priority data packets can be appropriately discarded.
[0072] In a specific application scenario, if the priority of the data packet includes a first priority and a second priority, and the first priority is higher than the second priority, then the data packets of the first priority can be preferentially transmitted based on the allocated transmission resources, and after transmitting the data packets of the first priority, the remaining transmission resources are used to transmit the data packets of the second priority; if the remaining transmission resources cannot completely transmit the data packets of the second priority, then the data packets of the second priority can be discarded according to the tolerable packet loss ratio. For example, if there are still data packets of the second priority not transmitted after the remaining transmission resources are used up, then these data packets can be discarded; if the remaining transmission resources can completely transmit the data packets of the second priority, then the data packets of the second priority can be all transmitted to the data receiver.
[0073] Figure 6 The flowchart of the data transmission method according to an embodiment of the present application is shown. This data transmission method can be executed by the AF or the AS. Refer to Figure 6 As shown, this data transmission method at least includes S610 to S620, which are introduced in detail as follows:
[0074] In S610, the tolerable packet loss ratio of the service data flow is obtained, and the tolerable packet loss ratio is used to represent the maximum tolerable packet loss ratio in the service data flow.
[0075] In some alternative embodiments, the AF or the AS can analyze the application layer service to determine the tolerable packet loss ratio of the service data flow. Among them, the tolerable packet loss ratio of the service data flow is used to represent the maximum tolerable packet loss ratio in the service data flow. For example, it can be the maximum ratio of the data packets that can be discarded on the premise of ensuring that the data receiver can normally decode the other data packets in the service data flow.
[0076] In some alternative embodiments, the tolerable packet loss ratio of the service data stream can be determined according to the forward error correction configuration parameters of the service data stream. For example, since the service data stream uses forward error correction, a packet loss of 10% can be tolerated. In this case, the tolerable packet loss ratio of the service data stream can be 10%.
[0077] In some alternative embodiments, the tolerable packet loss ratio of the service data stream can be determined according to the attribute parameters of the service data stream. For example, it can be determined according to one or more of the frame rate and resolution of the service data stream. Specifically, if the settings of the frame rate or resolution of the service data stream enable recovery through interpolation or fitting even when frames are lost, it indicates that some data packets can be tolerated to be discarded, and the tolerable packet loss ratio can be set accordingly.
[0078] In some alternative embodiments, the tolerable packet loss ratio of the service data stream can also be associated with the delay requirement of the service data stream. For example, after exceeding the delay requirement of the service data stream, even if the data packets in the service data stream are transmitted to the receiver, they may not be of much significance. Therefore, a larger tolerable packet loss ratio can be set after the delay of the service data stream exceeds the delay requirement. Optionally, the delay requirement of the service data stream can be PSDB (PDU setDelay Budget).
[0079] In some alternative embodiments, the tolerable packet loss ratio of the service data stream can also be determined according to two or all of the forward error correction configuration parameters, the attribute parameters, and the delay requirement of the service data stream.
[0080] In S620, the tolerable packet loss ratio is sent to the access network element so that the access network element performs transmission control on the service data stream according to the tolerable packet loss ratio.
[0081] In some alternative embodiments, when sending the tolerable packet loss ratio to the access network element, indication information can be generated. The indication information includes the tolerable packet loss ratio and the granularity of the service data stream to which the tolerable packet loss ratio applies, and then the indication information is sent to the access network element. Among them, the granularity of the service data stream can be the granularity represented by the PDU session, the granularity represented by the QoS flow in the PDU session, or the granularity represented by the PDU set. Correspondingly, the multiple data packets matching the granularity of the service data stream can be the data packets included in the PDU session, the data packets included in the QoS flow in the PDU session, or the data packets in the PDU set.
[0082] In some alternative embodiments, the indication information may further include at least one of the following: identification information indicating that the tolerable packet loss ratio is determined by the forward error correction configuration parameter, delay requirement information associated with the tolerable packet loss ratio, and importance information associated with the tolerable packet loss ratio; wherein, the delay requirement information associated with the tolerable packet loss ratio is used to represent the delay requirement applicable to the tolerable packet loss ratio; and the importance information associated with the tolerable packet loss ratio is used to represent the importance of the data packet targeted by the tolerable packet loss ratio.
[0083] In some alternative embodiments, if Figure 6 the data transmission method shown is executed by the AF, then the AF may send the indication information to the core network element, so that the core network element configures the indication information to the access network element. For example, the AF may send the indication information including the tolerable packet loss ratio to the PCF. For example, the AF may directly send the indication information to the PCF, or the AF may first send the indication information to the NEF, and then the NEF forwards it to the PCF. After receiving the indication information sent by the AF, the PCF may generate corresponding policy information, such as a PCC rule, and then configure the PCC rule to the SMF, and further configure it to the base station, user equipment, and UPF by the SMF.
[0084] In some alternative embodiments, if Figure 6 the data transmission method shown is executed by the AS, then the AS may send the indication information to the UPF, and then the UPF sends the indication information to the access network elements, such as the base station and the user equipment.
[0085] It should be noted that the process of the access network element performing transmission control on the service data flow according to the tolerable packet loss ratio may refer to the technical solutions of the foregoing Figure 3 or Figure 4 illustrated embodiments.
[0086] In summary, the technical solution of the embodiment of the present application is mainly to address the problems of congestion, packet loss, and radio air interface resource competition, which can enable the media application layer to indicate the tolerable packet loss ratio obtained due to FEC or other packet loss resistance capabilities to the network layer, and then the network layer processes the PDU set data packets. For example, when the network is congested or the radio link resources are tense, the PDU set exceeding the tolerable packet loss ratio can be screened with a low priority, and the data packets determined to have a low priority can be transmitted only using the remaining radio resources, or can be discarded if there are no radio resources available.
[0087] Specifically, in an embodiment of the present application, the tolerable packet loss ratio obtained by the media application layer may be obtained according to the application layer FEC, and the application layer FEC may be determined according to the coding method adopted by the service flow data and the characteristics related to the service data content. For example, for a certain PDU set or some PDU sets in a QoS flow, since the application layer FEC is used, 1 / 10 of the data packets can be tolerated to be lost, then the tolerable packet loss ratio can be determined to be 10%. Optionally, this ratio depends on the algorithm redundancy of the application layer FEC. Since the network layer does not need to perform FEC-related processing, but only needs to process the PDUs in the PDU set, the network layer does not need to directly obtain the relevant configuration parameters of FEC, but only needs to know the tolerable packet loss rate supported by FEC.
[0088] In some alternative embodiments, the tolerable packet loss ratio may change according to characteristics such as frame rate and resolution, and the media application layer may update the network layer when necessary.
[0089] In some alternative embodiments, FEC is not the only reason for tolerating packet loss, so the tolerable packet loss ratio does not need to be limited to FEC when set. That is, in addition to the FEC mechanism, the media application layer itself can also recover and decode at the receiving end by means of interpolation, fitting, etc. according to parameter characteristics such as frame rate and resolution. Therefore, even without using FEC, the media application layer itself may have a certain degree of packet loss tolerance. Therefore, the tolerable packet loss ratio indicated by the media application layer to the network layer can also be independent of FEC, but dependent on parameters such as the frame rate and resolution of the data packets.
[0090] In some alternative embodiments, for real-time interactive services, even if the data with excessive transmission delay is decoded and recovered, the user experience is still not good. Therefore, the tolerable packet loss ratio indicated by the media application layer to the network layer can also be associated with the delay characteristics. For example, the media application layer may indicate the tolerable packet loss ratio that can be allowed after exceeding a certain delay constraint (such as PSDB). In this case, the tolerable packet loss ratio of the data packets exceeding PSDB indicated by the media application layer will be very high, such as all discarded. For example, for cloud gaming services, if the delay constraint is exceeded, then even if the data is transmitted to the data receiver, it is meaningless. Therefore, the tolerable packet loss ratio can be set higher, that is, more data packets are discarded. On the contrary, for services such as email that have less strict requirements for delay, even if the delay constraint is exceeded, it is still meaningful for the data receiver to receive the data packets. In this case, the tolerable packet loss ratio can be set lower.
[0091] In one embodiment of the present application, after obtaining the tolerable packet loss ratio according to the application layer FEC or other packet loss resistance capabilities, the media application layer may indicate the tolerable packet loss ratio to the network layer.
[0092] Optionally, the indication information for the media application layer to indicate the tolerable packet loss ratio to the network layer may include indications for specific granularities, and the specific granularities include but are not limited to PDU sessions, QoS flows, PDU sets in QoS flows, etc. As shown in Table 1 below, the indication information may include the tolerable packet loss ratios corresponding to different granularity indices.
[0093] Granularity Index Tolerable Packet Loss Ratio PDU Session a X% PDU Session b, Qos flow 1 Y1% PDU Session b, Qos flow 2 Y2% PDU Session c, Qos flow 1, PDU set M Z1% PDU Session c, Qos flow 1, PDU set N Z2%
[0094] Table 1
[0095] Meanwhile, the tolerable packet loss ratio indicated by this indication information may not be limited to the indication associated with the application layer FEC. For example, it may also be associated with delay constraints, importance, etc.
[0096] In some alternative embodiments, when the media application layer makes an indication to the network layer, it may be in the form of the control plane. For example, the AF may provide information such as the tolerable packet loss ratio to the NEF / PCF through the capability open interface, and then the PCF generates a PCC rule based on this information and configures the PCC rule to the access network elements in the 5G / 5G-A / 6G network, such as base stations or user equipment.
[0097] In some alternative embodiments, when the media application layer makes an indication to the network layer, it may also be in the form of the user plane. For example, the AS may send information such as the tolerable packet loss ratio to the base station or user equipment through the interface with the PSA UPF.
[0098] In some alternative embodiments, the indication may also be carried out in the way between the media application layer and the network protocol layer, and this way is also suitable for the case of uplink PDU set processing, that is, the interaction between protocol layers is completed inside the UE.
[0099] In one embodiment of the present application, after obtaining the tolerable packet loss ratio, the radio access network side may perform priority screening on data packets with different granularities, and then perform corresponding processing in combination with the priorities of the data packets.
[0100] In some alternative embodiments, the radio access network side may perform priority screening on data packets in combination with the tolerable packet loss ratio.
[0101] Specifically, if the granularity of the tolerable packet loss ratio is per PDU session, then the data packets of the entire PDU session, including the QoS flows in the PDU session and the PDU sets in the QoS flows, all apply this tolerable packet loss ratio. For example, a part of the data packets arranged at the end in the PDU session (the proportion of these data packets is equal to this tolerable packet loss ratio) can be set to a low priority, and when data is transmitted, the high-priority data packets are preferentially transmitted.
[0102] In some alternative embodiments, it is also possible to select unimportant data packets as low-priority data packets near the range approaching the tolerable packet loss ratio. For example, if the tolerable packet loss ratio is 10%, then the first 85% of the data packets in the PDU session (85% here is only an example, and it can also be other values such as 80%) can be set to a high priority, and then the low-priority data packets are determined according to the importance of the remaining 15% of the data packets. For example, 10% of the data packets are determined as low-priority data packets from the remaining 15% of the data packets in the order of increasing importance, and the remaining 5% of the data packets are still set as high-priority data packets.
[0103] If the granularity of the tolerable packet loss ratio is per QoS flow, then the data packets in the entire QoS flow, including the data packets in the PDU set, all apply this tolerable packet loss ratio. For example, a part of the data packets arranged at the end in the QoS flow (the proportion of these data packets is equal to this tolerable packet loss ratio) can be set to a low priority, and when data is transmitted, the high-priority data packets are preferentially transmitted.
[0104] In some alternative embodiments, it is also possible to select unimportant data packets as low-priority data packets near the range approaching the tolerable packet loss ratio. For example, if the tolerable packet loss ratio is 10%, then the first 85% of the data packets in the QoS flow (85% here is only an example, and it can also be other values such as 80%) can be set to a high priority, and then the low-priority data packets are determined according to the importance of the remaining 15% of the data packets. For example, 10% of the data packets are determined as low-priority data packets from the remaining 15% of the data packets in the order of increasing importance, and the remaining 5% of the data packets are still set as high-priority data packets.
[0105] If the granularity of the tolerable packet loss ratio is the PDU set, then the data packets in the entire PDU set apply this tolerable packet loss ratio. For example, a part of the data packets arranged at the end in the PDU set according to the transmission order (the proportion of these data packets is equal to this tolerable packet loss ratio) can be set to a low priority. When performing data transmission, the high-priority data packets are preferentially transmitted.
[0106] In some alternative embodiments, unimportant data packets can also be selected as low-priority data packets near the range close to reaching the tolerable packet loss ratio. For example, if the tolerable packet loss ratio is 10%, then the first 85% (85% here is only an example, and it can also be other values such as 80%) of the data packets in the PDU set can be set to a high priority, and then the low-priority data packets are determined according to the importance of the remaining 15% of the data packets. For example, 10% of the data packets are determined as low-priority data packets in ascending order of importance from the remaining 15% of the data packets, and the remaining 5% of the data packets are still set to a high priority.
[0107] In some alternative embodiments, the screening of low-priority data packets can be combined with constraint conditions such as delay in addition to the tolerable packet loss ratio. For example, when the PSDB has not been exceeded, the screening can be performed according to the above method; if the PSDB has been exceeded or is about to be exceeded, the delay factor can be added as a screening factor for low-priority data packets. For example, the PDU that exceeds the tolerable packet loss ratio and is most likely to exceed the PSDB will be used as the PDU with the lowest priority.
[0108] In some alternative embodiments, the network side and the user equipment can combine the priority of the data packets and perform transmission or discard according to the radio resource status. Among them, the discard operation can be performed by the base station in the downlink and by the user equipment in the uplink; regardless of uplink or downlink, the base station can control the transmission and discard process through RRC (Radio Resource Control) or MAC (Media Access Control) signaling.
[0109] The following refers to Figure 7 As shown below, a specific example is used to elaborate in detail on the technical solution of the embodiment of the present application, which specifically includes the following steps:
[0110] S701, after the PDU session is established, the AF performs signaling interaction with the 5GS (5G system) to indicate the tolerable packet loss ratios of different granularities. For example, it indicates the tolerable packet loss ratios of per PDU session, per QoS flow, and PDU set.
[0111] S702. According to the AF indication, the PCF generates corresponding PCC rules.
[0112] S703. The 5GC configures the tolerable packet loss ratio to the UPF, the base station, and the UE through the SMF.
[0113] S704. PDU set identification and marking (processed in combination with the tolerable packet loss ratio). For example, according to the granularity targeted by the tolerable packet loss ratio, different PDU sets can be identified and marked.
[0114] S705. PDU set data packet processing (processed in combination with the tolerable packet loss ratio). For example, the priority of data packets can be determined in combination with the tolerable packet loss ratio, and the data packets can be transmitted and discarded according to the radio resources, etc.
[0115] The technical solution of the above embodiments of the present application enables the transmission control of data packets with different priorities based on the tolerable packet loss ratio, and further determines whether to discard a certain number of low-priority data packets in combination with the actual network status (such as resource usage, etc.), improving the flexibility of data packet processing during the transmission of service data streams. In the case of congestion and scarce radio resources, it can better cope with the challenges of high bandwidth, low latency, and strong interactivity to wireless network transmission.
[0116] The following introduces the device embodiments of the present application, which can be used to execute the data transmission method in the above embodiments of the present application. For the details not disclosed in the device embodiments of the present application, please refer to the embodiments of the above data transmission method of the present application.
[0117] Figure 8 The block diagram of a data transmission device according to an embodiment of the present application is shown. The data transmission device can be applied to a data transmission party, which can be an access network element, such as a base station or a user equipment, etc.
[0118] Refer to Figure 8 As shown, a data transmission device 800 according to an embodiment of the present application includes: an acquisition unit 802 and a processing unit 804.
[0119] Among them, the acquisition unit 802 is configured to acquire the tolerable packet loss ratio of the service data stream, and the tolerable packet loss ratio is used to represent the maximum tolerable packet loss ratio in the service data stream; the processing unit 804 is configured to perform transmission control on the service data stream according to the tolerable packet loss ratio.
[0120] In some embodiments of the present application, based on the foregoing solution, the data transmission device further includes: a determination unit configured to determine the priority of the data packets included in the service data stream; and the processing unit 804 is configured to: perform transmission control on the service data stream according to the tolerable packet loss ratio and the priority of the data packets.
[0121] In some embodiments of the present application, based on the foregoing solution, the determination unit is configured to: determine the priority of the data packets included in the service data stream according to the tolerable packet loss ratio; or
[0122] determine the priority of the data packets included in the service data stream according to the latency requirement of the service data stream; or
[0123] determine the priority of the data packets included in the service data stream according to the tolerable packet loss ratio and the latency requirement of the service data stream; or
[0124] receive the priority of the data packets included in the service data stream indicated by the core network element.
[0125] In some embodiments of the present application, based on the foregoing solution, the determination unit is configured to: detect the transmission process of a plurality of data packets matching the service data stream granularity according to the service data stream granularity targeted by the tolerable packet loss ratio; set the first set ratio of the data packets arranged in the front in the transmission order among the plurality of data packets as the first priority, and set the other data packets except the first set ratio of data packets among the plurality of data packets as the second priority, the first priority being higher than the second priority; wherein, the sum of the first set ratio and the tolerable packet loss ratio is 1.
[0126] In some embodiments of the present application, based on the foregoing solution, the determination unit is configured to: detect the transmission process of a plurality of data packets matching the service data stream granularity according to the service data stream granularity targeted by the tolerable packet loss ratio; set the second set ratio of the data packets arranged in the front in the transmission order among the plurality of data packets as the first priority; determine the data packets with the second priority from the other data packets according to the importance of the other data packets except the second set ratio of data packets among the plurality of data packets, the first priority being higher than the second priority; wherein, the second set ratio is less than or equal to the difference between 1 and the tolerable packet loss ratio.
[0127] In some embodiments of the present application, based on the foregoing solution, the determining unit is configured to: detect the transmission process of a plurality of data packets matching the service data flow granularity according to the service data flow granularity targeted by the tolerable packet loss ratio; if the transmission delays of the plurality of data packets can meet the delay requirement, determine the priorities of the data packets included in the service data flow according to the tolerable packet loss ratio; if the transmission delays of the plurality of data packets cannot meet the delay requirement, set the target data packets that cannot meet the delay requirement among the plurality of data packets to the second priority, or set the third set ratio of the target data packets that cannot meet the delay requirement and are arranged at the back in the transmission order among the plurality of data packets to the second priority; wherein, other data packets except the target data packets among the plurality of data packets are the first priority, the first priority is higher than the second priority, and the third set ratio is the tolerable packet loss ratio.
[0128] In some embodiments of the present application, based on the foregoing solution, the processing unit 804 is configured to: transmit the data packets included in the service data flow in the order of decreasing priority of the data packets, and perform packet loss control based on the usage status of the transmission resources and the tolerable packet loss ratio.
[0129] In some embodiments of the present application, based on the foregoing solution, the priorities of the data packets include a first priority and a second priority, and the first priority is higher than the second priority; the processing unit 804 is configured to: preferentially transmit the data packets with the first priority based on the allocated transmission resources, and after transmitting the data packets with the first priority, use the remaining transmission resources to transmit the data packets with the second priority; if the remaining transmission resources cannot completely transmit the data packets with the second priority, perform a discard process on the data packets with the second priority according to the tolerable packet loss ratio.
[0130] In some embodiments of the present application, based on the foregoing solution, the obtaining unit 802 is configured to: obtain the tolerable packet loss ratio configured by the core network element, where the tolerable packet loss ratio configured by the core network element is sent by the application function network element to the core network element; or
[0131] obtain the tolerable packet loss ratio sent by the user plane function network element, where the tolerable packet loss ratio sent by the user plane function network element is sent by the application server to the user plane function network element; or
[0132] obtain the transmission resources allocated for the service data flow, and obtain the tolerable packet loss ratio corresponding to the transmission resources according to the mapping relationship between the transmission resources and the packet loss ratio; or
[0133] Obtain the tolerable packet loss ratio determined by the application layer inside the terminal device.
[0134] In some embodiments of the present application, based on the foregoing solution, the obtaining unit 802 is configured to: receive the policy control information configured by the policy control function network element through the session management function network element, and the tolerable packet loss ratio is included in the policy control information; wherein, the policy control information is generated by the policy control function network element according to the tolerable packet loss ratio sent by the application function network element.
[0135] Figure 9 The block diagram of a data transmission device according to an embodiment of the present application is shown, and the data transmission device can be applied to AF or AS.
[0136] Refer to Figure 9 As shown, a data transmission device 900 according to an embodiment of the present application includes: an obtaining unit 902 and a sending unit 904.
[0137] Wherein, the obtaining unit 902 is configured to obtain the tolerable packet loss ratio of the service data flow, and the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data flow; the sending unit 904 is configured to send the tolerable packet loss ratio to the access network element, so that the access network element performs transmission control on the service data flow according to the tolerable packet loss ratio.
[0138] In some embodiments of the present application, based on the foregoing solution, the obtaining unit 902 is configured to: determine the tolerable packet loss ratio of the service data flow according to at least one of the following parameters: the forward error correction configuration parameter of the service data flow, the attribute parameter of the service data flow, the delay requirement of the service data flow; wherein, the attribute parameter of the service data flow includes at least one of frame rate and resolution.
[0139] In some embodiments of the present application, based on the foregoing solution, the sending unit 904 is configured to: generate indication information, and the tolerable packet loss ratio and the service data flow granularity targeted by the tolerable packet loss ratio are included in the indication information; wherein, the service data flow granularity includes: data packets included in a protocol data unit PDU session, data packets included in a quality of service QoS flow in the PDU session, or data packets in a PDU set; send the indication information to the access network element.
[0140] In some embodiments of the present application, based on the foregoing solution, the sending unit 904 is configured to: if the data transmission device is applied to an application function network element, send the indication information to the core network element, so that the core network element configures the indication information to the access network element; if the data transmission device is applied to an application server, send the indication information to the user plane function network element, so that the user plane function network element sends the indication information to the access network element.
[0141] In some embodiments of the present application, based on the foregoing solution, the indication information further includes at least one of the following information: identification information for indicating that the tolerable packet loss ratio is determined by the forward error correction configuration parameter, delay requirement information associated with the tolerable packet loss ratio, importance information associated with the tolerable packet loss ratio; wherein, the delay requirement information associated with the tolerable packet loss ratio is used to represent the delay requirement applicable to the tolerable packet loss ratio; the importance information associated with the tolerable packet loss ratio is used to represent the importance of the data packet targeted by the tolerable packet loss ratio.
[0142] Figure 10 The structural schematic diagram of the computer system of the electronic device suitable for implementing the embodiments of the present application is shown, and the electronic device may be the access network element in the foregoing embodiments.
[0143] It should be noted that Figure 10 The computer system 1000 of the electronic device shown is only an example, and should not bring any limitation to the functions and usage scope of the embodiments of the present application.
[0144] As Figure 10 shown, the computer system 1000 may include a central processing unit (CPU) 1001, which may perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage section 1008 into the random access memory (RAM) 1003, such as executing the method described in the foregoing embodiments. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004. The input / output (I / O) interface 1005 is also connected to the bus 1004.
[0145] The following components can be connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as required. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 1010 as required so that a computer program read therefrom is installed into the storage section 1008 as required.
[0146] Specifically, according to an embodiment of the present application, the processes described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program is used to execute the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 1009, and / or installed from the removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present application are executed.
[0147] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a computer program, and this computer program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0148] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Among them, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and a computer program.
[0149] The units involved in the embodiments of this application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not, in some cases, constitute a limitation on the unit itself.
[0150] On the other hand, this application also provides a computer-readable medium, which can be included in the electronic device described in the above embodiments; or can exist separately without being assembled into the electronic device. The above computer-readable medium carries one or more computer programs, and when the above one or more computer programs are executed by an electronic device, the electronic device implements the method described in the above embodiments.
[0151] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0152] From the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented in software or in a manner combining software with necessary hardware. Therefore, the technical solution according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable an electronic device to execute the method according to the embodiments of this application.
[0153] For example, if the electronic device is an access network element, then the access network element can execute Figure 3 the data transmission method shown; again, if the electronic device is an AF or an AS, then the AF or the AS can execute Figure 6 the data transmission method shown.
[0154] After considering the specification and practicing the disclosed embodiments herein, those skilled in the art will readily conceive of other implementations of this application. This application is intended to cover any variations, uses, or adaptations of this application, which follow the general principles of this application and include known common knowledge or conventional technical means in the technical field not disclosed in this application.
[0155] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A data transmission method, characterized in that, it includes: obtaining the tolerable packet loss ratio of the service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; performing transmission control on the service data stream according to the tolerable packet loss ratio.
2. The data transmission method according to claim 1, characterized in that, the data transmission method further includes: determining the priority of the data packets included in the service data stream; performing transmission control on the service data stream according to the tolerable packet loss ratio, including: performing transmission control on the service data stream according to the tolerable packet loss ratio and the priority of the data packets.
3. The data transmission method according to claim 2, characterized in that, determining the priority of the data packets included in the service data stream includes one of the following methods: determining the priority of the data packets included in the service data stream according to the tolerable packet loss ratio; determining the priority of the data packets included in the service data stream according to the delay requirement of the service data stream; determining the priority of the data packets included in the service data stream according to the tolerable packet loss ratio and the delay requirement of the service data stream; receiving the priority of the data packets included in the service data stream indicated by the core network element.
4. The data transmission method according to claim 3, characterized in that, determining the priority of the data packets included in the service data stream according to the tolerable packet loss ratio includes: detecting the transmission processes of multiple data packets matching the service data stream granularity according to the service data stream granularity targeted by the tolerable packet loss ratio; setting the first set ratio of data packets arranged in the front in the transmission order among the multiple data packets as the first priority, and setting the other data packets except the first set ratio of data packets among the multiple data packets as the second priority, where the first priority is higher than the second priority; wherein, the sum of the first set ratio and the tolerable packet loss ratio is 1.
5. The data transmission method according to claim 3, characterized in that, determining the priority of the data packets included in the service data stream according to the tolerable packet loss ratio includes: detecting the transmission processes of multiple data packets matching the service data stream granularity according to the service data stream granularity targeted by the tolerable packet loss ratio; setting the second set ratio of data packets arranged in the front in the transmission order among the multiple data packets as the first priority; determining the data packets with the second priority from the other data packets according to the importance of the other data packets except the second set ratio of data packets among the multiple data packets, where the first priority is higher than the second priority; wherein, the second set ratio is less than or equal to the difference between 1 and the tolerable packet loss ratio.
6. The data transmission method according to claim 3, characterized in that, determining the priority of the data packets included in the service data stream according to the tolerable packet loss ratio and the delay requirement of the service data stream includes: Detect the transmission process of multiple data packets matching the service data flow granularity according to the service data flow granularity targeted by the tolerable packet loss ratio; If the transmission delays of the multiple data packets can meet the delay requirement, determine the priorities of the data packets included in the service data flow according to the tolerable packet loss ratio; If the transmission delays of the multiple data packets cannot meet the delay requirement, set the target data packets that cannot meet the delay requirement among the multiple data packets to the second priority, or set the third set ratio of target data packets that cannot meet the delay requirement and are arranged at the back in the transmission order among the multiple data packets to the second priority; Wherein, other data packets except the target data packets among the multiple data packets are the first priority, the first priority is higher than the second priority, and the third set ratio is the tolerable packet loss ratio.
7. The data transmission method according to claim 2, characterized in that performing transmission control on the service data flow according to the tolerable packet loss ratio and the priority of the data packet, including: transmitting the data packets included in the service data flow in the order of decreasing priority of the data packets, and performing packet loss control based on the usage status of the transmission resources and the tolerable packet loss ratio.
8. The data transmission method according to claim 7, characterized in that the priorities of the data packets include a first priority and a second priority, and the first priority is higher than the second priority; transmitting the data packets included in the service data flow in the order of decreasing priority of the data packets, and performing packet loss control based on the available status of the transmission resources and the tolerable packet loss ratio, including: transmitting the data packets with the first priority preferentially based on the allocated transmission resources, and after transmitting the data packets with the first priority, using the remaining transmission resources to transmit the data packets with the second priority; If the remaining transmission resources cannot completely transmit the data packets with the second priority, perform discard processing on the data packets with the second priority according to the tolerable packet loss ratio.
9. The data transmission method according to any one of claims 1 to 8, characterized in that obtaining the tolerable packet loss ratio of the service data flow includes: obtaining the tolerable packet loss ratio configured by the core network element, where the tolerable packet loss ratio configured by the core network element is sent by the application function network element to the core network element; or obtaining the tolerable packet loss ratio sent by the user plane function network element, where the tolerable packet loss ratio sent by the user plane function network element is sent by the application server to the user plane function network element; or obtaining the allocated transmission resources for the service data flow, and obtaining the tolerable packet loss ratio corresponding to the transmission resources according to the mapping relationship between the transmission resources and the packet loss ratio; or obtaining the tolerable packet loss ratio determined by the application layer inside the terminal device.
10. The data transmission method according to claim 9, characterized in that obtaining the tolerable packet loss ratio configured by the core network element includes: The policy control function network element receives the policy control information configured by the session management function network element, and the policy control information includes the tolerable packet loss ratio; Among them, the policy control information is generated by the policy control function network element according to the tolerable packet loss ratio sent by the application function network element.
11. A data transmission method, Characterized in that, It includes: Obtain the tolerable packet loss ratio of the service data stream, and the tolerable packet loss ratio is used to represent the maximum tolerable packet loss ratio in the service data stream; Send the tolerable packet loss ratio to the access network element, so that the access network element performs transmission control on the service data stream according to the tolerable packet loss ratio.
12. The data transmission method according to claim 11, Characterized in that, Obtaining the tolerable packet loss ratio of the service data stream includes: Determine the tolerable packet loss ratio of the service data stream according to at least one of the following parameters: the forward error correction configuration parameter of the service data stream, the attribute parameter of the service data stream, and the delay requirement of the service data stream; Among them, the attribute parameters of the service data stream include at least one of frame rate and resolution.
13. The data transmission method according to claim 11, Characterized in that, Sending the tolerable packet loss ratio to the access network element includes: Generate indication information, which includes the tolerable packet loss ratio and the service data stream granularity targeted by the tolerable packet loss ratio; among them, the service data stream granularity includes: the data packets included in the protocol data unit PDU session, the data packets included in the quality of service QoS flow in the PDU session, or the data packets in the PDU set; Send the indication information to the access network element.
14. The data transmission method according to claim 13, Characterized in that, Sending the indication information to the access network element includes: If the data transmission method is executed by the application function network element, send the indication information to the core network element, so that the core network element configures the indication information to the access network element; If the data transmission method is executed by the application server, send the indication information to the user plane function network element, so that the user plane function network element sends the indication information to the access network element.
15. The data transmission method according to claim 13, Characterized in that, The indication information further includes at least one of the following information: identification information for indicating that the tolerable packet loss ratio is determined by the forward error correction configuration parameter, delay requirement information associated with the tolerable packet loss ratio, and importance information associated with the tolerable packet loss ratio; Among them, the delay requirement information associated with the tolerable packet loss ratio is used to represent the delay requirement applicable to the tolerable packet loss ratio; the importance information associated with the tolerable packet loss ratio is used to represent the importance of the data packets targeted by the tolerable packet loss ratio.
16. A data transmission device, Characterized in that, It includes: An acquisition unit, configured to acquire the tolerable packet loss ratio of the service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; A processing unit, configured to perform transmission control on the service data stream according to the tolerable packet loss ratio.
17. A data transmission device, characterized in that, it includes: An acquisition unit, configured to acquire the tolerable packet loss ratio of the service data stream, where the tolerable packet loss ratio is used to represent the maximum allowable packet loss ratio in the service data stream; A sending unit, configured to send the tolerable packet loss ratio to an access network element, so that the access network element performs transmission control on the service data stream according to the tolerable packet loss ratio.
18. A computer-readable medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it implements the data transmission method according to any one of claims 1 to 15.
19. An electronic device, characterized in that, it includes: One or more processors; A memory, configured to store one or more computer programs, and when the one or more computer programs are executed by the one or more processors, the electronic device implements the data transmission method according to any one of claims 1 to 15.