Communication method, apparatus, and system

By processing data from remote UEs based on the authentication results of the data network, the problem of low communication efficiency of remote terminal devices when the secondary authentication is not completed is solved, and efficient data transmission and resource conservation are achieved.

WO2024234987A1PCT designated stage expired Publication Date: 2024-11-21HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/090375
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-13
Filing Date
2024-04-28
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

In a 5G communication system, remote terminal devices cannot efficiently transmit data to the data network without completing secondary authentication, resulting in a decrease in communication efficiency.

Method used

The relay terminal device receives data from the remote UE and processes these data according to the authentication results of the data network, including sending data when authentication is successful, discarding data when authentication fails, using storage policies to manage data to save resources, and to remote UE Send instructions to guide subsequent operations.

Benefits of technology

Improve the communication efficiency of remote UEs, ensure successful data transmission to the data network, reduce resource waste, and save storage and transmission resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024090375_21112024_PF_FP_ABST
    Figure CN2024090375_21112024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a communication method, the method comprising: relay UE receiving and storing data from remote UE, obtaining a result of authentication of the remote UE by a DN, and then processing the data on the basis of the result of the authentication. On the basis of the described technical solution, communication efficiency of the remote UE can be improved when the DN needs to authenticate an accessed remote UE.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device and system

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 13, 2023, with application number 202310541378.1 and invention name “A communication method, device and system”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of communications, and more specifically, to a communication method, device, and system. Background Art

[0003] To ensure network security in fifth-generation (5G) communications systems, carrier networks must perform primary authentication on devices accessing the network. This involves authenticating and authorizing the device's identity. Only after passing primary authentication can a device access the carrier network and request a protocol data unit (PDU) session to access various services on the data network (DN).

[0004] With the development of vertical industries and the Internet of Things, DNs outside the operator network also have the need to authenticate and authorize certain terminal devices connected to the DN, that is, the need for secondary authentication (SA). This authentication method allows DNs outside the operator network to authenticate and authorize terminal devices through the operator network.

[0005] Remote terminal devices in adjacent services can communicate with the DN through relay terminals and access services on the DN. In the case that the DN requires secondary authentication for the remote terminal devices connected, how to improve the communication efficiency of the remote terminal devices is an issue that needs to be considered.

[0006] Summary of the Invention

[0007] An embodiment of the present application provides a communication method to improve the communication efficiency of a remote terminal device.

[0008] In the first aspect, a communication method is provided. The method can be executed by a relay terminal device, or can also be executed by a component of the relay terminal device (such as a chip or circuit). There is no limitation on this. For the sake of ease of description, the following is explained using the execution by the relay terminal device as an example.

[0009] It should be noted that the relay terminal device may also be referred to as relay user equipment (UE), and the remote terminal device may also be referred to as remote UE.

[0010] The method includes: receiving and storing data from a remote UE, obtaining a result of authentication of the remote UE by a data network, the data network being used to provide services to the remote UE through the relay UE, and processing the data based on the authentication result.

[0011] Based on the above technical solution, the relay UE can process the data of the remote UE in a targeted manner according to the result of the authentication of the remote UE by the data network, thereby improving the communication efficiency of the remote UE.

[0012] In conjunction with the first aspect, in certain implementations of the first aspect, if the authentication result is successful, processing the data based on the authentication result includes: sending the data to the data network. In this way, the relay UE sends the remote UE's data to the data network after successful authentication, ensuring that the remote UE's data can be successfully transmitted to the DN, thereby improving communication efficiency for the remote UE.

[0013] In conjunction with the first aspect, in certain implementations of the first aspect, if the authentication result is authentication failure, processing the data based on the authentication result includes discarding the data. Based on the above technical solution, if the authentication result obtained from the remote UE is authentication failure, the relay UE discards the data of the remote UE, i.e., does not send the data to the DN side, thereby avoiding waste of transmission resources.

[0014] In conjunction with the first aspect, in certain implementations of the first aspect, before obtaining the result of authentication of the remote UE by the data network, the method further includes: discarding the data according to a storage policy corresponding to the remote UE; and before sending the data to the data network, the method further includes: sending instruction information to the remote UE for instructing the remote UE to resend the data. This saves storage resources while avoiding the loss of data from the remote UE.

[0015] In conjunction with the first aspect, in certain implementations of the first aspect, before obtaining the result of authentication of the remote UE by the data network, the method further includes: discarding the data according to a storage policy corresponding to the remote UE; and processing the data based on the authentication result includes: if the authentication result is authentication failure, sending an indication to the remote UE indicating that the data has been discarded. This saves storage resources and allows the remote UE to clearly know that the data has been discarded, thereby achieving information synchronization.

[0016] In conjunction with the first aspect, in certain implementations of the first aspect, the method further includes: sending instruction information to the remote UE for instructing subsequent operations of the remote UE. This can clearly indicate the subsequent operations of the remote UE and reduce the processing complexity of the remote UE.

[0017] It should be noted that the subsequent operation of the remote UE may include any of the following: resending a message to the relay UE requesting direct communication, or releasing the connection with the relay UE, or establishing a connection with another relay UE or other data network.

[0018] In conjunction with the first aspect, in certain implementations of the first aspect, the storage strategy includes any one of the following: discarding the data after a maximum storage capacity is met; discarding the data after a maximum storage time is met; and requesting the remote UE to indicate a processing strategy for the data after the maximum storage time is met, the processing strategy including discarding the data. This can improve storage resource utilization.

[0019] In combination with the first aspect, in certain implementations of the first aspect, obtaining the result of authentication of the remote UE by the data network includes: receiving the authentication result from a session management function network element.

[0020] On the second aspect, a communication method is provided. The method can be executed by a relay UE, or can also be executed by a component of the relay UE (such as a chip or circuit). There is no limitation on this. For the sake of convenience of description, the following is explained using the execution by the relay UE as an example.

[0021] The method includes: obtaining a result of authentication of a remote UE by a data network, the data network being used to provide services for the remote UE through the relay UE; and sending a first message to the remote UE when the authentication result is successful, the first message being used to indicate that a direct communication connection between the relay UE and the remote UE has been successfully established, and the first message being further used to trigger the remote UE to send data.

[0022] It should be noted that the first message is also used to trigger the remote UE to send data. It can be understood that after the remote UE receives the first message, that is, after the direct communication connection between the relay UE and the remote UE is successfully established, the remote UE can send the data to the relay UE when it needs to send data.

[0023] Based on the above technical solution, when the relay UE obtains the authentication result of the remote UE as successful, it triggers the remote UE to send data, so that the data of the remote UE can be successfully transmitted to the DN side, thereby improving the communication efficiency of the remote UE.

[0024] In conjunction with the second aspect, in certain implementations of the second aspect, before obtaining the result of the data network's authentication of the remote UE, the method further includes: determining that the remote UE requires authentication. Optionally, the method further includes: triggering a session management function network element to initiate authentication; and receiving the result of the data network's authentication of the remote UE from the session management function network element. This allows the relay UE to trigger the session management function network element to initiate authentication if it determines that the remote UE requires authentication, thereby improving system processing efficiency.

[0025] In conjunction with the second aspect, in certain implementations of the second aspect, before determining that the remote UE needs to perform the authentication, the method further includes: obtaining the remote UE's subscription data; and determining that the remote UE needs to perform the authentication includes: determining that the remote UE needs to perform the authentication based on the subscription data, for example, determining that the remote UE needs to perform the authentication based on a comparison result between the subscription data and the subscription data of the relay UE. In this way, the relay UE can accurately determine that the remote UE needs authentication based on the remote UE's subscription data, thereby improving the accuracy of determining whether the remote UE needs authentication.

[0026] In conjunction with the second aspect, in certain implementations of the second aspect, before determining that the remote UE needs to perform the authentication, the method further includes receiving indication information from the remote UE indicating that the remote UE needs to perform the authentication; and determining that the remote UE needs to perform the authentication includes: determining that the remote UE needs to perform the authentication based on the indication information indicating that the remote UE needs to perform the authentication. In this way, the relay UE quickly and accurately learns that the remote UE needs authentication based on the indication sent by the remote UE.

[0027] On the third aspect, a communication method is provided. The method can be executed by a relay UE, or can also be executed by a component of the relay UE (such as a chip or circuit). There is no limitation on this. For the sake of convenience of description, the following is explained using the execution by the relay UE as an example.

[0028] The method includes: sending indication information to the remote UE for instructing the remote UE to avoid sending data; obtaining a result of authentication of the remote UE by a data network, the data network being used to provide services for the remote UE through the relay UE; and sending indication information to the remote UE for instructing the remote UE to perform subsequent operations when the authentication result is authentication failure.

[0029] It should be noted that the subsequent operation of the remote UE may include any of the following: resending a direct communication request message to the relay UE, or releasing the connection with the relay UE, or attempting to establish a connection with another relay UE or other data network.

[0030] Based on the above technical solution, before the relay UE obtains the authentication result of the remote UE from the DN, the remote UE sends instruction information to instruct the remote UE to refrain from sending data. If the relay UE obtains the authentication result of the remote UE as a failure, it sends instruction information to instruct the remote UE to perform subsequent operations. This improves the communication efficiency of the remote UE and reduces the waste of transmission resources.

[0031] In conjunction with the third aspect, in certain implementations of the third aspect, before receiving the authentication result from the session management function network element, the method further includes: determining that the remote UE needs to perform the authentication. This allows the relay UE to accurately determine whether the remote UE needs authentication, thereby improving the accuracy of determining whether the remote UE needs authentication.

[0032] In conjunction with the third aspect, in certain implementations of the third aspect, after determining that the remote UE needs to perform authentication, the method further includes: triggering a session management function network element to initiate the authentication; and obtaining a result of the data network authenticating the remote UE includes: receiving the result of the data network authenticating the remote UE from the session management function network element. In this way, the relay UE can accurately determine that the remote UE needs authentication, thereby improving the accuracy of determining whether the remote UE needs authentication.

[0033] In conjunction with the third aspect, in certain implementations of the third aspect, before determining that the remote UE needs to perform authentication, the method further includes: obtaining subscription data of the remote UE; and determining that the remote UE needs to perform authentication includes: determining that the remote UE needs to perform authentication based on the subscription data. In this way, the relay UE can accurately determine whether the remote UE needs authentication based on the subscription data of the remote UE, thereby improving the accuracy of determining whether the remote UE needs authentication.

[0034] In conjunction with the third aspect, in certain implementations of the third aspect, determining that the remote UE needs to perform the authentication based on the subscription data includes: determining that the remote UE needs to perform the authentication based on a comparison result between the subscription data and the subscription data of the relay UE. In this way, the relay UE can accurately determine that the remote UE needs authentication based on the comparison result between its own subscription data and the subscription data of the remote UE, thereby improving the accuracy of determining whether the remote UE needs authentication.

[0035] In conjunction with the third aspect, in certain implementations of the third aspect, before determining that the remote UE needs to perform the authentication, the method further includes: receiving indication information from the remote UE indicating that the remote UE needs to perform the authentication; and determining that the remote UE needs to perform the authentication includes: determining that the remote UE needs to perform the authentication based on the indication information indicating that the remote UE needs to perform the authentication. In this way, the relay UE can accurately determine that the remote UE needs authentication based on the indication information, thereby improving the accuracy of determining that the remote UE needs authentication.

[0036] In a fourth aspect, a communication method is provided, which includes: a remote terminal device sends data to a relay terminal device; the relay UE receives and stores the data from the remote UE; the relay UE obtains a result of authentication of the remote UE by a data network, and the data network is used to provide services to the remote UE through the relay UE; and the relay UE processes the data based on the result of the authentication.

[0037] In combination with the fourth aspect, in certain implementations of the fourth aspect, when the authentication result is successful, the relay UE processes the data based on the authentication result, including: the relay UE sends the data to the data network.

[0038] In combination with the fourth aspect, in certain implementations of the fourth aspect, when the authentication result is authentication failure, the relay UE processes the data based on the authentication result, including: discarding the data.

[0039] In combination with the fourth aspect, in certain implementations of the fourth aspect, before the relay UE obtains the result of the data network's authentication of the remote UE, the method also includes: the relay UE discards the data according to the storage policy corresponding to the remote UE; before the relay UE sends the data to the data network, the method also includes: the relay UE sends indication information to the remote UE for instructing the remote UE to resend the data; and the remote terminal device resends the data to the relay terminal device.

[0040] In combination with the fourth aspect, in certain implementations of the fourth aspect, before the relay UE obtains the result of the data network's authentication of the remote UE, the method also includes: the relay UE discards the data according to the storage policy corresponding to the remote UE; the relay UE processes the data based on the result of the authentication, including: when the result of the authentication is authentication failure, the relay UE sends an indication information to the remote UE to indicate that the data has been discarded.

[0041] In a fifth aspect, a communication method is provided, which includes: the relay UE obtains the result of the data network's authentication of the remote UE, and the data network is used to provide services to the remote UE through the relay UE; when the result of the authentication is successful, the relay UE sends a first message to the remote UE, and the first message is used to indicate that the direct communication connection between the relay UE and the remote UE is successfully established; the remote UE sends the data to the relay UE.

[0042] It should be noted that the first message is also used to trigger the remote UE to send data. It can be understood that after the remote UE receives the first message, that is, after the direct communication connection between the relay UE and the remote UE is successfully established, the remote UE can send the data to the relay UE when it needs to send data.

[0043] In combination with the fifth aspect, in certain implementations of the fifth aspect, before the relay UE obtains the result of the data network's authentication of the remote UE, the method further includes: the relay UE determining that the remote UE needs to perform the authentication.

[0044] In combination with the fifth aspect, in certain implementations of the fifth aspect, after the relay UE determines that the remote UE needs to perform the authentication, the method also includes: the relay UE triggers the session management function network element to initiate the authentication; the relay UE obtains the result of the data network's authentication of the remote UE, including: the relay UE receives the result of the data network's authentication of the remote UE from the session management function network element.

[0045] In the sixth aspect, a communication device is provided, which includes a transceiver unit, a storage unit and a processing unit. The transceiver unit is used to receive data from a remote UE; the storage unit is used to store data from the remote UE; the processing unit is used to obtain the result of authentication of the remote UE by the data network, and the data network is used to provide services to the remote UE through the relay UE; the processing unit is also used to process the data based on the result of the authentication.

[0046] In combination with the sixth aspect, in certain implementations of the sixth aspect, when the authentication result is successful, the processing unit is specifically used to: send the data to the data network.

[0047] In combination with the sixth aspect, in certain implementations of the sixth aspect, when the result of the authentication is authentication failure, the processing unit is specifically used to: discard the data.

[0048] In combination with the sixth aspect, in certain implementations of the sixth aspect, before obtaining the result of the data network's authentication of the remote UE, the processing unit is also used to: discard the data according to the storage policy corresponding to the remote UE; before sending the data to the data network, the transceiver unit is also used to: send an indication message to the remote UE to instruct the remote UE to resend the data.

[0049] In combination with the sixth aspect, in certain implementations of the sixth aspect, before obtaining the result of the data network's authentication of the remote UE, the processing unit is also used to: discard the data according to the storage policy corresponding to the remote UE; the transceiver unit is specifically used to: when the result of the authentication is authentication failure, send an indication information to the remote UE to indicate that the data has been discarded.

[0050] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send indication information to the remote UE for instructing subsequent operations of the remote UE.

[0051] In combination with the sixth aspect, in certain implementations of the sixth aspect, the storage strategy includes any one of the following: discarding the data after the maximum storage amount is met; discarding the data after the maximum storage time is met; requesting the remote UE to indicate a processing strategy for the data after the maximum storage time is met, and the processing strategy includes discarding the data.

[0052] In the seventh aspect, a communication device is provided, which includes a processing unit and a transceiver unit. The processing unit is used to obtain the result of the data network's authentication of the remote UE, and the data network is used to provide services to the remote UE through the relay UE; the transceiver unit, when the result of the authentication is successful, sends a first message to the remote UE, and the first message is used to indicate that the direct communication connection between the relay UE and the remote UE is successfully established. The first message is also used to trigger the remote UE to send data.

[0053] In combination with the seventh aspect, in certain implementations of the seventh aspect, before obtaining the result of the data network's authentication of the remote UE, the transceiver unit is further used to: send indication information to the remote UE to instruct the remote UE to avoid sending data.

[0054] In combination with the seventh aspect, in certain implementations of the seventh aspect, before obtaining the result of the data network's authentication of the remote UE, the processing unit is further used to: determine that the remote UE needs to perform the authentication.

[0055] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, after determining that the remote UE requires authentication, the transceiver unit is further configured to trigger a session management function element to initiate authentication; and the processing unit is specifically configured to receive, from the session management function element, a result of the data network authenticating the remote UE. Based on the above technical solution, the relay UE can accurately determine that the remote UE requires authentication and trigger the session management function element to initiate authentication, thereby improving the accuracy of determining that the remote UE requires authentication.

[0056] In combination with the seventh aspect, in certain implementations of the seventh aspect, before determining that the remote UE needs to perform the authentication, the processing unit is also used to: obtain the contract data of the remote UE; the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on the contract data.

[0057] In combination with the seventh aspect, in certain implementations of the seventh aspect, the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on a comparison result of the subscription data and the subscription data of the relay UE.

[0058] In combination with the seventh aspect, in certain implementations of the seventh aspect, before determining that the remote UE needs to perform the authentication, the transceiver unit is also used to: receive indication information from the remote UE indicating that the remote UE needs to perform the authentication; the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on the indication information indicating that the remote UE needs to perform the authentication.

[0059] In the eighth aspect, a communication device is provided, which includes a transceiver unit and a processing unit. The transceiver unit is used to send indication information to the remote UE to instruct the remote UE to avoid sending data; the processing unit is used to obtain the result of the data network's authentication of the remote UE, and the data network is used to provide services to the remote UE through the relay UE; the transceiver unit is also used to send indication information to the remote UE to instruct the remote UE to perform subsequent operations when the authentication result is authentication failure.

[0060] In combination with the eighth aspect, in certain implementations of the eighth aspect, before obtaining the result of the data network's authentication of the remote UE, the processing unit is further used to: determine that the remote UE needs to perform the authentication.

[0061] In combination with the eighth aspect, in certain implementations of the eighth aspect, after determining that the remote UE needs to perform the authentication, the processing unit is also used to: trigger the session management function network element to initiate the authentication; the processing unit is specifically used to: receive the result of the authentication of the remote UE by the data network from the session management function network element.

[0062] In combination with the eighth aspect, in certain implementations of the eighth aspect, before determining that the remote UE needs to perform the authentication, the processing unit is also used to: obtain the contract data of the remote UE; the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on the contract data.

[0063] In combination with the eighth aspect, in certain implementations of the eighth aspect, the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on a comparison result between the subscription data and the subscription data of the relay UE.

[0064] In combination with the eighth aspect, in certain implementations of the eighth aspect, before determining that the remote UE needs to perform the authentication, the transceiver unit is also used to: receive indication information from the remote UE indicating that the remote UE needs to perform the authentication; the processing unit is specifically used to: determine that the remote UE needs to perform the authentication based on the indication information indicating that the remote UE needs to perform the authentication.

[0065] In the ninth aspect, a communication device is provided, which includes a memory and a processor, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and the execution of the instructions stored in the memory enables the processor to execute the method in any possible implementation of the first aspect, the second aspect or the third aspect.

[0066] In the tenth aspect, a computer-readable medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute a method in any possible implementation of the first, second or third aspects above.

[0067] In the eleventh aspect, a chip system is provided, comprising: a processor for calling and running a computer program from a memory, so that a communication device equipped with the chip system executes a method in any possible implementation of the first aspect, second aspect or third aspect above.

[0068] In a twelfth aspect, a computer program product is provided, which includes instructions that, when executed, enable a communication device to perform a method in any possible implementation of the first aspect, the second aspect, or the third aspect.

[0069] In a thirteenth aspect, a communication system is provided, which includes a communication device as in any possible implementation of the fourth aspect, the fifth aspect or the sixth aspect.

[0070] Exemplarily, the communication system includes the communication device in any possible implementation of the sixth aspect, the seventh aspect, or the eighth aspect, and the communication device may be a relay UE. Optionally, the communication system also includes a remote UE. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 (a) and Figure 1 (b) show schematic diagrams of a network architecture applicable to an embodiment of the present application.

[0072] FIG2 is a schematic flow chart of a communication method 200 provided in an embodiment of the present application.

[0073] FIG3 is a schematic flowchart of a communication method 300 provided in an embodiment of the present application.

[0074] FIG4 is a schematic flowchart of a communication method 400 provided in an embodiment of the present application.

[0075] FIG5 is a schematic flowchart of a communication method 500 provided in an embodiment of the present application.

[0076] FIG6 is a schematic flowchart of a communication method 600 provided in an embodiment of the present application.

[0077] FIG7 is a schematic block diagram of a communication device 700 provided in an embodiment of the present application.

[0078] FIG8 is a schematic block diagram of a communication device 800 provided in an embodiment of the present application.

[0079] FIG9 is a schematic structural diagram of a device 900 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0080] The technical solution in this application will be described below with reference to the accompanying drawings.

[0081] The technical solutions provided in this application can be applied to various communication systems, such as the fifth generation (5G) mobile communication system or the new radio access technology (NR). The 5G mobile communication system may include non-standalone (NSA) and / or standalone (SA) networking.

[0082] The technical solution provided in this application can be applied to any scenario in which a terminal device establishes multiple protocol data unit (PDU) sessions.

[0083] The technical solution provided in this application can also be applied to machine type communication (MTC), long term evolution-machine (LTE-M), device-to-device (D2D) network, machine-to-machine (M2M) network, Internet of Things (IoT) network or other networks. Among them, the IoT network can include, for example, the Internet of Vehicles. Among them, the communication mode in the Internet of Vehicles system is collectively referred to as vehicle to other devices (vehicle to X, V2X, X can represent anything), for example, the V2X can include: vehicle to vehicle (V2V) communication, vehicle to infrastructure (V2I) communication, vehicle to pedestrian (V2P) communication or vehicle to network (V2N) communication, etc.

[0084] Figure 1(a) is a schematic diagram of a network architecture applicable to the method provided in an embodiment of the present application. As shown in the figure, the network architecture may specifically include the following network elements:

[0085] 1. User equipment (UE): can be referred to as terminal equipment, terminal, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal equipment can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, an unmanned aerial vehicle, a wearable device, a terminal device in a 5G network or a terminal device in an evolved public land mobile network (PLMN), etc., and the embodiments of the present application are not limited to this. The UE can be connected to the next generation radio access network (NG-RAN) equipment through an interface. For example, UE#A and UE#D shown in Figure 1 (a) are connected to the NG-RAN through the Uu interface. Two UEs capable of Proximity-Based Services (ProSe) applications can also be connected via an interface. For example, as shown in Figure 1(a), UE#A and UE#B are connected via the PC5 interface, UE#B and UE#C are connected via the PC5 interface, and UE#A and UE#D are connected via the PC5 interface. It should be noted that the PC5 interface can be any interface capable of direct communication. In other words, the PC5 interface here can be understood as a direct communication interface.

[0086] 2. Access network (AN): Provides network access for authorized users in a specific area and enables the use of transmission tunnels of varying quality based on user level and service requirements. Access networks can utilize various access technologies. Current access network technologies include the wireless access network technology used in third-generation (3G) systems, the wireless access network technology used in 4G systems, and the NG-RAN technology shown in Figure 1(a) (e.g., the wireless access technology used in 5G systems).

[0087] An access network that implements network access functions based on wireless communication technologies is called a radio access network (RAN). The RAN manages radio resources, provides access services to terminals, and forwards control signals and user data between terminals and the core network.

[0088] The wireless access network device may be, for example, a base station (NodeB), an evolved NodeB (eNB or eNodeB), a next generation Node Base station (gNB) in a 5G mobile communication system, a base station in an example mobile communication system, or an access point (AP) in a WiFi wireless hotspot (WiFi) system, etc. It may also be a wireless controller in a cloud radio access network (CRAN) scenario, or the wireless access network device may be a relay station, an access point, a vehicle-mounted device, a drone, a wearable device, a network device in a 5G network, or a network device in an evolved PLMN, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.

[0089] 3. Session management network element: It is mainly used for session management, allocation and management of Internet protocol (IP) addresses of user devices, selection of endpoints for manageable user plane functions, policy control and charging function interfaces, and downlink data notification.

[0090] 4. Data network element: a network used to provide data transmission.

[0091] 5. ProSe application server (AS): It can be the application function (AF) of DN, or it can be the AS itself that provides ProSe services. The AF with ProSe application server function has all the functions of the AF defined in version 23.501R-15, as well as related functions for ProSe services. That is to say, in the user plane architecture, the ProSe application server and the UE communicate with the user plane through the UE-RAN-UPF-AF path. The ProSe application server can also communicate with other network functions (NF) in the 5G core network (5G core network, 5GC) through the NEF in the control plane architecture. For example, communicating with the PCF through the NEF. If the ProSe application server is the AF of the DN, and the AF is deployed by the operator of the 5GC, the ProSe application server can also communicate directly with other NFs in the 5GC in the control plane architecture without going through the NEF, such as directly communicating with the PCF.

[0092] 6. 5G direct discovery name management function (DDNMF): It has the function of allocating and processing the mapping relationship between the proximity service application identifier (ProSe application identifier) ​​and the proximity service application code (ProSe application code) for open proximity service discovery (open ProSe discovery). In restricted proximity service discovery (restricted ProSe direct discovery), the 5G DDNMF can communicate with the proximity service application server through the PC2 interface to process the authorization of the discovery request (discovery request). It also has the function of allocating and processing the mapping relationship between the application identifier (application identifier) ​​and the code used in the restricted proximity service, where the code used in the restricted proximity service includes the restricted proximity service code (ProSe restricted code), the proximity service request code (ProSe query code) and the proximity service reply code (ProSe response code).

[0093] The current standard defines 5G DDNMF at the PLMN level, meaning there is only one 5G DDNMF per PLMN. A 5G DDNMF can be uniquely identified by its mobile country code (MCC) and mobile network code (MNC).

[0094] 7. Authentication server function (AUSF): The network element authenticates and authorizes users.

[0095] 8. ProSe key management function (PKMF): It is responsible for generating and distributing keys used for PC5 interface connections for UEs using ProSe. The UE needs to interact with PKMF through the control plane to obtain the keys used for the PC5 interface.

[0096] It is understood that the above-mentioned network element or function can be a network element in a hardware device, a software function running on dedicated hardware, or a virtualized function instantiated on a platform (e.g., a cloud platform). The above-mentioned network element or function can be implemented by a single device, or by multiple devices, or can be a functional module within a single device, and this is not specifically limited in the embodiments of the present application.

[0097] It should also be understood that the network architecture applicable to the embodiment of the present application shown in (a) of Figure 1 above is only an example, and the network architecture applicable to the embodiment of the present application is not limited to this. Any network architecture that can realize the functions of the above-mentioned network elements is applicable to the embodiment of the present application.

[0098] For example, in some network architectures, network function network element entities such as AMF, SMF network element, PCF network element and UDM network element are all called network function (NF) network elements; or, in other network architectures, the collection of network elements such as AMF, SMF network element, PCF network element, UDM network element can be called control plane function network element. Because the UE needs to interact with PKMF and DDNMF through the user plane, network elements such as PKMF and DDNMF can be called user plane network elements.

[0099] It should also be understood that the above naming is only defined to facilitate the distinction between different functions and should not constitute any limitation to this application. This application does not exclude the possibility of adopting other naming in 5G networks and other future networks. For example, in a 6G network, some or all of the above network elements may use the terminology in 5G, or other names may be used. The interface name between the network elements in Figure 1 is only an example. The name of the interface in the specific implementation may be other names, and this application does not make specific limitations on this. In addition, the name of the message (or signaling) transmitted between the above network elements is only an example and does not constitute any limitation on the function of the message itself.

[0100] Figure 1(b) shows another schematic diagram of the communication system architecture according to an embodiment of the present application. When a remote terminal device is outside the network coverage area or the signal quality between the remote terminal device and the access network device is poor (e.g., below a preset threshold), the remote terminal device can be assisted by a relay terminal device. Communication between the remote terminal device and the access network device is achieved through communication between the remote terminal device and the relay terminal device, and between the relay terminal device and the access network device. For example, as shown in Figure 1(b), the remote terminal device can communicate with the RAN through the relay terminal device.

[0101] With the rapid development of mobile communications, the widespread use of new services such as video, virtual reality (VR) and augmented reality (AR) data services has increased user bandwidth requirements. Direct-to-Device (D2D) communication allows UEs to communicate directly with each other and can share spectrum resources with other users in the cell network under control, effectively improving spectrum resource utilization. Currently, D2D communication has been applied to 4G and 5G network systems and is collectively referred to as proximity-based service (ProSe).

[0102] When a UE is outside network coverage or has poor signal quality with the RAN, the remote UE can use a relay UE for auxiliary communication. This allows the remote UE to obtain service through communication between the remote UE and the relay UE, and between the relay UE and the mobile network. By establishing a remote UE-to-relay-UE-to-network communication method, support for UE-to-network communication outside network coverage can be expanded. This remote UE-to-relay-UE-to-network communication method is referred to as UE-to-network relay communication.

[0103] To facilitate understanding of the embodiments of the present application, a brief explanation of the terms involved in the present application is first given.

[0104] 1. Protocol Data Unit (PDU) Session

[0105] The 5G core network (5G corenet, 5GC) supports the PDU connection service. The PDU connection service refers to the exchange of PDU data packets between terminal devices and DNs. The PDU connection service is implemented by the terminal device initiating the establishment of a PDU session. Once a PDU session is established, a data transmission channel is established between the terminal device and the DN. In other words, a PDU session is implemented at the UE level. Each terminal device can establish one or more PDU sessions. A terminal device can access the DN through a PDU session established between the terminal device and the DN.

[0106] As mentioned above, the SMF is primarily responsible for session management in the mobile network. PDU sessions can be established, modified, or released between the terminal device and the SMF through NAS session management (SM) signaling.

[0107] 2. Secondary authentication

[0108] In terms of network security, the network's primary tasks include authenticating and authorizing terminals accessing the network. Only after passing authentication can a terminal device access the 3GPP network and further request a PDU session to access various services on the DN.

[0109] In current 4G networks, terminal device authentication and authorization are performed directly by the carrier network. In 5G standardization, this authentication method is called primary authentication, or first-level authentication. With the development of vertical industries and the Internet of Things, it is foreseeable that DNs outside of carrier networks will also have authentication and authorization requirements for terminal devices connected to DNs (albeit through carrier networks). To address this need, 3GPP defined a new authentication method in 5G security standardization, called secondary authentication (SA), or second-level authentication. This authentication method allows data networks outside of the carrier network to authenticate or authorize terminal devices through the carrier network.

[0110] When the terminal device is connected to the operator network and the terminal device successfully performs the first-level authentication with the operator network, if the terminal device needs to access a certain DN, the terminal device establishes a PDU session with the operator network. During the process of establishing the PDU session between the terminal device and the network, a second-level authentication will be performed between the terminal device and the authentication server corresponding to the DN (i.e., the authentication network element), and the authentication server corresponding to the DN includes a network element for performing secondary authentication. The establishment of the PDU session can be triggered by the terminal device or the core network (CN) of the operator network. During or after the establishment of the PDU session, the secondary authentication process is initiated by the operator network. For example, the terminal device can send an authentication request to the operator network, and the operator network can forward the authentication request to the authentication server corresponding to the DN, so that the authentication server corresponding to the DN can perform authentication and / or authorization between the DN and the terminal device. Among them, the authentication server corresponding to the DN (such as the authentication server referred to as DN) can be, for example: an authentication, authorization, and accounting (AAA) server (server) (AAA server). The authentication server corresponding to the DN will send the authentication and / or authorization results of the terminal device to the operator network. The operator network will confirm whether to establish a corresponding PDU session connection for the terminal device based on this result.

[0111] In one possible implementation, when a DN requires authentication of a remote user equipment (UE) connecting to the DN, data from the UE may not be properly transmitted to the DN. For example, if the DN has not authenticated and authorized the remote UE, and the remote UE directly sends data to the DN, the data may not be successfully transmitted to the DN, reducing the remote UE's communication efficiency.

[0112] Based on this, an embodiment of the present application provides a communication method that can ensure that the data of the remote UE is successfully transmitted to the DN side, thereby improving the communication efficiency of the remote UE.

[0113] For ease of understanding, in the following description, authentication is uniformly used instead of secondary authentication (SA).

[0114] FIG2 is a schematic flow chart of a communication method 200 provided in an embodiment of the present application. As shown in FIG2 , the method is executed by a relay UE (Relay UE), and the method may include at least the following steps.

[0115] S210: The Relay UE receives and stores data from the Remote UE.

[0116] Specifically, in step S210, the Remote UE sends data to the Relay UE. Correspondingly, the Relay UE receives the data sent by the Remote UE and stores the data from the Remote UE.

[0117] It should be noted that stored data can also be understood as cache (buffer) data, temporary storage data or temporary storage data. It should be understood that this application does not limit this.

[0118] S220: The Relay UE obtains the result of the DN's authentication of the Remote UE.

[0119] Specifically, the data network may be a DN, which is used to provide services to a remote UE via a relay UE. The result of the DN's authentication of the remote UE primarily refers to the result of the DN's authentication and authorization of the remote UE accessing the DN. It can be understood that the result of the DN's authentication of the remote UE specifically refers to the result of secondary authentication. The result of the DN's authentication of the remote UE may be authentication success, authentication failure, or no authentication is required for the remote UE.

[0120] It should be noted that the specific authentication process can be referred to the above and existing protocols, and this application will not repeat it here. For ease of understanding, in the following description, the Remote UE authentication result is uniformly used to replace the DN's Remote UE authentication result and the secondary authentication result.

[0121] It should also be noted that the way in which the Relay UE obtains the result of the DN's authentication of the Remote UE can be: the Relay UE receives the authentication result of the Remote UE sent by the SMF.

[0122] S230: The Relay UE processes data based on the authentication result.

[0123] Optionally, in a possible implementation, when the authentication result of the Remote UE is success, the Relay UE sends the data of the Remote UE to the DN.

[0124] Optionally, in a possible implementation, when the authentication result of the Remote UE is authentication failure, the Relay UE discards the data of the Remote UE.

[0125] Optionally, in a possible implementation, when the authentication result of the Remote UE is that authentication is not required, the Relay UE sends the data of the Remote UE to the DN.

[0126] Optionally, in one possible implementation, when the Relay UE does not receive the authentication result of the Remote UE sent by the SMF within a period of time indicated by the timer, in other words, when the Relay UE does not obtain the authentication result of the Remote UE by the DN within a period of time indicated by the timer, the Relay UE discards the data of the Remote UE.

[0127] Optionally, in a possible implementation, before executing step S220, the method may further include: the Relay UE discarding the data according to the storage policy corresponding to the Remote UE.

[0128] Specifically, the Relay UE pre-configures the storage strategy corresponding to the Remote UE identified by different identity information, as shown in Table 1. Table 1 is a storage strategy table provided in an embodiment of the present application. It can be seen from Table 1 that the storage strategy table includes the identity information of the Remote UE and the corresponding storage strategy.

[0129] Table 1 Storage policy table

[0130] It should be noted that the above-mentioned storage policy table may also be referred to as a configuration table of the Relay UE. It should be understood that the embodiment of the present application does not limit this.

[0131] Exemplarily, as shown in Table 1, when the identity of Remote UE1 is SUPI1 (for example, SUPI1=1254a34b), the maximum storage capacity allowed for data storage by Relay UE for Remote UE1 is 10MB, the maximum storage time is 1000ms, and the storage policy set by Relay UE for Remote UE1 is to discard the data of Remote UE1 after the maximum storage capacity is met.

[0132] Optionally, in a possible implementation, the Relay UE discards the data of Remote UE1 according to the storage policy corresponding to Remote UE1. When the Relay UE obtains the authentication result of Remote UE1 as successful, the Relay UE sends a first indication information to Remote UE1, and the first indication information is used to instruct Remote UE1 to resend the data.

[0133] Optionally, in one possible implementation, the Relay UE discards Remote UE1's data according to the storage policy corresponding to Remote UE1. When the Relay UE obtains an authentication failure result from Remote UE1, the Relay UE sends a second indication message to Remote UE1, indicating that Remote UE1's data has been discarded. Optionally, the second indication message may also include a reason value for discarding the data.

[0134] Optionally, in a possible implementation, the Relay UE does not discard the data of Remote UE1 according to the storage policy of Remote UE1. When the Relay UE obtains the authentication result of Remote UE1 as successful, the Relay UE sends the data of Remote UE1 to the DN.

[0135] Optionally, in one possible implementation, if the Relay UE does not discard Remote UE1's data according to Remote UE1's storage policy, and if the result of the Relay UE obtaining authentication from Remote UE1 is authentication failure, the Relay UE discards Remote UE1's data and sends second indication information to Remote UE1, where the second indication information is used to indicate that Remote UE1's data has been discarded. Optionally, the second indication information may also include a reason value for discarding the data.

[0136] As another example, as shown in Table 1, when the identity of Remote UE2 is 5G PRUK ID1 (for example, 5G PRUK ID1 = 239570a4bc93e27459), the Relay UE allows a maximum storage capacity of 10MB of data to be stored for Remote UE2, and a maximum storage time of 1000ms, and the storage policy set by the Relay UE for Remote UE2 is to discard the data of Remote UE2 after the maximum storage capacity is met.

[0137] It should be noted that for the part on processing data according to the authentication result of Remote UE2 and the storage strategy, reference may be made to the description of possible implementation methods related to Remote UE1 above, which will not be repeated here.

[0138] In another example, when the identity of Remote UE3 is an IP address (for example, 10.13.2.1), the maximum storage capacity allowed for data storage by Relay UE for Remote UE3 is 10MB, the maximum storage time is 1000ms, and the storage policy set by Relay UE for Remote UE3 is to discard the data of Remote UE3 after the maximum storage time is met.

[0139] In another example, when the identity of Remote UE4 is an IP address (for example, 10.13.2.4), the maximum storage capacity allowed for data storage by Relay UE for Remote UE4 is 100MB, the maximum storage time is 10ms, and the storage policy set by Relay UE for Remote UE4 is to discard the data of Remote UE4 after the maximum storage time is met.

[0140] It should be noted that regarding the part of processing data according to the authentication results of Remote UE3 and Remote UE4 and the storage strategy, reference can be made to the description of possible implementation methods related to Remote UE1 above, and no further details are given here.

[0141] In another example, when the identity of Remote UE5 is an IP address (for example, 2001:1ab0:4e11:48::13), the maximum storage capacity allowed for data storage by Relay UE for Remote UE5 is 100MB, and the maximum storage time is 10ms. The storage policy set by Relay UE for Remote UE5 is to send a request message to Remote UE5 after the maximum storage time is met. Accordingly, Remote UE5 receives the request message.

[0142] Specifically, the request information is used to request execution of a processing strategy for the data of Remote UE5, where the processing strategy includes discarding the data of Remote UE5.

[0143] Optionally, in a possible implementation, after receiving the request information, the Remote UE 5 sends an ack message to the Relay UE. The ack message is used to instruct the execution of the data discarding policy. In this case, after receiving the ack message, the Relay UE discards the data of the Remote UE 5.

[0144] It should be noted that for the part on processing data according to the authentication result of Remote UE5 and the storage strategy, reference may be made to the description of possible implementation methods related to Remote UE1 above, which will not be repeated here.

[0145] In another example, when the identity of the Remote UE 6 is another type of identity, the Relay UE sets a storage policy for the Remote UE 6 to directly discard the data of the Remote UE 6.

[0146] It should be noted that for the part on processing data according to the authentication result of Remote UE6 and the storage strategy, reference may be made to the description of possible implementation methods related to Remote UE1 above, which will not be repeated here.

[0147] According to the technical solution of the embodiment of the present application, the relay terminal device can process the data of the remote UE in a targeted manner according to the result of the authentication of the remote terminal device by the data network, thereby improving the communication efficiency of the remote UE.

[0148] FIG3 is a schematic flow chart of a communication method 300 provided in an embodiment of the present application. As shown in FIG3 , the method may include at least the following steps.

[0149] S310: The Relay UE obtains the authentication result of the Remote UE by the data network.

[0150] It should be noted that S310 is similar to S220. For the sake of simplicity, this application will not go into details here.

[0151] S320: When the authentication result is success, the Relay UE sends a first message to the Remote UE. Correspondingly, the Remote UE receives the first message.

[0152] Specifically, the first message is used to trigger the Remote UE to send data. When the Remote UE's authentication result is successful, the Relay UE sends the first message to the Remote UE to trigger the Remote UE to send data. Correspondingly, after receiving the first message, the Remote UE starts sending data.

[0153] Optionally, in a possible implementation manner, the first message may be a direct communication accept (DCA) message.

[0154] Specifically, when the Remote UE's authentication result is successful, the Relay UE sends a DCA message to the Remote UE. The DCA message is used to indicate that the direct communication connection between the Relay UE and the Remote UE has been successfully established and trigger the Remote UE to send data. Accordingly, after receiving the DCA, the Remote UE starts sending data.

[0155] It should be noted that the first message is used to trigger the remote terminal device to send data. It can be understood that after the remote terminal device receives the first message, that is, after the direct communication connection between the relay terminal device and the remote terminal device is successfully established, the remote terminal device can send the data to the relay terminal device when it needs to send data.

[0156] Optionally, the DCA message may include indication information, where the indication information is used to indicate that the Remote UE authentication is successful.

[0157] According to the technical solution of the present application, the relay terminal device obtains the authentication result of the DN for the remote UE and, if the authentication result is successful, sends a first message to the remote UE for triggering the remote UE to send data. This can avoid the problem of the remote UE's data transmission being out of sync with the DN authentication authorization, and enables the remote UE's data to be transmitted normally to the DN side, thereby improving the communication efficiency of the remote UE.

[0158] Optionally, in a possible implementation manner, before executing step S310, the method may further include: S301, the Relay UE sends third indication information to the Remote UE, and accordingly, the Remote UE receives the third indication information.

[0159] Specifically, the third indication information is used to instruct the Remote UE to avoid sending data. Wherein, the third indication information instructs the Remote UE to avoid sending data, which can be understood as instructing the Remote UE to remain silent. In this case, after receiving the third indication information, the Remote UE remains silent and does not start sending data.

[0160] Optionally, in one possible implementation, before executing step S310, the method may further include: S302, the relay UE sends a DCA message to the remote UE, and the remote UE receives the DCA message accordingly. The DCA message may include the third indication information, and the third indication information is used to instruct the remote UE to avoid sending data.

[0161] It should be noted that, when the DCA message includes the third indication information, in this embodiment of the present application, only step S302 may be performed. When the DCA message does not include the third indication information, in this embodiment of the present application, steps S301 and S302 may be performed.

[0162] Optionally, in a possible implementation, the method may further include, S330, when the authentication result is authentication failure, the Relay UE sending fifth indication information to the Remote UE, and accordingly, the Remote UE receiving the fifth indication information, wherein the fifth indication information is used to instruct the Remote UE to perform subsequent operations.

[0163] Exemplarily, after receiving the fifth indication information, the Remote UE resends a direct communication request (DCR) message to the Relay UE. Alternatively, after receiving the fifth indication information, the Remote UE releases the PC5 connection with the Relay UE. Alternatively, after receiving the fifth indication information, the Remote UE attempts to establish a connection with another Relay UE or another DN.

[0164] Optionally, in one possible implementation, when the Relay UE does not receive the Remote UE authentication result sent by the SMF within a period of time indicated by the timer, in other words, when the Relay UE does not obtain the Remote UE authentication result from the DN within a period of time indicated by the timer, the Relay UE sends a first message to the Remote UE, and the Remote UE starts sending data after receiving the first message. This can prevent the "deadlock" problem caused by long-term data congestion of the Remote UE due to the loss of the Remote UE's authentication result.

[0165] According to the technical solution of the present application, before obtaining the result of the DN's authentication of the remote UE, the relay terminal device sends instruction information to the remote UE, instructing the remote UE to avoid sending data. If the relay terminal device obtains the result of successful authentication of the remote UE, the remote UE is triggered to send data. This ensures that the remote UE's data is successfully transmitted to the DN side, improving the communication efficiency of the remote UE.

[0166] Alternatively, when the relay terminal device obtains the remote UE's authentication result that the authentication fails, the relay terminal device instructs the remote UE to perform subsequent operations, thereby reducing the waste of transmission resources.

[0167] FIG4 is a schematic flow chart of a communication method 400 provided in an embodiment of the present application. As shown in FIG4 , the method may include at least the following steps.

[0168] S401, Remote UE performs authorization and authentication process.

[0169] S402: The Relay UE performs authorization and verification process.

[0170] It should be noted that the authorization and verification process of the Remote UE and the Relay UE can refer to the existing protocol and will not be described in detail here.

[0171] S410: A discovery process is performed between the Remote UE and the Relay UE.

[0172] It should be noted that the discovery process between the Remote UE and the Relay UE can be referred to the existing protocol and will not be described in detail here.

[0173] S420: The Remote UE sends a Direct Communication Request (DCR) message to the Relay UE. Correspondingly, the Relay UE receives the DCR message.

[0174] Specifically, the DCR message is used by the Remote UE to request the Relay UE to establish a direct communication connection. The DCR message includes the identity information of the Remote UE, where the identity information is used to identify the identity of the Relay UE. The identity information can be an identity (identity, ID), or a user hidden identifier (SUCI), or a fifth-generation user key identifier (5G ProSe remote user key ID, 5GPRUK ID). It should be understood that the embodiment of the present application is not limited to this.

[0175] S430, a process of performing a direct security mode command (Direct SMC) between the Relay UE and the Remote UE. It should be noted that the specific process of performing Direct SMC between the Relay UE and the Remote UE can be referred to the existing protocol and will not be described in detail here.

[0176] S440a: The Relay UE sends a direct connection communication acceptance DCA message to the Remote UE. Correspondingly, the Remote UE receives the DCA message.

[0177] Specifically, after the Direct SMC process is performed between the Relay UE and the Remote UE, the Relay UE sends a direct communication acceptance DCA message to the Remote UE. The DCA message is used to indicate that a direct communication connection is successfully established between the Relay UE and the Remote UE.

[0178] It should be noted that after executing step S440a, the Relay UE enables a data storage function to store the data received from the Remote UE.

[0179] S450: The Remote UE sends data to the Relay UE, and correspondingly, the Relay UE receives the data.

[0180] Specifically, when the Remote UE receives the DCA message sent by the Relay UE, the Remote UE starts to send data to the Relay UE.

[0181] Optionally, in a possible implementation, before executing step S450, the method may further include: S440b, when the data of the Remote UE is transmitted through the IP PDU, the Remote UE obtains an allocated IP address.

[0182] Specifically, a DHCP server can be used to allocate IP addresses. That is, the remote UE sends a request message to the DHCP server, requesting an IP address. The DHCP server then returns the IP address to the remote UE. After receiving the IP address, the remote UE sends a response message to the DHCP server, notifying the DHCP server of the successful receipt of the IP address. The DHCP server then records the successful allocation of the IP address to the remote UE. The specific process for the DHCP server to allocate an IP address to the remote UE can be referenced in existing protocols. This application does not describe this in detail.

[0183] It should be understood that the DHCP server may be located on the DN side or on the Relay UE side, and this embodiment of the present application does not limit this.

[0184] It should also be noted that after step S440b is executed, in step S450, when the Remote UE receives the DCA message sent by the Relay UE and obtains the IP address of the Relay UE, the Remote UE starts to send data to the Relay UE using the PC5 interface.

[0185] It should also be noted that when step S440b is not performed, the Remote UE can also transmit data without using an IP address after receiving the DCA message sent by the Relay UE. Specifically, in the prior art, there is an unstructured form of transmission, such as the Bluetooth protocol, which does not require the allocation of an IP address, and allows the Remote UE to send data to the Relay UE.

[0186] S460: The Relay UE receives and stores the data from the Remote UE.

[0187] It should be noted that S460 is similar to S210. For the sake of simplicity, this application will not go into details here.

[0188] S470, the Relay UE sends the report information of the Remote UE to the SMF, and accordingly, the SMF receives the report information of the Remote UE.

[0189] Specifically, the Relay UE can directly send the Remote UE's report information to the SMF, where the Remote UE's report information includes the Remote UE's identity information. The Remote UE's report information is used to inform the SMF side that the Remote UE uses the PDU session to send data. Alternatively, the Relay UE can also indirectly send the Remote UE's report information to the SMF, that is, the Relay UE can first send the Remote UE's report information to the AMF, and then the AMF sends the Remote UE's report information to the SMF. It should be understood that the embodiments of the present application are not limited here.

[0190] The identity information may be an ID, or a SUCI, or a 5GPRUK ID. Optionally, when step S440b is executed, the identity information may also be an IP address. It should be understood that this embodiment of the present application does not limit this.

[0191] It should be noted that the report information of the Remote UE may also carry multiple identity information for identifying the same Remote UE.

[0192] Exemplarily, the report information 1 of Remote UE1 may carry two identity identification information at the same time, for example, SUCI1 and IP address 1 at the same time. These two identity identification information indicate that Remote UE1 identified as SUCI1 is using IP address 1, which can better help the network side assist in identifying the identity of the Remote UE.

[0193] It should be noted that the above implementation methods related to identity identification information are only examples, and the embodiments of the present application do not limit this.

[0194] It should also be noted that S470 can be executed after S460 or after S450. It should be understood that the embodiment of the present application does not limit the execution order.

[0195] S480, SMF determines that the Remote UE requires an authentication process, initiates authentication to the DN side and obtains the authentication result.

[0196] Specifically, after receiving the identity information of the Remote UE, the SMF can determine the authentication process required by the Remote UE based on the identity information of the Remote UE and the contract data on the network side, initiate authentication to the DN side, and obtain the authentication result.

[0197] It should be noted that the process of SMF determining that Remote UE needs to be authenticated, and the process of DN side performing authentication on Remote UE can refer to the existing protocol and are not described in detail here.

[0198] S490, SMF sends response information to Relay UE, and accordingly, Relay UE receives the response information.

[0199] Specifically, the SMF may send response information through a NAS downlink message, where the response information is used to indicate the result of the authentication of the Remote UE, where the result of the authentication of the Remote UE includes a success of the Remote UE authentication or a failure of the Remote UE authentication.

[0200] S4100: The Relay UE obtains the authentication result of the Remote UE.

[0201] S4110: The Relay UE processes data based on the authentication result.

[0202] It should be noted that S4100 is similar to S220, and S4110 is similar to S230. For the sake of simplicity, this application will not elaborate on them here.

[0203] It should also be noted that in step S4100, the Relay UE receives the response information sent by the SMF, which indicates the authentication result of the Remote UE. That is, the Relay UE obtains the authentication result of the Remote UE according to the response information and processes the data according to the authentication result.

[0204] Optionally, in a possible implementation, when the Relay UE does not receive response information within a period of time indicated by the timer, the Relay UE sends the data of the Remote UE to the DN.

[0205] Optionally, in a possible implementation, the response information may also be used to indicate that the Remote UE does not need authentication. In this case, after receiving the response information, the Relay UE sends the data of the Remote UE to the DN.

[0206] Optionally, in a possible implementation manner, before step S4100, the method may further include: the Relay UE discarding data according to a storage policy corresponding to the Remote UE.

[0207] It should be noted that the description of the storage strategy can be referred to above, and for the sake of simplicity, this application will not go into details here.

[0208] Optionally, in one possible implementation, if the Relay UE does not receive a response message within a period of time indicated by a timer, the Relay UE may periodically check to determine whether the Relay UE has executed the storage policy described in Table 1 above for the Remote UE. If the storage policy has been executed (true), the Relay UE sends an indication message to the corresponding Remote UE, indicating that the Remote UE data has been discarded. Optionally, the indication message may include a discard indication message and a cause value.

[0209] According to the technical solution provided in the present application, the relay UE can process the data of the remote UE in a targeted manner according to the result of the DN's authentication of the remote UE, thereby improving the communication efficiency of the remote UE.

[0210] FIG5 is a schematic flow chart of a communication method 500 provided in yet another embodiment of the present application. As shown in FIG5 , the method includes at least the following steps.

[0211] S501: Remote UE performs authorization and authentication process.

[0212] S502: The Relay UE performs authorization and verification process.

[0213] It should be noted that the authorization and verification process of the Remote UE and the Relay UE can refer to the existing protocol and will not be described in detail here.

[0214] S510: A discovery process is performed between the Remote UE and the Relay UE.

[0215] It should be noted that the discovery process between the Remote UE and the Relay UE can be referred to the existing protocol and will not be described in detail here.

[0216] S520: The Remote UE sends a DCR message to the Relay UE. Correspondingly, the Relay UE receives the DCR message.

[0217] Specifically, the DCR message is used by the Remote UE to request the Relay UE to establish a direct communication connection. The DCR message includes the identity information of the Remote UE, where the identity information is used to identify the identity of the Relay UE. The identity information can be an ID identifier, or a SUCI, or a 5GPRUK ID. It should be understood that the embodiment of the present application is not limited to this.

[0218] Optionally, in a possible implementation manner, the DCR message may further include part of the subscription data or historical data of the Remote UE.

[0219] For example, the Remote UE may send part of its subscription data, such as PLMN ID, to the Relay UE. Alternatively, the Remote UE may send the ID of the DN it intends to access, such as the domain name or IP address of the RSC DN, to the Relay UE.

[0220] S530: The Relay UE determines that the Remote UE needs to perform authentication.

[0221] Optionally, in a possible implementation, when the DCR message includes part of the subscription data or historical data of the Remote UE, the Relay UE may determine, based on the subscription data, that the Remote UE needs to perform authentication.

[0222] Specifically, the Relay UE may determine that the Remote UE needs to perform authentication based on a comparison result between the subscription data of the Remote UE and its own subscription data.

[0223] For example, taking PLMN ID as an example, the Relay UE receives PLMN ID1 sent by the Remote UE. Since the first 3 digits of PLMN ID1 are different from the first 3 digits of the Relay UE's own PLMN ID2, the Relay UE does not need to perform authentication, and thus determines that the Remote UE needs to perform authentication.

[0224] For example, taking PLMN ID as an example, the Relay UE receives PLMN ID1 sent by the Remote UE. Since the first three digits of PLMN ID3 are the same as the first three digits of the Relay UE's own PLMN ID4, the Relay UE knows that it has performed authentication based on its own historical data, and thus determines that the Remote UE needs to perform authentication.

[0225] Optionally, in a possible implementation, the Remote UE may also send fourth indication information to the Relay UE, where the fourth indication information is used to directly indicate that the Remote UE needs to perform authentication. Then, the Relay UE can accurately determine whether the Remote UE needs to perform authentication based on the fourth indication information.

[0226] It should be noted that S530 is an optional step.

[0227] S540a, a process of performing Direct SMC between the Relay UE and the Remote UE. It should be noted that the specific process of performing Direct SMC between the Relay UE and the Remote UE can be referred to the existing protocol and will not be described in detail here.

[0228] S550, the Relay UE sends the report information of the Remote UE to the SMF, and accordingly, the SMF receives the report information of the Remote UE.

[0229] It should be noted that S550 is similar to S470. For the sake of simplicity, this application will not go into details here.

[0230] Optionally, in a possible implementation, before executing step S550, the method may further include: S540b, when the data of the Remote UE is transmitted through the IP PDU, the Remote UE obtains an allocated IP address.

[0231] It should be noted that S540b is similar to S440b. For the sake of simplicity, this application will not go into details here.

[0232] It should also be noted that S540b is an optional step.

[0233] Optionally, when step S540b is executed and the DHCP server that allocates the IP address is located on the Relay UE side, or when step S540b is executed and the Relay UE uses the IP address of the Remote UE allocated by itself, the Relay UE executes step S550, that is, the Relay UE sends the Remote UE report information to the SMF, and the report information is used to trigger the SMF to initiate authentication on the DN side. The report information may include the identity information of the Remote UE, and the identity information may include IP address information.

[0234] Optionally, when step S540b is not performed, that is, the Remote UE does not need to transmit data through an IP address, that is, no IP address needs to be allocated, the Relay UE performs step S550, that is, the Relay UE sends a report information of the Remote UE to the SMF. The report information is used to trigger the SMF to initiate authentication with the DN side. The report information may include the identity information of the Remote UE.

[0235] S560, SMF determines that the Remote UE requires an authentication process, initiates authentication to the DN side and obtains the authentication result.

[0236] It should be noted that S560 is similar to S480. For the sake of simplicity, this application will not go into details here.

[0237] S570: The SMF sends a response message to the Relay UE, and the Relay UE receives the response message. It should be noted that S570 is similar to S490, and for the sake of simplicity, this application will not repeat it here.

[0238] S580: The Relay UE obtains the authentication result of the Remote UE. It should be noted that S580 is similar to S220 and is not described in detail here for the sake of simplicity.

[0239] S590: When the authentication result of the Remote UE is success, the Relay UE sends a direct connection communication reception DCA message to the Remote UE. Correspondingly, the Remote UE receives the DCA information.

[0240] Specifically, the DCA message is used to indicate that the direct communication connection between the Relay UE and the Remote UE is successfully established and trigger the Remote UE to send data. Accordingly, after receiving the DCA, the Remote UE starts sending data.

[0241] Optionally, in a possible implementation manner, the DCA message may include indication information, where the indication information is used to indicate that the Remote UE authentication is successful.

[0242] Optionally, in one possible implementation, when the Remote UE's authentication result is authentication failure, the Relay UE sends a direct communication reception DCA message to the Remote UE, and the Remote UE receives the DCA message accordingly. The DCA message may include indication information, where the indication information is used to indicate that the Remote UE authentication failed.

[0243] It should be noted that, in the prior art, the time of sending the Remote UE's report information is unrelated to the time of sending the DCA message. However, in the embodiment of the present application, the Relay UE can send the Remote UE's report information to the SMF in batches as needed.

[0244] For example, the Relay UE can send report information of 10 Remote UEs to the SMF at the same time, and after the SMF confirms that all 10 Remote UEs have performed authentication, it sends response information to these 10 Remote UEs respectively. Subsequently, the Relay UE sends DCA messages to these 10 Remote UEs in sequence.

[0245] It should also be noted that in the embodiments of the present application, the timing of sending the Remote UE report information can also be changed. For example, it can be changed to each time a Direct SMC process between the Remote UE and the Relay UE is completed, or each time an IP address allocation process is performed, the Relay UE sends a Remote UE report information to the SMF. This can maximize network efficiency.

[0246] S5100: The Remote UE sends data to the Relay UE, and correspondingly, the Relay UE receives the data.

[0247] Optionally, in a possible implementation manner, the Remote UE determines to send data according to the received DCA message.

[0248] Optionally, in one possible implementation, the Remote UE determines whether to start sending data based on the indication information included in the received DCA message. For example, when the indication information indicates that authentication is successful, the Remote UE sends data. When the indication information indicates that authentication fails, the Remote UE does not send data.

[0249] According to the technical solution of the present application, the relay terminal device obtains the authentication result of the DN for the remote UE and, if the authentication result is successful, sends a message to the remote UE to trigger the remote UE to send data. This ensures that the remote UE's data can be successfully transmitted to the DN side, improving the communication efficiency of the remote UE.

[0250] FIG6 is a schematic flow chart of a communication method 600 provided in yet another embodiment of the present application. As shown in FIG6 , the method includes at least the following steps.

[0251] S601: Remote UE performs authorization and authentication process.

[0252] S602: The Relay UE performs authorization and verification process.

[0253] It should be noted that the authorization and verification process of the Remote UE and the Relay UE can refer to the existing protocol and will not be described in detail here.

[0254] S610: A discovery process is performed between the Remote UE and the Relay UE.

[0255] It should be noted that the discovery process between the Remote UE and the Relay UE can be referred to the existing protocol and will not be described in detail here.

[0256] S620: The Remote UE sends a Direct Communication Request (DCR) message to the Relay UE. Correspondingly, the Relay UE receives the DCR message.

[0257] It should be noted that S620 is similar to S420. For the sake of simplicity, this application will not go into details here.

[0258] S630: The Relay UE determines that the Remote UE needs to perform authentication. It should be noted that S630 is similar to S430 and will not be described in detail in this application for simplicity.

[0259] It should be noted that S630 is an optional step.

[0260] S640a, the process of performing Direct SMC between the Relay UE and the Remote UE. It should be noted that the specific process of performing Direct SMC between the Relay UE and the Remote UE can be referred to the existing protocol and will not be described in detail here.

[0261] S650: The Relay UE sends a direct connection communication acceptance DCA message to the Remote UE. Correspondingly, the Remote UE receives the DCA message.

[0262] S660: The Remote UE remains silent according to the instruction information in the DCA message and waits for subsequent instructions from the Relay UE.

[0263] Specifically, the DCA information includes indication information, and the indication information is used to instruct the Remote UE to avoid sending data. It can be understood that at this time, the Remote UE will not send any data.

[0264] S670, the Relay UE sends the report information of the Remote UE to the SMF, and accordingly, the SMF receives the report information of the Remote UE.

[0265] It should be noted that S670 is similar to S470. For the sake of simplicity, this application will not go into details here.

[0266] Optionally, in a possible implementation, before executing step S650, the method may further include: S640b, when the data of the Remote UE is transmitted through the IP PDU, the Remote UE obtains an allocated IP address.

[0267] It should be noted that S640b is similar to S440b. For the sake of simplicity, this application will not go into details here.

[0268] It should also be noted that S640b is an optional step.

[0269] S680, SMF determines that the Remote UE requires an authentication process, initiates authentication to the DN side and obtains the authentication result.

[0270] It should be noted that S680 is similar to S480. For the sake of simplicity, this application will not go into details here.

[0271] S690: The SMF sends a response message to the Relay UE, and the Relay UE receives the response message accordingly. It should be noted that S690 is similar to S490, and for the sake of simplicity, this application will not repeat it here.

[0272] S6100: The Relay UE sends indication information to the Remote UE, and accordingly, the Remote UE receives the indication information.

[0273] S6110: The Remote UE performs corresponding operations according to the received instruction information.

[0274] Optionally, in a possible implementation, when the response information indicates that the Remote UE authentication is successful, the Relay UE sends indication information 1 to the Remote UE, where the indication information 1 is used to trigger the Remote UE to send data. At this time, the Remote UE starts sending data, and accordingly, the Relay UE receives the data.

[0275] Optionally, in one possible implementation, if the response information indicates that the Remote UE authentication failed, the Relay UE sends indication information 2 to the Remote UE, indicating that the Remote UE secondary authentication failed. In this case, the Relay UE may resend a DCR message to the Relay UE. Alternatively, after receiving indication information 2, the Remote UE releases the PC5 connection with the Relay UE. Alternatively, after receiving indication information 2, the Remote UE attempts to establish a connection with another Relay UE or another DN.

[0276] Optionally, in a possible implementation, when the Relay UE does not receive a response message within a period of time indicated by the timer, the Relay UE sends an indication message 3 to the Remote UE, where the indication message 3 is used to instruct the Remote UE to send data. At this time, the Remote UE starts sending data, and accordingly, the Relay UE receives the data.

[0277] According to the technical solution of the present application, before obtaining the result of the DN authentication of the remote UE, the relay terminal device sends third indication information to the remote UE, instructing the remote UE to avoid sending data, thereby avoiding the waste of transmission resources.

[0278] The various embodiments described herein may be independent solutions or may be combined according to internal logic, and all of these solutions fall within the scope of protection of this application.

[0279] It is understandable that in the above-mentioned various method embodiments, the methods and operations implemented by various devices may also be implemented by components of corresponding devices (such as chips or circuits).

[0280] The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of various interactions. It is understandable that each network element, such as a transmitting device or a receiving device, includes a hardware structure and / or software module corresponding to the execution of each function in order to implement the above functions. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0281] In the embodiment of the present application, the functional modules of the transmitting device or the receiving device can be divided according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module according to each function.

[0282] It should be understood that the specific examples in the embodiments of the present application are only intended to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application.

[0283] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0284] The method provided in the embodiments of the present application is described in detail above with reference to Figures 2 to 6 . Below, the apparatus provided in the embodiments of the present application is described in detail with reference to Figures 7 to 9 . It should be understood that the description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, for matters not described in detail, reference can be made to the method embodiment above, and for the sake of brevity, no further description will be given here.

[0285] FIG7 shows a schematic block diagram of a communication device 700 according to an embodiment of the present application. It should be understood that the communication device 700 includes a transceiver unit 710 , a storage unit 720 , and a processing unit 730 .

[0286] The transceiver unit 710 is configured to receive data from a remote UE;

[0287] The storage unit 720 is configured to store data from the remote UE;

[0288] The processing unit 730 is configured to obtain a result of authentication of the remote UE by a data network, where the data network is configured to provide services to the remote UE through the relay UE;

[0289] The processing unit 730 is further configured to process the data based on the authentication result.

[0290] Optionally, in some embodiments, when the authentication result is successful, the processing unit 730 is specifically used to: send the data to the data network.

[0291] Optionally, in some embodiments, when the result of the authentication is authentication failure, the processing unit 730 is specifically configured to discard the data.

[0292] Optionally, in some embodiments, before obtaining the result of the data network authentication of the remote UE, the processing unit 730 is further configured to: discard the data according to a storage policy corresponding to the remote UE;

[0293] Before sending the data to the data network, the transceiver unit 710 is further configured to: send, to the remote UE, indication information for instructing the remote UE to resend the data.

[0294] Optionally, in some embodiments, before obtaining the result of the data network authentication of the remote UE, the processing unit 730 is further configured to: discard the data according to a storage policy corresponding to the remote UE;

[0295] The transceiver unit 710 is specifically configured to: when the authentication result is authentication failure, send indication information to the remote UE indicating that the data has been discarded.

[0296] Optionally, in some embodiments, the transceiver unit 710 is further configured to send indication information to the remote UE to indicate subsequent operations of the remote UE.

[0297] Optionally, in some embodiments, the storage strategy includes any one of the following: discarding the data after the maximum storage amount is met; discarding the data after the maximum storage time is met; requesting the remote UE to indicate a processing strategy for the data after the maximum storage time is met, and the processing strategy includes discarding the data.

[0298] FIG8 shows a schematic block diagram of a communication device 800 according to an embodiment of the present application. It should be understood that the communication device 800 includes a transceiver unit 810 and a processing unit 820 .

[0299] In the first embodiment, the communication device is used to implement the corresponding steps in the above embodiments:

[0300] The processing unit 820 is configured to obtain a result of authentication of the remote UE by a data network, where the data network is configured to provide services to the remote UE through the relay UE;

[0301] The transceiver unit 810 is used to send a first message to the remote UE when the authentication result is successful. The first message is used to indicate that the direct communication connection between the relay UE and the remote UE is successfully established. The first message is also used to trigger the remote UE to send data.

[0302] Optionally, in some embodiments, before obtaining the result of the data network's authentication of the remote UE, the transceiver unit 810 is further configured to: send indication information to the remote UE for instructing the remote UE to avoid sending data.

[0303] Optionally, in some embodiments, before obtaining the result of the data network's authentication of the remote UE, the processing unit 820 is further configured to: determine that the remote UE needs to perform the authentication.

[0304] Optionally, in some embodiments, after determining that the remote UE needs to perform the authentication, the transceiver unit 810 is also used to: trigger the session management function network element to initiate the authentication; the processing unit 820 is specifically used to: receive the result of the data network's authentication of the remote UE from the session management function network element.

[0305] Optionally, in some embodiments, before determining that the remote UE needs to perform the authentication, the processing unit 820 is further configured to: obtain subscription data of the remote UE;

[0306] The processing unit 820 is specifically configured to determine, based on the subscription data, that the remote UE needs to perform the authentication.

[0307] Optionally, in some embodiments, the processing unit 820 is specifically used to: determine that the remote UE needs to perform the authentication based on a comparison result of the subscription data and the subscription data of the relay UE.

[0308] Optionally, in some embodiments, before determining that the remote UE needs to perform the authentication, the transceiver unit 810 is further configured to: receive indication information from the remote UE indicating that the remote UE needs to perform the authentication;

[0309] The processing unit 820 is specifically configured to determine, based on the indication information indicating that the remote UE needs to perform the authentication, that the remote UE needs to perform the authentication.

[0310] In the second embodiment, the communication device is used to implement the corresponding steps in the above embodiments:

[0311] The transceiver unit 810 is configured to send, to the remote UE, indication information for instructing the remote UE to avoid sending data;

[0312] The processing unit 820 is configured to obtain a result of authentication of the remote UE by a data network, where the data network is configured to provide services to the remote UE through the relay UE;

[0313] The transceiver unit 810 is further configured to, when the authentication result is authentication failure, send instruction information to the remote UE for instructing the remote UE to perform subsequent operations.

[0314] Optionally, in some embodiments, before obtaining the result of the data network's authentication of the remote UE, the processing unit 820 is further configured to: determine whether the remote UE needs to perform the authentication.

[0315] Optionally, in some embodiments, after determining that the remote UE needs to perform the authentication, the processing unit 820 is also used to: trigger the session management function network element to initiate the authentication; the processing unit 820 is specifically used to: receive the result of the data network's authentication of the remote UE from the session management function network element.

[0316] Optionally, in some embodiments, before determining that the remote UE needs to perform the authentication, the processing unit 820 is further configured to: obtain subscription data of the remote UE;

[0317] The processing unit 820 is specifically configured to determine, based on the subscription data, that the remote UE needs to perform the authentication.

[0318] Optionally, in some embodiments, the processing unit 820 is specifically used to: determine that the remote UE needs to perform the authentication based on a comparison result of the subscription data and the subscription data of the relay UE.

[0319] Optionally, in some embodiments, before determining that the remote UE needs to perform the authentication, the transceiver unit 810 is further configured to: receive indication information from the remote UE indicating that the remote UE needs to perform the authentication;

[0320] The processing unit 820 is specifically configured to determine, based on the indication information indicating that the remote UE needs to perform the authentication, that the remote UE needs to perform the authentication.

[0321] It should be understood that the division of units in the above communication device is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into a single physical entity, or physically separated. Furthermore, the units in the communication device can all be implemented in the form of software called through a processing element; or all be implemented in the form of hardware; or some units can be implemented in the form of software called through a processing element, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated into a chip of the communication device. In addition, it can also be stored in the form of a program in a memory, called by a processing element of the communication device to perform the function of the unit. In addition, these units can be fully or partially integrated together, or implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above units can be implemented by an integrated logic circuit in the hardware of the processor element, or by software called through the processing element.

[0322] In one example, the unit in any of the above communication devices may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the communication device can be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0323] Referring to Figure 9, a schematic diagram of a device provided in an embodiment of the present application is used to implement the operation of the communication device in the above embodiment. As shown in Figure 9, the device includes: a processor 910 and an interface 930, and the processor 910 is coupled to the interface 930. The interface 930 is used to implement communication with other devices. The interface 930 can be a transceiver or an input / output interface. The interface 930 can be, for example, an interface circuit. Optionally, the device also includes a memory 920 for storing instructions executed by the processor 910 or storing input data required by the processor 910 to execute instructions or storing data generated after the processor 910 executes instructions.

[0324] The method performed by the communication device in the above embodiment can be implemented by the processor 910 calling a program stored in a memory (which can be the memory 920 in the communication device or an external memory). That is, the communication device may include a processor 910, which executes the method performed by the communication device in the above method embodiment by calling the program in the memory. The processor here can be an integrated circuit with signal processing capabilities, such as a CPU. The communication device can be implemented by one or more integrated circuits configured to implement the above method. For example: one or more ASICs, or one or more microprocessors DSPs, or one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Alternatively, the above implementation methods can be combined.

[0325] Specifically, the functions / implementation processes of the units in Figures 7 and 8 can be implemented by the processor 910 in the apparatus 900 shown in Figure 9 calling computer-executable instructions stored in the memory 920. Alternatively, the functions / implementation processes of the processing units in Figures 7 and 8 can be implemented by the processor 910 in the apparatus 900 shown in Figure 9 calling computer-executable instructions stored in the memory 920, and the functions / implementation processes of the transceiver units in Figures 7 and 8 can be implemented by the interface 930 in the apparatus 900 shown in Figure 9.

[0326] It should be understood that the processing unit in the above-mentioned device includes a processor, the processor is coupled to a memory, the memory is used to store computer programs or instructions or and / or data, and the processor is used to execute the computer programs or instructions and / or data stored in the memory, so that the method in the above method embodiment is executed.

[0327] An embodiment of the present application further provides a communication system, which includes: the above-mentioned communication device.

[0328] The present invention also provides a computer-readable storage medium for storing computer program code, wherein the computer program includes instructions for executing the communication method of the present invention in the above method. The computer-readable storage medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the present invention.

[0329] The present application also provides a computer program product, which includes instructions. When the instructions are executed, the communication device performs operations corresponding to the above method.

[0330] The present invention also provides a system-on-chip (SoC) comprising a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin, or a circuit. The processing unit may execute computer instructions to cause the chip within the communication device to perform any of the communication methods provided in the embodiments of the present invention.

[0331] Optionally, the computer instructions are stored in a storage unit.

[0332] Optionally, the storage unit is a storage unit within the chip, such as a register, cache, etc. The storage unit can also be a storage unit located outside the chip within the terminal, such as a ROM or other type of static storage device that can store static information and instructions, RAM, etc. The processor mentioned in any of the above can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the above-mentioned feedback information transmission method. The processing unit and the storage unit can be decoupled and respectively set on different physical devices, and connected by wired or wireless means to implement the respective functions of the processing unit and the storage unit to support the system chip to implement the various functions in the above-mentioned embodiments. Alternatively, the processing unit and the memory can also be coupled on the same device.

[0333] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0334] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus ram (DR RAM).

[0335] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor.

[0336] It should be noted that memory of the systems and methods described herein is intended to comprise, but not be limited to, these and any other suitable types of memory.

[0337] It should also be understood that the various numerical numbers involved in this document are only used for the convenience of description and are not intended to limit the scope of the embodiments of the present application.

[0338] It should be understood that the term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0339] It should be understood that in the various embodiments described above, the size of the serial numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0340] Those skilled in the art will appreciate that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0341] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0342] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0343] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0344] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0345] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0346] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: The method is performed by a relay terminal device, and the method includes: Receive and store data from remote terminal devices; Obtaining a result of authentication of the remote terminal device by a data network, the data network being used to provide services to the remote terminal device through the relay terminal device; The data is processed based on a result of the authentication.

2. The method according to claim 1, characterized in that When the authentication result is successful, the processing of the data based on the authentication result includes: The data is sent to the data network.

3. The method according to claim 1, characterized in that When the result of the authentication is that the authentication fails, the processing of the data based on the result of the authentication includes: The data is discarded.

4. The method according to claim 2, characterized in that: Before obtaining the result of the authentication of the remote terminal device by the data network, the method further includes: discarding the data according to a storage policy corresponding to the remote terminal device; Before sending the data to the data network, the method further includes: Sending indication information to the remote terminal device for instructing the remote terminal device to resend the data.

5. The method according to claim 1, characterized in that Before obtaining the result of the authentication of the remote terminal device by the data network, the method further includes: discarding the data according to a storage policy corresponding to the remote terminal device; The processing of the data based on the result of the authentication comprises: When the result of the authentication is authentication failure, indication information indicating that the data has been discarded is sent to the remote terminal device.

6. The method according to claim 5, characterized in that The method further comprises: Sending indication information for indicating a subsequent operation of the remote terminal device to the remote terminal device.

7. The method according to any one of claims 4 to 6, characterized in that The storage strategy includes any of the following: discarding the data after the maximum storage capacity is met; discarding the data after the maximum storage time is met; After the maximum storage time is met, the remote terminal device is requested to indicate a processing strategy for the data, wherein the processing strategy includes discarding the data.

8. A communication method, characterized in that: The method is performed by a relay terminal device, and the method includes: Obtaining a result of authentication of a remote terminal device by a data network, wherein the data network is used to provide services to the remote terminal device through the relay terminal device; When the authentication result is successful, a first message is sent to the remote terminal device, wherein the first message is used to indicate that a direct communication connection between the relay terminal device and the remote terminal device is successfully established, and the first message is also used to trigger the remote terminal device to send data.

9. The method according to claim 8, characterized in that Before obtaining the result of the authentication of the remote terminal device by the data network, the method further includes: It is determined that the remote terminal device needs to perform the authentication.

10. The method according to claim 9, characterized in that After determining that the remote terminal device needs to perform the authentication, the method further includes: Triggering the session management function network element to initiate the authentication; The obtaining of the result of the data network authenticating the remote terminal device includes: Receive the result of the data network authenticating the remote terminal device from the session management function network element.

11. The method according to claim 9, characterized in that Before determining that the remote terminal device needs to perform the authentication, the method further includes: Obtaining the contract data of the remote terminal device; The determining that the remote terminal device needs to perform the authentication includes: Determine based on the subscription data that the remote terminal device needs to perform the authentication.

12. The method according to claim 11, characterized in that The determining, based on the subscription data, that the remote terminal device needs to perform the authentication includes: Based on a comparison result between the subscription data and the subscription data of the relay terminal device, it is determined that the remote terminal device needs to perform the authentication.

13. The method according to claim 9, characterized in that Before determining that the remote terminal device needs to perform the authentication, the method further includes: Receiving indication information from the remote terminal device for indicating that the remote terminal device needs to perform the authentication; The determining that the remote terminal device needs to perform the authentication includes: Based on the indication information for indicating that the remote terminal device needs to perform the authentication, it is determined that the remote terminal device needs to perform the authentication.

14. A communication method, characterized in that: The method comprises: The remote terminal device sends data to the relay terminal device; The relay terminal device receives and stores the data from the remote terminal device; The relay terminal device obtains a result of the authentication of the remote terminal device by the data network, and the data network is used to provide services for the remote terminal device through the relay terminal device; The relay terminal device processes the data based on a result of the authentication.

15. The method according to claim 14, characterized in that When the authentication result is successful, the relay terminal device processes the data based on the authentication result, including: The relay terminal device sends the data to the data network.

16. The method according to claim 14, characterized in that When the result of the authentication is that the authentication fails, the relay terminal device processes the data based on the result of the authentication, including: The data is discarded.

17. The method according to claim 15, characterized in that Before the relay terminal device obtains the result of the authentication of the remote terminal device by the data network, the method further includes: The relay terminal device discards the data according to the storage policy corresponding to the remote terminal device; Before the relay terminal device sends the data to the data network, the method further includes: The relay terminal device sends instruction information for instructing the remote terminal device to resend the data to the remote terminal device; The remote terminal device resends the data to the relay terminal device.

18. The method according to claim 14, characterized in that Before the relay terminal device obtains the result of the authentication of the remote terminal device by the data network, the method further includes: The relay terminal device discards the data according to the storage policy corresponding to the remote terminal device; The relay terminal device processes the data based on the result of the authentication, including: When the result of the authentication is authentication failure, the relay terminal device sends indication information to the remote terminal device indicating that the data has been discarded.

19. A communication method, characterized in that: The method comprises: The relay terminal device obtains a result of the authentication of the remote terminal device by the data network, and the data network is used to provide services for the remote terminal device through the relay terminal device; When the result of the authentication is that the authentication is successful, the relay terminal device sends a first message to the remote terminal device, where the first message is used to indicate that the direct communication connection between the relay terminal device and the remote terminal device is successfully established; The remote terminal device sends data to the relay terminal device.

20. The method according to claim 19, characterized in that Before the relay terminal device obtains the result of the authentication of the remote terminal device by the data network, the method further includes: The relay terminal device determines that the remote terminal device needs to perform the authentication.

21. The method according to claim 20, characterized in that After the relay terminal device determines that the remote terminal device needs to perform the authentication, the method further includes: The relay terminal device triggers the session management function network element to initiate the authentication; The relay terminal device obtains the result of the authentication of the remote terminal device by the data network, including: The relay terminal device receives the result of the data network authenticating the remote terminal device from the session management function network element.

22. A communication device, characterized in that: Comprising means for performing the method as claimed in any one of claims 1 to 13.

23. A communication device, characterized in that: The communication device comprises at least one processor coupled to at least one memory, wherein the at least one processor is configured to execute a computer program or instruction stored in the at least one memory, so that the communication device executes the method according to any one of claims 1 to 13.

24. A communication system, characterized in that: It includes relay terminal equipment and remote terminal equipment, including: The relay terminal device is used to perform the method according to any one of claims 1 to 7; The remote terminal device is used to send data to the relay terminal device.

25. A communication system, characterized in that: It includes relay terminal equipment and remote terminal equipment, including: The relay terminal device is used to perform the method according to any one of claims 8 to 13; The remote terminal device is used to receive a first message from the relay terminal device and send data to the relay terminal device.

26. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the computer is enabled to execute the method according to any one of claims 1 to 13.

27. A computer program product, the computer program product comprising: A computer program, when the computer program is executed, enables the method according to any one of claims 1 to 13 to be performed.

28. A chip system, characterized in that: include: A processor, configured to call and run a computer program from a memory so that a communication device equipped with the chip system executes a method as claimed in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Communication method, device and system

    CN118972842A

  • Service guarantee method and device

    CN113543053A

  • Authentication and authorization method and device

    CN113784346A

  • Methods and systems for establishing secure communication in wireless communication system

    WO2022019627A1

  • Authentication and authorization associated with layer 3 wireless-transmit / receive -unit-to-network

    WO2022150538A1