[go: up one dir, main page]

WO2023072291A1 - Multi-hop relay connection establishment method, apparatus, and device, and medium - Google Patents

Multi-hop relay connection establishment method, apparatus, and device, and medium Download PDF

Info

Publication number
WO2023072291A1
WO2023072291A1 PCT/CN2022/128819 CN2022128819W WO2023072291A1 WO 2023072291 A1 WO2023072291 A1 WO 2023072291A1 CN 2022128819 W CN2022128819 W CN 2022128819W WO 2023072291 A1 WO2023072291 A1 WO 2023072291A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
communication link
network
remote
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/128819
Other languages
French (fr)
Chinese (zh)
Inventor
邓强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Publication of WO2023072291A1 publication Critical patent/WO2023072291A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of communications, and in particular to a method, device, device and medium for establishing a multi-hop relay connection.
  • ProSe Proximity Services, Adjacent business
  • Remote UE Remote User Equipment, remote user equipment
  • UE-to-Network Relay user equipment to network equipment relay
  • the Remote UE discovers the UE-to-Network Relay through the discovery process, it establishes a PC5 connection with it and communicates with the network through the UE-to-Network Relay.
  • Remote UE is supported to connect to UE-to-Network Relay through one hop (a PC5 communication link).
  • the specific process is as follows: first, Remote UE and UE-to-Network Relay obtain service authorization information and perform PC5 discovery and PC5 communication Parameter information; then UE-to-Network Relay pre-establishes a PDU (Protocol Data Unit, protocol data unit) session for relaying Remote UE data; secondly, Remote UE discovers UE-to-Network Relay through the discovery process; then Remote UE Establish a PC5 connection with UE-to-Network Relay, and UE-to-Network Relay may create a new PDU session to relay the data of Remote UE; finally, UE-to-Network Relay assigns an IP address to Remote UE, and Remote UE passes UE -to-Network Data transmission between Relay and the network.
  • PDU Protocol Data Unit
  • Remote UE accessing the network through UE-to-Network Relay can improve network coverage and save UE power. It is an important form of network access in public safety and commercial applications.
  • the Remote UE is connected to the UE-to-Network Relay through one hop, which often cannot meet the actual needs, such as in areas with poor network signals such as basements or forests.
  • This application provides a multi-hop relay connection establishment method, device, equipment and medium to solve the connection problem between Remote UE and UE-to-Network Relay in areas with poor network signals.
  • a method for establishing a multi-hop relay connection is provided, which is applied to a first UE-to-UE (user equipment to user equipment) relay capable of relaying, and the method includes:
  • the method before sending the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, the method further includes:
  • the UE-to-Network relay send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1.
  • a first communication link is established between UE-to-Network relays with a distance of N hops.
  • establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:
  • N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.
  • establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:
  • N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay
  • the second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.
  • the method also includes:
  • the remote UE after receiving the first direct communication request message sent by the remote UE, it also includes:
  • a mapping relationship between the first communication link and the second communication link is stored.
  • the method further includes:
  • router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;
  • the second aspect of the embodiments of the present application provides a method for establishing a multi-hop relay connection, which is applied to a remote UE, including:
  • an apparatus for establishing a multi-hop relay connection includes:
  • the first communication link establishment module is configured to send a second direct connection communication request message to a UE-to-Network relay with a distance of N hops through the first UE-to-UE relay with relay capability, and the distance from A first communication link is established between N-hop UE-to-Network relays, where N is an integer greater than or equal to 1;
  • the message transfer module is configured to perform the relaying from the remote UE to the UE based on the first communication link and the second communication link established with the remote UE through the first UE-to-UE relay capable of relaying Message transmission between UE-to-Network relays with a distance of N hops.
  • a device for establishing a multi-hop relay connection comprising:
  • the first direct communication request message sending module is used to relay the first direct communication request message sent to UE-to-UE through the remote UE;
  • the first direct communication response message receiving module is configured to receive the first direct communication response message sent by the UE-to-UE relay through the remote UE, and the first direct communication response message is used to determine the connection with the A communication connection is established between the UE-to-UE relays.
  • an electronic device including: a processor, and a memory for storing processor-executable instructions; wherein, the processor executes the executable instructions to implement the above-mentioned multi-hop Follow the steps of the connection establishment method.
  • a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the above method for establishing a multi-hop relay connection are implemented.
  • This application proposes a method for Remote UE to connect to UE-to-Network Relay through UE-to-UE Relay, which solves the problem of remote UE connecting to UE through multi-hop in scenarios with poor network signals, such as basements or forests -to-Network Relay problem.
  • Figure 1a is an exemplary 5G ProSe UE-to-Network Relay architecture diagram
  • Fig. 1b is an exemplary UE-to-Network Relay connection establishment flowchart
  • Fig. 2 is a flow chart of a method for establishing a multi-hop relay connection applied to a first UE-to-UE Relay with relay capability shown in an exemplary embodiment
  • Fig. 3 is a schematic diagram of a Remote UE connected to UE-to-Network Relay through two hops shown in an exemplary embodiment
  • Fig. 4 is a flowchart of a method for establishing a multi-hop relay connection applied to a Remote UE shown in an exemplary embodiment
  • Fig. 5 is a flow chart of establishing a multi-hop UE-to-Network Relay connection shown in an exemplary embodiment
  • Fig. 6 is a flowchart of a multi-hop UE-to-Network Relay connection in which UE-to-UE Relay first establishes a connection to UE-to-Network Relay shown in an exemplary embodiment
  • Fig. 7 is a flowchart of the IP address allocation of multi-hop UE-to-Network Relay shown in an exemplary embodiment
  • Fig. 8 is a schematic diagram of a module structure applied to a device for establishing a first UE-to-UE Relay multi-hop relay connection with relay capability shown in an exemplary embodiment
  • Fig. 9 is a schematic diagram of a module structure applied to a device for establishing a Remote UE multi-hop relay connection shown in an exemplary embodiment
  • Fig. 10 is a schematic diagram of an electronic device applied to a method for establishing a first UE-to-UE Relay multi-hop relay connection with relay capability shown in an exemplary embodiment
  • Fig. 11 is a schematic diagram of an electronic device applied to a method for establishing a Remote UE multi-hop relay connection shown in an exemplary embodiment
  • Fig. 12 is a schematic diagram of a program product showing a method for establishing a multi-hop relay connection according to an exemplary embodiment.
  • Figure 1a shows the 5G ProSe UE-to-Network Relay architecture.
  • the UE When the UE is outside the coverage of the network or the signal quality of the Uu interface is poor, it cannot directly connect to the network. It can connect to the network through Remote UE and UE-to-Network Relay.
  • the specific process is shown in Figure 1b, which mainly includes the following steps:
  • Step 1a UE-to-Network Relay obtains service authorization information and parameter information for PC5 discovery and PC5 communication;
  • Step 1b Remote UE acquires service authorization information, and parameter information for PC5 discovery and PC5 communication;
  • Step 2 UE-to-Network Relay pre-establishes a PDU session for relaying Remote UE data
  • Step 3 Remote UE discovers UE-to-Network Relay through the discovery process
  • Step 4 establish a PC5 connection between Remote UE and UE-to-Network Relay;
  • UE-to-Network Relay may create a new PDU session for relaying Remote UE data;
  • Step 5 UE-to-Network Relay assigns an IP address to the Remote UE;
  • Step 6 Remote UE performs data transmission between the UE-to-Network Relay and the network.
  • UE-to-Network Relay registers to the network through the Uu interface, establishes PDU session and QoS (Quality of Service, quality of service) flow to realize communication with the network.
  • the Remote UE communicates with the UE-to-Network Relay through the PC5 interface, and forwards data through the PDU session and QoS flow of the UE-to-Network Relay to achieve the purpose of communicating with the network.
  • the Remote UE can often connect to the UE-to-Network through one hop, which often cannot meet the actual needs. For example, in the basement or in the forest, the Remote UE often needs to connect to the UE-to-Network through multiple hops. Relay, and how Remote UE connects to UE-to-Network Relay through multi-hop is an unsolved problem.
  • a method for establishing a multi-hop relay connection is provided. Based on the same idea, a device for establishing a multi-hop relay connection, an electronic device, and a computer-readable storage medium.
  • a method for establishing a multi-hop relay connection provided by this application is described below through specific embodiments. This method is applied to the first UE-to-UE relay with relay capability, as shown in FIG. 2 , including:
  • Step 201 send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establish a first communication link with the UE-to-Network relay with a distance of N hops, where N is an integer whose value is greater than or equal to 1;
  • the first UE-to-UE relay when N is equal to 1, the first UE-to-UE relay sends a second direct connection communication request message to the next-hop UE-to-Network relay;
  • the first UE-to-UE relay sends the second direct connection communication request message to the next-hop second UE-to-UE relay.
  • Figure 3 shows two hops, that is, the UE-to-Network Relay architecture when N is equal to 1.
  • Remote UE connects to UE-to-UE Relay through one hop, and UE-to-UE Relay connects to UE through one hop.
  • -to-Network Relay This application can realize a UE-to-Network Relay architecture with more than two hops by adding UE-to-UE Relay.
  • Step 202 based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay.
  • the first UE-to-UE relay determines to establish the second communication link with the remote UE by receiving the first direct connection request message sent by the remote UE and sending the first direct connection response message to the remote UE. After the first communication link and the second communication link are established, the first UE-to-UE relay may store the mapping relationship between the first communication link and the second communication link.
  • the above-mentioned first direct connection request message/second direct connection communication request may carry relevant content in the direct connection request message defined in the existing protocol, so as to assist in establishing the remote UE and the first UE-to-UE relay
  • the first direct communication request can specifically carry the relay service code (Relay Service Code), the application layer user identification of the remote UE and the application layer user identification of the first UE-to-UE relay, and the second direct communication request
  • the message may specifically carry the Relay Service Code, the application-layer user identifier of the first UE-to-UE relay, and the application-layer user identifier of the UE-to-Network relay.
  • the Remote UE can be connected to the UE-to-Network Relay through a multi-hop UE-to-UE Relay to complete data transmission.
  • the second communication link between the Remote UE and the first UE-to-UE relay, and the first communication link between the first UE-to-UE relay and the N-hop UE-to-Network relay The communication link can be in any of the following ways:
  • the remote UE first establishes a second communication link with the first UE-to-UE relay, and then the first UE-to-UE relay establishes a UE-to-Network with a distance of N hops a first communication link between the relays;
  • the first UE-to-UE relay first establishes the first communication link with the UE-to-Network relay at a distance of N hops, and the remote UE then establishes the first UE-to-UE relay The second communication link between.
  • the first UE-to-UE relay has the relay capability, it broadcasts through a message
  • the first direct communication request message sent, in addition to including the Relay Service Code, the application layer user identification of the remote UE and the first UE in the first direct communication request message -
  • the application layer user ID of the to-UE relay including the application layer user ID and relay indication of the UE-to-Network relay;
  • the application layer user identification and relay indication of the UE-to-Network relay send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, which is the same as the application layer user identification Establishing a second communication link between corresponding UE-to-Network relays with a distance of N hops;
  • N According to the value of N, it can be divided into the following two cases:
  • N If N is equal to 1, then according to the relay indication, send the next-hop UE-to-Network relay carrying the application layer user identity of the remote UE and the first UE-to-UE relay The second direct connection communication request message of the application layer user identifier;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.
  • N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network
  • the second direct connection communication request message of the relayed application layer user identifier, the UE-to-Network relayed application layer user identifier is used to instruct the second UE-to-UE relay to initiate communication with the application layer user Identify the communication link between the corresponding UE-to-Network relays;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.
  • the first UE-to-UE relay with relay capability determines the UE-to-Network relay with a distance of N hops through the discovery and selection process;
  • the second direct connection communication request message includes the application layer user identifier and relay capability of the UE-to-Network relay,
  • the relay capability indicates that the first UE-to-UE relay has a relay capability, and a second communication link is established between UE-to-Network relays corresponding to the application layer user identifier and N hops away;
  • N According to the value of N, it can be divided into the following two cases:
  • N If N is equal to 1, then send a second direct connection communication request message carrying the application layer user identifier and relay capability of the first UE-to-UE relay to the next-hop UE-to-Network relay ;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.
  • N If N is greater than 1, then send the second direct connection communication request message carrying the relay capability and the application layer user identifier of the UE-to-Network relay to the second UE-to-UE relay of the next hop, so The application layer user identifier of the UE-to-Network relay is used to instruct the second UE-to-UE relay to initiate a communication link between UE-to-Network relays corresponding to the application layer user identifier ;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.
  • the remote UE receives the first direct connection request message sent by the remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein, the first The direct communication request message is sent by the remote UE after receiving the broadcasted indication information, and stores the mapping relationship between the first communication link and the second communication link.
  • the above-mentioned method 1 or method 2 is used to establish a second communication link between the remote UE and the first UE-to-UE relay, and establish a second communication link between the first UE-to-UE relay and the first UE-to-UE relay.
  • a second communication link is established between UE-to-Network relays with a distance of N hops, and after the first UE-to-UE relay stores the mapping relationship between the first communication link and the second communication link , the multi-hop UE-to-Network relay assigns an IP address for the remote UE, specifically, it can be to assign an IPv6 (Internet Protocol Version 6, Internet Protocol Version 6) address, and this embodiment also includes:
  • router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;
  • the embodiment of the present application provides a method for establishing a multi-hop relay connection, which is applied to a Remote UE, as shown in Figure 4, including:
  • Step 401 relaying the first direct communication request message sent to UE-to-UE;
  • Step 402 Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to establish a communication connection with the UE-to-UE relay .
  • the Remote UE can connect to the UE-to-Network Relay through one or more UE-to-UE Relays to complete data transmission by using the method for establishing a multi-hop relay connection provided by the embodiment of the present application.
  • the first UE-to-UE relay broadcasts its relay capability through a message, and sends a first direct communication request message to the first UE-to-UE relay according to the broadcast message, and the first In addition to the Relay Service Code, the application layer user ID of the remote UE and the application layer user ID of the first UE-to-UE relay, the direct connection communication request message also includes the application layer user ID of the UE-to-Network relay and a relay indication, so that the first UE-to-UE relay is relayed to the UE-to-Network relay corresponding to the application layer user identifier of the UE-to-Network relay and N hops away according to the relay indication Sending a second direct connection communication request message;
  • the first UE-to-UE relay receives the first direct communication response message sent by the first UE-to-UE relay after receiving the second direct communication response message of the UE-to-Network Relay with a distance of N hops, and determines the connection with the first UE-to-UE relay.
  • a second communication link is established between the first UE-to-UE relay, and the first direct communication response message includes the Relay Service Code, the application layer user identifier of the remote UE, and the first UE-to-UE The application layer user ID of the relay and the application layer user ID of the UE-to-Network relay.
  • the first UE-to-UE relay is sent to the first UE-to- The UE relay sends the first direct connection communication request message, and the first direct connection communication request message includes the Relay Service Code, the application layer user identification of the remote UE, and the application layer user identification of the first UE-to-UE relay ;
  • the first direct communication response message includes the Relay Service Code, the application layer user identifier of the remote UE, and the application layer user identifier of the first UE-to-UE relay.
  • the multi-hop UE-to-Network relay Distributing an IP address for the remote UE specifically may be distributing an IPv6 address, and this embodiment also includes:
  • the router advertisement message includes an IP address assigned by the UE-to-Network relay
  • IP address Using the IP address, data transmission is performed through the first UE-to-UE relay and UE-to-Network relay.
  • This example is the multi-hop relay connection method when the above method 1 is adopted and N is equal to 1.
  • the UE-to-UE Relay determines the UE-to-Network Relay through the discovery and selection process, and the Remote UE passes The discovery and selection process determines the UE-to-UE Relay. As shown in Figure 5, the specific steps are:
  • Step 1 The Remote UE sends the first direct communication request message to the UE-to-UE Relay, which includes the Relay Service Code, the application layer user identifier (Remote UE user info) of the remote UE, and the UE-to-UE Relay application layer user identification (UE-to-UE Relay user info), UE-to-Network relay application layer user identification (UE-to-Network Relay user info) and relay indication (relay indication);
  • the UE-to-UE Relay includes the Relay Service Code, the application layer user identifier (Remote UE user info) of the remote UE, and the UE-to-UE Relay application layer user identification (UE-to-UE Relay user info), UE-to-Network relay application layer user identification (UE-to-Network Relay user info) and relay indication (relay indication);
  • the Remote UE determines the source ID (Source Layer-2 ID) and destination ID (Destination Layer-2 ID) used to send the first direct communication request message, where the Source Layer-2 ID is generated by the Remote UE itself, and the Destination Layer-2 ID Source Layer-2 ID used by UE-to-UE Relay when broadcasting Relay Service Code.
  • Source Layer-2 ID is generated by the Remote UE itself
  • Destination Layer-2 ID Source Layer-2 ID used by UE-to-UE Relay when broadcasting Relay Service Code.
  • Step 2 After receiving the first direct communication request message sent by the Remote UE, the UE-to-UE Relay judges that the request message needs to be forwarded according to the relay indication;
  • Step 3 UE-to-UE Relay sends a second direct connection communication request message to UE-to-Network Relay, and the second direct connection communication request message includes Relay Service Code, Remote UE user info, UE-to-UE Relay user info and UE-to-Network Relay user info;
  • UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct connection request message, where Source Layer-2 ID is generated by UE-to-UE Relay itself, and Destination Layer-2 ID is Source Layer-2 ID used by UE-to-Network Relay when broadcasting Relay Service Code.
  • Step 4a establishing a first communication link between UE-to-UE Relay and UE-to-Network Relay;
  • Step 4b establishing a second communication link between the Remote UE and the UE-to-UE Relay
  • Step 5 UE-to-Network Relay establishes a PDU session
  • Step 6 UE-to-Network Relay returns the second direct communication response message to UE-to-UE Relay, and determines that the first communication link is established between UE-to-UE Relay and UE-to-Network Relay, the second 2.
  • the direct connection communication response message includes Relay Service Code, Remote UE user info, UE-to-UE Relay user info, UE-to-Network Relay user info and relay indication;
  • UE-to-Network Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication response message, where Source Layer-2 ID (assumed to be Layer-2 ID_1) is determined by UE-to-Network Relay Generated by itself, the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_2) used when UE-to-UE Relay sends the second direct communication request message in step 3.
  • the Source Layer-2 ID and Destination Layer-2 ID of UE-to-UE Relay are Layer-2 ID_2 and Layer-2 ID_1 respectively, and the Source Layer-2 ID and Destination Layer-2 ID of UE-to-Network Relay are The Destination Layer-2 IDs are Layer-2 ID_1 and Layer-2 ID_2 respectively.
  • Step 7 the UE-to-UE Relay returns the first direct communication response message to the Remote UE, and determines that a second communication link is established between the Remote UE and the UE-to-UE Relay, and the first direct communication response message includes the Relay Service Code, Remote UE user info, UE-to-UE Relay user info, and UE-to-Network Relay user info.
  • UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication response message, where Source Layer-2 ID is generated by UE-to-UE Relay itself (assumed to be Layer-2 ID_3), the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_4) used when the Remote UE sends the first direct communication request message in step 1.
  • the Source Layer-2 ID and Destination Layer-2 ID of Remote UE are Layer-2 ID_4 and Layer-2 ID_3 respectively, and the Source Layer-2 ID of UE-to-UE Relay is used as Destination Layer-2
  • the IDs are Layer-2 ID_3 and Layer-2 ID_4 respectively.
  • PC5 communication link PC5 link-1 between Remote UE and UE-to-UE Relay can be identified by Layer-2 ID_3 and Layer-2 ID_4, PC5 communication between UE-to-UE Relay and UE-to-Network Relay Link PC5 link-2 can be identified by Layer-2 ID_1 and Layer-2 ID_2.
  • UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2.
  • This example is a multi-hop relay connection method when the above method 2 is adopted and N is equal to 1. It is that UE-to-UE Relay first establishes the first communication link to UE-to-Network Relay, and then establishes Remote UE to UE -to-UE Relay's second communication link connection. As shown in Figure 6, the specific steps are:
  • Step 1 UE-to-UE Relay discovers UE-to-Network Relay through the process of discovery and selection, and sends a second direct connection communication request message to UE-to-Network Relay, which contains Relay Service Code, UE-to -UE Relay user info, UE-to-Network Relay user info and relay capability (relay capability), where relay capability indicates that the UE will provide multi-hop connection services for UE-to-Network Relay as UE-to-UE Relay;
  • UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication request message, where Source Layer-2 ID is generated by UE-to-UE Relay itself, and Destination Layer-2 ID Source Layer-2 ID used by UE-to-Network Relay when broadcasting Relay Service Code.
  • Step 2 establishing a first communication link between UE-to-UE Relay and UE-to-Network Relay;
  • Step 3 UE-to-Network Relay establishes a PDU session
  • Step 4 UE-to-Network Relay returns the second direct communication response message to UE-to-UE Relay, UE-to-UE Relay determines to establish the first communication link with UE-to-Network Relay, and sends
  • the indication information that the first communication link has been established is broadcast through a message, and the message includes Relay Service Code, UE-to-UE Relay user info and UE-to-Network Relay user info;
  • UE-to-Network Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication response message, where Source Layer-2 ID (assumed to be Layer-2 ID_1) is determined by UE-to-Network Relay Generated by itself, the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_2) used by UE-to-UE Relay when sending the first direct communication request message in step 1.
  • the Source Layer-2 ID and Destination Layer-2 ID of UE-to-UE Relay are Layer-2 ID_2 and Layer-2 ID_1 respectively, and the Source Layer-2 ID and Destination Layer-2 ID of UE-to-Network Relay are The Destination Layer-2 IDs are Layer-2 ID_1 and Layer-2 ID_2 respectively.
  • Step 5 after the Remote UE receives the indication information broadcast by the UE-to-UE Relay that the first communication link has been established, it sends the first direct communication request message to the UE-to-UE Relay, which contains the Relay Service Code , UE-to-UE Relay user info and Remote UE user info;
  • the Remote UE determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication request message, where the Source Layer-2 ID is generated by the Remote UE itself, and the Destination Layer-2 ID is the UE-to-UE Relay in Source Layer-2 ID used when broadcasting Relay Service Code.
  • Step 6 establishing a second direct communication link between the Remote UE and the UE-to-UE Relay;
  • Step 7 the UE-to-UE Relay returns the first direct communication response message to the Remote UE, and the Remote UE determines to establish a second direct communication link with the UE-to-UE Relay.
  • the first direct communication response message contains the Relay Service Code, Remote UE user info and UE-to-UE Relay user info.
  • UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication response message, where Source Layer-2 ID is generated by UE-to-UE Relay itself (assumed to be Layer-2 ID_3), the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_4) used when the Remote UE sends the first direct communication request message in step 5.
  • the Source Layer-2 ID and Destination Layer-2 ID of Remote UE are Layer-2 ID_4 and Layer-2 ID_3 respectively, and the Source Layer-2 ID of UE-to-UE Relay is used as Destination Layer-2
  • the IDs are Layer-2 ID_3 and Layer-2 ID_4 respectively.
  • PC5 communication link PC5 link-1 between Remote UE and UE-to-UE Relay can be identified by Layer-2 ID_3 and Layer-2 ID_4, PC5 communication between UE-to-UE Relay and UE-to-Network Relay Link PC5 link-2 can be identified by Layer-2 ID_1 and Layer-2 ID_2.
  • UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2.
  • Fig. 7 is a flow chart of multi-hop UE-to-Network Relay IP address allocation according to an exemplary embodiment. This process occurs after the second communication link is established between the Remote UE and the UE-to-UE Relay, and after the first communication link is established between the UE-to-UE Relay and the UE-to-Network Relay, where the second Both the communication link and the first communication link are PC5 communication links, represented by PC5 link-1 and PC5 link-2 respectively.
  • UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2. As shown in Figure 7, the specific steps are:
  • Step 1 Remote UE sends a Router Solicitation (router request) message to UE-to-UE Relay through PC5 link-1;
  • Step 2 UE-to-UE Relay cannot process the Router Solicitation message, UE-to-UE Relay decides to forward the router solicitation message, UE-to-UE Relay according to the determined mapping between PC5 link-1 and PC5 link-2 The relationship is determined to use PC5 link-2 to forward the message;
  • Step 3 UE-to-UE Relay sends a Router Solicitation message to UE-to-Network Relay through PC5 link-2;
  • Step 4 UE-to-Network Relay assigns IPv6 prefix (Internet Protocol Version 6, Internet Protocol Version 6 prefix) to Remote UE, UE-to-Network Relay sends Router Advertisement (router Advertisement) to UE-to-UE Relay through Router Solicitation Notification) message, which contains IPv6 prefix;
  • IPv6 prefix Internet Protocol Version 6, Internet Protocol Version 6 prefix
  • Router Advertisement Router Advertisement
  • Step 5 UE-to-UE Relay determines to use PC5 link-1 to forward the message according to the determined mapping relationship between PC5 link-1 and PC5 link-2;
  • Step 6 UE-to-UE Relay sends a Router Advertisement message to Remote UE through PC5 link-1;
  • Step 7 Remote UE performs data transmission through UE-to-UE Relay and UE-to-Network Relay.
  • the embodiment of the present application also provides a device for establishing a multi-hop relay connection. Since the device is the device in the method in the embodiment of the present application, and the problem-solving principle of the device is similar to the method, Therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
  • the above-mentioned device includes the following modules:
  • the first communication link establishment module 801 is configured to send a second direct connection communication request message to a UE-to-Network relay with a distance of N hops through the first UE-to-UE relay capable of relaying, and the A first communication link is established between UE-to-Network relays with a distance of N hops, where N is an integer with a value greater than or equal to 1;
  • the message transfer module 802 is configured to perform the remote UE-to-UE relay based on the first communication link and the second communication link established with the remote UE through the first UE-to-UE relay capable of relaying. Message transfer between UE-to-Network relays with a distance of N hops.
  • the relay capability of the UE-to-UE relay is broadcast through a message
  • the first communication link establishing module is configured to use the first UE-to-UE relay capability with the relay capability to - before the UE relay sends the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, it receives the first direct connection communication request message sent by the remote UE according to the broadcast message, the first direct connection
  • the communication request message includes the UE-to-Network relay application layer user identification and relay indication;
  • the UE-to-Network relay send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1.
  • a first communication link is established between UE-to-Network relays with a distance of N hops.
  • the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying Establishing a first communication link between, including:
  • N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.
  • the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying Establishing a first communication link between, including:
  • N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay
  • the second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.
  • the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying After the first communication link is established, it also includes:
  • the unit also includes:
  • the second communication link establishment module is configured to receive the first direct communication request message sent by the remote UE through the first UE-to-UE relay capable of relaying, and return the first direct communication request message to the remote UE A connection response message, establishing a second communication link with the remote UE; wherein, the first direct connection communication request message is sent by the remote UE after receiving the broadcasted indication information.
  • the first communication link establishment module is configured to relay through the first UE-to-UE capable of relaying after receiving the first direct communication request message sent by the remote UE ,Also includes:
  • a mapping relationship between the first communication link and the second communication link is stored.
  • the device also includes:
  • a router request message receiving module configured to receive the router request message sent by the remote UE through the second communication link through the first UE-to-UE relay capable of relaying;
  • a router request message sending module configured to determine the corresponding first communication link according to the mapping relationship through the first UE-to-UE relay capable of relaying, and transmit the message to the downlink through the first communication link.
  • a hop UE-to-Network relay or a second UE-to-UE relay sends a router solicitation message;
  • the router notifies the message sending module, configured to receive the UE-to-Network relay of the next hop through the first UE-to-UE relay capable of relaying or the UE-to-UE relay through the second UE-to-UE relay A router notification message sent by the second communication link, wherein the router notification message includes the IP address allocated by the UE-to-Network relay;
  • An IP address sending module configured to send the IP address to the remote UE based on the first communication link through the first UE-to-UE relay capable of relaying.
  • the embodiment of the present application also provides a device for establishing a multi-hop relay connection.
  • a device for establishing a multi-hop relay connection is provided. As shown in FIG. 9 , the device includes:
  • the first direct communication request message sending module 901 configured to relay the first direct communication request message sent from the remote UE to UE-to-UE;
  • the first direct communication response message receiving module 902 is configured to receive the first direct communication response message sent by the UE-to-UE relay through the remote UE, and the first direct communication response message is used to determine the connection with A communication connection is established between the UE-to-UE relays.
  • the embodiment of the present application also provides an electronic device for establishing a multi-hop relay connection, since the electronic device is the electronic device in the method in the embodiment of the present application, and the electronic device solves the problem
  • the principle is similar to the method, so the implementation of the electronic device can refer to the implementation of the method, and the repetition will not be repeated.
  • FIG. 10 An electronic device 100 according to this embodiment of the present application is described below with reference to FIG. 10 .
  • the electronic device 100 shown in FIG. 10 is only an example, and should not limit the functions and scope of use of the embodiments of the present application.
  • the electronic device 100 may be in the form of a general computing device, for example, it may be a terminal device.
  • Components of the electronic device 100 may include, but are not limited to: at least one processor 101, at least one memory 102 storing processor-executable instructions, and a bus 103 connecting different system components (including the memory 102 and the processor 101).
  • the processor implements the following steps by running the executable instructions:
  • the processor before sending the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, the processor further executes:
  • the relay capability of the UE-to-UE relay is broadcast through a message, and receives a first direct communication request message sent by the remote UE according to the broadcast message; wherein, the first direct communication request message includes Application layer user identification and relay indication of UE-to-Network relay;
  • the UE-to-Network relay send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1.
  • a first communication link is established between UE-to-Network relays with a distance of N hops.
  • establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:
  • N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.
  • establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:
  • N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay
  • the second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID
  • the second direct connection communication response message it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.
  • the processor after establishing the first communication link with the UE-to-Network relay with a distance of N hops, the processor further executes:
  • the method also includes:
  • the method further includes:
  • a mapping relationship between the first communication link and the second communication link is stored.
  • the processor also executes:
  • router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;
  • Bus 103 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.
  • the memory 102 may include readable media in the form of volatile memory, such as random access memory (RAM) 1021 and/or cache memory 1022 , and may further include a read only memory (ROM) 1023 .
  • RAM random access memory
  • ROM read only memory
  • Memory 102 may also include programs/utilities 1025 having a set (at least one) of program modules 1024 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • programs/utilities 1025 having a set (at least one) of program modules 1024 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • the electronic device 100 can also communicate with one or more external devices 104 (such as keyboards, pointing devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 100, and/or communicate with the electronic device 100. Any device (eg, router, modem, etc.) capable of communicating with one or more other computing devices communicates. Such communication may occur through input/output (I/O) interface 105 .
  • the electronic device 100 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 106 . As shown, the network adapter 106 communicates with other modules of the electronic device 100 through the bus 103 .
  • other hardware and/or software modules may be used in conjunction with electronic device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • FIG. 11 An electronic device 110 according to this embodiment of the present application is described below with reference to FIG. 11 .
  • the electronic device 110 shown in FIG. 11 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • the electronic device 110 may be in the form of a general-purpose computing device, for example, it may be a terminal device.
  • Components of the electronic device 110 may include, but are not limited to: at least one processor 111, at least one memory 112 storing processor-executable instructions, and a bus 113 connecting different system components (including the memory 112 and the processor 111).
  • the processor implements the following steps by running the executable instructions:
  • Bus 113 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.
  • Memory 112 may include readable media in the form of volatile memory, such as random access memory (RAM) 1121 and/or cache memory 1122 , and may further include read only memory (ROM) 1123 .
  • RAM random access memory
  • ROM read only memory
  • Memory 112 may also include programs/utilities 1125 having a set (at least one) of program modules 1124 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • programs/utilities 1125 having a set (at least one) of program modules 1124 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • Electronic device 110 may also communicate with one or more external devices 114 (e.g., keyboards, pointing devices, etc.), and may also communicate with one or more devices that enable a user to interact with electronic device 110, and/or communicate with one or more devices that enable electronic device 110 to Any device (eg, router, modem, etc.) capable of communicating with one or more other computing devices communicates. Such communication may occur through input/output (I/O) interface 115 .
  • the electronic device 110 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 116 . As shown, network adapter 116 communicates with other modules of electronic device 110 via bus 113 .
  • network adapter 116 communicates with other modules of electronic device 110 via bus 113 .
  • other hardware and/or software modules may be used in conjunction with electronic device 110, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID
  • various aspects of the present application can also be implemented in the form of a program product, which includes program code.
  • the program product runs on the terminal device, the program code is used to make the terminal device execute the above-mentioned
  • the terminal device can be used in UE-to-Network with a distance of N hops
  • N is an integer with a value greater than or equal to 1
  • the communication link and the second communication link established with the remote UE perform operations such as message transfer between the remote UE and the UE-to-Network relay with a distance of N hops.
  • a program product may take the form of any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • a readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a program product 120 for setting up a multi-hop relay connection according to an embodiment of the present application is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program codes, and can be downloaded at Runs on end devices such as personal computers.
  • CD-ROM portable compact disk read-only memory
  • the program product of the present application is not limited thereto.
  • a readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device, or device.
  • a readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any appropriate medium, including - but not limited to - wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program codes for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or, alternatively, may be connected to an external computing device (e.g., using an Internet service Provider via Internet connection).
  • LAN local area network
  • WAN wide area network
  • an external computing device e.g., using an Internet service Provider via Internet connection.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to a multi-hop relay connection establishment method, apparatus, and device, and a medium, the method comprising: sending a second direct connection communication request message to a UE-to-network relay at a distance of N hops, and establishing a first communication link with the UE-to-network relay at a distance of N hops, N being an integer greater than or equal to 1; and on the basis of the first communication link and a second communication link established with a remote UE, performing message transfer between the remote UE and the UE-to-network relay at a distance of N hops. The present application solves the problem of a remote UE being connected to a UE-to-network relay by means of multiple hops.

Description

一种多跳中继连接建立方法、装置、设备及介质A method, device, equipment and medium for establishing a multi-hop relay connection

相关申请的交叉引用Cross References to Related Applications

本申请要求在2021年11月01日提交中国专利局、申请号为202111284242.4、申请名称为“一种多跳中继连接建立方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on November 01, 2021, with the application number 202111284242.4 and the application name "A method, device, equipment and medium for establishing a multi-hop relay connection", all of which The contents are incorporated by reference in this application.

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种多跳中继连接建立方法、装置、设备及介质。The present application relates to the technical field of communications, and in particular to a method, device, device and medium for establishing a multi-hop relay connection.

背景技术Background technique

3GPP(The 3rd Generation Partnership Project,第三代合作伙伴计划)R17(第五代移动通信技术演进标准)对5G(5th Generation Mobile Communication Technology,第五代移动通信技术)系统中的ProSe(Proximity Services,临近业务)进行了研究和标准化,ProSe中一个重要的场景是Remote UE(Remote User Equipment,远端用户设备)通过UE-to-Network Relay(用户设备到网络设备中继)与网络进行通信以获取相关服务。Remote UE通过发现过程发现UE-to-Network Relay后,与之建立PC5连接并通过UE-to-Network Relay与网络进行通信。The ProSe (Proximity Services, Adjacent business) has been researched and standardized. An important scenario in ProSe is that Remote UE (Remote User Equipment, remote user equipment) communicates with the network through UE-to-Network Relay (user equipment to network equipment relay) to obtain Related Services. After the Remote UE discovers the UE-to-Network Relay through the discovery process, it establishes a PC5 connection with it and communicates with the network through the UE-to-Network Relay.

目前支持Remote UE通过一跳(一段PC5通信链路)连接到UE-to-Network Relay,其具体过程为:首先Remote UE和UE-to-Network Relay获取业务授权信息和进行PC5发现和PC5通信的参数信息;然后UE-to-Network Relay预建立PDU(Protocol Data Unit,协议数据单元)会话用于中继Remote UE的数据;其次Remote UE通过发现过程发现UE-to-Network Relay;接下来Remote UE与UE-to-Network Relay之间建立PC5连接,UE-to-Network Relay可能新建PDU会话用于中继Remote UE的数据;最后UE-to-Network Relay为Remote  UE分配IP地址,Remote UE通过UE-to-Network Relay与网络之间进行数据传输。Currently, Remote UE is supported to connect to UE-to-Network Relay through one hop (a PC5 communication link). The specific process is as follows: first, Remote UE and UE-to-Network Relay obtain service authorization information and perform PC5 discovery and PC5 communication Parameter information; then UE-to-Network Relay pre-establishes a PDU (Protocol Data Unit, protocol data unit) session for relaying Remote UE data; secondly, Remote UE discovers UE-to-Network Relay through the discovery process; then Remote UE Establish a PC5 connection with UE-to-Network Relay, and UE-to-Network Relay may create a new PDU session to relay the data of Remote UE; finally, UE-to-Network Relay assigns an IP address to Remote UE, and Remote UE passes UE -to-Network Data transmission between Relay and the network.

Remote UE通过UE-to-Network Relay接入网络能够提高网络覆盖范围,而且节省UE电量,是公共安全和商业应用中一种重要的网络接入形式。在一些场景中,Remote UE通过一跳连接到UE-to-Network Relay往往无法满足实际需求,例如在地下室或者森林里等网络信号较差的区域。Remote UE accessing the network through UE-to-Network Relay can improve network coverage and save UE power. It is an important form of network access in public safety and commercial applications. In some scenarios, the Remote UE is connected to the UE-to-Network Relay through one hop, which often cannot meet the actual needs, such as in areas with poor network signals such as basements or forests.

发明内容Contents of the invention

本申请提供一种多跳中继连接建立方法、装置、设备及介质,解决在网络信号较差区域Remote UE与UE-to-Network Relay的连接问题。This application provides a multi-hop relay connection establishment method, device, equipment and medium to solve the connection problem between Remote UE and UE-to-Network Relay in areas with poor network signals.

本申请实施例的第一方面,提供一种多跳中继连接建立方法,应用于具备中继能力的第一UE-to-UE(用户设备到用户设备)中继,该方法包括:In the first aspect of the embodiments of the present application, a method for establishing a multi-hop relay connection is provided, which is applied to a first UE-to-UE (user equipment to user equipment) relay capable of relaying, and the method includes:

向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;Send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establish a first communication link with the UE-to-Network relay with a distance of N hops, where N is a value an integer greater than or equal to 1;

基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。Based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay.

在一种可能的实现方式中,向距离N跳的UE-to-Network中继发送第二直连通信请求消息之前,还包括:In a possible implementation manner, before sending the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, the method further includes:

通过消息广播所述第一UE-to-UE中继的中继能力,并接收远端UE根据广播的消息发送的第一直连通信请求消息;其中,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;Broadcast the relay capability of the first UE-to-UE relay through a message, and receive a first direct communication request message sent by the remote UE according to the broadcast message; wherein, in the first direct communication request message Application layer user identification and relay indication including UE-to-Network relay;

向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, including:

根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops.

在一种可能的实现方式中,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:In a possible implementation manner, establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:

若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;

接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.

在一种可能的实现方式中,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:In a possible implementation manner, establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:

若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays;

接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.

在一种可能的实现方式中,与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,还包括:In a possible implementation manner, after establishing the first communication link with the UE-to-Network relay with a distance of N hops, further comprising:

将与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息通过消息进行广播;Broadcasting the instruction information for establishing the first communication link with the UE-to-Network relay with a distance of N hops through a message;

该方法还包括:The method also includes:

接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。receiving a first direct connection request message sent by a remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein the first direct connection The communication request message is sent by the remote UE after receiving the broadcasted indication information.

在一种可能的实现方式中,接收远端UE发送的第一直连通信请求消息之 后,还包括:In a possible implementation, after receiving the first direct communication request message sent by the remote UE, it also includes:

确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE;

存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored.

在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:

接收所述远端UE通过第二通信链路发送的路由器请求消息;receiving a router solicitation message sent by the remote UE through the second communication link;

根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;Determine the corresponding first communication link according to the mapping relationship, and send a router request to the next-hop UE-to-Network relay or second UE-to-UE relay through the first communication link information;

接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;receiving a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;

基于所述第一通信链路向远端UE发送所述IP地址。sending the IP address to a remote UE based on the first communication link.

本申请实施例的第二方面,提供一种多跳中继连接建立方法,应用于远端UE,包括:The second aspect of the embodiments of the present application provides a method for establishing a multi-hop relay connection, which is applied to a remote UE, including:

向UE-to-UE中继发送的第一直连通信请求消息;The first direct communication request message sent to the UE-to-UE relay;

接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to determine to establish a communication connection with the UE-to-UE relay.

本申请实施例的第三方面,提供一种多跳中继连接建立装置,所述装置包括:According to a third aspect of the embodiments of the present application, an apparatus for establishing a multi-hop relay connection is provided, and the apparatus includes:

第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;The first communication link establishment module is configured to send a second direct connection communication request message to a UE-to-Network relay with a distance of N hops through the first UE-to-UE relay with relay capability, and the distance from A first communication link is established between N-hop UE-to-Network relays, where N is an integer greater than or equal to 1;

消息传递模块,用于通过具备中继能力的第一UE-to-UE中继基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。The message transfer module is configured to perform the relaying from the remote UE to the UE based on the first communication link and the second communication link established with the remote UE through the first UE-to-UE relay capable of relaying Message transmission between UE-to-Network relays with a distance of N hops.

本申请实施例的第四方面,提供一种多跳中继连接建立装置,所述装置 包括:In a fourth aspect of the embodiments of the present application, a device for establishing a multi-hop relay connection is provided, the device comprising:

第一直连通信请求消息发送模块,用于通过远端UE向UE-to-UE中继发送的第一直连通信请求消息;The first direct communication request message sending module is used to relay the first direct communication request message sent to UE-to-UE through the remote UE;

第一直连通信响应消息接收模块,用于通过远端UE接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。The first direct communication response message receiving module is configured to receive the first direct communication response message sent by the UE-to-UE relay through the remote UE, and the first direct communication response message is used to determine the connection with the A communication connection is established between the UE-to-UE relays.

本申请实施例的第五方面,提供一种电子设备包括:处理器,以及用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现上述多跳中继连接建立方法的步骤。According to the fifth aspect of the embodiments of the present application, there is provided an electronic device including: a processor, and a memory for storing processor-executable instructions; wherein, the processor executes the executable instructions to implement the above-mentioned multi-hop Follow the steps of the connection establishment method.

本申请实施例的第六方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述多跳中继连接建立方法的步骤。According to a sixth aspect of the embodiments of the present application, there is provided a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the above method for establishing a multi-hop relay connection are implemented.

本申请的实施例提供的技术方案至少带来以下有益效果:The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:

本申请提出了一种Remote UE通过UE-to-UE Relay连接到UE-to-Network Relay的方法,解决了在网络信号较差的场景下,例如地下室或森林,Remote UE通过多跳连接到UE-to-Network Relay的问题。This application proposes a method for Remote UE to connect to UE-to-Network Relay through UE-to-UE Relay, which solves the problem of remote UE connecting to UE through multi-hop in scenarios with poor network signals, such as basements or forests -to-Network Relay problem.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1a是一示例性的5G ProSe UE-to-Network Relay架构图;Figure 1a is an exemplary 5G ProSe UE-to-Network Relay architecture diagram;

图1b是一示例性的UE-to-Network Relay连接建立流程图;Fig. 1b is an exemplary UE-to-Network Relay connection establishment flowchart;

图2是一示例性实施例示出的一种应用于具备中继能力的第一UE-to-UE Relay的多跳中继连接建立方法的流程图;Fig. 2 is a flow chart of a method for establishing a multi-hop relay connection applied to a first UE-to-UE Relay with relay capability shown in an exemplary embodiment;

图3是一示例性实施例示出的Remote UE通过两跳连接到UE-to-Network Relay的架构图;Fig. 3 is a schematic diagram of a Remote UE connected to UE-to-Network Relay through two hops shown in an exemplary embodiment;

图4是一示例性实施例示出的一种应用于Remote UE的多跳中继连接建立方法的流程图;Fig. 4 is a flowchart of a method for establishing a multi-hop relay connection applied to a Remote UE shown in an exemplary embodiment;

图5是一示例性实施例示出的多跳UE-to-Network Relay连接建立的流程图;Fig. 5 is a flow chart of establishing a multi-hop UE-to-Network Relay connection shown in an exemplary embodiment;

图6是一示例性实施例示出的UE-to-UE Relay先建立到UE-to-Network Relay的连接的多跳UE-to-Network Relay连接的流程图;Fig. 6 is a flowchart of a multi-hop UE-to-Network Relay connection in which UE-to-UE Relay first establishes a connection to UE-to-Network Relay shown in an exemplary embodiment;

图7是一示例性实施例示出的多跳UE-to-Network Relay的IP地址分配的流程图;Fig. 7 is a flowchart of the IP address allocation of multi-hop UE-to-Network Relay shown in an exemplary embodiment;

图8是一示例性实施例示出的一种应用于具备中继能力的第一UE-to-UE Relay多跳中继连接建立装置的模块结构示意图;Fig. 8 is a schematic diagram of a module structure applied to a device for establishing a first UE-to-UE Relay multi-hop relay connection with relay capability shown in an exemplary embodiment;

图9是一示例性实施例示出的一种应用于Remote UE多跳中继连接建立装置的模块结构示意图;Fig. 9 is a schematic diagram of a module structure applied to a device for establishing a Remote UE multi-hop relay connection shown in an exemplary embodiment;

图10是一示例性实施例示出的一种应用于具备中继能力的第一UE-to-UE Relay多跳中继连接建立方法的电子设备示意图;Fig. 10 is a schematic diagram of an electronic device applied to a method for establishing a first UE-to-UE Relay multi-hop relay connection with relay capability shown in an exemplary embodiment;

图11是一示例性实施例示出的一种应用于Remote UE多跳中继连接建立方法的电子设备示意图;Fig. 11 is a schematic diagram of an electronic device applied to a method for establishing a Remote UE multi-hop relay connection shown in an exemplary embodiment;

图12是一示例性实施例示出的一种多跳中继连接建立方法的程序产品示意图。Fig. 12 is a schematic diagram of a program product showing a method for establishing a multi-hop relay connection according to an exemplary embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

下面对文中出现的一些词语进行解释:The following is an explanation of some words that appear in the text:

1、本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以 存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。1. The term "and/or" in the embodiments of this application describes the relationship between related objects, indicating that there may be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and There are three cases of B. The character "/" generally indicates that the contextual objects are an "or" relationship.

2、本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。2. The terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein.

本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。其中,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。The application scenarios described in the embodiments of this application are to illustrate the technical solutions of the embodiments of the application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the application. Those of ordinary skill in the art know that with the development of new application scenarios It appears that the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems. Wherein, in the description of the present application, unless otherwise specified, "plurality" means two or more.

图1a所示为5G ProSe UE-to-Network Relay架构。当UE处于网络覆盖范围之外或Uu接口信号质量较差时,无法直接连接网络,可通过Remote UE和UE-to-Network Relay连接网络,其具体过程如图1b所示,主要包括以下步骤:Figure 1a shows the 5G ProSe UE-to-Network Relay architecture. When the UE is outside the coverage of the network or the signal quality of the Uu interface is poor, it cannot directly connect to the network. It can connect to the network through Remote UE and UE-to-Network Relay. The specific process is shown in Figure 1b, which mainly includes the following steps:

步骤1a,UE-to-Network Relay获取业务授权信息,以及进行PC5发现和PC5通信的参数信息;Step 1a, UE-to-Network Relay obtains service authorization information and parameter information for PC5 discovery and PC5 communication;

步骤1b,Remote UE获取业务授权信息,以及进行PC5发现和PC5通信的参数信息;Step 1b, Remote UE acquires service authorization information, and parameter information for PC5 discovery and PC5 communication;

步骤2,UE-to-Network Relay预建立PDU会话,用于中继Remote UE的数据;Step 2, UE-to-Network Relay pre-establishes a PDU session for relaying Remote UE data;

步骤3,Remote UE通过发现过程发现UE-to-Network Relay;Step 3, Remote UE discovers UE-to-Network Relay through the discovery process;

步骤4,Remote UE与UE-to-Network Relay之间建立PC5连接;UE-to-Network Relay可能新建PDU会话,用于中继Remote UE的数据;Step 4, establish a PC5 connection between Remote UE and UE-to-Network Relay; UE-to-Network Relay may create a new PDU session for relaying Remote UE data;

步骤5,UE-to-Network Relay为Remote UE分配IP地址;Step 5, UE-to-Network Relay assigns an IP address to the Remote UE;

步骤6,Remote UE通过UE-to-Network Relay与网络之间进行数据传输。Step 6, Remote UE performs data transmission between the UE-to-Network Relay and the network.

UE-to-Network Relay通过Uu接口注册到网络中,建立PDU会话和QoS(Quality of Service,服务质量)流以实现和网络的通信。Remote UE通过PC5接口与UE-to-Network Relay进行通信,并通过UE-to-Network Relay的PDU会话和QoS流进行数据的转发,以达到和网络进行通信的目的。UE-to-Network Relay registers to the network through the Uu interface, establishes PDU session and QoS (Quality of Service, quality of service) flow to realize communication with the network. The Remote UE communicates with the UE-to-Network Relay through the PC5 interface, and forwards data through the PDU session and QoS flow of the UE-to-Network Relay to achieve the purpose of communicating with the network.

在一些网络信号较差的场景中,Remote UE通过一跳连接到UE-to-Network往往无法满足实际需求,例如在地下室或者森林里,Remote UE往往需要通过多跳才能连接到UE-to-Network Relay,而Remote UE如何通过多跳连接到UE-to-Network Relay是尚未解决的问题。In some scenarios where the network signal is poor, the Remote UE can often connect to the UE-to-Network through one hop, which often cannot meet the actual needs. For example, in the basement or in the forest, the Remote UE often needs to connect to the UE-to-Network through multiple hops. Relay, and how Remote UE connects to UE-to-Network Relay through multi-hop is an unsolved problem.

为了解决上述问题,本申请实施例中,提供了一种多跳中继连接建立方法,基于同一构思,还提供了一种多跳中继连接建立装置、一种电子设备和一种计算机可读存储介质。In order to solve the above problems, in the embodiment of the present application, a method for establishing a multi-hop relay connection is provided. Based on the same idea, a device for establishing a multi-hop relay connection, an electronic device, and a computer-readable storage medium.

实施例1Example 1

下面通过具体的实施例对本申请提供的一种多跳中继连接建立方法进行说明,此方法应用于具备中继能力的第一UE-to-UE中继,如图2所示,包括:A method for establishing a multi-hop relay connection provided by this application is described below through specific embodiments. This method is applied to the first UE-to-UE relay with relay capability, as shown in FIG. 2 , including:

步骤201,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;Step 201, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establish a first communication link with the UE-to-Network relay with a distance of N hops, where N is an integer whose value is greater than or equal to 1;

上述N的取值有两种情况:There are two situations for the value of the above N:

第一种情况,当N等于1时,所述第一UE-to-UE中继向下一跳的UE-to-Network中继发送第二直连通信请求消息;In the first case, when N is equal to 1, the first UE-to-UE relay sends a second direct connection communication request message to the next-hop UE-to-Network relay;

第二种情况,当N大于1时,所述第一UE-to-UE中继向下一跳的第二UE-to-UE中继发送第二直连通信请求消息。In the second case, when N is greater than 1, the first UE-to-UE relay sends the second direct connection communication request message to the next-hop second UE-to-UE relay.

图3所示为两跳,也就是N等于1时的UE-to-Network Relay架构,Remote UE通过一跳连接到UE-to-UE Relay,UE-to-UE Relay再通过一跳连接到UE-to-Network Relay。本申请可以通过增加UE-to-UE Relay来实现两跳以上的UE-to-Network Relay架构。Figure 3 shows two hops, that is, the UE-to-Network Relay architecture when N is equal to 1. Remote UE connects to UE-to-UE Relay through one hop, and UE-to-UE Relay connects to UE through one hop. -to-Network Relay. This application can realize a UE-to-Network Relay architecture with more than two hops by adding UE-to-UE Relay.

步骤202,基于所述第一通信链路及与远端UE建立的第二通信链路,进 行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。Step 202, based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay.

第一UE-to-UE中继通过接收远端UE发送的第一直连通信请求消息,并向远端UE发送第一直连响应消息,确定与远端UE建立第二通信链路。在建立第一通信链路和第二通信链路之后,第一UE-to-UE中继可以存储所述第一通信链路和第二通信链路之间的映射关系。The first UE-to-UE relay determines to establish the second communication link with the remote UE by receiving the first direct connection request message sent by the remote UE and sending the first direct connection response message to the remote UE. After the first communication link and the second communication link are established, the first UE-to-UE relay may store the mapping relationship between the first communication link and the second communication link.

上述第一直连通信请求消息/第二直连通信请求可以携带现有协议中定义的直连通信请求消息中的相关内容,以辅助建立远端UE与该第一UE-to-UE中继之间的第二通信链路,及该第一UE-to-UE中继与距离N跳的UE-to-Network中继之间的第一通信链路。例如第一直连通信请求具体可以携带中继业务代码(Relay Service Code)、远端UE的应用层用户标识和第一UE-to-UE中继的应用层用户标识,第二直连通信请求消息具体可以携带Relay Service Code、第一UE-to-UE中继的应用层用户标识和UE-to-Network中继的应用层用户标识。The above-mentioned first direct connection request message/second direct connection communication request may carry relevant content in the direct connection request message defined in the existing protocol, so as to assist in establishing the remote UE and the first UE-to-UE relay The second communication link between the first UE-to-UE relay and the first communication link between the first UE-to-UE relay and the UE-to-Network relay with a distance of N hops. For example, the first direct communication request can specifically carry the relay service code (Relay Service Code), the application layer user identification of the remote UE and the application layer user identification of the first UE-to-UE relay, and the second direct communication request The message may specifically carry the Relay Service Code, the application-layer user identifier of the first UE-to-UE relay, and the application-layer user identifier of the UE-to-Network relay.

利用本申请实施例提供的多跳中继连接建立方法,实现了在网络信号较差的场景下,Remote UE可以通过UE-to-UE Relay多跳连接到UE-to-Network Relay完成数据传输。Using the method for establishing a multi-hop relay connection provided by the embodiment of the present application, it is realized that in a scenario where the network signal is poor, the Remote UE can be connected to the UE-to-Network Relay through a multi-hop UE-to-UE Relay to complete data transmission.

Remote UE与该第一UE-to-UE中继之间的第二通信链路,及该第一UE-to-UE中继与距离N跳的UE-to-Network中继之间的第一通信链路,可以采用如下任一方式:The second communication link between the Remote UE and the first UE-to-UE relay, and the first communication link between the first UE-to-UE relay and the N-hop UE-to-Network relay The communication link can be in any of the following ways:

方式1,远端UE先建立与第一UE-to-UE中继之间的第二通信链路,然后,第一UE-to-UE中继再建立与距离N跳的UE-to-Network中继之间的第一通信链路;Mode 1, the remote UE first establishes a second communication link with the first UE-to-UE relay, and then the first UE-to-UE relay establishes a UE-to-Network with a distance of N hops a first communication link between the relays;

方式2,第一UE-to-UE中继先建立与距离N跳的UE-to-Network中继之间的第一通信链路,远端UE再建立与第一UE-to-UE中继之间的第二通信链路。Mode 2, the first UE-to-UE relay first establishes the first communication link with the UE-to-Network relay at a distance of N hops, and the remote UE then establishes the first UE-to-UE relay The second communication link between.

采用上述方式1时的本申请实施例的具体实施方式如下:The specific implementation of the embodiment of the application when adopting the above-mentioned mode 1 is as follows:

首先,第一UE-to-UE中继若具备中继能力,则通过消息进行广播;First, if the first UE-to-UE relay has the relay capability, it broadcasts through a message;

然后,接收远端UE根据广播的消息后,发送的第一直连通信请求消息,所述第一直连通信请求消息中除了包括Relay Service Code、远端UE的应用层用户标识和第一UE-to-UE中继的应用层用户标识,还包括UE-to-Network中继的应用层用户标识和中继指示;Then, after receiving the remote UE according to the broadcast message, the first direct communication request message sent, in addition to including the Relay Service Code, the application layer user identification of the remote UE and the first UE in the first direct communication request message - The application layer user ID of the to-UE relay, including the application layer user ID and relay indication of the UE-to-Network relay;

其次,根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第二通信链路;Secondly, according to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, which is the same as the application layer user identification Establishing a second communication link between corresponding UE-to-Network relays with a distance of N hops;

根据N的取值分为以下两种情况:According to the value of N, it can be divided into the following two cases:

1)若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;1) If N is equal to 1, then according to the relay indication, send the next-hop UE-to-Network relay carrying the application layer user identity of the remote UE and the first UE-to-UE relay The second direct connection communication request message of the application layer user identifier;

接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.

2)若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;2) If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network The second direct connection communication request message of the relayed application layer user identifier, the UE-to-Network relayed application layer user identifier is used to instruct the second UE-to-UE relay to initiate communication with the application layer user Identify the communication link between the corresponding UE-to-Network relays;

接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.

最后,向远端UE发送第一直连通信响应消息,确定与所述远端UE建立的第二通信链路,并存储所述第一通信链路和第二通信链路之间的映射关系。采用上述方式2时的本申请实施例的具体实施方式如下:Finally, send the first direct communication response message to the remote UE, determine the second communication link established with the remote UE, and store the mapping relationship between the first communication link and the second communication link . The specific implementation of the embodiment of the application when adopting the above-mentioned mode 2 is as follows:

首先,具备中继能力的第一UE-to-UE中继通过发现和选择过程确定距离N跳的UE-to-Network中继;First, the first UE-to-UE relay with relay capability determines the UE-to-Network relay with a distance of N hops through the discovery and selection process;

然后,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,所述第二直连通信请求消息包括UE-to-Network中继的应用层用户标识和中继能力,该中继能力表示第一UE-to-UE中继具备中继能力,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第二通信链路;Then, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, where the second direct connection communication request message includes the application layer user identifier and relay capability of the UE-to-Network relay, The relay capability indicates that the first UE-to-UE relay has a relay capability, and a second communication link is established between UE-to-Network relays corresponding to the application layer user identifier and N hops away;

根据N的取值分为以下两种情况:According to the value of N, it can be divided into the following two cases:

1)若N等于1,则向下一跳的UE-to-Network中继发送携带所述第一UE-to-UE中继的应用层用户标识和中继能力的第二直连通信请求消息;1) If N is equal to 1, then send a second direct connection communication request message carrying the application layer user identifier and relay capability of the first UE-to-UE relay to the next-hop UE-to-Network relay ;

接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.

2)若N大于1,则向下一跳的第二UE-to-UE中继发送携带中继能力和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;2) If N is greater than 1, then send the second direct connection communication request message carrying the relay capability and the application layer user identifier of the UE-to-Network relay to the second UE-to-UE relay of the next hop, so The application layer user identifier of the UE-to-Network relay is used to instruct the second UE-to-UE relay to initiate a communication link between UE-to-Network relays corresponding to the application layer user identifier ;

接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.

其次,将与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息通过消息进行广播;Secondly, broadcast the indication information of establishing the first communication link with the UE-to-Network relay with a distance of N hops through a message;

最后,接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的,并存储所述第一通信链路和第二通信链路之间的映射关系。Finally, receiving the first direct connection request message sent by the remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein, the first The direct communication request message is sent by the remote UE after receiving the broadcasted indication information, and stores the mapping relationship between the first communication link and the second communication link.

作为一种可选的实施方式,采用上述方式1或方式2在远端UE与该第一UE-to-UE中继之间建立第二通信链路和第一UE-to-UE中继与距离N跳的UE-to-Network中继之间建立第二通信链路,并且第一UE-to-UE中继存储所述第一通信链路和第二通信链路之间的映射关系之后,多跳UE-to-Network中 继为远端UE分配IP地址,具体可以是分配IPv6(Internet Protocol Version 6,互联网协议第6版)地址,本实施例还包括:As an optional implementation manner, the above-mentioned method 1 or method 2 is used to establish a second communication link between the remote UE and the first UE-to-UE relay, and establish a second communication link between the first UE-to-UE relay and the first UE-to-UE relay. A second communication link is established between UE-to-Network relays with a distance of N hops, and after the first UE-to-UE relay stores the mapping relationship between the first communication link and the second communication link , the multi-hop UE-to-Network relay assigns an IP address for the remote UE, specifically, it can be to assign an IPv6 (Internet Protocol Version 6, Internet Protocol Version 6) address, and this embodiment also includes:

接收所述远端UE通过第二通信链路发送的路由器请求消息;receiving a router solicitation message sent by the remote UE through the second communication link;

根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;Determine the corresponding first communication link according to the mapping relationship, and send a router request to the next-hop UE-to-Network relay or second UE-to-UE relay through the first communication link information;

接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;receiving a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;

基于所述第一通信链路向远端UE发送所述IP地址。sending the IP address to a remote UE based on the first communication link.

本申请实施例提供一种多跳中继连接建立方法,应用于Remote UE,如图4所示,包括:The embodiment of the present application provides a method for establishing a multi-hop relay connection, which is applied to a Remote UE, as shown in Figure 4, including:

步骤401,向UE-to-UE中继发送的第一直连通信请求消息;Step 401, relaying the first direct communication request message sent to UE-to-UE;

步骤402,接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。Step 402: Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to establish a communication connection with the UE-to-UE relay .

在网络信号较差的场景下,利用本申请实施例提供的多跳中继连接建立方法,Remote UE可以通过一个或多个UE-to-UE Relay连接到UE-to-Network Relay完成数据传输。In a scenario where the network signal is poor, the Remote UE can connect to the UE-to-Network Relay through one or more UE-to-UE Relays to complete data transmission by using the method for establishing a multi-hop relay connection provided by the embodiment of the present application.

采用上述方式1时的本申请实施例的具体实施方式如下:The specific implementation of the embodiment of the application when adopting the above-mentioned mode 1 is as follows:

首先,根据第一UE-to-UE中继将其中继能力通过消息进行广播,根据广播的消息向所述第一UE-to-UE中继发送第一直连通信请求消息,所述第一直连通信请求消息中除了包括Relay Service Code、远端UE的应用层用户标识和第一UE-to-UE中继的应用层用户标识,还包括UE-to-Network中继的应用层用户标识和中继指示,以使所述第一UE-to-UE中继根据中继指示向与UE-to-Network中继的应用层用户标识对应的、距离N跳的UE-to-Network中继发送第二直连通信请求消息;Firstly, the first UE-to-UE relay broadcasts its relay capability through a message, and sends a first direct communication request message to the first UE-to-UE relay according to the broadcast message, and the first In addition to the Relay Service Code, the application layer user ID of the remote UE and the application layer user ID of the first UE-to-UE relay, the direct connection communication request message also includes the application layer user ID of the UE-to-Network relay and a relay indication, so that the first UE-to-UE relay is relayed to the UE-to-Network relay corresponding to the application layer user identifier of the UE-to-Network relay and N hops away according to the relay indication Sending a second direct connection communication request message;

然后,接收所述第一UE-to-UE中继在接收到距离N跳的UE-to-Network  Relay的第二直连通信响应消息后,发送的第一直连通信响应消息,确定与所述第一UE-to-UE中继之间建立第二通信链路,所述第一直连通信响应消息包括Relay Service Code、远端UE的应用层用户标识、第一UE-to-UE中继的应用层用户标识和UE-to-Network中继的应用层用户标识。Then, the first UE-to-UE relay receives the first direct communication response message sent by the first UE-to-UE relay after receiving the second direct communication response message of the UE-to-Network Relay with a distance of N hops, and determines the connection with the first UE-to-UE relay. A second communication link is established between the first UE-to-UE relay, and the first direct communication response message includes the Relay Service Code, the application layer user identifier of the remote UE, and the first UE-to-UE The application layer user ID of the relay and the application layer user ID of the UE-to-Network relay.

采用上述方式2时的本申请实施例的具体实施方式如下:The specific implementation of the embodiment of the application when adopting the above-mentioned mode 2 is as follows:

首先,根据将第一UE-to-UE中继通过消息广播的与距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息,向所述第一UE-to-UE中继发送第一直连通信请求消息,所述第一直连通信请求消息中包括Relay Service Code、远端UE的应用层用户标识和第一UE-to-UE中继的应用层用户标识;First, according to the indication information of establishing the first communication link between the first UE-to-UE relay and the UE-to-Network relay with a distance of N hops broadcast by the message, the first UE-to-UE relay is sent to the first UE-to- The UE relay sends the first direct connection communication request message, and the first direct connection communication request message includes the Relay Service Code, the application layer user identification of the remote UE, and the application layer user identification of the first UE-to-UE relay ;

然后,接收所述第一UE-to-UE中继在接收远端UE发送的第一直连通信请求消息后,发送的第一直连通信响应消息,确定与所述第一UE-to-UE中继建立的第二通信链路,所述第一直连通信响应消息包括Relay Service Code、远端UE的应用层用户标识和第一UE-to-UE中继的应用层用户标识。Then, receiving the first direct communication response message sent by the first UE-to-UE relay after receiving the first direct communication request message sent by the remote UE, and determining the connection with the first UE-to-UE The second communication link established by the UE relay, the first direct communication response message includes the Relay Service Code, the application layer user identifier of the remote UE, and the application layer user identifier of the first UE-to-UE relay.

作为一种可选的实施方式,采用上述方式1或方式2在远端UE与该第一UE-to-UE中继之间建立第二通信链路之后,多跳UE-to-Network中继为远端UE分配IP地址,具体可以是分配IPv6地址,本实施例还包括:As an optional implementation manner, after the second communication link is established between the remote UE and the first UE-to-UE relay using the above method 1 or method 2, the multi-hop UE-to-Network relay Distributing an IP address for the remote UE, specifically may be distributing an IPv6 address, and this embodiment also includes:

通过第二通信链路向所述第一UE-to-UE中继发送路由器请求消息;sending a router solicitation message to the first UE-to-UE relay over a second communication link;

接收所述第一UE-to-UE中继通过第二通信链路发送的路由器通告消息,所述路由器通告消息包括UE-to-Network中继分配的IP地址;receiving a router advertisement message sent by the first UE-to-UE relay through the second communication link, where the router advertisement message includes an IP address assigned by the UE-to-Network relay;

利用所述IP地址,通过所述第一UE-to-UE中继与UE-to-Network中继进行数据传输。Using the IP address, data transmission is performed through the first UE-to-UE relay and UE-to-Network relay.

下面从多个网络实体交互的角度,给出本申请提供的一种多跳中继连接方法的具体示例。From the perspective of interaction between multiple network entities, a specific example of a multi-hop relay connection method provided by the present application is given below.

示例1Example 1

本示例为采用上述方式1且N等于1时的多跳中继连接方法,Remote UE在发起该过程之前,UE-to-UE Relay通过发现和选择过程确定UE-to-Network  Relay,Remote UE通过发现和选择过程确定UE-to-UE Relay。如图5所示,具体步骤为:This example is the multi-hop relay connection method when the above method 1 is adopted and N is equal to 1. Before the Remote UE initiates this process, the UE-to-UE Relay determines the UE-to-Network Relay through the discovery and selection process, and the Remote UE passes The discovery and selection process determines the UE-to-UE Relay. As shown in Figure 5, the specific steps are:

步骤1,Remote UE向UE-to-UE Relay发送第一直连通信请求消息,该消息中包含Relay Service Code、远端UE的应用层用户标识(Remote UE user info)、UE-to-UE中继的应用层用户标识(UE-to-UE Relay user info)、UE-to-Network中继的应用层用户标识(UE-to-Network Relay user info)和中继指示(relay indication);Step 1. The Remote UE sends the first direct communication request message to the UE-to-UE Relay, which includes the Relay Service Code, the application layer user identifier (Remote UE user info) of the remote UE, and the UE-to-UE Relay application layer user identification (UE-to-UE Relay user info), UE-to-Network relay application layer user identification (UE-to-Network Relay user info) and relay indication (relay indication);

Remote UE确定发送第一直连通信请求消息使用的源ID(Source Layer-2 ID)和目的ID(Destination Layer-2 ID),其中Source Layer-2 ID由Remote UE自己产生,Destination Layer-2 ID为UE-to-UE Relay在广播Relay Service Code时使用的Source Layer-2 ID。The Remote UE determines the source ID (Source Layer-2 ID) and destination ID (Destination Layer-2 ID) used to send the first direct communication request message, where the Source Layer-2 ID is generated by the Remote UE itself, and the Destination Layer-2 ID Source Layer-2 ID used by UE-to-UE Relay when broadcasting Relay Service Code.

步骤2,UE-to-UE Relay接收Remote UE发送的第一直连通信请求消息后,根据relay indication判断需要转发该请求消息;Step 2: After receiving the first direct communication request message sent by the Remote UE, the UE-to-UE Relay judges that the request message needs to be forwarded according to the relay indication;

步骤3,UE-to-UE Relay向UE-to-Network Relay发送第二直连通信请求消息,所述第二直连通信请求消息包含Relay Service Code、Remote UE user info、UE-to-UE Relay user info和UE-to-Network Relay user info;Step 3, UE-to-UE Relay sends a second direct connection communication request message to UE-to-Network Relay, and the second direct connection communication request message includes Relay Service Code, Remote UE user info, UE-to-UE Relay user info and UE-to-Network Relay user info;

UE-to-UE Relay确定发送第二直连请求消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID由UE-to-UE Relay自己产生,Destination Layer-2 ID为UE-to-Network Relay在广播Relay Service Code时使用的Source Layer-2 ID。UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct connection request message, where Source Layer-2 ID is generated by UE-to-UE Relay itself, and Destination Layer-2 ID is Source Layer-2 ID used by UE-to-Network Relay when broadcasting Relay Service Code.

步骤4a,UE-to-UE Relay和UE-to-Network Relay之间建立第一通信链路;Step 4a, establishing a first communication link between UE-to-UE Relay and UE-to-Network Relay;

步骤4b,Remote UE和UE-to-UE Relay之间建立第二通信链路;Step 4b, establishing a second communication link between the Remote UE and the UE-to-UE Relay;

步骤5,UE-to-Network Relay建立PDU会话;Step 5, UE-to-Network Relay establishes a PDU session;

步骤6,UE-to-Network Relay向UE-to-UE Relay返回第二直连通信响应消息,确定UE-to-UE Relay和UE-to-Network Relay之间建立第一通信链路,该第二直连通信响应消息中包含Relay Service Code、Remote UE user info、UE-to-UE Relay user info、UE-to-Network Relay user info和relay indication;Step 6, UE-to-Network Relay returns the second direct communication response message to UE-to-UE Relay, and determines that the first communication link is established between UE-to-UE Relay and UE-to-Network Relay, the second 2. The direct connection communication response message includes Relay Service Code, Remote UE user info, UE-to-UE Relay user info, UE-to-Network Relay user info and relay indication;

UE-to-Network Relay确定发送第二直连通信响应消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID(假设为Layer-2 ID_1)由UE-to-Network Relay自己产生,Destination Layer-2 ID为UE-to-UE Relay在步骤3中发送第二直连通信请求消息时使用的Source Layer-2 ID(假设为Layer-2 ID_2)。在后续的通信过程中,UE-to-UE Relay的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_2和Layer-2 ID_1,UE-to-Network Relay的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_1和Layer-2 ID_2。UE-to-Network Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication response message, where Source Layer-2 ID (assumed to be Layer-2 ID_1) is determined by UE-to-Network Relay Generated by itself, the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_2) used when UE-to-UE Relay sends the second direct communication request message in step 3. In the subsequent communication process, the Source Layer-2 ID and Destination Layer-2 ID of UE-to-UE Relay are Layer-2 ID_2 and Layer-2 ID_1 respectively, and the Source Layer-2 ID and Destination Layer-2 ID of UE-to-Network Relay are The Destination Layer-2 IDs are Layer-2 ID_1 and Layer-2 ID_2 respectively.

步骤7,UE-to-UE Relay向Remote UE返回第一直连通信响应消息,确定Remote UE和UE-to-UE Relay之间建立第二通信链路,该第一直连通信响应消息包含Relay Service Code、Remote UE user info、UE-to-UE Relay user info和UE-to-Network Relay user info。Step 7, the UE-to-UE Relay returns the first direct communication response message to the Remote UE, and determines that a second communication link is established between the Remote UE and the UE-to-UE Relay, and the first direct communication response message includes the Relay Service Code, Remote UE user info, UE-to-UE Relay user info, and UE-to-Network Relay user info.

UE-to-UE Relay确定发送第一直连通信响应消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID由UE-to-UE Relay自己产生(假设为Layer-2 ID_3),Destination Layer-2 ID为Remote UE在步骤1中发送第一直连通信请求消息时使用的Source Layer-2 ID(假设为Layer-2 ID_4)。在后续的通信过程中,Remote UE的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_4和Layer-2 ID_3,UE-to-UE Relay的Source Layer-2 ID作为Destination Layer-2 ID分别为Layer-2 ID_3和Layer-2 ID_4。UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication response message, where Source Layer-2 ID is generated by UE-to-UE Relay itself (assumed to be Layer-2 ID_3), the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_4) used when the Remote UE sends the first direct communication request message in step 1. In the subsequent communication process, the Source Layer-2 ID and Destination Layer-2 ID of Remote UE are Layer-2 ID_4 and Layer-2 ID_3 respectively, and the Source Layer-2 ID of UE-to-UE Relay is used as Destination Layer-2 The IDs are Layer-2 ID_3 and Layer-2 ID_4 respectively.

Remote UE和UE-to-UE Relay之间的PC5通信链接PC5 link-1可由Layer-2 ID_3和Layer-2 ID_4来标识,UE-to-UE Relay和UE-to-Network Relay之间的PC5通信链接PC5 link-2可由Layer-2 ID_1和Layer-2 ID_2来标识。UE-to-UE Relay保存PC5 link-1和PC5 link-2之间的映射关系。PC5 communication link PC5 link-1 between Remote UE and UE-to-UE Relay can be identified by Layer-2 ID_3 and Layer-2 ID_4, PC5 communication between UE-to-UE Relay and UE-to-Network Relay Link PC5 link-2 can be identified by Layer-2 ID_1 and Layer-2 ID_2. UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2.

示例2Example 2

本示例为采用上述方式2且N等于1时的多跳中继连接方法,其是UE-to-UE Relay先建立到UE-to-Network Relay的第一通信链路,再建立Remote UE到UE-to-UE Relay的第二通信链路连接。如图6所示,具体步骤 为:This example is a multi-hop relay connection method when the above method 2 is adopted and N is equal to 1. It is that UE-to-UE Relay first establishes the first communication link to UE-to-Network Relay, and then establishes Remote UE to UE -to-UE Relay's second communication link connection. As shown in Figure 6, the specific steps are:

步骤1,UE-to-UE Relay通过发现和选择过程发现UE-to-Network Relay,并向UE-to-Network Relay发送第二直连通信请求消息,该消息中包含Relay Service Code、UE-to-UE Relay user info、UE-to-Network Relay user info和中继能力(relay capability),其中relay capability指示该UE将作为UE-to-UE Relay为UE-to-Network Relay提供多跳连接服务;Step 1, UE-to-UE Relay discovers UE-to-Network Relay through the process of discovery and selection, and sends a second direct connection communication request message to UE-to-Network Relay, which contains Relay Service Code, UE-to -UE Relay user info, UE-to-Network Relay user info and relay capability (relay capability), where relay capability indicates that the UE will provide multi-hop connection services for UE-to-Network Relay as UE-to-UE Relay;

UE-to-UE Relay确定发送第二直连通信请求消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID由UE-to-UE Relay自己产生,Destination Layer-2 ID为UE-to-Network Relay在广播Relay Service Code时使用的Source Layer-2 ID。UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication request message, where Source Layer-2 ID is generated by UE-to-UE Relay itself, and Destination Layer-2 ID Source Layer-2 ID used by UE-to-Network Relay when broadcasting Relay Service Code.

步骤2,UE-to-UE Relay和UE-to-Network Relay之间建立第一通信链路;Step 2, establishing a first communication link between UE-to-UE Relay and UE-to-Network Relay;

步骤3,UE-to-Network Relay建立PDU会话;Step 3, UE-to-Network Relay establishes a PDU session;

步骤4,UE-to-Network Relay向UE-to-UE Relay返回第二直连通信响应消息,UE-to-UE Relay确定与UE-to-Network Relay之间建立第一通信链路,并将已建立第一通信链路的指示信息通过消息进行广播,该消息中包含Relay Service Code、UE-to-UE Relay user info和UE-to-Network Relay user info;Step 4, UE-to-Network Relay returns the second direct communication response message to UE-to-UE Relay, UE-to-UE Relay determines to establish the first communication link with UE-to-Network Relay, and sends The indication information that the first communication link has been established is broadcast through a message, and the message includes Relay Service Code, UE-to-UE Relay user info and UE-to-Network Relay user info;

UE-to-Network Relay确定发送第二直连通信响应消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID(假设为Layer-2 ID_1)由UE-to-Network Relay自己产生,Destination Layer-2 ID为UE-to-UE Relay在步骤1中发送第一直连通信请求消息时使用的Source Layer-2 ID(假设为Layer-2 ID_2)。在后续的通信过程中,UE-to-UE Relay的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_2和Layer-2 ID_1,UE-to-Network Relay的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_1和Layer-2 ID_2。UE-to-Network Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the second direct communication response message, where Source Layer-2 ID (assumed to be Layer-2 ID_1) is determined by UE-to-Network Relay Generated by itself, the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_2) used by UE-to-UE Relay when sending the first direct communication request message in step 1. In the subsequent communication process, the Source Layer-2 ID and Destination Layer-2 ID of UE-to-UE Relay are Layer-2 ID_2 and Layer-2 ID_1 respectively, and the Source Layer-2 ID and Destination Layer-2 ID of UE-to-Network Relay are The Destination Layer-2 IDs are Layer-2 ID_1 and Layer-2 ID_2 respectively.

步骤5,Remote UE收到UE-to-UE Relay广播的已建立第一通信链路的指示信息后,向UE-to-UE Relay发送第一直连通信请求消息,该消息中包含Relay Service Code、UE-to-UE Relay user info和Remote UE user info;Step 5, after the Remote UE receives the indication information broadcast by the UE-to-UE Relay that the first communication link has been established, it sends the first direct communication request message to the UE-to-UE Relay, which contains the Relay Service Code , UE-to-UE Relay user info and Remote UE user info;

Remote UE确定发送第一直连通信请求消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID由Remote UE自己产生,Destination Layer-2 ID为UE-to-UE Relay在广播Relay Service Code时使用的Source Layer-2 ID。The Remote UE determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication request message, where the Source Layer-2 ID is generated by the Remote UE itself, and the Destination Layer-2 ID is the UE-to-UE Relay in Source Layer-2 ID used when broadcasting Relay Service Code.

步骤6,Remote UE和UE-to-UE Relay之间建立第二直连通信链路;Step 6, establishing a second direct communication link between the Remote UE and the UE-to-UE Relay;

步骤7,UE-to-UE Relay向Remote UE返回第一直连通信响应消息,Remote UE确定与UE-to-UE Relay建立第二直连通信链路该第一直连通信响应消息中包含Relay Service Code、Remote UE user info和UE-to-UE Relay user info。Step 7, the UE-to-UE Relay returns the first direct communication response message to the Remote UE, and the Remote UE determines to establish a second direct communication link with the UE-to-UE Relay. The first direct communication response message contains the Relay Service Code, Remote UE user info and UE-to-UE Relay user info.

UE-to-UE Relay确定发送第一直连通信响应消息使用的Source Layer-2 ID和Destination Layer-2 ID,其中Source Layer-2 ID由UE-to-UE Relay自己产生(假设为Layer-2 ID_3),Destination Layer-2 ID为Remote UE在步骤5中发送第一直连通信请求消息时使用的Source Layer-2 ID(假设为Layer-2 ID_4)。在后续的通信过程中,Remote UE的Source Layer-2 ID和Destination Layer-2 ID分别为Layer-2 ID_4和Layer-2 ID_3,UE-to-UE Relay的Source Layer-2 ID作为Destination Layer-2 ID分别为Layer-2 ID_3和Layer-2 ID_4。UE-to-UE Relay determines the Source Layer-2 ID and Destination Layer-2 ID used to send the first direct communication response message, where Source Layer-2 ID is generated by UE-to-UE Relay itself (assumed to be Layer-2 ID_3), the Destination Layer-2 ID is the Source Layer-2 ID (assumed to be Layer-2 ID_4) used when the Remote UE sends the first direct communication request message in step 5. In the subsequent communication process, the Source Layer-2 ID and Destination Layer-2 ID of Remote UE are Layer-2 ID_4 and Layer-2 ID_3 respectively, and the Source Layer-2 ID of UE-to-UE Relay is used as Destination Layer-2 The IDs are Layer-2 ID_3 and Layer-2 ID_4 respectively.

Remote UE和UE-to-UE Relay之间的PC5通信链接PC5 link-1可由Layer-2 ID_3和Layer-2 ID_4来标识,UE-to-UE Relay和UE-to-Network Relay之间的PC5通信链接PC5 link-2可由Layer-2 ID_1和Layer-2 ID_2来标识。UE-to-UE Relay保存PC5 link-1和PC5 link-2之间的映射关系。PC5 communication link PC5 link-1 between Remote UE and UE-to-UE Relay can be identified by Layer-2 ID_3 and Layer-2 ID_4, PC5 communication between UE-to-UE Relay and UE-to-Network Relay Link PC5 link-2 can be identified by Layer-2 ID_1 and Layer-2 ID_2. UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2.

示例3Example 3

图7是根据一示例性实施例示出的多跳UE-to-Network Relay的IP地址分配的流程图。本过程发生在Remote UE与UE-to-UE Relay之间建立第二通信链路,以及UE-to-UE Relay与UE-to-Network Relay之间建立第一通信链路连接之后,其中第二通信链路和第一通信链路都是PC5通信链接,分别用PC5 link-1和PC5 link-2表示。UE-to-UE Relay保存PC5 link-1和PC5 link-2之间的映射关系。如图7所示,具体步骤为:Fig. 7 is a flow chart of multi-hop UE-to-Network Relay IP address allocation according to an exemplary embodiment. This process occurs after the second communication link is established between the Remote UE and the UE-to-UE Relay, and after the first communication link is established between the UE-to-UE Relay and the UE-to-Network Relay, where the second Both the communication link and the first communication link are PC5 communication links, represented by PC5 link-1 and PC5 link-2 respectively. UE-to-UE Relay saves the mapping relationship between PC5 link-1 and PC5 link-2. As shown in Figure 7, the specific steps are:

步骤1,Remote UE通过PC5 link-1向UE-to-UE Relay发送Router Solicitation(路由器请求)消息;Step 1, Remote UE sends a Router Solicitation (router request) message to UE-to-UE Relay through PC5 link-1;

步骤2,UE-to-UE Relay无法处理Router Solicitation消息,UE-to-UE Relay决定转发该路由器请求消息,UE-to-UE Relay根据确定的PC5 link-1和PC5 link-2之间的映射关系确定使用PC5 link-2转发该消息;Step 2, UE-to-UE Relay cannot process the Router Solicitation message, UE-to-UE Relay decides to forward the router solicitation message, UE-to-UE Relay according to the determined mapping between PC5 link-1 and PC5 link-2 The relationship is determined to use PC5 link-2 to forward the message;

步骤3,UE-to-UE Relay通过PC5 link-2向UE-to-Network Relay发送Router Solicitation消息;Step 3, UE-to-UE Relay sends a Router Solicitation message to UE-to-Network Relay through PC5 link-2;

步骤4,UE-to-Network Relay为Remote UE分配IPv6 prefix(Internet Protocol Version 6,互联网协议第6版前缀),UE-to-Network Relay通过Router Solicitation向UE-to-UE Relay发送Router Advertisement(路由器通告)消息,该消息中包含IPv6 prefix;Step 4, UE-to-Network Relay assigns IPv6 prefix (Internet Protocol Version 6, Internet Protocol Version 6 prefix) to Remote UE, UE-to-Network Relay sends Router Advertisement (router Advertisement) to UE-to-UE Relay through Router Solicitation Notification) message, which contains IPv6 prefix;

步骤5,UE-to-UE Relay根据确定的PC5 link-1和PC5 link-2之间的映射关系确定使用PC5 link-1转发该消息;Step 5, UE-to-UE Relay determines to use PC5 link-1 to forward the message according to the determined mapping relationship between PC5 link-1 and PC5 link-2;

步骤6,UE-to-UE Relay通过PC5 link-1向Remote UE发送Router Advertisement消息;Step 6, UE-to-UE Relay sends a Router Advertisement message to Remote UE through PC5 link-1;

步骤7,Remote UE通过UE-to-UE Relay与UE-to-Network Relay进行数据传输。Step 7, Remote UE performs data transmission through UE-to-UE Relay and UE-to-Network Relay.

实施例2Example 2

基于相同的发明构思,本申请实施例还提供一种多跳中继连接建立装置,由于该装置即是本申请实施例中的方法中的装置,并且该装置解决问题的原理与该方法相似,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present application also provides a device for establishing a multi-hop relay connection. Since the device is the device in the method in the embodiment of the present application, and the problem-solving principle of the device is similar to the method, Therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.

如图8所示,上述装置包括以下模块:As shown in Figure 8, the above-mentioned device includes the following modules:

第一通信链路建立模块801,用于通过具备中继能力的第一UE-to-UE中继向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;The first communication link establishment module 801 is configured to send a second direct connection communication request message to a UE-to-Network relay with a distance of N hops through the first UE-to-UE relay capable of relaying, and the A first communication link is established between UE-to-Network relays with a distance of N hops, where N is an integer with a value greater than or equal to 1;

消息传递模块802,用于通过具备中继能力的第一UE-to-UE中继基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。The message transfer module 802 is configured to perform the remote UE-to-UE relay based on the first communication link and the second communication link established with the remote UE through the first UE-to-UE relay capable of relaying. Message transfer between UE-to-Network relays with a distance of N hops.

作为一种可选的实施方式,所述UE-to-UE中继的中继能力通过消息进行广播,所述第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继向距离N跳的UE-to-Network中继发送第二直连通信请求消息之前,接收远端UE根据广播的消息发送的第一直连通信请求消息,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;As an optional implementation manner, the relay capability of the UE-to-UE relay is broadcast through a message, and the first communication link establishing module is configured to use the first UE-to-UE relay capability with the relay capability to - before the UE relay sends the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, it receives the first direct connection communication request message sent by the remote UE according to the broadcast message, the first direct connection The communication request message includes the UE-to-Network relay application layer user identification and relay indication;

向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, including:

根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops.

作为一种可选的实施方式,所述第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:As an optional implementation manner, the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying Establishing a first communication link between, including:

若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;

接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.

作为一种可选的实施方式,所述第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:As an optional implementation manner, the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying Establishing a first communication link between, including:

若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用 户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays;

接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.

作为一种可选的实施方式,所述第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,还包括:As an optional implementation manner, the first communication link establishment module is configured to relay the UE-to-Network with a distance of N hops through the first UE-to-UE relay capable of relaying After the first communication link is established, it also includes:

将与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息通过消息进行广播;Broadcasting the instruction information for establishing the first communication link with the UE-to-Network relay with a distance of N hops through a message;

该装置还包括:The unit also includes:

第二通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。The second communication link establishment module is configured to receive the first direct communication request message sent by the remote UE through the first UE-to-UE relay capable of relaying, and return the first direct communication request message to the remote UE A connection response message, establishing a second communication link with the remote UE; wherein, the first direct connection communication request message is sent by the remote UE after receiving the broadcasted indication information.

作为一种可选的实施方式,所述第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继接收远端UE发送的第一直连通信请求消息之后,还包括:As an optional implementation manner, the first communication link establishment module is configured to relay through the first UE-to-UE capable of relaying after receiving the first direct communication request message sent by the remote UE ,Also includes:

确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE;

存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored.

作为一种可选的实施方式,所述装置还包括:As an optional implementation, the device also includes:

路由器请求消息接收模块,用于通过具备中继能力的第一UE-to-UE中继接收所述远端UE通过第二通信链路发送的路由器请求消息;A router request message receiving module, configured to receive the router request message sent by the remote UE through the second communication link through the first UE-to-UE relay capable of relaying;

路由器请求消息发送模块,用于通过具备中继能力的第一UE-to-UE中继根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;A router request message sending module, configured to determine the corresponding first communication link according to the mapping relationship through the first UE-to-UE relay capable of relaying, and transmit the message to the downlink through the first communication link. A hop UE-to-Network relay or a second UE-to-UE relay sends a router solicitation message;

路由器通知消息发送模块,用于通过具备中继能力的第一UE-to-UE中继接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;The router notifies the message sending module, configured to receive the UE-to-Network relay of the next hop through the first UE-to-UE relay capable of relaying or the UE-to-UE relay through the second UE-to-UE relay A router notification message sent by the second communication link, wherein the router notification message includes the IP address allocated by the UE-to-Network relay;

IP地址发送模块,用于通过具备中继能力的第一UE-to-UE中继基于所述第一通信链路向远端UE发送所述IP地址。An IP address sending module, configured to send the IP address to the remote UE based on the first communication link through the first UE-to-UE relay capable of relaying.

本申请实施例还提供一种多跳中继连接建立装置,提供一种多跳中继连接建立装置,如图9所示,所述装置包括:The embodiment of the present application also provides a device for establishing a multi-hop relay connection. A device for establishing a multi-hop relay connection is provided. As shown in FIG. 9 , the device includes:

第一直连通信请求消息发送模块901,用于通过远端UE向UE-to-UE中继发送的第一直连通信请求消息;The first direct communication request message sending module 901, configured to relay the first direct communication request message sent from the remote UE to UE-to-UE;

第一直连通信响应消息接收模块902,用于通过远端UE接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。The first direct communication response message receiving module 902 is configured to receive the first direct communication response message sent by the UE-to-UE relay through the remote UE, and the first direct communication response message is used to determine the connection with A communication connection is established between the UE-to-UE relays.

实施例3Example 3

基于相同的发明构思,本申请实施例中还提供了一种多跳中继连接建立电子设备,由于该电子设备即是本申请实施例中的方法中的电子设备,并且该电子设备解决问题的原理与该方法相似,因此该电子设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present application also provides an electronic device for establishing a multi-hop relay connection, since the electronic device is the electronic device in the method in the embodiment of the present application, and the electronic device solves the problem The principle is similar to the method, so the implementation of the electronic device can refer to the implementation of the method, and the repetition will not be repeated.

下面参照图10来描述根据本申请的这种实施方式的电子设备100。图10显示的电子设备100仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。An electronic device 100 according to this embodiment of the present application is described below with reference to FIG. 10 . The electronic device 100 shown in FIG. 10 is only an example, and should not limit the functions and scope of use of the embodiments of the present application.

如图10所示,电子设备100可以以通用计算设备的形式表现,例如其可以为终端设备。电子设备100的组件可以包括但不限于:上述至少一个处理器101、上述至少一个存储处理器可执行指令的存储器102、连接不同系统组件(包括存储器102和处理器101)的总线103。As shown in FIG. 10 , the electronic device 100 may be in the form of a general computing device, for example, it may be a terminal device. Components of the electronic device 100 may include, but are not limited to: at least one processor 101, at least one memory 102 storing processor-executable instructions, and a bus 103 connecting different system components (including the memory 102 and the processor 101).

所述处理器通过运行所述可执行指令以实现如下步骤:The processor implements the following steps by running the executable instructions:

向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述 距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;Send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establish a first communication link with the UE-to-Network relay with a distance of N hops, where N is a value an integer greater than or equal to 1;

基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。Based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay.

作为一种可选的实施方式,向距离N跳的UE-to-Network中继发送第二直连通信请求消息之前,所述处理器还执行:As an optional implementation manner, before sending the second direct connection communication request message to the UE-to-Network relay with a distance of N hops, the processor further executes:

所述UE-to-UE中继的中继能力通过消息进行广播,并接收远端UE根据广播的消息发送的第一直连通信请求消息;其中,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;The relay capability of the UE-to-UE relay is broadcast through a message, and receives a first direct communication request message sent by the remote UE according to the broadcast message; wherein, the first direct communication request message includes Application layer user identification and relay indication of UE-to-Network relay;

向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, including:

根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops.

作为一种可选的实施方式,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:As an optional implementation manner, establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:

若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user;

接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop.

作为一种可选的实施方式,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:As an optional implementation manner, establishing a first communication link with the UE-to-Network relay with a distance of N hops includes:

若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识 用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays;

接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay;

根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops.

作为一种可选的实施方式,与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,所述处理器还执行:As an optional implementation manner, after establishing the first communication link with the UE-to-Network relay with a distance of N hops, the processor further executes:

将与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息通过消息进行广播;Broadcasting the instruction information for establishing the first communication link with the UE-to-Network relay with a distance of N hops through a message;

该方法还包括:The method also includes:

接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。receiving a first direct connection request message sent by a remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein the first direct connection The communication request message is sent by the remote UE after receiving the broadcasted indication information.

作为一种可选的实施方式,接收远端UE发送的第一直连通信请求消息之后,还包括:As an optional implementation manner, after receiving the first direct communication request message sent by the remote UE, the method further includes:

确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE;

存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored.

作为一种可选的实施方式,所述处理器还执行:As an optional implementation manner, the processor also executes:

接收所述远端UE通过第二通信链路发送的路由器请求消息;receiving a router solicitation message sent by the remote UE through the second communication link;

根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;Determine the corresponding first communication link according to the mapping relationship, and send a router request to the next-hop UE-to-Network relay or second UE-to-UE relay through the first communication link information;

接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;receiving a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay;

基于所述第一通信链路向远端UE发送所述IP地址。sending the IP address to a remote UE based on the first communication link.

总线103表示几类总线结构中的一种或多种,包括存储器总线或者存储 器控制器、外围总线、处理器或者使用多种总线结构中的任意总线结构的局域总线。Bus 103 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.

存储器102可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)1021和/或高速缓存存储器1022,还可以进一步包括只读存储器(ROM)1023。The memory 102 may include readable media in the form of volatile memory, such as random access memory (RAM) 1021 and/or cache memory 1022 , and may further include a read only memory (ROM) 1023 .

存储器102还可以包括具有一组(至少一个)程序模块1024的程序/实用工具1025,这样的程序模块1024包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Memory 102 may also include programs/utilities 1025 having a set (at least one) of program modules 1024 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.

电子设备100也可以与一个或多个外部设备104(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与电子设备100交互的设备通信,和/或与使得电子设备100能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口105进行。并且,电子设备100还可以通过网络适配器106与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器106通过总线103与电子设备100的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备100使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 100 can also communicate with one or more external devices 104 (such as keyboards, pointing devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 100, and/or communicate with the electronic device 100. Any device (eg, router, modem, etc.) capable of communicating with one or more other computing devices communicates. Such communication may occur through input/output (I/O) interface 105 . Moreover, the electronic device 100 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 106 . As shown, the network adapter 106 communicates with other modules of the electronic device 100 through the bus 103 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.

下面参照图11来描述根据本申请的这种实施方式的电子设备110。图11显示的电子设备110仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。An electronic device 110 according to this embodiment of the present application is described below with reference to FIG. 11 . The electronic device 110 shown in FIG. 11 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.

如图11所示,电子设备110可以以通用计算设备的形式表现,例如其可以为终端设备。电子设备110的组件可以包括但不限于:上述至少一个处理器111、上述至少一个存储处理器可执行指令的存储器112、连接不同系统组件(包括存储器112和处理器111)的总线113。As shown in FIG. 11 , the electronic device 110 may be in the form of a general-purpose computing device, for example, it may be a terminal device. Components of the electronic device 110 may include, but are not limited to: at least one processor 111, at least one memory 112 storing processor-executable instructions, and a bus 113 connecting different system components (including the memory 112 and the processor 111).

所述处理器通过运行所述可执行指令以实现如下步骤:The processor implements the following steps by running the executable instructions:

向UE-to-UE中继发送的第一直连通信请求消息;The first direct communication request message sent to the UE-to-UE relay;

接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to determine to establish a communication connection with the UE-to-UE relay.

总线113表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器、外围总线、处理器或者使用多种总线结构中的任意总线结构的局域总线。Bus 113 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus structures.

存储器112可以包括易失性存储器形式的可读介质,例如随机存取存储器(RAM)1121和/或高速缓存存储器1122,还可以进一步包括只读存储器(ROM)1123。Memory 112 may include readable media in the form of volatile memory, such as random access memory (RAM) 1121 and/or cache memory 1122 , and may further include read only memory (ROM) 1123 .

存储器112还可以包括具有一组(至少一个)程序模块1124的程序/实用工具1125,这样的程序模块1124包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Memory 112 may also include programs/utilities 1125 having a set (at least one) of program modules 1124 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.

电子设备110也可以与一个或多个外部设备114(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与电子设备110交互的设备通信,和/或与使得电子设备110能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口115进行。并且,电子设备110还可以通过网络适配器116与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器116通过总线113与电子设备110的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备110使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Electronic device 110 may also communicate with one or more external devices 114 (e.g., keyboards, pointing devices, etc.), and may also communicate with one or more devices that enable a user to interact with electronic device 110, and/or communicate with one or more devices that enable electronic device 110 to Any device (eg, router, modem, etc.) capable of communicating with one or more other computing devices communicates. Such communication may occur through input/output (I/O) interface 115 . Moreover, the electronic device 110 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 116 . As shown, network adapter 116 communicates with other modules of electronic device 110 via bus 113 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 110, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.

实施例4Example 4

在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种 示例性实施方式的多跳中继连接建立装置中各模块的步骤,例如,终端设备可以用于向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递等操作。In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes program code. When the program product runs on the terminal device, the program code is used to make the terminal device execute the above-mentioned The steps of each module in the multi-hop relay connection establishment device described in the "Exemplary Method" section according to various exemplary embodiments of the present application, for example, the terminal device can be used in UE-to-Network with a distance of N hops After sending the second direct connection communication request message, establish a first communication link with the UE-to-Network relay with a distance of N hops, where N is an integer with a value greater than or equal to 1; based on the first The communication link and the second communication link established with the remote UE perform operations such as message transfer between the remote UE and the UE-to-Network relay with a distance of N hops.

程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。A program product may take the form of any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

如图12所示,描述了根据本申请的实施方式的用于多跳中继连接建立的程序产品120,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。As shown in FIG. 12 , a program product 120 for setting up a multi-hop relay connection according to an embodiment of the present application is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program codes, and can be downloaded at Runs on end devices such as personal computers. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device, or device.

可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any appropriate medium, including - but not limited to - wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作 的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program codes for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or, alternatively, may be connected to an external computing device (e.g., using an Internet service Provider via Internet connection).

应当注意,尽管在上文详细描述中提及了系统的若干模块或子模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块的特征和功能可以在一个模块中具体化。反之,上文描述的一个模块的特征和功能可以进一步划分为由多个模块来具体化。It should be noted that although several modules or sub-modules of the system are mentioned in the above detailed description, this division is only exemplary and not mandatory. Actually, according to the embodiment of the present application, the features and functions of two or more modules described above may be embodied in one module. Conversely, the features and functions of one module described above may be further divided to be embodied by a plurality of modules.

此外,尽管在附图中以特定顺序描述了本申请系统各模块的操作,但是,这并非要求或者暗示必须按照该特定顺序来执行这些操作,或是必须执行全部所示的操作才能实现期望的结果。附加地或备选地,可以省略某些操作,将多个操作合并为一个操作执行,和/或将一个操作分解为多个操作执行。In addition, although the operations of the various modules of the system of the present application are described in a specific order in the drawings, this does not require or imply that these operations must be performed in this specific order, or that all shown operations must be performed to achieve the desired result. Additionally or alternatively, certain operations may be omitted, multiple operations may be combined for execution as one operation, and/or one operation may be decomposed for execution as multiple operations.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a A device for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams. Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (25)

一种多跳中继连接建立方法,其特征在于,应用于具备中继能力的第一用户设备到用户设备UE-to-UE中继,该方法包括:A method for establishing a multi-hop relay connection, characterized in that it is applied to UE-to-UE relay from a first user equipment capable of relaying to user equipment UE-to-UE, the method comprising: 向距离N跳的用户设备到网络设备UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops from the user equipment to the network device, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, wherein , N is an integer whose value is greater than or equal to 1; 基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。Based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising: 通过消息广播所述第一UE-to-UE中继的中继能力,并接收远端UE根据广播的消息发送的第一直连通信请求消息;其中,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;Broadcast the relay capability of the first UE-to-UE relay through a message, and receive a first direct communication request message sent by the remote UE according to the broadcast message; wherein, in the first direct communication request message Application layer user identification and relay indication including UE-to-Network relay; 向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, including: 根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops. 根据权利要求2所述的方法,其特征在于,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The method according to claim 2, wherein establishing a first communication link with the UE-to-Network relay with a distance of N hops comprises: 若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user; 接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop. 根据权利要求2所述的方法,其特征在于,与所述距离N跳的 UE-to-Network中继之间建立第一通信链路,包括:The method according to claim 2, wherein establishing a first communication link with the UE-to-Network relay of the distance N hops comprises: 若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays; 接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops. 根据权利要求1所述的方法,其特征在于,与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,还包括:The method according to claim 1, wherein after establishing the first communication link with the UE-to-Network relay with a distance of N hops, further comprising: 通过消息广播指示信息,所述指示信息为与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息;Broadcasting indication information through a message, where the indication information is indication information for establishing a first communication link with the UE-to-Network relay with a distance of N hops; 该方法还包括:The method also includes: 接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。receiving a first direct connection request message sent by a remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein the first direct connection The communication request message is sent by the remote UE after receiving the broadcasted indication information. 根据权利要求2~5任一所述的方法,其特征在于,接收远端UE发送的第一直连通信请求消息之后,还包括:The method according to any one of claims 2 to 5, characterized in that after receiving the first direct communication request message sent by the remote UE, further comprising: 确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE; 存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, further comprising: 接收所述远端UE通过第二通信链路发送的路由器请求消息;receiving a router solicitation message sent by the remote UE through the second communication link; 根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;Determine the corresponding first communication link according to the mapping relationship, and send a router request to the next-hop UE-to-Network relay or second UE-to-UE relay through the first communication link information; 接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第 二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;receiving a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay; 基于所述第一通信链路向远端UE发送所述IP地址。sending the IP address to a remote UE based on the first communication link. 一种多跳中继连接建立方法,其特征在于,应用于远端用户设备RemoteUE,该方法包括:A method for establishing a multi-hop relay connection, characterized in that it is applied to a remote user equipment RemoteUE, and the method includes: 向用户设备到用户设备UE-to-UE中继发送的第一直连通信请求消息;The first direct connection communication request message sent from the user equipment to the user equipment UE-to-UE relay; 接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to determine to establish a communication connection with the UE-to-UE relay. 一种多跳中继连接建立装置,其特征在于,所述装置包括:A device for establishing a multi-hop relay connection, characterized in that the device includes: 第一通信链路建立模块,用于通过具备中继能力的第一UE-to-UE中继向距离N跳的用户设备到网络设备UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;The first communication link establishment module is configured to send the second direct connection communication request message to the UE-to-Network relay with a distance of N hops from the user equipment to the network equipment UE-to-Network relay through the first UE-to-UE relay capable of relaying , establishing a first communication link with the UE-to-Network relay with a distance of N hops, where N is an integer whose value is greater than or equal to 1; 消息传递模块,用于通过具备中继能力的第一UE-to-UE中继基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。The message transfer module is configured to perform the relaying from the remote UE to the UE based on the first communication link and the second communication link established with the remote UE through the first UE-to-UE relay capable of relaying Message transmission between UE-to-Network relays with a distance of N hops. 根据权利要求9所述的装置,其特征在于,所述第一通信链路建立模块,还用于:The device according to claim 9, wherein the first communication link establishment module is also used for: 通过消息广播所述第一UE-to-UE中继的中继能力,并接收远端UE根据广播的消息发送的第一直连通信请求消息;其中,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;Broadcast the relay capability of the first UE-to-UE relay through a message, and receive a first direct communication request message sent by the remote UE according to the broadcast message; wherein, in the first direct communication request message Application layer user identification and relay indication including UE-to-Network relay; 所述第一通信链路建立模块,用于向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The first communication link establishment module is configured to send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establish a communication link with the UE-to-Network relay with a distance of N hops. a first communication link comprising: 根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops. 根据权利要求10所述的装置,其特征在于,所述第一通信链路建立模块,用于与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The device according to claim 10, wherein the first communication link establishment module is configured to establish a first communication link with the UE-to-Network relay with a distance of N hops, comprising: 若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user; 接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop. 根据权利要求10所述的装置,其特征在于,所述第一通信链路建立模块,用于与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The device according to claim 10, wherein the first communication link establishment module is configured to establish a first communication link with the UE-to-Network relay with a distance of N hops, comprising: 若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays; 接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops. 根据权利要求9所述的装置,其特征在于,所述第一通信链路建立模块,用于与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,还包括:The device according to claim 9, wherein the first communication link establishment module is configured to establish a first communication link with the UE-to-Network relay with a distance of N hops, further include: 通过消息广播指示信息,所述指示信息为与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息;Broadcasting indication information through a message, where the indication information is indication information for establishing a first communication link with the UE-to-Network relay with a distance of N hops; 该装置还包括:The unit also includes: 第二通信链路建立模块,用于接收远端UE发送的第一直连通信请求消息, 并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。A second communication link establishment module, configured to receive a first direct connection request message sent by a remote UE, and return a first direct connection response message to the remote UE, and establish a second communication link with the remote UE wherein, the first direct communication request message is sent by the remote UE after receiving the broadcasted indication information. 根据权利要求10~13任一所述的装置,其特征在于,所述第一通信链路建立模块,用于接收远端UE发送的第一直连通信请求消息之后,还包括:The device according to any one of claims 10 to 13, wherein the first communication link establishment module, after receiving the first direct communication request message sent by the remote UE, further includes: 确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE; 存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored. 根据权利要求14所述的装置,其特征在于,所述装置还包括:The device according to claim 14, further comprising: 路由器请求消息接收模块,用于接收所述远端UE通过第二通信链路发送的路由器请求消息;A router request message receiving module, configured to receive a router request message sent by the remote UE through the second communication link; 路由器请求消息发送模块,用于根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;A router request message sending module, configured to determine the corresponding first communication link according to the mapping relationship, and relay to the next-hop UE-to-Network or the second UE-to-Network through the first communication link The to-UE relay sends a router solicitation message; 路由器通知消息发送模块,用于接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;A router notification message sending module, configured to receive a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, the router notification The message includes the IP address assigned by the UE-to-Network relay; IP地址发送模块,用于基于所述第一通信链路向远端UE发送所述IP地址。An IP address sending module, configured to send the IP address to the remote UE based on the first communication link. 一种多跳中继连接建立装置,其特征在于,所述装置包括:A device for establishing a multi-hop relay connection, characterized in that the device includes: 第一直连通信请求消息发送模块,用于通过远端UE向用户设备到用户设备UE-to-UE中继发送的第一直连通信请求消息;The first direct communication request message sending module is used to relay the first direct communication request message sent from the remote UE to the user equipment UE-to-UE; 第一直连通信响应消息接收模块,用于通过远端UE接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。The first direct communication response message receiving module is configured to receive the first direct communication response message sent by the UE-to-UE relay through the remote UE, and the first direct communication response message is used to determine the connection with the A communication connection is established between the UE-to-UE relays. 一种电子设备,其特征在于,应用于具备中继能力的第一UE-to-UE中继,包括:处理器,以及用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现如下步骤:An electronic device, characterized in that it is applied to a first UE-to-UE relay with relay capability, and includes: a processor, and a memory for storing processor-executable instructions; wherein, the processor passes Run described executable instruction to realize following steps: 向距离N跳的用户设备到网络设备UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,其中,N为取值大于等于1的整数;Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops from the user equipment to the network device, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, wherein , N is an integer whose value is greater than or equal to 1; 基于所述第一通信链路及与远端UE建立的第二通信链路,进行所述远端UE到所述距离N跳的UE-to-Network中继之间的消息传递。Based on the first communication link and the second communication link established with the remote UE, perform message transfer between the remote UE and the N-hop UE-to-Network relay. 根据权利要求17所述的电子设备,其特征在于,所述处理器还执行:The electronic device according to claim 17, wherein the processor further executes: 通过消息广播所述第一UE-to-UE中继的中继能力,并接收远端UE根据广播的消息发送的第一直连通信请求消息;其中,所述第一直连通信请求消息中包括UE-to-Network中继的应用层用户标识和中继指示;Broadcast the relay capability of the first UE-to-UE relay through a message, and receive a first direct communication request message sent by the remote UE according to the broadcast message; wherein, in the first direct communication request message Application layer user identification and relay indication including UE-to-Network relay; 向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:Sending a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and establishing a first communication link with the UE-to-Network relay with a distance of N hops, including: 根据所述UE-to-Network中继的应用层用户标识和中继指示,向距离N跳的UE-to-Network中继发送第二直连通信请求消息,与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the application layer user identification and relay indication of the UE-to-Network relay, send a second direct connection communication request message to the UE-to-Network relay with a distance of N hops, and the corresponding to the application layer user identification 1. A first communication link is established between UE-to-Network relays with a distance of N hops. 根据权利要求18所述的电子设备,其特征在于,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The electronic device according to claim 18, wherein establishing a first communication link with the UE-to-Network relay with a distance of N hops comprises: 若N等于1,则根据所述中继指示,向下一跳的UE-to-Network中继发送携带远端UE的应用层用户标识和所述第一UE-to-UE中继的应用层用户标识的第二直连通信请求消息;If N is equal to 1, according to the relay indication, send the application layer user identification of the remote UE and the application layer of the first UE-to-UE relay to the next-hop UE-to-Network relay The second direct connection communication request message identified by the user; 接收所述下一跳的UE-to-Network中继发送的第二直连通信响应消息;receiving the second direct communication response message sent by the UE-to-Network relay of the next hop; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离1跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of 1 hop. 根据权利要求18所述的电子设备,其特征在于,与所述距离N跳的UE-to-Network中继之间建立第一通信链路,包括:The electronic device according to claim 18, wherein establishing a first communication link with the UE-to-Network relay with a distance of N hops comprises: 若N大于1,则根据所述中继指示,向下一跳的第二UE-to-UE中继发送携带中继指示、远端UE的应用层用户标识和UE-to-Network中继的应用层用户标识的第二直连通信请求消息,所述UE-to-Network中继的应用层用户标识 用于指示所述第二UE-to-UE中继发起与所述应用层用户标识对应的UE-to-Network中继之间的通信链路;If N is greater than 1, according to the relay indication, send the second UE-to-UE relay carrying the relay indication, the application layer user identity of the remote UE, and the UE-to-Network relay The second direct connection communication request message of the application layer user ID, the application layer user ID of the UE-to-Network relay is used to indicate that the second UE-to-UE relay initiates a communication corresponding to the application layer user ID The communication link between UE-to-Network relays; 接收所述下一跳的第二UE-to-UE中继发送的第二直连通信响应消息;receiving a second direct communication response message sent by the next-hop second UE-to-UE relay; 根据所述第二直连通信响应消息,确定与所述应用层用户标识对应的、距离N跳的UE-to-Network中继之间建立第一通信链路。According to the second direct connection communication response message, it is determined that a first communication link is established between UE-to-Network relays corresponding to the application layer user identifier and with a distance of N hops. 根据权利要求17所述的电子设备,其特征在于,与所述距离N跳的UE-to-Network中继之间建立第一通信链路之后,所述处理器还执行:The electronic device according to claim 17, wherein after the first communication link is established with the UE-to-Network relay with a distance of N hops, the processor further executes: 通过消息广播指示信息,所述指示信息为与所述距离N跳的UE-to-Network中继之间建立第一通信链路的指示信息;Broadcasting indication information through a message, where the indication information is indication information for establishing a first communication link with the UE-to-Network relay with a distance of N hops; 所述处理器还执行:The processor also executes: 接收远端UE发送的第一直连通信请求消息,并向所述远端UE返回第一直连响应消息,与所述远端UE建立第二通信链路;其中,所述第一直连通信请求消息是所述远端UE在收到广播的所述指示信息后发送的。receiving a first direct connection request message sent by a remote UE, and returning a first direct connection response message to the remote UE, and establishing a second communication link with the remote UE; wherein the first direct connection The communication request message is sent by the remote UE after receiving the broadcasted indication information. 根据权利要求18~21任一所述的电子设备,其特征在于,接收远端UE发送的第一直连通信请求消息之后,所述处理器还执行:The electronic device according to any one of claims 18-21, wherein after receiving the first direct communication request message sent by the remote UE, the processor further executes: 确定与所述远端UE建立的第二通信链路;determining a second communication link established with the remote UE; 存储所述第一通信链路和第二通信链路之间的映射关系。A mapping relationship between the first communication link and the second communication link is stored. 根据权利要求22所述的电子设备,其特征在于,所述处理器还执行:The electronic device according to claim 22, wherein the processor further executes: 接收所述远端UE通过第二通信链路发送的路由器请求消息;receiving a router solicitation message sent by the remote UE through the second communication link; 根据所述映射关系确定对应的第一通信链路,并通过所述第一通信链路向所述下一跳的UE-to-Network中继或第二UE-to-UE中继发送路由器请求消息;Determine the corresponding first communication link according to the mapping relationship, and send a router request to the next-hop UE-to-Network relay or second UE-to-UE relay through the first communication link information; 接收所述下一跳的UE-to-Network中继或第二UE-to-UE中继通过所述第二通信链路发送的路由器通知消息,所述路由器通知消息中包括UE-to-Network中继分配的IP地址;receiving a router notification message sent by the next-hop UE-to-Network relay or a second UE-to-UE relay through the second communication link, where the router notification message includes a UE-to-Network The IP address assigned by the relay; 基于所述第一通信链路向远端UE发送所述IP地址。sending the IP address to a remote UE based on the first communication link. 一种电子设备,其特征在于,应用于远端UE,包括:处理器,以及 用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现如下步骤:An electronic device, characterized in that it is applied to a remote UE, includes: a processor, and a memory for storing processor-executable instructions; wherein, the processor implements the following steps by running the executable instructions: 向用户设备到用户设备UE-to-UE中继发送的第一直连通信请求消息;The first direct connection communication request message sent from the user equipment to the user equipment UE-to-UE relay; 接收所述UE-to-UE中继发送的第一直连通信响应消息,所述第一直连通信响应消息用于确定与所述UE-to-UE中继之间建立通信连接。Receive a first direct communication response message sent by the UE-to-UE relay, where the first direct communication response message is used to determine to establish a communication connection with the UE-to-UE relay. 一种计算机可读写存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现权利要求1至7任一项所述的方法,或实现权利要求8所述的方法。A computer readable and writable storage medium, on which computer instructions are stored, characterized in that, when the instructions are executed by a processor, the method according to any one of claims 1 to 7 is realized, or the method according to claim 8 is realized .
PCT/CN2022/128819 2021-11-01 2022-10-31 Multi-hop relay connection establishment method, apparatus, and device, and medium Ceased WO2023072291A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111284242.4 2021-11-01
CN202111284242.4A CN116074917A (en) 2021-11-01 2021-11-01 A method, device, equipment and medium for establishing a multi-hop relay connection

Publications (1)

Publication Number Publication Date
WO2023072291A1 true WO2023072291A1 (en) 2023-05-04

Family

ID=86159084

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128819 Ceased WO2023072291A1 (en) 2021-11-01 2022-10-31 Multi-hop relay connection establishment method, apparatus, and device, and medium

Country Status (2)

Country Link
CN (1) CN116074917A (en)
WO (1) WO2023072291A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116390194A (en) * 2023-06-01 2023-07-04 上海星思半导体有限责任公司 Method for selecting access strategy, method and device for sending state information

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121442442A (en) * 2023-07-06 2026-01-30 Oppo广东移动通信有限公司 Wireless communication methods, user equipment, and network equipment
CN120239002A (en) * 2023-12-29 2025-07-01 华为技术有限公司 Communication method, device and system
CN120456351A (en) * 2024-02-06 2025-08-08 大唐移动通信设备有限公司 Proximity service communication method, device, communication device, and storage medium
CN120692622A (en) * 2024-03-22 2025-09-23 中国电信股份有限公司技术创新中心 Communication method, user equipment, network equipment and communication system
CN120812579A (en) * 2024-04-10 2025-10-17 华为技术有限公司 Method, device and system for establishing secure connection
CN121418843A (en) * 2024-07-24 2026-01-27 夏普株式会社 Method performed by user equipment and user equipment
CN121419028A (en) * 2024-07-24 2026-01-27 大唐移动通信设备有限公司 Auxiliary information reporting methods, devices, terminals, network equipment, and storage media

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836338A (en) * 2018-01-09 2020-10-27 Oppo广东移动通信有限公司 Method and relay node for relay transmission
WO2020223629A1 (en) * 2019-05-01 2020-11-05 Convida Wireless, Llc Methods for a multi-hop relay in 5g network
US20210250749A1 (en) * 2020-02-07 2021-08-12 Qualcomm Incorporated Proximity service multi-hop relay configuration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347645A (en) * 2021-05-28 2021-09-03 刘秀萍 802.11 wireless multi-hop communication and self-adaptive switching method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836338A (en) * 2018-01-09 2020-10-27 Oppo广东移动通信有限公司 Method and relay node for relay transmission
WO2020223629A1 (en) * 2019-05-01 2020-11-05 Convida Wireless, Llc Methods for a multi-hop relay in 5g network
US20210250749A1 (en) * 2020-02-07 2021-08-12 Qualcomm Incorporated Proximity service multi-hop relay configuration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116390194A (en) * 2023-06-01 2023-07-04 上海星思半导体有限责任公司 Method for selecting access strategy, method and device for sending state information
CN116390194B (en) * 2023-06-01 2023-10-27 上海星思半导体有限责任公司 Access policy selection method, state information sending method and device

Also Published As

Publication number Publication date
CN116074917A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
WO2023072291A1 (en) Multi-hop relay connection establishment method, apparatus, and device, and medium
US9106711B2 (en) Minimizing mapping and signaling for data path aggregation
JP5872649B2 (en) Pseudowiring for mobility management
US20220377819A1 (en) Method and apparatus for establishing data transmission link and computer-readable storage medium
CN114726829B (en) Communication method, user plane gateway and communication system
JP2021530892A (en) Communication method and communication device
CN102959906B (en) Routing method and device for host in multi-homing site
JP2024517718A (en) Selective import of UE addresses into VRFs in a 5G network
CN117640399A (en) Communication methods and related devices
CN113709677B (en) Method and device for joining multicast broadcast service MBS session
CN116389018A (en) Data transmission method and system in software-defined wide area network SD-WAN
JP2016208513A (en) Relay method and corresponding communication network device, system, computer program, and computer-readable storage medium
CN114867077B (en) Multi-hop route realization method, device, equipment and storage medium
CN115604670A (en) Signaling intercommunication method, system, device, electronic equipment and storage medium
CN114666846A (en) Communication method and gateway equipment
CN110266715B (en) Remote access method, device, equipment and computer readable storage medium
CN104468305B (en) Realize Layer3 Virtual Private Network method and apparatus
CN118870464A (en) Relay equipment selection method, reselection method and device, equipment and program product
CN117177218A (en) Method, device and communication node for realizing network communication between terminals
CN111510929B (en) Method and device for extending LCID in IAB network
CN116614469A (en) Service processing method, device, electronic equipment and storage medium
US20200137726A1 (en) Communications device and communication method
CN115914068B (en) Network communication method, device, electronic equipment and computer readable storage medium
CN115348636B (en) Shared international roaming method, device, equipment and storage medium
CN120786531A (en) Communication method and device based on multi-hop relay, equipment, medium and program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22886166

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05/08/2024)

122 Ep: pct application non-entry in european phase

Ref document number: 22886166

Country of ref document: EP

Kind code of ref document: A1