Movatterモバイル変換


[0]ホーム

URL:


WO2023179778A1 - Method and apparatus for allocating identifier to remote terminal, and terminal - Google Patents

Method and apparatus for allocating identifier to remote terminal, and terminal
Download PDF

Info

Publication number
WO2023179778A1
WO2023179778A1PCT/CN2023/083803CN2023083803WWO2023179778A1WO 2023179778 A1WO2023179778 A1WO 2023179778A1CN 2023083803 WCN2023083803 WCN 2023083803WWO 2023179778 A1WO2023179778 A1WO 2023179778A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
identifier
target
relay
message
Prior art date
Application number
PCT/CN2023/083803
Other languages
French (fr)
Chinese (zh)
Inventor
刘进华
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司filedCritical维沃移动通信有限公司
Publication of WO2023179778A1publicationCriticalpatent/WO2023179778A1/en

Links

Classifications

Definitions

Landscapes

Abstract

The present application relates to the field of wireless communications, and discloses a method and apparatus for allocating an identifier to a remote terminal, and a terminal. The method for allocating an identifier to a remote terminal in embodiments of the present application comprises: a first relay terminal is combined with at least one first target terminal to allocate a first target identifier to a first remote terminal, wherein the first relay terminal is an access relay terminal of the first remote terminal, and the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

Description

Translated fromChinese
远端终端的识别符的分配方法、装置及终端Remote terminal identifier allocation method, device and terminal

交叉引用cross reference

本发明要求在2022年03月25日提交中国专利局、申请号为202210303202.8、发明名称为“远端终端的识别符的分配方法、装置及终端”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。This invention claims the priority of the Chinese patent application submitted to the China Patent Office on March 25, 2022, with the application number 202210303202.8 and the invention title "Method, device and terminal for allocating identifiers of remote terminals", and all of the application The contents are incorporated herein by reference.

技术领域Technical field

本申请属于无线通信技术领域,具体涉及一种远端终端的识别符的分配方法、装置及终端。The present application belongs to the field of wireless communication technology, and specifically relates to a method, device and terminal for allocating an identifier of a remote terminal.

背景技术Background technique

当两个远端终端(Remote User Equipment,Remote UE)之间由于旁链路无线信道质量太差,而不能直接建立旁链路通信时,其中一个远端终端可以寻找合适的一个或多个中继终端(Relay UE),通过一个或多个中继终端建立中继通道。两个远端终端之间的通信通过中继终端进行数据转发实现,从而实现终端到终端(UE to UE,U2U)通信。When side link communication cannot be directly established between two remote terminals (Remote User Equipment, Remote UE) due to poor quality of the side link wireless channel, one of the remote terminals can find one or more suitable central Relay UE (Relay UE) establishes a relay channel through one or more relay terminals. The communication between two remote terminals is realized through data forwarding through the relay terminal, thereby realizing terminal-to-terminal (UE to UE, U2U) communication.

在层2(Layer 2,L2)中继网络中,基站作为网络架构中的主要控制节点,远端终端用于中继传输的识别符是由基站分配的,通过在数据包的包头中携带该识别符,使得中继终端可识别需要转发到该远端终端的数据包,也可以使得基站可识别出来自该远端终端的数据包。In a Layer 2 (L2) relay network, the base station serves as the main control node in the network architecture. The identifier used by the remote terminal for relay transmission is assigned by the base station. The identifier is carried in the header of the data packet. The identifier enables the relay terminal to identify the data packet that needs to be forwarded to the remote terminal, and also allows the base station to identify the data packet from the remote terminal.

但是在L2 U2U中继结构中,中继终端和远端终端与基站之间存在无线连接可能断开,从而使得基站无法为远端终端分配识别符。However, in the L2 U2U relay structure, the wireless connection between the relay terminal and the remote terminal and the base station may be disconnected, making the base station unable to allocate identifiers to the remote terminal.

发明内容Contents of the invention

本申请实施例提供一种远端终端的识别符的分配方法、装置及终端,能够解决中继终端和远端终端与基站之间的无线连接断开而导致基站无法为远端终端分配识别符的问题。Embodiments of the present application provide a method, device and terminal for allocating identifiers of remote terminals, which can solve the problem of the base station being unable to allocate identifiers to remote terminals due to disconnection of the wireless connection between the relay terminal and the remote terminal and the base station. The problem.

第一方面,提供了一种远端终端的识别符的分配方法,包括:第一中继终端联合至少一个第一目标终端,为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。In a first aspect, a method for allocating an identifier of a remote terminal is provided, including: a first relay terminal combines with at least one first target terminal to allocate a first target identifier to the first remote terminal, wherein: The first relay terminal is an access relay terminal of the first remote terminal, and the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

第二方面,提供了一种远端终端的识别符的分配装置,应用于第一中继终端,所述装置包括:第一接收模块,接收第一远端终端发送的第一消息;第一分配模块,用于联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。In a second aspect, a device for allocating an identifier of a remote terminal is provided, which is applied to a first relay terminal. The device includes: a first receiving module that receives a first message sent by the first remote terminal; A first allocation module, configured to combine at least one first target terminal and allocate a first target identifier to the first remote terminal, wherein the first relay terminal is the access point of the first remote terminal. Relay terminal, the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

第三方面,提供了一种远端终端的识别符的分配方法,包括:第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。In a third aspect, a method for allocating an identifier of a remote terminal is provided, including: a first target terminal and a first relay terminal jointly allocating a first target identifier to the first remote terminal, wherein the first target terminal The relay terminal is an access relay terminal of the first remote terminal, and the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

第四方面,提供了一种远端终端识别符的分配装置,应用于第一目标终端,所述装置包括:第二接收模块,用于接收第一消息,其中,所述第一消息指示为第一远端终端分配第一目标识别符;第二分配模块,用于与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。In a fourth aspect, a device for allocating a remote terminal identifier is provided, which is applied to a first target terminal. The device includes: a second receiving module, configured to receive a first message, wherein the first message indicates The first remote terminal allocates the first target identifier; the second allocation module is configured to jointly allocate the first target identifier to the first relay terminal, wherein the first relay terminal is the The access relay terminal of the first remote terminal, the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

第五方面,提供了一种中继路由方法,包括:第一中继终端接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;所述第一中继终端查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;所述第一中继终端将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。In a fifth aspect, a relay routing method is provided, including: a first relay terminal receiving a relay message to be forwarded, wherein the relay message carries the third address of the destination remote terminal of the relay message. A target identification information, the first target identification information includes at least one of the following: layer 2 identification, identifier; the first relay terminal queries the saved routing relationship to obtain the target that matches the first target identification information Routing relationship; the first relay terminal forwards the relay message to the terminal corresponding to the next hop identifier recorded in the target routing relationship, wherein the next hop identifier includes at least one of the following: relay Terminal identification, layer 2 identification, identifier, routing path identification information.

第六方面,提供了一种中继路由装置,包括:第三接收模块,用于接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;第一获取模块,用于查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;第一转发模块,用于将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。In a sixth aspect, a relay routing device is provided, including: a third receiving module configured to receive a relay message to be forwarded, wherein the relay message carries the destination remote terminal of the relay message. The first target identification information, the first target identification information includes at least one of the following: layer 2 identification, identifier; the first acquisition module is used to query the saved routing relationship and obtain the match with the first target identification information The target routing relationship; the first forwarding module is configured to forward the relay message to the terminal corresponding to the next hop identifier recorded in the target routing relationship, wherein the next hop identifier includes at least one of the following: Relay terminal identification, layer 2 identification, identifier, routing path identification information.

第七方面,提供了一种中继路由方法,包括:第一中继终端接收待转发的第一中继消息;所述第一中继终端获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;所述第一中继终端查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;所述第一中继终端将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。In a seventh aspect, a relay routing method is provided, including: a first relay terminal receiving a first relay message to be forwarded; and the first relay terminal obtaining identification information of the sending end of the first relay message. , the identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 identification of the sending end, and the identifier of the sending end; the first relay terminal queries the saved routing relationship, Obtaining a target routing relationship matching the identification information of the sending end; The first relay terminal forwards the first relay message to the terminal corresponding to the next hop identification information in the target routing relationship. The next hop identification includes at least one of the following: relay terminal identification, layer 2 Identification, identifier, routing path identification information.

第八方面,提供了一种中继路由装置,包括:第四接收模块,用于接收待转发的第一中继消息;第二获取模块,用于获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;所述第二获取模块,还用于查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;第二转发模块,用于将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。In an eighth aspect, a relay routing device is provided, including: a fourth receiving module for receiving a first relay message to be forwarded; and a second obtaining module for obtaining the sending end of the first relay message. Identification information, the identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 identification of the sending end, and the identifier of the sending end; the second acquisition module is also used to query The saved routing relationship is used to obtain the target routing relationship that matches the identification information of the sending end; the second forwarding module is used to forward the first relay message to the next hop identification information corresponding to the target routing relationship. terminal, the next hop identification includes at least one of the following: relay terminal identification, layer 2 identification, identifier, and routing path identification information.

第九方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a ninth aspect, a terminal is provided. The terminal includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the following implementations are implemented: The steps of the method described in one aspect, or the steps of implementing the method described in the third aspect, or the steps of the method described in the fifth aspect, or the steps of the method described in the seventh aspect.

第十方面,提供了一种终端,包括处理器及通信接口,其中,所述处理器用于实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。In a tenth aspect, a terminal is provided, including a processor and a communication interface, wherein the processor is configured to implement the steps of the method described in the first aspect, or implement the steps of the method described in the third aspect, or To implement the steps of the method described in the fifth aspect, or the steps of implementing the method described in the seventh aspect, the communication interface is used to communicate with an external device.

第十一方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In an eleventh aspect, a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented. The steps of the method described in the third aspect, or the steps of implementing the method described in the fifth aspect, or the steps of the method described in the seventh aspect.

第十二方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a twelfth aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method described in the first aspect. The steps of the method, or the steps of implementing the method as described in the third aspect, or the steps of implementing the method as described in the fifth aspect, or the steps of implementing the method as described in the seventh aspect.

第十三方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a thirteenth aspect, a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect The steps of the method, or the steps of realizing the method as described in the third aspect, or the steps of realizing the method as described in the fifth aspect, or the steps of realizing the method as described in the seventh aspect.

在本申请实施例中,第一远端终端的接入中继终端,在接收到第一远端终端的第一消息时,可以联合至少一个第一目标终端为第一远端终端分配目标标识符,从而使得即使中继终端和远端终端与基站的无线连接断开,也能够为远端终端分配识别符。In this embodiment of the present application, the access relay terminal of the first remote terminal receives the first remote When receiving the first message from the terminal, at least one first target terminal can be combined to allocate a target identifier to the first remote terminal, so that even if the wireless connection between the relay terminal and the remote terminal and the base station is disconnected, the target identifier can be assigned to the remote terminal. Assign identifier.

附图说明Description of the drawings

图1示出本申请实施例可应用的一种无线通信系统的框图;Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable;

图2a示出本申请实施例可应用的一种U2U网络架构示意图;Figure 2a shows a schematic diagram of a U2U network architecture applicable to the embodiment of the present application;

图2b示出本申请实施例可应用的另一种U2U网络架构示意图;Figure 2b shows a schematic diagram of another U2U network architecture applicable to the embodiment of the present application;

图3a示出一种层2中继的用户面协议栈的示意图;Figure 3a shows a schematic diagram of a user plane protocol stack for layer 2 relay;

图3b示出一种层2中继的控制面协议栈的示意图;Figure 3b shows a schematic diagram of a control plane protocol stack for layer 2 relay;

图4示出本申请实施例提供的远端终端的识别符的分配方法的一种流程示意图;Figure 4 shows a schematic flow chart of a method for allocating identifiers of remote terminals provided by an embodiment of the present application;

图5示出本申请实施例提供的远端终端的识别符的分配方法的另一种流程示意图;Figure 5 shows another schematic flowchart of a method for allocating identifiers of remote terminals provided by an embodiment of the present application;

图6示出本申请实施例提供的远端终端的识别符的分配方法的一种执行示意图;Figure 6 shows an execution diagram of a method for allocating identifiers of remote terminals provided by an embodiment of the present application;

图7示出本申请实施例提供的远端终端的识别符的分配装置的一种结构示意图;Figure 7 shows a schematic structural diagram of a device for allocating identifiers of remote terminals provided by an embodiment of the present application;

图8示出本申请实施例提供的远端终端的识别符的分配装置的另一种结构示意图;Figure 8 shows another structural schematic diagram of a device for allocating identifiers of remote terminals provided by an embodiment of the present application;

图9示出本申请实施例提供的中继路由方法的一种流程示意图;Figure 9 shows a schematic flow chart of the relay routing method provided by the embodiment of the present application;

图10示出本申请实施例提供的中继路由方法的另一种流程示意图;Figure 10 shows another schematic flow chart of the relay routing method provided by the embodiment of the present application;

图11示出本申请实施例提供的中继路由装置的一种结构示意图;Figure 11 shows a schematic structural diagram of a relay routing device provided by an embodiment of the present application;

图12示出本申请实施例提供的中继路由装置的另一种结构示意图;Figure 12 shows another schematic structural diagram of a relay routing device provided by an embodiment of the present application;

图13示出本申请实施例提供的一种通信设备的结构示意图;Figure 13 shows a schematic structural diagram of a communication device provided by an embodiment of the present application;

图14示出本申请实施例提供的一种终端的硬件结构示意图。Figure 14 shows a schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that the technique used in this way The terms "first" and "second" are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type. The number of objects is not limited. For example, the first object may be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.

值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth pointing out that the technology described in the embodiments of this application is not limited to Long Term Evolution (LTE)/LTE Evolution (LTE-Advanced, LTE-A) systems, and can also be used in other wireless communication systems, such as code Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access, OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6thgeneration Generation, 6G) communication system.

图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括中继终端11、网络侧设备12和远端终端13。在本申请实施例中,远端终端13与中继终端11之间通过PC5(副链路或中继链路)接口进行通信,中继终端11与网络侧设备12之间通过Uu接口进行通信。Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a relay terminal 11, a network side device 12 and a remote terminal 13. In the embodiment of this application, the remote terminal 13 and the relay terminal 11 communicate through the PC5 (secondary link or relay link) interface, and the relay terminal 11 and the network side device 12 communicate through the Uu interface. .

其中,中继终端11也可以称作中继(relay)终端设备或者中继用户终端(User Equipment,UE),远端终端13也可以称作远端终端设备或者远端(remote)UE,中继终端11和远端终端13可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、可穿戴式设备(Wearable Device)或车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)等终端侧设备,可穿戴式设备包括:手环、耳机、眼镜等。需要说明的是,在本申请实施例并不限定中继终端11和远端终端13的具体类型。网络侧设备12可以是基站或核心网,其中,基站可被称为节点B、演进节点B、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、B节点、演进型B节点(eNB)、家用B节点、家用演进型B节点、无线局域网(Wireless Local Area Network,WLAN)接入点、无线保真(Wireless Fidelity,WiFi)节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例,但是并不限定基站的具体类型。Among them, the relay terminal 11 may also be called a relay terminal device or a relay user terminal (User Equipment, UE), and the remote terminal 13 may also be called a remote terminal device or a remote UE. The relay terminal 11 and the remote terminal 13 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, Ultra-mobile personal computer (UMPC), Mobile Internet Device (MID), Wearable Device (Wearable Device) or Vehicle User Equipment (VUE), Pedestrian User Equipment (Pedestrian User Equipment) , PUE) and other terminal-side devices, wearable devices include: bracelets, headphones, glasses, etc. It should be noted that the embodiment of the present application does not limit the specific types of the relay terminal 11 and the remote terminal 13 . The network side device 12 may be a base station or a core network, where the base station may be called a Node B, an evolved Node B, an access point, a Base Transceiver Station (BTS), a radio base station, a radio transceiver, or a basic service Set (Basic Service Set, BSS), Extended Service Set (Extended Service Set, ESS), B node, evolved B node (eNB), home B node, home evolved B node, wireless local area network (Wireless Local Area Network, WLAN) access point, wireless fidelity (Wireless Fidelity, WiFi) node, transmit Transmitting Receiving Point (TRP) or some other appropriate term in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of this application, it is only referred to as The base station in the NR system is taken as an example, but the specific type of the base station is not limited.

图2a示出本申请实施例可应用的一种U2U网络架构示意图,如图2a所示,当远端UE1和远端UE2之间由于旁链路无线信道质量太差而不能直接建立旁链路通信时,远端UE1或远端UE2可以寻找合适的中继UE,通过中继UE建立中继通道。远端UE1和远端UE2之间通信通过中继UE进行数据转发实现。Figure 2a shows a schematic diagram of a U2U network architecture applicable to the embodiment of the present application. As shown in Figure 2a, when the side link cannot be directly established between the remote UE1 and the remote UE2 due to the poor quality of the side link wireless channel. During communication, the remote UE1 or the remote UE2 can find a suitable relay UE and establish a relay channel through the relay UE. The communication between the remote UE1 and the remote UE2 is implemented through data forwarding by the relay UE.

图2b示出本申请实施例可应用的另一种U2U网络架构示意图,如图2b所示,在两个远端UE之间,可以建立一条包含多个中继UE的中继通路。在这种情况下,两个远端UE之间的数据发送需经过多跳传输。图2b中,远端UE1和远端UE2之间的中继通路有:Figure 2b shows a schematic diagram of another U2U network architecture applicable to the embodiment of the present application. As shown in Figure 2b, a relay path including multiple relay UEs can be established between two remote UEs. In this case, data transmission between two remote UEs requires multi-hop transmission. In Figure 2b, the relay paths between remote UE1 and remote UE2 are:

中继通路1:包含远端UE1-中继UE1-中继UE2-中继UE3-远端UE2;Relay path 1: includes remote UE1-relay UE1-relay UE2-relay UE3-remote UE2;

中继通路2:包含远端UE1-中继UE1-中继UE4-中继UE3-远端UE2;Relay path 2: includes remote UE1-relay UE1-relay UE4-relay UE3-remote UE2;

在本申请实施例中,直接与一个远端UE通过PC5链路连接的中继UE称为该远端UE的接入中继UE,而其中继通路上的其它中继UE相对于该远端UE而言称为中间中继UE。In the embodiment of this application, a relay UE that is directly connected to a remote UE through a PC5 link is called the access relay UE of the remote UE, and other relay UEs on its relay path are relative to the remote UE. For UE, it is called intermediate relay UE.

在相关技术中,层2中继的用户面协议栈和控制面协议栈可以分别如图3a和图3b所示。其中的中继适配层(Sidelink Relay Adaptation Protocol,SRAP)具有路由和标识转发数据包的功能,其协议头可以包括:In related technologies, the user plane protocol stack and control plane protocol stack of layer 2 relay can be shown in Figure 3a and Figure 3b respectively. The relay adaptation layer (Sidelink Relay Adaptation Protocol, SRAP) has the function of routing and identifying forwarded data packets, and its protocol header can include:

1.在两个远端UE之间转发数据包时的源远端UE和/或目的远端UE的识别符;1. The identifier of the source remote UE and/or the destination remote UE when forwarding data packets between two remote UEs;

2.源远端UE和目的远端UE之间的旁链路无线承载标识;2. The side-link radio bearer identity between the source remote UE and the destination remote UE;

3.中继通道的路由功能的标识信息,例如中继通道的标识。3. Identification information of the routing function of the relay channel, such as the identification of the relay channel.

根据用户面协议构架,当一个远端UE的SRAP层协议实体收到待转发分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)协议数据单元(Protocol Data Unit,PDU)后,确定其目的远端UE的标识或地址,生成SRAP层协议头,加载在该PDCP PDU之前,形成SRAP PDU,当中继UE收到SRAP PDU后,根据该SRAP PDU的SRAP包头信息,确定目的远端UE并将该SRAP PDU转发给目的远端UE。According to the user plane protocol architecture, when the SRAP layer protocol entity of a remote UE receives the Packet Data Convergence Protocol (PDCP) Protocol Data Unit (PDU) to be forwarded, it determines its destination remote UE The identifier or address of the SRAP layer protocol header is generated and loaded before the PDCP PDU to form a SRAP PDU. When the relay UE receives the SRAP PDU, it determines the destination remote end based on the SRAP header information of the SRAP PDU. The UE forwards the SRAP PDU to the destination remote UE.

根据控制面协议构架,两个远端UE之间的无线资源控制(Radio Resource Control,RRC)信息和数据采用类似基于SRAP协议的中继传输方法。接收远端UE根据SRAP PDU携带的SRAP包头携带的无线承载指示,可以识别出RRC消息并进行相应的处理。According to the control plane protocol architecture, the Radio Resource Control (RRC) information and data between two remote UEs adopt a relay transmission method similar to that based on the SRAP protocol. The receiving remote UE can identify the RRC message and process it accordingly based on the radio bearer indication carried in the SRAP header carried by the SRAP PDU.

下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的远端终端的识别符的分配方案进行详细地说明。The identifier allocation scheme of the remote terminal provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through some embodiments and application scenarios.

图4示出本申请实施例中的远端终端的识别符的分配方法的一种流程示意图,该方法400可以由第一中继终端执行。换言之,所述方法可以由安装在第一中继终端上的软件或硬件来执行。如图4所示,该方法可以包括以下步骤。Figure 4 shows a schematic flowchart of a method for allocating an identifier of a remote terminal in an embodiment of the present application. The method 400 can be executed by the first relay terminal. In other words, the method may be executed by software or hardware installed on the first relay terminal. As shown in Figure 4, the method may include the following steps.

S412,第一中继终端联合至少一个第一目标终端,为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。S412: The first relay terminal combines with at least one first target terminal to allocate a first target identifier to the first remote terminal, where the first relay terminal is the access relay of the first remote terminal. Terminal, the first target terminal is a terminal other than the first relay terminal and the first remote terminal.

在本申请实施例中,第一中继终端为第一远端终端分配第一目标识别符可以是第一中继终端建立第一目标识别符与第一远端终端之间的绑定关系,即在U2U网络中,可以通过第一目标识别符来标识第一远端终端。In this embodiment of the present application, the first relay terminal allocating the first target identifier to the first remote terminal may be the first relay terminal establishing a binding relationship between the first target identifier and the first remote terminal, That is, in the U2U network, the first remote terminal can be identified by the first target identifier.

可选地,如图4所示,在S412之前,该方法还可以包括:S410,第一中继终端接收第一远端终端发送的第一消息。也就是说第一中继终端可以是在接收到第一远端终端发送的第一消息后,为第一远端终端分配识别符。Optionally, as shown in Figure 4, before S412, the method may also include: S410, the first relay terminal receives the first message sent by the first remote terminal. That is to say, the first relay terminal may allocate an identifier to the first remote terminal after receiving the first message sent by the first remote terminal.

在本申请实施例中,第一消息可以为发现消息,也可以为旁链路无线资源控制(PC5RRC)信令。其中,在第一消息为发现消息的情况下,后续描述中所涉及的转发第一消息可以是在对第一消息进行修改然后转发,也可以是直接转发第一消息,具体可以根据实际情况确定。在第一消息为PC5RRC信令的情况下,后续描述中所涉及的转发第一消息可以是发送新的PC5RRC信令,该PC5RRC信令中包含了接收到的PC5RRC信令的内容信息。In this embodiment of the present application, the first message may be a discovery message or side link radio resource control (PC5RRC) signaling. Wherein, when the first message is a discovery message, the forwarding of the first message involved in the subsequent description may be to modify the first message and then forward it, or it may be to directly forward the first message, and the details may be determined according to the actual situation. . In the case where the first message is PC5RRC signaling, the forwarding of the first message involved in the subsequent description may be sending new PC5RRC signaling, and the PC5RRC signaling includes the content information of the received PC5RRC signaling.

在本申请实施例中,远端终端的识别符又可以称作远端终端的SRAP地址、SRAP识别符、远端终端的局部识别符、远端终端的U2U网络地址等。In this embodiment of the present application, the identifier of the remote terminal may also be called the SRAP address of the remote terminal, the SRAP identifier, the local identifier of the remote terminal, the U2U network address of the remote terminal, etc.

在本申请实施例中,第一远端终端的接入中继终端,在接收到第一远端终端的第一消息时,可以联合至少一个第一目标终端为第一远端终端分配目标标识符,从而使得即使中继终端和远端终端与基站的无线连接断开,也能够为远端终端分配识别符。进而使得第一远端UE可以获取用于在L2 U2U网络中自身寻址的识别符,并降低U2U网络中不同远端UE之间发生识别符碰撞的概率。In this embodiment of the present application, when receiving the first message from the first remote terminal, the access relay terminal of the first remote terminal can combine with at least one first target terminal to allocate a target identifier to the first remote terminal. identifier, thereby enabling the remote terminal to be assigned an identifier even if the wireless connection between the relay terminal and the remote terminal and the base station is disconnected. In turn, the first remote UE can obtain the identifier used for self-addressing in the L2 U2U network, and reduce the occurrence of identifiers between different remote UEs in the U2U network. Probability of collision.

可选地,中继终端可以在发现(discovery)流程中为第一远端终端分配所述第一目标识别符,例如,在发现(discovery)流程中分配,中继UE在收到第一远端UE请求转发发现消息后,在随后发给该远端UE的发现信息的响应消息中携带配置给该远端UE的识别符。Optionally, the relay terminal may allocate the first target identifier to the first remote terminal in a discovery process. For example, in a discovery process, the relay UE may allocate the first target identifier to the first remote terminal after receiving the first remote terminal identifier. After the end UE requests forwarding of the discovery message, the identifier configured for the remote UE is carried in the response message of the discovery information subsequently sent to the remote UE.

或者,中继UE在收到第一远端UE的发现消息后,为所述第一远端UE分配第一目标识别符,将所述第一目标识别符携带在发现消息中,然后转发携带第一目标识别符的发现消息,第一远端UE的通信对端即第二远端UE在接收到携带第一目标识别符的发现消息后,在随后发给该远端UE的发现信息的响应发现消息中携带所述第一目标识别符,中继UE在接收到响应发现消息后,将该响应发现消息转发给第一远端UE,从而使得第一远端UE可以获知中继终端为其分配的识别符。Alternatively, after receiving the discovery message from the first remote UE, the relay UE allocates a first target identifier to the first remote UE, carries the first target identifier in the discovery message, and then forwards the first target identifier. For the discovery message of the first target identifier, the communication counterpart of the first remote UE, that is, the second remote UE, after receiving the discovery message carrying the first target identifier, subsequently sends the discovery information to the remote UE. The response discovery message carries the first target identifier. After receiving the response discovery message, the relay UE forwards the response discovery message to the first remote UE, so that the first remote UE can learn that the relay terminal is Its assigned identifier.

或者,中继终端也可以直接向第一远端终端指示所述第一目标识别符,例如,中继终端可以利用旁链路无线资源控制(PC5RRC)信令流程向第一远端终端发送所述第一目标识别符,例如,在第一远端UE和中继UE建立中继旁链路过程中,中继UE通过PC5RRC信令配置第一远端UE的识别符。Alternatively, the relay terminal can also directly indicate the first target identifier to the first remote terminal. For example, the relay terminal can use the side link radio resource control (PC5RRC) signaling process to send the first target identifier to the first remote terminal. The first target identifier, for example, during the process of establishing a relay side link between the first remote UE and the relay UE, the relay UE configures the identifier of the first remote UE through PC5RRC signaling.

在本申请实施例中,第一中继终端在接收到第一远端终端发送的第一消息,第一中继终端可以在为第一远端终端转发第一消息前,为第一远端终端分配第一目标识别符。例如,接入中继UE在为远端UE生成转发消息时,可以为远端UE分配识别符。In this embodiment of the present application, after the first relay terminal receives the first message sent by the first remote terminal, the first relay terminal may forward the first message to the first remote terminal. The terminal assigns a first target identifier. For example, when the access relay UE generates a forwarding message for the remote UE, it may allocate an identifier to the remote UE.

在一个可能的实现方式中,S412可以包括以下步骤:In a possible implementation, S412 may include the following steps:

步骤1,所述第一中继终端在所述第一消息中添加至少一个第一候选识别符后,转发携带所述至少一个第一候选识别符的所述第一消息;Step 1: After adding at least one first candidate identifier to the first message, the first relay terminal forwards the first message carrying the at least one first candidate identifier;

步骤2,所述第一中继终端接收所述至少一个第一目标终端中一个或多个所述第一目标终端返回的第一响应消息,其中,所述第一响应消息中携带有第一指示信息,所述第一指示信息指示所述至少一个第一目标终端确定的所述至少一个第一候选识别符中可用的至少一个第二候选识别符,所述至少一个第一目标终端包括以下至少之一:至少一个第二中继终端、第二远端终端,所述第二中继终端包括所述第一远端终端与所述第二远端终端之间的除所述第一中继终端之外的中继终端,所述第二远端终端为所述第一远端终端的通信对端(即第一远端终端通信的目标终端);Step 2: The first relay terminal receives a first response message returned by one or more of the at least one first target terminal, wherein the first response message carries the first Indication information, the first indication information indicates at least one second candidate identifier available among the at least one first candidate identifier determined by the at least one first target terminal, and the at least one first target terminal includes the following At least one: at least one second relay terminal, a second remote terminal, the second relay terminal includes the first remote terminal and the second remote terminal except the first intermediate terminal. A relay terminal other than the terminal, the second remote terminal is the communication counterpart of the first remote terminal (i.e., the target terminal for communication by the first remote terminal);

步骤3,所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符。Step 3: The first relay terminal allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier.

例如,接入中继UE在为远端UE生成转发消息时,为远端UE选取1个或多个候选识别符,并把候选识别符添加到待转发的消息中。中间中继UE或对端远端UE在收到该消息时,从中得到候选识别符,并确定其中不可用的候选识别符。然后中间中继UE在进一步转发该消息时可以从中删除确定为不可用的候选识别符,然后把包含剩余候选识别符的消息转发出去,或者,也可以为不可用的候选识别符打不可用标记,并把包含了标记的候选识别符和剩余未打标记的识别符的消息转发出去。对端远端UE在收转发的消息后,将所述候选识别符信息包含在响应消息中发出去,该响应消息通过中间中继UE转发到接入中继UE,接入中继UE从响应消息携带的候选识别符中选择第一目标识别符分配给该远端UE。For example, when the access relay UE generates a forwarding message for the remote UE, it selects 1 for the remote UE. one or more candidate identifiers, and add the candidate identifiers to the message to be forwarded. When the intermediate relay UE or the opposite end remote UE receives the message, it obtains the candidate identifiers and determines the unavailable candidate identifiers therein. Then the intermediate relay UE can delete the candidate identifiers determined to be unavailable when further forwarding the message, and then forward the message containing the remaining candidate identifiers, or it can also mark the unavailable candidate identifiers as unavailable. , and forward the message containing the marked candidate identifiers and the remaining unmarked identifiers. After receiving the forwarded message, the opposite end remote UE includes the candidate identifier information in a response message and sends it. The response message is forwarded to the access relay UE through the intermediate relay UE, and the access relay UE responds from Select the first target identifier from the candidate identifiers carried in the message and assign it to the remote UE.

在一个可能的实现方式中,所述第一指示信息包括以下之一:In a possible implementation, the first indication information includes one of the following:

(1)第一识别符信息,所述第一识别符信息中包括所述至少一个第二候选识别符。例如,中间中继终端在接收到第一消息时,可以将第一消息中携带的至少一个第一候选识别符中的不可用的候选识别符删除,保留可用的候选识别符后转发第一消息,对端远端终端在接收到第一消息后,将第一消息中携带的至少一个第一候选识别符中的不可用的候选识别符删除,将剩余的可用的候选识别符携带在第一响应消息中发送。(1) First identifier information, the first identifier information includes the at least one second candidate identifier. For example, when receiving the first message, the intermediate relay terminal may delete the unavailable candidate identifiers among the at least one first candidate identifier carried in the first message, retain the available candidate identifiers, and forward the first message. , after receiving the first message, the opposite remote terminal deletes the unavailable candidate identifiers among the at least one first candidate identifier carried in the first message, and carries the remaining available candidate identifiers in the first message. Sent in response message.

(2)第二识别符信息,所述第二识别符信息中包括所述至少一个第一候选识别符和标记信息,所述标记信息用于标识所述至少一个第一候选识别符中的第一候选识别符是否可用。例如,中间中继终端在接收到第一消息时,可以标识第一消息中携带的至少一个第一候选识别符中的不可用的候选识别符,或标识第一消息中携带的至少一个第一候选识别符中的可用的候选识别符,转发携带所述至少一个候选标识符和标记信息的第一消息,对端远端终端在接收到第一消息后,如果确定未标记不可用的候选识别符中有不可用的,或者,确定标记可用的候选识别符中不可用的,则进一步进行标识,将标记后的至少一个候选识别符携带在第一响应消息中发送。(2) Second identifier information, the second identifier information includes the at least one first candidate identifier and mark information, the mark information is used to identify the third of the at least one first candidate identifier. Whether a candidate identifier is available. For example, when receiving the first message, the intermediate relay terminal may identify an unavailable candidate identifier among the at least one first candidate identifier carried in the first message, or identify at least one first candidate identifier carried in the first message. The available candidate identifiers among the candidate identifiers forward the first message carrying the at least one candidate identifier and marking information. After receiving the first message, the opposite end remote terminal determines that the unavailable candidate identifier is not marked. If any of the identified identifiers is unavailable, or if it is determined that the marked candidate identifiers are unavailable, then further identification is carried out, and at least one of the marked candidate identifiers is carried in the first response message and sent.

在一个可能的实现方式中,第一中继终端可以通过第一响应消息通知第一远端终端的第一目标识别符。因此,在该可能的实现方式中,所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符,可以包括以下步骤:In a possible implementation, the first relay terminal may notify the first target identifier of the first remote terminal through a first response message. Therefore, in this possible implementation, the first relay terminal allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier, which may include the following steps:

步骤1,所述第一中继终端从所述至少一个第二候选识别符中选择一个可用的识别符分配给所述第一远端终端的第一目标识别符;Step 1: The first relay terminal selects an available identifier from the at least one second candidate identifier to assign to the first target identifier of the first remote terminal;

步骤2,所述第一中继终端向所述第一远端终端转发所述第一响应消息,在所述第一响应消息中指示分配给所述第一远端终端的第一目标识别符。Step 2: The first relay terminal forwards the first response message to the first remote terminal, indicating in the first response message the first target identifier assigned to the first remote terminal. .

采用上述可能的实现方式,为避免将远端UE的第一目标识别符通知对端远端UE的信令开销,可以预定义或预配置接入中继UE为远端UE确定的识别符为接收到的响应消息中包含的可用候选识别符中的某一个序号的识别符(例如第一个或最后一个)。这样对端远端UE在接收到响应消息后,可以确定远端UE的识别符,而不必要另行通知。因此,在一个可能的实现方式中,所述第一中继终端可以向所述第一远端终端转发所述第一响应消息,指示所述第一响应消息中携带的第一识别符信息中排在预定位置的第二候选识别符为分配给所述第一远端终端的第一目标识别符。Using the above possible implementation method, in order to avoid notifying the first target identifier of the remote UE to the peer The signaling overhead of the remote UE can be predefined or preconfigured. The identifier determined by the access relay UE for the remote UE is an identifier of a certain sequence number among the available candidate identifiers contained in the received response message ( e.g. first or last). In this way, after receiving the response message, the opposite remote UE can determine the identifier of the remote UE without further notification. Therefore, in a possible implementation, the first relay terminal may forward the first response message to the first remote terminal, indicating that the first identifier information carried in the first response message The second candidate identifier ranked at the predetermined position is the first target identifier assigned to the first remote terminal.

在一个可能的实现方式中,上述至少一个第一候选标识符可以由第一远端终端确定,例如,第一远端终端可以在发送的第一消息中携带至少一个候选识别符。因此,在该可能的实现方式中,在所述第一中继终端转发携带所述至少一个第一候选识别符的所述第一消息之前,所述方法还包括:所述第一中继终端从所述第一消息中获取所述至少一个第一候选识别符。In a possible implementation, the at least one first candidate identifier may be determined by the first remote terminal. For example, the first remote terminal may carry the at least one candidate identifier in the first message sent. Therefore, in this possible implementation, before the first relay terminal forwards the first message carrying the at least one first candidate identifier, the method further includes: the first relay terminal The at least one first candidate identifier is obtained from the first message.

在上述可能的实现方式中,第一远端终端还可以自己从第一响应消息中选择第一目标识别符,并通知第一中继终端,第一中继终端接收到该通知后,确定将第一目标识别符分配给第一远端终端。因此,可选地,所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符可以包括以下步骤:In the above possible implementation manner, the first remote terminal can also select the first target identifier from the first response message and notify the first relay terminal. After receiving the notification, the first relay terminal determines to The first target identifier is assigned to the first remote terminal. Therefore, optionally, the first relay terminal allocating a first target identifier to the first remote terminal according to the at least one second candidate identifier may include the following steps:

步骤1,所述第一中继终端向所述第一远端终端转发所述第一响应消息;Step 1: The first relay terminal forwards the first response message to the first remote terminal;

步骤2,所述第一中继终端接收所述第一远端终端发送的报告,其中,所述报告中携带有所述至少一个第二候选识别符中的一个识别符;Step 2: The first relay terminal receives a report sent by the first remote terminal, wherein the report carries one identifier of the at least one second candidate identifier;

步骤3,所述第一中继终端确定所述报告中携带的所述识别符作为分配给所述第一远端终端的第一目标识别符。Step 3: The first relay terminal determines the identifier carried in the report as the first target identifier assigned to the first remote terminal.

例如,远端UE自己确定候选识别符,并把候选识别符包含在消息中,在收到响应消息后,如果其中包含可用候选识别符,选取一个作为自身识别符并报告给接入中继UE,接入中继终端确定该识别符为分配给远端UE的识别符。For example, the remote UE determines the candidate identifier by itself and includes the candidate identifier in the message. After receiving the response message, if it contains available candidate identifiers, it selects one as its own identifier and reports it to the access relay UE. , the access relay terminal determines that the identifier is the identifier assigned to the remote UE.

在一个可能的实现方式中,第一中继终端携带在第一消息中的至少一个第一候选识别符经第一目标终端确定后可能均不可用,在这种情况下,第一中继终端需要重新选择至少一个第一候选识别符。因此,在该可能的实现方式中,在所述第一中继终端接收所述至少一个第一目标终端中一个或多个所述第一目标终端返回的第一响应消息之后,所述方法还可以包括:在所述第一响应消息中未携带有所述第一指示信息,或者,所述第一响应消息中携带的所述第一指示信息指示所述至少一个第一候选识别符均不可用的情况下,所述第一中继终端在所述第一消息中添加至少一个第三候选识别符后,转发携带所述至少一个第三候选识别符的所述第一消息,其中,所述至少一个第三候选识别符与所述至少一个第一候选识别符不相同。第一中继终端在转发携带所述至少一个第三候选识别符的所述第一消息,中间中继终端或对端终端的接入中继终端以及对端终端可以进一步确定所述至少一个第三候选识别符中的可用候选识别符,并在返回的第一发现响应消息中携带所述至少一个第三候选识别符中的可用候选识别符,第一中继终端在接收到该第一发现响应消息后,可以为第一远端终端分配第一目标识别符。In a possible implementation, at least one first candidate identifier carried by the first relay terminal in the first message may not be available after being determined by the first target terminal. In this case, the first relay terminal At least one first candidate identifier needs to be reselected. Therefore, in this possible implementation, after the first relay terminal receives the first response message returned by one or more of the at least one first target terminal, the method further It may include: the first indication information is not carried in the first response message, or the first indication information carried in the first response message indicates that none of the at least one first candidate identifier is available. If used, the first relay terminal adds at least one third candidate identifier to the first message, and then forwards The first message carrying the at least one third candidate identifier, wherein the at least one third candidate identifier is different from the at least one first candidate identifier. When the first relay terminal forwards the first message carrying the at least one third candidate identifier, the intermediate relay terminal or the access relay terminal of the opposite end terminal and the opposite end terminal may further determine the at least one third candidate identifier. The available candidate identifier among the three candidate identifiers, and the returned first discovery response message carries the available candidate identifier among the at least one third candidate identifier. The first relay terminal receives the first discovery After responding to the message, the first remote terminal may be assigned a first target identifier.

在一个可能的实现方式中,为了使得第一远端终端获知第二远端终端的识别符,第一响应消息中还可以携带所述第二远端终端的识别符。例如,第二远端终端在发送第一响应消息时,可以在第一响应消息中携带所述第二远端终端的识别符,或者,第二远端终端的接入中继终端在转发第一响应消息时,可以在第一响应消息中添加所述第二远端终端的识别符,然后转发携带所述第二远端终端的识别符的第一响应消息。In a possible implementation, in order for the first remote terminal to learn the identifier of the second remote terminal, the first response message may also carry the identifier of the second remote terminal. For example, when the second remote terminal sends the first response message, the second remote terminal may carry the identifier of the second remote terminal in the first response message, or the access relay terminal of the second remote terminal forwards the first response message. When receiving a response message, the identifier of the second remote terminal may be added to the first response message, and then the first response message carrying the identifier of the second remote terminal may be forwarded.

在本申请实施例中,一个中继UE同时也可以作为远端UE与另一个远端UE进行U2U通信,因此,中继UE可以分配识别符。为了使得第一目标终端可以获知第一中继终端的识别符,便于后续的路由路径的确定,因此,在一个可能的实现方式中,在所述第一中继终端转发所述第一消息之前,所述方法还包括:所述第一中继终端在所述第一消息中添加所述第一中继终端的识别符。In this embodiment of the present application, a relay UE can also act as a remote UE to perform U2U communication with another remote UE. Therefore, the relay UE can allocate an identifier. In order to enable the first target terminal to learn the identifier of the first relay terminal and facilitate subsequent determination of the routing path, in a possible implementation, before the first relay terminal forwards the first message , the method further includes: the first relay terminal adding the identifier of the first relay terminal to the first message.

另外,为了使得第一中继终端以及中间中继终端可以获知对端终端的接入中继终端的识别符,便于后续的路由路径的确定,因此,在一个可能的实现方式中,所述第一响应消息中还可以携带有第一目标中继终端的识别符,所述第一目标中继终端为所述第二远端终端的接入中继终端。例如,第二远端终端的接入中继终端(即第一目标中继终端)在转发第一响应消息时,可以在第一响应消息中添加所述第二远端终端的接入中继终端的识别符,然后转发携带所述第二远端终端的接入中继终端的识别符的第一响应消息。In addition, in order to enable the first relay terminal and the intermediate relay terminal to learn the identifier of the access relay terminal of the opposite terminal and facilitate subsequent determination of the routing path, in a possible implementation, the third relay terminal A response message may also carry an identifier of a first target relay terminal, and the first target relay terminal is the access relay terminal of the second remote terminal. For example, when forwarding the first response message, the access relay terminal of the second remote terminal (ie, the first target relay terminal) may add the access relay of the second remote terminal to the first response message. the identifier of the terminal, and then forwards the first response message carrying the identifier of the access relay terminal of the second remote terminal.

在一个可能的实现方式中,由于第一远端终端与第二远端终端之间可能存在多个中继通路,为了使得后续可以选择合适的中继通路,在所述第一中继终端转发所述第一消息之前,所述方法还包括:所述第一中继终端在所述第一消息中添加所述第一消息的延时信息,其中,所述延时信息包括以下至少之一:所述第一消息被转发的次数、所述第一消息经历的跳数、所述第一消息经历的时延信息。采用该可能的实现方式,第一消息中携带有第一消息的延时信息,从而使得在后续的流程中可以根据该延时信息,选择转发第一响应发消息的路径,或者转发中继消息的路径。In a possible implementation, since there may be multiple relay paths between the first remote terminal and the second remote terminal, in order to enable subsequent selection of an appropriate relay path, the first relay terminal forwards Before the first message, the method further includes: the first relay terminal adding delay information of the first message to the first message, wherein the delay information includes at least one of the following: : The number of times the first message has been forwarded, the number of hops experienced by the first message, and the delay information experienced by the first message. With this possible implementation, the first message carries the delay information of the first message, so that in the subsequent process, the path to forward the first response message can be selected based on the delay information, or the relay message can be forwarded. path of.

在本申请实施例还可以在U2U网络中设置一个远端UE识别符分配中继UE(可以称为识别符分配UE),因此,在另一个可能的实现方式中,所述第一中继终端联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,可以包括以下步骤:In the embodiment of this application, a remote UE identifier allocation relay UE (which may be called an identifier allocation UE) can also be set in the U2U network. Therefore, in another possible implementation, the first relay terminal Combining at least one first target terminal and allocating a first target identifier to the first remote terminal may include the following steps:

步骤1,所述第一中继终端向所述第一目标终端发送识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符,所述第一目标终端为中继网络中用于分配识别符的终端;Step 1: The first relay terminal sends an identifier allocation request to the first target terminal, wherein the identifier allocation request is used to request the allocation of an identifier for the first remote terminal, and the first The target terminal is the terminal used to allocate identifiers in the relay network;

步骤2,所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息,其中,所述识别符分配响应消息携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。Step 2: The first relay terminal receives an identifier allocation response message returned by the first target terminal, wherein the identifier allocation response message carries the first target terminal as the first remote terminal. The assigned first target identifier.

在一个可能的实现方式中,为了使得中继通路中的其它终端可以获知第一远端终端的识别符,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应之后,所述方法还可以包括:所述第一中继终端在所述第一消息中添加所述第一目标识别符后,转发携带所述第一目标识别符的所述第一消息。In a possible implementation, in order to enable other terminals in the relay path to learn the identifier of the first remote terminal, after the first relay terminal receives the identifier allocation response returned by the first target terminal , the method may further include: after adding the first target identifier to the first message, the first relay terminal forwards the first message carrying the first target identifier.

例如,中继网络中存在一个远端UE识别符分配中继UE(可称为识别符分配UE),当远端UE请求接入中继UE为其转发消息时,接入中继UE向识别符分配UE发起识别符分配请求,接入中继UE在从识别符分配UE获得识别符后,将识别符添加在转发的消息中转发出去,对端远端UE在收到转发消息时,从中获取远端UE的识别符,如果对端远端UE还未分配有识别符,则其接入中继UE通过类似的方法为其获取识别符分配。For example, there is a remote UE identifier allocation relay UE (which can be called the identifier allocation UE) in the relay network. When the remote UE requests the access relay UE to forward a message for it, the access relay UE sends a message to the identification allocation relay UE. The identifier allocating UE initiates an identifier allocation request. After obtaining the identifier from the identifier allocating UE, the access relay UE adds the identifier to the forwarded message and forwards it. When the opposite end remote UE receives the forwarded message, it Obtain the identifier of the remote UE. If the opposite remote UE has not been assigned an identifier, its access relay UE obtains the identifier assignment for it through a similar method.

在另一个可能的实现方式中,所述识别符分配请求还可以用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端,所述识别符分配响应还可以携带有所述第一目标终端为所述第二远端终端分配的第二目标识别符;所述第一中继终端转发的所述第一消息中还携带有所述第二目标识别符。In another possible implementation, the identifier allocation request may also be used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is the counterpart terminal of the first remote terminal, The identifier allocation response may also carry the second target identifier allocated by the first target terminal to the second remote terminal; the first message forwarded by the first relay terminal also carries The second target identifier.

例如,一个接入中继UE为一个远端UE转发消息时,向识别符分配UE请求分配两个识别符,一个可以分配给远端UE,另一个可以作为候选识别符发送给对端远端UE,例如,中继UE可以把这远端UE的识别符和为对端远端UE申请的识别符包含在消息中,对端远端UE或对端远端UE的接入中继UE在收到该消息时,从中获取远端UE的识别符,如果此时对端远端UE未分配有识别符,则可将消息中携带的候选识别符作为对端远端UE的识别符。For example, when an access relay UE forwards a message to a remote UE, it requests the identifier allocation UE to allocate two identifiers. One can be allocated to the remote UE, and the other can be sent to the opposite remote terminal as a candidate identifier. UE, for example, the relay UE can include the identifier of the remote UE and the identifier applied for the opposite remote UE in the message. The opposite remote UE or the access relay UE of the opposite remote UE is in When the message is received, the identifier of the remote UE is obtained from it. If the opposite remote UE is not assigned an identifier at this time, the candidate identifier carried in the message can be used as the identifier of the opposite remote UE.

在一个可能的实现方式中,对端远端UE可能已经有识别符,为了使得第一中继终端获知该信息,在所述第一中继终端转发所述第一消息之后,所述方法还可以包括以下步骤:In a possible implementation, the opposite remote UE may already have an identifier. In order for the first relay terminal to learn the information, after the first relay terminal forwards the first message, the The method described above may also include the following steps:

步骤1,所述第一中继终端接收所述第一消息的第一响应消息,其中,所述第一响应消息中携带有所述第二远端终端的第三目标识别符;Step 1: The first relay terminal receives a first response message of the first message, wherein the first response message carries the third target identifier of the second remote terminal;

步骤2,在所述第三目标识别符与所述第二目标识别符不相同的情况下,所述第一中继终端通知所述第一目标终端释放所述第二目标识别符。例如,第一中继终端可以通知第一目标终端删除第一目标识别符与第一远端终端的绑定关系,即第一目标识别符与第一远端终端解绑。Step 2: If the third target identifier is different from the second target identifier, the first relay terminal notifies the first target terminal to release the second target identifier. For example, the first relay terminal may notify the first target terminal to delete the binding relationship between the first target identifier and the first remote terminal, that is, to unbind the first target identifier from the first remote terminal.

例如,如果对端远端UE已经有识别符,则可以直接使用已有的识别符,也可以使用第一消息中携带的候选识别符与远端UE建立中继通路。对端远端UE在响应消息中,携带自身识别符。可选地,远端UE的接入中继UE在收到响应消息时,从中提取对端远端UE的识别符,如果对端远端UE的识别符不是所述候选识别符,可以通知识别符分配UE,释放候选识别符。For example, if the opposite remote UE already has an identifier, the existing identifier can be used directly, or the candidate identifier carried in the first message can be used to establish a relay path with the remote UE. The opposite remote UE carries its own identifier in the response message. Optionally, when receiving the response message, the access relay UE of the remote UE extracts the identifier of the opposite remote UE from it. If the identifier of the opposite remote UE is not the candidate identifier, it may notify the identification The identifier is assigned to the UE and the candidate identifier is released.

在一个可能的实现方式中,为了提高识别符的利用率,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息之后,所述方法还包括:所述第一中继终端释放与所述第一远端终端的中继旁链路之后,所述第一中继终端通知所述第一目标终端释放所述第一目标识别符。In a possible implementation, in order to improve the utilization of the identifier, after the first relay terminal receives the identifier allocation response message returned by the first target terminal, the method further includes: the first After the relay terminal releases the relay side link with the first remote terminal, the first relay terminal notifies the first target terminal to release the first target identifier.

在具体应用中,在一个可能的实现方式中,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息之后,所述方法还可以包括以下步骤:In a specific application, in a possible implementation, after the first relay terminal receives the identifier allocation response message returned by the first target terminal, the method may further include the following steps:

步骤1,所述第一中继终端接收第二消息或第二消息的第二响应消息,其中,所述第二消息或所述第二响应消息中携带有第三远端终端的第四目标识别符。Step 1: The first relay terminal receives a second message or a second response message of the second message, wherein the second message or the second response message carries a fourth target of the third remote terminal. identifier.

其中,第一中继终端可以为第三远端终端的接入中继终端,也可以为第三远端终端的中间中继终端,具体本申请实施例中不作限定。The first relay terminal may be an access relay terminal of the third remote terminal, or may be an intermediate relay terminal of the third remote terminal, which is not specifically limited in the embodiments of this application.

步骤2,在所述第四目标识别符与所述第一目标识别符相同的情况下,所述第一中继终端向所述第一目标终端上报目标指示,其中,所述目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同。Step 2: When the fourth target identifier is the same as the first target identifier, the first relay terminal reports a target indication to the first target terminal, where the target indication is used Indicates that the first target identifier assigned to the first remote terminal is the same as the fourth target identifier assigned to the third remote terminal.

通过上述可能的实现方式,当发现一个远端UE的识别符跟U2U网络中的一个其它远端UE的识别符相同时,任意中继UE可以向识别符分配UE报告识别符分配冲突,可以实现识别符冲突汇报机制,从而使得第一目标终端可以获知识别符分配冲突,进而可以通过重新分配识别符等方式,解决冲突。Through the above possible implementation methods, when it is found that the identifier of a remote UE is the same as the identifier of another remote UE in the U2U network, any relay UE can report the identifier allocation conflict to the identifier allocating UE, which can be implemented The identifier conflict reporting mechanism enables the first target terminal to obtain the identifier allocation conflict, and then resolve the conflict by re-allocating the identifier.

在一个可能实现方式中,第一中继终端在转发消息时,可以保存触发消息的远端终端的标识信息,以便于建立中继通路。因此,在该可能的实现方式中,该方法还可以包括以下步骤:In one possible implementation, when forwarding a message, the first relay terminal can save the identification information of the remote terminal that triggered the message, so as to facilitate the establishment of the relay path. Therefore, in this possible implementation In the formula, the method may also include the following steps:

步骤1,所述第一中继终端接收来自第一终端转发的第三消息,其中,所述第一终端包括:中继终端或远端终端。Step 1: The first relay terminal receives a third message forwarded from a first terminal, where the first terminal includes: a relay terminal or a remote terminal.

在本申请实施例中,第一终端为第一中继终端的上一跳终端,可以是中继终端,例如,中间中继终端或者接入中继终端,也可以是远端终端,即第一中继终端为第一终端的接入中继终端。In this embodiment of the present application, the first terminal is the previous hop terminal of the first relay terminal. It may be a relay terminal, for example, an intermediate relay terminal or an access relay terminal, or it may be a remote terminal, that is, the third terminal. A relay terminal is an access relay terminal of the first terminal.

步骤2,所述第一中继终端获取并保存所述第一终端的第一标识信息,其中,所述第一标识信息包括以下至少之一:所述第一终端的中继终端标识(relay UE ID)、所述第一终端的层2标识(L2 ID)、所述第一终端的识别符(识别符可以采用上述任一可能的实现方式分配的)、所述第一终端的路由路径标识信息。Step 2: The first relay terminal acquires and saves first identification information of the first terminal, wherein the first identification information includes at least one of the following: relay terminal identification (relay) of the first terminal. UE ID), the layer 2 identifier (L2 ID) of the first terminal, the identifier of the first terminal (the identifier can be assigned using any of the above possible implementation methods), the routing path of the first terminal Identification information.

在本申请实施例中,第一中继终端可以从第三消息中获取第一标识信息的全部信息,也可以从第三消息中获取第一标识信息的部分信息,另一部分是可以在接收第三消息的调度信息或MAC头(header)中获取,具体本实施例中不作限定。In this embodiment of the present application, the first relay terminal may obtain all the information of the first identification information from the third message, or may obtain part of the first identification information from the third message. The other part may be obtained after receiving the third message. The three messages are obtained from the scheduling information or MAC header, which is not specifically limited in this embodiment.

通过该步骤,第一中继终端可以获取并保存上一跳的终端标识信息。Through this step, the first relay terminal can obtain and save the terminal identification information of the previous hop.

步骤3,所述第一中继终端获取并保存触发所述第三消息的第四远端终端的第二标识信息,其中,所述第二标识信息包括以下至少之一:所述第四远端终端的层2标识、所述第四远端终端的识别符。Step 3: The first relay terminal obtains and saves the second identification information of the fourth remote terminal that triggered the third message, wherein the second identification information includes at least one of the following: the fourth remote terminal; The layer 2 identification of the end terminal and the identifier of the fourth remote terminal.

在本申请实施例中,第一中继终端可以从第三消息中获取第二标识信息的全部信息,也可以从第三消息中获取第二标识信息的部分信息,另一部分是可以在接收第三消息的调度信息或MAC头(header)中获取,具体本实施例中不作限定。In this embodiment of the present application, the first relay terminal may obtain all the information of the second identification information from the third message, or may obtain part of the second identification information from the third message, and the other part may be obtained after receiving the third message. The three messages are obtained from the scheduling information or MAC header, which is not specifically limited in this embodiment.

在一个可能的实现方式中,如果所述第一终端为远端终端,则所述第一终端为所述第三消息的触发远端终端,即上述第一终端为第四远端终端,步骤3可以省略。In a possible implementation, if the first terminal is a remote terminal, the first terminal is the remote terminal that triggers the third message, that is, the first terminal is the fourth remote terminal. Step 3 can be omitted.

在一个可能的实现方式,在所述第一中继终端获取并保存触发所述第三消息的第四远端终端的第二标识信息之后,所述方法还包括:在所述第一中继终端未曾转发所述第三消息的情况下,所述第一中继终端转发所述第三消息。In a possible implementation, after the first relay terminal acquires and saves the second identification information of the fourth remote terminal that triggered the third message, the method further includes: If the terminal has not forwarded the third message, the first relay terminal forwards the third message.

在具体应用中,由于消息可能的广播的,第一中继终端可以接收到中继网络的多个终端转发的相同的第三消息,为了避免消息的转发风暴,第一中继终端可以在确定未曾转发所述第三消息的情况下,转发所述第三消息,如果曾转发了所述第三消息,则第一中继终端可以不再转发第三消息。In a specific application, since the message may be broadcast, the first relay terminal may receive the same third message forwarded by multiple terminals of the relay network. In order to avoid message forwarding storm, the first relay terminal may determine If the third message has not been forwarded, the third message is forwarded. If the third message has been forwarded, the first relay terminal may no longer forward the third message.

例如,中继UE可能从多个其它中继UE收到同一个远端UE的触发消息,如果该中继UE已经转发其中的一个,就不再转发后续收到的属于该远端UE的消息。但该中继UE可以保留后接收收到的消息的转发中继UE的信息(例如L2 ID),可以选择将后续收到的对应的响应消息发送给一个或多个转发中继UE。For example, a relay UE may receive trigger messages from the same remote UE from multiple other relay UEs. If the relay UE has forwarded one of them, it will no longer forward subsequent received messages belonging to the remote UE. . However, the relay UE can retain the information (such as L2 ID) of the forwarding relay UE that receives the received message, and can choose to send the corresponding response message subsequently received to one or more forwarding relay UEs.

在一个可能的实现方式中,在所述第一中继终端转发所述第三消息之后,所述方法还可以包括以下步骤:In a possible implementation, after the first relay terminal forwards the third message, the method may further include the following steps:

步骤1,所述第一中继终端接收第三终端转发的第三响应消息;Step 1: The first relay terminal receives the third response message forwarded by the third terminal;

在本申请实施例中,第三终端为第一中继终端的下一跳终端,可以是中继终端,例如,中间中继终端或者接入中继终端,也可以是远端终端,即第一中继终端为第三终端的接入中继终端。In this embodiment of the present application, the third terminal is the next hop terminal of the first relay terminal. It may be a relay terminal, for example, an intermediate relay terminal or an access relay terminal, or it may be a remote terminal, that is, the third terminal. One relay terminal is the access relay terminal of the third terminal.

步骤2,所述第一中继终端获取并保存所述第三终端的第三标识信息,其中,所述第三标识信息包括以下至少之一:所述第三终端的中继终端标识、所述第三终端的层2标识、所述第三终端的识别符、所述第三终端的路径标识信息路由路径标识信息。Step 2: The first relay terminal obtains and saves the third identification information of the third terminal, wherein the third identification information includes at least one of the following: the relay terminal identification of the third terminal, the The layer 2 identifier of the third terminal, the identifier of the third terminal, and the path identification information of the third terminal route path identification information.

在本申请实施例中,第一中继终端可以从第三响应消息中获取第三标识信息的全部信息,也可以从第三响应消息中获取第一标识信息的部分信息,另一部分是可以在接收第三响应消息的调度信息或MAC头(header)中获取,具体本实施例中不作限定。In this embodiment of the present application, the first relay terminal may obtain all the third identification information from the third response message, or may obtain part of the first identification information from the third response message, and the other part may be in The method is obtained from the scheduling information or MAC header of the received third response message, which is not specifically limited in this embodiment.

通过该可能的实现方式,第一中继终端可以将第三终端的第三标识信息作为下一跳终端的标识信息保存。Through this possible implementation, the first relay terminal can save the third identification information of the third terminal as the identification information of the next hop terminal.

步骤3,所述第一中继终端获取第四标识信息,其中,所述第四标识信息中包括以下至少之一:所述第四远端终端的第二标识信息、第五远端终端的第五标识信息,所述第五远端终端为所述第四远端终端的通信对端。Step 3: The first relay terminal acquires fourth identification information, wherein the fourth identification information includes at least one of the following: second identification information of the fourth remote terminal, second identification information of the fifth remote terminal. Fifth identification information, the fifth remote terminal is the communication counterpart of the fourth remote terminal.

在本申请实施例中,第一中继终端可以从第三响应消息中获取第四标识信息的全部信息,也可以从第三响应消息中获取第四标识信息的部分信息,另一部分是可以在接收第三响应消息的调度信息或MAC头(header)中获取,具体本实施例中不作限定。In this embodiment of the present application, the first relay terminal may obtain all the fourth identification information from the third response message, or may obtain part of the fourth identification information from the third response message, and the other part may be in The method is obtained from the scheduling information or MAC header of the received third response message, which is not specifically limited in this embodiment.

在一个可能的实现方式中,如果所述第三终端为远端终端,则所述第三终端为所述第四远端终端的通信对端,即上述第三终端为第五远端终端,步骤3可以省略。In a possible implementation, if the third terminal is a remote terminal, the third terminal is the communication counterpart of the fourth remote terminal, that is, the third terminal is the fifth remote terminal, Step 3 can be omitted.

在一个可能的实现方式中,在所述第一中继终端获取所述第四标识信息之后,所述方法还可以包括:在确定保存有所述第四远端终端的第二标识信息的情况下,所述第一中继终端向所述第四远端终端转发所述第三响应消息。通过该可能的实现方式中,可以使得第一中继终端只转发曾收到消息的响应消息。也就是说,如果第一中继终端确定已经收到与第三响应消息对应的第三消息,则确定转发第三响应消息。可选地,如果第一中继UE未曾收到与第三响应消息对应的第三消息,该中继UE可以不转发第三响应消息。In a possible implementation, after the first relay terminal obtains the fourth identification information, the method may further include: determining that the second identification information of the fourth remote terminal is stored. Next, the first relay terminal forwards the third response message to the fourth remote terminal. Through this possible implementation, the first relay terminal can be caused to forward only response messages that have received messages. That is, if the first relay terminal determines that it has received the third message corresponding to the third response message, it determines to forward the third response message. Optionally, if the first relay UE has not received the third message corresponding to the third response message, the relay UE may not forward the third response message.

在一个可能的实现,所述第一中继终端向所述第四远端终端转发所述第三响应消息,包括以下之一:In a possible implementation, the first relay terminal forwards the third response message to the fourth remote terminal, including one of the following:

(1)所述第一中继终端广播所述第三响应消息;通过该实现方式,第一中继终端可以转发第三响应消息到达更多的中继UE,增加转发成功的概率;(1) The first relay terminal broadcasts the third response message; through this implementation, the first relay terminal can forward the third response message to more relay UEs, increasing the probability of successful forwarding;

(2)所述第一中继终端向第二目标终端转发所述第三响应消息,其中,所述第二目标终端为向所述第一中继终端发送所述第三消息的终端。采用该可能的实现方式,可以避免第三响应发现信号被所有周围的中继UE转发,减少头寸开销。(2) The first relay terminal forwards the third response message to a second target terminal, where the second target terminal is the terminal that sends the third message to the first relay terminal. By adopting this possible implementation method, the third response discovery signal can be prevented from being forwarded by all surrounding relay UEs, thereby reducing position overhead.

在一个可能的实现方式,所述第一中继终端向第二目标终端转发所述第三响应消息,可以包括:在所述第二目标终端为多个的情况下,所述第一中继终端向多个所述第二目标终端中的一个或多个转发所述第三响应消息。In a possible implementation, the first relay terminal forwarding the third response message to the second target terminal may include: when there are multiple second target terminals, the first relay The terminal forwards the third response message to one or more of the plurality of second target terminals.

在一个可能的实现方式,在所述第一中继终端获取所述第四标识信息之后,所述方法还可以包括以下步骤:所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系,其中,所述路由关系包括:In a possible implementation, after the first relay terminal acquires the fourth identification information, the method may further include the following steps: the first relay terminal establishes the connection between the fourth remote terminal and the The routing relationship between the fifth remote terminals, wherein the routing relationship includes:

所述第四远端终端标识与所述第五远端终端标识的第一对应关系,其中,所述第四远端终端标识包括所述第二标识信息,所述第五远端终端标识包括所述第五标识信息;The first corresponding relationship between the fourth remote terminal identification and the fifth remote terminal identification, wherein the fourth remote terminal identification includes the second identification information, and the fifth remote terminal identification includes The fifth identification information;

所述第一中继终端的下一跳标识,所述下一跳标识包括:第三目标终端的标识信息,其中,所述第三目标终端为向所述第一中继终端发送所述第三响应消息的中继终端。The next hop identifier of the first relay terminal, the next hop identifier includes: the identification information of a third target terminal, wherein the third target terminal sends the third target terminal to the first relay terminal. Three relay terminals that respond to the message.

通过该可能的实现方式中,可以在第一中继终端中建立所述第四远端终端与所述第五远端终端之间的路由关系,从而使得第一中继终端可以根据该路由关系,转发第四远端终端与第五远端终端之间的中继数据。In this possible implementation, a routing relationship between the fourth remote terminal and the fifth remote terminal can be established in the first relay terminal, so that the first relay terminal can , forwarding the relay data between the fourth remote terminal and the fifth remote terminal.

在一个可能实现方式中,向所述第一中继终端发送所述第三响应消息的第三目标终端可能为多个,在这种情况下,所述下一跳标识包括以下之一:In a possible implementation, there may be multiple third target terminals that send the third response message to the first relay terminal. In this case, the next hop identifier includes one of the following:

(1)多个所述第三目标终端的标识信息;也就是说,第一中继终端可以将多个第三目标终端均作为所述第一中继终端的下一跳。(1) Identification information of multiple third target terminals; that is to say, the first relay terminal can use multiple third target terminals as the next hop of the first relay terminal.

(2)多个所述第三目标终端中任一个所述第三目标终端的标识信息;也就是说,第一中继终端可以将多个第三目标终端中的任一个作为所述第一中继终端的下一跳。(2) The identification information of any one of the plurality of third target terminals; that is to say, the first relay terminal can use any one of the plurality of third target terminals as the first The next hop of the relay terminal.

(3)所述多个第三目标终端中对应目标信息最优的第三目标终端的标识信息;也就是说,第一中继终端可以将多个第三目标终端中的目标信息最优的作为所述第一中继终端的下一跳。其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。(3) The identification information of the third target terminal corresponding to the optimal target information among the plurality of third target terminals; that is to say, the first relay terminal can obtain the optimal target information among the plurality of third target terminals. As the next hop of the first relay terminal. Wherein, the target information includes at least one of the following: delay information and wireless channel quality information.

在一个可能的方式中,为了使得第一中继终端还可以路由从第五远端终端到第四远端终端的中继消息,或者,为了使得第一中继终端获知其上一跳与下一跳的对应关系,所述路由关系还可以包括:所述第一中继终端的上一跳标识与所述第一中继终端的下一跳标识的第二对应关系,所述上一跳标识包括:所述第二目标终端的标识信息。In a possible way, in order to enable the first relay terminal to also route the relay message from the fifth remote terminal to the fourth remote terminal, or in order to enable the first relay terminal to learn its previous hop and next hop A one-hop correspondence relationship. The routing relationship may further include: a second correspondence relationship between the previous hop identifier of the first relay terminal and the next hop identifier of the first relay terminal. The previous hop The identification includes: identification information of the second target terminal.

在一个可能的实现方式中,向所述第一中继终端发送所述第三消息的第二目标终端可能为多个,在这种情况下,所述上一跳标识包括以下之一:In a possible implementation, there may be multiple second target terminals that send the third message to the first relay terminal. In this case, the previous hop identifier includes one of the following:

(1)多个所述第二目标终端的标识信息;(1) Identification information of multiple second target terminals;

(2)多个所述第二目标终端中任一个所述第二目标终端的标识信息;(2) Identification information of any one of the second target terminals among the plurality of second target terminals;

(3)所述多个第二目标终端中对应目标信息最优的第二目标终端的标识信息;其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。(3) Identification information of the second target terminal corresponding to the optimal target information among the plurality of second target terminals; wherein the target information includes at least one of the following: delay information and wireless channel quality information.

在一个可能的实现方式中,在所述第三目标终端为多个和/或所述第二目标终端为多个的情况下,所述第二对应关系中包括各个所述第三目标终端的标识信息分别与各个所述第二目标终端的标识信息的对应关系。例如,第三目标终端为三个,三个第三目标终端的标识分别为UE 1、UE 2和UE 3,第二目标终端为两个,两个第二目标终端的标识分别为UE 4和UE 5,则在第二对应关系中可以包括每个第三目标终端的标识与各个第二目标终端的标识的对应关系,即可以包括:UE 1与UE 4的对应关系、UE 2与UE 4的对应关系、UE 3与UE 4的对应关系、UE 1与UE 5的对应关系、UE 2与UE 5的对应关系以及UE 3与UE 5的对应关系。In a possible implementation, when there are multiple third target terminals and/or there are multiple second target terminals, the second corresponding relationship includes the number of each third target terminal. The corresponding relationship between the identification information and the identification information of each of the second target terminals. For example, there are three third target terminals, and the identifiers of the three third target terminals are UE 1, UE 2, and UE 3 respectively. There are two second target terminals, and the identifiers of the two second target terminals are UE 4 and UE respectively. UE 5, then the second corresponding relationship may include the corresponding relationship between the identifier of each third target terminal and the identifier of each second target terminal, that is, it may include: the corresponding relationship between UE 1 and UE 4, UE 2 and UE 4 The corresponding relationship, the corresponding relationship between UE 3 and UE 4, the corresponding relationship between UE 1 and UE 5, the corresponding relationship between UE 2 and UE 5, and the corresponding relationship between UE 3 and UE 5.

在一个可能的实现方式中,在所述第三目标终端为多个和/或所述第二目标终端为多个的情况下,所述上一跳标识包括:多个所述第二目标终端中的一个第二目标终端的标识信息,和/或,所述下一跳标识包括:多个所述第三目标终端中的一个第三目标终端的标识信息。也就是说,上述第二对应关系中只包括一个第二目标终端的标识信息与一个第三目标终端的标识信息的对应关系。例如,第三目标终端为三个,三个第三目标终端的标识分别为UE 1、UE 2和UE 3,第二目标终端为两个,两个第二目标终端的标识分别为UE 4和UE 5,则在第二对应关系包括:UE 2与UE 4的对应关系。In a possible implementation, when there are multiple third target terminals and/or there are multiple second target terminals, the previous hop identifier includes: multiple second target terminals. Identification information of a second target terminal among the plurality of third target terminals, and/or the next hop identification includes: identification information of a third target terminal among a plurality of the third target terminals. That is to say, the above-mentioned second corresponding relationship only includes the corresponding relationship between the identification information of a second target terminal and the identification information of a third target terminal. For example, there are three third target terminals, and the identifiers of the three third target terminals are UE 1, UE 2, and UE 3 respectively. There are two second target terminals, and the identifiers of the two second target terminals are UE 4 and UE respectively. UE 5, the second corresponding relationship includes: the corresponding relationship between UE 2 and UE 4.

可选地,在上述可能的实现方式中,所述上一跳标识为所述多个第二目标终端中对应目标信息最优的第二目标终端的标识信息;和/或,所述下一跳标识为所述多个第三目标终端中对应目标信息最优的第三目标终端的标识信息;其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。Optionally, in the above possible implementation manner, the previous hop is identified as the plurality of second destinations. The identification information of the second target terminal with the best corresponding target information among the target terminals; and/or the next hop identification is the identification information of the third target terminal with the best corresponding target information among the plurality of third target terminals. ; Wherein, the target information includes at least one of the following: delay information, wireless channel quality information.

也就是说,在所述第三目标终端为多个的情况下,选择多个第三目标终端中对应的目标信息最优的第三目标终端作为所述第一中继终端的下一跳,在所述第二目标终端为多个的情况下,选择多个第二目标终端中对应的目标信息最优的第二目标终端作为所述第一中继终端的上一跳。例如,第三目标终端为三个,三个第三目标终端的标识分别为UE 1、UE 2和UE 3,其中,UE 2无线信道质量信息最优,第二目标终端为两个,两个第二目标终端的标识分别为UE 4和UE 5,其中,UE 4的无线信道质量信息最优,则在第二对应关系包括:UE 2与UE 4的对应关系。That is to say, when there are multiple third target terminals, the third target terminal with the best corresponding target information among the plurality of third target terminals is selected as the next hop of the first relay terminal, When there are multiple second target terminals, the second target terminal with the best corresponding target information among the multiple second target terminals is selected as the previous hop of the first relay terminal. For example, there are three third target terminals, and the identities of the three third target terminals are UE 1, UE 2 and UE 3 respectively. Among them, UE 2 has the best wireless channel quality information, and there are two second target terminals. The identities of the second target terminals are UE 4 and UE 5 respectively. Among them, the wireless channel quality information of UE 4 is the best, so the second corresponding relationship includes: the corresponding relationship between UE 2 and UE 4.

在一个可能的实现方式中,在所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系之后,所述第一中继终端可以对接收到的中继消息进行路由,其中,中继消息可以是控制消息或承载业务数据的数据包。因此,在该可能实现方式中,该方法还可以包括以下步骤:In a possible implementation, after the first relay terminal establishes a routing relationship between the fourth remote terminal and the fifth remote terminal, the first relay terminal may respond to the received The relay message can be routed, where the relay message can be a control message or a data packet carrying service data. Therefore, in this possible implementation, the method may also include the following steps:

步骤1,所述第一中继终端接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的标识信息;Step 1: The first relay terminal receives a relay message to be forwarded, wherein the relay message carries identification information of the destination remote terminal of the relay message;

步骤2,所述第一中继终端查询所述路由关系,确定所述目的远端终端的标识信息与所述第五远端终端标识匹配;Step 2: The first relay terminal queries the routing relationship and determines that the identification information of the destination remote terminal matches the fifth remote terminal identification;

步骤3,所述第一中继终端将所述中继消息转发给所述下一跳标识对应的第三目标终端。Step 3: The first relay terminal forwards the relay message to the third target terminal corresponding to the next hop identifier.

在另一个可能的实现方式中,第一中继终端也可以按照上一跳与下一跳的对应关系进行中继路由,因此,在该可能的实现方式中,在所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系之后,所述方法还可以包括以下步骤:In another possible implementation, the first relay terminal can also perform relay routing according to the corresponding relationship between the previous hop and the next hop. Therefore, in this possible implementation, the first relay terminal After establishing the routing relationship between the fourth remote terminal and the fifth remote terminal, the method may further include the following steps:

步骤1,所述第一中继终端接收待转发的第一中继消息或生成一跳中继消息;Step 1: The first relay terminal receives the first relay message to be forwarded or generates a one-hop relay message;

步骤2,所述第一中继终端获取所述第一中继消息的发送端的标识信息;Step 2: The first relay terminal obtains the identification information of the sending end of the first relay message;

步骤3,所述第一中继终端查询所述路由关系,获取与所述发送端的标识信息匹配的所述上一跳标识信息;Step 3: The first relay terminal queries the routing relationship and obtains the previous hop identification information that matches the identification information of the sending end;

步骤4,所述第一中继终端将所述第一中继消息转发给与所述上一跳标识信息对应的下一跳标识信息对应的终端。Step 4: The first relay terminal forwards the first relay message to the terminal corresponding to the next hop identification information corresponding to the previous hop identification information.

可选地,在上述可能的实现方式中,第一中继终端还可以生成第二中继消息,然后获取所述目标路由关系中的上一跳标识信息;将所述第二中继消息发送给所述上一跳标识信息对应的终端。例如,第一中继终端在向下一跳发送中继消息可能失败,为了避免上一跳再向第一中继终端发送中继消息,第一中继终端可以生成一个第二中继消息,向上一跳发送该第二中继消息,该第二中继消息可以指示第一中继终端的下一跳故障,从而可以避免上一跳继续向第一中继终端发送在后续无法成功传输的中继消息。Optionally, in the above possible implementation manner, the first relay terminal can also generate a second relay message, and then obtain the previous hop identification information in the target routing relationship; delete the second relay message. The information is sent to the terminal corresponding to the previous hop identification information. For example, the first relay terminal may fail to send a relay message to the next hop. In order to prevent the previous hop from sending a relay message to the first relay terminal, the first relay terminal may generate a second relay message, The second relay message is sent to the upper hop. The second relay message can indicate the next hop failure of the first relay terminal, thereby preventing the upper hop from continuing to send the message that cannot be successfully transmitted subsequently to the first relay terminal. Relay message.

在一个可能的实现方式中,在所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系之后,所述方法还可以包括以下步骤:In a possible implementation, after the first relay terminal establishes the routing relationship between the fourth remote terminal and the fifth remote terminal, the method may further include the following steps:

步骤1,所述第一中继终端与所述上一跳标识对应的至少一个终端建立中继旁链路连接,接收来自所述上一跳标识中任一个标识信息对应的终端的数据;Step 1: The first relay terminal establishes a relay side link connection with at least one terminal corresponding to the previous hop identifier, and receives data from the terminal corresponding to any identification information in the previous hop identifier;

步骤2,所述第一中继终端与所述下一跳标识对应的至少一个终端建立中继旁链路连接,将所述数据转发给所述下一跳标识中任一个标识信息对应的终端。Step 2: The first relay terminal establishes a relay side link connection with at least one terminal corresponding to the next hop identifier, and forwards the data to a terminal corresponding to any identification information in the next hop identifier. .

通过本申请实施例提供的技术方案,可以通过多个终端联合为远端终端分配识别符,并可以建立多跳L2 U2U中继通路和路由,实现多跳L2 U2U中继通信。Through the technical solutions provided by the embodiments of this application, multiple terminals can jointly allocate identifiers to remote terminals, and can establish multi-hop L2 U2U relay paths and routes to achieve multi-hop L2 U2U relay communications.

图5示出本申请实施例提供的远端终端的识别符的分配方法的另一种流程示意图,该方法500可以由上述实施例中的第一目标终端执行。换言之,所述方法可以由安装在第一目标终端上的软件或硬件来执行。如图5所示,该方法可以包括以下步骤。FIG. 5 shows another schematic flowchart of a method for allocating an identifier of a remote terminal provided by an embodiment of the present application. The method 500 can be executed by the first target terminal in the above embodiment. In other words, the method may be executed by software or hardware installed on the first target terminal. As shown in Figure 5, the method may include the following steps.

S510,第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。S510. The first target terminal and the first relay terminal jointly allocate the first target identifier to the first remote terminal, where the first relay terminal is the access relay terminal of the first remote terminal, The first target terminal is a terminal other than the first relay terminal and the first remote terminal.

在一个可能的实现方式中,第一中继终端可以联合第一远端终端的中间中继终端、第一远端终端的通信对端(可以称之为第二远端终端)的接入中继终端为第一远端终端分配识别符,进一步地,还可以联合第一远端终端的通信对端为第一远端终端分配识别符。In a possible implementation, the first relay terminal may cooperate with the access of the intermediate relay terminal of the first remote terminal and the communication counterpart of the first remote terminal (which may be called the second remote terminal). After the terminal allocates the identifier to the first remote terminal, further, it may also cooperate with the communication counterpart of the first remote terminal to allocate the identifier to the first remote terminal.

以第一目标终端为中间中继终端和/或第二远端终端的接入中继终端为例,步骤S510可以包括以下步骤:Taking the first target terminal as an intermediate relay terminal and/or an access relay terminal of the second remote terminal as an example, step S510 may include the following steps:

步骤1,所述第一目标终端接收第一消息,其中,所述第一消息中包括候选识别符信息,所述候选识别符信息中包括至少一个第一候选识别符,所述第一消息由所述第一中继终端转发,或者由所述第一中继终端经由中间中继终端转发;Step 1: The first target terminal receives a first message, wherein the first message includes candidate identifier information, the candidate identifier information includes at least one first candidate identifier, and the first message is provided by Forwarded by the first relay terminal, or forwarded by the first relay terminal via an intermediate relay terminal;

步骤2,所述第一目标终端修改所述候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;Step 2: The first target terminal modifies the candidate identifier information, wherein modifying the The candidate identifier information includes one of the following: deleting unavailable identifiers in the candidate identifier information; adding available flag information in the candidate identifier information;

其中,在以下一种或多种情况下,第一目标终端可以确定修改识别符不可用:Wherein, in one or more of the following situations, the first target terminal may determine that the modification identifier is unavailable:

(1)当前所述候选识别符正在被其它中继UE或远端UE使用;(1) The candidate identifier is currently being used by other relay UEs or remote UEs;

(2)所述候选识别符最近被使用的时间距离当前时间小于第一预配置门限或第一预定义门限。(2) The last time the candidate identifier was used is less than the first preconfigured threshold or the first predefined threshold from the current time.

步骤3,所述第一目标终端转发修改所述候选识别符信息后的所述第一消息。Step 3: The first target terminal forwards the first message after modifying the candidate identifier information.

例如,在图6所示的U2U网络中,远端UE1向接入中继终端发送消息,接入中继终端在消息中添加候选识别符信息,该候选识别符信息中包括4个候选识别符:ID 0、ID 1、ID 2和ID 3,然后转发携带候选识别符信息的消息,中继UE 2接收到该消息后,确定候选识别符信息中的ID 1不可用,则可以在候选识别符信息标记ID 1不可用,或者删除候选识别符信息中的ID 1,然后转发携带修改后的候选识别符信息的消息至对端接入中继UE,对端接入中继UE接收消息后,确定其中ID 2不可用,则可以在候选识别符信息标记ID 2不可用,或者删除候选识别符信息中的ID 2,然后转发携带修改后的候选识别符信息的消息。For example, in the U2U network shown in Figure 6, the remote UE1 sends a message to the access relay terminal, and the access relay terminal adds candidate identifier information to the message. The candidate identifier information includes 4 candidate identifiers. : ID 0, ID 1, ID 2 and ID 3, and then forwards the message carrying the candidate identifier information. After receiving the message, the relay UE 2 determines that ID 1 in the candidate identifier information is not available, then it can identify the candidate in the The identifier information marks ID 1 as unavailable, or deletes ID 1 in the candidate identifier information, and then forwards the message carrying the modified candidate identifier information to the opposite access relay UE. After receiving the message, the opposite access relay UE , it is determined that ID 2 is unavailable, then you can mark ID 2 as unavailable in the candidate identifier information, or delete ID 2 in the candidate identifier information, and then forward the message carrying the modified candidate identifier information.

以第一目标终端为第二远端终端为例,步骤S510可以包括以下步骤:Taking the first target terminal as the second remote terminal as an example, step S510 may include the following steps:

步骤1,所述第一目标终端接收所述第一消息;Step 1: The first target terminal receives the first message;

步骤2,所述第一目标终端修改所述第一发现信息中携带的候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;Step 2: The first target terminal modifies the candidate identifier information carried in the first discovery information, wherein modifying the candidate identifier information includes one of the following: deleting unavailable candidates in the candidate identifier information. Identifier; add available tag information to the candidate identifier information;

步骤3,所述第一目标终端发送响应所述第一消息的第一响应消息,其中,所述第一响应消息中携带有修改后的所述候选识别符信息。Step 3: The first target terminal sends a first response message in response to the first message, wherein the first response message carries the modified candidate identifier information.

例如,在图6中,对端远端UE在接收到对端中继UE转发的消息后,获取消息中携带的候选识别符信息,在确定其中ID 3不可用,则可以在候选识别符信息标记ID 3不可用,或者删除候选识别符信息中的ID 3,然后转发携带修改后的候选识别符信息的响应消息。For example, in Figure 6, after receiving the message forwarded by the opposite relay UE, the opposite end remote UE obtains the candidate identifier information carried in the message. After determining that ID 3 is not available, it can add the candidate identifier information in the message. Mark ID 3 as unavailable, or delete ID 3 in the candidate identifier information, and then forward the response message carrying the modified candidate identifier information.

在一个可能的实现方式中,在第二远端终端在接收到第一消息之后,如果第二远端终端还未分配有识别符,则第二远端终端可以从第一消息携带的候选识别符信息中选择一个可用的候选识别符,作为第二远端终端的识别符,或者,第二远端终端的接入中继终端在转发第二远端终端发送的第二响应消息时,可以为第二远端终端分配识别符。因此,在该可能的实现方式中,在所述第一目标终端接收所述第一消息之后,所述方法还可以包括以下之一:In a possible implementation, after the second remote terminal receives the first message, if the second remote terminal has not been assigned an identifier, the second remote terminal may obtain the candidate identification from the first message. Select an available candidate identifier from the identifier information as the identifier of the second remote terminal, or the access relay terminal of the second remote terminal forwards the second response message sent by the second remote terminal. When receiving information, the second remote terminal may be assigned an identifier. Therefore, in this possible implementation, after the first target terminal receives the first message, the method may further include one of the following:

(1)在所述第一目标终端还未分配有识别符的情况下,所述第二远端终端将所述第一发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端。(1) When the first target terminal has not been assigned an identifier, the second remote terminal assigns the third target identifier in the candidate identifier information carried in the first discovery information to the second remote terminal.

在该可能的实现方式中,所述第二远端终端将所述第一发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端的情况下,可以将候选识别符信息中的第三目标识别符标识为不可用,或者删除候选识别符信息中的第三目标识别符,然后将修改后的候选识别符信息携带在第一响应消息中发送。In this possible implementation, when the second remote terminal allocates the third target identifier in the candidate identifier information carried in the first discovery information to the second remote terminal, Mark the third target identifier in the candidate identifier information as unavailable, or delete the third target identifier in the candidate identifier information, and then send the modified candidate identifier information in the first response message.

在一个可能的实现方式中,在发送第一响应消息之前,第二远端终端还可以在第一响应消息中添加所述第三目标识别符,然后发送携带所述第三目标识别符的第一响应消息,以使得通信对端可以获知第二远端终端的识别符。In a possible implementation, before sending the first response message, the second remote terminal may also add the third target identifier to the first response message, and then send the third target identifier carrying the third target identifier. A response message so that the communication counterpart can learn the identifier of the second remote terminal.

(2)所述第二远端终端的接入中继终端在接收到所述第一响应消息后,将所述第一响应发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端,并在修改所述第一响应发现信息携带的候选识别符信息后,转发所述第一响应发现信息。(2) After receiving the first response message, the access relay terminal of the second remote terminal allocates the third target identifier in the candidate identifier information carried in the first response discovery information. to the second remote terminal, and after modifying the candidate identifier information carried in the first response discovery information, forward the first response discovery information.

在一个可能的实现方式中,所述第二远端终端的接入中继终端将所述第一响应发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端的情况下,可以将候选识别符信息中的第三目标识别符标识为不可用,或者删除候选识别符信息中的第三目标识别符,然后将修改后的候选识别符信息携带在第一响应消息中发送。In a possible implementation, the access relay terminal of the second remote terminal allocates the third target identifier in the candidate identifier information carried in the first response discovery information to the second remote terminal. In the case of an end terminal, the third target identifier in the candidate identifier information can be marked as unavailable, or the third target identifier in the candidate identifier information can be deleted, and then the modified candidate identifier information can be carried in the third target identifier. Sent in a response message.

在一个可能的实现方式中,在发送第一响应消息之前,第二远端终端的接入中继终端还可以在第一响应消息中添加所述第三目标识别符,然后发送携带所述第三目标识别符的第一响应消息,以使得通信对端可以获知第二远端终端的识别符。In a possible implementation, before sending the first response message, the access relay terminal of the second remote terminal may also add the third target identifier in the first response message, and then send the third target identifier carrying the first response message. A first response message with three target identifiers, so that the communication counterpart can learn the identifier of the second remote terminal.

可选地,在发送第一响应消息之前,第二远端终端的接入中继终端还可以在第一响应消息中添加自身的识别符,然后发送携带所述第二远端终端的接入中继终端的识别符的第一响应消息,以使得通信对端可以获知第二远端终端的接入中继终端的识别符。Optionally, before sending the first response message, the access relay terminal of the second remote terminal can also add its own identifier in the first response message, and then send the access relay terminal carrying the second remote terminal. The first response message of the identifier of the relay terminal is relayed, so that the communication counterpart can learn the identifier of the access relay terminal of the second remote terminal.

在一个可能的实现方式中,第一目标终端也可以为网络中专用于分配远端识别符的终端。因此,在该可能的实现方式中,S510可以包括以下步骤:In a possible implementation, the first target terminal may also be a terminal in the network dedicated to allocating remote identifiers. Therefore, in this possible implementation, S510 may include the following steps:

步骤1,所述第一目标终端接收所述第一中继终端发送的识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符,所述第一目标终端为中继网络中用于分配识别符的终端;Step 1: The first target terminal receives an identifier allocation request sent by the first relay terminal, wherein the identifier allocation request is used to request the allocation of an identifier for the first remote terminal, The first target terminal is a terminal used for allocating identifiers in the relay network;

步骤2,所述第一目标终端向所述第一中继终端返回识别符分配响应消息,其中,所述识别符分配响应携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。Step 2: The first target terminal returns an identifier allocation response message to the first relay terminal, wherein the identifier allocation response carries the identifier assigned by the first target terminal to the first remote terminal. First target identifier.

在一个可能的实现方式中,所述识别符分配请求还可用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端;所述识别符分配响应还携带有第二目标识别符,所述第二目标识别符为所述第一目标终端为所述第二远端终端分配的识别符。In a possible implementation, the identifier allocation request may also be used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is the counterpart terminal of the first remote terminal; The identifier allocation response also carries a second target identifier, and the second target identifier is the identifier assigned by the first target terminal to the second remote terminal.

在上述可能的实现方式中,在所述第一目标终端向所述第一中继终端返回识别符分配响应之后,所述方法还可以包括:所述第一目标终端接收所述第一中继终端发送的第一通知,其中,所述第一通知用于通知所述第一目标终端释放所述第二目标识别符。In the above possible implementation manner, after the first target terminal returns an identifier allocation response to the first relay terminal, the method may further include: the first target terminal receives the first relay A first notification sent by the terminal, wherein the first notification is used to notify the first target terminal to release the second target identifier.

在一个可能的实现方式中,在所述第一目标终端向所述第一中继终端返回识别符分配响应消息之后,所述方法还可以包括:所述第一目标终端接收所述第一中继终端发送的第二通知,其中,所述第二通知用于通知所述第一目标终端释放所述第一目标识别符。In a possible implementation, after the first target terminal returns an identifier allocation response message to the first relay terminal, the method may further include: the first target terminal receives the first relay terminal. Following the second notification sent by the terminal, the second notification is used to notify the first target terminal to release the first target identifier.

在一个可能的实现方式中,在所述第一目标终端向所述第一中继终端返回识别符分配响应消息之后,所述方法还可以包括:In a possible implementation, after the first target terminal returns an identifier allocation response message to the first relay terminal, the method may further include:

所述第一目标终端接收所述第一中继终端上报的第一目标指示,其中,所述第一目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同;The first target terminal receives a first target indication reported by the first relay terminal, wherein the first target indication is used to indicate that the first target identifier allocated to the first remote terminal is the same as the first target identifier allocated to the first remote terminal. The fourth target identifier of the third remote terminal is the same;

所述第一目标终端向所述第一中继终端发送第二目标指示,其中,所述第二目标指示用于指示重新为所述第一远端终端分配的第一目标识别符;或者,所述第一目标终端向所述第三远端终端的接入中继终端发送第三目标指示,其中,所述第三目标指示用于指示重新为所述第三远端终端分配的第三目标识别符。The first target terminal sends a second target indication to the first relay terminal, wherein the second target indication is used to indicate a first target identifier re-allocated to the first remote terminal; or, The first target terminal sends a third target indication to the access relay terminal of the third remote terminal, wherein the third target indication is used to indicate a third target that is re-allocated to the third remote terminal. Target identifier.

通过本申请实施例提供的上述技术方案,可以在中继终端和远端终端与基站的无线连接断开时,实现多个终端联合为远端终端分配识别符。Through the above technical solutions provided by the embodiments of the present application, when the wireless connection between the relay terminal and the remote terminal and the base station is disconnected, multiple terminals can jointly allocate identifiers to the remote terminal.

下面以远端终端的接入中继终端联合中间中继终端、对端远端终端的接入中继终端和对端远端终端为远端终端分配识别符为例,对本申请实施例提供的远端终端的识别符的分配方法说明。Taking the access relay terminal of the remote terminal in conjunction with the intermediate relay terminal, the access relay terminal of the opposite remote terminal and the opposite remote terminal as an example to allocate an identifier to the remote terminal, the following is an example of what the embodiments of the present application provide. Description of the method for assigning identifiers to remote terminals.

在本申请实施例中,远端终端的接入中继终端联合中间中继终端、对端远端终端的接入中继终端和对端远端终端为远端终端分配识别符主要包括以下步骤:In this embodiment of the present application, the access relay terminal of the remote terminal cooperates with the intermediate relay terminal, the access relay terminal of the opposite remote terminal, and the opposite remote terminal to allocate an identifier to the remote terminal, which mainly includes the following steps: :

步骤1、接入中继UE在为远端UE生成转发发现信号时,为远端UE选取1个或多个候选识别符,并把候选识别符添加到待转发的发现信号中转发。Step 1: When the access relay UE generates a forwarding discovery signal for the remote UE, it selects one or more candidate identifiers for the remote UE, and adds the candidate identifiers to the discovery signal to be forwarded for forwarding.

步骤2、中间中继UE、对端远端UE的接入中继UE或对端远端UE在接收到发现信号时,从中得到候选识别符,并确定其中不可用的候选识别符。Step 2: When the intermediate relay UE, the access relay UE of the opposite end remote UE or the opposite end remote UE receives the discovery signal, it obtains the candidate identifiers and determines the unavailable candidate identifiers therefrom.

其中,不可用的候选识别符可按如下一种或多种方法确定:Among them, unavailable candidate identifiers can be determined by one or more of the following methods:

(1)中间中继UE、对端远端UE的接入中继UE或对端远端UE确定当前该候选识别符正在被其它中继UE或远端UE使用;(1) The intermediate relay UE, the access relay UE of the opposite end remote UE or the opposite end remote UE determines that the candidate identifier is currently being used by other relay UEs or remote UEs;

(2)中间中继UE、对端远端UE的接入中继UE或对端远端UE确定该候选识别符最近被使用的时间距离当前时间小于第一预配置/预定义门限。(2) The intermediate relay UE, the access relay UE of the opposite end remote UE, or the opposite end remote UE determines that the time when the candidate identifier was recently used is less than the first preconfigured/predefined threshold from the current time.

步骤3、中间中继UE在进一步转发该发现信号前,对该发现信号中携带的候选识别符进行修改后转发。修改方式可以包括以下之一:1)从中删除确定为不可用的候选识别符,然后把包含剩余候选识别符的发现信号转发出去;2)为不可用的候选识别符添加不可用标记,并把包含了标记的候选识别符和剩余未打标记的候选识别符的发现信号转发出去。Step 3: Before further forwarding the discovery signal, the intermediate relay UE modifies the candidate identifier carried in the discovery signal and then forwards it. The modification method may include one of the following: 1) Delete the candidate identifiers determined to be unavailable, and then forward the discovery signal containing the remaining candidate identifiers; 2) Add an unavailable mark to the unavailable candidate identifiers, and The discovery signal containing the marked candidate identifiers and the remaining unmarked candidate identifiers is forwarded.

步骤4、对端远端UE在收转发的发现信号后,将所述候选识别符信息包含在响应发现信号中发出去。通过上述步骤,可以甄别出可用于分配的候选识别符。Step 4: After receiving the forwarded discovery signal, the opposite remote UE includes the candidate identifier information in the response discovery signal and sends it out. Through the above steps, candidate identifiers that can be used for allocation can be identified.

可选地,对端远端UE可以将自身的识别符包含在响应发现信号中,以便远端UE和/或远端UE的接入中继UE可以获得该对端远端UE的识别符。Optionally, the counterpart remote UE may include its own identifier in the response discovery signal, so that the remote UE and/or the access relay UE of the remote UE can obtain the identifier of the counterpart remote UE.

可选地,当对端远端UE在收到转发的发现信号时,还未分配有识别符,该对端远端UE或其接入中继UE从收到的转发发现信号中确定一个可用的候选识别符,分配给该对端远端UE。Optionally, when the opposite end remote UE receives the forwarded discovery signal and has not yet been assigned an identifier, the opposite end remote UE or its access relay UE determines an available identifier from the received forwarded discovery signal. The candidate identifier is assigned to the peer remote UE.

步骤5、当接入中继UE收到的响应发现信号中没有候选识别符时,则重新为该UE选定一组候选识别符,重复上述步骤1至步骤4。Step 5: When there is no candidate identifier in the response discovery signal received by the access relay UE, a new set of candidate identifiers is selected for the UE, and the above steps 1 to 4 are repeated.

步骤6、当接入中继UE收到的响应发现信号时,其中包含至少一个候选识别符,接入中继UE从中选取一个识别符分配给远端UE。Step 6: When the access relay UE receives the response discovery signal, which contains at least one candidate identifier, the access relay UE selects an identifier from it and assigns it to the remote UE.

可选地,为避免将远端UE的识别符通知对端远端UE的信令开销,可以预定义或预配置接入中继UE为远端UE确定的识别符为收到的响应发现信号中包含的可用候选识别符中的某一个序号的识别符(例如第一个或最后一个)。这样对端远端UE在确定可用候选识别符时,就可以确定远端UE的识别符,不必要另行通知。Optionally, in order to avoid the signaling overhead of notifying the remote UE of the identifier of the remote UE, the identifier determined by the access relay UE for the remote UE may be predefined or preconfigured in response to the received discovery signal. The identifier of a certain sequence number (such as the first or last) among the available candidate identifiers contained in . In this way, when the opposite end remote UE determines the available candidate identifiers, it can determine the identifier of the remote UE without further notification.

可选地,上述过程中,远端UE的识别符也可以基于远端UE自己确定,远端UE自己确定候选识别符,并把候选识别符包含在发现信号中,在收到响应发现信号后,如果其中包含可用候选识别符,选取一个作为自身识别符并报告给接入中继UE。Optionally, in the above process, the identifier of the remote UE can also be determined based on the remote UE itself. The remote UE determines the candidate identifier by itself and includes the candidate identifier in the discovery signal. After receiving the response discovery signal , if it contains available candidate identifiers, select one as its own identifier and reported to the access relay UE.

可选地,接入中继UE也可以将自身的识别符包含在转发发现信号中发出去,对端远端UE的接入中继UE将自身的识别符包含在响应发现信号中发给接入中继UE。Optionally, the access relay UE may also include its own identifier in the forwarding discovery signal and send it, and the access relay UE of the opposite end remote UE may include its own identifier in the response discovery signal and send it to the receiving party. Enter the relay UE.

可选地,中继UE在转发发现信号时,将添加该发现信号经历的延时信息添加到转发发现信号中:Optionally, when forwarding the discovery signal, the relay UE adds the delay information experienced by the discovery signal to the forwarding discovery signal:

(1)发现信号被转发的次数或经历的跳数信息;(1) Discover the number of times the signal has been forwarded or the number of hops experienced;

(2)发现信号经历的时延信息(N毫秒)。(2) Discover the delay information experienced by the signal (N milliseconds).

下面以远端终端的接入中继终端联合识别符分配UE为远端终端分配识别符为例,对本申请实施例提供的远端终端的识别符的分配方法说明。The following takes the remote terminal's access relay terminal to jointly allocate the identifier with the UE to allocate the identifier to the remote terminal as an example to describe the method for allocating the identifier of the remote terminal provided by the embodiment of the present application.

在本申请实施列中,中继网络中存在一个远端UE识别符分配中继UE(可称为识别符分配UE),当远端UE请求接入中继UE为其转发发现信号时,接入中继UE向识别符分配UE发起识别符分配请求,接入中继UE在获得识别符后,将识别符添加在转发的发现信号中转发出去,对端远端UE在收到转发发现信号时,从中获取远端UE的识别符,如果对端远端UE还未分配有识别符,则其接入中继UE通过类似的方法为其获取识别符分配。In the implementation of this application, there is a remote UE identifier allocation relay UE (which can be called the identifier allocation UE) in the relay network. When the remote UE requests access to the relay UE to forward the discovery signal for it, The incoming relay UE initiates an identifier allocation request to the identifier allocating UE. After obtaining the identifier, the access relay UE adds the identifier to the forwarded discovery signal and forwards it. The opposite remote UE receives the forwarded discovery signal. When, the identifier of the remote UE is obtained from it. If the opposite remote UE has not been assigned an identifier, its access relay UE obtains the identifier assignment for it through a similar method.

作为另一种改进方案,当一个接入中继UE为一个远端UE转发发现信号时,向识别符分配UE请求分配两个识别符,一个可以分配给远端UE,另一个可以作为候选识别符发送给对端远端UE,例如,中继UE可以把这远端UE的识别符和为对端远端UE申请的识别符包含在发现信号中,对端远端UE或对端远端UE的接入中继UE在收到该发现信号时,从中获取远端UE的识别符,如果此时对端远端UE未分配有识别符,则可将发现信号中携带的候选识别符作为对端远端UE的识别符,如果对端远端UE已经有识别符,则可以直接使用已有的识别符,也可以使用候选识别符与远端UE建立中继通路。对端远端UE在响应发现信号中,携带自身识别符。可选地,远端UE的接入中继UE在收到响应发现信号时,从中提取对端远端UE的识别符,如果对端远端UE的识别符不是所述候选识别符,可以通知识别符分配UE,释放候选识别符。As another improved solution, when an access relay UE forwards a discovery signal for a remote UE, the identifier allocation UE requests the allocation of two identifiers. One can be allocated to the remote UE and the other can be used as a candidate identifier. The identifier is sent to the opposite remote UE. For example, the relay UE can include the identifier of the remote UE and the identifier applied for the opposite remote UE in the discovery signal. The opposite remote UE or the opposite remote UE When the UE's access relay UE receives the discovery signal, it obtains the identifier of the remote UE. If the opposite remote UE is not assigned an identifier at this time, the candidate identifier carried in the discovery signal can be used as The identifier of the opposite remote UE. If the opposite remote UE already has an identifier, the existing identifier can be used directly, or a candidate identifier can be used to establish a relay path with the remote UE. The opposite end remote UE carries its own identifier in the response discovery signal. Optionally, when receiving the response discovery signal, the access relay UE of the remote UE extracts the identifier of the opposite remote UE from it. If the identifier of the opposite remote UE is not the candidate identifier, it may notify The identifier is assigned to the UE and the candidate identifier is released.

在本申请实施例中,该方法还可以包括:In the embodiment of this application, the method may also include:

(1)当一个接入中继UE释放与远端UE的中继旁链路时,通知识别符分配UE,释放分配给该远端UE的识别符。(1) When an access relay UE releases the relay side link with a remote UE, the identifier allocation UE is notified and the identifier allocated to the remote UE is released.

(2)当发现一个远端UE的识别符跟U2U网络中的一个其它远端UE的识别符相同时,任意中继UE可以向识别符分配UE报告识别符分配冲突。(2) When it is found that the identifier of a remote UE is the same as the identifier of another remote UE in the U2U network, any relay UE may report the identifier allocation conflict to the identifier allocating UE.

下面对本申请实施例中,两个远端UE之间的中继通路和路由的建立方案进行说明。The following is a description of the establishment method of the relay path and route between two remote UEs in the embodiment of the present application. case is explained.

一个中继UE在接收需要转发的发现信号时,可以执行以下操作:When a relay UE receives a discovery signal that needs to be forwarded, it can perform the following operations:

a)识别和保留发送该发现信号的中继UE的信息,包括该中继UE相关的relay UE ID、L2 ID、识别符信息和路径标识信息等;a) Identify and retain the information of the relay UE that sends the discovery signal, including the relay UE ID, L2 ID, identifier information and path identification information related to the relay UE;

b)获取触发此发现信号的远端UE的信息,包括L2 ID信息/识别符信息等。b) Obtain the information of the remote UE that triggered the discovery signal, including L2 ID information/identifier information, etc.

而一个中继UE在接收需要转发的响应发现信号后,可以执行以下操作:After receiving the response discovery signal that needs to be forwarded, a relay UE can perform the following operations:

c)识别和保留发送该响应发现信号的中继UE的信息,包括该中继UE相关的relay UE ID、L2 ID、识别符信息和路径标识信息等;c) Identify and retain the information of the relay UE that sends the response discovery signal, including the relay UE ID, L2 ID, identifier information and path identification information related to the relay UE;

d)获取响应发现信号中携带的信息,其中,该信息可以包括以下至少一个:d) Obtain the information carried in the response discovery signal, where the information may include at least one of the following:

-远端UE的L2 ID信息和/或识别符信息;-L2 ID information and/or identifier information of the remote UE;

-对端远端UE的L2 ID信息和/或识别符信息;-L2 ID information and/or identifier information of the opposite end remote UE;

e)确定是否收到或转发与该响应发现信号对应的转发发现信号。e) Determine whether a forward discovery signal corresponding to the response discovery signal is received or forwarded.

其中,如果确定已经收到与该响应发现信号对应的转发发现信号,则确定该转发发现信号的转发UE,并把响应发现信号转发给该UE;Wherein, if it is determined that the forwarding discovery signal corresponding to the response discovery signal has been received, then determine the forwarding UE of the forwarding discovery signal, and forward the response discovery signal to the UE;

可选地,如果该中继UE未曾收到与该响应发现信号对应的发现信号,该中继UE可以不转发该响应发现信号。Optionally, if the relay UE has not received a discovery signal corresponding to the response discovery signal, the relay UE may not forward the response discovery signal.

可选地,转发响应发现信号可以适用广播的方式转发,也可以适用单播的方式转发,通过广播可以使得响应发现信号到达更多的中继UE,增加转发成功的概率,采用单播方式发送可以避免响应发现信号被所有周围的中继UE转发,减少头寸开销。Optionally, the forwarding response discovery signal can be forwarded by broadcasting or unicasting. Broadcasting can make the response discovery signal reach more relay UEs and increase the probability of successful forwarding. It can be sent in unicast mode. It can avoid that the response discovery signal is forwarded by all surrounding relay UEs, reducing position overhead.

f)可选地,中继UE从多个其它中继UE收到同一个远端UE的转发发现信号,如果该中继UE已经转发其中的一个,则不再转发后续收到的属于该远端UE的转发发现信号。从而可以避免发现信号转发风暴。该中继UE可以保留后续收到的转发发现信号的转发中继UE的信息(例如L2 ID),可以选择将后续收到的对应的响应发现信号发送给一个或多个转发中继UE。f) Optionally, the relay UE receives the forwarding discovery signal of the same remote UE from multiple other relay UEs. If the relay UE has forwarded one of them, it will no longer forward the subsequent received discovery signal belonging to the remote UE. The forwarding discovery signal of the end UE. This avoids discovery of signal forwarding storms. The relay UE can retain the information (such as L2 ID) of the forwarding relay UE that forwards the discovery signal subsequently received, and can choose to send the corresponding response discovery signal subsequently received to one or more forwarding relay UEs.

一个中继UE在接收需要转发的发现信号和响应发现信号时,可以从中利用上述信息建立两个远端UE路由关系,包括:(源远端UE标识,目的远端UE标识)对、上一跳中继或远端UE ID和下一跳中继/远端UE的relay UE ID、L2 ID、识别符信息和路径标识信息的对应关系。When a relay UE receives a discovery signal that needs to be forwarded and responds to a discovery signal, it can use the above information to establish a routing relationship between two remote UEs, including: (source remote UE identity, destination remote UE identity) pair, previous The corresponding relationship between the hop relay or remote UE ID and the relay UE ID, L2 ID, identifier information and path identification information of the next hop relay/remote UE.

在收到多个中继UE转发的发现信号和/或当收到多个中继UE转发的响应发现信号时,可以为两个远端UE之间的通信建立多套路由关系;When receiving discovery signals forwarded by multiple relay UEs and/or when receiving response discovery signals forwarded by multiple relay UEs, multiple sets of routing relationships can be established for communications between two remote UEs;

当存在多个下一跳中继UE节点时,中继UE可优选下一跳中继UE节点:When there are multiple next-hop relay UE nodes, the relay UE may prefer the next-hop relay UE node:

-延时优先:选择最早收到响应发现信号的对应的中继UE作为下一跳中继UE;或-Delay priority: select the corresponding relay UE that receives the response discovery signal earliest as the next hop relay UE; or

-无线信道质量优先:中继UE自多个中继UE收到响应发现信号,选择其中无线信道质量最好的中继UE作为下一跳中继UE。- Wireless channel quality priority: The relay UE receives response discovery signals from multiple relay UEs and selects the relay UE with the best wireless channel quality as the next hop relay UE.

上述远端UE和对端远端UE的路由配置生成还可以包括以下之一:The above route configuration generation for the remote UE and the opposite remote UE may also include one of the following:

(1)一个中间中继UE与一个或多个上一跳中继UE建立中继旁链路连接,转发自任一上一跳中继UE转发的数据;(1) An intermediate relay UE establishes a relay side link connection with one or more previous-hop relay UEs, and forwards data forwarded from any previous-hop relay UE;

(2)一个中间中继UE与一个或多个下一跳中继UE建立中继旁链路连接,将数据转发给一个或多个下一跳中继UE;(2) An intermediate relay UE establishes a relay side link connection with one or more next-hop relay UEs, and forwards data to one or more next-hop relay UEs;

本申请实施例提供的远端终端的识别符的分配方法,执行主体可以为远端终端的识别符的分配装置。本申请实施例中以远端终端的识别符的分配装置执行远端终端的识别符的分配方法为例,说明本申请实施例提供的远端终端的识别符的分配装置。For the method for allocating an identifier of a remote terminal provided in an embodiment of the present application, the execution subject may be a device for allocating an identifier of a remote terminal. In the embodiment of the present application, the apparatus for allocating the identifier of the remote terminal is used as an example to illustrate the apparatus for allocating the identifier of the remote terminal provided by the embodiment of the present application.

图7示出本申请实施例提供的远端终端的识别符的分配装置的一种结构示意图,该装置可以应用于第一中继终端,如图7所示,该装置700主要包括第一接收模块701和第一分配模块702。Figure 7 shows a schematic structural diagram of a device for allocating an identifier of a remote terminal provided by an embodiment of the present application. This device can be applied to a first relay terminal. As shown in Figure 7, the device 700 mainly includes a first receiving module 701 and the first allocation module 702.

在本申请实施例中,第一接收模块701,用于接收第一远端终端发送的第一消息;第一分配模块702,用于联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。In this embodiment of the present application, the first receiving module 701 is used to receive the first message sent by the first remote terminal; the first allocation module 702 is used to combine at least one first target terminal to provide the first remote terminal with the first message. The terminal allocates a first target identifier, wherein the first relay terminal is an access relay terminal of the first remote terminal, and the first target terminal is an access relay terminal other than the first relay terminal and the first remote terminal. A terminal other than the first remote terminal.

在一个可能的实现方式中,第一分配模块702联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,包括:In a possible implementation, the first allocation module 702 combines at least one first target terminal to allocate a first target identifier to the first remote terminal, including:

在所述第一消息中添加至少一个第一候选识别符后,转发携带所述至少一个第一候选识别符的所述第一消息;After adding at least one first candidate identifier to the first message, forward the first message carrying the at least one first candidate identifier;

所述第一中继终端接收所述至少一个第一目标终端中一个或多个所述第一目标终端返回的第一响应消息,其中,所述第一响应消息中携带有第一指示信息,所述第一指示信息指示所述至少一个第一目标终端确定的所述至少一个第一候选识别符中可用的至少一个第二候选识别符,所述至少一个第一目标终端包括以下至少之一:至少一个第二中继终端、第二远端终端,所述第二中继终端包括所述第一远端终端与所述第二远端终端之间的除所述第一中继终端之外的中继终端,所述第二远端终端为所述第一远端终端的通信对端;The first relay terminal receives a first response message returned by one or more of the first target terminals in the at least one first target terminal, wherein the first response message carries first indication information, The first indication information indicates at least one second candidate identifier available among the at least one first candidate identifier determined by the at least one first target terminal, and the at least one first target terminal includes at least one of the following : at least one second relay terminal and a second remote terminal, the second relay terminal including the first relay terminal between the first remote terminal and the second remote terminal except the first relay terminal An external relay terminal, the second remote terminal is the communication counterpart of the first remote terminal;

根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符。Assign a first target identifier to the first remote terminal based on the at least one second candidate identifier. alias.

在一个可能的实现方式中,所述第一指示信息包括以下之一:In a possible implementation, the first indication information includes one of the following:

第一识别符信息,所述第一识别符信息中包括所述至少一个第二候选识别符;first identifier information, the first identifier information including the at least one second candidate identifier;

第二识别符信息,所述第二识别符信息中包括所述至少一个第一候选识别符和标记信息,所述标记信息用于标识所述至少一个第一候选识别符中是否可用的识别符。Second identifier information, the second identifier information includes the at least one first candidate identifier and tag information, the tag information is used to identify whether the at least one first candidate identifier is an available identifier. .

在一个可能的实现方式中,第一分配模块702根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符,包括:In a possible implementation, the first allocation module 702 allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier, including:

从所述至少一个第二候选识别符中选择一个可用的识别符分配给所述第一远端终端的第一目标识别符;Selecting an available identifier from the at least one second candidate identifier to assign to the first target identifier of the first remote terminal;

向所述第一远端终端转发所述第一响应消息,在所述第一响应消息中指示分配给所述第一远端终端的第一目标识别符。The first response message is forwarded to the first remote terminal, and the first target identifier assigned to the first remote terminal is indicated in the first response message.

在一个可能的实现方式中,所述第一分配模块702还用于从所述第一消息中获取所述至少一个第一候选识别符。In a possible implementation, the first allocation module 702 is further configured to obtain the at least one first candidate identifier from the first message.

在一个可能的实现方式中,第一分配模块702根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符,包括:In a possible implementation, the first allocation module 702 allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier, including:

所述第一中继终端向所述第一远端终端转发所述第一响应消息;The first relay terminal forwards the first response message to the first remote terminal;

所述第一中继终端接收所述第一远端终端发送的报告,其中,所述报告中携带有所述至少一个第二候选识别符中的一个识别符;The first relay terminal receives a report sent by the first remote terminal, wherein the report carries one identifier of the at least one second candidate identifier;

所述第一中继终端确定所述报告中携带的所述识别符作为分配给所述第一远端终端的第一目标识别符。The first relay terminal determines the identifier carried in the report as the first target identifier assigned to the first remote terminal.

在一个可能的实现方式中,第一分配模块702还用于在所述第一响应消息中未携带有所述第一指示信息,或者,所述第一响应消息中携带的所述第一指示信息指示所述至少一个第一候选识别符均不可用的情况下,所述第一中继终端在所述第一消息中添加至少一个第三候选识别符后,转发携带所述至少一个第三候选识别符的所述第一消息,其中,所述至少一个第三候选识别符与所述至少一个第一候选识别符不相同。In a possible implementation, the first allocation module 702 is also configured to do not carry the first indication information in the first response message, or the first indication information carried in the first response message When the information indicates that none of the at least one first candidate identifier is available, the first relay terminal adds at least one third candidate identifier to the first message and forwards the message carrying the at least one third candidate identifier. The first message of candidate identifiers, wherein the at least one third candidate identifier is different from the at least one first candidate identifier.

在一个可能的实现方式中,所述第一响应消息中还携带有所述第二远端终端的识别符。In a possible implementation, the first response message also carries an identifier of the second remote terminal.

在一个可能的实现方式中,第一分配模块702还用于在所述第一消息中添加所述第一中继终端的识别符。In a possible implementation, the first allocation module 702 is also configured to add the identifier of the first relay terminal in the first message.

在一个可能的实现方式中,所述第一响应消息中还携带有第一目标中继终端的识别符,所述第一目标中继终端为所述第二远端终端的接入中继终端。In a possible implementation, the first response message also carries an identifier of a first target relay terminal, and the first target relay terminal is the access relay terminal of the second remote terminal. .

在一个可能的实现方式中,第一分配模块702还用于在所述第一消息中添加所述第一消息的延时信息,其中,所述延时信息包括以下至少之一:所述第一消息被转发的次数、所述第一消息经历的跳数、所述第一消息经历的时延信息。In a possible implementation, the first allocation module 702 is further configured to add delay information of the first message to the first message, wherein the delay information includes at least one of the following: the first message; The number of times a message has been forwarded, the number of hops experienced by the first message, and the delay information experienced by the first message.

在一个可能的实现方式中,第一分配模块702联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,包括:In a possible implementation, the first allocation module 702 combines at least one first target terminal to allocate a first target identifier to the first remote terminal, including:

向所述第一目标终端发送识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符,所述第一目标终端为中继网络中用于分配识别符的终端;Send an identifier allocation request to the first target terminal, wherein the identifier allocation request is used to request the allocation of an identifier for the first remote terminal, and the first target terminal is used for allocation in a relay network The terminal of the identifier;

接收所述第一目标终端返回的识别符分配响应消息,其中,所述识别符分配响应消息携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。Receive an identifier allocation response message returned by the first target terminal, wherein the identifier allocation response message carries the first target identifier allocated by the first target terminal to the first remote terminal.

在一个可能的实现方式中,第一分配模块702还用于在所述第一消息中添加所述第一目标识别符后,转发携带所述第一目标识别符的所述第一消息。In a possible implementation, the first allocation module 702 is further configured to forward the first message carrying the first target identifier after adding the first target identifier to the first message.

在一个可能的实现方式中,所述识别符分配请求还用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端;所述识别符分配响应还携带有第二目标识别符,所述第二目标识别符为所述第一目标终端为所述第二远端终端分配的识别符;转发的所述第一消息中还携带有所述第二目标识别符。In a possible implementation, the identifier allocation request is also used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is a counterpart terminal of the first remote terminal; The identifier allocation response also carries a second target identifier, which is the identifier allocated by the first target terminal to the second remote terminal; the forwarded first message also carries There is the second target identifier.

在一个可能的实现方式中,第一分配模块702还用于接收所述第一消息的第一响应消息,其中,所述第一响应消息中携带有所述第二远端终端的第三目标识别符;在所述第三目标识别符与所述第二目标识别符不相同的情况下,通知所述第一目标终端释放所述第二目标识别符。In a possible implementation, the first allocation module 702 is also configured to receive a first response message of the first message, wherein the first response message carries the third target of the second remote terminal. Identifier; when the third target identifier is different from the second target identifier, notify the first target terminal to release the second target identifier.

在一个可能的实现方式中,第一分配模块702还用于在释放与所述第一远端终端的中继旁链路之后,通知所述第一目标终端释放所述第一目标识别符。In a possible implementation, the first allocation module 702 is further configured to notify the first target terminal to release the first target identifier after releasing the relay side link with the first remote terminal.

在一个可能的实现方式中,第一分配模块702还用于接收第二消息或第二消息的第二响应消息,其中,所述第二消息或所述第二响应消息中携带有第三远端终端的第四目标识别符;在所述第四目标识别符与所述第一目标识别符相同的情况下,向所述第一目标终端上报目标指示,其中,所述目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同。In a possible implementation, the first allocation module 702 is further configured to receive a second message or a second response message to the second message, wherein the second message or the second response message carries a third remote message. The fourth target identifier of the end terminal; when the fourth target identifier is the same as the first target identifier, report a target indication to the first target terminal, wherein the target indication is used to indicate The first target identifier assigned to the first remote terminal is the same as the fourth target identifier assigned to the third remote terminal.

在一个可能的实现方式中,如图7所示,所述装置还包括:路由模块703用于:In a possible implementation, as shown in Figure 7, the device further includes: a routing module 703 for:

接收来自第一终端转发的第三消息,其中,所述第一终端包括:中继终端或远端终端;Receive a third message forwarded from a first terminal, wherein the first terminal includes: a relay terminal or a remote terminal;

获取并保存所述第一终端的第一标识信息,其中,所述第一标识信息包括以下至少之一:所述第一终端的中继终端标识、所述第一终端的层2标识、所述第一终端的识别符、所述第一终端的路由路径标识信息;Obtain and save the first identification information of the first terminal, wherein the first identification information includes at least one of the following: the relay terminal identification of the first terminal, the layer 2 identification of the first terminal, the The identifier of the first terminal and the routing path identification information of the first terminal;

获取并保存触发所述第三消息的第四远端终端的第二标识信息,其中,所述第二标识信息包括以下至少之一:所述第四远端终端的层2标识、所述第四远端终端的识别符。Obtain and save the second identification information of the fourth remote terminal that triggered the third message, wherein the second identification information includes at least one of the following: the layer 2 identification of the fourth remote terminal, the third Four remote terminal identifiers.

在一个可能的实现方式中,路由模块703还用于在所述第一中继终端未曾转发所述第三消息的情况下,转发所述第三消息。In a possible implementation, the routing module 703 is also configured to forward the third message if the first relay terminal has not forwarded the third message.

在一个可能的实现方式中,路由模块703还用于:In a possible implementation, the routing module 703 is also used to:

接收第三终端转发的第三响应消息;Receive the third response message forwarded by the third terminal;

获取并保存所述第三终端的第三标识信息,其中,所述第三标识信息包括以下至少之一:所述第三终端的中继终端标识、所述第三终端的层2标识、所述第三终端的识别符、所述第三终端的路由路径标识信息;Obtain and save the third identification information of the third terminal, wherein the third identification information includes at least one of the following: the relay terminal identification of the third terminal, the layer 2 identification of the third terminal, the The identifier of the third terminal and the routing path identification information of the third terminal;

获取第四标识信息,其中,所述第四标识信息中包括以下至少之一:所述第四远端终端的第二标识信息、第五远端终端的第五标识信息,所述第五远端终端为所述第四远端终端的通信对端。Obtain fourth identification information, wherein the fourth identification information includes at least one of the following: second identification information of the fourth remote terminal, fifth identification information of the fifth remote terminal, and the fifth remote terminal. The end terminal is the communication counterpart of the fourth remote terminal.

在一个可能的实现方式中,路由模块703还用于在确定保存有所述第四远端终端的第二标识信息的情况下,向所述第四远端终端转发所述第三响应消息。In a possible implementation, the routing module 703 is further configured to forward the third response message to the fourth remote terminal if it is determined that the second identification information of the fourth remote terminal is stored.

在一个可能的实现方式中,路由模块703向所述第四远端终端转发所述第三响应消息,包括:In a possible implementation, the routing module 703 forwards the third response message to the fourth remote terminal, including:

广播所述第三响应消息;或者,Broadcast the third response message; or,

向第二目标终端转发所述第三响应消息,其中,所述第二目标终端为向所述第一中继终端发送所述第三消息的终端。Forwarding the third response message to a second target terminal, where the second target terminal is the terminal that sends the third message to the first relay terminal.

在一个可能的实现方式中,路由模块703向第二目标终端转发所述第三响应消息,包括:In a possible implementation, the routing module 703 forwards the third response message to the second target terminal, including:

在所述第二目标终端为多个的情况下,向多个所述第二目标终端中的一个或多个转发所述第三响应消息。If there are multiple second target terminals, the third response message is forwarded to one or more of the multiple second target terminals.

在一个可能的实现方式中,路由模块703还用于建立所述第四远端终端与所述第五远端终端之间的路由关系,其中,所述路由关系包括:In a possible implementation, the routing module 703 is also used to establish a routing relationship between the fourth remote terminal and the fifth remote terminal, where the routing relationship includes:

所述第四远端终端标识与所述第五远端终端标识的第一对应关系,其中,所述第四远端终端标识包括所述第二标识信息,所述第五远端终端标识包括所述第五标识信息;The first corresponding relationship between the fourth remote terminal identification and the fifth remote terminal identification, wherein the fourth remote terminal identification includes the second identification information, and the fifth remote terminal identification includes The fifth identification information;

所述下一跳标识,包括:第三目标终端的标识信息,其中,所述第三目标终端为向所述第一中继终端发送所述第三响应消息的中继终端。The next hop identification includes: identification information of a third target terminal, where the third target terminal is a relay terminal that sends the third response message to the first relay terminal.

在一个可能的实现方式中,在第三目标终端为多个的情况下,所述下一跳标识包括以下之一:In a possible implementation, when there are multiple third target terminals, the next hop identifier includes one of the following:

多个所述第三目标终端的标识信息;Identification information of a plurality of third target terminals;

多个所述第三目标终端中任一个所述第三目标终端的标识信息;Identification information of any one of the plurality of third target terminals;

所述多个第三目标终端中对应目标信息最优的第三目标终端的标识信息;The identification information of the third target terminal corresponding to the optimal target information among the plurality of third target terminals;

其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。Wherein, the target information includes at least one of the following: delay information and wireless channel quality information.

在一个可能的实现方式中,所述路由关系还包括:In a possible implementation, the routing relationship also includes:

上一跳标识与所述下一跳标识的第二对应关系,所述上一跳标识包括:所述第二目标终端的标识信息。A second corresponding relationship between a previous hop identifier and the next hop identifier, where the previous hop identifier includes: identification information of the second target terminal.

在一个可能的实现方式中,在第二目标终端为多个的情况下,所述上一跳标识包括以下之一:In a possible implementation, when there are multiple second target terminals, the previous hop identifier includes one of the following:

多个所述第二目标终端的标识信息;Identification information of a plurality of second target terminals;

多个所述第二目标终端中任一个所述第二目标终端的标识信息;Identification information of any one of the second target terminals among the plurality of second target terminals;

所述多个第二目标终端中对应目标信息最优的第二目标终端的标识信息;The identification information of the second target terminal corresponding to the optimal target information among the plurality of second target terminals;

其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。Wherein, the target information includes at least one of the following: delay information and wireless channel quality information.

在一个可能的实现方式中,所述路由模块703还用于:In a possible implementation, the routing module 703 is also used to:

接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的标识信息;Receive a relay message to be forwarded, wherein the relay message carries identification information of the destination remote terminal of the relay message;

查询所述路由关系,确定所述目的远端终端的标识信息与所述第五远端终端标识匹配;Query the routing relationship and determine that the identification information of the destination remote terminal matches the fifth remote terminal identification;

将所述中继消息转发给所述下一跳标识对应的第三目标终端。Forward the relay message to the third target terminal corresponding to the next hop identification.

在一个可能的实现方式中,所述路由模块703还用于:In a possible implementation, the routing module 703 is also used to:

接收待转发的中继消息;Receive relay messages to be forwarded;

获取所述中继消息的发送端的标识信息;Obtain identification information of the sending end of the relay message;

查询所述路由关系,获取与所述发送端的标识信息匹配的所述上一跳标识信息;Query the routing relationship and obtain the previous hop identification information that matches the identification information of the sending end;

将所述中继消息转发给与所述上一跳标识信息对应的下一跳标识信息对应的终端。The relay message is forwarded to the terminal corresponding to the next hop identification information corresponding to the previous hop identification information.

本申请实施例中的远端终端的识别符的分配装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的中继终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The device for allocating the identifier of the remote terminal in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. By way of example, Terminals may include but are not limited to the types of relay terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.

本申请实施例提供的远端终端的识别符的分配装置能够实现图4至图6的方法实施例中第一中继终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The apparatus for allocating identifiers of remote terminals provided by the embodiments of the present application can implement each process implemented by the first relay terminal in the method embodiments of Figures 4 to 6, and achieve the same technical effect. To avoid duplication, no description is given here. Again.

图8示出本申请实施例提供的远端终端的识别符的分配装置的另一种结构示意图,该装置可以应用于上述的第一目标终端,如图8所示,该装置800主要包括第二接收模块801和第二分配模块802。Figure 8 shows another structural schematic diagram of a device for allocating an identifier of a remote terminal provided by an embodiment of the present application. This device can be applied to the above-mentioned first target terminal. As shown in Figure 8, the device 800 mainly includes a third The second receiving module 801 and the second distribution module 802.

在本申请实施例中,第二接收模块801,用于接收第一消息,其中,所述第一消息指示为第一远端终端分配第一目标识别符。例如,第一消息可以为第一中继终端转发的消息,也可以为第一中继终端发送的识别符分配请求;第二分配模块802,用于与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。In this embodiment of the present application, the second receiving module 801 is configured to receive a first message, wherein the first message indicates that the first remote terminal is assigned a first target identifier. For example, the first message may be a message forwarded by the first relay terminal, or may be an identifier allocation request sent by the first relay terminal; the second allocation module 802 is used to jointly with the first relay terminal provide the first remote The end terminal allocates a first target identifier, wherein the first relay terminal is an access relay terminal of the first remote terminal, and the first target terminal is the first relay terminal and the A terminal other than the first remote terminal.

在一个可能的实现方式中,第二接收模块801接收第一消息包括:接收第一消息,其中,所述第一消息中包括候选识别符信息,所述候选识别符信息中包括至少一个第一候选识别符,所述第一消息由所述第一中继终端转发,或者由所述第一中继终端经由中间中继终端转发,所述第一目标终端包括:中间中继终端和/或第二远端终端的接入中继终端,所述中间中继终端为除所述第一中继终端和第二远端终端的接入中继终端之外的中继终端,所述第二远端终端为所述第一远端终端的通信对端;第二分配模块802与第一中继终端联合为第一远端终端分配第一目标识别符,包括:修改所述候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;转发修改所述候选识别符信息后的所述第一消息。In a possible implementation, the second receiving module 801 receiving the first message includes: receiving the first message, wherein the first message includes candidate identifier information, and the candidate identifier information includes at least one first Candidate identifier, the first message is forwarded by the first relay terminal, or is forwarded by the first relay terminal via an intermediate relay terminal, the first target terminal includes: an intermediate relay terminal and/or The access relay terminal of the second remote terminal, the intermediate relay terminal is a relay terminal other than the access relay terminal of the first relay terminal and the second remote terminal, and the second remote terminal The remote terminal is the communication counterpart of the first remote terminal; the second allocation module 802 and the first relay terminal jointly allocate the first target identifier to the first remote terminal, including: modifying the candidate identifier information , wherein modifying the candidate identifier information includes one of the following: deleting unavailable identifiers in the candidate identifier information; adding available tag information in the candidate identifier information; forwarding and modifying the candidate The first message after the identifier information.

在一个可能的实现方式中,第二接收模块801接收第一消息包括:接收所述第一消息,其中,所述第一目标终端还包括:所述第二远端终端;第二分配模块802与第一中继终端联合为第一远端终端分配第一目标识别符,包括:修改所述第一发现信息中携带的候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;发送响应所述第一消息的第一响应消息,其中,所述第一响应消息中携带有修改后的所述候选识别符信息。In a possible implementation, receiving the first message by the second receiving module 801 includes: receiving the first message, wherein the first target terminal further includes: the second remote terminal; the second allocation module 802 Allocating the first target identifier to the first remote terminal jointly with the first relay terminal includes: modifying the candidate identifier information carried in the first discovery information, wherein modifying the candidate identifier information includes one of the following: : Delete unavailable identifiers in the candidate identifier information; add available tag information in the candidate identifier information; send a first response message in response to the first message, wherein the first The response message carries the modified candidate identifier information.

在一个可能的实现方式中,第二分配模块802还用于:In a possible implementation, the second allocation module 802 is also used to:

在所述第一目标终端还未分配有识别符的情况下,将所述第一发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端;或者,If the first target terminal has not yet been assigned an identifier, allocate the third target identifier in the candidate identifier information carried in the first discovery information to the second remote terminal; or,

在接收到所述第一响应消息后,将所述第一响应发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端,并在修改所述第一响应发现信息携带的候选识别符信息后,转发所述第一响应发现信息。After receiving the first response message, allocate the third target identifier in the candidate identifier information carried in the first response discovery information to the second remote terminal, and modify the first After the candidate identifier information carried in the response discovery information is forwarded, the first response discovery information is forwarded.

在一个可能的实现方式中,第二分配模块802还用于将所述第二远端终端的第三目标识别符添加到所述第一响应消息中;或者,In a possible implementation, the second allocation module 802 is also configured to add the third target identifier of the second remote terminal to the first response message; or,

在将所述第二远端的第三目标识别符添加到所述第一响应消息中;所述第二远端终端的接入中继终端将自身的识别符添加到所述第一响应消息中。After adding the third target identifier of the second remote terminal to the first response message; the access relay terminal of the second remote terminal adds its own identifier to the first response message. middle.

在一个可能的实现方式中,第二接收模块801接收第一消息包括:接收所述第一中继终端发送的识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符,所述第一目标终端为中继网络中用于分配识别符的终端;第二分配模块802与第一中继终端联合为第一远端终端分配第一目标识别,包括:向所述第一中继终端返回识别符分配响应消息,其中,所述识别符分配响应携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。In a possible implementation, receiving the first message by the second receiving module 801 includes: receiving an identifier allocation request sent by the first relay terminal, wherein the identifier allocation request is used to request an identifier for the first relay terminal. The remote terminal allocates the identifier, and the first target terminal is a terminal used to allocate the identifier in the relay network; the second allocation module 802 jointly allocates the first target identification to the first remote terminal in conjunction with the first relay terminal, The method includes: returning an identifier allocation response message to the first relay terminal, wherein the identifier allocation response carries the first target identifier allocated by the first target terminal to the first remote terminal.

在一个可能的实现方式中,所述识别符分配请求还用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端;所述识别符分配响应还携带有第二目标识别符,所述第二目标识别符为所述第一目标终端为所述第二远端终端分配的识别符。In a possible implementation, the identifier allocation request is also used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is a counterpart terminal of the first remote terminal; The identifier allocation response also carries a second target identifier, and the second target identifier is the identifier assigned by the first target terminal to the second remote terminal.

在一个可能的实现方式中,第二接收模块801还用于接收所述第一中继终端发送的第一通知,其中,所述第一通知用于通知所述第一目标终端释放所述第二目标识别符。In a possible implementation, the second receiving module 801 is further configured to receive a first notification sent by the first relay terminal, wherein the first notification is used to notify the first target terminal to release the third Two target identifiers.

在一个可能的实现方式中,第二接收模块801还用于接收所述第一中继终端发送的第二通知,其中,所述第二通知用于通知所述第一目标终端释放所述第一目标识别符。In a possible implementation, the second receiving module 801 is further configured to receive a second notification sent by the first relay terminal, wherein the second notification is used to notify the first target terminal to release the first A target identifier.

在一个可能的实现方式中第二接收模块801还用于接收所述第一中继终端上报的第一目标指示,其中,所述第一目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同;第二分配模块802还用于向所述第一中继终端发送第二目标指示,其中,所述第二目标指示用于指示重新为所述第一远端终端分配的第一目标识别符;或者,所述第一目标终端向所述第三远端终端的接入中继终端发送第三目标指示,其中,所述第三目标指示用于指示重新为所述第三远端终端分配的第三目标识别符。In a possible implementation, the second receiving module 801 is also configured to receive a first target indication reported by the first relay terminal, wherein the first target indication is used to indicate allocation to the first remote terminal. The first target identifier is the same as the fourth target identifier allocated to the third remote terminal; the second allocation module 802 is also configured to send a second target indication to the first relay terminal, wherein the second The target indication is used to indicate the first target identifier re-allocated to the first remote terminal; or, the first target terminal sends a third target to the access relay terminal of the third remote terminal. Indication, wherein the third target indication is used to indicate a third target identifier reassigned to the third remote terminal.

本申请实施例中的远端终端的识别符的分配装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的中继终端11或远端终端13的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The device for allocating the identifier of the remote terminal in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, the terminal may include but is not limited to the types of relay terminal 11 or remote terminal 13 listed above. Other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specified in the embodiment of this application. limited.

本申请实施例提供的远端终端的识别符的分配装置能够实现图4至图6的方法实施例中第一目标终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The apparatus for allocating identifiers of remote terminals provided by the embodiments of the present application can implement each process implemented by the first target terminal in the method embodiments of Figures 4 to 6, and achieve the same technical effect. To avoid duplication, it will not be repeated here. Repeat.

图9示出本申请实施例提供的中继路由方法的一种流程示意图,如图9所示,该方法900可以包括以下步骤。Figure 9 shows a schematic flow chart of the relay routing method provided by the embodiment of the present application. As shown in Figure 9, the method 900 may include the following steps.

S910,第一中继终端接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;S910. The first relay terminal receives the relay message to be forwarded, wherein the relay message carries the first target identification information of the destination remote terminal of the relay message, and the first target identification information includes At least one of the following: layer 2 identifier, identifier;

S912,所述第一中继终端查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;S912: The first relay terminal queries the saved routing relationship and obtains the target routing relationship matching the first target identification information;

其中,所述路由关系可以采用方法400中所描述的方案建立,具体可以参见方法400中的描述,在此不再赘述。The routing relationship can be established using the solution described in method 400. For details, please refer to the description in method 400, which will not be described again here.

S914,所述第一中继终端将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。S914: The first relay terminal forwards the relay message to the terminal corresponding to the next hop identifier recorded in the target routing relationship, where the next hop identifier includes at least one of the following: relay terminal Identification, layer 2 identification, identifier, routing path identification information.

例如,在图6中,接入中继UE在接收到远端UE发送的中继消息后,从中继消息的消息头中获取该中继消息的目的远端终端的第一目标标识信息,即对端远端UE的标识信息,查询保存的路由关系,可以获取目的远端标识为对端远端UE的标识信息的目标路由关系,从目标路由关系中获取下一跳标识为中继UE2的标识信息,则将中继消息转发给中继UE2。For example, in Figure 6, after receiving the relay message sent by the remote UE, the access relay UE obtains the first target identification information of the destination remote terminal of the relay message from the message header of the relay message, that is, For the identification information of the opposite remote UE, query the saved routing relationship. You can obtain the target routing relationship whose destination remote identification is the identification information of the opposite remote UE. From the target routing relationship, you can obtain the next hop identification of relay UE2. identification information, the relay message is forwarded to the relay UE2.

在一个可能的实现方式中,所述中继消息中还可以携带有目标路由路径标识信息;所述第一中继终端将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,可以包括:所述第一中继终端将所述中继消息转发给所述下一跳标识中路径路由标识信息与所述目标路由路径标识信息匹配的终端。In a possible implementation, the relay message may also carry target routing path identification information; the first relay terminal forwards the relay message to the next hop recorded in the target routing relationship. Identifying a corresponding terminal may include: the first relay terminal forwarding the relay message to a terminal whose path routing identification information in the next hop identification matches the target routing path identification information.

例如,在图6中,接入中继UE在获取到源远端终端标识为远端UE的标识信息的路由关系,该路由关系中,接入中继UE的下一跳包括中继UE2和中继UE4,接入中继UE可以将该路由关系发送给远端UE,远端UE在发送中继消息时,可以在中继消息中指示目的远端终端的标识信息和目标路径路由标识信息(在此假设为UE4的路径路由标识信息),则接入中继UE在接收到该中继消息后,从中继消息的消息头中获取该中继消息的目的远端终端的第一目标标识信息(即对端远端UE的标识信息)和目标路径路由标识信息,查询保存的路由关系,可以获取目的远端标识为对端远端UE的标识信息的目标路由关系,从目标路由关系中获取下一跳标识中路径路由标识信息为目标路径路由标识信息的中继终端,即中继UE4,则将中继消息转发给中继UE4。For example, in Figure 6, the access relay UE obtains the source remote terminal identifier as the remote UE. Identifies the routing relationship of the information. In this routing relationship, the next hop of the access relay UE includes relay UE2 and relay UE4. The access relay UE can send the routing relationship to the remote UE. The remote UE sends When relaying a message, the identification information of the destination remote terminal and the target path route identification information (assumed here to be the path route identification information of UE4) can be indicated in the relay message. Then, when the access relay UE receives the relay After receiving the message, obtain the first target identification information of the destination remote terminal of the relay message (that is, the identification information of the opposite remote UE) and the target path route identification information from the message header of the relay message, and query the saved routing relationship. It is possible to obtain the target routing relationship whose destination remote identifier is the identification information of the opposite remote UE, and obtain the relay terminal whose path routing identification information in the next hop identifier is the target path routing identification information from the target routing relationship, that is, the relay UE4 , then the relay message is forwarded to relay UE4.

通过本申请实施例提供的技术方案,可以根据U2U网络内部的识别符进行中继路由。Through the technical solution provided by the embodiment of this application, relay routing can be performed based on the identifier within the U2U network.

图10示出本申请实施例提供的中继路由方法的另一种流程示意图,如图10所示,该方法1000可以包括以下步骤。Figure 10 shows another schematic flowchart of the relay routing method provided by an embodiment of the present application. As shown in Figure 10, the method 1000 may include the following steps.

S1010,第一中继终端接收待转发的第一中继消息;S1010. The first relay terminal receives the first relay message to be forwarded;

S1012,所述第一中继终端获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;S1012. The first relay terminal obtains the identification information of the sending end of the first relay message. The identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 of the sending end. Identity, the identifier of the sending end;

S1014,所述第一中继终端查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;S1014. The first relay terminal queries the saved routing relationship and obtains the target routing relationship that matches the identification information of the sending end;

其中,所述路由关系可以采用方法400中所描述的方案建立,具体可以参见方法400中的描述,在此不再赘述。The routing relationship can be established using the solution described in method 400. For details, please refer to the description in method 400, which will not be described again here.

S1016,所述第一中继终端将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。S1016. The first relay terminal forwards the first relay message to the terminal corresponding to the next hop identification information in the target routing relationship. The next hop identification includes at least one of the following: relay Terminal identification, layer 2 identification, identifier, routing path identification information.

例如,在图6中,中继UE2在接收到接入中继UE转发的中继消息后,获取该中继消息的发送端即接入中继UE的标识信息,查询保存的路由关系,可以获取上一跳标识包括接入中继UE的标识信息的目标路由关系,从目标路由关系中获取下一跳标识即中继UE3的标识信息,则将中继消息转发给中继UE3。For example, in Figure 6, after receiving the relay message forwarded by the access relay UE, the relay UE2 obtains the identification information of the sender of the relay message, that is, the access relay UE, and queries the saved routing relationship. Obtain the target routing relationship whose previous hop identifier includes the identification information of the access relay UE, obtain the next hop identifier, that is, the identification information of the relay UE3 from the target routing relationship, and then forward the relay message to the relay UE3.

在一个可能的实现方式中,第一中继终端还可以生成第二中继消息,然后获取所述目标路由关系中的上一跳标识信息;将所述第二中继消息发送给所述上一跳标识信息对应的终端。例如,第一中继终端在向下一跳发送中继消息可能失败,为了避免上一跳再向第一中继终端发送中继消息,第一中继终端可以生成一个第二中继消息,向上一跳发送该第二中继消息,该第二中继消息可以指示第一中继终端的下一跳故障,从而可以避免上一跳继续向第一中继终端发送在后续无法成功传输的中继消息。In a possible implementation, the first relay terminal may also generate a second relay message, and then obtain the previous hop identification information in the target routing relationship; and send the second relay message to the upper hop. The terminal corresponding to the hop identification information. For example, the first relay terminal may fail to send a relay message to the next hop. In order to prevent the previous hop from sending a relay message to the first relay terminal again, the first relay terminal The terminal can generate a second relay message and send the second relay message to the upper hop. The second relay message can indicate the next hop failure of the first relay terminal, thereby preventing the previous hop from continuing to the first hop. The relay terminal sends a relay message that cannot be successfully transmitted subsequently.

通过本申请实施例提供的技术方案,可以根据U2U网络内部的识别符进行中继路由。Through the technical solution provided by the embodiment of this application, relay routing can be performed based on the identifier within the U2U network.

图11示出本申请实施例提供的中继路由装置的一种结构示意图,如图11所示,该装置1100主要包括:Figure 11 shows a schematic structural diagram of a relay routing device provided by an embodiment of the present application. As shown in Figure 11, the device 1100 mainly includes:

第三接收模块1101,用于接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;The third receiving module 1101 is configured to receive a relay message to be forwarded, wherein the relay message carries the first target identification information of the destination remote terminal of the relay message, and the first target identification information Including at least one of the following: layer 2 identifier, identifier;

第一获取模块1102,用于查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;The first acquisition module 1102 is used to query the saved routing relationship and obtain the target routing relationship matching the first target identification information;

第一转发模块1103,用于将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。The first forwarding module 1103 is configured to forward the relay message to the terminal corresponding to the next hop identification recorded in the target routing relationship, wherein the next hop identification includes at least one of the following: relay terminal identification , layer 2 identification, identifier, routing path identification information.

图12示出本申请实施例提供的中继路由装置的另一种结构示意图,如图12所示,该装置1200主要包括:Figure 12 shows another schematic structural diagram of a relay routing device provided by an embodiment of the present application. As shown in Figure 12, the device 1200 mainly includes:

第四接收模块1201,用于接收待转发的中继消息;The fourth receiving module 1201 is used to receive relay messages to be forwarded;

第二获取模块1202,用于获取所述中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;The second acquisition module 1202 is used to obtain the identification information of the sending end of the relay message. The identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 identification of the sending end, the The identifier of the sender;

所述第二获取模块1202,还用于查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;The second acquisition module 1202 is also used to query the saved routing relationship and obtain the target routing relationship that matches the identification information of the sending end;

第二转发模块1203,用于将所述中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。The second forwarding module 1203 is configured to forward the relay message to the terminal corresponding to the next hop identification information in the target routing relationship. The next hop identification includes at least one of the following: relay terminal identification, Layer 2 identification, identifier, routing path identification information.

可选的,如图13所示,本申请实施例还提供一种通信设备1300,包括处理器1301和存储器1302,存储器1302上存储有可在所述处理器1301上运行的程序或指令,例如,该通信设备1300为终端时,该程序或指令被处理器1301执行时实现上述远端终端识别符的分配方法400或上述远端终端识别符的分配方法500或上述中继路由方法900或上述中继路由方法1000实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 13, this embodiment of the present application also provides a communication device 1300, which includes a processor 1301 and a memory 1302. The memory 1302 stores programs or instructions that can be run on the processor 1301, such as , when the communication device 1300 is a terminal, when the program or instruction is executed by the processor 1301, the above-mentioned remote terminal identifier allocation method 400 or the above-mentioned remote terminal identifier allocation method 500 or the above-mentioned relay routing method 900 or the above-mentioned Each step of the relay routing method 1000 embodiment can achieve the same technical effect. To avoid duplication, it will not be described again here.

本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于实现上述远端终端识别符的分配方法400或上述远端终端识别符的分配方法500或上述中继路由方法900或上述中继路由方法1000实施例的各个步骤,通信接口用于与外部设备进行通信。该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图14为实现本申请实施例的一种终端的硬件结构示意图。An embodiment of the present application also provides a terminal, including a processor and a communication interface. The processor is configured to implement the above method 400 for allocating a remote terminal identifier or the above method for allocating a remote terminal identifier. 500 or each step of the above relay routing method 900 or the above relay routing method 1000 embodiment, the communication interface is used to communicate with external devices. This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment. Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect. Specifically, FIG. 14 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.

该终端1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409、以及处理器1410等部件。The terminal 1400 includes but is not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, processor 1410 and other components .

本领域技术人员可以理解,终端1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 1400 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1410 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 14 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.

应理解的是,本申请实施例中,输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042. The graphics processor 14041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 1406 may include a display panel 14061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1407 includes a touch panel 14071 and other input devices 14072. Touch panel 14071, also known as touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.

本申请实施例中,射频单元1401将来自网络侧设备的下行数据接收后,给处理器1410处理;另外,将上行的数据发送给网络侧设备。通常,射频单元1401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。In this embodiment of the present application, the radio frequency unit 1401 receives downlink data from the network side device and then processes it by the processor 1410; in addition, it sends the uplink data to the network side device. Generally, the radio frequency unit 1401 includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.

存储器1409可用于存储软件程序或指令以及各种数据。存储器1409可主要包括存储程序或指令区和存储数据区,其中,存储程序或指令区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1409可以包括高速随机存取存储器,还可以包括非易失性存储器,其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。Memory 1409 may be used to store software programs or instructions as well as various data. The memory 1409 may mainly include a storage program or instruction area and a storage data area, where the storage program or instruction area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. In addition, the memory 1409 may include high-speed random access memory and may also include non-volatile memory, where the non-volatile memory may be a read-only memory (Read-Only Memory, ROM) or a programmable read-only memory (Programmable ROM). , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. For example, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.

处理器1410可包括一个或多个处理单元;可选的,处理器1410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序或指令等,调制解调处理器主要处理无线通信,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。The processor 1410 may include one or more processing units; optionally, the processor 1410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs or instructions, etc., Modem processors mainly handle wireless communications, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1410.

其中,射频单元1401,用于接收第一远端终端发送的第一消息;处理器1410,用于联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。Among them, the radio frequency unit 1401 is used to receive the first message sent by the first remote terminal; the processor 1410 is used to combine at least one first target terminal and allocate a first target identifier to the first remote terminal. The first target terminal is a terminal other than the first relay terminal and the first remote terminal.

或者,处理器1410,用于与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端。Alternatively, the processor 1410 is configured to jointly allocate the first target identifier to the first remote terminal with the first relay terminal, wherein the first relay terminal is the access relay of the first remote terminal. terminal.

或者,射频单元1401,用于接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;处理器1410,用于查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;射频单元1401,还用于将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。Alternatively, the radio frequency unit 1401 is configured to receive a relay message to be forwarded, wherein the relay message carries first target identification information of the destination remote terminal of the relay message, and the first target identification information Including at least one of the following: layer 2 identifier, identifier; processor 1410, used to query the saved routing relationship, and obtain the target routing relationship matching the first target identification information; radio frequency unit 1401, also used to convert the The relay message is forwarded to the terminal corresponding to the next hop identification recorded in the target routing relationship, where the next hop identification includes at least one of the following: relay terminal identification, layer 2 identification, identifier, routing path identification information.

或者,射频单元1401,用于接收待转发的第一中继消息;处理器1410,用于获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;射频单元1401,还用于将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。Or, the radio frequency unit 1401 is used to receive the first relay message to be forwarded; the processor 1410 is used to obtain the identification information of the sending end of the first relay message, and the identification information of the sending end includes at least one of the following: The relay terminal identification of the sending end, the layer 2 identification of the sending end, and the identifier of the sending end; query the saved routing relationship to obtain the target routing relationship that matches the identification information of the sending end; the radio frequency unit 1401 also uses For forwarding the first relay message to the terminal corresponding to the next hop identification information in the target routing relationship, the next hop identification includes at least one of the following: relay terminal identification, layer 2 identification, identification character, routing path identification information.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述远端终端识别符的分配方法400实施例的各个过程,或者实现上述远端终端识别符的分配方法500实施例的各个过程,或者实现上述中继路由方法900实施例的各个过程,或者实现上述中继路由方法1000实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, each of the above remote terminal identifier allocation method 400 embodiments is implemented. The process, or implements each process of the above embodiment of the remote terminal identifier allocation method 500, or implements each process of the above embodiment of the relay routing method 900, or implements each process of the above embodiment of the relay routing method 1000, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.

其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,上述远端终端识别符的分配方法400实施例的各个过程,或者实现上述远端终端识别符的分配方法500实施例的各个过程,或者实现上述中继路由方法900实施例的各个过程,或者实现上述中继路由方法1000实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions. The allocation of the above-mentioned remote terminal identifier Each process of the method 400 embodiment, or implements each process of the above remote terminal identifier allocation method 500 embodiment, or implements each process of the above relay routing method 900 embodiment, or implements the above relay routing method 1000 embodiment Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.

本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以上述远端终端识别符的分配方法400实施例的各个过程,或者实现上述远端终端识别符的分配方法500实施例的各个过程,或者实现上述中继路由方法900实施例的各个过程,或者实现上述中继路由方法1000实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a computer program/program product. The computer program/program product is stored in a storage medium. The computer program/program product is executed by at least one processor to use the above remote terminal identifier. Each process of the allocation method 400 embodiment, or implements each process of the remote terminal identifier allocation method 500 embodiment, or implements each process of the above relay routing method 900 embodiment, or implements the above relay routing method 1000 implementation Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprising" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations, which are only illustrative and not restrictive. Inspired by this application, those of ordinary skill in the art can make many forms without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (49)

Translated fromChinese
一种远端终端的识别符的分配方法,包括:A method for allocating identifiers of remote terminals, including:第一中继终端联合至少一个第一目标终端,为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。The first relay terminal combines with at least one first target terminal to allocate a first target identifier to the first remote terminal, wherein the first relay terminal is the access relay terminal of the first remote terminal, The first target terminal is a terminal other than the first relay terminal and the first remote terminal.根据权利要求1所述的方法,其中,所述第一中继终端联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,包括:The method according to claim 1, wherein the first relay terminal cooperates with at least one first target terminal to allocate a first target identifier to the first remote terminal, including:所述第一中继终端接收所述第一远端终端发送的第一消息;The first relay terminal receives the first message sent by the first remote terminal;所述第一中继终端在所述第一消息中添加至少一个第一候选识别符后,转发携带所述至少一个第一候选识别符的所述第一消息;After adding at least one first candidate identifier to the first message, the first relay terminal forwards the first message carrying the at least one first candidate identifier;所述第一中继终端接收所述至少一个第一目标终端中一个或多个所述第一目标终端返回的第一响应消息,其中,所述第一响应消息中携带有第一指示信息,所述第一指示信息指示所述至少一个第一目标终端确定的所述至少一个第一候选识别符中可用的至少一个第二候选识别符,所述至少一个第一目标终端包括以下至少之一:至少一个第二中继终端、第二远端终端,所述第二中继终端包括所述第一远端终端与所述第二远端终端之间的除所述第一中继终端之外的中继终端,所述第二远端终端为所述第一远端终端的通信对端;The first relay terminal receives a first response message returned by one or more of the first target terminals in the at least one first target terminal, wherein the first response message carries first indication information, The first indication information indicates at least one second candidate identifier available among the at least one first candidate identifier determined by the at least one first target terminal, and the at least one first target terminal includes at least one of the following : at least one second relay terminal and a second remote terminal, the second relay terminal including the first relay terminal between the first remote terminal and the second remote terminal except the first relay terminal An external relay terminal, the second remote terminal is the communication counterpart of the first remote terminal;所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符。The first relay terminal allocates a first target identifier to the first remote terminal based on the at least one second candidate identifier.根据权利要求2所述的方法,其中,所述第一指示信息包括以下之一:The method according to claim 2, wherein the first indication information includes one of the following:第一识别符信息,所述第一识别符信息中包括所述至少一个第二候选识别符;first identifier information, the first identifier information including the at least one second candidate identifier;第二识别符信息,所述第二识别符信息中包括所述至少一个第一候选识别符和标记信息,所述标记信息用于标识所述至少一个第一候选识别符中的第一候选识别符是否可用。Second identifier information, the second identifier information includes the at least one first candidate identifier and mark information, the mark information is used to identify the first candidate identification of the at least one first candidate identifier. symbol is available.根据权利要求3所述的方法,其中,所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符,包括:The method of claim 3, wherein the first relay terminal allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier, including:所述第一中继终端从所述至少一个第二候选识别符中选择一个可用的识别符作为第一目标识别符分配给所述第一远端终端;The first relay terminal selects an available identifier from the at least one second candidate identifier as a first target identifier and assigns it to the first remote terminal;所述第一中继终端向所述第一远端终端转发所述第一响应消息,在所述第一响应消息中指示分配给所述第一远端终端的第一目标识别符。The first relay terminal forwards the first response message to the first remote terminal, indicating in the first response message the first target identifier allocated to the first remote terminal.根据权利要求2所述的方法,其中,在所述第一中继终端转发携带所述至少一个第一候选识别符的所述第一消息之前,所述方法还包括:The method according to claim 2, wherein the first relay terminal forwards the Before sending the first message of the at least one first candidate identifier, the method further includes:所述第一中继终端从所述第一消息中获取所述至少一个第一候选识别符。The first relay terminal obtains the at least one first candidate identifier from the first message.根据权利要求5所述的方法,其中,所述第一中继终端根据所述至少一个第二候选识别符为所述第一远端终端分配第一目标识别符,包括:The method of claim 5, wherein the first relay terminal allocates a first target identifier to the first remote terminal according to the at least one second candidate identifier, comprising:所述第一中继终端向所述第一远端终端转发所述第一响应消息;The first relay terminal forwards the first response message to the first remote terminal;所述第一中继终端接收所述第一远端终端发送的报告,其中,所述报告中携带有所述至少一个第二候选识别符中的一个识别符;The first relay terminal receives a report sent by the first remote terminal, wherein the report carries one identifier of the at least one second candidate identifier;所述第一中继终端确定所述报告中携带的所述识别符作为分配给所述第一远端终端的第一目标识别符。The first relay terminal determines the identifier carried in the report as the first target identifier assigned to the first remote terminal.根据权利要求2所述的方法,其中,在所述第一中继终端接收所述至少一个第一目标终端中一个或多个所述第一目标终端返回的第一响应消息之后,所述方法还包括:The method of claim 2, wherein after the first relay terminal receives a first response message returned by one or more of the at least one first target terminal, the method Also includes:在所述第一响应消息中未携带有所述第一指示信息,或者,所述第一响应消息中携带的所述第一指示信息指示所述至少一个第一候选识别符均不可用的情况下,所述第一中继终端在所述第一消息中添加至少一个第三候选识别符后,转发携带所述至少一个第三候选识别符的所述第一消息,其中,所述至少一个第三候选识别符与所述至少一个第一候选识别符不相同。The first indication information is not carried in the first response message, or the first indication information carried in the first response message indicates that none of the at least one first candidate identifier is available. Next, the first relay terminal forwards the first message carrying the at least one third candidate identifier after adding at least one third candidate identifier to the first message, wherein the at least one The third candidate identifier is different from the at least one first candidate identifier.根据权利要求2所述的方法,其中,所述第一响应消息中还携带有所述第二远端终端的识别符。The method according to claim 2, wherein the first response message also carries an identifier of the second remote terminal.根据权利要求2所述的方法,其中,在所述第一中继终端转发所述第一消息之前,所述方法还包括:所述第一中继终端在所述第一消息中添加所述第一中继终端的识别符。The method according to claim 2, wherein before the first relay terminal forwards the first message, the method further includes: the first relay terminal adding the first message to the first relay terminal. The identifier of the first relay terminal.根据权利要求2所述的方法,其中,所述第一响应消息中还携带有第一目标中继终端的识别符,所述第一目标中继终端为所述第二远端终端的接入中继终端。The method according to claim 2, wherein the first response message also carries an identifier of a first target relay terminal, and the first target relay terminal is the access point of the second remote terminal. Relay terminal.根据权利要求2至10任一项所述的方法,其中,在所述第一中继终端转发所述第一消息之前,所述方法还包括:所述第一中继终端在所述第一消息中添加所述第一消息的延时信息,其中,所述延时信息包括以下至少之一:所述第一消息被转发的次数、所述第一消息经历的跳数、所述第一消息经历的时延信息。The method according to any one of claims 2 to 10, wherein before the first relay terminal forwards the first message, the method further includes: the first relay terminal The delay information of the first message is added to the message, wherein the delay information includes at least one of the following: the number of times the first message is forwarded, the number of hops experienced by the first message, the first Delay information experienced by the message.根据权利要求1所述的方法,其中,所述第一中继终端联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,包括:The method according to claim 1, wherein the first relay terminal cooperates with at least one first target terminal to allocate a first target identifier to the first remote terminal, including:所述第一中继终端向所述第一目标终端发送识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符;The first relay terminal sends an identifier allocation request to the first target terminal, wherein the identifier allocation request is used to request the allocation of an identifier for the first remote terminal;所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息,其中,所述识别符分配响应消息携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。The first relay terminal receives the identifier allocation response message returned by the first target terminal, wherein the identifier allocation response message carries the first identifier allocated by the first target terminal to the first remote terminal. A target identifier.根据权利要求12所述的方法,其中,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应之后,所述方法还包括:The method according to claim 12, wherein after the first relay terminal receives the identifier allocation response returned by the first target terminal, the method further includes:所述第一中继终端在所述第一消息中添加所述第一目标识别符后,转发携带所述第一目标识别符的所述第一消息。After adding the first target identifier to the first message, the first relay terminal forwards the first message carrying the first target identifier.根据权利要求13所述的方法,其中,The method of claim 13, wherein所述识别符分配请求还用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端;The identifier allocation request is also used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is the counterpart terminal of the first remote terminal;所述识别符分配响应还携带有第二目标识别符,所述第二目标识别符为所述第一目标终端为所述第二远端终端分配的识别符;The identifier allocation response also carries a second target identifier, and the second target identifier is the identifier allocated by the first target terminal to the second remote terminal;所述第一中继终端转发的所述第一消息中还携带有所述第二目标识别符。The first message forwarded by the first relay terminal also carries the second target identifier.根据权利要求14所述的方法,其中,在所述第一中继终端转发所述第一消息之后,所述方法还包括:The method according to claim 14, wherein after the first relay terminal forwards the first message, the method further includes:所述第一中继终端接收所述第一消息的第一响应消息,其中,所述第一响应消息中携带有所述第二远端终端的第三目标识别符;The first relay terminal receives a first response message of the first message, wherein the first response message carries a third target identifier of the second remote terminal;在所述第三目标识别符与所述第二目标识别符不相同的情况下,所述第一中继终端通知所述第一目标终端释放所述第二目标识别符。If the third target identifier is different from the second target identifier, the first relay terminal notifies the first target terminal to release the second target identifier.根据权利要求12所述的方法,其中,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息之后,所述方法还包括:The method according to claim 12, wherein after the first relay terminal receives the identifier allocation response message returned by the first target terminal, the method further includes:所述第一中继终端释放与所述第一远端终端的中继旁链路之后,所述第一中继终端通知所述第一目标终端释放所述第一目标识别符。After the first relay terminal releases the relay side link with the first remote terminal, the first relay terminal notifies the first target terminal to release the first target identifier.根据权利要求12所述的方法,其中,在所述第一中继终端接收所述第一目标终端返回的识别符分配响应消息之后,所述方法还包括:The method according to claim 12, wherein after the first relay terminal receives the identifier allocation response message returned by the first target terminal, the method further includes:所述第一中继终端接收第二消息或第二消息的第二响应消息,其中,所述第二消息或所述第二响应消息中携带有第三远端终端的第四目标识别符;The first relay terminal receives a second message or a second response message to the second message, wherein the second message or the second response message carries a fourth target identifier of the third remote terminal;在所述第四目标识别符与所述第一目标识别符相同的情况下,所述第一中继终端向所述第一目标终端上报目标指示,其中,所述目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同。When the fourth target identifier is the same as the first target identifier, the first relay terminal reports a target indication to the first target terminal, wherein the target indication is used to indicate the allocation to The first target identifier of the first remote terminal is the same as the fourth target identifier assigned to the third remote terminal.根据权利要求1至17任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 17, wherein the method further includes:所述第一中继终端接收来自第一终端转发的第三消息,其中,所述第一终端包括:中继终端或远端终端;The first relay terminal receives the third message forwarded from the first terminal, wherein the first terminal includes: a relay terminal or a remote terminal;所述第一中继终端获取并保存所述第一终端的第一标识信息,其中,所述第一标识信息包括以下至少之一:所述第一终端的中继终端标识、所述第一终端的层2标识、所述第一终端的识别符、所述第一终端的路由路径标识信息;The first relay terminal acquires and saves first identification information of the first terminal, wherein the first identification information includes at least one of the following: the relay terminal identification of the first terminal, the first The layer 2 identifier of the terminal, the identifier of the first terminal, and the routing path identification information of the first terminal;所述第一中继终端获取并保存触发所述第三消息的第四远端终端的第二标识信息,其中,所述第二标识信息包括以下至少之一:所述第四远端终端的层2标识、所述第四远端终端的识别符。The first relay terminal obtains and saves the second identification information of the fourth remote terminal that triggered the third message, wherein the second identification information includes at least one of the following: the fourth remote terminal’s Layer 2 identification, the identifier of the fourth remote terminal.根据权利要求18所述的方法,其中,在所述第一中继终端获取并保存触发所述第三消息的第四远端终端的第二标识信息之后,所述方法还包括:The method according to claim 18, wherein after the first relay terminal obtains and saves the second identification information of the fourth remote terminal that triggered the third message, the method further includes:在所述第一中继终端未曾转发所述第三发现消息的情况下,所述第一中继终端转发所述第三消息。If the first relay terminal has not forwarded the third discovery message, the first relay terminal forwards the third message.根据权利要求18所述的方法,其中,在所述第一中继终端转发所述第三消息之后,所述方法还包括:The method according to claim 18, wherein after the first relay terminal forwards the third message, the method further includes:所述第一中继终端接收第三终端转发的第三响应消息;The first relay terminal receives the third response message forwarded by the third terminal;所述第一中继终端获取并保存所述第三终端的第三标识信息,其中,所述第三标识信息包括以下至少之一:所述第三终端的中继终端标识、所述第三终端的层2标识、所述第三终端的识别符、所述第三终端的路由路径标识信息;The first relay terminal obtains and saves third identification information of the third terminal, wherein the third identification information includes at least one of the following: the relay terminal identification of the third terminal, the third The layer 2 identifier of the terminal, the identifier of the third terminal, and the routing path identification information of the third terminal;所述第一中继终端获取第四标识信息,其中,所述第四标识信息中包括以下至少之一:所述第四远端终端的第二标识信息、第五远端终端的第五标识信息,所述第五远端终端为所述第四远端终端的通信对端。The first relay terminal acquires fourth identification information, wherein the fourth identification information includes at least one of the following: second identification information of the fourth remote terminal, fifth identification of the fifth remote terminal Information, the fifth remote terminal is the communication counterpart of the fourth remote terminal.根据权利要求20所述的方法,其中,在所述第一中继终端获取所述第四标识信息之后,所述方法还包括:The method according to claim 20, wherein after the first relay terminal acquires the fourth identification information, the method further includes:在确定保存有所述第四远端终端的第二标识信息的情况下,所述第一中继终端向所述第四远端终端转发所述第三响应消息。When it is determined that the second identification information of the fourth remote terminal is stored, the first relay terminal forwards the third response message to the fourth remote terminal.根据权利要求21所述的方法,其中,所述第一中继终端向所述第四远端终端转发所述第三响应消息,包括:The method according to claim 21, wherein the first relay terminal forwards the third response message to the fourth remote terminal, including:所述第一中继终端广播所述第三响应消息;或者,The first relay terminal broadcasts the third response message; or,所述第一中继终端向第二目标终端转发所述第三响应消息,其中,所述第二目标终端为向所述第一中继终端发送所述第三消息的终端。The first relay terminal forwards the third response message to a second target terminal, where the second target terminal is the terminal that sends the third message to the first relay terminal.根据权利要求22所述的方法,其中,所述第一中继终端向第二目标终端转发所述第三响应消息,包括:The method according to claim 22, wherein the first relay terminal forwards the third response message to the second target terminal, including:在所述第二目标终端为多个的情况下,所述第一中继终端向多个所述第二目标终端中的一个或多个转发所述第三响应消息。If there are multiple second target terminals, the first relay terminal forwards the third response message to one or more of the multiple second target terminals.根据权利要求22所述的方法,其中,在所述第一中继终端获取所述第四标识信息之后,所述方法还包括:The method according to claim 22, wherein after the first relay terminal obtains the fourth identification information, the method further includes:所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系,其中,所述路由关系包括:The first relay terminal establishes a routing relationship between the fourth remote terminal and the fifth remote terminal, where the routing relationship includes:所述第四远端终端标识与所述第五远端终端标识的第一对应关系,其中,所述第四远端终端标识包括所述第二标识信息,所述第五远端终端标识包括所述第五标识信息;The first corresponding relationship between the fourth remote terminal identification and the fifth remote terminal identification, wherein the fourth remote terminal identification includes the second identification information, and the fifth remote terminal identification includes The fifth identification information;所述第一中继终端的下一跳标识,所述下一跳标识包括:第三目标终端的标识信息,其中,所述第三目标终端为向所述第一中继终端发送所述第三响应消息的中继终端。The next hop identifier of the first relay terminal, the next hop identifier includes: the identification information of a third target terminal, wherein the third target terminal sends the third target terminal to the first relay terminal. Three relay terminals that respond to the message.根据权利要求24所述的方法,其中,在向所述第一中继终端发送所述第三响应消息的第三目标终端为多个的情况下,所述下一跳标识包括以下之一:The method according to claim 24, wherein when there are multiple third target terminals sending the third response message to the first relay terminal, the next hop identifier includes one of the following:多个所述第三目标终端的标识信息;Identification information of a plurality of third target terminals;多个所述第三目标终端中任一个所述第三目标终端的标识信息;Identification information of any one of the plurality of third target terminals;所述多个第三目标终端中对应目标信息最优的第三目标终端的标识信息;The identification information of the third target terminal corresponding to the optimal target information among the plurality of third target terminals;其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。Wherein, the target information includes at least one of the following: delay information and wireless channel quality information.根据权利要求24或25所述的方法,其中,所述路由关系还包括:The method according to claim 24 or 25, wherein the routing relationship further includes:所述第一中继终端的上一跳标识与所述第一中继终端的下一跳标识的第二对应关系,所述上一跳标识包括:所述第二目标终端的标识信息。The second corresponding relationship between the previous hop identifier of the first relay terminal and the next hop identifier of the first relay terminal, where the upper hop identifier includes: the identifier information of the second target terminal.根据权利要求26所述的方法,其中,在向所述第一中继终端发送所述第三消息的第二目标终端为多个的情况下,所述上一跳标识包括以下之一:The method according to claim 26, wherein when there are multiple second target terminals sending the third message to the first relay terminal, the previous hop identifier includes one of the following:多个所述第二目标终端的标识信息;Identification information of a plurality of second target terminals;多个所述第二目标终端中任一个所述第二目标终端的标识信息;Identification information of any one of the second target terminals among the plurality of second target terminals;所述多个第二目标终端中对应目标信息最优的第二目标终端的标识信息;The identification information of the second target terminal corresponding to the optimal target information among the plurality of second target terminals;其中,所述目标信息包括以下至少之一:延时信息、无线信道质量信息。Wherein, the target information includes at least one of the following: delay information and wireless channel quality information.根据权利要求24至27任一项所述的方法,其中,在所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系之后,所述方法还包括:The method according to any one of claims 24 to 27, wherein after the first relay terminal establishes a routing relationship between the fourth remote terminal and the fifth remote terminal, the method Also includes:所述第一中继终端接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的标识信息;The first relay terminal receives a relay message to be forwarded, wherein the relay message carries identification information of the destination remote terminal of the relay message;所述第一中继终端查询所述路由关系,确定所述目的远端终端的标识信息与所述第五远端终端标识匹配;The first relay terminal queries the routing relationship and determines that the identification information of the destination remote terminal matches the fifth remote terminal identification;所述第一中继终端将所述中继消息转发给所述下一跳标识对应的第三目标终端。The first relay terminal forwards the relay message to the third destination corresponding to the next hop identifier. mark terminal.根据权利要求24至27任一项所述的方法,其中,在所述第一中继终端建立所述第四远端终端与所述第五远端终端之间的路由关系之后,所述方法还包括:The method according to any one of claims 24 to 27, wherein after the first relay terminal establishes a routing relationship between the fourth remote terminal and the fifth remote terminal, the method Also includes:所述第一中继终端接收待转发的中继消息;The first relay terminal receives the relay message to be forwarded;所述第一中继终端获取所述中继消息的发送端的标识信息;The first relay terminal obtains identification information of the sending end of the relay message;所述第一中继终端查询所述路由关系,获取与所述发送端的标识信息匹配的所述上一跳标识信息;The first relay terminal queries the routing relationship and obtains the previous hop identification information that matches the identification information of the sending end;所述第一中继终端将所述中继消息转发给与所述上一跳标识信息对应的下一跳标识信息对应的终端。The first relay terminal forwards the relay message to the terminal corresponding to the next hop identification information corresponding to the previous hop identification information.一种远端终端的识别符的分配方法,包括:A method for allocating identifiers of remote terminals, including:第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。The first target terminal and the first relay terminal jointly allocate the first target identifier to the first remote terminal, wherein the first relay terminal is the access relay terminal of the first remote terminal, and the The first target terminal is a terminal other than the first relay terminal and the first remote terminal.根据权利要求30所述的方法,其中,第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别符,包括:The method according to claim 30, wherein the first target terminal and the first relay terminal jointly allocate the first target identifier to the first remote terminal, including:所述第一目标终端接收第一消息,其中,所述第一消息中包括候选识别符信息,所述候选识别符信息中包括至少一个第一候选识别符,所述第一消息由所述第一中继终端转发,或者由所述第一中继终端经由中间中继终端转发,所述第一目标终端包括:中间中继终端和/或第二远端终端的接入中继终端,所述中间中继终端为除所述第一中继终端和第二远端终端的接入中继终端之外的中继终端,所述第二远端终端为所述第一远端终端的通信对端;The first target terminal receives a first message, wherein the first message includes candidate identifier information, the candidate identifier information includes at least one first candidate identifier, and the first message is composed of the first candidate identifier. Forwarded by a relay terminal, or forwarded by the first relay terminal via an intermediate relay terminal, the first target terminal includes: an intermediate relay terminal and/or an access relay terminal of a second remote terminal, so The intermediate relay terminal is a relay terminal other than the access relay terminal of the first relay terminal and the second remote terminal, and the second remote terminal is the communication terminal of the first remote terminal. Peer;所述第一目标终端修改所述候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;The first target terminal modifies the candidate identifier information, wherein modifying the candidate identifier information includes one of the following: deleting unavailable identifiers in the candidate identifier information; Add available tag information;所述第一目标终端转发修改所述候选识别符信息后的所述第一消息。The first target terminal forwards the first message after modifying the candidate identifier information.根据权利要求31所述的方法,其中,第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别符,包括:The method according to claim 31, wherein the first target terminal and the first relay terminal jointly allocate the first target identifier to the first remote terminal, including:所述第一目标终端接收所述第一消息,其中,所述第一目标终端还包括:所述第二远端终端;The first target terminal receives the first message, wherein the first target terminal further includes: the second remote terminal;所述第一目标终端修改所述第一发现信息中携带的候选识别符信息,其中,修改所述候选识别符信息包括以下之一:删除所述候选识别符信息中的不可用的识别符;在所述候选识别符信息中增加是否可用的标记信息;The first target terminal modifies the candidate identifier information carried in the first discovery information, wherein modifying the candidate identifier information includes one of the following: deleting unavailable identifiers in the candidate identifier information; Add available tag information to the candidate identifier information;所述第一目标终端发送响应所述第一消息的第一响应消息,其中,所述第一响应消息中携带有修改后的所述候选识别符信息。The first target terminal sends a first response message in response to the first message, wherein the The first response message carries the modified candidate identifier information.根据权利要求32所述的方法,其中,在所述第一目标终端接收所述第一消息之后,所述方法还包括:The method of claim 32, wherein after the first target terminal receives the first message, the method further includes:在所述第一目标终端还未分配有识别符的情况下,所述第二远端终端将所述第一发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端;或者,When the first target terminal has not been allocated an identifier, the second remote terminal allocates the third target identifier in the candidate identifier information carried in the first discovery information to the third target terminal. Two remote terminals; or,所述第二远端终端的接入中继终端在接收到所述第一响应消息后,将所述第一响应发现信息中携带的候选识别符信息中的第三目标识别符分配给所述第二远端终端,并在修改所述第一响应发现信息携带的候选识别符信息后,转发所述第一响应发现信息。After receiving the first response message, the access relay terminal of the second remote terminal allocates the third target identifier in the candidate identifier information carried in the first response discovery information to the The second remote terminal forwards the first response discovery information after modifying the candidate identifier information carried in the first response discovery information.根据权利要求32或33所述的方法,其中,The method according to claim 32 or 33, wherein,在所述第二远端终端发送响应所述第一消息的第一响应消息之前,所述方法还包括:所述第二远端终端将所述第二远端终端的第三目标识别符添加到所述第一响应消息中;或者,Before the second remote terminal sends a first response message in response to the first message, the method further includes: the second remote terminal adding a third target identifier of the second remote terminal into the first response message; or,在所述第二远端终端的接入中继终端转发所述第一响应消息之前,所述方法还包括以下至少一项:所述第二远端终端的接入中继终端将所述第二远端的第三目标识别符添加到所述第一响应消息中;所述第二远端终端的接入中继终端将自身的识别符添加到所述第一响应消息中。Before the access relay terminal of the second remote terminal forwards the first response message, the method further includes at least one of the following: the access relay terminal of the second remote terminal forwards the first response message. The third target identifier of the two remote terminals is added to the first response message; the access relay terminal of the second remote terminal adds its own identifier to the first response message.根据权利要求30所述的方法,其中,所述第一目标终端与第一中继终端联合为第一远端终端分配第一目标识别,包括:The method according to claim 30, wherein the first target terminal and the first relay terminal jointly allocate the first target identification to the first remote terminal, including:所述第一目标终端接收所述第一中继终端发送的识别符分配请求,其中,所述识别符分配请求用于请求为所述第一远端终端分配识别符,所述第一目标终端为中继网络中用于分配识别符的终端;The first target terminal receives an identifier allocation request sent by the first relay terminal, wherein the identifier allocation request is used to request the allocation of an identifier for the first remote terminal, and the first target terminal It is the terminal used to allocate identifiers in the relay network;所述第一目标终端向所述第一中继终端返回识别符分配响应消息,其中,所述识别符分配响应携带有所述第一目标终端为所述第一远端终端分配的第一目标识别符。The first target terminal returns an identifier allocation response message to the first relay terminal, wherein the identifier allocation response carries the first target allocated by the first target terminal to the first remote terminal. identifier.根据权利要求35所述的方法,其中,The method of claim 35, wherein:所述识别符分配请求还用于请求为第二远端终端分配识别符,所述第二远端终端为所述第一远端终端的对端终端;The identifier allocation request is also used to request the allocation of an identifier for a second remote terminal, and the second remote terminal is the counterpart terminal of the first remote terminal;所述识别符分配响应还携带有第二目标识别符,所述第二目标识别符为所述第一目标终端为所述第二远端终端分配的识别符。The identifier allocation response also carries a second target identifier, and the second target identifier is an identifier allocated by the first target terminal to the second remote terminal.根据权利要求36所述的方法,其中,在所述第一目标终端向所述第一中继终端返回识别符分配响应之后,所述方法还包括:The method of claim 36, wherein after the first target terminal returns an identifier allocation response to the first relay terminal, the method further includes:所述第一目标终端接收所述第一中继终端发送的第一通知,其中,所述第一通知用于通知所述第一目标终端释放所述第二目标识别符。The first target terminal receives the first notification sent by the first relay terminal, wherein the The first notification is used to notify the first target terminal to release the second target identifier.根据权利要求35所述的方法,其中,在所述第一目标终端向所述第一中继终端返回识别符分配响应消息之后,所述方法还包括:The method according to claim 35, wherein after the first target terminal returns an identifier allocation response message to the first relay terminal, the method further includes:所述第一目标终端接收所述第一中继终端发送的第二通知,其中,所述第二通知用于通知所述第一目标终端释放所述第一目标识别符。The first target terminal receives a second notification sent by the first relay terminal, where the second notification is used to notify the first target terminal to release the first target identifier.根据权利要求35所述的方法,其中,在所述第一目标终端向所述第一中继终端返回识别符分配响应消息之后,所述方法还包括:The method according to claim 35, wherein after the first target terminal returns an identifier allocation response message to the first relay terminal, the method further includes:所述第一目标终端接收所述第一中继终端上报的第一目标指示,其中,所述第一目标指示用于指示分配给所述第一远端终端的第一目标识别符与分配给第三远端终端的第四目标识别符相同;The first target terminal receives a first target indication reported by the first relay terminal, wherein the first target indication is used to indicate that the first target identifier allocated to the first remote terminal is the same as the first target identifier allocated to the first remote terminal. The fourth target identifier of the third remote terminal is the same;所述第一目标终端向所述第一中继终端发送第二目标指示,其中,所述第二目标指示用于指示重新为所述第一远端终端分配的第一目标识别符;或者,所述第一目标终端向所述第三远端终端的接入中继终端发送第三目标指示,其中,所述第三目标指示用于指示重新为所述第三远端终端分配的第三目标识别符。The first target terminal sends a second target indication to the first relay terminal, wherein the second target indication is used to indicate a first target identifier re-allocated to the first remote terminal; or, The first target terminal sends a third target indication to the access relay terminal of the third remote terminal, wherein the third target indication is used to indicate a third target that is re-allocated to the third remote terminal. Target identifier.一种中继路由方法,包括:A relay routing method, including:第一中继终端接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;The first relay terminal receives the relay message to be forwarded, wherein the relay message carries the first target identification information of the destination remote terminal of the relay message, and the first target identification information includes at least the following: One: Layer 2 identifier, identifier;所述第一中继终端查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;The first relay terminal queries the saved routing relationship and obtains the target routing relationship that matches the first target identification information;所述第一中继终端将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。The first relay terminal forwards the relay message to the terminal corresponding to the next hop identification recorded in the target routing relationship, wherein the next hop identification includes at least one of the following: relay terminal identification, Layer 2 identification, identifier, routing path identification information.根据权利要求40所述的方法,其中,The method of claim 40, wherein:所述中继消息中还携带有目标路由路径标识信息;The relay message also carries target routing path identification information;所述第一中继终端将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,包括:所述第一中继终端将所述中继消息转发给所述下一跳标识中路径路由标识信息与所述目标路由路径标识信息匹配的终端。The first relay terminal forwards the relay message to the terminal corresponding to the next hop identifier recorded in the target routing relationship, including: the first relay terminal forwards the relay message to the The terminal whose path routing identification information in the next hop identification matches the target routing path identification information.一种中继路由方法,包括:A relay routing method, including:第一中继终端接收待转发的第一中继消息;The first relay terminal receives the first relay message to be forwarded;所述第一中继终端获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;The first relay terminal obtains the identification information of the sending end of the first relay message, and the identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 identification of the sending end, The identifier of the sending end;所述第一中继终端查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;The first relay terminal queries the saved routing relationship and obtains the target routing relationship that matches the identification information of the sending end;所述第一中继终端将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。The first relay terminal forwards the first relay message to the terminal corresponding to the next hop identification information in the target routing relationship, where the next hop identification includes at least one of the following: relay terminal identification , layer 2 identification, identifier, routing path identification information.根据权利要求42所述的方法,其中,所述方法还包括:The method of claim 42, wherein the method further includes:所述第一中继终端生成第二中继消息;The first relay terminal generates a second relay message;所述第一中继终端获取所述目标路由关系中的上一跳标识信息;The first relay terminal obtains the previous hop identification information in the target routing relationship;所述第一中继终端将所述第二中继消息发送给所述上一跳标识信息对应的终端。The first relay terminal sends the second relay message to the terminal corresponding to the previous hop identification information.一种远端终端的识别符的分配装置,应用于第一中继终端,所述装置包括:A device for allocating an identifier of a remote terminal, applied to a first relay terminal, the device includes:第一接收模块,接收第一远端终端发送的第一消息;The first receiving module receives the first message sent by the first remote terminal;第一分配模块,用于联合至少一个第一目标终端,为所述第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为除所述第一中继终端和所述第一远端终端之外的终端。A first allocation module, configured to combine at least one first target terminal and allocate a first target identifier to the first remote terminal, wherein the first relay terminal is the access point of the first remote terminal. Relay terminal, the first target terminal is a terminal other than the first relay terminal and the first remote terminal.一种远端终端识别符的分配装置,应用于第一目标终端,所述装置包括:A device for allocating a remote terminal identifier, applied to a first target terminal, the device includes:第二接收模块,用于接收第一消息,其中,所述第一消息指示为第一远端终端分配第一目标识别符;a second receiving module configured to receive a first message, wherein the first message indicates that the first remote terminal is assigned a first target identifier;第二分配模块,用于与第一中继终端联合为第一远端终端分配第一目标识别符,其中,所述第一中继终端为所述第一远端终端的接入中继终端,所述第一目标终端为所述第一中继终端和所述第一远端终端之外的终端。The second allocation module is configured to jointly allocate the first target identifier to the first remote terminal with the first relay terminal, wherein the first relay terminal is the access relay terminal of the first remote terminal. , the first target terminal is a terminal other than the first relay terminal and the first remote terminal.一种中继路由装置,包括:A relay routing device, including:第三接收模块,用于接收待转发的中继消息,其中,所述中继消息中携带有所述中继消息的目的远端终端的第一目标标识信息,所述第一目标标识信息包括以下至少之一:层2标识、识别符;The third receiving module is configured to receive a relay message to be forwarded, wherein the relay message carries first target identification information of the destination remote terminal of the relay message, and the first target identification information includes At least one of the following: layer 2 identifier, identifier;第一获取模块,用于查询保存的路由关系,获取与所述第一目标标识信息匹配的目标路由关系;The first acquisition module is used to query the saved routing relationship and obtain the target routing relationship matching the first target identification information;第一转发模块,用于将所述中继消息转发给所述目标路由关系中记录的下一跳标识对应的终端,其中,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。The first forwarding module is configured to forward the relay message to the terminal corresponding to the next hop identification recorded in the target routing relationship, wherein the next hop identification includes at least one of the following: relay terminal identification, Layer 2 identification, identifier, routing path identification information.一种中继路由装置,包括:A relay routing device, including:第四接收模块,用于接收待转发的第一中继消息;The fourth receiving module is used to receive the first relay message to be forwarded;第二获取模块,用于获取所述第一中继消息的发送端的标识信息,所述发送端的标识信息包括以下至少之一:所述发送端的中继终端标识、所述发送端的层2标识、所述发送端的识别符;The second acquisition module is used to obtain the identification information of the sending end of the first relay message. The identification information of the sending end includes at least one of the following: the relay terminal identification of the sending end, the layer 2 identification of the sending end, The identifier of the sending end;所述第二获取模块,还用于查询保存的路由关系,获取与所述发送端的标识信息匹配的目标路由关系;The second acquisition module is also used to query the saved routing relationship and obtain the target routing relationship that matches the identification information of the sending end;第二转发模块,用于将所述第一中继消息转发给与所述目标路由关系中的下一跳标识信息对应的终端,所述下一跳标识包括以下至少之一:中继终端标识、层2标识、识别符、路由路径标识信息。A second forwarding module configured to forward the first relay message to a terminal corresponding to the next hop identification information in the target routing relationship, where the next hop identification includes at least one of the following: relay terminal identification , layer 2 identification, identifier, routing path identification information.一种终端,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至29任一项所述远端终端的识别符的分配方法的步骤,或者实现如权利要求30至39任一项所述远端终端的识别符的分配方法的步骤,或者实现如权利要求40至41任一项所述中继路由方法的步骤,或者实现如权利要求42至43任一项所述中继路由方法的步骤。A terminal includes a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the implementation of any one of claims 1 to 29 is achieved. The steps of the method for allocating an identifier of a remote terminal, or the steps of implementing the method of allocating an identifier of a remote terminal as described in any one of claims 30 to 39, or the steps of implementing the method of allocating an identifier of a remote terminal as described in any one of claims 40 to 41. The steps of the relay routing method, or the steps of implementing the relay routing method according to any one of claims 42 to 43.一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至29任一项所述远端终端的识别符的分配方法的步骤,或者实现如权利要求30至39任一项所述远端终端的识别符的分配方法的步骤,或者实现如权利要求40至41任一项所述中继路由方法的步骤,或者实现如权利要求42至43任一项所述中继路由方法的步骤。A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the method for allocating an identifier of a remote terminal according to any one of claims 1 to 29 is implemented. or implement the steps of the method for allocating the identifier of the remote terminal as described in any one of claims 30 to 39, or implement the steps of the relay routing method as described in any one of claims 40 to 41, or implement The steps of the relay routing method according to any one of claims 42 to 43.
PCT/CN2023/0838032022-03-252023-03-24Method and apparatus for allocating identifier to remote terminal, and terminalWO2023179778A1 (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN202210303202.8ACN116847332A (en)2022-03-252022-03-25 Remote terminal identifier allocation method, device and terminal
CN202210303202.82022-03-25

Publications (1)

Publication NumberPublication Date
WO2023179778A1true WO2023179778A1 (en)2023-09-28

Family

ID=88100018

Family Applications (1)

Application NumberTitlePriority DateFiling Date
PCT/CN2023/083803WO2023179778A1 (en)2022-03-252023-03-24Method and apparatus for allocating identifier to remote terminal, and terminal

Country Status (2)

CountryLink
CN (1)CN116847332A (en)
WO (1)WO2023179778A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106454806A (en)*2015-08-112017-02-22电信科学技术研究院Method and device for data transmission
CN106470380A (en)*2015-08-142017-03-01中兴通讯股份有限公司The solution of device-to-device mark conflict, device-to-device user equipment
CN113825109A (en)*2020-06-182021-12-21华硕电脑股份有限公司Method and apparatus for relaying direct communication request message in wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106454806A (en)*2015-08-112017-02-22电信科学技术研究院Method and device for data transmission
CN106470380A (en)*2015-08-142017-03-01中兴通讯股份有限公司The solution of device-to-device mark conflict, device-to-device user equipment
CN113825109A (en)*2020-06-182021-12-21华硕电脑股份有限公司Method and apparatus for relaying direct communication request message in wireless communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON, INTERDIGITAL INC.: "KI#4, Sol#9: Update on extended link establishment for Layer 2 UE-to-UE Relay", 3GPP DRAFT; S2-2100732, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. e-meeting; 20200224 - 20200309, 18 February 2021 (2021-02-18), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP052173057*

Also Published As

Publication numberPublication date
CN116847332A (en)2023-10-03

Similar Documents

PublicationPublication DateTitle
US10917778B2 (en)Communication resource allocation method and apparatus, terminal device, base station, and communications system
CN114630389B (en) Remote terminal service identification method, device, equipment and storage medium
CN113905397B (en)Relay determination method, configuration method, device, terminal and network equipment
WO2017024909A1 (en)Method and device for data transmission
JP2024537446A (en) Remote terminal information transmission method, reception method and device
JP7535133B2 (en) Bearer arrangement method, device and terminal
WO2023284642A1 (en)Conditional handover method, and device
JP7300371B2 (en) communication controller
CN101141175A (en) Wireless communication system and method
CN116074791A (en)Service transfer method and communication device
WO2023179778A1 (en)Method and apparatus for allocating identifier to remote terminal, and terminal
WO2024065127A1 (en)Method for controlling transmission of relay device information and apparatus therefor
WO2022188679A1 (en)Data routing method and apparatus
CN114258156B (en) Service data transmission method and device, terminal and base station
WO2023001172A1 (en)Method and apparatus for determining recommended bit rate, and related device
WO2023284682A1 (en)Relay recognition method, relay determination method, terminal, and network side device
WO2023179754A1 (en)Method and apparatus for allocating identifier of remote user equipment, and user equipment
CN116938304B (en) Relay communication method and device
CN115150751B (en)Service data processing method, device and equipment
CN119729639A (en) A transmission configuration method, device, communication equipment and storage medium
US20150045080A1 (en)Data processing method, in an ad hoc radio communication network, radio communication stations and corresponding computer programmes
JP2025510018A (en) Data transmission method and device, terminal and network side device
WO2023236931A1 (en)Relay communication method and apparatus, and user equipment
WO2024208223A1 (en)Path establishment methods and apparatuses, ue, network side device, and readable storage medium
CN119545469A (en) Method, configuration method, device and equipment for serving remote terminals in MHRN

Legal Events

DateCodeTitleDescription
121Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number:23774021

Country of ref document:EP

Kind code of ref document:A1

NENPNon-entry into the national phase

Ref country code:DE


[8]ページ先頭

©2009-2025 Movatter.jp