Communication method and device

By receiving and analyzing link status information, dynamically adjusting transmission strategies and optimizing PDU Set transmission, it solves the problem of data transmission congestion in business scenarios such as virtual reality, and improves transmission efficiency and user experience.

WO2024222254A1PCT designated stage expired Publication Date: 2024-10-31HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/081290
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-28
Filing Date
2024-03-13
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In business scenarios such as virtual reality and augmented reality, when the first user equipment communicates with the data network through the second user equipment relay, the data transmission is easily limited by the link status, leading to problems such as congestion, low transmission rate, and high delay. , affecting user experience.

Method used

By receiving link status information, it dynamically adjusts the transmission strategy, optimizes the transmission of PDU Sets, ensures that data with high importance is transmitted first, discards or transmits low-priority data reasonably, and adjusts transmission parameters according to the link status to optimize data transmission.

Benefits of technology

It effectively reduces the impact of data transmission, improves the overall transmission rate and delay, and ensures user experience. Especially when the link is unfavorable, it can ensure the transmission of important data and improve system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081290_31102024_PF_FP_ABST
    Figure CN2024081290_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a communication method and a device. The method is applied to an access network device. The access network device is located in a data network, and a first UE communicates with the data network by means of a second UE. In response to receiving a first data packet in downlink transmission, the access network device obtains first data and second data from the first data packet; and then according to first processing, the access network device sends at least one of the first data or the second data to the second UE, the first processing being associated with a first link state and a second link state. The first link is a communication link between the first UE and the second UE, and the second link is a communication link between the second UE and the access network device. In the present application, in a scenario wherein the first UE communicates with the data network by using the second UE as a relay, data transmission is optimized, and the influence of an adverse situation on data transmission is alleviated or reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 24, 2023, with application number 202310472948.6, and invention title “A QoS control method and device”, and the Chinese patent application filed with the State Intellectual Property Office of China on July 28, 2023, with application number 202310947164.4, and invention title “A communication method and device”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of mobile communications, and in particular to a communication method and device. Background Art

[0003] Services such as virtual reality (VR), augmented reality (AR), extended reality (XR), and mixed reality (MR) have high requirements for data transmission speed, latency, and other aspects. To run virtual reality (VR), augmented reality (AR), extended reality (XR), and mixed reality (MR) services, users typically use a first user device (such as AR / VR glasses in wearable devices) and communicate with a data network through a second user device (such as a smartphone, tablet, or customer premises equipment (CPE)) acting as a relay device (i.e., the first user device is connected to the second user device, and the first user device communicates with the data network through the second user device).

[0004] In the above scenarios, data transmission may sometimes be affected by congestion, thereby affecting data transmission. Therefore, providing a communication method and device to optimize data transmission in such situations and mitigate or reduce the impact on data transmission is a technical problem that needs to be solved urgently.

[0005] Summary of the Invention

[0006] For ease of explanation, the communication link between a first user equipment (UE) and a second UE is referred to as the first link, and the communication link between the second UE and the access network device is referred to as the second link. The state of the first link is referred to as the first link state, and the state of the second link is referred to as the second link state. The requirements of the core network device (e.g., the session management function (SMF)) for the first link are referred to as the first parameter, and the requirements of the core network device for the second link are referred to as the second parameter. The first parameter or the second parameter can be obtained by the core network device SMF based on the requirements of the application function (AF) in the application server for the core network. The data transmitted on the first link is referred to as the first link data, and the data transmitted on the second link is referred to as the second link data. The transmission rate of the first link data on the first link is referred to as the first transmission rate, and the transmission rate of the second link data on the second link is referred to as the second transmission rate. The transmission delay of the first link data on the first link is referred to as the first delay, and the transmission delay of the second link data on the second link is referred to as the second delay. The first link state includes at least one of the first transmission rate and the first delay. The second link state includes at least one of the second transmission rate and the second delay.

[0007] Because the first link and the second link are different, the first link state and the second link state are also different. Accordingly, the first transmission rate, the second transmission rate, and so on are also different. As a result, the overall data transmission rate is affected by the lower of the first or second transmission rates. Similarly, the overall latency is also affected by the lower of the first or second latency. In other words, the difference between the first and second link states may result in a lower overall data transmission rate or a higher overall latency.

[0008] Traditionally, before data is transmitted on the second link, only the state of the second link is considered. Before data is transmitted on the first link, only the state of the first link is considered. Taking data transmission on the first link as an example, this results in the situation where data on the first link is transmitted to the second link at a first transmission rate, but may be limited by the state of the second link, resulting in a lower overall data transmission rate. Similarly, taking data transmission on the second link as an example, this results in the situation where data on the second link is transmitted to the first link at a second transmission rate, but may be limited by the state of the first link, resulting in a lower overall data transmission rate.

[0009] The situation regarding the overall delay is similar to the above and will not be repeated here.

[0010] Therefore, in scenarios where a first UE communicates with a data network via a second UE relay, data transmission may sometimes experience congestion, which can affect data transmission. Therefore, providing a communication method and device to optimize data transmission in such situations and mitigate or reduce the impact on data transmission is a technical problem that urgently needs to be addressed.

[0011] Optionally, in a scenario where the first UE communicates with the data network through a second UE relay, there may sometimes be multiple situations in data transmission (for example, data transmission is sometimes congested, and data transmission is sometimes not congested); how to provide a dynamically adjusted communication method and device that is compatible with multiple situations so that data transmission can be optimized is a technical problem that needs to be solved urgently.

[0012] Optionally, in a scenario where the first UE communicates with the data network through a second UE relay, when the overall data transmission rate is not high, or when the overall latency is high, etc., how to reduce the impact on data transmission and ensure user experience is a technical problem that needs to be solved urgently.

[0013] Optionally, in a scenario where the first UE communicates with the data network through a second UE relay, how to propose a communication method and device to reduce the impact on data transmission and ensure user experience during downlink transmission is a technical problem that needs to be solved urgently.

[0014] Optionally, in a scenario where the first UE communicates with the data network through a second UE relay, how to propose a communication method and device to reduce the impact on data transmission during uplink transmission and ensure user experience is a technical problem that needs to be solved urgently.

[0015] Optionally, in a scenario where a first UE communicates with a data network through a second UE relay, how to propose a communication method and device to facilitate control or management of data during data transmission, improve efficiency, and ensure user experience is a technical problem that needs to be solved urgently.

[0016] It should be noted that any two or more of the technical problems listed above can be freely combined, and the combined technical problems also belong to the technical problems to be solved by this application.

[0017] For example, in a scenario where a first UE communicates with a data network through a second UE relay, how to propose a communication method and device that is compatible with multiple scenarios during data transmission so that data transmission can be optimized; and how to reduce the impact on data transmission during downlink transmission and ensure user experience; this is also a technical problem that needs to be solved urgently.

[0018] In some embodiments, the first UE may be referred to as a remote user equipment (remote UE), the second UE may be referred to as a relay user equipment (relay UE), and the access network device may be referred to as a radio access network (RAN).

[0019] In order to solve at least one of the above technical problems, the present application proposes a communication method and device.

[0020] In a first aspect, a communication method is provided, applied to a first network device, where the first network device communicates with a second user equipment (UE), wherein the method includes:

[0021] receiving a first message, the first message including an identifier of a first quality of service flow QoS Flow and a first QoS parameter based on a protocol data unit set PDU Set;

[0022] The first network device determines that the second UE provides the first UE with a function of supporting connection to a data network;

[0023] According to the first link state and the second link state, the first processing based on the PDU set is performed on the first QoS flow, wherein the first link is the communication link between the first UE and the second UE, the second link is the communication link between the second UE and the first network device, the first QoS flow belongs to the first UE or the second UE, the first link state indicates the state of the first link, and the second link state indicates the state of the second link.

[0024] In this way, in the scenario where the first UE communicates with the data network through the second UE relay, the transmission of data in the second link can fully consider the link status of different links involved in subsequent transmission, thereby achieving optimization of transmission based on PDU Set.

[0025] According to the first aspect, before sending at least one of the first data or the second data to the second UE according to the first process, the method includes:

[0026] The first processing of the first data and the second data in second link transmission is determined, where the first processing is determined according to the first link state and the second link state.

[0027] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, before executing the first process, it is necessary to first determine the first process according to the first link state and the second link state, which is more scientific and reasonable.

[0028] According to the first aspect or any one of the implementation modes of the first aspect, the first QoS flow belongs to the second UE, including:

[0029] receiving first instruction information;

[0030] The second UE determines based on the first network device that it provides the first UE with a function of supporting connection to a data network.

[0031] According to the first aspect or any embodiment of the first aspect, the method further includes:

[0032] The first indication information is used to indicate:

[0033] The first QoS Flow is used for the second UE to transmit relay data, where the relay data includes data transmitted between the first UE and a data network through the second UE; or

[0034] The second UE provides the first UE with a function of supporting connection to the network through the first QoS flow.

[0035] According to the first aspect or any one embodiment of the first aspect,

[0036] The first indication information is first information sent from the second network device; or,

[0037] The first indication information is second information sent from the second UE.

[0038] According to the first aspect or any one embodiment of the first aspect, the method includes:

[0039] The second UE provides the first UE with a function of supporting connection to a data network through an L3 relay or a WiFi hotspot.

[0040] According to the first aspect or any one embodiment of the first aspect, the first QoS flow belongs to the first UE,

[0041] It is determined that the second UE provides the first UE with a function of supporting connection to a data network through an L2 relay.

[0042] According to the first aspect or any implementation manner of the first aspect, second indication information is received, where the second indication information is used to indicate:

[0043] When sending downlink data transmitted through the first QoS flow to the second UE, PDU Set information corresponding to the downlink data is sent to the second UE.

[0044] According to the first aspect or any one of the embodiments of the first aspect, the first network device determines to perform the first processing on the first QoS flow according to the first link state and the second link state, including:

[0045] receiving a first data packet for downlink transmission in the first QoS flow, and obtaining first data and second data from the first data packet;

[0046] According to the first process, at least one of the first data or the second data is sent to the second UE.

[0047] According to the first aspect or any implementation manner of the first aspect, before sending at least one of the first data or the second data to the second UE according to the first process, the method includes:

[0048] The first processing of the first data and the second data in second link transmission is determined, where the first processing is determined according to the first link state and the second link state.

[0049] According to the first aspect or any one embodiment of the first aspect:

[0050] When the first link state indicates a first state, the first processing indicates a first processing mode; or,

[0051] When the first link state indicates a second state, the first processing indicates a second processing mode.

[0052] The first state is different from the second state, and the first processing method is different from the second processing method.

[0053] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, dynamic adjustment can be made according to the first link state and the second link state, thereby achieving transmission optimization.

[0054] According to the first aspect or any one implementation manner of the first aspect, the first link status is acquired by the RAN from the second UE.

[0055] According to the first aspect or any implementation manner of the first aspect, the second link status is perceived by the RAN.

[0056] According to the first aspect or any implementation manner of the first aspect, before receiving a first data packet for downlink transmission, the method includes: acquiring the first link state from the second UE.

[0057] According to the first aspect or any implementation manner of the first aspect, after receiving a first data packet for downlink transmission, the method includes: acquiring the first link state from the second UE.

[0058] According to the first aspect or any implementation manner of the first aspect, before receiving a first data packet for downlink transmission, the method includes: the RAN sensing the second link status.

[0059] According to the first aspect or any implementation manner of the first aspect, after receiving a first data packet for downlink transmission, the method includes: the RAN sensing the second link status.

[0060] According to the first aspect or any embodiment of the first aspect, the first data includes a first protocol data unit set PDU Set and first PDU Set information, the second data includes a second PDU Set and second PDU Set information, the first PDU Set information indicates the characteristics of the first PDU Set, and the second PDU Set information indicates the characteristics of the second PDU Set.

[0061] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, it is more convenient to control or manage the data in the first link data transmission.

[0062] According to the first aspect or any one embodiment of the first aspect, according to the first link state and the second link state, including: according to the first link state, the second link state, the first PDU Set information and the second PDU Set information.

[0063] According to the first aspect or any one embodiment of the first aspect:

[0064] When the first link state indicates the first state, the first state is congested, and the first PDU Set is more important than the second PDU Set, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set.

[0065] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0066] It should be noted that the importance or priority levels described above can be relative. For example, the importance of the first data is at the first level, and the importance of the second data is at the second level, where the first level is higher than the second level (i.e., the first data is more important than the second data). For another example, the priority of the first data is at the first priority level, and the priority of the second data is at the second priority level, where the first priority is higher than the second priority (i.e., the first data takes precedence over the second data).

[0067] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, the transmission of highly important data can be guaranteed, thereby protecting the user experience.

[0068] Furthermore, in downlink transmission, after the transmission of the second link data and before the transmission of the first link data, consideration is given to how to ensure the transmission of highly important data, thereby ensuring user experience.

[0069] According to the first aspect or any one embodiment of the first aspect:

[0070] When the first link state indicates the first state, the first state is congested, and the first PDU Set takes precedence over the second PDU Set, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set.

[0071] The first PDU Set has priority over the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0072] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, when the overall data transmission rate is not high, the transmission of high-priority data can be guaranteed to ensure user experience.

[0073] It should be noted that the importance or priority levels described above can also be absolute. For example, the importance of the first data is at the first level, and the importance of the second data is at the second level, with the first level being high and the second level being low (i.e., the first data is more important than the second data). For another example, the priority of the first data is at the first priority level, and the priority of the second data is at the second priority level, with the first priority being high and the second priority being low (i.e., the first data has priority over the second data).

[0074] According to the first aspect or any one embodiment of the first aspect:

[0075] When the first link state indicates the first state, the first state is congested, and the first PDU Set is important and the second PDU Set is not important, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set.

[0076] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0077] According to the first aspect or any one embodiment of the first aspect:

[0078] When the first link state indicates the first state, the first state is congested, and the first PDU Set takes priority and the second PDU Set does not take priority, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set.

[0079] The first PDU Set priority is obtained based on the first PDU Set information, and the second PDU Set non-priority is obtained based on the second PDU Set information.

[0080] According to the first aspect or any one embodiment of the first aspect:

[0081] When the first link state indicates the first state, the first state is congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set is more important than the second PDU Set, the first processing method is to send the first PDU Set in the second link and discard the second PDU Set.

[0082] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0083] According to the first aspect or any one embodiment of the first aspect:

[0084] When the first link state indicates the first state, the first state is congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set is important and the second PDU Set is not important, the first processing method is to send the first PDU Set in the second link and discard the second PDU Set.

[0085] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0086] According to the first aspect or any one embodiment of the first aspect:

[0087] When the first link state indicates the first state, the first state is congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set takes precedence and the second PDU Set does not take precedence, the first processing method is to send the first PDU Set in the second link and discard the second PDU Set.

[0088] The first PDU Set priority is obtained based on the first PDU Set information, and the second PDU Set non-priority is obtained based on the second PDU Set information.

[0089] According to the first aspect or any one embodiment of the first aspect:

[0090] When the first link state indicates the first state, the first state is congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set is more important than the second PDU Set, the first processing method is to send the first PDU Set in the second link and discard the second PDU Set.

[0091] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0092] According to the first aspect or any one embodiment of the first aspect:

[0093] When the first link state indicates the first state, the first state is congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set takes precedence over the second PDU Set, the first processing method is to send the first PDU Set in the second link and discard the second PDU Set.

[0094] The first PDU Set has priority over the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0095] According to the first aspect or any one embodiment of the first aspect:

[0096] When the first link state indicates the second state, the second state is not congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set is more important than the second PDU Set, the first processing method is to send the first PDU Set and the second PDU Set in the second link.

[0097] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0098] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, both high-importance data and low-importance data can be transmitted under a high overall data transmission rate, thereby ensuring user experience.

[0099] According to the first aspect or any one embodiment of the first aspect:

[0100] When the first link state indicates the second state, the second state is not congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set takes precedence over the second PDU Set, the first processing method is to send the first PDU Set and the second PDU Set in the second link.

[0101] The first PDU Set has priority over the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0102] According to the first aspect or any one embodiment of the first aspect:

[0103] When the first link state indicates the second state, the second state is not congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set is important and the second PDU Set is not important, the first processing method is to send the first PDU Set and the second PDU Set in the second link.

[0104] The first PDU Set is important, and the second PDU Set is not important, which is obtained based on the first PDU Set information and the second PDU Set information.

[0105] According to the first aspect or any one embodiment of the first aspect:

[0106] When the first link state indicates the second state, the second state is not congested, the second link state indicates the second state, the second state is not congested, and the first PDU Set takes precedence and the second PDU Set does not take precedence, the first processing method is to send the first PDU Set and the second PDU Set in the second link.

[0107] The first PDU Set priority is obtained based on the first PDU Set information, and the second PDU Set non-priority is obtained based on the second PDU Set information.

[0108] According to the first aspect or any one embodiment of the first aspect:

[0109] When the first link state indicates the second state, the second state is non-congested, and the first PDU Set is more important than the second PDU Set, the second processing manner is to send the first PDU Set and the second PDU Set in the second link.

[0110] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0111] According to the first aspect or any one embodiment of the first aspect:

[0112] When the first link state indicates the second state, the second state is non-congested, and the first PDU Set takes precedence over the second PDU Set, the second processing manner is to send the first PDU Set and the second PDU Set in the second link.

[0113] The first PDU Set has priority over the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0114] According to the first aspect or any one embodiment of the first aspect:

[0115] When the first link state indicates the second state, the second state is non-congested, and the first PDU Set is important and the second PDU Set is not important, the second processing method is to send the first PDU Set and the second PDU Set in the second link.

[0116] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0117] According to the first aspect or any one embodiment of the first aspect:

[0118] When the first link state indicates the second state, the second state is non-congested, and the first PDU Set takes priority and the second PDU Set does not take priority, the second processing method is to send the first PDU Set and the second PDU Set in the second link.

[0119] The first PDU Set priority is obtained based on the first PDU Set information, and the second PDU Set non-priority is obtained based on the second PDU Set information.

[0120] According to the first aspect or any implementation manner of the first aspect, before receiving a first data packet for downlink transmission:

[0121] It is determined that after receiving the downlink data, protocol data unit set PDU Set information corresponding to the downlink data is sent to the second UE, where the PDU Set information indicates a feature of the corresponding PDU Set.

[0122] According to the first aspect or any implementation manner of the first aspect, before receiving a first data packet for downlink transmission:

[0123] A first message is received, where the first message includes first information and a first identifier; wherein the first message is received through a first interface, and the first identifier indicates a first quality of service flow QoS Flow;

[0124] In response to receiving the first message, the RAN determines, when receiving downlink data, how to process the downlink data in second link transmission according to the first link state and the second link state; or

[0125] In response to receiving the first message, the first information instructs the RAN to determine, when receiving downlink data through the first QoS Flow, how to process the downlink data in second-link transmission according to the first link state and the second link state; or

[0126] In response to receiving the first message, the first information indicates that the downlink data received by the RAN through the first QoS Flow is relay data, and the relay data is data to be transmitted by the second UE to the first UE.

[0127] Optionally, the first information is relay indication information.

[0128] According to the first aspect or any implementation manner of the first aspect, the first message includes a PDU Set quality of service (QoS) parameter; the PDU Set QoS parameter indicates requirements that data transmitted through the first QoS Flow must meet when transmitted from the RAN to the first UE.

[0129] According to the first aspect or any embodiment of the first aspect, the first PDU Set and the second PDU Set are both included in the data of the first downlink data transmitted through the first QoS Flow, and the first downlink data comes from the AF in the application server.

[0130] According to the first aspect or any implementation manner of the first aspect, before receiving a first data packet for downlink transmission, the method includes:

[0131] A second message is received, where the second message indicates establishing a first QoS Flow; wherein the second message is a message received through a second interface.

[0132] According to the first aspect or any embodiment of the first aspect, the first interface is an N2 interface, the second interface is an N1 interface, the first processing indicates a first QoS processing (QoS handling), and the first QoS processing is associated with the first QoS Flow.

[0133] According to the first aspect or any implementation manner of the first aspect, before receiving the first data packet for downlink transmission, the RAN learns that the second UE performs layer 2 (Layer 2, L2) relay for the first UE.

[0134] This covers the L2 relay scenario.

[0135] According to the first aspect or any one implementation manner of the first aspect, the RAN learns, through the first information, that the second UE performs layer 3 (Layer 3, L3) relay for the first UE.

[0136] Optionally, the first information is relay indication information.

[0137] This covers the L3 relay scenario.

[0138] According to the first aspect or any one embodiment of the first aspect,

[0139] The second UE is a relay UE, and the first UE is a remote UE; or,

[0140] The second UE is a hotspot UE, and the hotspot is a Wi-Fi hotspot.

[0141] According to the first aspect or any one embodiment of the first aspect, the first link is a link established based on a proximity service communication (Proximity Service Communication 5, PC5) interface; the second link is a link established based on a universal mobile telecommunications system terrestrial radio access network (UMTS Terrestrial Radio Access Network and the UE, Uu) interface.

[0142] According to the first aspect or any embodiment of the first aspect, the first link state indicates the relationship between the first network capability and the first network load, and the second link state indicates the relationship between the second network capability and the second network load, the first network capability is the maximum communication flow supported by the first network, the first network load is the load of the first network, the second network capability is the maximum communication flow supported by the second network, and the second network load is the load of the second network.

[0143] In a second aspect, a communication method is provided. The method is applied to a second user equipment (UE), the second UE communicating with a first UE, and the first UE communicating with a data network via the second UE, wherein the method comprises:

[0144] Obtain a first parameter, where the first parameter indicates a QoS control parameter of a first quality of service flow QoS Flow based on a protocol data unit set PDU Set, where the first QoS Flow is a QoS Flow used for communication between the first UE and the second UE;

[0145] A second process based on the PDU set is performed on the first quality of service flow QoS Flow.

[0146] In this way, in the scenario where the first UE communicates with the data network through the second UE relay, the transmission between the first UE and the second UE (hereinafter referred to as the first link) can achieve the network's transmission requirements, thereby optimizing the overall transmission.

[0147] According to the second aspect, before sending at least one of the first data or the second data to the first UE according to the second process:

[0148] The second processing of the third data and the fourth data in the first link transmission is determined, where the second processing is determined according to the first parameter.

[0149] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, before executing the second process, it is necessary to first determine the second process according to the first parameter, which is more scientific and reasonable.

[0150] According to the second aspect or any one embodiment of the second aspect,

[0151] The first parameter is obtained by the second UE from a second core network device; or,

[0152] The first parameter is obtained by the second UE according to the second parameter, and the second parameter is obtained by the second UE from the second core network device.

[0153] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, two possible implementation methods are provided: direct acquisition of the first parameter or indirect acquisition of the first parameter.

[0154] According to the second aspect or any embodiment of the second aspect, the first parameter includes but is not limited to at least one of the following parameters:

[0155] A PC5 PDU Set Delay Budget (PC5-PSDB), used to set the transmission delay of any PDU Set between the first UE and the second UE to be less than or equal to a first preset delay;

[0156] PC5 Protocol Data Unit Set Error Rate (PC5-PSER), used to set the ratio of the number of PDU Sets that have been processed by the second UE but not successfully processed by the first UE, including a first preset error rate that a first ratio must be less than or equal to, the first ratio being the ratio of the number of first PDU Sets to the number of second PDU Sets, the first PDU Set number being the number of PDU Sets that have been sent by the second UE but not successfully received by the first UE, and the second PDU Set number being the number of PDU Sets that have been sent by the second UE; or

[0157] PC5 PDU Set Integrated Handling Information (PC5-PSIHI) is used to set whether the first UE needs all PDUs in the PDU Set for subsequent processing, including decoding or direct use.

[0158] According to the second aspect or any embodiment of the second aspect, the method further includes:

[0159] Sending first indication information to the first network device, where the first indication information is second information sent by the second UE;

[0160] Based on the first indication information, the first network device determines that the second UE provides the first UE with a function of supporting connection to a data network.

[0161] According to the second aspect or any implementation manner of the second aspect, before receiving the second data packet for downlink transmission, the method includes: obtaining the first parameter from the second core network device.

[0162] According to the second aspect or any implementation manner of the second aspect, after receiving a second data packet for downlink transmission, the method includes: obtaining the first parameter from a second core network device.

[0163] According to the second aspect or any embodiment of the second aspect, the first parameter includes at least one of the following:

[0164] The transmission delay of any protocol data unit set PDU Set in the first link must be less than or equal to the first preset delay;

[0165] The first ratio needs to be less than or equal to a first preset error rate, the first ratio being the ratio of the number of first PDU Sets to the number of second PDU Sets, the first PDU Set number being the number of PDU Sets that the second UE has sent but has not successfully received by the first UE, and the second PDU Set number being the number of PDU Sets that the second UE has sent; or,

[0166] The minimum percentage of any PDU Set that must be transmitted correctly.

[0167] According to the second aspect or any implementation manner of the second aspect, the first PDU Set information includes: the SMF instructs the RAN to add the first PDU Set information to the second data message for downlink transmission sent to the second UE.

[0168] According to the second aspect or any implementation manner of the second aspect, the first PDU Set information is obtained according to the third data, including:

[0169] The first PDU Set information is obtained from the third data, and the third data includes the first PDU Set information; or,

[0170] The first PDU Set information is derived based on the third data.

[0171] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, two possible implementation methods are provided: directly obtaining the first PDU Set information or indirectly obtaining (deriving) the first parameter.

[0172] According to the second aspect or any implementation manner of the second aspect, the second PDU Set information includes: the SMF instructs the RAN to add the second PDU Set information to the second data message for downlink transmission sent to the second UE.

[0173] According to the second aspect or any implementation manner of the second aspect, the second PDU Set information is obtained based on the fourth data, including:

[0174] The second PDU Set information is obtained from the fourth data, and the fourth data includes the second PDU Set information; or,

[0175] The second PDU Set information is derived based on the fourth data.

[0176] According to the second aspect or any embodiment of the second aspect, the second process is associated with the first parameter, the first PDU Set information, and the second PDU Set information, including:

[0177] The second process is associated with a first parameter, a first link state, the first PDU Set information, and the second PDU Set information, wherein the first link state indicates a state of the first link.

[0178] According to the second aspect or any embodiment of the second aspect, the second processing is determined based on the first parameter, including: the second processing is determined based on the first parameter, first PDU Set information and second PDU Set information.

[0179] According to the second aspect or any embodiment of the second aspect, the second processing is determined based on the first parameter, the first PDU Set information and the second PDU Set information, including: the second processing is determined based on the first parameter, the first link status, the first PDU Set information and the second PDU Set information, wherein the first link status indicates the status of the first link.

[0180] According to the second aspect or any embodiment of the second aspect:

[0181] When the first link status indicates that the first link is congested, and the first PDU Set is more important than the second PDU Set, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0182] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0183] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, when the data transmission rate of the first link is not high, data transmission of high importance can be guaranteed, thereby protecting the user experience.

[0184] According to the second aspect or any implementation scheme of the second aspect, the first link state is perceived by the second UE.

[0185] According to the second aspect or any embodiment of the second aspect:

[0186] When the first link status indicates that the first link is congested, and the first PDU Set is important and the second PDU Set is not important, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0187] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0188] According to the second aspect or any embodiment of the second aspect:

[0189] When the first link status indicates that the first link is not congested, and the first PDU Set is more important than the second PDU Set, the second process is to send the first PDU Set and the second PDU Set in the first link;

[0190] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0191] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, when the data transmission rate of the first link is high, both high-importance and low-importance data can be transmitted, thereby ensuring user experience.

[0192] According to the second aspect or any embodiment of the second aspect:

[0193] When the first link status indicates that the first link is not congested, and the first PDU Set is important and the second PDU Set is not important, the second process is to send the first PDU Set and the second PDU Set in the first link;

[0194] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0195] According to the second aspect or any embodiment of the second aspect:

[0196] When the first link status indicates that the first link is congested, and the first PDU Set is more important than the second PDU Set, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0197] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0198] According to the second aspect or any embodiment of the second aspect:

[0199] When the first link status indicates that the first link is congested, and the first PDU Set is important and the second PDU Set is not important, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0200] The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

[0201] According to the second aspect or any embodiment of the second aspect:

[0202] When the first link status indicates that the first link is congested and the first PDU Set has priority over the second PDU Set, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0203] The first PDU Set has priority over the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0204] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, when the data transmission rate of the first link is not high, high-priority data transmission can be guaranteed, thereby protecting the user experience.

[0205] According to the second aspect or any embodiment of the second aspect:

[0206] When the first link status indicates that the first link is congested, and the first PDU Set is prioritized and the second PDU Set is not prioritized, the second processing is to send the first PDU Set in the first link and discard the second PDU Set;

[0207] The first PDU Set priority is obtained based on the first PDU Set information, and the second PDU Set non-priority is obtained based on the second PDU Set information.

[0208] According to the second aspect or any implementation manner of the second aspect, before receiving the second data packet for downlink transmission:

[0209] A first rule is determined, where the first rule is that if downlink data is received, PDU Set information corresponding to the PDU Set in the downlink data is determined.

[0210] According to the second aspect or any embodiment of the second aspect:

[0211] When the transmission delay of the first PDU Set in the first link is less than or equal to a first preset delay, continue to transmit the first PDU Set; or,

[0212] When the transmission delay of the second PDU Set in the first link is greater than the first preset delay, the second PDU Set is discarded.

[0213] According to the second aspect or any implementation manner of the second aspect, before receiving a second data packet for downlink transmission and before determining the first rule, the method includes:

[0214] A second message is received, the second message including a first identifier; wherein the second message is a message received and forwarded by the RAN through a second interface, the second message indicates establishment of a first quality of service flow QoS Flow; the first identifier indicates the first QoS Flow.

[0215] According to the second aspect or any embodiment of the second aspect, the first PDU Set and the second PDU Set are both included in the data transmitted through the first QoS Flow in the first downlink data, and the first downlink data comes from the AF in the application server.

[0216] According to the second aspect or any embodiment of the second aspect, the second message includes a first parameter, the first parameter includes a first PDU Set quality of service QoS parameter, and the first PDU Set QoS parameter indicates the requirements that must be met by the data transmitted through the first QoS Flow during transmission on the first link.

[0217] According to the second aspect or any embodiment of the second aspect, the second message includes a second parameter, the second parameter includes a second PDU Set quality of service QoS parameter, the second PDU Set QoS parameter indicates the requirements that the data transmitted through the first QoS Flow must meet during transmission on the second link; the first PDU Set QoS parameter indicates the requirements that the data transmitted through the first QoS Flow must meet during transmission on the first link.

[0218] According to the second aspect or any implementation manner of the second aspect, after receiving the second message, the method includes:

[0219] The second parameter includes a first mapping relationship, where the first mapping relationship is a mapping relationship between the first PDU Set QoS parameter and the second PDU Set QoS parameter;

[0220] The first PDU Set QoS parameter is obtained according to the second PDU Set QoS parameter and the first mapping relationship; the first PDU Set quality of service QoS parameter is included in the first parameter, and the first parameter indicates the first link requirement.

[0221] According to the second aspect or any implementation manner of the second aspect, before receiving the second message, the method includes:

[0222] The second UE learns the first mapping relationship, where the first mapping relationship is a mapping relationship between the first PDU Set QoS parameter and the second PDU Set QoS parameter;

[0223] The first PDU Set QoS parameter indicates the requirements that the data transmitted through the first QoS Flow must meet during transmission on the first link; the second PDU Set QoS parameter indicates the requirements that the data transmitted through the first QoS Flow must meet during transmission on the second link.

[0224] According to the second aspect or any implementation manner of the second aspect, after receiving the second message, the method includes:

[0225] The first PDU Set QoS parameter is obtained according to the second PDU Set QoS parameter and the first mapping relationship; the first PDU Set quality of service QoS parameter is included in the first parameter.

[0226] According to the second aspect or any one embodiment of the second aspect, the second interface is an N1 interface, the second processing indicates a second QoS processing, the second QoS processing is associated with the first QoS Flow, the second core network device is an access and mobility management function entity AMF; the second UE is a relay user equipment Relay UE, and the first UE is a remote user equipment Remote UE.

[0227] According to the second aspect or any implementation manner of the second aspect, the first link is a link established based on the PC5 interface; and the second link is a link established based on the Uu interface.

[0228] In a third aspect, a communication method is provided. The method is applied to a first user equipment (UE), the first UE communicating with a second UE, and the first UE communicating with a data network through the second UE. The method includes:

[0229] Before uplink transmitting the first data packet to the second UE, determining first data and second data from the first data packet;

[0230] At least one of the first data or the second data is sent to the second UE according to a first process, the first process being associated with a first link state and a second link state.

[0231] The first link status indicates the status of the first link, the second link status indicates the status of the second link, the first link is a communication link between the first UE and the second UE, and the second link is a communication link between the second UE and the RAN.

[0232] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, before the first UE transmits data uplink to the second UE, the link status of different links involved in subsequent transmission is fully considered, thereby achieving transmission optimization.

[0233] According to the third aspect, the first data includes a first protocol data unit set PDU Set and first PDU Set information, the second data includes a second PDU Set and second PDU Set information, the first PDU Set information indicates characteristics of the first PDU Set, and the second PDU Set information indicates characteristics of the second PDU Set.

[0234] In this way, the PDU Set is introduced into the first link from the first UE to the second UE, so as to facilitate the control or management of data in the overall data transmission and ensure the user experience.

[0235] According to the third aspect or any one implementation of the third aspect, according to the first link state and the second link state, including: according to the first link state, the second link state, the first PDU Set information and the second PDU Set information.

[0236] In this way, the PDU Set is introduced into the first link from the first UE to the second UE, which facilitates the control or management of data in the overall data transmission and ensures the user experience.

[0237] According to the third aspect or any embodiment of the third aspect, the method includes:

[0238] When the second link state indicates the first state, the first processing indicates a first processing mode; or,

[0239] When the second link state indicates a second state, the first processing indicates a second processing mode;

[0240] The first state is different from the second state, and the first processing method is different from the second processing method.

[0241] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, dynamic adjustment can be made according to the first link state and the second link state, thereby achieving transmission optimization.

[0242] According to the third aspect or any embodiment of the third aspect, the method includes:

[0243] When the first link status indicates the first state, the first state is congested, and the first PDU Set is more important than the second PDU Set, the first processing manner is to send the first PDU Set in the first link and discard the second PDU Set;

[0244] The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

[0245] In this way, in a scenario where the first UE communicates with the data network through the second UE relay, when the first UE transmits data uplink to the second UE, the transmission of highly important data can be guaranteed, thereby protecting the user experience.

[0246] According to the third aspect or any one embodiment of the third aspect:

[0247] When the first link status indicates the first state, the first state is congested, and the first PDU Set is important and the second PDU Set is not important, the first processing manner is to send the first PDU Set in the first link and discard the second PDU Set;

[0248] The first PDU Set is important, and the second PDU Set is not important, which is obtained based on the first PDU Set information and the second PDU Set information.

[0249] According to the third aspect or any one embodiment of the third aspect:

[0250] When the first link state indicates the second state, the second state is non-congested, and the first PDU Set is important and the second PDU Set is unimportant, the first processing manner is to send the first PDU Set and the second PDU Set in the first link;

[0251] The first PDU Set is important, and the second PDU Set is not important, which is obtained based on the first PDU Set information and the second PDU Set information.

[0252] According to the third aspect or any one embodiment of the third aspect,

[0253] The first UE is a remote user equipment (Remote UE); the second UE is a relay user equipment (Relay UE), or

[0254] The second UE is a hotspot UE, and the hotspot is a Wi-Fi hotspot.

[0255] In a fourth aspect, a communication method is provided. The method is applied to a communication system. The communication system includes an access network device RAN and a second user equipment UE, wherein the RAN communicates with the second UE, the second UE communicates with a first UE, and the first UE communicates with a data network via the second UE. The method includes:

[0256] In response to receiving a first data packet for downlink transmission, the RAN obtains first data, second data, and third data from the first data packet;

[0257] The RAN sends a second data packet to the second UE according to a first process, where the second data packet includes the first data and the second data, and the first process is associated with the first link state and the second link state;

[0258] In response to receiving the second data packet, the second UE obtains fourth data and fifth data from the second data packet, where the fourth data and the first data both include the same first content, and the fifth data and the second data both include the same second content;

[0259] At least one of the fourth data or the fifth data is sent to the first UE according to a second process, the second process being associated with a first parameter.

[0260] The first link state indicates the state of a first link, the second link state indicates the state of a second link, the first link is a communication link between the first UE and the second UE, the second link is a communication link between the second UE and the RAN, and the first parameter indicates requirements that must be met for transmitting data in the first link.

[0261] According to the fourth aspect, before sending the second data packet to the second UE according to the first process:

[0262] The first processing of the first data and the second data in transmission on the second link is determined, where the first processing is determined according to the first link state and the second link state.

[0263] According to the fourth aspect or any one embodiment of the fourth aspect:

[0264] When the first link state indicates a first state, the first processing indicates a first processing mode; or,

[0265] When the first link state indicates a second state, the first processing indicates a second processing mode;

[0266] The first state is different from the second state, and the first processing method is different from the second processing method.

[0267] According to the fourth aspect or any implementation manner of the fourth aspect, before sending at least one of the fourth data or the fifth data to the first UE according to the second process:

[0268] Determine the second processing of the fourth data and the fifth data in the first link transmission, where the second processing is determined according to the first parameter.

[0269] According to the fourth aspect or any embodiment of the fourth aspect, the first data includes a first protocol data unit set PDU Set, the second data includes a second PDU Set, and the third data includes a third PDU Set; the fourth data includes the first PDU Set, and the fifth data includes the second PDU Set; the first content includes the first PDU Set, and the second content includes the second PDU Set.

[0270] According to the fourth aspect or any one embodiment of the fourth aspect, the second process is associated with the first parameter, including:

[0271] The second process is associated with the first parameter, the first PDU Set information, and the second PDU Set information;

[0272] The first PDU Set information indicates the characteristics of the first PDU Set, the second PDU Set information indicates the characteristics of the second PDU Set, the first PDU Set information is obtained based on the fourth data, and the second PDU Set information is obtained based on the fifth data.

[0273] According to the fourth aspect or any one embodiment of the fourth aspect,

[0274] The first parameter is obtained by the second UE from a second core network device; or,

[0275] The first parameter is obtained by the second UE according to the second parameter, and the second parameter is obtained by the second UE from the second core network device.

[0276] According to the fourth aspect or any embodiment of the fourth aspect, the first parameter includes at least one of the following:

[0277] The transmission delay of any protocol data unit set PDU Set in the first link must be less than or equal to the first preset delay;

[0278] The first ratio needs to be less than or equal to a first preset error rate, the first ratio being the ratio of the number of first PDU Sets to the number of second PDU Sets, the first PDU Set number being the number of PDU Sets that the second UE has sent but has not successfully received by the first UE, and the second PDU Set number being the number of PDU Sets that the second UE has sent; or,

[0279] The minimum percentage of any PDU Set that must be transmitted correctly.

[0280] According to the fourth aspect or any implementation manner of the fourth aspect, before receiving a first data packet for downlink transmission, the method includes:

[0281] Receiving first information and a first identifier, where the first identifier indicates a first quality of service flow QoS Flow;

[0282] In response to receiving the first information and the first identifier, the RAN determines, when receiving downlink data, how to process the downlink data in second link transmission according to the first link state and the second link state; or

[0283] In response to receiving the first information and the first identifier, the first information instructs the RAN to determine, when receiving downlink data through the first QoS Flow, how to process the downlink data in second-link transmission according to the first link state and the second link state; or

[0284] In response to receiving the first information and the first identifier, the first information indicates that the downlink data received by the RAN through the first QoS Flow is relay data, and the relay data is data to be transmitted by the second UE to the first UE.

[0285] According to the fourth aspect or any embodiment of the fourth aspect, the second processing is determined according to the first parameter, including:

[0286] The second processing is determined according to the first parameter, the first PDU Set information and the second PDU Set information.

[0287] According to the fourth aspect or any one implementation manner of the fourth aspect, according to the first parameter, the first PDU Set information, and the second PDU Set information, including:

[0288] According to the first parameter, the first link status, the first PDU Set information and the second PDU Set information, wherein the first link status indicates the status of the first link.

[0289] According to the fourth aspect or any embodiment of the fourth aspect, the first interface is an N2 interface, the second interface is an N1 interface, the first processing indicates a first QoS processing, the second processing indicates a second QoS processing, the first QoS processing is associated with the first QoS Flow, and the second QoS processing is associated with the first QoS Flow.

[0290] According to the fourth aspect or any implementation manner of the fourth aspect, the first link is a link established based on the PC5 interface; the second link is a link established based on the Uu interface.

[0291] The technical effects corresponding to the fourth aspect or any one of the embodiments of the fourth aspect can be referred to the technical effects corresponding to the above-mentioned first aspect or any one of the embodiments of the first aspect, as well as the technical effects corresponding to the above-mentioned second aspect or any one of the embodiments of the second aspect, and will not be repeated here.

[0292] In a fifth aspect, an access network device is provided, referred to herein as a RAN. The RAN communicates with a second user equipment (UE), the second UE communicates with a first UE, and the first UE communicates with a data network via the second UE. The RAN includes:

[0293] processor;

[0294] A memory coupled to the processor, the memory storing computer instructions, wherein when the computer instructions are executed by the processor, the RAN executes the method according to the first aspect or any one of the embodiments of the first aspect.

[0295] The technical effects corresponding to the fifth aspect or any one of the embodiments of the fifth aspect can be referred to the technical effects corresponding to the above-mentioned first aspect or any one of the embodiments of the first aspect, and will not be repeated here.

[0296] According to a sixth aspect, a second user equipment (UE) is provided. The second UE communicates with a first UE, and the first UE communicates with a data network via the second UE. The second UE includes:

[0297] processor,

[0298] A memory coupled to the processor, the memory storing computer instructions, which, when executed by the processor, causes the second UE to execute the method as described in the second aspect or any one of the embodiments of the second aspect.

[0299] The technical effects corresponding to the sixth aspect or any one of the implementation methods of the sixth aspect can be referred to the technical effects corresponding to the above-mentioned second aspect or any one of the implementation methods of the second aspect, and will not be repeated here.

[0300] According to a seventh aspect, a first user equipment (UE) is provided. The first UE communicates with a second UE, and the first UE communicates with a data network through the second UE. The first UE includes:

[0301] processor,

[0302] A memory coupled to the processor, the memory storing computer instructions, which, when executed by the processor, causes the first UE to execute the method as described in the third aspect or any one of the embodiments of the third aspect.

[0303] The technical effects corresponding to the seventh aspect or any one of the implementation methods of the seventh aspect can be referred to the technical effects corresponding to the above-mentioned third aspect or any one of the implementation methods of the third aspect, and will not be repeated here.

[0304] In an eighth aspect, a communication system is provided, comprising an access network device RAN and a second user equipment UE, wherein the RAN communicates with the second UE, the second UE communicates with a first UE, and the first UE communicates with a data network through the second UE.

[0305] The RAN is configured to execute the method as described in the first aspect or any one of the implementations of the first aspect.

[0306] The second UE is configured to execute the method as described in the second aspect or any one of the embodiments of the second aspect.

[0307] The technical effects corresponding to the eighth aspect or any one of the embodiments of the eighth aspect can be referred to the technical effects corresponding to the above-mentioned first aspect or any one of the embodiments of the first aspect, and the technical effects corresponding to the above-mentioned second aspect or any one of the embodiments of the second aspect, and will not be repeated here.

[0308] In a ninth aspect, a chip is provided, comprising a processor and a memory coupled to the processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to the first aspect or any one of the embodiments of the first aspect is performed.

[0309] The technical effects corresponding to the ninth aspect or any one of the embodiments of the ninth aspect can be referred to the technical effects corresponding to the first aspect or any one of the embodiments of the first aspect, and will not be repeated here.

[0310] In a tenth aspect, a chip is provided. The chip includes a processor and a memory coupled to the processor, the memory storing a computer program, and when the processor executes the computer program, the method described in the second aspect or any one of the embodiments of the second aspect is performed.

[0311] The technical effects corresponding to the tenth aspect or any one of the embodiments of the tenth aspect can be referred to the technical effects corresponding to the above-mentioned second aspect or any one of the embodiments of the second aspect, and will not be repeated here.

[0312] In an eleventh aspect, a chip is provided, comprising a processor and a memory coupled to the processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to the third aspect or any one of the embodiments of the third aspect is performed.

[0313] The technical effects corresponding to the eleventh aspect or any one of the implementation methods in the eleventh aspect can be referred to the technical effects corresponding to the above-mentioned third aspect or any one of the implementation methods in the third aspect, and will not be repeated here.

[0314] In a twelfth aspect, a computer program product is provided, which, when executed, enables the method according to the first aspect or any one of the embodiments of the first aspect to be executed.

[0315] The technical effects corresponding to the twelfth aspect or any one of the embodiments of the twelfth aspect can be referred to the technical effects corresponding to the above-mentioned first aspect or any one of the embodiments of the first aspect, and will not be repeated here.

[0316] In a thirteenth aspect, a computer program product is provided, which, when executed, enables the method according to the second aspect or any one of the embodiments of the second aspect to be executed.

[0317] The technical effects corresponding to the thirteenth aspect or any one of the embodiments of the thirteenth aspect can be referred to the technical effects corresponding to the above-mentioned second aspect or any one of the embodiments of the second aspect, and will not be repeated here.

[0318] In a fourteenth aspect, a computer program product is provided. When the computer program product is run on a first user equipment (UE), the first UE is enabled to execute the method according to the third aspect or any one of the embodiments of the third aspect.

[0319] The technical effects corresponding to the fourteenth aspect or any one of the embodiments of the fourteenth aspect can be referred to the technical effects corresponding to the above-mentioned third aspect or any one of the embodiments of the third aspect, and will not be repeated here.

[0320] From the above, it can be seen that the technical solution of the present application can, in a scenario where the first UE communicates with the data network through the second UE relay, transmit the first link data or the second link data after comprehensively considering the link status of different links involved in subsequent transmissions, thereby reducing the impact of factors such as data congestion on data transmission and achieving transmission optimization.

[0321] Optionally, the technical solution of the present application can, in a scenario where the first UE communicates with the data network through a second UE relay, dynamically adjust according to the first link status and the second link status based on comprehensive consideration of the link status of different links involved in subsequent transmission (for example, considering the first link status and the second link status), thereby achieving transmission optimization.

[0322] For example, according to the first link status and the second link status, when the overall data transmission rate is low, the transmission of the first link data or the transmission of the second link data ensures the transmission of data with high importance (high importance can also be replaced by high priority), and discards data with low importance (low importance can also be replaced by low priority); when the overall data transmission rate is high, the transmission of the first link data or the transmission of the second link data ensures the transmission of both high and low importance data, or, ensures the transmission of high importance data and a certain proportion of low importance data.

[0323] Optionally, the technical solution of the present application can ensure the transmission of high-importance or high-priority data in a scenario where the first UE communicates with the data network through a second UE relay, when the overall data transmission rate is not high, or when the overall latency is high, etc., thereby reducing the adverse impact on data transmission when the link is in an unfavorable situation, and promptly enhancing data transmission when the link is in a favorable situation, thereby making full use of the link situation, optimizing data transmission, and ensuring user experience.

[0324] Optionally, the technical solution of the present application can consider the first link status and the second link status in the downlink transmission before the transmission of the second link data in the scenario where the first UE communicates with the data network through the second UE relay, and then adjust the second link data transmission (for example, adjust the data in the second link data transmission, etc.), thereby ensuring the transmission of high-importance or high-priority data at an appropriate time and protecting the user experience.

[0325] Optionally, the technical solution of the present application can, in a scenario where the first UE communicates with the data network through a second UE relay, consider the first link status and the second link status in the uplink transmission before the transmission of the first link data, and then adjust the first link data transmission (for example, adjust the data in the first link data transmission, etc.), thereby ensuring the transmission of high-importance or high-priority data at an appropriate time and protecting the user experience.

[0326] Optionally, the technical solution of the present application can consider the first link state or the first parameter in the downlink transmission after the transmission of the second link data and before the transmission of the first link data in the scenario where the first UE communicates with the data network through the second UE relay, and then adjust the first link data transmission (for example, adjust the data in the first link data transmission, etc.), thereby ensuring the transmission of high-importance or high-priority data at an appropriate time and protecting the user experience.

[0327] Optionally, the technical solution of the present application can take into account the control or management of data in the overall data transmission when controlling or managing data in the first-link data transmission in a scenario where the first UE communicates with the data network through the second UE relay, thereby facilitating the control or management of data in the first-link data transmission, improving efficiency, ensuring user experience, and making it more convenient to control or manage data in data transmission.

[0328] Accordingly, the technical solution of the present application can achieve the technical effect of a combination of any two or more of the above-mentioned technical effects in a scenario where the first UE communicates with the data network through the second UE relay. BRIEF DESCRIPTION OF THE DRAWINGS

[0329] To more clearly illustrate the technical solutions of the prior art and the embodiments of the present application, the following briefly introduces the drawings required for describing the prior art and the embodiments of the present application. Obviously, the drawings described below relate to some embodiments of the present application, and those skilled in the art can also derive other drawings based on these drawings without inventive effort.

[0330] FIG1 is a schematic diagram of a scenario in which this application is applied;

[0331] FIG2 is a schematic diagram of the architecture of a communication system used in this application;

[0332] FIG3 is a schematic diagram of the network architecture of the layer 3 relay L3 Relay used in this application.

[0333] FIG4 is a schematic diagram of the network architecture of the layer 2 relay L2 Relay used in this application.

[0334] FIG5 is a schematic diagram of the first pre-process flow in Example 1 of the present application.

[0335] FIG6 is a schematic diagram of the first signaling flow in Example 1 of the present application.

[0336] FIG7 is a schematic diagram of the data transmission process in Example 1 of the present application.

[0337] FIG8 is a schematic diagram of the second signaling flow in the first embodiment of the present application.

[0338] FIG9 is a schematic diagram of the second pre-process flow in Example 1 of the present application.

[0339] FIG10 is a schematic diagram of the third signaling process in the first embodiment of the present application.

[0340] FIG11 is a schematic diagram of the first pre-process flow in the second embodiment of the present application.

[0341] FIG12 is a schematic diagram of the first signaling process in the second embodiment of the present application.

[0342] FIG13 is a schematic diagram of the data transmission process in the second embodiment of the present application.

[0343] FIG14 is a schematic diagram of enhanced SDAP used by the RAN to transmit PDU Set information to the second UE in the second embodiment of the present application.

[0344] FIG15 is a schematic diagram of a newly added protocol layer used by the RAN to transmit PDU Set information to the second UE in the second embodiment of the present application

[0345] FIG16 is a schematic diagram of a newly added protocol layer used by the RAN to transmit PDU Set information to the second UE in the second embodiment of the present application.

[0346] FIG17 is a schematic diagram of the second pre-process flow in the second embodiment of the present application.

[0347] Figure 18 is a schematic diagram of the second signaling process in Example 2 of the present application.

[0348] Figure 19 is a schematic diagram of the signaling flow in Example 3 of the present application.

[0349] Figure 20 is a schematic diagram of the data transmission process in Example 3 of the present application.

[0350] Figure 21 is a schematic diagram of the second signaling process in Example 3 of the present application.

[0351] Figure 22 is a schematic diagram of the third signaling process in Example 3 of the present application.

[0352] Figure 23 is a schematic diagram of the implementation of the uplink data process initiated by the first UE in Example 3 of the present application.

[0353] Figure 24 is a schematic diagram of the process implementation after the uplink data reaches the second UE in Example 3 of the present application.

[0354] Figure 25 is a schematic diagram of the structure of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0355] The following will be described in further detail with reference to the accompanying drawings. Although the accompanying drawings show certain embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustrative purposes only and are not intended to limit the scope of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of the present application.

[0356] In this application, "at least one" refers to one or more, and "more than one" refers to more than two (including two). "Or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c means: a; b; c; a, b; a, c; b, c; or at least one of the seven combinations of a, b, c, where a, b, c can be single or multiple.

[0357] References to ordinal numbers such as "first" and "second" in this application are intended to distinguish between multiple objects and are not intended to limit the size, content, sequence, timing, priority, or importance of these objects. Furthermore, unless otherwise specified, the step numbers in the various embodiments described in this application are intended solely to distinguish between the different steps and are not intended to define the order in which the steps are executed. The order in which the steps are executed should be determined by their function and inherent logic.

[0358] The embodiments of the present application may be implemented according to any appropriate communication protocol, including but not limited to third generation (3G), fourth generation (4G), fifth generation (5G), sixth generation (6G) and other cellular communication protocols, wireless local area network communication protocols such as Institute of Electrical and Electronics Engineers (IEEE) 802.11, or any other protocol currently known or developed in the future.

[0359] The technical solution of the present application is applicable to communication systems that comply with any appropriate communication protocol, such as General Packet Radio Service (GPRS), Global System for Mobile Communications (GSM), Enhanced Data rate for GSM Evolution (EDGE), Universal Mobile Telecommunications Service (UMTS), Long Term Evolution (LTE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access 2000 (CDMA2000), Time Division-Synchronization Code Division Multiple Access (TD-SCDMA), Frequency Division Duplex (FDD), Time Division Duplex (TDD), fifth-generation or new radio (NR) systems, and future sixth-generation communication systems.

[0360] For example, Figure 1 shows a schematic diagram of an application scenario of the present application. As shown in Figure 1, a wearable device 16 such as a watch, bracelet, AR glasses, or VR glasses, as a remote device (hereinafter collectively referred to as the first UE), accesses the base station 12 through a wireless link with a relay device such as a smartphone 14 or CPE (hereinafter collectively referred to as the second UE), and realizes data transmission between the first UE and the application server.

[0361] For example, FIG2 shows a schematic diagram of the architecture of a communication system used in this application. FIG2 is an example of a 5G network architecture. It should be noted that the architectures of other communication systems are also applicable to this application. The following describes the various network element functions and data sets involved in the communication system in FIG2:

[0362] Radio access network (RAN): Consisting of multiple RAN nodes, it implements wireless physical layer functions, resource scheduling and radio resource management, radio access control, and mobility management. The 5G RAN connects to the user plane function (UPF) element via the user plane interface (N3) to transmit UE data. The RAN establishes a control plane signaling connection with the core network access and mobility management function (AMF) element via the control plane interface (N2) to implement functions such as radio access bearer control. The RAN is also referred to as radio access network equipment.

[0363] AMF network element: Mainly responsible for UE authentication, UE mobility management, network slice selection, Session Management Function (SMF) network element selection and other functions; serves as the anchor point for N1 and N2 signaling connections, and provides routing of N1 and N2 Session Management (SM) messages for SMF network elements; maintains and manages UE status information.

[0364] SMF network element: connected to the AMF network element through the N11 interface, and is mainly responsible for all control plane functions of UE session management, including user plane function (UPF) network element selection, network protocol (IP) address allocation, session quality of service (QoS) attribute management, and obtaining policy control and charging (PCC) rules from the policy control function (PCF) network element.

[0365] The PCF network element is connected to the SMF network element through the N7 interface and to the AMF network element through the N15 interface. It is used to generate and store PCC rules related to session management and provide them to the SMF network element. It is also used to generate policy information related to mobility management and provide it to the AMF network element.

[0366] UPF network element: connected to the SMF network element through the N4 interface. As the anchor point of the Protocol Data Unit (PDU) session connection, the UPF network element is responsible for filtering UE data packets, data transmission or forwarding, rate control, and generating billing information.

[0367] NEF: Network capability exposure functional entity, responsible for providing network capabilities to the outside world in 3GPP, including the Monitoring capability used to monitor specific events of UEs in the 5G system; the Provisioning capability used to allow external parties to provide information that can be used for UEs in the 5G system; the Policy / Charging capability used to process QoS and charging policies for UEs based on requests from external parties; and the Analytics reporting capability used to allow external parties to obtain or subscribe to / unsubscribe from analytical information generated by the 5G System.

[0368] It should be understood that the network elements shown in FIG. 2 may be independent or may be two or more network elements integrated together, and this embodiment of the present application does not specifically limit this.

[0369] A terminal, or UE, can be a mobile phone, tablet, CPE, computer, vehicle-mounted equipment, or a terminal device with similar wireless access capabilities.

[0370] Packet Data Unit Set (PDU Set): A PDU set consists of one or more PDUs, which refers to the payload that carries an information unit generated by the application layer (for example, frame(s) or video slice(s) for extended reality (XR) services).

[0371] Several relay network architectures are introduced below. For example, Figure 3 shows a Layer 3 Relay (L3 Relay) network architecture. As shown in Figure 3, the first UE 50 only establishes a link connection 20 with the second UE 55, and obtains the service of the data network 34 through the connection between the second UE 55 and the access network 30 and the core network 32. For the Layer 3 relay network, the link connection 20 includes an inter-UE proximity service communication (Proximity Service Communication 5, PC5) interface. The PC5 link is a direct communication link, thereby forming an L3 Relay network architecture. In the following, a link refers to an interactive channel including a connection, network, etc. between two devices, and an interface refers to a logical concept used by a device and other network elements for communication. The interfaces of the two devices interact to form a link. In addition, the network connection 20 may also include non-3GPP networks such as Wi-Fi, thereby forming a hotspot relay network architecture. In the L3 Relay network architecture and the hotspot relay network architecture, the access network 30 and the core network 32 serve the second UE 55, and there is no access network or core network serving the first UE 50 (the first UE 50 does not have its own access network or core network in this architecture). The first UE 50 communicates with the network only through the second UE 55 and the access network 30 or core network 32 serving the second UE 55. In this architecture, because the access network 30 and the core network 32 serve the second UE 55, neither the access network 30 nor the core network 32 is aware of the existence of the first UE 50.

[0372] For example, Figure 4 illustrates a Layer 2 Relay (L2 Relay) network architecture. As shown in Figure 4 , the architecture includes a core network 32 and a core network 40, wherein the core network 32 serves the second UE 55, and the core network 40 serves the first UE 50. The first UE 50 communicates with the access network 30 and the core network 40 via the second UE 55. At this point, the link between the first UE 50 and the access network 30 is a Uu interface link 28, and the link between the first UE 50 and the core network 40 is an N1 interface link 26. That is, in the L2 Relay network architecture, the first UE 50 accesses the network via the second UE 55 (the first UE 50 communicates with the access network 30 and the core network 40 serving the first UE 50 via the second UE 55). In this architecture, because the first UE 50 has its own serving access network 30 and core network 40, both the access network 30 and the core network 40 are aware of the presence of the first UE 50.

[0373] It should be noted that the network architecture described above is merely exemplary, and other network architectures may also be applicable to this application. For ease of description, this application only uses an application server, a core network, an access network, a first UE, and a second UE as examples. It should be noted that the network architecture applicable to this application may include more devices.

[0374] The following will be further described in detail with reference to specific embodiments and corresponding drawings. Although the drawings show certain embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the illustrated embodiments. Instead, these embodiments are provided to provide a more thorough understanding of the present application.

[0375] Example 1

[0376] The first embodiment involves two network architectures: L3 Relay and L2 Relay. L3 Relay includes two solutions, corresponding to Figures 5-8; L2 Relay includes one solution, corresponding to Figures 9-10.

[0377] The overall solution of the first embodiment is that before data transmission, the RAN comprehensively considers the link status of different transmission links involved in the subsequent transmission, determines and performs QoS processing on the downlink data. This is an implementation method.

[0378] The following is a detailed description of the first solution of the first embodiment, which is a solution belonging to the L3 Relay network architecture.

[0379] The pre-process of the first solution is shown in Figure 5:

[0380] S101: A first UE 50 and a second UE 55 discover each other.

[0381] The discovery process can be implemented in two ways, the difference being the discovery request body.

[0382] In one possible implementation, the discovery process is performed using a method known as Model A. In this method, the second UE 55 broadcasts a discovery announcement message, which includes a relay service code (RSC) that announces the relay service identifier that the second UE 55 can provide. The first UE 50 selects the second UE 55 based on the discovery announcement message broadcast by the second UE 55 and its own needs. For example, if the first UE 50 finds that the RSC broadcast by the second UE 55 matches the RSC for which it has relay requirements, it will initiate a connection establishment with the second UE 55 and perform the relay service.

[0383] In one possible implementation, the discovery process is performed using a method called Model B. In this method, the first UE 50 broadcasts a discovery request message (Solicitation message), which includes a relay service code RSC, which is used to request the relay service identifier that the first UE 50 wishes to be provided with. The second UE 55 determines whether to respond to the first UE 50 (i.e., whether the required relay service can be provided to the first UE 50) based on the discovery request message sent by the first UE 50 and its own relay capability. For example, when a terminal finds that the RSC requested by the first UE 50 matches the RSC of the relay service that can be provided, it sends a discovery response message (Response message) to the first UE 50. If there are multiple terminals that send response messages, the first UE 50 selects one of these terminals as the second UE 55 to initiate connection establishment with it, and then performs subsequent relay services.

[0384] S102a: The first UE 50 selects the second UE 55 to establish a first link for direct communication.

[0385] S102b, the second UE 55 performs relay PDU session establishment. During the relay PDU session establishment process, the SMF 70 learns that the second UE 55 performs L3 relay for the first UE 50.

[0386] In one possible implementation, the second UE 55 initiates a PDU session for relaying to the network, including the second UE 55 sending a PDU session establishment request message to the SMF 70 through the AMF 65, and after the SMF 70 determines to accept the request of the second UE 55, it sends a PDU session establishment accept message to the second UE 55.

[0387] In one possible implementation, the first UE 50 accesses the Wi-Fi hotspot of the second UE 55. In this case, in this step, the second UE 55 instructs the SMF 70 to provide Wi-Fi hotspot access to other UEs. Furthermore, the second UE 55 is instructed to use the first PDU session to provide data relay services to other UEs via the Wi-Fi hotspot. For example, this instruction is included in the PDU Session Establishment Request message.

[0388] S103: At this time, the conditions for transmitting relay data are met.

[0389] The first UE 50 may perform data transmission with the network through the second UE 55 .

[0390] Based on the above pre-process, the conditions for data transmission have been met. However, at this time, only the default QoS parameters can be used to transmit data. In order to provide QoS guarantee for the service data transmission required by wearable devices, new QoS Flows need to be added later. The following describes the signaling process of the first solution, as shown in Figure 6:

[0391] S104, the server (AF 85) sends a first request to the policy control network element PCF 80, where the first request includes PDU Set QoS parameters.

[0392] The first request also includes description information of a Service Data Flow (SDF), which is used to identify the data corresponding to the SDF. The SDF description information and the PDU Set QoS parameters are used to describe the data corresponding to the SDF, which must meet the QoS requirements indicated by the PDU Set QoS parameters.

[0393] In a possible implementation, the PDU Set QoS parameter includes at least one of a PDU Set Delay Budget (PSDB), a PDU Set Error Rate (PSER), or a PDU Set Integrated Handling Information (PSIHI).

[0394] In a possible implementation, the first request includes a policy authorization creation request message, an AF session creation request message (AF session with QoS Create request) or an AF session update request message (AF session with QoS Create update).

[0395] In one possible implementation, when AF 85 and PCF 80 can interact directly, AF 85 can send a request message to the policy control network element; when AF 85 and PCF 80 cannot interact directly, AF 85 can send a request message to PCF 80 through the network capability exposure function network element NEF.

[0396] S105, PCF 80 sends a second request to SMF 70, where the second request includes PDU set QoS parameters.

[0397] The second request also includes SDF description information, which is used to determine the data corresponding to the SDF. The SDF description information and PDU Set QoS parameters are used to describe the data corresponding to the SDF, which needs to meet the QoS requirements indicated by the PDU Set QoS parameters.

[0398] In one possible implementation, the second request is sent through the PCF initiated SM Policy Association Modification process, and PCF 80 sends an Npcf_SMPolicyControl_UpdateNotify request message to SMF 70, where the message includes Policy and Charging Control (PCC) rules, and the PCC rules include PDU set QoS parameters.

[0399] In a possible implementation, the second request is sent through the SM Policy Association Modification Establishment process, SMF 70 sends Npcf_SMPolicyControl_Create to PCF 80, and PCF 80 replies with a response message Npcf_SMPolicyControl_CreateResponse to SMF 70, which includes PCC rules, and the PCC rules include PDU set QoS parameters.

[0400] S106, SMF 70 determines to initiate execution of the PDU session modification process to establish a first QoS Flow, and SMF 70 generates a first identifier for the first QoS Flow.

[0401] The first QoS Flow is used to transmit data corresponding to the SDF, and based on the PDU Set QoS parameter, PDU Set-based control is performed on the first QoS Flow.

[0402] In a possible implementation, the SMF 70 determines to initiate execution of a PDU session modification process in response to receiving the second request to establish a first QoS Flow, and the SMF generates a first identifier for the first QoS Flow.

[0403] In one possible implementation, in response to receiving the second request, the SMF 70 determines to initiate execution of a PDU session modification process to establish a first QoS Flow, where the first QoS Flow belongs to the PDU Session established in S102. The SMF generates a first identifier for the first QoS Flow. Simultaneously, the SMF 70 determines that the first QoS Flow is used to transmit relay data, i.e., data transmitted between the network and the second UE 55 via the first QoS flow and actually belonging to the first UE 50. For example, in downlink, data sent by the network to the second UE 55 via the first QoS flow will be sent by the second UE 55 to the first UE 50 via the first link (i.e., relayed to the first UE 50 via the second UE 55). In uplink, the second UE 55 receives data from the first UE 50 via the first link, and the second UE 55 sends the uplink data to the network device via the first QoS flow (i.e., relayed to the network via the second UE 55). The SMF 70 determines the PDU Set QoS parameters used by the second link based on the PDU Set QoS parameters included in the second request, such as the PDU Set QoS parameters of the Uu interface link. The PDU Set QoS parameters used by the second link are associated with the first QoS Flow.

[0404] The first identifier is a QoS flow identifier (QoS Flow Identifier, QFI).

[0405] S107, SMF 70 sends a first N4 message to UPF 75, the first N4 message indicates the establishment of a first QoS Flow, and the first N4 message includes a first identifier.

[0406] In one possible implementation, the first N4 message is an N4 session modification request.

[0407] S108: SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message is used to instruct the second UE 55 to establish the first QoS flow, and the first N2 message is used to instruct the RAN 60 to establish the first QoS flow. The first N2 message includes the PDU set QoS parameters for the second link, a first identifier, and first information. The first identifier is used to indicate the first QoS flow, for example, the first identifier is a QoS flow identifier (QFI). The first information is used to indicate that the QoS flow is used to transmit relay data. The combination of the first identifier and the first information indicates that the first QoS flow is used to transmit relay data.

[0408] When SMF 70 determines that the first QoS flow is used to transmit relay data, it includes the first information in the SM information of the first N2 message. Furthermore, SMF 70 sends the first information when it determines that at least one of the following conditions is met: the second UE 55 performs the L3 Relay function or the Wi-Fi hotspot function, or performs PDU Set-based control of the first QoS flow (based on PDU Set QoS parameters). If SMF 70 determines that the scenario is L2 Relay, it does not need to send the first information (because RAN 60 is aware of the presence of the first UE 50).

[0409] The RAN 60 determines, based on the first information, the first identifier, and the PDU Set QoS parameter, to perform PDU Set-based QoS control (first QoS processing) on ​​the first QoS Flow on the second link in combination with the first link status.

[0410] In one possible embodiment, when the first information is set to a first value (for example, "true"), it indicates that the corresponding first QoS Flow is used to transmit relay data, and when the first information is set to a second value (for example, "false"), it indicates that the data transmitted by the corresponding QoS Flow is non-relay data.

[0411] In one possible implementation, the first N1 message and the first N2 message are sent to the AMF 65 via Namf_Communication_N1N2MessageTransfer.

[0412] In a possible implementation, it may be sent when a session (PDU session) is modified or established.

[0413] S109a, AMF 65 sends a first N1 message to the second UE 55 through RAN 60.

[0414] S109b, AMF 65 sends a first N2 message to RAN 60.

[0415] The first N2 message includes first information, where the first information is used to indicate to the RAN 60 that the first QoS Flow associated with it is used to transmit relay data.

[0416] S110, RAN 60 sends a first N2 response message to AMF 65, where the first N2 response message indicates that QoS processing can be performed with PDU set as the granularity.

[0417] S111, AMF 65 sends a first transmission message to SMF 70, and the first transmission message indicates that QoS processing can be performed with PDU set as the granularity.

[0418] Specifically, it instructs the RAN 60 to perform QoS processing based on the granularity of PDU set.

[0419] S112, SMF 70 sends a second N4 message to UPF 75, and the second N4 message instructs UPF 75 to identify the PDU set information corresponding to the data transmitted through the first QoS Flow.

[0420] The PDU set information includes, but is not limited to, a PDU set sequence number, an indication of the last PDU in the PDU set, a PDU sequence number of the PDU set, a PDU set size (e.g., size in bytes), or an importance of the PDU set. The importance of the PDU set is used to identify the importance of the PDU set relative to other PDU sets in the relay data transmitted by the first QoS flow. In the presence of congestion, the RAN 60 can discard data packets with relatively low PDU set importance by determining the importance of the PDU Set in the first QoS flow.

[0421] In one possible implementation, the SMF 70 instructs the UPF 75 to identify the PDU set based on the protocol description in the Packet Detection Rule (PDR) to derive the PDU Set information of the relay data transmitted by the first QoS flow, and send it to the RAN 60 through the downlink GTP-U header of each PDU identified as belonging to the PDU Set. PDU Set identification can be implemented by the UPF 75 or completed by inspecting the RTP / SRTP header or payload.

[0422] In a possible implementation, when the first downlink data is Real-time Transport Protocol (RTP) or Secure Real-time Transport Protocol (SRTP), the identification action can be specifically derived from the packet header or from the payload of the first downlink data.

[0423] S113: The second UE 55 initiates a first link modification procedure.

[0424] In one possible implementation, second UE 55 initiates PC5 link modification to create a new PC5 QoS flow or modify an existing PC5 QoS flow. This PC5 QoS flow is used to transmit data between second UE 55 and first UE 50, which was transmitted by second UE 55 via the first QoS flow. Specifically, in the downlink, relayed data received by second UE 55 via the first QoS flow is sent to first UE 50 via this PC5 QoS flow. In the uplink, data received by second UE 55 from first UE 50 via this PC5 QoS flow is transmitted to the network via the first QoS flow.

[0425] In a possible implementation, the second UE 55 uses the Wi-Fi link to transmit XR service data between the second UE 55 and the first UE 50 .

[0426] The data transmission process of the first solution is shown in Figure 7:

[0427] S114, UPF 75 receives the first downlink data sent by AF 85.

[0428] UPF 75 derives the PDU Set information from the application layer or PDU layer of the first downlink data. For example, when the first downlink data is a video service, UPF 75 can deduce that the data packets split from the same video frame belong to the same PDU Set in this way.

[0429] S115, UPF 75 sends a first data packet to RAN 60, the first data packet includes first data and second data, the first data includes first PDU set information and the first PDU Set, the second data includes second PDU set information and the second PDU Set, the first PDU Set and the second PDU Set are both at least part of the data in the first downlink data transmitted through the first QoS Flow, the first PDU set information indicates the characteristics of the first PDU Set, and the second PDU set information indicates the characteristics of the second PDU Set.

[0430] The first data message may also be referred to as second downlink data.

[0431] In a possible implementation, the PDU set information is added to a GTP-U header field of a data packet of the first data.

[0432] S116 : The second UE 55 sends a third message to the RAN 60 .

[0433] The second UE 55 may send the third message to the RAN 60 in real time according to the link status, or periodically. In this case, this step has no temporal relationship with other steps in the solution. In another case, this step may also be triggered by transmission data.

[0434] Here, if the second UE 55 sends the message through the control plane, it is the third message. At this time, the second UE 55 can send it directly to the RAN 60 through the RRC message, or send it to the core network through the NAS message, and then send it to the RAN 60 by the core network device; if it is sent through the user plane, it is sent in the form of information.

[0435] In one embodiment, the third message includes the first link status (explicit);

[0436] In one embodiment, the third message does not include the first link status, and the RAN 60 derives the first link status (implicitly) based on the third message.

[0437] In one embodiment, the third message includes the status of the first link between the second UE 55 and the first UE 50, such as the status of PC5 or Wi-Fi. Alternatively, the third message directly instructs the RAN 60 to discard low-importance PDU sets. The direct indication of packet loss may be due to congestion in the link between the second UE 55 and the first UE 50, such as when the transmission rate, latency, or packet loss rate is below a certain threshold compared to an average level.

[0438] RAN 60 may also determine the first link status based on its own judgment. In the case of self-judgment, step S116 may be omitted. The specific self-judgment is as follows:

[0439] In one possible implementation, the RAN 60 determines the status of the first link based on the first link radio resource requested by the second UE 55 and the availability of the resources. For example, if the RAN 60 cannot meet the first link radio resource demand of the second UE 55, or if the first link radio resource demand of the second UE 55 exceeds the resources available for allocation by the RAN 60, the RAN 60 determines that the status of the first link has deteriorated or that the first link is congested.

[0440] In one possible implementation, the RAN 60 determines the status of the first link based on the perception of the status report of the first link by the second UE 55. For example, a step is added in which the second UE 55 determines the status of the first link and reports the status of the first link to the RAN 60 via an RRC message.

[0441] In one possible implementation, the RAN 60 determines the status of the Wi-Fi link based on a report from the second UE 55 to the RAN 60. For example, when the Uu interface link status is good but the Wi-Fi link status is poor, the RAN 60 directly discards the less important data on the Uu interface link. For example, the first PDU Set may be of high importance and the second PDU Set may be of low importance. Corresponding tags may be added or the differences between the PDU Sets themselves may be used to distinguish them. A link status level of 0 indicates that the PC5 link status is good, and a link status level of 1 indicates that the PC5 link status is poor. When the link status level is 0, both the first and second PDU Sets are transmitted. When the link status level is 1, the less important second PDU Set is discarded and only the first PDU Set is transmitted.

[0442] In one possible implementation, whether the state of the first link is deteriorating or congested is determined based on information such as the data transmission rate and latency on the first link. For example, when the rate is lower than a preset threshold and the latency exceeds a preset threshold, the state of the first link can be considered to be deteriorating or congested.

[0443] S117 , the RAN 60 obtains the second link status.

[0444] In a possible implementation, the RAN 60 obtains the status of the Uu interface link between the second UE 55 and the RAN 60 .

[0445] In a possible implementation, the RAN 60 obtains the information through periodic measurement messages.

[0446] In a possible implementation, the RAN 60 obtains the link status once before data transmission, and also periodically obtains the link status during data transmission.

[0447] S118 , the RAN 60 obtains the first PDU Set and the second PDU Set from the first data packet.

[0448] The first PDU Set and the second PDU Set are merely exemplary, and the first data packet may include multiple PDU Sets. The first data packet is the data packet corresponding to the SDF, that is, the relay data transmitted by the first QoS Flow.

[0449] S119 , upon receiving the first information, the RAN 60 determines a first QoS processing of the first PDU Set and the second PDU Set in the second link according to the third message and the second link status.

[0450] In a possible implementation manner, the RAN 60 determines the first PDU Set and the second PDU Set through the first PDU Set information and the second PDU Set information in S115.

[0451] In one possible implementation, the RAN 60 determines the state of the Uu interface link obtained in S117 in combination with the state of the first link obtained in S116. That is, the transmission control of the second link must be combined with the transmission capacity of the first link (for example, the current maximum transmission capacity, which may be information such as data transmission rate and latency). For example, based on the two link states, when the current transmission capacity of the first link cannot meet the transmission requirements of the relay data transmitted on the first QoS Flow in the second link, packet loss is performed on the second link according to the importance level of the relay data (for example, discarding a PDU Set with low importance), thereby ensuring that the data transmitted by the first QoS Flow in the second link can be transmitted to the first UE 50 through the first link (equivalent to ensuring priority transmission of a PDU Set with high importance).

[0452] Or directly determine according to the packet loss indication obtained in S116: on the second link, based on the PDU Set, for data transmitted through the first QoS Flow, discard the PDU Set with low importance.

[0453] In a possible implementation, when the link status is good, the RAN 60 transmits the data to the second UE 55 based on the PDU Set granularity according to the requirements of the PDU Set QoS parameters in the first N2 message.

[0454] In one possible implementation, based on the transmission capability of the first link, different packet loss mechanisms are implemented for the first QoS Flow in the second link for different first link transmission capabilities. A mapping relationship is set between different first link transmission capabilities and the importance of PDU Sets in the second link. Furthermore, different transmission capabilities may correspond to different link status levels, and different packet loss mechanisms are implemented for different link status levels. A mapping relationship is set between the first link status level and the importance of PDU Sets to be discarded. For a predefined first link status level, the RAN 60 discards packets of corresponding importance based on the PDU Set granularity. For example, if there are eight importance levels for PDU Sets to be discarded, if the first link congestion level is 1, PDU Sets of importance level 8 are discarded. If the first link congestion level is 2, PDU Sets of importance levels 8 and 7 are discarded. Based on the different definitions of the first link status levels, the second UE 55 can report the status level of the first link, or information such as the transmission rate and latency of the first link, or information about the deterioration or congestion of the first link to the RAN 60. The importance of PDU Sets is described in S116.

[0455] In a possible implementation, the second UE 55 may also directly notify the RAN 60 to discard a PDU Set of specific importance on the Uu interface link, such as a second PDU Set of lower importance, based on the link status of WiFi or PC 5 .

[0456] This method of discarding low-priority PDU Sets by the RAN 60 avoids unnecessary waste of transmission resources and improves user experience. For example, in a hypothetical scenario, if the PC5 link is congested and the RAN 60 does not discard unimportant PDU Sets on the Uu interface, then due to the rate limitation of the PC5 link, important PDU Sets may be discarded, resulting in a degraded user experience.

[0457] S120 , the RAN 60 sends at least one of the first PDU Set and the second PDU Set to the second UE 55 according to the first QoS process.

[0458] In a possible implementation, the RAN 60 sends the downlink data to the second UE 55 through a data radio bearer (DRB) of a Uu interface link.

[0459] In a possible implementation, when the status of the first link is good, the RAN 60 may send all PDU Sets to the second UE 55 according to the second link PDU Set QoS parameters.

[0460] S121 , the second UE 55 sends at least one of the first PDU Set and the second PDU Set to the first UE 50 .

[0461] In one possible implementation, using the method of this embodiment, in a L3 relay and Wi-Fi hotspot scenario, the SMF 70 instructs the RAN 60 to perform the first QoS processing on the first data packet sent to the first UE 50 at the PDU Set granularity. The first data packet is within the first QoS Flow. The RAN 60 then determines the first QoS processing based on the status of the second link and the third message reported by the second UE 55. By considering the status of the first link when performing the first QoS processing on the second link, this avoids packet loss at the second UE 55 due to poor or congested first link status, which could waste transmission resources between the RAN 60 and the second UE 55.

[0462] The above steps in this embodiment can be combined into a complete process. This embodiment also provides another implementation method, which is described in detail below.

[0463] The pre-process of the second solution is the same as that in FIG5 .

[0464] The signaling process of the second solution is shown in FIG8 , which differs from the process in FIG6 in the following steps:

[0465] S208, SMF 70 sends a first N1 message and a first N2 message to AMF 65, the first N1 message indicates the establishment of a first QoS Flow, the first N1 message includes first information and a first identifier, the first identifier indicates the first QoS Flow; the first N2 message includes PDU Set QoS parameters.

[0466] The main difference between this step and S108 is that in this step, the first information is included in the first N1 message and is ultimately sent to the second UE, whereas in S108, the first information is included in the first N2 message and is ultimately sent to the RAN.

[0467] In one possible implementation, the first information included in the first N1 message may be an indication parameter indicating that the first QoS Flow is used to transmit relay data and / or that the first QoS Flow performs PDU Set-based QoS control. The first information may also be an indication parameter indicating that the first QoS Flow is used to transmit relay data and / or a PDU Set QoS parameter, and the second UE 55 determines that the first QoS Flow performs PDU Set-based QoS control based on the PDU Set QoS parameter. Here, the first QoS Flow performs PDU Set-based QoS control, i.e., QoS processing.

[0468] In a possible implementation, the first information is included in the SM information of the first N2 message only when the SMF 70 determines that the PDU session or the first QoS flow is used to transmit relay data and / or perform QoS control based on the PDU Set.

[0469] In a possible implementation, when the first information is set to a first value, it indicates that the data transmitted by the corresponding QoS Flow is relay data; when the first information is set to a second value, it indicates that the data transmitted by the corresponding QoS Flow is non-relay data.

[0470] In one possible implementation, the first N1 and the first N2 messages are sent to the AMF 65 via Namf_Communication_N1N2MessageTransfer.

[0471] In a possible implementation, it may be sent when a session (PDU session) is modified or established.

[0472] S213: The second UE 55 sends a first request message to the RAN 60, where the first request message includes a first identifier and second information.

[0473] In a possible implementation, before this step, the second UE 55 transmits the first information and the first identifier obtained from the first N1 message to the AS layer of the second UE 55, so that the AS layer of the second UE 55 can send the first request message to the RAN 60. For example, the AS layer of the second UE 55 sends the first request message to the RAN 60 through an RRC message.

[0474] In one possible implementation, the second UE 55 determines that the first QoS Flow is used to transmit relay data (this may be based on the first information in S208, or the second UE 55 determines it on its own, for example, the second UE 55 determines that the PDU Session is used to transmit relay data, and the first QoS Flow belongs to this PDU Session) and / or the first QoS Flow performs PDU Set-based QoS control (based on the first information described in S208), and sends a first request message. Based on the first request message, the RAN 60 determines to perform PDU Set-based QoS control on the first QoS Flow on the second link in combination with the first link state and the second link state. Further, based on the first request message and the PDU Set QoS parameters included in the first N2 message, the RAN 60 determines to perform PDU Set-based QoS control on the first QoS Flow on the second link in combination with the first link state and the second link state (here, the first QoS Flow performing PDU Set-based QoS control is the first QoS processing).

[0475] S214 , the RAN 60 sends a first response message to the second UE 55 .

[0476] The data transmission process of the second solution is the same as that of FIG7 .

[0477] Through this implementation, in the L3 relay and Wi-Fi scenario, the second UE 55 instructs the RAN 60 to perform the first QoS processing on the first data packet sent to the first UE 50 at the PDU Set granularity. The first data packet is in the first QoS flow. The RAN 60 then determines the first QoS processing based on the status of the second link and the third message reported by the second UE 55. By considering the status of the first link when performing the first QoS processing on the second link, this avoids packet loss at the second UE 55 due to poor or congested first link status, which would waste transmission resources from the RAN 60 to the second UE 55.

[0478] In addition to the above two solutions based on L3 Relay, this embodiment also provides a third solution, which is a solution based on L2 Relay, which is described in detail below.

[0479] The third solution differs from the previous two in that it is based on an L2 Relay network architecture. In this scenario, RAN 60 can independently detect the QoS flow used to transmit relay data without requiring any instructions. This is explained in detail below with reference to the diagram.

[0480] FIG9 shows the pre-process of the third solution. Compared with FIG5 , the difference lies in the changes caused by different network architectures after the first UE 50 and the second UE 55 establish a link connection in S302a. The main steps are:

[0481] S302b: The first UE 50 establishes a link connection with the RAN 60 through the second UE 55. During the establishment process, the RAN 60 learns that the second UE 55 performs L2 relay for the first UE 50.

[0482] S303 , based on the L2 Relay architecture, the first UE 50 establishes a relay PDU session with the network through the second UE 55 .

[0483] The signaling process of the third solution is shown in FIG10 . In this implementation, the RAN 60 can independently perceive the first QoS Flow for transmitting relay data without any instructions. Therefore, the process when the SMF 70 sends the N1 message and the N2 message is different from the process in the above L3 Relay solution. The specific difference lies in the following steps:

[0484] S309, SMF 70 sends a first N1 message and a first N2 message to AMF 65, the first N1 message indicates the establishment of a first QoS Flow, the first N2 message includes a PDU Set QoS parameter and a first identifier, and the first identifier indicates the first QoS Flow.

[0485] That is, the first N2 message here does not carry any additional related information for indicating the QoS Flow of the relay data to the RAN 60 .

[0486] The data transmission process of the third solution is the same as that of FIG7 .

[0487] In general, this implementation utilizes the Layer 2 relay scenario, allowing the RAN 60 to determine, through its own perception, whether to perform the first QoS processing on the first data packet sent to the first UE 50, at the PDU Set granularity. The first data packet is within the first quality of service flow. The RAN 60 then determines the first QoS processing based on the status of the second link and the third message reported by the second UE 55. By factoring the status of the first link into the first QoS processing on the second link, this avoids packet loss at the second UE 55 due to poor or congested first link status, which could waste transmission resources between the RAN 60 and the second UE 55.

[0488] In addition to the three solutions of this embodiment, another implementation solution is provided. The second embodiment is described in detail below.

[0489] Example 2

[0490] This embodiment is an implementation method for the second UE 55 to combine the subsequent link status and link requirements when transmitting data. Depending on how to obtain the link requirements, two solutions are specifically included, which are described in detail below with reference to the diagram.

[0491] The pre-process of the first solution is shown in Figure 11. Compared with Figure 5, the difference lies in the following process:

[0492] S402b, a relay PDU session is established. During the establishment of the relay PDU session, the SMF 70 learns that the second UE 55 performs L3 relay for the first UE 50, and the second UE 55 has at least one of the first capability, the second capability, or the third capability. The first capability is used to indicate that the second UE 55 has the ability to perform PDU Set QoS control in the first link, the second capability is used to indicate that the second UE 55 has the ability to determine the PDU Set information corresponding to the data message by parsing the data message, and the third capability is used to indicate that the second UE 55 has the ability to perform the relay function (including, for example, L3 Relay, L2 Relay, or Wifi Relay).

[0493] In one embodiment, after the first, second, and third capabilities are reported to the SMF 70, the SMF 70 determines to perform PDU Set-based QoS control on the first link (sending PC5 PDU Set QoS parameters to the second UE 55 and / or instructing the RAN 60 to send PDU Set information for downlink data to the second UE 55), as described in S409. Furthermore, after the SMF 70 learns the first and third capabilities reported by the second UE 55 (only if the second UE 55 possesses the first and third capabilities can PDU Set-based QoS control be performed on the first link), it determines to perform PDU Set-based QoS control on the first link. With respect to the second capability, the SMF 70 determines to have the second UE 55 derive the PDU Set information, or to have the second UE 55 parse the data packets sent by the RAN 60 to obtain the PDU Set information.

[0494] The signaling process of the first solution is shown in Figure 12. Compared with Figure 8, the difference lies in the following steps:

[0495] S406: The SMF 70 determines a first PDU Set QoS parameter for the first link based on the PDU Set QoS parameter.

[0496] In a possible implementation, the SMF 70 determines the first PDU Set QoS parameter of the first link based on the PDU Set QoS parameter in the second request.

[0497] In one possible implementation, the SMF 70 determines a first PDU Set QoS parameter for the first link and a second PDU Set QoS parameter for the second link based on the PDU Set QoS parameter. The first PDU Set QoS parameter includes but is not limited to any of the following:

[0498] PC5 PDU Set Delay Budget (PC5-PSDB): The upper limit of the delay that data may experience when transmitted between the second UE 55 and the first UE 50 at the PDU Set granularity.

[0499] ·PC5 PDU Set Error Rate (PC5-PSER): used to set the ratio of the number of PDU Sets that have been processed by the second UE but not successfully processed by the first UE. Including a first preset error rate that the first ratio must be less than or equal to, the first ratio is the ratio of the first PDU Set number to the second PDU Set number, the first PDU Set number is the number of PDU Sets that have been sent by the second UE but not successfully received by the first UE, and the second PDU Set number is the number of PDU Sets that have been sent by the second UE. In other words, the upper limit of the ratio of PDU sets that have been processed by the link layer protocol of the sender (for example, the RLC layer in the second UE 55 using 3GPP access) but have not been successfully sent to the upper layer (for example, the PDCP layer in the first UE 50 using 3GPP access) by the corresponding receiver.

[0500] PC5 PDU Set Integrated Handling Information (PC5-PSIHI): Indicates whether the receiving application layer needs to process all PDUs in the entire PDU Set, including decoding. Or, whether the receiving side needs all PDUs in the entire PDU Set.

[0501] S409, SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message indicates the establishment of a first QoS Flow. The first N1 message includes a first identifier and a first PDU Set QoS parameter. The first identifier indicates the first QoS Flow; the first N2 message includes a PDU Set QoS parameter.

[0502] In a possible implementation, the first N2 message further includes: the SMF 70 instructs the RAN 60 to add PDU Set information to the header of the relay data packet subsequently sent to the second UE 55. This corresponds to the scenario in which the RAN 60 sends the PDU Set information in S419 below.

[0503] In a possible implementation, only when the second UE 55 reports at least one of the first capability, the second capability, or the third capability in S402b, the first N1 message includes the first PDU Set QoS parameter.

[0504] In one possible implementation, the first N1 and the first N2 messages are sent to the AMF 65 via Namf_Communication_N1N2MessageTransfer.

[0505] In a possible implementation, it may be sent when a session (PDU session) is modified or established.

[0506] In a possible implementation, the first N1 message may include first indication information; after receiving the first indication information, the second UE 55 determines in S414 to parse the PDU Set information corresponding to the downlink data after receiving the downlink data.

[0507] In one possible implementation, the first N1 message includes the first identifier and the first PDU Set QoS parameter, but does not include the first indication information. In this case, after receiving the first identifier and the first PDU Set QoS parameter, the second UE 55 determines in S414 that, upon subsequently receiving downlink data, the second UE 55 parses the PDU Set information corresponding to the downlink data.

[0508] In a possible implementation, the first PDU Set QoS parameter may be a PC5 PS QoS parameter.

[0509] In a possible implementation manner, the PDU Set QoS parameter included in the first N2 message is for the second link.

[0510] S414: If the second UE 55 receives downlink data, it determines the PDU Set information corresponding to the downlink data.

[0511] In one possible implementation, after receiving the first N1 message, the second UE 55 determines to parse the PDU Set information corresponding to the PDU Set in the downlink data after receiving the downlink data. Furthermore, the second UE 55 determines to perform PDU Set-based QoS control on the first link based on the PC5 PS QoS parameters included in the first N1 message, and parses the corresponding PDU Set information for data subsequently received through the first QoS Flow. In this manner, the RAN 60 adds the PDU Set information to the downlink data, for example, by adding the PDU Set information to the AS layer header of the downlink data.

[0512] In one possible implementation, after receiving the first N1 message, the second UE 55 determines to derive PDU Set information corresponding to the PDU Set in the downlink data after receiving the downlink data. Furthermore, the second UE 55 determines to perform PDU set-based QoS control on the first link based on the PC5 PS QoS parameters included in the first N1 message, and derives the corresponding PDU set information for data subsequently received through the first QoS Flow. In scenarios where derivation is required, the second UE 55 obtains the PDU Set information by deriving the application layer and / or transport layer packet header of the data, for example, deriving the PDU Set information based on the RTP / SRTP layer packet header information of the data. The execution method is as described in S420.

[0513] S415, RAN 60 determines to include PDU Set information when sending downlink data to Relay UE after receiving the downlink data sent by UPF 75.

[0514] This step is optional, that is, the RAN 60 may not add the PDU Set information when sending downlink data to the second UE 55 .

[0515] The data transmission process of the first solution is shown in FIG13 . The difference from FIG7 is that when data is transmitted to the RAN 60:

[0516] S419 , the RAN 60 sends a second data packet to the second UE 55 , where the second data packet includes third data and fourth data, where the third data includes the first PDU Set, and the fourth data includes the second PDU Set.

[0517] The second data packet here is different from the first data packet because the protocol stack between the RAN 60 and the UPF 75 is different from the protocol stack between the RAN 60 and the second UE 55, so different packet headers are used.

[0518] In a possible implementation manner, the second data packet may also be referred to as third downlink data.

[0519] After receiving the third message and obtaining the first data packet, the RAN 60 may process the first data packet in at least two ways, depending on whether it is determined in S415 to send the PDU Set information to the second UE 55:

[0520] Method 1: Obtain the first PDU Set information from the first header, obtain the second PDU Set information from the second header, set the first PDU Set information in the third header, and set the second PDU Set information in the fourth header; the third data includes the third header and the first PDU Set, and the fourth data includes the fourth header and the second PDU Set. The third header is located in the second data message and corresponds to the first PDU Set; the fourth header is located in the second data message and corresponds to the second PDU Set.

[0521] The manner in which the RAN 60 sends the PDU Set information to the second UE 55 may be to send the PDU Set information to the second UE 55 through the AS layer, for example, in any of the following manners:

[0522] This may be achieved through enhanced SDAP. As shown in FIG14 , the SDAP data sent by the RAN 60 to the second UE 55 includes PDU Set information (PSI 01 in the figure).

[0523] A new PSI layer may be added on top of SDAP, where the PSI layer includes PDU Set information, as shown in FIG15 , which includes PSI layer 02 and PSI layer 03 in the second UE 55 and the RAN 60 in the protocol stack.

[0524] The PDCP layer can be enhanced by adding PDU Set information in the PDCP layer header. This solution is applicable to L3 relay scenarios.

[0525] The RLC layer can be enhanced by adding PSI information in the RLC layer header. This solution is applicable to L2 and L3 relay scenarios.

[0526] A new PSI layer may be added above the Adaptation layer. The PSI layer includes PDU Set information. This solution is applicable to the L2 relay scenario. As shown in FIG16 , in the protocol stack, the newly added PSI layer may be the PSI layer 56 and PSI layer 61 in the second UE 55 and the RAN 60.

[0527] Method 2: The first PDU Set information is obtained from the first header, and the second PDU Set information is obtained from the second header. The first PDU Set information is not set in the third header, and the second PDU Set information is not set in the fourth header. The third data includes the third header and the first PDU Set, and the fourth data includes the fourth header and the second PDU Set. The third header is located in the second data message, and the fourth header is located in the second data message. Furthermore, the third header does not include information corresponding to the first PDU Set, and the fourth header does not include information corresponding to the second PDU Set.

[0528] S420: The second UE 55 obtains the first PDU Set, the second PDU Set, the first PDU Set information, and the second PDU Set information according to the second data message.

[0529] In one embodiment, the second UE 55 directly obtains the first PDU Set, the second PDU Set, the first PDU Set information, and the second PDU Set information from the second data message. This embodiment corresponds to Mode 1 in S418. The second UE 55 can directly and quickly obtain the above content from the second data message.

[0530] In one embodiment, the first PDU Set and the second PDU Set are directly obtained from the second data message; the first PDU Set information and the second PDU Set information are derived from the second data message. This embodiment corresponds to method 2 in S418. The second UE 55 can directly and quickly obtain the first PDU Set and the second PDU Set from the second data message; but cannot directly and quickly obtain the first PDU Set information and the second PDU Set information from the second data message. In this embodiment, the second UE 55 needs to derive the first PDU Set information and the second PDU Set information based on the second data message, which is time-consuming. For example, the second UE 55 recognizes the first PDU Set and the second PDU Set, and determines the first PDU Set information and the second PDU Set information by detecting the header or payload of the transport layer or application layer (for example, RTP / SRTP) in the second data message.

[0531] Furthermore, in any of the above embodiments, after obtaining the first PDU Set, the second PDU Set, the first PDU Set information, and the second PDU Set information from the second data message, the first PDU Set information and the second PDU Set information are passed to the AS layer.

[0532] S421: The second UE 55 determines a first QoS processing of the first PDU Set and the second PDU Set in the first link according to the first PDU Set QoS parameter, the first PDU Set information and the second PDU Set information.

[0533] The first QoS processing is based on the PDU Set granularity, and tries to meet the first PDU Set QoS parameters. When problems such as network or link congestion occur, PDU Sets with low importance are discarded.

[0534] S422: The second UE 55 sends at least one of the first PDU Set and the second PDU Set according to the first QoS processing.

[0535] In addition to the above technical solutions, this embodiment also provides a second implementation method, which is described in detail below.

[0536] The pre-process of the second solution is shown in Figure 17. The difference from Figure 5 is as follows:

[0537] S501a, PCF 80 learns that the second UE 55 has at least one of the first capability, the second capability, or the third capability, the first capability being used to perform PDU Set QoS control in the first link, the second capability being used to parse PDU Set information corresponding to downlink data, and the third capability being the capability to perform the relay function.

[0538] In a possible implementation, the PCF 80 learns the capabilities of the second UE 55 during or after the second UE 55 registers with the network;

[0539] During the process of registering the network, the second UE 55 sends a registration request message to the AMF 65, where the registration request message includes at least one of the first capability, the second capability, or the third capability, and the AMF 65 sends a message to the PCF 80, where the message includes at least one of the first capability, the second capability, or the third capability.

[0540] S501b, the PCF 80 configures, for the second UE 55, a first mapping relationship between the first PDU Set QoS parameter of the first link and the second PDU Set QoS parameter of the second link.

[0541] In a possible implementation, as an alternative to S501a and S501b, the first mapping relationship may be factory-set or pre-configured. In this case, steps S501a and S501b may be directly replaced.

[0542] Step S503b of establishing the relay PDU session can be combined with step S501b in step S503b.

[0543] The signaling process of the second solution is shown in Figure 18. Compared with Figure 12, the main differences are the following steps:

[0544] S507: The SMF 70 determines a second PDU Set QoS parameter for the second link based on the PDU Set QoS parameter.

[0545] In a possible implementation, the SMF 70 determines the second PDU Set QoS parameter of the second link based on the PDU Set QoS parameter in the second request.

[0546] In one possible implementation, the SMF 70 determines a first PDU Set QoS parameter for the first link and a second PDU Set QoS parameter for the second link based on the PDU Set QoS parameter.

[0547] S510, SMF 70 sends a first N1 message and a first N2 message to AMF 65, the first N1 message indicates the establishment of a first QoS Flow, the first N1 message includes a first identifier and a second PDU Set QoS parameter, the first identifier indicates the first QoS Flow; the first N2 message includes a PDU Set QoS parameter.

[0548] In a possible implementation, only when the second UE 55 reports at least one of the first capability, the second capability, or the third capability in S402b, the first N1 message includes the second PDU Set QoS parameter.

[0549] In a possible implementation, the first N1 and the first N2 messages are sent to the AMF via Namf_Communication_N1N2MessageTransfer.

[0550] In a possible implementation, it may be sent when a session (PDU session) is modified or established.

[0551] In a possible implementation, the first N1 message may include first indication information; after receiving the first indication information, the second UE 55 determines in S515b to parse the PDU Set information corresponding to the downlink data after receiving the downlink data.

[0552] In a possible implementation, the first N1 message does not include the first indication information, but includes a first identifier and a second PDU Set QoS parameter; after the second UE 55 receives the first identifier and the second PDU Set QoS parameter, it determines in S515b to parse the PDU Set information corresponding to the downlink data after receiving the downlink data.

[0553] In a possible implementation manner, the second PDU Set QoS parameter may be a PDU Set QoS parameter for a Uu interface link.

[0554] S515a: The second UE 55 obtains the first PDU Set QoS parameter based on the first mapping relationship and the second PDU Set QoS parameter.

[0555] The data transmission process of the second solution is the same as that of Figure 13. The mechanism by which the second UE 55 obtains the PDU Set information is also the same as the mechanism listed in the first solution. Hereinafter, when the data transmission process is the same, unless otherwise specified, it indicates that the mechanism for obtaining the PDU Set information is also the same.

[0556] In addition to implementing the technical solutions in the two embodiments described above separately, the present application can also use the technical solutions of the two embodiments in combination, which is equivalent to controlling two nodes on the network to obtain a more complete technical effect.

[0557] Example 3

[0558] This embodiment implements a method in which the network comprehensively considers two subsequent link states or link requirements when transmitting data, and the relay device second UE 55 also considers the subsequent link state or link requirements. This embodiment combines the first solution in Example 1 with the first solution in Example 2. The following describes this method in detail with reference to Figures 19-22.

[0559] First is the first solution, which is a combination of the first implementation method of Example 1 and the second implementation method of Example 2.

[0560] The pre-process of the first solution is the same as that in FIG11 .

[0561] The signaling process of the first solution is a combination of Figures 6 and 12, as shown in Figure 19. The changes caused by this combination are as follows:

[0562] S609, SMF 70 sends a first N1 message and a first N2 message to AMF 65, the first N1 message indicates the establishment of a first QoS Flow, the first N1 message includes a first PDU Set QoS parameter, the first N2 message includes a PDU Set QoS parameter, a first identifier and first information, the first identifier indicates the first QoS Flow, and the first information indicates that the first QoS Flow transmits relay data.

[0563] In a possible implementation, the first N1 and the first N2 messages are sent to the AMF via Namf_Communication_N1N2MessageTransfer.

[0564] In a possible implementation, it may be sent when a session (PDU session) is modified or established.

[0565] In a possible implementation, the first N1 message may include first indication information; after receiving the first indication information, the second UE 55 determines in S614 to parse the PDU Set information corresponding to the downlink data after receiving the downlink data;

[0566] In one possible implementation, the first N1 message does not include the first indication information, but includes a first identifier and a first PDU Set QoS parameter; after receiving the first identifier and the first PDU Set QoS parameter, the second UE 55 determines in S614 to parse the PDU Set information corresponding to the downlink data after receiving the downlink data;

[0567] In a possible implementation, the first PDU Set QoS parameter is applied to the first link. For example, when the first link is PC5, the parameter may be a PC5 PS QoS parameter.

[0568] The data transmission process for the first solution is shown in Figure 20, which is a combination of Figures 7 and 13. Downlink data is transmitted from the server via UPF 75 to RAN 60 for processing, similar to Figure 7. The data is transmitted from RAN 60 to first UE 50, similar to Figure 13. It should be noted that while the downlink data message in this process only illustrates two data packets, including two PDU Sets, there are actually more. In this embodiment, when the RAN 60 and the second UE 55 process the data packets separately, it is possible that each of the RAN 60 and the second UE 55 discards certain data (PDU Sets) based on their respective processing.

[0569] This embodiment also provides another implementation method for the combined technical solution. The second implementation method of this embodiment is introduced below.

[0570] The second solution is specifically a combination of the first implementation method of the first embodiment and the second implementation method of the second embodiment.

[0571] The pre-process of the second solution is the same as Figure 17.

[0572] The signaling process of the second solution is a combination of Figure 6 and Figure 18, as shown in Figure 21. The changes caused by the combination are:

[0573] At step S710, the SMF 70 sends a first N1 message and a first N2 message to the AMF 65. The first N1 message indicates the establishment of a first QoS flow and includes a first identifier and a second PDU Set QoS parameter. The first identifier indicates the first QoS flow. The first N2 message includes the PDU Set QoS parameter and first information. The first information indicates that the first QoS flow transmits relay data. The AMF 65 sends the first N1 message to the second UE 55 and the first N2 message to the RAN 60. This process includes both step S108 of Figure 6 and step S510 of Figure 18.

[0574] The data transmission process of the second solution is the same as that in Figure 20.

[0575] This embodiment also provides another implementation method for the combined technical solution. The third solution of this embodiment is introduced below.

[0576] The third solution is specifically a combination of the second implementation method of the first embodiment and the first implementation method of the second embodiment.

[0577] The pre-process part of the third solution is the same as the first implementation method of the second embodiment, that is, FIG11 .

[0578] The signaling process of the third solution is shown in Figure 22, which is a combination of Figure 8 and Figure 12. It has all the processes of these two figures. Specifically, the main difference is that

[0579] S809: SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message indicates the establishment of the first QoS flow and includes first information, a first identifier, and first PDU Set QoS parameters. The first identifier indicates the first QoS flow; the first N2 message includes PDU Set QoS parameters. This is a combination of the steps in the two figures.

[0580] The data transmission process of the third solution is the same as that in FIG20 .

[0581] This method is used in the L3 relay scenario:

[0582] First, the SMF 70 instructs the RAN 60 through the second UE 55 to determine the relay data. The RAN 60 integrates the conditions of the first link and the second link and determines the first QoS processing for the relay data based on the PDU Set granularity.

[0583] Secondly, the SMF 70 sends the first PDU Set QoS parameter to the second UE 55, and the second UE 55 determines the second QoS processing of the relay data on the first link based on the PDU Set information corresponding to each PDU Set of the relay data.

[0584] This embodiment also provides another implementation method for the combined technical solution. The fourth solution of this embodiment is introduced below.

[0585] The fourth solution is specifically a combination of the second implementation method of the first embodiment and the second implementation method of the second embodiment.

[0586] The pre-process part of the fourth solution is the same as that of Figure 17.

[0587] The signaling process of the fourth solution is a combination of Figure 8 and Figure 18, which has all the processes of these two figures. Specifically, the main difference is that:

[0588] SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message indicates the establishment of the first QoS flow and includes first information, a first identifier, and a second PDU Set QoS parameter. The first identifier indicates the first QoS flow; the first N2 message includes the PDU Set QoS parameter. This is a combination of the steps in the two figures.

[0589] The data transmission process of the fourth solution is the same as that of Figure 20.

[0590] This method is used in the L3 relay scenario:

[0591] First, the SMF 70 instructs the RAN 60 through the second UE 55, so that the RAN 60 determines the relay data, and comprehensively considers the conditions of the first link and the second link, and determines the first QoS processing for the relay data based on the PDU Set granularity.

[0592] Secondly, SMF 70 sends the second PDU Set QoS parameter to the second UE 55. The second UE 55 determines the first PDU Set QoS parameter based on the mapping relationship obtained in the previous process and the parameter. Then, the first PDU Set QoS parameter is combined with the PDU Set information corresponding to each PDU Set of the relay data to determine the second QoS processing of the relay data on the first link.

[0593] This embodiment also provides another implementation method for the combined technical solution. The fifth solution of this embodiment is introduced below.

[0594] This solution is specifically a combination of the third solution of Example 1 and the first solution of Example 2.

[0595] The pre-process of the fifth solution is the same as that in FIG9 .

[0596] The signaling process of the fifth solution is a combination of Figure 10 and Figure 12, including all the processes in these two figures. The main difference is that:

[0597] SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message indicates the establishment of the first QoS flow and includes a first identifier and a first PDU Set QoS parameter. The first identifier indicates the first QoS flow. The first N2 message includes the PDU Set QoS parameter and the first identifier. This is a combination of the steps in the two figures.

[0598] The data transmission process of the fifth solution is the same as that in FIG20 .

[0599] This solution is used in the L2 relay scenario:

[0600] First, the RAN 60 can independently determine the relay data based on the L2 relay. The RAN 60 comprehensively considers the conditions of the first link and the second link and determines the first QoS processing for the relay data based on the PDU Set granularity.

[0601] Secondly, the SMF 70 sends the first PDU Set QoS parameter to the second UE 55, and the second UE 55 determines the second QoS processing of the relay data on the first link based on the PDU Set information corresponding to each PDU Set of the relay data.

[0602] This embodiment also provides another implementation method for the combined technical solution. The sixth solution of this embodiment is introduced below.

[0603] Specifically, this solution is a combination of the third implementation method of Example 1 and the second implementation method of Example 2.

[0604] The pre-process of the sixth solution is the same as that in FIG9 .

[0605] The signaling process of the sixth solution is a combination of Figure 10 and Figure 18, including all the processes in these two figures. The main difference is that:

[0606] SMF 70 sends a first N1 message and a first N2 message to AMF 65. The first N1 message indicates the establishment of the first QoS flow and includes a first identifier and a second PDU Set QoS parameter. The first identifier indicates the first QoS flow; the first N2 message includes the PDU Set QoS parameter. This is a combination of the steps in the two figures.

[0607] The data transmission process of the sixth solution is the same as that in FIG20 .

[0608] The six solutions described above combine the control capabilities of the network and relay wireless devices during data transmission, providing users with a better user experience for real-time link status. In addition to the above solutions of this embodiment, as described above, there is another solution, which is described below in Example 4.

[0609] Example 4

[0610] This embodiment is an implementation method for the wearable device first UE 50 to comprehensively consider the subsequent two link states or link requirements when transmitting uplink data. Compared with the downlink data scenario described above, there is also a scenario where the first UE 50 initiates uplink data triggering.

[0611] As for the process before data is sent, the process of establishing the first QoS Flow between the second UE 55 and the RAN 60 is still the same as the previous embodiments. This is because the first UE 50 can trigger the AF 85 to send the first request through the application data uplinked by the second UE 55. Therefore, alternatively, the steps after the link modification process is initiated by the second UE 55 as shown in Figure 7 can be the process as shown in Figure 23.

[0612] S1214: The second UE 55 sends a fourth message to the first UE 50, where the fourth message includes at least one of the second link status, the first PDU Set QoS parameter of the first link, or the second PDU Set QoS parameter of the second link.

[0613] Here, if the second UE 55 sends the message via the control plane, it is the fourth message; if it is sent via the user plane, it is sent in the form of information.

[0614] In one possible implementation, the fourth message includes the second link status (explicit);

[0615] In a possible implementation, the fourth message does not include the second link status, and the first UE 50 derives the second link status (implicitly) based on the fourth message.

[0616] In one possible implementation, the fourth message includes the status of the second link between the second UE 55 and the RAN 60, such as the status of the Uu interface link; or the fourth message directly instructs the first UE 50 to discard a PDU set of low importance. The direct indication of packet loss may be due to network or link congestion between the second UE 55 and the RAN 60, such as transmission rate, latency, or packet loss rate that is lower than a certain threshold compared to an average level.

[0617] In a possible implementation, the first UE 50 determines the Uu interface link status based on measurement by the second UE 55 or information sent by the RAN 60 .

[0618] In one possible implementation, whether the second link status is deteriorating or congested is determined based on information such as the data transmission rate and latency on the second link. For example, when the rate is lower than a preset threshold and the latency exceeds a preset threshold, the link status of the second link can be considered to be deteriorating or congested.

[0619] In a possible implementation, when delivering the second PDU Set QoS parameter, the first UE 50 obtains the first PDU Set QoS parameter through the first mapping relationship acquired in advance.

[0620] S1215: The first UE 50 obtains a first link status.

[0621] Before sending uplink data, the first UE 50 first obtains the first link state between the second UE 55 and the first UE 50 by, for example, measurement or notification from the second UE 55 .

[0622] S1216: The first UE 50 determines a first PDU Set and a second PDU Set and their corresponding PDU Set information for the first data message.

[0623] Because the first UE 50 constructs the first data message by itself, the first UE 50 can determine the PDU Set information corresponding to each PDU Set of the first data message.

[0624] In a possible implementation, the first UE 50 includes PDU Set information in a protocol header of the PDU Set.

[0625] In a possible implementation manner, the first data message may also be the first uplink data.

[0626] S1217: The first UE 50 determines a first QoS processing of the first PDU Set and the second PDU Set in the first link according to the fourth message, the first link status, and the PDU Set information.

[0627] The QoS processing here can also be expressed as QoS control.

[0628] In one possible implementation, the first UE 50 comprehensively determines the Uu interface link status obtained in S1215 and the PC5 / Wifi link status obtained in S1216; or directly determines according to the packet loss indication obtained in S1216: the first data packet is processed in the first QoS of the PC5 / Wifi link with PDU Set as the granularity.

[0629] In a possible implementation, when the link status is good, the first UE 50 transmits to the second UE 55 based on the PDU Set granularity according to the requirements of the first PDU Set QoS parameters.

[0630] In one possible implementation, the first UE 50 may also determine a specific link state level based on information such as the data transmission rate and latency of the PC5 link state, implement different packet loss mechanisms for different link state levels, and establish a mapping relationship between the PC5 link state level and the importance of a PDU set. For a given PC5 link state level, the RAN 60 discards packets of corresponding importance based on PDU set granularity. Based on different definitions of the PC5 link state level, the second UE 55 may report the PC5 link state level, or information such as the transmission rate and latency of the PC5 link, or information indicating that the PC5 link state is deteriorating or congested, to the RAN 60. For example, the first PDU Set may be of high importance and the second PDU Set may be of low importance; a link state level of 0 indicates a good PC5 link state, while a link state level of 1 indicates a poor PC5 link state. When the link state level is 0, both the first and second PDU Sets are transmitted. When the link state level is 1, the second PDU Set of lower importance is discarded, and only the first PDU Set is transmitted.

[0631] In a possible implementation, the second UE 55 may also directly notify the first UE 50 to discard a PDU Set of specific importance on the first link based on the Uu link status, such as the second PDU Set of lower importance.

[0632] This method of discarding low-priority PDU Set data packets by the first UE 50 can avoid unnecessary waste of transmission resources.

[0633] S1218, the first UE 50 sends a first data packet to the second UE 55 according to the first QoS processing, the first data packet includes first data and second data, the first data includes first PDU set information and a first PDU Set, the second data includes second PDU set information and a second PDU Set, the first PDU Set and the second PDU Set are both at least part of the data in the first downlink data transmitted through the first QoS Flow, the first PDU set information indicates the characteristics of the first PDU Set, and the second PDU set information indicates the characteristics of the second PDU Set.

[0634] In a possible implementation manner, the first data and the second data may not include PDU Set information.

[0635] After the uplink data is transmitted to the second UE 55, the possible process is shown in FIG24

[0636] S1219 , the second UE 55 sends second uplink data to the RAN 60 , where the second uplink data includes third data and fourth data, where the third data includes the first PDU Set information and the first PDU Set, and the fourth data includes the second PDU Set information and the second PDU Set.

[0637] In a possible implementation, the first data and the second data do not include PDU Set information, and the second UE 55 derives the PDU Set information on its own and processes the second uplink data according to the PDU Set granularity.

[0638] In a possible implementation manner, the third data and the fourth data may not include PDU Set information.

[0639] In a possible implementation, the second data message may also be second uplink data.

[0640] S1220: RAN 60 determines a second QoS process based on PDU Set granularity in the third link.

[0641] The RAN 60 can make the determination itself when it is based on the SMF 70 instruction, the second UE 55 instruction or the L2 Relay architecture.

[0642] The PDU Set information is directly obtained from the third message sent by the second UE 55 (the second UE 55 includes the PDU Set information in the packet header) or it is inferred that the second UE 55 does not include the PDU Set information in the packet header.

[0643] The third link may be the N3 interface between the RAN 60 and the UPF 75 .

[0644] In a possible implementation, the RAN 60 does not include PDU Set information.

[0645] In a possible implementation, the RAN 60 does not perform additional processing and uploads data as normal data without using the PDU Set granularity.

[0646] S1221, RAN 60 sends third uplink data to UPF 75 according to the second QoS processing, where the third uplink data includes fifth data and sixth data, where the fifth data includes first PDU Set information and the first PDU Set, and the sixth data includes second PDU Set information and the second PDU Set.

[0647] In a possible implementation manner, the fifth data and the sixth data may not include PDU Set information.

[0648] In a possible implementation, according to the optional options in S1220 , the upload here does not consider the PDU Set.

[0649] In a possible implementation manner, the third data packet may also be third uplink data.

[0650] S1222, UPF 75 sends the fourth uplink data.

[0651] The above process of sending data messages can be used in combination with the signaling processes of the above embodiments.

[0652] The above-described method of the embodiment of the present application is applicable to a communication system. The communication system includes a first server, a first network device, a first wireless device, and a first terminal. The first server executes the steps of the above-described method of the embodiment of the present application performed by the server AF 85; the first network device executes the steps of the above-described method of the embodiment of the present application performed by the AMF 65, SMF 70, UPF 75, and PCF 80; the first wireless device executes the steps of the above-described method of the embodiment of the present application performed by the RAN 60; and the first terminal executes the steps of the above-described method of the embodiment of the present application performed by the first UE 50 and the second UE 55.

[0653] The present application also provides a chip that may include an input interface, an output interface, and a processing circuit. In the present application, the input interface and the output interface may be used to implement signaling or data interaction involving a first server, a first network device, a first wireless device, or a first terminal, and the processing circuit may be used to implement generation and processing of signaling or data information involving the first server, the first network device, the first wireless device, or the first terminal.

[0654] The present application also provides a chip system, including a processor for supporting a computing device to implement the functions involved in any of the above embodiments. In one possible design, the chip system may also include a memory for storing necessary program instructions and data. When the processor executes the program instructions, the device in which the chip system is installed implements the method involved in any of the above embodiments by the first server, the first network device, the first wireless device, or the first terminal. For example, the chip system may be composed of one or more chips, or may include chips and other discrete devices.

[0655] An embodiment of the present application also provides a processor for coupling with a memory, wherein the memory stores instructions. When the processor executes the instructions, the processor executes the methods and functions involved by the first server, the first network device, the first wireless device or the first terminal in any of the above embodiments.

[0656] An embodiment of the present application also provides a computer program product comprising instructions, which, when running on a first server, a first network device, a first wireless device, or a first terminal, enables the first server, the first network device, the first wireless device, or the first terminal to execute the methods and functions involved by the first server, the first network device, the first wireless device, or the first terminal in any of the above embodiments.

[0657] An embodiment of the present application also provides a computer-readable storage medium having computer instructions stored thereon. When a processor executes the instructions, the processor executes the methods and functions involved in any of the above embodiments by the first server, the first network device, the first wireless device or the first terminal.

[0658] For example, FIG25 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The device may be a terminal or a network device, or a chip (system) or other component or assembly that can be provided in a terminal or a network device. As shown in FIG25 , the device 2500 may include a processor 2501. Optionally, the device 2500 may further include a memory 2502 or a transceiver 2503. The processor 2501 is coupled to the memory 2502 and the transceiver 2503, such as by a communication bus.

[0659] The following is a detailed introduction to the various components of the device 2500 with reference to FIG25 :

[0660] Processor 2501 is the control center of device 2500 and can be a single processor or a collective term for multiple processing elements. For example, processor 2501 can be one or more central processing units (CPUs), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).

[0661] Optionally, the processor 2501 can perform various functions of the device 2500 by running or executing software programs stored in the memory 2502 and calling data stored in the memory 2502.

[0662] In a specific implementation, as an embodiment, the processor 2501 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 25 .

[0663] In a specific implementation, as an embodiment, the apparatus 2500 may also include multiple processors, such as the processor 2501 and the processor 2504 shown in FIG25 . Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0664] Among them, the memory 2502 is used to store the software program for executing the solution of this application, and the execution is controlled by the processor 2501. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0665] Alternatively, the memory 2502 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2502 may be integrated with the processor 2501 or exist independently and be coupled to the processor 2501 through an interface circuit (not shown in FIG8 ) of the device 2500. This embodiment of the present application does not specifically limit this.

[0666] Transceiver 2503 is used for communication with other communication devices. For example, if device 2500 is a terminal, transceiver 2503 can be used to communicate with a network device or another terminal device. For another example, if device 2500 is a network device, transceiver 2503 can be used to communicate with a terminal device or another network device.

[0667] Optionally, the transceiver 2503 may include a receiver and a transmitter (not shown separately in FIG25 ), wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0668] Optionally, the transceiver 2503 can be integrated with the processor 2501, or can exist independently and be coupled to the processor 2501 through the interface circuit of the device 2500 (not shown in Figure 25). This embodiment of the present application does not specifically limit this.

[0669] It should be noted that the structure of the device 2500 shown in Figure 25 does not constitute a limitation on the device 2500. The actual device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0670] In addition, the technical effects of the device 2500 can refer to the technical effects of the methods described in the above method embodiments, and will not be repeated here.

[0671] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software, which can be executed by a controller, microprocessor, or other computing device. Although various aspects of the embodiments of the present application are shown and described as block diagrams, flow charts, or using some other graphical representations, it should be understood that the blocks, devices, systems, techniques, or methods described herein can be implemented as, for example, non-limiting examples, hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.

[0672] The present application also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer-executable instructions, such as instructions included in program modules, which are executed in a device on a real or virtual processor of a target to perform the process / method described above with reference to the accompanying drawings. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. In various embodiments, the functionality of program modules can be combined or divided between program modules as needed. The machine-executable instructions for the program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.

[0673] The computer program code for implementing the method of the present application can be written in one or more programming languages. These computer program codes can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the computer or other programmable data processing device, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server.

[0674] In the context of this application, computer program code or related data may be embodied by any suitable carrier to enable a device, apparatus, or processor to perform the various processes and operations described above. Examples of carriers include signals, computer-readable media, and the like. Examples of signals may include electrical, optical, radio, acoustic, or other forms of propagated signals, such as carrier waves, infrared signals, and the like.

[0675] A computer-readable medium may be any tangible medium that contains or stores a program for or in connection with an instruction execution system, apparatus, or device. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More detailed examples of computer-readable storage media include an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0676] In addition, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that these operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can change the order of execution. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps. It should also be noted that the features and functions of two or more devices according to the present application can be embodied in one device. Conversely, the features and functions of a device described above can be further divided into multiple devices to be embodied.

[0677] In the embodiments of the present application, as used in the specification of the present application and the appended claims, the singular expressions "a," "the," "the," and "the" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one," "one or more" means one or more (including two).

[0678] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0679] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0680] It should be noted that, without introducing any conflicts or contradictions, all or part of any embodiment of the present application and any features in any embodiment can be combined with each other, and the combined technical solutions are also within the scope of the present application.

[0681] The above descriptions of various implementations of the present application are provided by way of example only, and are not exhaustive or intended to limit the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to facilitate explanation of the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various embodiments disclosed herein.

Claims

1. A communication method, applied to a first network device, wherein the first network device communicates with a second user equipment UE, It is characterized in that The method comprises: receiving a first message, wherein the first message includes an identifier of a first quality of service flow QoS Flow and a first QoS parameter based on a protocol data unit set PDU Set; The first network device determines that the second UE provides the first UE with a function of supporting connection to a data network; According to a first link state and a second link state, a first processing based on a PDU set is performed on the first QoS flow, wherein the first link is a communication link between the first UE and the second UE, the second link is a communication link between the second UE and the first network device, the first QoS flow belongs to the first UE or the second UE, the first link state indicates a state of the first link, and the second link state indicates a state of the second link.

2. The method according to claim 1, wherein the first QoS flow belongs to a second UE, include: receiving first indication information; The second UE determines based on the first network device that it provides the first UE with a function of supporting connection to a data network.

3. The method according to claim 2, It is characterized in that The method further comprises, The first indication information is used to indicate: The first QoS Flow is used for the second UE to transmit relay data, where the relay data includes data transmitted between the first UE and a data network through the second UE; or, The second UE provides the first UE with a function of supporting connection to the network through the first QoS flow.

4. The method according to any one of claims 1 to 3, It is characterized in that The first indication information is first information sent from the second network device; or, The first indication information is second information sent from the second UE.

5. The method according to any one of claims 1 to 3, It is characterized in that The method comprises: The second UE provides the first UE with a function of supporting connection to a data network through an L3 relay or a WiFi hotspot.

6. The method according to claim 1, wherein the first QoS flow belongs to a first UE, and the method further include: It is determined that the second UE provides the first UE with a function of supporting connection to a data network through an L2 relay.

7. The method according to any one of claims 1 to 6, It is characterized in that The method comprises: Receive second indication information, where the second indication information is used to indicate: When sending downlink data transmitted through the first QoS flow to the second UE, PDU Set information corresponding to the downlink data is sent to the second UE.

8. The method according to any one of claims 1 to 7, wherein the first network device determines to perform the first processing on the first QoS flow according to a first link state and a second link state, It is characterized in that The method comprises: receiving a first data packet for downlink transmission in the first QoS flow, and acquiring first data and second data from the first data packet; According to the first process, at least one of the first data or the second data is sent to the second UE.

9. The method according to claim 8, It is characterized in that Before sending at least one of the first data or the second data to the second UE according to the first process, the method includes: The first processing of the first data and the second data in second link transmission is determined, wherein the first processing is determined according to the first link state and the second link state.

10. The method according to claim 8 or 9, It is characterized in that When the first link state indicates a first state, the first processing indicates a first processing mode; or, When the first link state indicates a second state, the first processing indicates a second processing mode; The first state is different from the second state, and the first processing method is different from the second processing method.

11. The method according to claim 10, It is characterized in that The first data includes a first protocol data unit set PDU Set and first PDU Set information, and the second data includes a second PDU Set and second PDU Set information, the first PDU Set information indicates a feature of the first PDU Set, and the second PDU Set information indicates a feature of the second PDU Set.

12. The method according to claim 11, It is characterized in that According to the first link state and the second link state, including: according to the first link state, the second link state, the first PDU Set information and the second PDU Set information.

13. The method according to claim 12, It is characterized in that When the first link state indicates the first state, the first state is congestion, and the first PDU Set is more important than the second PDU Set, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set; The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

14. The method according to claim 12, It is characterized in that When the first link state indicates the first state, the first state is congestion, and the first PDU Set is important and the second PDU Set is not important, the first processing manner is to send the first PDU Set in the second link and discard the second PDU Set; The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

15. The method according to claim 12, It is characterized in that When the first link state indicates the second state, the second state is non-congested, and the first PDU Set is more important than the second PDU Set, the second processing manner is to send the first PDU Set and the second PDU Set in the second link; The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

16. The method according to claim 12, It is characterized in that When the first link state indicates the second state, the second state is non-congested, and the first PDU Set is important and the second PDU Set is not important, the second processing manner is to send the first PDU Set and the second PDU Set in the second link; The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

17. A communication method, applied to a second user equipment UE, the second UE communicates with a first UE, the first UE communicates with a data network through the second UE, It is characterized in that The method comprises: Acquire a first parameter, where the first parameter indicates a QoS control parameter of a first quality of service flow QoS Flow based on a protocol data unit set PDU Set, where the first QoS Flow is a QoS Flow used for communication between the first UE and the second UE; A second process based on the PDU set is performed on the first quality of service flow QoS Flow.

18. The method according to claim 17, It is characterized in that The first parameter is acquired by the second UE from a second network device; or, The first parameter is obtained by the second UE according to a second parameter, and the second parameter is obtained by the second UE from a second network device.

19. The method according to claim 17 or 18, It is characterized in that The first parameter includes but is not limited to at least one of the following parameters: PC5 protocol data unit set delay budget (PC5 PDU Set Delay Budget, PC5-PSDB), used to set the transmission delay of any PDU Set between the first UE and the second UE to be less than or equal to a first preset delay; PC5 PDU Set Error Rate (PC5-PSER), used to set the ratio of the number of PDU Sets that have been processed by the second UE but not successfully processed by the first UE; or PC5 protocol data unit set integrated handling information (PC5-PSIHI) is used to set whether the first UE needs all PDUs in the PDU Set.

20. The method according to any one of claims 17 to 19, It is characterized in that The method further comprises: Sending first indication information to the first network device, where the first indication information is used to instruct the second UE to provide the first UE with a function of supporting connection to a data network.

21. The method according to claim 20, performing a second process based on a PDU set on the first quality of service flow QoS Flow, It is characterized in that sending at least one of the first data or the second data to the first UE, wherein the second processing is associated with the first parameter, the first PDU Set information, and the second PDU Set information; The first PDU Set information indicates characteristics of the first PDU Set, the second PDU Set information indicates characteristics of the second PDU Set, the first PDU Set information is obtained based on the third data, and the second PDU Set information is obtained based on the fourth data.

22. The method according to claim 21, It is characterized in that The first PDU Set information is obtained according to the third data, and the second PDU Set information is obtained according to the fourth data, including: The first PDU Set information is obtained from the third data, the third data includes the first PDU Set information, the second PDU Set information is obtained from the fourth data, and the fourth data includes the second PDU Set information; or, The first PDU Set information is derived based on the third data, and the second PDU Set information is derived based on the fourth data.

23. The method according to claim 22, wherein the first PDU Set information is derived from the third data, and the second PDU Set information is derived from the fourth data, It is characterized in that The first terminal determines the first PDU Set information corresponding to the third data and the second PDU Set information corresponding to the fourth data by parsing the packet header information of the first protocol layer corresponding to the third data and the packet header information of the first protocol layer corresponding to the fourth data; The first protocol layer is the IP layer or a protocol layer above the IP layer.

24. The method according to any one of claims 21 to 23, It is characterized in that The second process is associated with the first parameter, the first PDU Set information, and the second PDU Set information, including: The second processing is associated with the first parameter, a first link state, the first PDU Set information and the second PDU Set information, wherein the first link is a transmission link between the second UE and the first UE, the first QoS flow is a QoS Flow on the first link, and the first link state indicates a state of the first link.

25. The method according to claim 24, It is characterized in that The method comprises: When the first link state indicates that the first link is congested, and the first PDU Set is more important than the second PDU Set, the second processing is to send the first PDU Set in the first link and discard the second PDU Set; The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

26. The method according to claim 25, It is characterized in that The method comprises: When the first link state indicates that the first link is congested, and the first PDU Set is important and the second PDU Set is not important, the second processing is to send the first PDU Set in the first link and discard the second PDU Set; The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

27. The method according to claim 25 or 26, It is characterized in that The method comprises: When the first link state indicates that the first link is not congested, and the first PDU Set is more important than the second PDU Set, the second process is to send the first PDU Set and the second PDU Set in the first link; The first PDU Set is more important than the second PDU Set, which is obtained according to the first PDU Set information and the second PDU Set information; or When the first link state indicates that the first link is not congested, and the first PDU Set is important and the second PDU Set is not important, the second process is to send the first PDU Set and the second PDU Set in the first link; The first PDU Set is important and is obtained based on the first PDU Set information, and the second PDU Set is unimportant and is obtained based on the second PDU Set information.

28. A communication method, applied to a first user equipment UE, the first UE communicates with a second UE, the first UE communicates with an access network device through the second UE, It is characterized in that The method comprises: Before uplink transmitting the first data message to the second UE, determining first data and second data from the first data message; sending at least one of the first data or the second data to the second UE according to a first process, the first process being associated with a first link state and a second link state; The first link state indicates the state of the first link, the second link state indicates the state of the second link, the first link is the communication link between the first UE and the second UE, and the second link is the communication link between the second UE and the access network device.

29. The method according to claim 28, It is characterized in that The first data includes a first protocol data unit set PDU Set and first PDU Set information, the second data includes a second PDU Set and second PDU Set information, the first PDU Set information indicates a feature of the first PDU Set, and the second PDU Set information indicates a feature of the second PDU Set; According to the first link state and the second link state, including: according to the first link state, the second link state, the first PDU Set information and the second PDU Set information.

30. The method according to claim 28 or 29, It is characterized in that The method comprises: When the second link state indicates a first state, the first processing indicates a first processing mode; or, When the second link state indicates a second state, the first processing indicates a second processing mode; The first state is different from the second state, and the first processing method is different from the second processing method.

31. The method according to claim 30, It is characterized in that The method comprises: When the first link state indicates the first state, the first state is congestion, and the first PDU Set is more important than the second PDU Set, the first processing manner is to send the first PDU Set in the first link and discard the second PDU Set; The first PDU Set is more important than the second PDU Set, which is obtained based on the first PDU Set information and the second PDU Set information.

32. The method according to claim 30 or 31, It is characterized in that The method comprises: When the first link state indicates the second state, the second state is not congested, and the first PDU Set is important and the second PDU Set is not important, the first processing manner is to send the first PDU Set and the second PDU Set in the first link; The first PDU Set is important, and the second PDU Set is not important, which is obtained according to the first PDU Set information and the second PDU Set information.

33. A first network device, wherein the first network device communicates with a second user equipment UE, the second UE communicates with a first UE, and the first UE communicates with a data network through the second UE, It is characterized in that The first network device comprises: processor, A memory coupled to the processor, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, the first network device executes the method according to any one of claims 1 to 16.

34. A user equipment UE, It is characterized in that include: processor, A memory coupled to the processor, the memory storing computer instructions, when the computer instructions are executed by the processor, causes the UE to perform the method according to any one of claims 17 to 27 or the method according to any one of claims 28 to 32.

35. A computer-readable storage medium storing computer instructions. It is characterized in that When the computer instructions are executed, the method according to any one of claims 1 to 16, any one of claims 17 to 27, or any one of claims 28 to 32 is executed.

36. A chip comprising a processor and a memory coupled to the processor, It is characterized in that The memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 16, any one of claims 17 to 27, or any one of claims 28 to 32 is performed.

37. A computer program product stored on a computer readable storage medium, It is characterized in that When the computer program product is executed, the method according to any one of claims 1 to 16, any one of claims 17 to 27, or any one of claims 28 to 32 is executed.

Citation Information

Patent Citations

  • Communication method and device

    CN118843161A

  • Quality of service (QoS) monitoring method

    CN114173368A

  • Method and device used for wireless communication

    CN115396980A

  • Link state detection method, communication device and communication system

    CN115915196A

  • Methods and apparatus for supporting differentiated quality of service in sidelink relays

    WO2022155138A1