CN104159266A - Method and device for realizing proximity communication - Google Patents

Method and device for realizing proximity communication Download PDF

Info

Publication number
CN104159266A
CN104159266A CN201310175640.1A CN201310175640A CN104159266A CN 104159266 A CN104159266 A CN 104159266A CN 201310175640 A CN201310175640 A CN 201310175640A CN 104159266 A CN104159266 A CN 104159266A
Authority
CN
China
Prior art keywords
communication
path
communication path
party
established
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310175640.1A
Other languages
Chinese (zh)
Other versions
CN104159266B (en
Inventor
侯云静
康艳超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
China Academy of Telecommunications Technology CATT
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 China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201310175640.1A priority Critical patent/CN104159266B/en
Priority to PCT/CN2014/077261 priority patent/WO2014183619A1/en
Publication of CN104159266A publication Critical patent/CN104159266A/en
Application granted granted Critical
Publication of CN104159266B publication Critical patent/CN104159266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Landscapes

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

Abstract

本发明公开了一种邻近通信的实现方法和装置,用以在通信发起方与通信目标方不邻近时,通过能够作为通信发起方与通信目标方之间的中继节点的第三方设备进行通信。本发明实施例的方法包括:通信发起方在确定与通信目标方不邻近后,向能够作为自身与通信目标方之间的中继节点的第三方设备发送中继路径建立请求,该中继路径建立请求用于发起第三方设备与通信目标方之间的第一通信路径的建立过程,且该中继路径建立请求中至少携带通信目标方的标识信息以及第一通信路径对应的QoS参数;以及通信发起方在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过建立的第一通信路径及第二通信路径,与通信目标方进行通信。

The invention discloses a method and device for implementing proximity communication, which are used to communicate through a third-party device that can serve as a relay node between the communication initiator and the communication target when the communication initiator and the communication target are not adjacent . The method in the embodiment of the present invention includes: after the communication initiator determines that it is not adjacent to the communication target party, it sends a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party, and the relay path The establishment request is used to initiate the establishment process of the first communication path between the third-party device and the communication target party, and the relay path establishment request carries at least identification information of the communication target party and QoS parameters corresponding to the first communication path; and After the communication initiator determines that the first communication path is established successfully and the second communication path established between itself and the third-party device is determined, the communication initiator communicates with the communication target party through the established first communication path and the second communication path.

Description

一种邻近通信的实现方法和装置Method and device for implementing proximity communication

技术领域technical field

本发明涉及通信技术领域,特别涉及一种邻近通信的实现方法和装置。The present invention relates to the technical field of communication, in particular to a method and device for realizing proximity communication.

背景技术Background technique

目前第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)中定义的两个用户设备(User Equipment,UE)之间的通信过程中,通信双方之间传输的数据需要经过核心网路由,图1给出了UE1和UE2的服务网关(ServingGateway,SGW)和组数据网关(Packet Data Network Gateway,PDN GW)均相同时,UE1与UE2间通信的数据通道。In the current communication process between two user equipments (User Equipment, UE) defined in the 3rd Generation Partnership Project (3GPP), the data transmitted between the communication parties needs to be routed through the core network, as shown in Figure 1 The data channel for communication between UE1 and UE2 is given when the Serving Gateway (SGW) and Packet Data Network Gateway (PDN GW) of UE1 and UE2 are the same.

若两个相距非常近的用户设备间传递数据时也采用上述通信方式,会使得通信延时非常大,而且还会占用更多的网络资源。因此,3GPP现在正在研究关于邻近设备之间的通信技术,即:在需要通信的两个UE之间的距离很近时,实现该两个UE之间直接传输数据,其数据传输路径参见图2所示;或者仅借助eNB的传递实现该两个UE之间的通信,其数据传输路径参见图3所示。If the above-mentioned communication method is also used when transmitting data between two user equipments that are very close to each other, the communication delay will be very large, and more network resources will be occupied. Therefore, 3GPP is currently studying the communication technology between adjacent devices, that is, when the distance between two UEs that need to communicate is very close, the direct transmission of data between the two UEs is realized, and the data transmission path is shown in Figure 2 as shown in FIG. 3 ; or the communication between the two UEs is realized only by means of the transfer of the eNB, and the data transmission path thereof is shown in FIG. 3 .

邻近通信过程中,由于数据传输路径发生了改变,根据通信双方所处的网络环境不同,控制邻近通信的路径也不同。当邻近通信的UE的服务eNB相同且通信双方都位于网络覆盖内时,网络可以通过UE、eNB以及演进型分组核心网(Evolved Packet Core,EPC)之间交互控制信息来控制邻近通信,其控制路径参见图4中的带有双向箭头的实线;当邻近通信的UE的服务eNB不同且通信双方都位于各自的网络覆盖内时,EPC可分别与通信双方的服务eNB进行信令交互,其控制路径由参见图5中的带有双向箭头的实线。During the proximity communication process, due to the change of the data transmission path, the paths for controlling the proximity communication are also different according to the different network environments of the communicating parties. When the serving eNB of the UE in proximity communication is the same and both communication parties are within the coverage of the network, the network can control the proximity communication by exchanging control information between the UE, eNB, and Evolved Packet Core (EPC). For the path, refer to the solid line with two-way arrows in Figure 4; when the serving eNBs of UEs in adjacent communication are different and both communication parties are within their respective network coverage, the EPC can perform signaling interaction with the serving eNBs of both communication parties respectively. The control path is represented by the solid line with double-headed arrows in FIG. 5 .

目前,在没有网络覆盖的区域内,终端与网络侧,以及终端与终端之间是无法进行通信的,为此,3GPP标准中定义了公共安全UE(Public Safety UE),在没有网络覆盖的区域内,公共安全UE间仍可以进行邻近通信,其控制路径直接存在于公共安全UE之间,参见图6中的带有双向箭头的实线,其中,标准中定义公共安全无线资源控制器(Radio Resource Controller,RRC)用于负责管理公共安全邻近通信无线资源的分配过程,该功能可以配置在公共安全UE中。3GPP标准中定义的公共安全UE可以支持中继能力,因此,可以通过该支持中继能力的公共安全UE在两个不邻近的UE间进行数据中转,也可以通过该支持中继能力的公共安全UE在位于网络覆盖之外的UE和网络侧之间进行数据中转。为了实现通信双方通过支持中继能力的通信设备(如公共安全UE)进行通信,需要解决以下两大问题:一是通信双方与支持中继能力的通信设备之间的邻近关系发现过程,二是通信双方通过支持中继能力的通信设备实现通信的过程。At present, in areas without network coverage, communication between terminals and the network side, as well as between terminals and terminals, is impossible. For this reason, Public Safety UE (Public Safety UE) is defined in the 3GPP standard. In areas without network coverage Proximity communication can still be performed between public safety UEs within public safety UEs, and its control path directly exists between public safety UEs, see the solid line with two-way arrows in Figure 6, where the public safety radio resource controller (Radio Resource Controller, RRC) is used to manage the allocation process of public safety proximity communication radio resources, and this function can be configured in the public safety UE. The public safety UE defined in the 3GPP standard can support the relay capability. Therefore, data transfer between two non-adjacent UEs can be performed through the public safety UE supporting the relay capability, or the public safety UE supporting the relay capability can The UE performs data transfer between the UE outside the network coverage and the network side. In order to realize the communication between the communication parties through the communication equipment supporting the relay capability (such as public safety UE), the following two problems need to be solved: one is the process of discovering the proximity relationship between the communication parties and the communication equipment supporting the relay capability, and the other is The process in which the two parties in communication realize the communication through the communication equipment supporting the relay capability.

综上所述,针对通信双方通过支持中继能力的通信设备实现通信的问题,目前还没有解决方案。To sum up, there is currently no solution to the problem that the communication parties implement communication through a communication device supporting a relay capability.

发明内容Contents of the invention

本发明实施例提供了一种邻近通信的实现方法和装置,用以在通信发起方与通信目标方不邻近时,通信双方通过能够作为通信发起方与通信目标方之间的中继节点的第三方设备进行通信。Embodiments of the present invention provide a method and device for implementing proximity communication, so that when the communication initiator and the communication target are not adjacent, the communication parties can use the first relay node between the communication initiator and the communication target. Three-party devices communicate.

本发明实施例提供了一种邻近通信的实现方法,包括:An embodiment of the present invention provides a method for implementing proximity communication, including:

通信发起方在确定与通信目标方不邻近后,向能够作为自身与所述通信目标方之间的中继节点的第三方设备发送中继路径建立请求,所述中继路径建立请求用于发起所述第三方设备与所述通信目标方之间的第一通信路径的建立过程,且所述中继路径建立请求中至少携带所述通信目标方的标识信息以及所述第一通信路径对应的服务质量QoS参数;After the communication initiator determines that it is not adjacent to the communication target party, it sends a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party, and the relay path establishment request is used to initiate A process of establishing a first communication path between the third-party device and the communication target party, and the relay path establishment request at least carries the identification information of the communication target party and the corresponding information of the first communication path Quality of service QoS parameters;

所述通信发起方在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过所述第一通信路径以及所述第二通信路径,与所述通信目标方进行通信。After the communication initiator determines that the first communication path is established successfully and determines the second communication path established between itself and the third-party device, the communication initiator communicates with the communication path through the first communication path and the second communication path. The target party communicates.

本发明实施例提供了一种邻近通信的实现方法,包括:An embodiment of the present invention provides a method for implementing proximity communication, including:

第三方设备接收通信发起方发送的中继路径建立请求,所述中继路径建立请求中至少携带通信目标方的标识信息以及请求在所述第三方设备与所述通信目标方之间建立的第一通信路径对应的QoS参数;The third-party device receives the relay path establishment request sent by the communication initiator, and the relay path establishment request carries at least the identification information of the communication target party and the first request to be established between the third-party device and the communication target party. a QoS parameter corresponding to the communication path;

所述第三方设备确定自身与所述通信目标方之间建立的第一通信路径,以及自身与所述通信发起方之间建立的第二通信路径;The third-party device determines a first communication path established between itself and the communication target party, and a second communication path established between itself and the communication initiator;

所述第三方设备通过所述第一通信路径以及所述第二通信路径,在所述通信发起方与所述通信目标方之间转发数据;The third-party device forwards data between the communication initiator and the communication target through the first communication path and the second communication path;

其中,所述第三方设备为能够作为所述通信发起方与所述通信目标方之间的中继节点的通信设备。Wherein, the third-party device is a communication device capable of serving as a relay node between the communication initiator and the communication target party.

本发明实施例提供了一种通信设备,包括:An embodiment of the present invention provides a communication device, including:

处理模块,用于在确定与通信目标方不邻近后,向能够作为自身与所述通信目标方之间的中继节点的第三方设备发送中继路径建立请求,所述中继路径建立请求用于发起所述第三方设备与所述通信目标方之间的第一通信路径的建立过程,且所述中继路径建立请求中至少携带所述通信目标方的标识信息以及所述第一通信路径对应的服务质量QoS参数;A processing module, configured to send a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party after determining that it is not adjacent to the communication target party, and the relay path establishment request uses Initiating a process of establishing a first communication path between the third-party device and the communication target party, and the relay path establishment request carries at least identification information of the communication target party and the first communication path Corresponding quality of service QoS parameters;

通信模块,用于在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过所述第一通信路径以及所述第二通信路径,与所述通信目标方进行通信。The communication module is configured to communicate with the third-party device through the first communication path and the second communication path after determining that the first communication path is successfully established and determining the second communication path established between itself and the third-party device. The target party communicates.

本发明实施例提供了一种通信设备,所述通信设备能够作为所述通信发起方与所述通信目标方之间的中继节点,所述通信设备包括:An embodiment of the present invention provides a communication device, the communication device can serve as a relay node between the communication initiator and the communication target party, and the communication device includes:

接收模块,用于接收通信发起方发送的中继路径建立请求,所述中继路径建立请求中至少携带通信目标方的标识信息以及请求在自身与所述通信目标方之间建立的第一通信路径对应的QoS参数;The receiving module is configured to receive a relay path establishment request sent by the communication initiator, where the relay path establishment request at least carries the identification information of the communication target party and requests to establish the first communication between itself and the communication target party QoS parameters corresponding to the path;

路径建立模块,用于确定自身与所述通信目标方之间建立的第一通信路径,以及自身与所述通信发起方之间建立的第二通信路径;a path establishment module, configured to determine a first communication path established between itself and the communication target party, and a second communication path established between itself and the communication initiator;

数据转发模块,用于通过所述第一通信路径以及所述第二通信路径,在所述通信发起方与所述通信目标方之间转发数据。A data forwarding module, configured to forward data between the communication initiator and the communication target through the first communication path and the second communication path.

本发明实施例中,通信发起方在确定通信目标方与自身不邻近时,向能够作为自身与通信目标方之间的中继节点的第三方设备发送中继路径建立请求,以发起第三方设备与通信目标方之间的第一通信路径的建立过程;通信发起方在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过建立的第一通信路径以及第二通信路径,与通信目标方进行通信。In the embodiment of the present invention, when the communication initiator determines that the communication target party is not adjacent to itself, it sends a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party, so as to initiate the third-party device The establishment process of the first communication path with the communication target party; after the communication initiator determines that the first communication path has been established successfully and determines the second communication path established between itself and the third-party device, through the established first communication path The path and the second communication path communicate with the communication target party.

附图说明Description of drawings

图1为背景技术中3GPP定义的设备间通信的数据通道示意图;FIG. 1 is a schematic diagram of a data channel for inter-device communication defined by 3GPP in the background technology;

图2为背景技术中第一种邻近通信的数据传输路径示意图;FIG. 2 is a schematic diagram of a data transmission path of the first proximity communication in the background technology;

图3为背景技术中第二种邻近通信的数据传输路径示意图;FIG. 3 is a schematic diagram of a second proximity communication data transmission path in the background technology;

图4为背景技术中进行邻近通信的UE位于网络覆盖内且服务基站相同时的控制路径示意图;FIG. 4 is a schematic diagram of a control path when a UE performing proximity communication is located within network coverage and the serving base station is the same in the background art;

图5为背景技术中进行邻近通信的UE位于网络覆盖内且服务基站不同时的控制路径示意图;FIG. 5 is a schematic diagram of a control path when a UE performing proximity communication is located within network coverage and serving base stations are different in the background art;

图6为背景技术中公共安全UE在没有网络覆盖的场景下进行邻近通信的控制路径示意图;FIG. 6 is a schematic diagram of a control path for a public security UE performing proximity communication in a scenario without network coverage in the background technology;

图7为本发明实施例中互不邻近的公共安全UE之间通过中继节点传输数据的示意图;FIG. 7 is a schematic diagram of data transmission between public security UEs that are not adjacent to each other through a relay node in an embodiment of the present invention;

图8为本发明实施例提供的邻近通信的实现方法中通信发起方侧的处理过程的示意图;FIG. 8 is a schematic diagram of a processing procedure at the communication initiator side in a method for implementing proximity communication provided by an embodiment of the present invention;

图9为本发明实施例提供的邻近通信的实现方法中与通信发起方邻近的通信设备侧的处理过程的示意图;FIG. 9 is a schematic diagram of a processing procedure at a communication device side adjacent to a communication initiator in a method for implementing proximity communication provided by an embodiment of the present invention;

图10为本发明提供的实施例一的中继请求过程的示意图;FIG. 10 is a schematic diagram of a relay request process in Embodiment 1 provided by the present invention;

图11为本发明提供的实施例一的中继路径建立过程的示意图;FIG. 11 is a schematic diagram of the process of establishing a relay path in Embodiment 1 provided by the present invention;

图12为本发明提供的实施例一的通信路径建立过程的示意图;FIG. 12 is a schematic diagram of a communication path establishment process in Embodiment 1 provided by the present invention;

图13为本发明提供的实施例二的流程示意图;Figure 13 is a schematic flow diagram of Embodiment 2 provided by the present invention;

图14为本发明提供的实施例四的应用场景示意图;FIG. 14 is a schematic diagram of an application scenario of Embodiment 4 provided by the present invention;

图15为本发明提供的实施例四的流程示意图;Figure 15 is a schematic flow diagram of Embodiment 4 provided by the present invention;

图16为本发明提供的实施例五的流程示意图;Fig. 16 is a schematic flow chart of Embodiment 5 provided by the present invention;

图17为本发明提供的实施例六的流程示意图;Figure 17 is a schematic flow diagram of Embodiment 6 provided by the present invention;

图18为本发明实施例提供的通信发起方的结构示意图;FIG. 18 is a schematic structural diagram of a communication initiator provided by an embodiment of the present invention;

图19为本发明实施例提供的第三方设备的结构示意图。FIG. 19 is a schematic structural diagram of a third-party device provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例中,通信发起方可以是终端(如传统UE,公共安全UE等),也可以是网络侧设备(如基站等);In the embodiment of the present invention, the communication initiator may be a terminal (such as a traditional UE, a public safety UE, etc.), or a network-side device (such as a base station, etc.);

通信目标方可以是终端(如传统UE,公共安全UE等),也可以是网络侧设备(如基站等);The communication target party can be a terminal (such as traditional UE, public safety UE, etc.), or a network-side device (such as a base station, etc.);

第三方设备为能够作为通信发起方与通信目标方之间的中继节点的通信设备,该第三方设备可以是终端(如传统UE,公共安全UE等),也可以是网络侧设备(如基站等);优选的,第三方设备为公共安全UE。A third-party device is a communication device that can serve as a relay node between the communication initiator and the communication target. The third-party device can be a terminal (such as a traditional UE, a public safety UE, etc.), or a network-side device (such as a base station etc.); preferably, the third-party device is a public safety UE.

进一步,第三方设备需要满足以下条件:分别与通信发起方及通信目标方邻近,且支持中继能力。Further, the third-party device needs to meet the following conditions: it is adjacent to the communication initiator and the communication target respectively, and supports relay capability.

本发明实施例中涉及的中继能力是指,通信设备当前能够作为除自身之外的其他通信设备间的中继节点的能力;The relay capability involved in the embodiments of the present invention refers to the ability of a communication device to currently serve as a relay node between other communication devices except itself;

其中,只有在通信设备当前满足以下所有条件时,该通信设备当前才能够作为除自身之外的其他通信设备间的中继节点:Among them, only when the communication device currently satisfies all the following conditions, the communication device can currently serve as a relay node between other communication devices except itself:

1、该通信设备具有能够作为除自身之外的其他通信设备间的中继节点的中继功能;1. The communication device has a relay function capable of serving as a relay node between other communication devices except itself;

2、网络授权该通信设备能够充当除自身之外的其他通信设备间的中继节点;2. The network authorizes the communication device to act as a relay node between other communication devices except itself;

3、该通信设备的中继功能已激活,如该通信设备的中继能力被用户或系统打开。3. The relay function of the communication device has been activated, for example, the relay capability of the communication device is enabled by the user or the system.

进一步,若该通信设备不满足上述至少一个条件,则该通信设备不支持中继能力。Further, if the communication device does not satisfy at least one of the above conditions, the communication device does not support the relay capability.

本发明实施例优选的应用场景包括:Preferred application scenarios of the embodiments of the present invention include:

一、通信双方均为终端,通信双方均在网络覆盖下且不邻近;1. Both communication parties are terminals, and both communication parties are under network coverage and not adjacent to each other;

二、通信双方均为终端,至少一个没有在网络覆盖内且通信双方不邻近;2. Both communication parties are terminals, at least one of them is not within the coverage of the network and the communication parties are not adjacent;

三、通信双方一个是终端,一个是网络侧设备(如基站),且该终端不在网络的覆盖范围内,即通信双方不邻近。3. One of the communication parties is a terminal, and the other is a network-side device (such as a base station), and the terminal is not within the coverage of the network, that is, the communication parties are not adjacent.

其中,第一种及第二种应用场景下,通信双方不邻近进一步包括以下情况:通信发起方根据邻近关系发现的结果,确定自身与通信目标方不邻近;或者,通信双方已建立邻近通信且通信发起方确定接收到的通信目标方的信号强度小于设定的强度阈值;或者,通信双方已建立邻近通信且通信发起方确定自身与通信目标方之间的距离大于设定的距离阈值。Among them, in the first and second application scenarios, the non-proximity between the communication parties further includes the following situations: the communication initiator determines that it is not adjacent to the communication target party according to the result of the proximity relationship discovery; or, the communication parties have established proximity communication and The communication initiator determines that the received signal strength of the communication target party is less than the set strength threshold; or, both communication parties have established proximity communication and the communication initiator determines that the distance between itself and the communication target party is greater than the set distance threshold.

图7给出了支持中继能力的公共安全UE在两个不邻近的公共安全UE之间中转数据的实施例。其中,公共安全UE1和公共安全UE2不邻近,公共安全UE3和公共安全UE1邻近,且公共安全UE3和公共安全UE2邻近,公共安全UE3支持中继能力。当公共安全UE1希望与公共安全UE2进行通信时,发现公共安全UE2与自己不邻近,此时,公共安全UE3可以作为本次通信的中继节点,在公共安全UE1和公共安全UE2之间转发数据。FIG. 7 shows an embodiment in which a public safety UE supporting a relay capability transfers data between two non-adjacent public safety UEs. The public safety UE1 is not adjacent to the public safety UE2, the public safety UE3 is adjacent to the public safety UE1, and the public safety UE3 is adjacent to the public safety UE2, and the public safety UE3 supports the relay capability. When the public security UE1 wants to communicate with the public security UE2, it finds that the public security UE2 is not adjacent to itself. At this time, the public security UE3 can act as a relay node for this communication, forwarding data between the public security UE1 and the public security UE2 .

下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

参见图8所示,本发明实施例提供的邻近通信的实现方法,通信发起方侧的处理过程包括:Referring to FIG. 8 , the implementation method of proximity communication provided by the embodiment of the present invention, the processing process on the side of the communication initiator includes:

步骤81、通信发起方在确定通信目标方与自身不邻近后,向能够作为自身与通信目标方之间的中继节点的第三方设备发送中继路径建立请求,该中继路径建立请求用于发起第三方设备与通信目标方之间的第一通信路径的建立过程,且该中继路径建立请求中携带通信目标方的标识信息以及第一通信路径对应的服务质量(Quality of Service,QoS)参数;Step 81: After determining that the communication target party is not adjacent to itself, the communication initiator sends a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party, and the relay path establishment request is used for Initiate the establishment process of the first communication path between the third-party device and the communication target party, and the relay path establishment request carries the identification information of the communication target party and the quality of service (Quality of Service, QoS) corresponding to the first communication path parameter;

步骤82、通信发起方在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过建立的第一通信路径及第二通信路径,与通信目标方进行通信。Step 82: After determining that the first communication path has been successfully established and the second communication path established between itself and the third-party device, the communication initiator communicates with the communication target party through the established first communication path and the second communication path. communication.

本发明实施例中,最终建立的第一通信路径可以为第三方设备与通信目标方之间已建立的且满足该第一通信路径对应的QoS参数的通信路径,也可以为第三方设备根据中继路径建立请求在自身与通信目标方之间建立的新的通信路径;In this embodiment of the present invention, the first communication path that is finally established may be a communication path that has been established between the third-party device and the communication target party and satisfies the QoS parameters corresponding to the first communication path, or it may be a communication path that the third-party device establishes according to the A new communication path established between itself and the communication target party following the path establishment request;

同理,最终建立的第二通信路径可以为通信发起方与第三方设备已建立的且满足该第二通信路径对应的QoS参数的通信路径,也可以为通信发起方在确定与通信目标方不邻近之后,在自身与第三方设备之间建立的新的通信路径。Similarly, the second communication path that is finally established may be a communication path that has been established between the communication initiator and the third-party device and satisfies the QoS parameters corresponding to the second communication path, or it may be a communication path that the communication initiator determines is different from the communication target party. After proximity, a new communication path is established between itself and the third-party device.

在实施中,对于需要在通信发起方与第三方设备之间建立的第二通信路径来说,In implementation, for the second communication path that needs to be established between the communication initiator and the third-party device,

通信发起方可以先判断自身与第三方设备之间是否已建立了能够满足该第二通信路径对应的QoS参数的通信路径,若是,则通信发起方将该已建立的通信路径作为第二通信路径;若否,则通信发起方发起第二通信路径的建立过程,以建立该第二通信路径;The communication initiator can first determine whether a communication path that can satisfy the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, and if so, the communication initiator will use the established communication path as the second communication path ; If not, the communication initiator initiates the establishment process of the second communication path to establish the second communication path;

通信发起方还可以不进行判断,直接发起第二通信路径的建立过程,以建立该第二通信路径。The communication initiator may also directly initiate the process of establishing the second communication path without making a judgment, so as to establish the second communication path.

具体的,通信发起方可以根据以下任一方法确定第二通信路径:Specifically, the communication initiator may determine the second communication path according to any of the following methods:

方法1、通信发起方直接发起第二通信路径的建立过程,以建立该第二通信路径;该方法进一步又包括:Method 1. The communication initiator directly initiates the establishment process of the second communication path to establish the second communication path; the method further includes:

方法1A、步骤81中,通信发起方在向第三方设备发送中继路径建立请求时,还通过该中继路径建立请求发起第二通信路径的建立过程,且通信发起方在该中继路径建立请求中还携带自身的标识信息、第二通信路径对应的QoS参数以及自身为该第二通信路径分配的传输资源(例如路径标识);In method 1A, in step 81, when the communication initiator sends a relay path establishment request to the third-party device, it also initiates the process of establishing a second communication path through the relay path establishment request, and the communication initiator establishes a second communication path through the relay path establishment request. The request also carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path (such as path identification);

相应的,通信发起方根据接收到的第三方设备返回的中继路径建立回复中携带的指示信息,确定第一通信路径及第二通信路径是否建立成功。Correspondingly, the communication initiator determines whether the first communication path and the second communication path are established successfully according to the indication information carried in the received relay path establishment reply returned by the third-party device.

优选的,若第二通信路径建立成功,则第三方设备返回的中继路径建立回复中还携带该第三方设备为该第二通信路径分配的传输资源(例如路径标识);Preferably, if the second communication path is established successfully, the relay path establishment reply returned by the third-party device also carries the transmission resource (such as a path identifier) allocated by the third-party device for the second communication path;

若第二通信路径建立失败,第三方设备返回的中继路径建立回复中还携带失败原因。If the establishment of the second communication path fails, the relay path establishment reply returned by the third party device also carries the failure reason.

方法1B、通信发起方在确定第一通信路径建立成功后,向第三方设备发起第二通信路径的建立过程,具体为:Method 1B. After determining that the first communication path is established successfully, the communication initiator initiates the establishment process of the second communication path to the third-party device, specifically:

通信发起方在确定第一通信路径建立成功后,向第三方设备发送连接建立请求,该连接建立请求用于请求在自身与第三方设备之间建立第二通信路径,且该连接建立请求中携带自身的标识信息、第二通信路径对应的QoS参数以及自身为该第二通信路径分配的传输资源(例如路径标识);以及After the communication initiator determines that the first communication path is successfully established, it sends a connection establishment request to the third-party device, and the connection establishment request is used to request the establishment of a second communication path between itself and the third-party device, and the connection establishment request carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path (such as path identification); and

该通信发起方根据第三方设备返回的连接建立回复中携带的指示信息,确定第二通信路径是否建立成功,并在确定第二通信路径建立成功后,从该连接建立回复中,获取第三方设备为第二通信路径分配的传输资源(例如路径标识)。The communication initiator determines whether the second communication path is successfully established according to the indication information carried in the connection establishment reply returned by the third-party device, and obtains the third-party device from the connection establishment reply after determining that the second communication path is successfully established. Transmission resources allocated for the second communication path (eg path identifier).

以通信发起方与第三方设备之间建立第二通信路径为例,对两个通信设备间建立通信路径的过程进行说明,具体为:通信发起方在确定向第三方设备发起第二通信路径的建立过程后,先为该第二通信路径分配传输资源(如路径标识、IP地址(可选)等),再向第三方设备发送连接建立请求,以请求建立第二通信路径,并在该连接建立请求携带自身为第二通信路径分配的传输资源;若第三方设备接受该连接建立请求,则为该第二通信路径分配传输资源,并向通信发起方返回连接建立回复,在该连接建立回复中携带用于指示第二通信路径建立成功的指示信息以及自身为第二通信路径分配的传输资源,此时,该第三方设备中保存有通信发起方为该第二通信路径分配的传输资源以及自身为该第二通信路径分配的传输资源;通信发起方在接收到连接建立回复时,确定第二通信路径建立成功,并获取第三方设备为该第二通信路径分配的传输资源,此时,该通信发起方中保存有自身为该第二通信路径分配的传输资源以及该第三方设备为该第二通信路径分配的传输资源,从而完成了第二通信路径的建立。Taking the establishment of a second communication path between a communication initiator and a third-party device as an example, the process of establishing a communication path between two communication devices is described, specifically: the communication initiator determines to initiate a second communication path to a third-party device. After the establishment process, first allocate transmission resources (such as path identifier, IP address (optional), etc.) for the second communication path, and then send a connection establishment request to the third-party device to request the establishment of the second communication path, and The establishment request carries the transmission resources allocated by itself for the second communication path; if the third-party device accepts the connection establishment request, it allocates transmission resources for the second communication path, and returns a connection establishment reply to the communication initiator, and the connection establishment reply Carry the indication information used to indicate the successful establishment of the second communication path and the transmission resources allocated by itself for the second communication path. At this time, the third-party device stores the transmission resources allocated by the communication initiator for the second communication path and The transmission resources allocated by itself for the second communication path; when the communication initiator receives the connection establishment reply, it determines that the second communication path is successfully established, and obtains the transmission resources allocated by the third-party device for the second communication path. At this time, The communication initiator saves the transmission resource allocated by itself for the second communication path and the transmission resource allocated by the third-party device for the second communication path, thus completing the establishment of the second communication path.

优选的,若第二通信路径建立失败,第三方设备返回的连接建立回复中还携带有失败原因。Preferably, if the establishment of the second communication path fails, the connection establishment reply returned by the third-party device also carries a failure reason.

方法2、通信发起方在确定自身与第三方设备之间已建立了能够满足第二通信路径对应的QoS参数的通信路径时,将已建立的通信路径作为第二通信路径,并通知第三方设备自身为该已建立的通信路径已分配的传输资源,以使第三方设备能够确定该已建立的通信路径;Method 2. When the communication initiator determines that a communication path that can satisfy the QoS parameters corresponding to the second communication path has been established between itself and the third-party device, the established communication path is used as the second communication path and notifies the third-party device The transmission resource allocated by itself for the established communication path, so that the third-party device can determine the established communication path;

其中,该方法中通信发起方执行的判断过程(即判断自身与第三方设备之间是否已建立了能够满足第二通信路径对应的QoS参数的通信路径),可以在确定与通信目标方不邻近之后且在发送中继路径建立请求之前执行,也可以在确定第一通信路径建立成功之后执行。Wherein, the judging process performed by the communication initiator in this method (that is, judging whether a communication path that satisfies the QoS parameters corresponding to the second communication path has been established between itself and the third-party device) can be determined when it is not adjacent to the communication target party. Afterwards and before sending the relay path establishment request, it may also be executed after it is determined that the first communication path is established successfully.

进一步,该方法下,若通信发起方先执行判断过程,再发送中继路径建立请求,则该通信发起方还通过该中继路径建立请求通知第三方设备自身为该已建立的通信路径已分配的传输资源,如在该中继路径建立请求中携带自身为该已建立的通信路径已分配的传输资源,以使第三方设备能够确定该已建立的通信路径。Further, under this method, if the communication initiator first executes the judgment process, and then sends a relay path establishment request, the communication initiator also notifies the third-party device itself that the established communication path has been allocated through the relay path establishment request. For example, the transmission resource allocated by itself for the established communication path is carried in the relay path establishment request, so that the third-party device can determine the established communication path.

进一步,该方法下,若通信发起方先发送中继路径建立请求,再执行判断过程,则该通信发起方还需要向第三方设备发送消息,以通知第三方设备自身为该已建立的通信路径已分配的传输资源,以使第三方设备能够确定该已建立的通信路径。Further, under this method, if the communication initiator first sends a relay path establishment request, and then performs the judgment process, the communication initiator also needs to send a message to the third-party device to notify the third-party device that it is the established communication path. Allocated transmission resources to enable the third party device to determine the established communication path.

方法3、通信发起方在确定自身与第三方设备之间已建立的通信路径不能满足第二通信路径对应的QoS参数,或者自身与第三方设备之间未建立任何通信路径时,发起第二通信路径的建立过程;Method 3. When the communication initiator determines that the communication path established between itself and the third-party device cannot meet the QoS parameters corresponding to the second communication path, or when no communication path has been established between itself and the third-party device, initiate the second communication Path establishment process;

其中,该方法中通信发起方执行的判断过程(即判断自身与第三方设备之间是否已建立了能够满足第二通信路径对应的QoS参数的通信路径),可以在确定与通信目标方不邻近之后且在发送中继路径建立请求之前执行,也可以在确定第一通信路径建立成功之后执行;Wherein, the judging process performed by the communication initiator in this method (that is, judging whether a communication path that satisfies the QoS parameters corresponding to the second communication path has been established between itself and the third-party device) can be determined when it is not adjacent to the communication target party. Execute thereafter and before sending the relay path establishment request, or after determining that the first communication path is established successfully;

该方法进一步又包括以下两种实现方式:The method further includes the following two implementations:

方法3A、若通信发起方在确定与通信目标方不邻近之后且在发送中继路径建立请求之前,确定自身与第三方设备之间已建立的通信路径均不能满足第二通信路径对应的QoS参数,或者自身与第三方设备之间未建立任何通信路径,则:Method 3A: If the communication initiator determines that none of the communication paths established between itself and the third-party device can satisfy the QoS parameters corresponding to the second communication path after determining that it is not adjacent to the communication target party and before sending a relay path establishment request , or no communication path has been established between itself and a third-party device, then:

该通信发起方在向第三方设备发送中继路径建立请求时,还通过该中继路径建立请求发起第二通信路径的建立过程,且通信发起方在该中继路径建立请求中还携带自身的标识信息、第二通信路径对应的QoS参数以及自身为该第二通信路径分配的传输资源(例如路径标识);When the communication initiator sends a relay path establishment request to the third-party device, it also initiates the establishment process of the second communication path through the relay path establishment request, and the communication initiator also carries its own Identification information, QoS parameters corresponding to the second communication path, and transmission resources (such as path identifiers) allocated by itself for the second communication path;

相应的,通信发起方根据接收到的第三方设备返回的中继路径建立回复中携带的指示信息,确定第一通信路径及第二通信路径是否建立成功,并在确定第二通信路径建立成功后,从该中继路径建立回复中,获取第三方设备为第二通信路径分配的传输资源。Correspondingly, the communication initiator determines whether the first communication path and the second communication path are established successfully according to the instruction information carried in the relay path establishment reply returned by the received third-party device, and after determining that the second communication path is established successfully , from the relay path establishment reply, acquire the transmission resources allocated by the third-party device for the second communication path.

优选的,若第二通信路径建立失败,第三方设备返回的中继路径建立回复中还携带失败原因。Preferably, if the establishment of the second communication path fails, the relay path establishment reply returned by the third party device also carries a failure reason.

方法3B、若通信发起方在确定第一通信路径建立成功后,确定自身与第三方设备之间已建立的通信路径不能满足第二通信路径对应的QoS参数,或者自身与第三方设备之间未建立任何通信路径,则:Method 3B. If the communication initiator determines that the established communication path between itself and the third-party device cannot satisfy the QoS parameters corresponding to the second communication path after determining that the first communication path is successfully established, or there is no communication between itself and the third-party device. To establish any communication paths, then:

该通信发起方向第三方设备发送连接建立请求,该连接建立请求用于请求在自身与第三方设备之间建立第二通信路径,且该连接建立请求中携带自身的标识信息、第二通信路径对应的QoS参数以及自身为第二通信路径分配的传输资源;以及该通信发起方根据第三方设备返回的连接建立回复中携带的指示信息,确定第二通信路径是否建立成功,并在确定第二通信路径建立成功后,从该连接建立回复中,获取第三方设备为第二通信路径分配的传输资源。The communication initiator sends a connection establishment request to the third-party device, the connection establishment request is used to request the establishment of a second communication path between itself and the third-party device, and the connection establishment request carries its own identification information, the second communication path corresponds to QoS parameters and the transmission resources allocated by itself for the second communication path; and the communication initiator determines whether the second communication path is successfully established according to the indication information carried in the connection establishment reply returned by the third-party device, and determines whether the second communication path After the path is established successfully, the transmission resource allocated by the third-party device for the second communication path is obtained from the connection establishment reply.

优选的,若第二通信路径建立失败,第三方设备返回的连接建立回复中还携带失败原因。Preferably, if the establishment of the second communication path fails, the connection establishment reply returned by the third-party device also carries a failure reason.

需要说明的是,若第一通信路径及第二通信路径均建立成功,则通信发起方执行步骤83;若第一通信路径或第二通信路径建立失败,则通信发起方结束该第三方设备的中继路径建立过程。It should be noted that, if both the first communication path and the second communication path are successfully established, the communication initiator executes step 83; if the first communication path or the second communication path fails to be established, the communication initiator terminates the third-party device The relay path establishment process.

另外,本发明实施例中,由于第一通信路径及第二通信路径都是用来传输通信发起方与通信目标方之间的通信数据的,因此,第一通信路径对应的QoS参数及第二通信路径对应的QoS参数相同。In addition, in the embodiment of the present invention, since both the first communication path and the second communication path are used to transmit communication data between the communication initiator and the communication target, the QoS parameters corresponding to the first communication path and the second The QoS parameters corresponding to the communication paths are the same.

下面对本发明实施例中,通信发起方获取能够作为自身与通信目标方之间的中继节点的第三方设备的具体实现过程进行说明。In the embodiment of the present invention, the specific implementation process of the communication initiator acquiring a third-party device that can serve as a relay node between itself and the communication target party will be described below.

在实施中,通信发起方根据以下步骤获取能够作为自身与通信目标方之间的中继节点的第三方设备:In implementation, the communication initiator obtains a third-party device that can serve as a relay node between itself and the communication target party according to the following steps:

通信发起方向与自身邻近的邻近通信设备发送中继请求,该中继请求中携带通信目标方的标识信息;The communication initiator sends a relay request to a neighboring communication device adjacent to itself, and the relay request carries the identification information of the communication target party;

通信发起方接收邻近通信设备返回的中继回复,该中继回复中携带用于指示该邻近通信设备是否能够作为通信发起方与通信目标方之间的中继节点的指示信息。The communication initiator receives the relay reply returned by the adjacent communication device, and the relay reply carries indication information for indicating whether the adjacent communication device can serve as a relay node between the communication initiator and the communication target.

作为一种具体实现方式,通信发起方根据以下步骤获取能够作为自身与通信目标方之间的中继节点的第三方设备:As a specific implementation, the communication initiator obtains a third-party device that can serve as a relay node between itself and the communication target party according to the following steps:

通信发起方根据预设的各邻近通信设备的优先级,按照优先级从高到低的顺序,从所有邻近通信设备中,选择一个邻近通信设备;The communication initiator selects a neighboring communication device from all neighboring communication devices according to the preset priority of each neighboring communication device in order of priority from high to low;

针对当前选择的邻近通信设备,通信发起方向该邻近通信设备发送中继请求,根据接收到的中继回复的内容,执行不同的处理:For the currently selected adjacent communication device, the communication initiator sends a relay request to the adjacent communication device, and performs different processing according to the content of the received relay reply:

若该邻近通信设备返回的中继回复中携带第一指示信息,则通信发起方确定该邻近通信设备能够作为自身与通信目标方之间的中继节点,即该邻近通信设备为第三方设备;If the relay reply returned by the adjacent communication device carries the first indication information, the communication initiator determines that the adjacent communication device can serve as a relay node between itself and the communication target party, that is, the adjacent communication device is a third-party device;

若该邻近通信设备返回的中继回复中携带第二指示信息,则通信发起方确定该邻近通信设备不能作为自身与通信目标方之间的中继节点,并按照优先级从高到低的顺序,选择下一个邻近通信设备,执行上述中继请求过程。If the relay reply returned by the adjacent communication device carries the second indication information, the communication initiator determines that the adjacent communication device cannot be used as a relay node between itself and the communication target party, and the order of priority is from high to low , select the next adjacent communication device, and execute the above relay request process.

进一步,若该通信发起方当前选择的邻近通信设备为最后一个邻近通信设备,且该邻近通信设备返回的中继回复中携带第二指示信息,则通信发起方确定该邻近通信设备不能作为自身与通信目标方之间的中继节点,即没有第三方设备,此时该通信发起方确定本次经由中继节点的邻近通信失败,并结束处理。Further, if the adjacent communication device currently selected by the communication initiator is the last adjacent communication device, and the relay reply returned by the adjacent communication device carries the second indication information, the communication initiator determines that the adjacent communication device cannot be used as There is no relay node between the communication target parties, that is, there is no third-party device. At this time, the communication initiator determines that the adjacent communication via the relay node has failed, and ends the process.

优选的,该方式下,通信发起方在发起中继路径建立过程之前,已获知与自身邻近的各邻近通信设备。Preferably, in this way, the communication initiator has already known the adjacent communication devices adjacent to itself before initiating the process of establishing the relay path.

优选的,该方式下,通信发起方根据接收到的各邻近通信设备的信号强度,确定各邻近通信设备的优先级;Preferably, in this manner, the communication initiator determines the priority of each adjacent communication device according to the received signal strength of each adjacent communication device;

具体的,通信发起方根据接收到的各邻近通信设备的信号强度的强弱,形成优先级列表,该优先级列表由各邻近通信设备的标识信息组成,标识信息在该列表中的优先级越高,表明通信发起方接收到的该标识信息对应的邻近通信设备的信号强度越强。Specifically, the communication initiator forms a priority list according to the received signal strength of each adjacent communication device, and the priority list is composed of identification information of each adjacent communication device, and the priority of the identification information in the list is higher Higher indicates that the signal strength of the adjacent communication device corresponding to the identification information received by the communication initiator is stronger.

在实施中,该方式下,针对当前确定的第三方设备,通信发起方执行步骤81,具体包括以下两种结果:In implementation, in this manner, for the currently determined third-party device, the communication initiator executes step 81, which specifically includes the following two results:

若第一通信路径建立成功,则通信发起方执行步骤82~步骤83;If the first communication path is successfully established, the communication initiator executes steps 82 to 83;

若第一通信路径建立失败,则通信发起方按照优先级从高到低的顺序,选择下一个邻近通信设备,执行中继请求过程。If the establishment of the first communication path fails, the communication initiator selects the next adjacent communication device in order of priority from high to low, and executes a relay request process.

需要说明的是,该方式下,通信发起方针对当前选择的邻近通信设备依次执行中继请求过程以及包含步骤81~步骤82的中继路径建立过程,因此,通信发起方确定出的第三方设备的数量最多是一个。It should be noted that in this mode, the communication initiator sequentially executes the relay request process and the relay path establishment process including steps 81 to 82 for the currently selected adjacent communication device. Therefore, the third-party device determined by the communication initiator The number is at most one.

作为另一种具体实现方式,通信发起方根据以下步骤获取能够作为自身与通信目标方之间的中继节点的第三方设备:As another specific implementation manner, the communication initiator obtains a third-party device that can serve as a relay node between itself and the communication target party according to the following steps:

通信发起方向所有邻近通信设备发送中继请求;优选的,通信发起方可以并行向所有邻近通信设备发送中继请求,亦可以依次向每个邻近通信设备发送中继请求;以及The communication initiator sends relay requests to all adjacent communication devices; preferably, the communication initiator may send relay requests to all adjacent communication devices in parallel, or may send relay requests to each adjacent communication device in turn; and

通信发起方接收每个邻近通信设备返回的中继回复,并根据每个中继回复携带的指示信息,确定能够作为自身与通信目标方之间的中继节点的邻近通信设备,即第三方设备。The communication initiator receives the relay reply returned by each adjacent communication device, and according to the indication information carried in each relay reply, determines the adjacent communication device that can be used as a relay node between itself and the communication target party, that is, a third-party device .

优选的,该方式下,通信发起方在发起中继路径建立过程之前,已获知与自身邻近的各邻近通信设备。Preferably, in this way, the communication initiator has already known the adjacent communication devices adjacent to itself before initiating the process of establishing the relay path.

需要说明的是,该方式下,通信发起方首先针对所有邻近通信设备执行中继请求过程,以确定所有邻近通信设备中能够作为自身与通信目标方之间的中继节点的第三方设备,然后再针对第三方设备执行包含步骤81~步骤82的中继路径建立过程,因此,通信发起方确定出的第三方设备的数量至少是一个。It should be noted that in this way, the communication initiator first performs a relay request process for all nearby communication devices to determine a third-party device among all nearby communication devices that can serve as a relay node between itself and the communication target party, and then Then, the relay path establishment process including steps 81 to 82 is executed for the third-party device. Therefore, the number of third-party devices determined by the communication initiator is at least one.

优选的,若确定出的第三方设备数量至少为两个,则:步骤81中,通信发起方向能够作为自身与通信目标方之间的中继节点的第三方设备发送中继路径建立请求包括:Preferably, if the determined number of third-party devices is at least two, then: in step 81, sending a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party to the communication initiator includes:

通信发起方根据预设的各第三方设备的优先级,按照优先级从高到低的顺序,从所有所述第三方通信设备中,选择一个第三方设备,并向当前选择的第三方设备发送中继路径建立请求。The communication initiator selects a third-party device from all the third-party communication devices according to the preset priority of each third-party device in order of priority from high to low, and sends a message to the currently selected third-party device Relay path establishment request.

优选的,该方式下,通信发起方可以根据接收到的第三方设备的信号强度,确定各第三方设备的优先级;Preferably, in this manner, the communication initiator can determine the priority of each third-party device according to the received signal strength of the third-party device;

具体的,通信发起方根据接收到的各第三方设备的信号强度的强弱,形成优先级列表,该优先级列表由各第三方设备的标识信息组成,标识信息在该列表中的优先级越高,表明通信发起方接收到的该标识信息对应的第三方设备的信号强度越强。Specifically, the communication initiator forms a priority list according to the received signal strength of each third-party device, the priority list is composed of identification information of each third-party device, and the priority of the identification information in the list is higher Higher, indicating that the signal strength of the third-party device corresponding to the identification information received by the communication initiator is stronger.

进一步,该方式下,针对当前选择的第三方设备,通信发起方执行步骤81,具体包括以下两种结果:Further, in this manner, for the currently selected third-party device, the communication initiator executes step 81, which specifically includes the following two results:

若第一通信路径建立及第二通信路径均建立成功,则通信发起方执行步骤82~步骤82;If both the first communication path and the second communication path are successfully established, the communication initiator executes steps 82 to 82;

若第一通信路径或第二通信路径建立失败,则通信发起方按照优先级从高到低的顺序,选择下一个第三方设备,重新执行步骤81~步骤82。If the establishment of the first communication path or the second communication path fails, the communication initiator selects the next third-party device in descending order of priority, and re-executes steps 81 to 82 .

进一步,若该通信发起方当前选择的第三方设备为优先级最低的第三方设备,且执行步骤81的结果是第一通信路径或第二通信路径建立失败,则该通信发起方确定本次经由中继节点的邻近通信失败,并结束处理。Further, if the third-party device currently selected by the communication initiator is the third-party device with the lowest priority, and the result of executing step 81 is that the establishment of the first communication path or the second communication path fails, then the communication initiator determines that this time via Proximity communication of the relay node fails, and processing ends.

作为上述两种具体实现方式的优选方式,通信发起方向与自身邻近的邻近通信设备发送中继请求,进一步包括:As a preferred manner of the above two specific implementation manners, the communication initiation direction sends a relay request to a neighboring communication device adjacent to itself, further including:

通信发起方向与自身邻近且支持中继能力的邻近通信设备发送中继请求。The communication initiator sends a relay request to an adjacent communication device that is adjacent to itself and supports a relay capability.

对于第一种实现方式来说,通信发起方按照优先级从高到低的顺序,从所有支持中继能力的邻近通信设备中,选择一个邻近通信设备,依次执行中继请求过程及中继路径建立过程;For the first implementation, the communication initiator selects a neighboring communication device from all neighboring communication devices that support the relay capability in order of priority from high to low, and executes the relay request process and the relay path in sequence. build process;

优选的,通信发起方在发起中继路径建立过程之前,已获知与自身邻近的各邻近通信设备以及其是否支持中继能力;Preferably, before initiating the relay path establishment process, the communication initiator has already known the adjacent communication devices adjacent to itself and whether they support the relay capability;

优选的,通信发起方根据接收到的各支持中继能力的邻近通信设备的信号强度,确定各支持中继能力的邻近通信设备的优先级。Preferably, the communication initiator determines the priority of each adjacent communication device supporting relay capability according to the received signal strength of each adjacent communication device supporting relay capability.

对于第二种实现方式来说,通信发起方向所有支持中继能力的邻近通信设备执行中继请求过程,以确定所有支持中继能力的邻近通信设备中,能够作为自身与通信目标方之间的中继节点的第三方设备;For the second implementation, the communication initiator executes a relay request process to all neighboring communication devices that support the relay capability, so as to determine which of all the neighboring communication devices that support the relay capability can serve as a link between itself and the communication target. Third-party equipment for relay nodes;

优选的,通信发起方在发起中继路径建立过程之前,已获知与自身邻近的各邻近通信设备以及其是否支持中继能力。Preferably, before initiating the process of establishing the relay path, the communication initiator has already known the adjacent communication devices adjacent to itself and whether they support the relay capability.

本发明实施中,在通信发起方发起中继请求过程中,与该通信发起方邻近的通信设备在接收到通信发起方发送的中继请求时,执行以下步骤:In the implementation of the present invention, when the communication initiator initiates the relay request process, the communication device adjacent to the communication initiator performs the following steps when receiving the relay request sent by the communication initiator:

判断自身是否能够作为通信发起方与通信目标方之间的中继节点,并向通信发起方返回中继回复,该中继回复中携带用于指示自身是否能够作为通信发起方与通信目标方之间的中继节点的指示信息。Judging whether it can serve as a relay node between the communication initiator and the communication target party, and returning a relay reply to the communication initiator, the relay reply carries information indicating whether it can serve as the communication initiator and the communication target party The indication information of the intermediate relay nodes.

在实施中,通信设备判断自身是否能够作为通信发起方与通信目标方之间的中继节点,包括:In implementation, the communication device judges whether it can serve as a relay node between the communication initiator and the communication target, including:

若自身支持中继能力,且自身与通信目标方邻近,则该通信设备确定自身当前能够作为通信发起方与通信目标方之间的中继节点;If it supports relay capability and it is adjacent to the communication target party, the communication device determines that it can currently serve as a relay node between the communication initiator and the communication target party;

若自身不支持中继能力,或者自身与通信目标方不邻近,则该通信设备确定自身当前不能作为通信发起方与通信目标方之间的中继节点。If it does not support the relay capability, or it is not adjacent to the communication target party, the communication device determines that it cannot currently serve as a relay node between the communication initiator and the communication target party.

优选的,该通信设备在确定自身支持中继能力,且自身与通信目标方邻近之后,根据预先设定的判断条件,判断自身是否能够作为通信发起方与通信目标方之间的中继节点;Preferably, after the communication device determines that it supports the relay capability and is adjacent to the communication target party, it judges whether it can serve as a relay node between the communication initiator and the communication target party according to preset judgment conditions;

在满足判断条件时,通信设备确定自身能够作为通信发起方与通信目标方之间的中继节点;When the judgment condition is met, the communication device determines that it can serve as a relay node between the communication initiator and the communication target;

在不满足判断条件时,通信设备在确定自身不能作为通信发起方与通信目标方之间的中继节点。When the judging condition is not met, the communication device determines that it cannot serve as a relay node between the communication initiator and the communication target.

在实施中,预先设定的判断条件包括以下一项或组合:In implementation, the pre-set judgment conditions include one or a combination of the following:

预先设定的用户喜好、自身当前的处理负荷、以及自身接收到通信目标方的信号的强度。Pre-set user preferences, own current processing load, and the strength of the signal received by itself from the communication target party.

举例说明,预先设定的用户喜好可以指示该通信设备能够作为任意通信双方的中继节点,也可以指示该通信设备能够作为指定的通信发起方与指定的通信目标方之间的中继节点,还可以指示该通信设备不能作为任一通信双方的中继节点。For example, the preset user preference may indicate that the communication device can be used as a relay node between any communication parties, or may indicate that the communication device can be used as a relay node between a designated communication initiator and a designated communication target party, It may also indicate that the communication device cannot serve as a relay node for any two communication parties.

举例说明,该通信设备根据自身当前的处理负荷,判断自身是否能够作为通信发起方与通信目标方之间的中继节点,具体包括:For example, the communication device judges whether it can serve as a relay node between the communication initiator and the communication target according to its current processing load, specifically including:

若该通信设备当前的处理负荷过重,即该通信设备当前的处理负荷超过设定的阈值(如该通信设备已连接了超过设定数量的通信设备;又如,该通信设备当前的CPU使用率超过设定的阈值),则确定自身不能作为通信发起方与通信目标方之间的中继节点;If the current processing load of the communication device is too heavy, that is, the current processing load of the communication device exceeds the set threshold (such as the communication device has connected more than the set number of communication devices; another example, the current CPU usage of the communication device rate exceeds the set threshold), then it is determined that it cannot be used as a relay node between the communication initiator and the communication target party;

若该通信设备当前的处理负荷未超过该设定的阈值,则确定自身能够作为通信发起方与通信目标方之间的中继节点。If the current processing load of the communication device does not exceed the set threshold, it is determined that it can serve as a relay node between the communication initiator and the communication target.

举例说明,该通信设备根据自身接收到通信目标方的信号的强度,判断自身是否能够作为通信发起方与通信目标方之间的中继节点,具体包括:For example, the communication device judges whether it can serve as a relay node between the communication initiator and the communication target according to the strength of the signal it receives from the communication target, including:

若该通信设备根据自身接收到通信目标方的信号的强度不小于设定阈值,则确定自身能够作为通信发起方与通信目标方之间的中继节点;If the communication device receives the signal strength of the communication target party not less than the set threshold, it determines that it can serve as a relay node between the communication initiator and the communication target party;

若该通信设备根据自身接收到通信目标方的信号的强度小于设定阈值,则确定自身不能作为通信发起方与通信目标方之间的中继节点。If the communication device receives the signal strength of the communication target party less than the set threshold, it determines that it cannot serve as a relay node between the communication initiator and the communication target party.

下面对本发明实施例中,通信发起方获知与自身邻近的各邻近通信设备的实现过程进行说明。In the embodiment of the present invention, the implementation process for the communication initiator to obtain the neighboring communication devices adjacent to itself will be described below.

在实施中,通信发起方根据以下方式获知与自身邻近的各邻近通信设备:In an implementation, the communication initiator obtains the neighboring communication devices adjacent to itself in the following manner:

方式A、通信发起方通过广播方式发送第一请求消息,用以请求每个邻近通信设备向自身返回携带该邻近通信设备的标识信息的反馈信息,该第一请求消息中携带通信发起方的标识信息;Mode A: The communication initiator sends a first request message by broadcast to request each adjacent communication device to return to itself the feedback information carrying the identification information of the adjacent communication device, and the first request message carries the identification of the communication initiator information;

若通信发起方接收到反馈信息,则该通信发起方确定接收到的反馈信息中携带的标识信息对应的通信设备为邻近通信设备。If the communication initiator receives the feedback information, the communication initiator determines that the communication device corresponding to the identification information carried in the received feedback information is a neighboring communication device.

方式A中,在该通信发起方发送第一请求消息之后,与该通信发起方邻近的通信设备能够接收到其发送的第一请求消息,并在接收到该第一请求消息后,向该通信发起方返回反馈信息,该反馈信息中携带自身标识信息;与该通信发起方不邻近的通信设备不会接收到其发送的第一请求消息。In mode A, after the communication initiator sends the first request message, the communication device adjacent to the communication initiator can receive the first request message sent by it, and after receiving the first request message, send the communication The initiator returns feedback information, which carries its own identification information; communication devices not adjacent to the communication initiator will not receive the first request message sent by it.

优选的,通信发起方在接收到与邻近通信设备返回的反馈信息后,将各邻近通信设备的标识信息存储于本地;例如,通信发起方将获取到的各邻近通信设备的标识信息存储于邻近关系列表中。Preferably, the communication initiator stores the identification information of each adjacent communication device locally after receiving the feedback information returned by the adjacent communication device; for example, the communication initiator stores the acquired identification information of each adjacent communication device in the adjacent relationship list.

进一步,方式A中,若通信发起方还需要获知各邻近通信设备是否支持中继能力,则该第一请求消息还用于请求每个邻近通信设备在返回的反馈信息中指示该邻近通信设备是否支持中继能力,以使通信发起方可以获知每个邻近通信设备是否支持中继能力。Further, in mode A, if the communication initiator also needs to know whether each neighboring communication device supports the relay capability, the first request message is also used to request each neighboring communication device to indicate in the returned feedback information whether the neighboring communication device The relay capability is supported so that the communication originator can know whether each neighboring communication device supports the relay capability.

具体的,邻近通信设备可以通过以下方式指示自身是否支持中继能力:Specifically, a nearby communication device may indicate whether it supports the relay capability in the following manner:

方式1、若该邻近通信设备支持中继能力,则在向通信发起方返回的反馈信息中携带自身的标识信息以及用于指示该邻近通信设备支持中继能力的指示信息;若该邻近通信设备不支持中继能力,则在向通信发起方返回的反馈信息中仅携带自身的标识信息;或者,Method 1. If the adjacent communication device supports the relay capability, the feedback information returned to the communication initiator carries its own identification information and indication information for indicating that the adjacent communication device supports the relay capability; if the adjacent communication device If the relay capability is not supported, only its own identification information is carried in the feedback information returned to the communication initiator; or,

方式2、若该邻近通信设备支持中继能力,则在向通信发起方返回的反馈信息中携带自身的标识信息以及用于指示该邻近通信设备支持中继能力的指示信息;若该邻近通信设备不支持中继能力,则在向通信发起方返回的反馈信息中携带自身的标识信息以及用于指示该邻近通信设备不支持中继能力的指示信息。Method 2. If the adjacent communication device supports the relay capability, the feedback information returned to the communication initiator carries its own identification information and indication information for indicating that the adjacent communication device supports the relay capability; if the adjacent communication device If the relay capability is not supported, the feedback information returned to the communication initiator carries its own identification information and indication information for indicating that the adjacent communication device does not support the relay capability.

优选的,通信发起方在获取到各邻近通信设备及其是否支持中继能力后,存储每个邻近通信设备的标识信息以及该邻近通信设备是否支持中继能力;Preferably, the communication initiator stores the identification information of each adjacent communication device and whether the adjacent communication device supports relay capability after acquiring each adjacent communication device and whether it supports relay capability;

具体的,若该邻近通信设备支持中继能力,则存储的该邻近通信设备的信息中包含该邻近通信设备的标识信息以及用于表示该邻近通信设备支持中继能力的指示信息;若该邻近通信设备不支持中继能力,则存储的该邻近通信设备的信息中仅包含该邻近通信设备的标识信息;或者,Specifically, if the nearby communication device supports the relay capability, the stored information of the nearby communication device includes the identification information of the nearby communication device and indication information indicating that the nearby communication device supports the relay capability; if the nearby If the communication device does not support the relay capability, the stored information of the adjacent communication device only includes the identification information of the adjacent communication device; or,

若该邻近通信设备支持中继能力,则存储的该邻近通信设备的信息中包含该邻近通信设备的标识信息以及用于表示该邻近通信设备支持中继能力的指示信息;若该邻近通信设备不支持中继能力,则存储的该邻近通信设备的信息中包含该邻近通信设备的标识信息以及用于表示该邻近通信设备不支持中继能力的指示信息。If the nearby communication device supports the relay capability, the stored information of the nearby communication device includes the identification information of the nearby communication device and indication information indicating that the nearby communication device supports the relay capability; if the nearby communication device does not If the relay capability is supported, the stored information of the adjacent communication device includes identification information of the adjacent communication device and indication information for indicating that the adjacent communication device does not support the relay capability.

方式B、通信发起方通过广播方式发送第二请求消息,该第二请求消息用于请求指定的通信设备在接收到该第二请求消息后返回携带自身标识信息的反馈信息,且该第二请求消息中携带通信发起方的标识信息及指定的通信设备的标识信息;Mode B. The communication initiator sends a second request message by broadcasting. The second request message is used to request the designated communication device to return feedback information carrying its own identification information after receiving the second request message, and the second request The message carries the identification information of the communication initiator and the identification information of the designated communication device;

若通信发起方接收到反馈信息且反馈信息中携带的标识信息与指定的通信设备的标识信息相同,则该通信发起方确定自身与指定的通信设备邻近;If the communication initiator receives the feedback information and the identification information carried in the feedback information is the same as the identification information of the designated communication device, the communication initiator determines that it is adjacent to the designated communication device;

若通信发起方未接收到任何反馈信息,或接收到了反馈信息且该反馈信息中携带的标识信息与指定的通信设备的标识信息不同,则该通信发起方确定自身与指定的通信设备不邻近。If the communication initiator does not receive any feedback information, or receives feedback information and the identification information carried in the feedback information is different from the identification information of the designated communication device, the communication initiator determines that it is not adjacent to the designated communication device.

方式B中,在该通信发起方发送第二请求消息之后,该通信发起方的各邻近通信设备都会接收到其发送的第二请求消息,每个邻近通信设备在接收到该第二请求消息后,判断自身标识信息是否与该第二请求消息中携带的指定的通信设备的标识信息相同,根据判断结果,执行相应的处理:In mode B, after the communication initiator sends the second request message, each adjacent communication device of the communication initiator will receive the second request message sent by it, and each adjacent communication device will receive the second request message after receiving the second request message. , judging whether the self-identification information is the same as the identification information of the specified communication device carried in the second request message, and performing corresponding processing according to the judgment result:

若自身标识信息与该第二请求消息中携带的指定的通信设备的标识信息相同,则该邻近通信设备向通信发起方返回反馈信息,并在该反馈信息中携带自身标识信息;If the self-identification information is the same as the identification information of the specified communication device carried in the second request message, the adjacent communication device returns feedback information to the communication initiator, and carries self-identification information in the feedback information;

若自身标识信息与该第二请求消息中携带的指定的通信设备的标识信息不相同,则该邻近通信设备丢弃本条广播消息。If the identification information of itself is different from the identification information of the specified communication device carried in the second request message, the adjacent communication device discards the broadcast message.

优选的,通信发起方在接收到指定的通信设备返回的反馈信息后,将该指定的通信设备的标识信息存储于本地;例如,通信发起方将获取到的各与其邻近的指定的通信设备的标识信息存储于邻近关系列表中。Preferably, after receiving the feedback information returned by the designated communication device, the communication initiator stores the identification information of the designated communication device locally; Identification information is stored in a neighbor list.

进一步,方式B中,若通信发起方还需要获知各邻近通信设备是否支持中继能力,则第二请求消息还用于请求指定的通信设备在返回的反馈信息中指示该指定的通信设备是否支持中继能力,以使通信发起方可以获知每个指定的通信设备是否支持中继能力;其中,指定的通信设备可以采用方式1或方式2指示自身是否支持中继能力。Further, in mode B, if the communication initiator also needs to know whether each neighboring communication device supports the relay capability, the second request message is also used to request the designated communication device to indicate in the returned feedback information whether the designated communication device supports Relay capability, so that the communication initiator can know whether each specified communication device supports the relay capability; wherein, the specified communication device can use mode 1 or mode 2 to indicate whether it supports the relay capability.

优选的,通信发起方在获取到各邻近通信设备及其是否支持中继能力后,存储每个邻近通信设备的标识信息以及该邻近通信设备是否支持中继能力。Preferably, the communication initiator stores the identification information of each nearby communication device and whether the nearby communication device supports the relay capability after acquiring each nearby communication device and whether it supports the relay capability.

本发明实施例中,通信发起方还可以通过以下方法获取能够作为自身与通信目标方之间的中继节点的第三方设备:In the embodiment of the present invention, the communication initiator can also obtain a third-party device that can serve as a relay node between itself and the communication target party through the following methods:

通信发起方通过广播方式发送请求消息,以请求能够作为自身与通信目标方之间的中继节点的邻近通信设备返回携带自身标识信息的反馈信息,该请求消息中携带该通信发起方的标识信息和通信目标方的标识信息;The communication initiator sends a request message by broadcasting to request the adjacent communication device that can serve as a relay node between itself and the communication target to return feedback information carrying its own identification information, and the request message carries the identification information of the communication initiator and the identification information of the communication target party;

若接收到邻近通信设备返回的回复消息,该通信发起方确定该邻近通信设备能够作为自身与通信目标方之间的中继节点(即该邻近通信设备为第三方设备),该回复消息中携带该邻近通信设备的标识信息;If the reply message returned by the neighboring communication device is received, the communication initiator determines that the neighboring communication device can serve as a relay node between itself and the communication target (that is, the neighboring communication device is a third-party device), and the reply message carries Identification information of the proximity communication device;

若该通信发起方未接收到任何回复消息,则确定当前不存在能够作为自身与所述通信目标方之间的中继节点的邻近通信设备(即当前不存在第三方设备),并结束处理。If the communication initiator does not receive any reply message, it determines that there is currently no adjacent communication device that can serve as a relay node between itself and the communication target party (that is, there is no third-party device currently), and ends the process.

优选的,通信发起方存储接收到的回复消息中携带的邻近通信设备的标识信息,从而本地存储的标识信息对应的邻近通信设备均为该通信发起方发现的能够作为通信发起方与通信目标方之间的中继节点的第三方设备。Preferably, the communication initiator stores the identification information of the adjacent communication device carried in the received reply message, so that the adjacent communication devices corresponding to the locally stored identification information are found by the communication initiator and can serve as the communication initiator and the communication target third-party devices between relay nodes.

优选的,通信发起方按照接收到能够作为通信发起方与通信目标方之间的中继节点的各邻近通信设备的信号强度的强弱,形成优先级列表,该列表由能够各第三方设备的标识信息组成,标识信息在该列表中的优先级越高,通信发起方接收到的该标识信息对应的第三方设备的信号强度就越强。Preferably, the communication initiator forms a priority list according to the received signal strength of each adjacent communication device that can be used as a relay node between the communication initiator and the communication target party, and the list is composed of each third-party device. Composed of identification information, the higher the priority of the identification information in the list, the stronger the signal strength of the third-party device corresponding to the identification information received by the communication initiator.

需要说明的是,与通信发起方邻近的通信设备(或与通信发起方邻近且支持中继能力的通信设备)可以根据自身发起的邻近发现的结果,判断自身是否与通信目标方邻近,其中,邻近发现过程与通信发起方侧的邻近发现过程相似,可参见上述方式A及方式B。It should be noted that a communication device adjacent to the communication initiator (or a communication device adjacent to the communication initiator and supporting the relay capability) can determine whether it is adjacent to the communication target according to the result of the proximity discovery initiated by itself, wherein, The process of proximity discovery is similar to the process of proximity discovery on the side of the communication initiator, and may refer to the above method A and method B.

在实施中,与通信发起方邻近的通信设备(或与通信发起方邻近且支持中继能力的通信设备)与通信目标方邻近包括以下情况:In implementation, the communication device adjacent to the communication initiator (or the communication device adjacent to the communication initiator and supporting the relay capability) and the communication target party include the following situations:

若双方均为终端,则包括:该通信设备与通信目标方没有建立邻近通信,且该通信设备根据邻近关系发现的结果,确定自身当前与通信目标方邻近;或者,该通信设备与通信目标方已建立邻近通信,且自身当前与通信目标方邻近;If both parties are terminals, it includes: the communication device has not established proximity communication with the communication target party, and the communication device determines that it is currently adjacent to the communication target party according to the result of the proximity relationship discovery; or, the communication device and the communication target party Proximity communication has been established, and it is currently in proximity to the communication target;

若双方一个是网络侧设备,一个是终端,则包括:该通信设备与通信目标方之间没有建立任何通信连接,且该通信设备执行与通信目标方之间的通信连接建立(如终端与基站之间的RRC连接)过程中,连接建立成功;或者,该通信设备与通信目标方之间存在通信连接(如终端与基站之间的RRC连接),且终端在网络侧设备的网络覆盖范围。If one of the two parties is a network-side device and the other is a terminal, it includes: no communication connection has been established between the communication device and the communication target party, and the communication device executes the establishment of a communication connection with the communication target party (such as a terminal and a base station) During the RRC connection between the terminal and the base station), the connection is successfully established; or, there is a communication connection between the communication device and the communication target (such as the RRC connection between the terminal and the base station), and the terminal is within the network coverage of the network side device.

在实施中,与通信发起方邻近的通信设备(或与通信发起方邻近且支持中继能力的通信设备)与通信目标方不邻近包括以下情况:In implementation, the communication device adjacent to the communication initiator (or the communication device adjacent to the communication initiator and supporting the relay capability) is not adjacent to the communication target party includes the following situations:

若双方均为终端,则包括:该通信设备与通信目标方没有建立邻近通信,且该通信设备根据邻近关系发现的结果,确定自身当前与通信目标方不邻近;或者,该通信设备与通信目标方已建立邻近通信且该通信设备根据邻近关系发现的结果,确定自身当前与通信目标方不邻近;或者,该通信设备与通信目标方已建立邻近通信且该通信设备确定接收到的通信目标方的信号强度小于设定的强度阈值;或者,该通信设备与通信目标方已建立邻近通信且该通信设备确定自身与通信目标方之间的距离大于设定的距离阈值;If both parties are terminals, it includes: the communication device has not established proximity communication with the communication target party, and the communication device determines that it is not currently adjacent to the communication target party according to the result of the proximity relationship discovery; or, the communication device and the communication target party The party has established proximity communication and the communication device determines that it is not currently adjacent to the communication target party according to the result of proximity relationship discovery; or, the communication device and the communication target party have established proximity communication and the communication device determines that the received communication target party The signal strength of the communication device is less than the set strength threshold; or, the communication device has established proximity communication with the communication target and the communication device determines that the distance between itself and the communication target is greater than the set distance threshold;

若双方一个是网络侧设备,一个是终端,则包括:该通信设备与通信目标方之间没有建立任何通信连接,且该通信设备执行与通信目标方之间的通信连接建立(如终端与基站之间的无线资源控制(Radio Resource Control,RRC)连接)过程中,连接建立失败;或者,该通信设备与通信目标方之间存在通信连接(如终端与基站之间的RRC连接),随后终端离开了网络侧设备的网络覆盖范围。If one of the two parties is a network-side device and the other is a terminal, it includes: no communication connection has been established between the communication device and the communication target party, and the communication device executes the establishment of a communication connection with the communication target party (such as a terminal and a base station) During the radio resource control (Radio Resource Control, RRC) connection) between the communication device, the connection establishment fails; or, there is a communication connection between the communication device and the communication target (such as the RRC connection between the terminal and the base station), and then the terminal The network coverage of the network side device is left.

本发明实施例中,通信设备(如通信发起方、通信目标方、邻近通信设备等)的标识信息具有全球唯一性,可以是现有3GPP协议中定义的标识信息,也可以是新定义的专用标识信息)。In the embodiment of the present invention, the identification information of the communication device (such as the communication initiator, communication target party, adjacent communication device, etc.) has global uniqueness, and can be the identification information defined in the existing 3GPP protocol, or it can be a newly defined special identification information).

基于上述实施例,参见图9所示,本发明实施例提供的邻近通信的实现方法中,第三方设备侧的处理过程包括:Based on the above embodiment, as shown in FIG. 9, in the implementation method of proximity communication provided by the embodiment of the present invention, the processing process on the third-party device side includes:

步骤91、第三方设备接收通信发起方发送的中继路径建立请求,该中继路径建立请求中至少携带通信目标方的标识信息以及请求在该第三方设备与通信目标方之间建立的第一通信路径对应的QoS参数;Step 91: The third-party device receives the relay path establishment request sent by the communication initiator, and the relay path establishment request carries at least the identification information of the communication target party and the first request to be established between the third-party device and the communication target party. QoS parameters corresponding to the communication path;

步骤92、第三方设备确定自身与通信目标方之间建立的第一通信路径,以及自身与通信发起方之间建立的第二通信路径;Step 92, the third-party device determines the first communication path established between itself and the communication target party, and the second communication path established between itself and the communication initiator;

步骤93、第三方设备通过建立的第一通信路径以及第二通信路径,在通信发起方与通信目标方之间转发数据。Step 93: The third party device forwards data between the communication initiator and the communication target through the established first communication path and the second communication path.

在实施中,步骤91中,第三方设备在接收到中继路径建立请求后,可以直接执行步骤92,也可以根据设定的判断条件,判断自身是否接受该中继路径建立请求,具体为:In implementation, in step 91, after the third-party device receives the relay path establishment request, it can directly execute step 92, and can also judge whether it accepts the relay path establishment request according to the set judgment conditions, specifically:

若接受,则执行步骤92;If accepted, then execute step 92;

若不接受,则向通信发起方发送中继路径建立回复,并携带用于指示所述第一通信路径建立失败的指示信息及失败原因(失败原因为可选信息)。If it is not accepted, a relay path establishment reply is sent to the communication initiator, and carries indication information and a failure reason for indicating that the first communication path establishment fails (the failure reason is optional information).

具体的,预先设定的判断条件包括以下一项或组合:Specifically, the pre-set judgment conditions include one or a combination of the following:

预先设定的用户喜好、自身当前的处理负荷、以及自身接收到通信设备的信号的强度。Pre-set user preferences, own current processing load, and the strength of the signal received by itself from the communication device.

在实施中,步骤92中,第三方设备确定第一通信路径,包括:In implementation, in step 92, the third-party device determines the first communication path, including:

第三方设备在接收到中继路径建立请求时,直接发起第一通信路径的建立过程;或者,When the third-party device receives the relay path establishment request, it directly initiates the establishment process of the first communication path; or,

第三方设备在接收到中继路径建立请求时,先判断自身与通信目标方之间是否已建立能够满足第一通信路径对应的QoS参数的通信路径,再确定第一通信路径,具体为:When the third-party device receives the relay path establishment request, it first judges whether a communication path that can satisfy the QoS parameters corresponding to the first communication path has been established between itself and the communication target party, and then determines the first communication path, specifically:

在确定自身与通信目标方之间已建立了能够满足第一通信路径对应的QoS参数的通信路径时,该第三方设备将该已建立的通信路径作为第一通信路径;进一步,该第三方设备在向通信发起方返回的中继路径建立回复中指示第一通信路径建立成功;When determining that a communication path capable of satisfying the QoS parameter corresponding to the first communication path has been established between itself and the communication target party, the third-party device regards the established communication path as the first communication path; further, the third-party device Indicating that the first communication path is established successfully in the relay path establishment reply returned to the communication initiator;

在确定自身与通信目标方之间已建立的通信路径不能满足第一通信路径对应的QoS参数,或者自身与通信目标方之间未建立任何通信路径时,第三方设备发起第一通信路径的建立过程。When it is determined that the communication path established between itself and the communication target party cannot meet the QoS parameters corresponding to the first communication path, or no communication path has been established between itself and the communication target party, the third-party device initiates the establishment of the first communication path process.

在实施中,步骤92中,第三方设备发起第一通信路径的建立过程,包括:In implementation, in step 92, the third-party device initiates the establishment process of the first communication path, including:

第三方设备向通信目标方发送第一连接建立请求,该第一连接建立请求用于请求与通信目标方建立第一通信路径,且该第一连接建立请求中携带自身的标识信息、第一通信路径对应的QoS参数以及自身为第一通信路径分配的传输资源(例如路径标识);以及The third-party device sends a first connection establishment request to the communication target party, the first connection establishment request is used to request establishment of a first communication path with the communication target party, and the first connection establishment request carries its own identification information, the first communication The QoS parameters corresponding to the path and the transmission resources (such as the path identifier) allocated by itself for the first communication path; and

该第三方设备根据通信目标方返回的第一连接建立回复中的指示信息,确定第一通信路径是否建立成功。The third-party device determines whether the first communication path is successfully established according to the indication information in the first connection establishment reply returned by the communication target party.

优选的,该第一连接建立请求还携带通信发起方的标识信息,以使通信目标方能够获知到将要与自身进行通信的通信设备的信息。Preferably, the first connection establishment request also carries identification information of the communication initiator, so that the communication target party can know the information of the communication device with which it will communicate.

在实施中,通信目标方在接收到第一连接建立请求后,根据预先设定的判断条件,判断自身是否能够接受该第一连接建立请求,具体的:In implementation, after receiving the first connection establishment request, the communication target party judges whether it can accept the first connection establishment request according to the preset judgment conditions, specifically:

若自身接受该第一连接建立请求,则该通信目标方在向第三方设备返回的第一连接建立回复中携带用于指示第一通信路径建立成功的指示信息以及自身为该第一通信路径分配的传输资源(如路径标识);If it accepts the first connection establishment request, the communication target party will return the first connection establishment reply to the third-party device to carry indication information indicating that the first communication path has been successfully established and the first communication path allocated by itself. transmission resources (such as path identification);

若自身不接受该第一连接建立请求,则该通信目标方在向该第三方设备返回的第一连接建立回复中携带用于指示第一通信路径建立失败的指示信息;优选的,该第一连接建立回复中还携带该第一通信路径建立失败的原因。If the first connection establishment request is not accepted by itself, the communication target party carries indication information indicating that the establishment of the first communication path fails in the first connection establishment reply returned to the third-party device; preferably, the first The connection establishment reply also carries the reason why the first communication path fails to be established.

在实施中,预先设定的判断条件包括以下一项或组合:In implementation, the pre-set judgment conditions include one or a combination of the following:

预先设定的用户喜好、自身当前的处理负荷、以及自身接收到通信设备的信号的强度。Pre-set user preferences, own current processing load, and the strength of the signal received by itself from the communication device.

举例说明,预先设定的用户喜好可以指示该通信目标方能够与任意通信设备建立通信路径,也可以指示该通信目标方能够与指定的通信设备建立通信路径,还可以指示该通信目标方不能与任一通信设备建立通信路径。For example, the preset user preferences may indicate that the communication target party can establish a communication path with any communication device, or indicate that the communication target party can establish a communication path with a specified communication device, or indicate that the communication target party cannot establish a communication path with a specified communication device. Either communication device establishes a communication path.

举例说明,通信目标方根据自身当前的处理负荷,判断自身是否接受该连接建立请求,具体包括:For example, the communication target party judges whether it accepts the connection establishment request according to its current processing load, including:

若该通信目标方当前的处理负荷过重,即该通信目标方当前的处理负荷超过设定的阈值(如该通信目标方已连接了超过设定数量的通信设备;又如,通信目标方当前的CPU使用率超过设定的阈值),则确定自身不能接受该连接建立请求;If the current processing load of the communication target party is too heavy, that is, the current processing load of the communication target party exceeds the set threshold (such as the communication target party has connected more than the set number of communication devices; If the CPU usage exceeds the set threshold), it determines that it cannot accept the connection establishment request;

若该通信目标方当前的处理负荷未超过该设定的阈值,则确定自身能够接受该连接建立请求。If the current processing load of the communication target party does not exceed the set threshold, it determines that it can accept the connection establishment request.

需要说明的是,若该通信目标方当前的处理负荷过重,如果此时该通信目标方再接受本次连接建立请求,则将大大影响该通信目标方的处理性能。It should be noted that if the current processing load of the communication target party is too heavy, if the communication target party accepts this connection establishment request at this time, the processing performance of the communication target party will be greatly affected.

举例说明,该通信目标方根据自身接收到第三方设备的信号的强度,判断自身是否能够接受该连接建立请求,具体包括:For example, the communication target party judges whether it can accept the connection establishment request according to the strength of the signal it receives from the third-party device, specifically including:

若该通信目标方根据自身接收到第三方设备的信号的强度不小于设定阈值,则确定自身能够接受本次连接建立请求;If the communication target party receives the signal strength of the third-party device not less than the set threshold, it determines that it can accept the connection establishment request;

若该通信目标方根据自身接收到第三方设备的信号的强度小于设定阈值,则确定自身不能接受本次连接建立请求。If the communication target party determines that the strength of the signal received by itself from the third-party device is less than the set threshold, it cannot accept the current connection establishment request.

需要说明的是,若该通信目标方根据自身接收到第三方设备的信号的强度小于设定阈值,如果此时该通信目标方再接受本次连接建立请求,则容易导致数据传输的不稳定。It should be noted that if the signal strength received by the communication target party from the third-party device is lower than the set threshold, if the communication target party accepts the connection establishment request at this time, it will easily lead to unstable data transmission.

在实施中,若第三方设备接收到的中继路径建立请求中还携带通信发起方的标识信息、第二通信路径对应的QoS参数以及通信发起方为第二通信路径分配的传输资源,则第三方设备确定第二通信路径建立,包括:In implementation, if the relay path establishment request received by the third-party device also carries the identification information of the communication initiator, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by the communication initiator for the second communication path, then the first The third-party device determines that the second communication path is established, including:

在第一通信路径建立成功之后,为自身与通信发起方之间的第二通信路径分配传输资源,并在向通信发起方返回的中继路径建立回复中携带用于指示该第二通信路径建立成功的指示信息以及自身为该第二通信路径分配的传输资源。After the first communication path is successfully established, it allocates transmission resources for the second communication path between itself and the communication initiator, and carries the information used to indicate the establishment of the second communication path in the relay path establishment reply returned to the communication initiator Success indication information and the transmission resources allocated by itself for the second communication path.

在实施中,若通信发起方向该第三方设备接发送了第二连接建立请求,则该方法还包括:In an implementation, if the communication initiator directly sends a second connection establishment request to the third-party device, the method further includes:

第三方设备接收该第二连接建立请求,该第二连接建立请求中携带通信发起方的标识信息、第二通信路径对应的QoS参数以及通信发起方为第二通信路径分配的传输资源(如路径标识);The third-party device receives the second connection establishment request, and the second connection establishment request carries identification information of the communication initiator, QoS parameters corresponding to the second communication path, and transmission resources allocated by the communication initiator for the second communication path (such as path logo);

若自身接受该第二连接建立请求,则第三方设备在向通信发起方返回的第二连接建立回复中携带用于指示第二通信路径建立成功的指示信息以及自身为第二通信路径分配的传输资源;If the third-party device accepts the second connection establishment request, the third-party device returns the second connection establishment reply to the communication initiator to carry indication information indicating that the second communication path is established successfully and the transmission allocated by itself for the second communication path. resource;

若自身不接受该第二连接建立请求,则第三方设备在该第二连接建立回复中携带用于指示第二通信路径建立失败的指示信息。If the third-party device does not accept the second connection establishment request, the third-party device carries indication information for indicating that the establishment of the second communication path fails in the second connection establishment reply.

优选的,若第二通信路径建立失败,则该第三方设备在第二连接建立回复中携带用于指示第二通信路径建立失败的指示信息以及失败原因。Preferably, if the establishment of the second communication path fails, the third-party device carries indication information for indicating that the establishment of the second communication path fails and a reason for the failure in the second connection establishment reply.

在实施中,第三方设备在接收到第二连接建立请求时,可以直接接受该第二连接建立请求,也可以根据设定的判断条件,判断是否接受该第二连接建立请求。In implementation, when the third-party device receives the second connection establishment request, it may directly accept the second connection establishment request, or may judge whether to accept the second connection establishment request according to a set judgment condition.

具体的,预先设定的判断条件包括以下一项或组合:Specifically, the pre-set judgment conditions include one or a combination of the following:

预先设定的用户喜好、自身当前的处理负荷、以及自身接收到通信设备的信号的强度。Pre-set user preferences, own current processing load, and the strength of the signal received by itself from the communication device.

需要说明的是,若第三方接收到的中继路径建立请求中未携带用于请求建立第二通信路径的相关信息(如通信发起方的标识信息、第二通信路径对应的QoS参数、通信发起方为第二通信路径分配的传输资源等),则第三方设备在完成第一通信路径的建立过程后,向该通信发起方返回中继路径建立回复,并在该中继路径建立回复中指示该第一通信路径是否建立成功;It should be noted that if the relay path establishment request received by the third party does not carry the relevant information used to request the establishment of the second communication path (such as the identification information of the communication originator, the QoS parameters corresponding to the second communication path, the communication initiation the transmission resources allocated by the party for the second communication path, etc.), then the third-party device returns a relay path establishment reply to the communication initiator after completing the establishment process of the first communication path, and indicates in the relay path establishment reply Whether the first communication path is established successfully;

若第三方接收到的中继路径建立请求中携带用于请求建立第二通信路径的相关信息,则第三方设备在完成第一通信路径及第二通信路径的建立过程后,向该通信发起方返回中继路径建立回复,并在该中继路径建立回复中指示该第一通信路径及第二通信路径是否建立成功。If the relay path establishment request received by the third party carries relevant information for requesting establishment of the second communication path, after the third party device completes the establishment process of the first communication path and the second communication path, it sends a request to the communication initiator Returning a relay path establishment reply, and indicating whether the first communication path and the second communication path are successfully established in the relay path establishment reply.

在实施中,若通信发起方确定第二通信路径为自身与第三方设备之间已建立的通信路径,则:In implementation, if the communication initiator determines that the second communication path is an established communication path between itself and the third-party device, then:

第三方设备根据接收到的通信发起方发送的通知,确定该已建立的通信路径;或者,The third-party device determines the established communication path according to the received notification sent by the communication initiator; or,

第三方设备根据接收到的中继路径建立请求,确定该已建立的通信路径。The third-party device determines the established communication path according to the received relay path establishment request.

需要说明的是,针对每一组通信双方(通信发起方与通信目标方),作为该通信双方之间的中继节点第三方设备,在确定了自身与通信目标方之间建立的第一通信路径以及自身与通信发起方之间建立的第二通信路径之后,存储每组第一通信路径与第二通信路径的对应关系,以使在接收到任一通信发起方通过任一第一通信路径发送的数据后,能够找到相应的第二通信路径,并将该数据转发给相应的通信目标方。It should be noted that, for each group of communication parties (communication initiator and communication target party), as the relay node between the communication parties, the third-party device determines the first communication established between itself and the communication target party After the path and the second communication path established between itself and the communication initiator, store the corresponding relationship between each group of first communication paths and second communication paths, so that when any communication initiator passes through any first communication path After the data is sent, the corresponding second communication path can be found, and the data is forwarded to the corresponding communication target party.

下面从通信发起方、通信目标方及与该通信发起方邻近的通信设备之间的交互对本发明提供的邻近通信的实现方法进行详细说明,以下实施例均以终端为通信发起方为例进行说明的,通信发起方为网络侧设备(如基站)的情况与此类似,此处不再一一举例说明。The implementation method of the proximity communication provided by the present invention will be described in detail from the interaction between the communication initiator, the communication target party and the communication device adjacent to the communication initiator. The following embodiments will all take the terminal as the communication initiator as an example for illustration. The case where the communication initiator is a network-side device (such as a base station) is similar, and examples are not described here.

实施例一、本实施例提供的邻近通信的实现方法包括:中继请求过程及中继路径建立过程;Embodiment 1. The proximity communication implementation method provided by this embodiment includes: a relay request process and a relay path establishment process;

1、通信发起方向与自身邻近且支持中继能力的通信设备发起的中继请求过程参见图10所示,包括以下步骤:1. Refer to Figure 10 for the relay request process initiated by a communication device that is adjacent to itself and supports relay capabilities, and includes the following steps:

步骤101、通信发起方向与自身邻近且支持中继能力的通信设备发送中继请求消息,该消息携带的参数是通信目标方的标识信息;Step 101, the communication initiator sends a relay request message to a communication device that is adjacent to itself and supports relay capability, and the parameter carried in the message is the identification information of the communication target party;

步骤102、该通信设备接收到中继请求消息之后,判断自身是否能够作为通信发起方与通信目标方之间的中继节点,并向通信发起方返回中继回复消息;具体的:Step 102. After receiving the relay request message, the communication device judges whether it can serve as a relay node between the communication initiator and the communication target, and returns a relay reply message to the communication initiator; specifically:

若该通信设备确定自身不能作为通信发起方与通信目标方之间的中继节点(例如该通信设备和通信目标方不邻近,或该通信设备和通信目标方邻近但其接收到的通信目标方的信号强度较弱可能导致通信链路不稳定,或该通信设备的处理器负荷过高,不能再建立新的通信路径),则该通信设备在返回的中继回复消息携带的参数为否;否则携带的参数为是。If the communication device determines that it cannot act as a relay node between the communication initiator and the communication target party (for example, the communication device is not adjacent to the communication target party, or the communication device is adjacent to the communication target party but it receives the communication target party The weak signal strength of the communication device may cause the communication link to be unstable, or the processor load of the communication device is too high to establish a new communication path), then the parameter carried by the communication device in the returned relay reply message is No; Otherwise, the parameter carried is yes.

相应的,通信发起方接收到该通信设备返回的中继回复消息之后,根据中继回复消息携带的参数不同,执行不同的操作;具体的:Correspondingly, after receiving the relay reply message returned by the communication device, the communication initiator performs different operations according to the parameters carried in the relay reply message; specifically:

若中继回复消息携带的参数为是,则表明该通信设备能够作为其与通信目标方之间的中继节点(即该通信设备为第三方设备),则该通信发起方发起中继路径建立过程;If the parameter carried in the relay reply message is yes, it indicates that the communication device can serve as a relay node between itself and the communication target party (that is, the communication device is a third-party device), and the communication initiator initiates the establishment of a relay path process;

若中继回复消息携带的参数为否,则表明该通信设备不能作为其与通信目标方之间的中继节点,则该通信发起方选择另外一个与自身邻近且支持中继能力的通信设备重新发起中继请求过程。If the parameter carried in the relay reply message is no, it indicates that the communication device cannot be used as a relay node between itself and the communication target party, and the communication initiator selects another communication device that is adjacent to itself and supports relay capabilities to re- Initiate the relay request process.

2、通信发起方向第三方设备发起的中继路径建立过程参见图11所示,包括以下步骤:2. The relay path establishment process initiated by the communication initiator to the third-party device is shown in Figure 11, including the following steps:

步骤111、通信发起方向第三方设备发送中继路径建立请求消息,该中继路径建立请求消息携带的参数为通信目标方的标识信息及第一通信路径对应的QoS参数;Step 111, the communication initiator sends a relay path establishment request message to the third-party device, and the parameters carried in the relay path establishment request message are the identification information of the communication target party and the QoS parameters corresponding to the first communication path;

步骤112、第三方设备接收到中继路径建立请求消息之后,发起通信路径建立过程(即第一通信路径的建立过程),具体为:Step 112: After receiving the relay path establishment request message, the third-party device initiates a communication path establishment process (that is, the establishment process of the first communication path), specifically:

若第三方设备与通信目标方已建立了能够满足该第一通信路径对应的QoS参数的通信路径,则将该已建立的通信路径作为第一通信路径;If the third-party device and the communication target party have established a communication path that can satisfy the QoS parameter corresponding to the first communication path, then use the established communication path as the first communication path;

若第三方设备与通信目标方已建立的通信路径不能满足该第一通信路径对应的QoS参数,或者未建立任何通信路径,则向通信目标方发起建立第一通信路径的过程,包括无线资源协商和分配、IP地址分配(可选)等过程;If the established communication path between the third-party device and the communication target party cannot meet the QoS parameters corresponding to the first communication path, or no communication path has been established, initiate the process of establishing the first communication path to the communication target party, including wireless resource negotiation And allocation, IP address allocation (optional) and other processes;

步骤113、该第三方设备根据第一通信路径的建立结果,向通信发起方返回中继路径建立回复消息,该中继路径建立回复消息携带的参数为成功或失败。Step 113: The third-party device returns a relay path establishment reply message to the communication initiator according to the establishment result of the first communication path, and the parameter carried in the relay path establishment reply message is success or failure.

如果参数为成功,则表明该通信设备和通信目标方之间已建立了第一通信路径;如果参数为失败,则表明该通信设备和通信目标方之间建立第一通信路径失败。If the parameter is successful, it indicates that the first communication path has been established between the communication device and the communication target party; if the parameter is failure, it indicates that the establishment of the first communication path between the communication device and the communication target party fails.

步骤114、通信发起方接收到中继路径建立回复消息之后,根据该消息携带的参数不同,执行不同的操作;具体为:Step 114, after the communication initiator receives the relay path establishment reply message, it performs different operations according to the parameters carried in the message; specifically:

若中继路径建立回复消息携带的参数为成功,则表明已成功地通过该通信设备建立了到通信目标方的第一通信路径,则通信发起方发起自身与第三方设备之间的第二通信路径的建立过程;If the parameter carried in the relay path establishment reply message is successful, it indicates that the first communication path to the communication target party has been successfully established through the communication device, and the communication initiator initiates the second communication between itself and the third party device Path establishment process;

若中继路径建立回复消息携带的参数为失败,则表明通过该通信设备建立通信路径失败,因此该通信设备不能作为此次通信的中继节点,则通信发起方选择另外一个与自身邻近且支持中继能力的通信设备重新发起中继请求过程。If the parameter carried in the relay path establishment reply message is failure, it indicates that the communication path has failed to be established through the communication device, so the communication device cannot be used as the relay node for this communication, and the communication initiator chooses another one that is adjacent to itself and supports The relay-capable communication device re-initiates the relay request procedure.

其中,通信发起方发起自身与第三方设备之间的第二通信路径的建立过程,具体为:Wherein, the communication initiator initiates the establishment process of the second communication path between itself and the third-party device, specifically:

通信发起方在确定自身与第三方设备之间已建立了能够满足第二通信路径对应的QoS参数的通信路径时,将该已建立的通信路径作为第二通信路径;When the communication initiator determines that a communication path capable of satisfying the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, the established communication path is used as the second communication path;

通信发起方在确定自身与第三方设备之间已建立的通信路径不能满足第二通信路径对应的QoS参数,或者自身与第三方设备之间未建立任何通信路径时,向第三方设备发送连接建立请求,该连接建立请求中携带自身的标识信息、第二通信路径对应的QoS参数以及自身为该第二通信路径分配的传输资源(例如路径标识);以及根据第三方设备返回的连接建立回复中携带的指示信息,确定第二通信路径是否建立成功。When the communication initiator determines that the established communication path between itself and the third-party device cannot meet the QoS parameters corresponding to the second communication path, or when no communication path has been established between itself and the third-party device, it sends a connection establishment message to the third-party device. Request, the connection establishment request carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources (such as path identification) allocated by itself for the second communication path; and according to the connection establishment reply returned by the third-party device The carrying instruction information determines whether the second communication path is established successfully.

进一步,步骤112中,该第三方设备与通信目标方之间建立新的通信路径(即第一通信路径)的过程,参见图12所示,包括:Further, in step 112, the process of establishing a new communication path (that is, the first communication path) between the third-party device and the communication target party, as shown in FIG. 12 , includes:

步骤121、该第三方设备向通信目标方发送连接建立请求消息,且携带的参数为通信发起方的标识信息(可选),自身的标识信息,第一通信路径对应的QoS参数以及自身为本通信分配的传输资源(如自身为此次建立的第一通信路径分配的标识);Step 121, the third-party device sends a connection establishment request message to the communication target party, and the parameters carried are the identification information of the communication initiator (optional), its own identification information, the QoS parameters corresponding to the first communication path, and the self-based The transmission resources allocated for communication (such as the identity allocated by itself for the first communication path established this time);

步骤122、通信目标方接收到连接建立请求消息之后,判断是否接受该连接建立请求,根据判断结果不同,通信目标方执行不同的操作,具体为:Step 122. After receiving the connection establishment request message, the communication target party judges whether to accept the connection establishment request. According to different judgment results, the communication target party performs different operations, specifically:

若不接受,则该通信目标方向该第三方设备返回连接建立回复消息,且携带的参数为失败,以及失败的原因(可选);If not accepted, the communication target returns a connection establishment reply message to the third-party device, and the parameters carried are failure and the reason for failure (optional);

若接受,则该通信目标方向该第三方设备返回连接建立回复消息,且携带的参数为成功以及通信对端为此次通信分配的传输资源(如通信目标方为此次建立的第一通信路径分配的标识)。If accepted, the communication target returns a connection establishment reply message to the third-party device, and the parameters carried are success and the transmission resource allocated by the communication peer for this communication (for example, the communication target is the first communication path established this time) assigned ID).

实施例二、本实施例是对实施例一的优化,在与通信发起方邻近且支持中继能力的第三方设备有多个时,可以采用本实施例的方法。Embodiment 2. This embodiment is an optimization of Embodiment 1. When there are multiple third-party devices adjacent to the communication initiator and supporting the relay capability, the method of this embodiment may be adopted.

本实施例中,通信发起方在本地已存储的与自身邻近的通信设备的信息中查找支持中继能力的通信设备,然后通信发起方根据其接收到的与自身邻近且支持中继能力的通信设备的信号强度的强弱,形成一个优先级列表,该优先级列表由上述与通信发起方邻近且支持中继能力的通信设备的标识信息组成,其中,通信发起方接收到的信号强度越强,相应通信设备的标识信息在该优先级列表中的优先级越高;In this embodiment, the communication initiator searches for a communication device that supports the relay capability in the locally stored information of the communication devices that are adjacent to itself, and then the communication initiator, based on the received communication that is adjacent to itself and supports the relay capability, The strength of the signal strength of the device forms a priority list, which is composed of the identification information of the above-mentioned communication devices that are adjacent to the communication initiator and support relay capabilities, wherein the stronger the signal strength received by the communication initiator , the higher the priority of the identification information of the corresponding communication device in the priority list;

如果该优先级列表为空,即与通信发起方邻近的通信设备都不支持中继能力,因此通信发起方无法与不邻近的通信目标方进行通信,通信发起方结束本次中继路径建立过程。If the priority list is empty, that is, the communication device adjacent to the communication initiator does not support the relay capability, so the communication initiator cannot communicate with the non-adjacent communication target party, and the communication initiator ends the relay path establishment process .

如果该优先级列表不为空,通信发起方按照优先级列表中各个通信设备的优先级顺序,从优先级最高的通信设备开始,依次执行中继请求过程及中继路径建立过程,直至通信发起方找到能够作为此次通信的中继节点为止,或直至通信发起方与该优先级列表中优先级最低的通信设备执行完上述过程之后也没有找到能够作为此次通信的中继节点为止。If the priority list is not empty, the communication initiator will execute the relay request process and relay path establishment process sequentially from the communication device with the highest priority according to the priority order of each communication device in the priority list until the communication initiates Until the party finds a relay node that can serve as this communication, or until the communication initiator and the communication device with the lowest priority in the priority list perform the above process and does not find a relay node that can serve as this communication.

本实施例提供的邻近通信的实现方法具体参见13所示,包括以下步骤:The implementation method of proximity communication provided in this embodiment refers to 13 for details, and includes the following steps:

步骤131、通信发起方向与自身邻近且支持中继能力的通信设备发送中继请求消息,该中继请求消息携带的参数是通信目标方的标识信息;Step 131: The communication initiator sends a relay request message to a communication device that is adjacent to itself and supports relay capability, and the parameter carried in the relay request message is the identification information of the communication target party;

步骤132、该通信设备接收到中继请求消息之后,首先判断自身是否能够作为通信发起方与通信目标方之间的中继节点,然后向通信发起方返回中继回复消息;Step 132: After receiving the relay request message, the communication device first judges whether it can serve as a relay node between the communication initiator and the communication target, and then returns a relay reply message to the communication initiator;

其中,根据该通信设备是否能够作为通信发起方与通信目标方之间的中继节点,中继回复消息中携带的参数不同;具体为:Among them, according to whether the communication device can be used as a relay node between the communication initiator and the communication target party, the parameters carried in the relay reply message are different; specifically:

如果该通信设备不能作为通信发起方与通信目标方之间的中继节点,则中继回复消息中携带的参数为否;如果该通信设备能够作为通信发起方与通信目标方之间的中继节点,则中继回复消息中携带的参数为是。If the communication device cannot be used as a relay node between the communication initiator and the communication target party, the parameter carried in the relay reply message is no; if the communication device can be used as a relay node between the communication initiator and the communication target party node, the parameter carried in the relay reply message is Yes.

步骤133、当通信发起方接收到中继回复消息之后,根据该中继回复消息携带的参数不同,通信发起方执行不同的操作;具体为:Step 133. After the communication initiator receives the relay reply message, according to the different parameters carried in the relay reply message, the communication initiator performs different operations; specifically:

如果中继回复消息携带的参数为否,则通信发起方判断该通信设备的优先级是否在该优先级列表中最低,根据判断结果不同,通信发起方执行不同的操作:如果是,则表明通信发起方没有找到能够作为其与通信目标方之间的中继节点,并结束处理过程;如果不是,则通信发起方按照优先级从高到低的顺序,从优先级列表中选择下一个通信设备,并向当前选择的通信设备发起中继请求过程;If the parameter carried in the relay reply message is no, the communication initiator judges whether the priority of the communication device is the lowest in the priority list. Depending on the judgment result, the communication initiator performs different operations: if yes, it indicates communication The initiator fails to find a relay node between itself and the communication target, and ends the processing; if not, the communication initiator selects the next communication device from the priority list in order of priority from high to low , and initiate a relay request process to the currently selected communication device;

如果中继回复消息携带的参数为是,则通信发起方向该通信设备(即第三方设备)发送中继路径建立请求消息,该中继路径建立请求消息携带的参数为通信目标方的标识信息。If the parameter carried in the relay reply message is yes, the communication initiator sends a relay path establishment request message to the communication device (that is, the third-party device), and the parameter carried in the relay path establishment request message is the identification information of the communication target party.

步骤134、该通信设备接收到中继路径建立请求消息之后,首先判断其与通信目标方之间是否已建立了通信路径,如果已建立,则直接执行步骤135;如果未建立,则发起其与通信目标方之间的通信路径建立过程,具体包括无线资源协商和分配、IP地址分配(可选)等过程。Step 134, after the communication device receives the relay path establishment request message, it first judges whether a communication path has been established between it and the communication target party, if established, then directly execute step 135; The process of establishing a communication path between communication targets, specifically including wireless resource negotiation and allocation, IP address allocation (optional), and other processes.

步骤135、该通信设备根据其与通信目标方之间建立通信路径的结果,向通信发起方返回中继路径建立回复消息,该中继路径建立回复消息携带的参数为成功或失败;具体的:Step 135, the communication device returns a relay path establishment reply message to the communication initiator according to the result of establishing a communication path between it and the communication target party, and the parameter carried in the relay path establishment reply message is success or failure; specifically:

如果该中继路径建立回复消息携带的参数为成功,则表明该通信设备和通信目标方之间已建立了通信路径;If the parameter carried in the relay path establishment reply message is successful, it indicates that a communication path has been established between the communication device and the communication target party;

如果该中继路径建立回复消息携带的参数为失败,则表明该通信设备和通信目标方之间建立通信路径失败。If the parameter carried in the relay path establishment reply message is failure, it indicates that the establishment of the communication path between the communication device and the communication target party fails.

相应的,通信发起方接收到中继路径建立回复消息之后,根据该中继路径建立回复消息携带的参数不同,通信发起方执行不同的操作;具体为:Correspondingly, after the communication initiator receives the relay path establishment reply message, the communication initiator performs different operations according to the parameters carried in the relay path establishment reply message; specifically:

如果该中继路径建立回复消息携带的参数为成功,则表明通信发起方找到能够作为此次通信的中继节点;If the parameter carried in the relay path establishment reply message is successful, it indicates that the communication initiator has found a relay node that can serve as this communication;

如果该中继路径建立回复消息携带的参数为失败,则通信发起方判断该通信设备的优先级是否在优先级列表中最低,根据判断结果不同,通信发起方执行不同的操作,具体为:如果是,则表明通信发起方没有找到能够作为本次通信的中继节点,并结束处理过程;如果不是,则通信发起方按照优先级从高到低的顺序,从优先级列表中选择下一个通信设备,并向当前选择的通信设备发起中继请求过程及中继路径建立过程。If the parameter carried in the relay path establishment reply message is failure, the communication initiator judges whether the priority of the communication device is the lowest in the priority list. Depending on the judgment result, the communication initiator performs different operations, specifically: if Yes, it means that the communication initiator has not found a relay node that can serve as this communication, and ends the processing; if not, the communication initiator selects the next communication from the priority list in order of priority from high to low device, and initiate a relay request process and a relay path establishment process to the currently selected communication device.

实施例三、本实施例也是对实施例一的优化,在与通信发起方邻近且支持中继能力的通信设备有多个时,也可以采用本实施例的方法。Embodiment 3. This embodiment is also an optimization of Embodiment 1. When there are multiple communication devices that are adjacent to the communication initiator and support relay capabilities, the method of this embodiment may also be used.

本实施例中,通信发起方从本地已存储的与自身邻近的通信设备的信息中,查找支持中继能力的通信设备,然后通信发起方向每个与自身邻近且支持中继能力的通信设备发起中继请求过程,获得支持中继能力的通信设备中能够作为自身与通信目标方之间的中继节点的通信设备(即返回的中继回复消息携带的参数为是的通信设备);In this embodiment, the communication initiator searches for a communication device that supports the relay capability from the locally stored information of the communication devices that are adjacent to itself, and then initiates the communication to each communication device that is adjacent to itself and supports the relay capability. In the relay request process, among the communication devices that support the relay capability, the communication devices that can serve as the relay nodes between themselves and the communication target party (that is, the communication devices that return the relay reply message with the parameter Yes);

通信发起方根据接收到的能够作为自身与通信目标方之间的中继节点的通信设备的信号强度的强弱,形成一个优先级列表,该优先级列表由能够作为自身与通信目标方之间的中继节点的通信设备的标识信息组成,标识信息在列表中的优先级越高,说明通信发起方接收到的该标识信息所代表的通信设备的信号强度越强;进一步,如果该优先级列表为空,即不存在能够作为自身与通信目标方之间的中继节点的通信设备,通信发起方结束处理过程;如果该优先级列表不为空,通信发起方按照优先级从高到低的顺序,从优先级列表中选择一个通信设备,并针对当前选择的通信设备,执行下述中继路径建立过程:The communication initiator forms a priority list according to the received signal strength of the communication device that can serve as a relay node between itself and the communication target party. Composed of the identification information of the communication equipment of the relay node, the higher the priority of the identification information in the list, the stronger the signal strength of the communication equipment represented by the identification information received by the communication initiator; further, if the priority If the list is empty, that is, there is no communication device that can serve as a relay node between itself and the communication target, the communication initiator ends the processing; if the priority list is not empty, the communication initiator proceeds from high to low priority Select a communication device from the priority list, and execute the following relay path establishment process for the currently selected communication device:

通信发起方根据该中继路径建立过程的结果不同,执行不同的操作;具体为:The communication initiator performs different operations according to the result of the relay path establishment process; specifically:

如果中继路径建立过程成功(即第一通信路径及第二通信路径建立成功),则该通信设备即为通信发起方选择的充当此次通信的中继节点;If the relay path establishment process is successful (that is, the first communication path and the second communication path are successfully established), the communication device is the relay node selected by the communication initiator to act as the communication;

如果中继路径建立过程失败(即第一通信路径和/或第二通信路径建立失败),则通信发起方判断该通信设备在优先级列表中的优先级是否为最低,如果是,则说明不存在能够充当此次通信的中继节点,通信发起方结束处理过程;如果不是,则通信发起方按照优先级从高到低的顺序,从优先级列表中选择下一个通信设备,并向当前选择的通信设备发起中继路径建立过程。If the relay path establishment process fails (that is, the establishment of the first communication path and/or the second communication path fails), the communication initiator judges whether the priority of the communication device in the priority list is the lowest, and if so, it indicates no There is a relay node that can act as this communication, and the communication initiator ends the processing; if not, the communication initiator selects the next communication device from the priority list in order of priority from high to low, and sends the current selected The communication device initiates a process of establishing a relay path.

实施例四、本实施例介绍的是通信发起方(本实施例中为UE1)获取与自身邻近的通信设备以及其是否支持中继能力的过程。本实施例的场景参见图14所示,其中:Embodiment 4. This embodiment introduces a process for a communication initiator (UE1 in this embodiment) to obtain a communication device adjacent to itself and whether it supports a relay capability. The scene of this embodiment is shown in Figure 14, where:

与UE1邻近的通信设备包括UE2、UE3和UE4;The communication devices adjacent to UE1 include UE2, UE3 and UE4;

与UE2邻近的通信设备包括UE1和UE5;The communication devices adjacent to UE2 include UE1 and UE5;

支持中继能力的通信设备为UE1、UE2、UE4。The communication devices supporting the relay capability are UE1, UE2, and UE4.

本实施例中,UE1获取与自身邻近的通信设备及其是否支持中继能力的过程参见图15所示,包括:In this embodiment, the process for UE1 to acquire the communication devices adjacent to itself and whether it supports relay capability is shown in Figure 15, including:

步骤151、UE1广播邻近发现消息,该邻近发现消息携带的参数为UE1的标识信息;Step 151, UE1 broadcasts a proximity discovery message, and the parameter carried in the proximity discovery message is the identification information of UE1;

优选的,通信设备的标识信息具有全球唯一性,可以是运营商专为邻近通信设置的标识信息,也可以重用现有标准中定义的标识信息;Preferably, the identification information of the communication device is globally unique, and may be identification information specially set by the operator for proximity communication, or identification information defined in existing standards may be reused;

相应的,与UE1邻近的UE2、UE3、UE4接收到UE1的广播消息之后,分别向UE1返回邻近回复消息,根据自身支持中继的能力不同,其返回的邻近回复消息携带的参数不同,具体为:Correspondingly, after receiving UE1's broadcast message, UE2, UE3, and UE4 adjacent to UE1 return proximity reply messages to UE1 respectively. Depending on their own relay support capabilities, the parameters carried in the returned proximity reply messages are different. Specifically, :

步骤152a、UE2返回的邻近回复消息携带的参数为UE2的标识以及用于表明UE2支持中继能力的指示信息;Step 152a, the parameters carried in the proximity reply message returned by UE2 are the identity of UE2 and the indication information used to indicate that UE2 supports the relay capability;

步骤152b、UE3返回的邻近回复消息携带的参数为UE3的标识;(由于UE3不支持中继能力,因此UE3可以不在该邻近回复消息中携带任何指示信息,或者可以在邻近回复消息中携带用于表明自身不支持中继能力的指示信息);Step 152b, the parameter carried in the proximity reply message returned by UE3 is the identity of UE3; (Since UE3 does not support the relay capability, UE3 may not carry any indication information in the proximity reply message, or may carry in the proximity reply message for indicates that it does not support the relay capability);

步骤152c、UE4返回的邻近回复消息携带的参数为UE4的标识以及用于表明UE4支持中继功能的指示信息。In step 152c, the parameters carried in the proximity reply message returned by UE4 are the identity of UE4 and indication information for indicating that UE4 supports the relay function.

相应的,UE1接收到UE2、UE3和UE4的邻近回复消息之后,UE1在本地存储与之邻近的通信设备的信息(包括标识信息以及是否支持中继能力的信息);Correspondingly, after UE1 receives the proximity reply messages from UE2, UE3, and UE4, UE1 locally stores the information of the communication devices adjacent to it (including identification information and information about whether it supports relay capability);

例如,UE1本地存储的与之邻近的通信设备的信息的一种实现形式为:<UE2的标识信息,支持中继能力>、<UE3的标识信息>、<UE4的标识信息,支持中继能力>;又如,另一种实现形式为:<UE2的标识信息,支持中继能力>、<UE3的标识信息,不支持中继能力>、<UE4的标识信息,支持中继能力>。For example, an implementation form of the information of the adjacent communication devices stored locally by UE1 is: <identification information of UE2, supporting relay capability>, <identification information of UE3>, <identification information of UE4, supporting relay capability >; Another example, another implementation form is: <identification information of UE2, supports relay capability>, <identification information of UE3, does not support relay capability>, <identification information of UE4, supports relay capability>.

优选的,UE1还可以根据接收到UE2、UE3和UE4的信号强度的强弱,形成优先级列表;Preferably, UE1 can also form a priority list according to the received signal strengths of UE2, UE3 and UE4;

举例说明,假设接收到各通信设备的信号强度为:UE3>UE2>UE4,则形成的优先级列表可以为:(UE3的标识信息,优先级1;UE2的标识信息,支持中继能力,优先级2;UE4的标识信息,支持中继能力,优先级3);还可以为:(UE3的标识信息,不支持中继能力,优先级1;UE2的标识信息,支持中继能力,优先级2;UE4的标识信息,支持中继能力,优先级3)。For example, assuming that the received signal strength of each communication device is: UE3>UE2>UE4, then the priority list formed can be: (identification information of UE3, priority 1; identification information of UE2, supporting relay capability, priority Level 2; identification information of UE4, supports relay capability, priority 3); can also be: (identification information of UE3, does not support relay capability, priority 1; identification information of UE2, supports relay capability, priority 2; UE4 identification information, support relay capability, priority 3).

实施例五、本实施例是对实施例四的优化,基于实施例四的场景描述,UE1希望与UE5通信,但由于UE1与UE5不邻近,UE1需要从与之邻近且支持中继能力的通信设备中选择一个作为此次通信的中继节点。Embodiment 5. This embodiment is an optimization of Embodiment 4. Based on the description of the scenario in Embodiment 4, UE1 wishes to communicate with UE5, but since UE1 and UE5 are not adjacent, UE1 needs to communicate from a nearby communication device that supports relay capabilities. One of the devices is selected as the relay node for this communication.

本实施例中,UE1从本地存储的信息中得知与之邻近的通信设备包括UE2、UE3和UE4,其中UE2和UE4支持中继能力。UE1根据其接收到的信号强度形成一个优先级列表。本实施例中,假设UE1接收到的UE2的信号强度高于其接收到的UE4的信号强度,因此,UE1形成的优先级列表为(UE2的标识,优先级1;UE4的标识,优先级2),其中,代表优先级的数字越小说明相应的优先级越高。In this embodiment, UE1 learns from locally stored information that its adjacent communication devices include UE2, UE3, and UE4, where UE2 and UE4 support the relay capability. UE1 forms a priority list according to its received signal strength. In this embodiment, it is assumed that the signal strength of UE2 received by UE1 is higher than the signal strength of UE4 received by UE1, therefore, the priority list formed by UE1 is (identity of UE2, priority 1; identity of UE4, priority 2 ), where the smaller the number representing the priority, the higher the corresponding priority.

本实施例中,UE1首先与UE2进行交互,具体的交互过程参见图16所示,包括:In this embodiment, UE1 first interacts with UE2, and the specific interaction process is shown in Figure 16, including:

步骤161、UE1向UE2发送中继请求消息,且携带的参数为UE5的标识信息;Step 161, UE1 sends a relay request message to UE2, and the carried parameter is the identification information of UE5;

步骤162、由于UE2与UE5邻近,UE2向UE1返回中继回复消息,且携带的参数为是;Step 162, since UE2 is adjacent to UE5, UE2 returns a relay reply message to UE1, and the carried parameter is Yes;

步骤163、UE1向UE2发送中继路径建立请求消息,且携带的参数为UE5的标识信息及相应的QoS参数;Step 163, UE1 sends a relay path establishment request message to UE2, and the parameters carried are the identification information of UE5 and the corresponding QoS parameters;

步骤164、由于UE2在接收到UE1发送的中继路径建立请求消息之前,UE2和UE5之间没有进行邻近通信,即UE2和UE5之间不存在通信路径,则:UE2在自身与UE5之间建立通信路径;Step 164: Since there is no proximity communication between UE2 and UE5 before UE2 receives the relay path establishment request message sent by UE1, that is, there is no communication path between UE2 and UE5, then: UE2 establishes between itself and UE5 communication path;

步骤165、UE2和UE5之间通信路径建立成功之后,UE2向UE1返回中继路径建立回复消息,且携带的参数为成功。In step 165, after the communication path between UE2 and UE5 is successfully established, UE2 returns a relay path establishment reply message to UE1, and the carried parameter is success.

相应的,UE1接收到UE2返回的中继路径建立回复消息之后,由于UE1确定UE2和UE5之间通信路径建立成功,则UE1判断自身与UE2之间是否已建立能满足自身与UE5之间的通信要求(即QoS参数)的通信路径,根据判断结果,执行相应的操作,具体为:Correspondingly, after UE1 receives the relay path establishment reply message returned by UE2, since UE1 determines that the communication path between UE2 and UE5 is successfully established, UE1 judges whether the communication path between itself and UE2 has been established to satisfy the communication between itself and UE5. Requirements (that is, QoS parameters) of the communication path, according to the judgment result, perform the corresponding operation, specifically:

若是,则UE1通过自身和UE2之间已建立的通信路径以及UE2和UE5之间建立的通信路径,与UE5进行数据传输;If so, UE1 performs data transmission with UE5 through the communication path established between itself and UE2 and the communication path established between UE2 and UE5;

若否,则UE1在自身与UE2之间建立通信路径,进一步,UE1通过自身和UE2之间建立的通信路径以及UE2和UE5之间建立的通信路径,与UE5进行数据传输。If not, UE1 establishes a communication path between itself and UE2, and further, UE1 performs data transmission with UE5 through the communication path established between itself and UE2 and the communication path established between UE2 and UE5.

实施例六、本实施例的场景同实施五,区别在于本实施例描述的是UE1选择UE2作为自身与UE5之间的中继节点失败的场景。Embodiment 6. The scenario of this embodiment is the same as that of Embodiment 5, except that this embodiment describes a scenario where UE1 fails to select UE2 as a relay node between itself and UE5.

UE1形成的优先级列表为(UE2的标识信息,优先级1;UE4的标识信息,优先级2),UE1首先与UE2进行交互,具体的交互过程同实施例五中的描述,区别在于:由于UE2和UE5之间的信号质量过差,步骤164中的通信路径建立过程失败,此时UE2向UE1返回的中继路径建立回复消息携带的参数为失败,因此UE1通过UE2建立通信路径失败,UE2不能作为UE1和UE5之间的中继节点。The priority list formed by UE1 is (identification information of UE2, priority 1; identification information of UE4, priority 2), UE1 first interacts with UE2, and the specific interaction process is the same as that described in Embodiment 5, the difference is that: The signal quality between UE2 and UE5 is too poor, and the communication path establishment process in step 164 fails. At this time, the parameter carried in the relay path establishment reply message returned by UE2 to UE1 is failure, so UE1 fails to establish a communication path through UE2, and UE2 It cannot be used as a relay node between UE1 and UE5.

由于优先级列表中UE4的优先级仅次于UE2的优先级,所以UE1在确定通过UE2建立通信路径失败后,选择与UE4进行交互,具体过程参见图17所示,包括:Since the priority of UE4 in the priority list is only second to that of UE2, UE1 chooses to interact with UE4 after determining that the communication path through UE2 fails to be established. The specific process is shown in Figure 17, including:

步骤171、UE1向UE4发送中继请求消息,且携带的参数为UE5的标识信息;Step 171, UE1 sends a relay request message to UE4, and the carried parameter is the identification information of UE5;

步骤172、由于UE4与UE5不邻近,因此UE4向UE1返回中继回复消息,且携带的参数为否;Step 172, since UE4 is not adjacent to UE5, UE4 returns a relay reply message to UE1, and the carried parameter is No;

相应的,UE1接收到UE4返回的中继回复消息后,确定UE4不能作为自身与UE5之间的中继节点,此时UE1判断UE4的优先级是否在优先级列表中最低。本实施例中,由于判断结果为是,则表明UE1没有找到能够作为此次通信的中继节点,所以UE1无法与UE5进行通信。Correspondingly, after UE1 receives the relay reply message returned by UE4, it determines that UE4 cannot be used as a relay node between itself and UE5. At this time, UE1 judges whether the priority of UE4 is the lowest in the priority list. In this embodiment, since the judgment result is yes, it indicates that UE1 has not found a relay node that can serve as the communication for this time, so UE1 cannot communicate with UE5.

实施例七、本实施例是对实施例四的优化,基于实施例四的场景描述,UE1在本地存储与之邻近的通信设备的信息为:<UE2的标识信息,支持中继能力>、<UE3的标识信息>、<UE4的标识信息,支持中继能力>。Embodiment 7. This embodiment is an optimization of Embodiment 4. Based on the scenario description of Embodiment 4, UE1 locally stores the information of the adjacent communication devices as: <identification information of UE2, supporting relay capability>, < Identification information of UE3>, <identification information of UE4, supporting relay capability>.

本实施例中,UE1希望与UE5进行通信,UE1首先获得能够作为其与UE5之间通信的中继节点的信息。UE1分别向UE2和UE4发起中继请求过程(可以并行执行,也可以顺序执行);In this embodiment, UE1 wishes to communicate with UE5, UE1 first obtains information that can be used as a relay node for communication between UE1 and UE5. UE1 initiates a relay request process to UE2 and UE4 respectively (can be executed in parallel or sequentially);

根据场景描述可知:UE4和UE5不邻近,UE2和UE5邻近,因此,UE4向UE1返回的中继回复消息携带的参数为否;UE2向UE1返回的中继回复消息携带的参数为是;According to the scenario description, it can be seen that UE4 and UE5 are not adjacent, and UE2 and UE5 are adjacent. Therefore, the parameter carried in the relay reply message returned by UE4 to UE1 is No; the parameter carried in the relay reply message returned by UE2 to UE1 is Yes;

UE1向UE2发起中继路径建立过程,若建立结果为成功(即UE2与UE5之间的通信路径建立成功,且UE1与UE2之间的通信路径建立成功),则UE2即为UE1选择的用于此次其与UE5之间通信的中继节点,进一步,UE1可以通过自身和UE2之间的通信路径以及UE2和UE5之间的通信路径,与UE5进行数据的传输。UE1 initiates the process of establishing a relay path to UE2. If the establishment result is successful (that is, the communication path between UE2 and UE5 is successfully established, and the communication path between UE1 and UE2 is successfully established), UE2 is the relay path selected by UE1. The relay node communicating with UE5 this time, further, UE1 can perform data transmission with UE5 through the communication path between itself and UE2 and the communication path between UE2 and UE5.

实施例八、本实施例中,通信发起方在与eNodeB1通信的过程中移动出了网络覆盖,通信发起方可以通过中继与eNodeB1通信。Embodiment 8 In this embodiment, the communication initiator moves out of the network coverage during the process of communicating with the eNodeB1, and the communication initiator can communicate with the eNodeB1 through a relay.

通信发起方向支持中继功能且与之邻近的通信设备发送中继请求消息,且携带参数是eNodeB1的标识信息;The communication initiator sends a relay request message to a communication device that supports the relay function and is adjacent to it, and the carrying parameter is the identification information of eNodeB1;

与该通信发起方邻近的通信设备在接收到该中继请求消息时,判断当前自身邻近的eNodeB(如该通信设备当前驻留的eNodeB或者与该通信设备连接的eNodeB)的标识信息是否和中继请求消息中的eNodeB1的标识信息相同,根据判断结果的不同,在向通信发起方返回的中继回复消息携带的参数不同;具体为:如果相同,则该通信设备向通信发起方返回的中继回复消息携带的参数为是;如果不同,则该通信设备向通信发起方返回的中继回复消息携带的参数为否。When the communication device adjacent to the communication initiator receives the relay request message, it judges whether the identification information of the eNodeB currently adjacent to itself (such as the eNodeB where the communication device currently resides or is connected to the communication device) is consistent with The identification information of eNodeB1 in the relay request message is the same, and according to the different judgment results, the parameters carried in the relay reply message returned to the communication initiator are different; specifically: if they are the same, the communication device returns the relay reply message to the communication initiator. The parameter carried in the relay reply message is yes; if different, the parameter carried in the relay reply message returned by the communication device to the communication initiator is no.

相应的,该通信发起方根据接收到的中继回复消息携带的参数,执行不同操作,具体为:Correspondingly, the communication initiator performs different operations according to the parameters carried in the received relay reply message, specifically:

若该中继回复消息携带的参数为是,则该通信发起方确定发送该中继回复消息的通信设备能够作为此次通信的中继节点,并通过该通信设备向eNodeB1发送数据;If the parameter carried in the relay reply message is yes, the communication initiator determines that the communication device that sent the relay reply message can be used as a relay node for this communication, and sends data to eNodeB1 through the communication device;

若该中继回复消息携带的参数为否,则该通信发起方确定发送该中继回复消息的通信设备不能作为此次通信的中继节点,并选择下一个通信设备进行交互,其过程如上述描述。If the parameter carried in the relay reply message is no, the communication initiator determines that the communication device that sent the relay reply message cannot be used as a relay node for this communication, and selects the next communication device to interact with, and the process is as described above describe.

上述方法处理流程可以用软件程序实现,该软件程序可以存储在存储介质中,当存储的软件程序被调用时,执行上述方法步骤。The processing flow of the above method can be realized by a software program, and the software program can be stored in a storage medium, and when the stored software program is invoked, the steps of the above method are executed.

基于同一发明构思,本发明实施例中还提供了一种通信设备,由于该通信设备解决问题的原理与上述图8所示的方法相似,因此该通信设备的实施可以参见图8所示的方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a communication device. Since the problem-solving principle of the communication device is similar to the method shown in FIG. 8 above, the implementation of the communication device can refer to the method shown in FIG. 8 The implementation of this method will not be repeated here.

参见图18所示,本发明实施例提供了一种通信设备,包括:Referring to Figure 18, an embodiment of the present invention provides a communication device, including:

处理模块181,用于在确定与通信目标方不邻近后,向能够作为自身与通信目标方之间的中继节点的第三方设备发送中继路径建立请求,该中继路径建立请求用于发起第三方设备与通信目标方之间的第一通信路径的建立过程,且该中继路径建立请求中至少携带通信目标方的标识信息以及第一通信路径对应的服务质量QoS参数;The processing module 181 is configured to send a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party after determining that it is not adjacent to the communication target party, and the relay path establishment request is used to initiate The establishment process of the first communication path between the third-party device and the communication target party, and the relay path establishment request carries at least the identification information of the communication target party and the quality of service QoS parameters corresponding to the first communication path;

通信模块182,用于在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过建立的第一通信路径以及第二通信路径,与通信目标方进行通信。The communication module 182 is configured to, after determining that the first communication path is successfully established and after determining the second communication path established between itself and the third-party device, communicate with the communication target party through the established first communication path and the second communication path communication.

在实施中,处理模块181根据以下步骤建立与第三方设备之间的第二通信路径:In implementation, the processing module 181 establishes the second communication path with the third-party device according to the following steps:

在确定第一通信路径建立成功后,直接向第三方设备发送连接建立请求,该连接建立请求用于请求在自身与第三方设备之间建立第二通信路径,且该连接建立请求中携带自身的标识信息、第二通信路径对应的QoS参数以及自身为第二通信路径分配的传输资源;以及根据第三方设备返回的连接建立回复中携带的指示信息,确定第二通信路径是否建立成功,并在确定第二通信路径建立成功后,从该连接建立回复中,获取第三方设备为第二通信路径分配的传输资源;或者,After determining that the first communication path is successfully established, directly send a connection establishment request to the third-party device, the connection establishment request is used to request the establishment of a second communication path between itself and the third-party device, and the connection establishment request carries its own Identification information, QoS parameters corresponding to the second communication path, and transmission resources allocated by itself for the second communication path; and according to the indication information carried in the connection establishment reply returned by the third-party device, determine whether the second communication path is established successfully, and then After determining that the second communication path is established successfully, obtain the transmission resources allocated by the third-party device for the second communication path from the connection establishment reply; or,

在确定第一通信路径建立成功,且确定自身与第三方设备之间已建立的通信路径均不能满足第二通信路径对应的QoS参数或者自身与第三方设备之间未建立任何通信路径时,向第三方设备发送连接建立请求,该连接建立请求用于请求在自身与第三方设备之间建立第二通信路径,且该连接建立请求中携带自身的标识信息、第二通信路径对应的QoS参数以及自身为第二通信路径分配的传输资源;以及根据第三方设备返回的连接建立回复中携带的指示信息,确定第二通信路径是否建立成功,并在确定第二通信路径建立成功后,从该连接建立回复中,获取第三方设备为第二通信路径分配的传输资源。When it is determined that the first communication path is successfully established, and it is determined that none of the established communication paths between itself and the third-party device can meet the QoS parameters corresponding to the second communication path or no communication path is established between itself and the third-party device, send The third-party device sends a connection establishment request, the connection establishment request is used to request the establishment of a second communication path between itself and the third-party device, and the connection establishment request carries its own identification information, QoS parameters corresponding to the second communication path, and The transmission resources allocated by itself for the second communication path; and according to the indication information carried in the connection establishment reply returned by the third-party device, determine whether the second communication path is successfully established, and after determining that the second communication path is successfully established, from the connection In establishing the reply, the transmission resource allocated by the third-party device for the second communication path is obtained.

在实施中,处理模块181还用于:In implementation, the processing module 181 is also used for:

在向第三方设备发送中继路径建立请求时,还通过该中继路径建立请求发起第二通信路径的建立过程,该中继路径建立请求中还携带自身的标识信息以及第二通信路径对应的QoS参数;或者,When sending a relay path establishment request to a third-party device, the establishment process of the second communication path is also initiated through the relay path establishment request, and the relay path establishment request also carries its own identification information and the corresponding information of the second communication path. QoS parameters; or,

若在确定与通信目标方不邻近之后,确定自身与第三方设备之间已建立的通信路径不能满足第二通信路径对应的QoS参数,或者自身与第三方设备之间未建立任何通信路径,则在向第三方设备发送中继路径建立请求时,还通过该中继路径建立请求发起第二通信路径的建立过程,该中继路径建立请求中还携带自身的标识信息、第二通信路径对应的QoS参数以及自身为第二通信路径分配的传输资源。If after determining that it is not adjacent to the communication target party, it is determined that the established communication path between itself and the third-party device cannot satisfy the QoS parameter corresponding to the second communication path, or no communication path has been established between itself and the third-party device, then When sending a relay path establishment request to a third-party device, the establishment process of the second communication path is also initiated through the relay path establishment request, and the relay path establishment request also carries its own identification information, the QoS parameters and transmission resources allocated by itself for the second communication path.

在实施中,处理模块181还用于:In implementation, the processing module 181 is also used for:

若确定第一通信路径建立成功,且确定自身与第三方设备之间已建立了能够满足第二通信路径对应的QoS参数的通信路径,则将该已建立的通信路径作为第二通信路径,并通知第三方设备自身为该已建立的通信路径已分配的传输资源;或者,If it is determined that the first communication path is successfully established, and it is determined that a communication path that can satisfy the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, then the established communication path is used as the second communication path, and Notifying the third party device of its own allocated transmission resources for the established communication path; or,

若确定自身与第三方设备之间已建立了能够满足第二通信路径对应的QoS参数的通信路径,则在向第三方设备发送中继路径建立请求时,还通过该中继路径建立请求通知第三方设备自身为该已建立的通信路径已分配的传输资源。If it is determined that a communication path capable of satisfying the QoS parameters corresponding to the second communication path has been established between itself and the third-party device, when sending a relay path establishment request to the third-party device, the second party is also notified through the relay path establishment request The three-party device itself has allocated transmission resources for the established communication path.

基于同一发明构思,本发明实施例中还提供了一种通信设备,由于该通信设备解决问题的原理与上述图9所示的方法相似,因此该通信设备的实施可以参见图9所示的方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a communication device. Since the problem-solving principle of the communication device is similar to the method shown in FIG. 9 above, the implementation of the communication device can refer to the method shown in FIG. 9 The implementation of this method will not be repeated here.

参见图19所示,本发明实施例提供的一种通信设备,该通信设备能够作为通信发起方与通信目标方之间的中继节点,该通信设备包括:Referring to FIG. 19, a communication device provided by an embodiment of the present invention can serve as a relay node between a communication initiator and a communication target party. The communication device includes:

接收模块191,用于接收通信发起方发送的中继路径建立请求,该中继路径建立请求中至少携带通信目标方的标识信息以及请求在自身与通信目标方之间建立的第一通信路径对应的QoS参数;The receiving module 191 is configured to receive a relay path establishment request sent by the communication initiator, where the relay path establishment request at least carries the identification information of the communication target party and the first communication path requested to be established between itself and the communication target party QoS parameters;

路径建立模块192,用于确定自身与通信目标方之间建立的第一通信路径,以及自身与通信发起方之间建立的第二通信路径;Path establishment module 192, configured to determine the first communication path established between itself and the communication target party, and the second communication path established between itself and the communication initiator;

数据转发模块193,用于通过建立的第一通信路径以及第二通信路径,在通信发起方与通信目标方之间转发数据。The data forwarding module 193 is configured to forward data between the communication initiator and the communication target through the established first communication path and the second communication path.

在实施中,路径建立模块192具体用于:In implementation, the path establishment module 192 is specifically used for:

在确定第一通信路径以及第二通信路径之前,根据预先设定的判断条件,确定自身接受该中继路径建立请求。Before determining the first communication path and the second communication path, according to a preset judgment condition, it is determined that itself accepts the relay path establishment request.

在实施中,路径建立模块192根据以下步骤确定第一通信路径:In implementation, the path establishment module 192 determines the first communication path according to the following steps:

直接建立发起第一通信路径的建立过程;或者,directly establishing an establishment process that initiates the first communication path; or,

在确定自身与通信目标方之间已建立了能够满足第一通信路径对应的QoS参数的通信路径时,将已建立的通信路径作为第一通信路径;或者,When it is determined that a communication path capable of satisfying the QoS parameter corresponding to the first communication path has been established between itself and the communication target party, the established communication path is used as the first communication path; or,

在确定自身与通信目标方之间已建立的通信路径不能满足第一通信路径对应的QoS参数,或者自身与通信目标方之间未建立任何通信路径时,发起第一通信路径的建立过程。When it is determined that the established communication path between itself and the communication target party cannot meet the QoS parameters corresponding to the first communication path, or no communication path has been established between itself and the communication target party, initiate the establishment process of the first communication path.

在实施中,路径建立模块192发起第一通信路径的建立过程,包括:In an implementation, the path establishment module 192 initiates the establishment process of the first communication path, including:

向通信目标方发送第一连接建立请求,该第一连接建立请求用于请求与通信目标方建立第一通信路径,且该第一连接建立请求中携带自身的标识信息、第一通信路径对应的QoS参数以及自身为第一通信路径分配的传输资源;以及根据通信目标方返回的第一连接建立回复中的指示信息,确定第一通信路径是否建立成功,并在确定第一通信路径建立成功后,从该第一连接建立回复中,获取通信目标方为第一通信路径分配的传输资源。Sending a first connection establishment request to the communication target party, where the first connection establishment request is used to request to establish a first communication path with the communication target party, and the first connection establishment request carries its own identification information, the first communication path corresponding QoS parameters and the transmission resources allocated by itself for the first communication path; and according to the indication information in the first connection establishment reply returned by the communication target party, determine whether the first communication path is successfully established, and after determining that the first communication path is established successfully , from the first connection establishment reply, acquire the transmission resources allocated by the communication target party for the first communication path.

在实施中,路径建立模块192还用于:In implementation, the path establishment module 192 is also used for:

在将已建立的通信路径作为第一通信路径之后,向通信发起方返回中继路径建立回复,并在该中继路径建立回复中指示第一通信路径建立成功;或者,After using the established communication path as the first communication path, return a relay path establishment reply to the communication initiator, and indicate in the relay path establishment reply that the first communication path is established successfully; or,

在完成第一通信路径的建立过程之后,向通信发起方返回中继路径建立回复,并在中继路径建立回复中指示第一通信路径是否建立成功。After the establishment process of the first communication path is completed, a relay path establishment reply is returned to the communication initiator, and whether the first communication path is successfully established is indicated in the relay path establishment reply.

在实施中,路径建立模块192还用于:In implementation, the path establishment module 192 is also used for:

若接收模块191接收到的中继路径建立请求中还携带通信发起方的标识信息以及第二通信路径对应的QoS参数,则在第一通信路径建立成功后为该第二通信路径分配的传输资源,并在向通信发起方返回的中继路径建立回复中携带用于指示第二通信路径建立成功的指示信息以及自身为第二通信路径分配的传输资源。If the relay path establishment request received by the receiving module 191 also carries the identification information of the communication initiator and the QoS parameters corresponding to the second communication path, then the transmission resources allocated for the second communication path after the first communication path is successfully established , and carry the indication information for indicating that the second communication path is established successfully and the transmission resources allocated by itself for the second communication path in the relay path establishment reply returned to the communication initiator.

在实施中,接收模块191还用于:接收通信发起方发送的第二连接建立请求,第二连接建立请求中携带通信发起方的标识信息、第二通信路径对应的QoS参数以及通信发起方为第二通信路径分配的传输资源;In implementation, the receiving module 191 is also configured to: receive the second connection establishment request sent by the communication initiator, where the second connection establishment request carries the identification information of the communication initiator, the QoS parameter corresponding to the second communication path, and the communication initiator is transmission resources allocated by the second communication path;

处理模块192还用于:若自身接受该第二连接建立请求,则在向通信发起方返回的第二连接建立回复中携带用于指示第二通信路径建立成功的指示信息以及自身为第二通信路径分配的传输资源;若自身不接受该第二连接建立请求,则在第二连接建立回复中携带用于指示第二通信路径建立失败的指示信息。The processing module 192 is also configured to: if the second connection establishment request is accepted by itself, the second connection establishment reply returned to the communication originator carries indication information indicating that the second communication path is successfully established and that the second communication path itself is a second communication link. The transmission resource allocated by the path; if the second connection establishment request is not accepted by itself, the indication information for indicating the failure of the establishment of the second communication path is carried in the second connection establishment reply.

在实施中,若第二通信路径为通信发起方与第三方设备之间已建立的通信路径,则路径建立模块192还用于:In implementation, if the second communication path is an established communication path between the communication initiator and the third-party device, the path establishment module 192 is also used to:

根据接收到的通信发起方发送的通知,确定该已建立的通信路径;或者,Determine the established communication path according to the received notification sent by the communication initiator; or,

根据接收到的中继路径建立请求,确定该已建立的通信路径。Determine the established communication path according to the received relay path establishment request.

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

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

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

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (27)

1.一种邻近通信的实现方法,其特征在于,该方法包括:1. A method for implementing Proximity Communication, characterized in that the method comprises: 通信发起方在确定与通信目标方不邻近后,向能够作为自身与所述通信目标方之间的中继节点的第三方设备发送中继路径建立请求,所述中继路径建立请求用于发起所述第三方设备与所述通信目标方之间的第一通信路径的建立过程,且所述中继路径建立请求中至少携带所述通信目标方的标识信息以及所述第一通信路径对应的服务质量QoS参数;After the communication initiator determines that it is not adjacent to the communication target party, it sends a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party, and the relay path establishment request is used to initiate A process of establishing a first communication path between the third-party device and the communication target party, and the relay path establishment request at least carries the identification information of the communication target party and the corresponding information of the first communication path Quality of service QoS parameters; 所述通信发起方在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过所述第一通信路径以及所述第二通信路径,与所述通信目标方进行通信。After the communication initiator determines that the first communication path is established successfully and determines the second communication path established between itself and the third-party device, the communication initiator communicates with the communication path through the first communication path and the second communication path. The target party communicates. 2.如权利要求1所述的方法,其特征在于,所述通信发起方根据以下步骤建立与所述第三方设备之间的第二通信路径:2. The method according to claim 1, wherein the communication initiator establishes a second communication path with the third-party device according to the following steps: 所述通信发起方在确定所述第一通信路径建立成功后,向所述第三方设备发送连接建立请求,所述连接建立请求用于请求在自身与所述第三方设备之间建立第二通信路径,且所述连接建立请求中携带自身的标识信息、所述第二通信路径对应的QoS参数以及自身为所述第二通信路径分配的传输资源;The communication initiator sends a connection establishment request to the third-party device after determining that the first communication path is established successfully, and the connection establishment request is used to request establishment of a second communication between itself and the third-party device path, and the connection establishment request carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path; 所述通信发起方根据所述第三方设备返回的连接建立回复中携带的指示信息,确定所述第二通信路径是否建立成功,并在确定所述第二通信路径建立成功后,从所述连接建立回复中,获取所述第三方设备为所述第二通信路径分配的传输资源。The communication initiator determines whether the second communication path is successfully established according to the indication information carried in the connection establishment reply returned by the third-party device, and after determining that the second communication path is successfully established, from the connection In the establishment reply, the transmission resources allocated by the third-party device for the second communication path are acquired. 3.如权利要求2所述的方法,其特征在于,所述通信发起方在确定所述第一通信路径建立成功之后,且在向所述第三方设备发送连接建立请求之前,所述方法还包括:3. The method according to claim 2, wherein after the communication initiator determines that the first communication path is established successfully and before sending the connection establishment request to the third-party device, the method further include: 所述通信发起方确定自身与所述第三方设备之间已建立的通信路径均不能满足所述第二通信路径对应的QoS参数,或者自身与所述第三方设备之间未建立任何通信路径。The communication initiator determines that none of the communication paths established between itself and the third-party device can satisfy the QoS parameter corresponding to the second communication path, or no communication path is established between itself and the third-party device. 4.如权利要求1所述的方法,其特征在于,4. The method of claim 1, wherein, 所述通信发起方在向所述第三方设备发送所述中继路径建立请求时,还通过所述中继路径建立请求发起所述第二通信路径的建立过程,所述中继路径建立请求中还携带自身的标识信息、所述第二通信路径对应的QoS参数以及自身为所述第二通信路径分配的传输资源。When the communication initiator sends the relay path establishment request to the third-party device, it also initiates the process of establishing the second communication path through the relay path establishment request, and in the relay path establishment request It also carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path. 5.如权利要求4所述的方法,其特征在于,所述通信发起方在确定与所述通信目标方不邻近之后,且在发送所述中继路径建立请求之前,还包括:5. The method according to claim 4, wherein after the communication initiator determines that it is not adjacent to the communication target party and before sending the relay path establishment request, it further comprises: 所述通信发起方确定自身与所述第三方设备之间已建立的通信路径不能满足所述第二通信路径对应的QoS参数,或者自身与所述第三方设备之间未建立任何通信路径。The communication initiator determines that the communication path established between itself and the third-party device cannot satisfy the QoS parameter corresponding to the second communication path, or no communication path is established between itself and the third-party device. 6.如权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, further comprising: 所述通信发起方在确定所述第一通信路径建立成功,且确定自身与所述第三方设备之间已建立了能够满足所述第二通信路径对应的QoS参数的通信路径后,将所述已建立的通信路径作为所述第二通信路径,并通知所述第三方设备自身为所述已建立的通信路径已分配的传输资源;或者,After the communication initiator determines that the first communication path has been established successfully, and determines that a communication path that can satisfy the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, the communication initiator sends the The established communication path is used as the second communication path, and the third-party device itself is notified of the transmission resource allocated for the established communication path; or, 在确定自身与所述第三方设备之间已建立了能够满足所述第二通信路径对应的QoS参数的通信路径后,所述通信发起方在向所述第三方设备发送所述中继路径建立请求时,还通过所述中继路径建立请求通知所述第三方设备自身为所述已建立的通信路径已分配的传输资源。After determining that a communication path capable of satisfying the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, the communication initiator sends the relay path establishment to the third-party device When requesting, the third-party device is also notified of the transmission resource allocated for the established communication path by the relay path establishment request. 7.如权利要求1~6任一项所述的方法,其特征在于,若当前确定出的第三方设备的数量至少为两个,所述通信发起方向能够作为自身与所述通信目标方之间的中继节点的第三方设备发送中继路径建立请求包括:7. The method according to any one of claims 1-6, characterized in that, if the number of currently determined third-party devices is at least two, the communication initiation direction can be used as the link between itself and the communication target party. The relay path establishment request sent by the third-party device between the relay nodes includes: 所述通信发起方根据预设的各所述第三方设备的优先级,按照优先级从高到低的顺序,从所有所述第三方通信设备中,选择一个第三方设备,并向当前选择的第三方设备发送所述中继路径建立请求。The communication initiator selects a third-party device from all the third-party communication devices according to the preset priorities of the third-party devices in order of priority from high to low, and sends a report to the currently selected The third-party device sends the relay path establishment request. 8.一种邻近通信的实现方法,其特征在于,该方法包括:8. A method for implementing proximity communication, characterized in that the method comprises: 第三方设备接收通信发起方发送的中继路径建立请求,所述中继路径建立请求中至少携带通信目标方的标识信息以及请求在所述第三方设备与所述通信目标方之间建立的第一通信路径对应的QoS参数;The third-party device receives the relay path establishment request sent by the communication initiator, and the relay path establishment request carries at least the identification information of the communication target party and the first request to be established between the third-party device and the communication target party. a QoS parameter corresponding to the communication path; 所述第三方设备确定自身与所述通信目标方之间建立的第一通信路径,以及自身与所述通信发起方之间建立的第二通信路径;The third-party device determines a first communication path established between itself and the communication target party, and a second communication path established between itself and the communication initiator; 所述第三方设备通过所述第一通信路径以及所述第二通信路径,在所述通信发起方与所述通信目标方之间转发数据;The third-party device forwards data between the communication initiator and the communication target through the first communication path and the second communication path; 其中,所述第三方设备为能够作为所述通信发起方与所述通信目标方之间的中继节点的通信设备。Wherein, the third-party device is a communication device capable of serving as a relay node between the communication initiator and the communication target party. 9.如权利要求8所述的方法,其特征在于,所述第三方设备接收通信发起方发送的中继路径建立请求之后,且在确定所述第一通信路径及所述第二通信路径之前,还包括:9. The method according to claim 8, characterized in that, after the third-party device receives the relay path establishment request sent by the communication initiator, and before determining the first communication path and the second communication path ,Also includes: 所述第三方设备根据预先设定的判断条件,确定自身能够接受所述中继路径建立请求。The third-party device determines that it can accept the relay path establishment request according to a preset judgment condition. 10.如权利要求8或9所述的方法,其特征在于,所述第三方设备确定所述第一通信路径,包括:10. The method according to claim 8 or 9, wherein determining the first communication path by the third-party device comprises: 所述第三方设备直接发起所述第一通信路径的建立过程;或者,The third-party device directly initiates the process of establishing the first communication path; or, 在确定自身与所述通信目标方之间已建立了能够满足所述第一通信路径对应的QoS参数的通信路径时,所述第三方设备将所述已建立的通信路径作为所述第一通信路径;或者,When determining that a communication path capable of satisfying the QoS parameter corresponding to the first communication path has been established between itself and the communication target party, the third-party device uses the established communication path as the first communication path; or, 在确定自身与所述通信目标方之间已建立的通信路径不能满足所述第一通信路径对应的QoS参数,或者自身与所述通信目标方之间未建立任何通信路径时,所述第三方设备发起所述第一通信路径的建立过程。When determining that the communication path established between itself and the communication target party cannot satisfy the QoS parameter corresponding to the first communication path, or no communication path has been established between itself and the communication target party, the third party The device initiates a process of establishing the first communication path. 11.如权利要求10所述的方法,其特征在于,所述第三方设备发起所述第一通信路径的建立过程,包括:11. The method according to claim 10, wherein the third-party device initiates a process of establishing the first communication path, comprising: 所述第三方设备向所述通信目标方发送第一连接建立请求,所述第一连接建立请求用于请求与所述通信目标方建立第一通信路径,且所述第一连接建立请求中携带自身的标识信息、所述第一通信路径对应的QoS参数以及自身为所述第一通信路径分配的传输资源;The third-party device sends a first connection establishment request to the communication target party, where the first connection establishment request is used to request establishment of a first communication path with the communication target party, and the first connection establishment request carries its own identification information, the QoS parameters corresponding to the first communication path, and the transmission resources allocated by itself for the first communication path; 所述第三方设备根据所述通信目标方返回的第一连接建立回复中的指示信息,确定所述第一通信路径是否建立成功,并在确定所述第一通信路径建立成功后,从所述第一连接建立回复中,获取所述通信目标方为所述第一通信路径分配的传输资源。The third-party device determines whether the first communication path is successfully established according to the indication information in the first connection establishment reply returned by the communication target party, and after determining that the first communication path is successfully established, from the In the first connection establishment reply, acquire the transmission resource allocated by the communication target party for the first communication path. 12.如权利要求11所述的方法,其特征在于,所述方法还包括:12. The method of claim 11, further comprising: 所述第三方设备在将所述已建立的通信路径作为所述第一通信路径之后,向所述通信发起方返回中继路径建立回复,并在所述中继路径建立回复中指示所述第一通信路径建立成功;或者,After using the established communication path as the first communication path, the third-party device returns a relay path establishment reply to the communication initiator, and indicates that the first communication path is established in the relay path establishment reply. - the communication path is established successfully; or, 所述第三方设备在完成所述第一通信路径的建立过程之后,向所述通信发起方返回中继路径建立回复,并在所述中继路径建立回复中指示所述第一通信路径是否建立成功。After the third-party device completes the establishment process of the first communication path, it returns a relay path establishment reply to the communication initiator, and indicates in the relay path establishment reply whether the first communication path is established success. 13.如权利要求11所述的方法,其特征在于,所述通信目标方在接收到所述第一连接建立请求后,根据预先设定的判断条件,判断自身是否接受所述第一连接建立请求;13. The method according to claim 11, characterized in that, after receiving the first connection establishment request, the communication target party judges whether it accepts the first connection establishment according to a preset judgment condition ask; 若接受所述第一连接建立请求,则所述通信目标方在所述第一连接建立回复中携带用于指示所述第一通信路径建立成功的指示信息以及自身为所述第一通信路径分配的传输资源;If the first connection establishment request is accepted, the communication target party carries indication information indicating that the first communication path is established successfully in the first connection establishment reply and allocates the first communication path by itself. transmission resources; 若不接受所述第一连接建立请求,则所述通信目标方在所述第一连接建立回复中携带用于指示所述第一通信路径建立失败的指示信息。If the first connection establishment request is not accepted, the communication target party carries indication information for indicating that the first communication path establishment fails in the first connection establishment reply. 14.如权利要求8或9所述的方法,其特征在于,若所述中继路径建立请求中还携带所述通信发起方的标识信息、所述第二通信路径对应的QoS参数以及所述通信发起方为所述第二通信路径分配的传输资源,所述第三方设备确定所述第二通信路径包括:14. The method according to claim 8 or 9, wherein if the relay path establishment request also carries the identification information of the communication initiator, the QoS parameter corresponding to the second communication path, and the The transmission resource allocated by the communication initiator for the second communication path, and the determination by the third party device of the second communication path includes: 在所述第一通信路径建立成功之后,所述第三方设备为所述第二通信路径分配传输资源,并在向所述通信发起方返回的中继路径建立回复中携带用于指示所述第二通信路径建立成功的指示信息以及自身为所述第二通信路径分配的传输资源。After the first communication path is successfully established, the third-party device allocates transmission resources for the second communication path, and carries a relay path establishment reply to the communication initiator to indicate the second communication path The indication information of the successful establishment of the second communication path and the transmission resources allocated by itself for the second communication path. 15.如权利要求8所述的方法,其特征在于,所述方法还包括:15. The method of claim 8, further comprising: 所述第三方设备接收所述通信发起方发送的第二连接建立请求,所述第二连接建立请求中携带所述通信发起方的标识信息、所述第二通信路径对应的QoS参数以及所述通信发起方为所述第二通信路径分配的传输资源;The third-party device receives a second connection establishment request sent by the communication initiator, where the second connection establishment request carries identification information of the communication initiator, QoS parameters corresponding to the second communication path, and the the transmission resource allocated by the communication initiator for the second communication path; 若自身接受所述第二连接建立请求,则所述第三方设备在向所述通信发起方返回的第二连接建立回复中携带用于指示所述第二通信路径建立成功的指示信息以及自身为所述第二通信路径分配的传输资源;If the third-party device accepts the second connection establishment request, the second connection establishment reply returned to the communication initiator by the third-party device carries indication information indicating that the second communication path is successfully established and the third-party device itself is transmission resources allocated by the second communication path; 若自身不接受所述第二连接建立请求,则所述第三方设备在所述第二连接建立回复中携带用于指示所述第二通信路径建立失败的指示信息。If the third-party device does not accept the second connection establishment request, the third-party device carries indication information for indicating that the second communication path establishment fails in the second connection establishment reply. 16.如权利要求8所述的方法,其特征在于,若所述第二通信路径为所述通信发起方与所述第三方设备之间已建立的通信路径,所述方法还包括:16. The method according to claim 8, wherein if the second communication path is an established communication path between the communication initiator and the third-party device, the method further comprises: 所述第三方设备根据接收到的所述通信发起方发送的通知,确定所述已建立的通信路径;或者,The third-party device determines the established communication path according to the received notification sent by the communication initiator; or, 所述第三方设备根据接收到的中继路径建立请求,确定所述已建立的通信路径。The third-party device determines the established communication path according to the received relay path establishment request. 17.一种通信设备,其特征在于,该通信设备包括:17. A communication device, characterized in that the communication device comprises: 处理模块,用于在确定与通信目标方不邻近后,向能够作为自身与所述通信目标方之间的中继节点的第三方设备发送中继路径建立请求,所述中继路径建立请求用于发起所述第三方设备与所述通信目标方之间的第一通信路径的建立过程,且所述中继路径建立请求中至少携带所述通信目标方的标识信息以及所述第一通信路径对应的服务质量QoS参数;A processing module, configured to send a relay path establishment request to a third-party device that can serve as a relay node between itself and the communication target party after determining that it is not adjacent to the communication target party, and the relay path establishment request uses Initiating a process of establishing a first communication path between the third-party device and the communication target party, and the relay path establishment request carries at least identification information of the communication target party and the first communication path Corresponding quality of service QoS parameters; 通信模块,用于在确定第一通信路径建立成功,且确定自身与第三方设备之间建立的第二通信路径之后,通过所述第一通信路径以及所述第二通信路径,与所述通信目标方进行通信。The communication module is configured to communicate with the third-party device through the first communication path and the second communication path after determining that the first communication path is successfully established and determining the second communication path established between itself and the third-party device. The target party communicates. 18.如权利要求17所述的通信设备,其特征在于,所述处理模块根据以下步骤建立与所述第三方设备之间的第二通信路径:18. The communication device according to claim 17, wherein the processing module establishes a second communication path with the third-party device according to the following steps: 在确定所述第一通信路径建立成功后,直接向所述第三方设备发送连接建立请求,所述连接建立请求用于请求在自身与所述第三方设备之间建立第二通信路径,且所述连接建立请求中携带自身的标识信息、所述第二通信路径对应的QoS参数以及自身为所述第二通信路径分配的传输资源;以及根据所述第三方设备返回的连接建立回复中携带的指示信息,确定所述第二通信路径是否建立成功,并在确定所述第二通信路径建立成功后,从所述连接建立回复中,获取所述第三方设备为所述第二通信路径分配的传输资源;或者,After determining that the first communication path is established successfully, directly send a connection establishment request to the third-party device, where the connection establishment request is used to request establishment of a second communication path between itself and the third-party device, and the The connection establishment request carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path; and according to the information carried in the connection establishment reply returned by the third-party device indicating information, determining whether the second communication path is successfully established, and after determining that the second communication path is successfully established, obtaining the connection establishment reply from the connection establishment reply; transfer resources; or, 在确定所述第一通信路径建立成功,且确定自身与所述第三方设备之间已建立的通信路径均不能满足所述第二通信路径对应的QoS参数或者自身与所述第三方设备之间未建立任何通信路径时,向所述第三方设备发送连接建立请求,所述连接建立请求用于请求在自身与所述第三方设备之间建立第二通信路径,且所述连接建立请求中携带自身的标识信息、所述第二通信路径对应的QoS参数以及自身为所述第二通信路径分配的传输资源;以及根据所述第三方设备返回的连接建立回复中携带的指示信息,确定所述第二通信路径是否建立成功,并在确定所述第二通信路径建立成功后,从所述连接建立回复中,获取所述第三方设备为所述第二通信路径分配的传输资源。After determining that the first communication path is successfully established, and determining that none of the established communication paths between itself and the third-party device can satisfy the QoS parameter corresponding to the second communication path or between itself and the third-party device When no communication path is established, send a connection establishment request to the third-party device, where the connection establishment request is used to request establishment of a second communication path between itself and the third-party device, and the connection establishment request carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path; and according to the indication information carried in the connection establishment reply returned by the third-party device, determine the Whether the second communication path is successfully established, and after determining that the second communication path is successfully established, obtain the transmission resources allocated by the third-party device for the second communication path from the connection establishment reply. 19.如权利要求17所述的通信设备,其特征在于,所述处理模块还用于:19. The communication device according to claim 17, wherein the processing module is further used for: 在向所述第三方设备发送所述中继路径建立请求时,还通过所述中继路径建立请求发起所述第二通信路径的建立过程,所述中继路径建立请求中还携带自身的标识信息以及所述第二通信路径对应的QoS参数;或者,When sending the relay path establishment request to the third-party device, the establishment process of the second communication path is also initiated through the relay path establishment request, and the relay path establishment request also carries its own identification Information and QoS parameters corresponding to the second communication path; or, 若在确定与所述通信目标方不邻近之后,确定自身与所述第三方设备之间已建立的通信路径不能满足所述第二通信路径对应的QoS参数,或者自身与所述第三方设备之间未建立任何通信路径,则在向所述第三方设备发送所述中继路径建立请求时,还通过所述中继路径建立请求发起所述第二通信路径的建立过程,所述中继路径建立请求中还携带自身的标识信息、所述第二通信路径对应的QoS参数以及自身为所述第二通信路径分配的传输资源。If it is determined that the established communication path between itself and the third-party device cannot satisfy the QoS parameter corresponding to the second communication path after determining that it is not adjacent to the communication target party, or the communication between itself and the third-party device If no communication path is established between them, when the relay path establishment request is sent to the third-party device, the establishment process of the second communication path is also initiated through the relay path establishment request, and the relay path The establishment request also carries its own identification information, the QoS parameters corresponding to the second communication path, and the transmission resources allocated by itself for the second communication path. 20.如权利要求17所述的通信设备,其特征在于,所述处理模块还用于:20. The communication device according to claim 17, wherein the processing module is further used for: 若确定所述第一通信路径建立成功,且确定自身与所述第三方设备之间已建立了能够满足所述第二通信路径对应的QoS参数的通信路径,则将所述已建立的通信路径作为所述第二通信路径,并通知所述第三方设备自身为所述已建立的通信路径已分配的传输资源;或者,If it is determined that the first communication path is established successfully, and it is determined that a communication path that can satisfy the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, then the established communication path as the second communication path, and notify the third-party device itself of the transmission resources allocated for the established communication path; or, 若确定自身与所述第三方设备之间已建立了能够满足所述第二通信路径对应的QoS参数的通信路径,则在向所述第三方设备发送所述中继路径建立请求时,还通过所述中继路径建立请求通知所述第三方设备自身为所述已建立的通信路径已分配的传输资源。If it is determined that a communication path capable of satisfying the QoS parameter corresponding to the second communication path has been established between itself and the third-party device, when sending the relay path establishment request to the third-party device, also pass The relay path establishment request notifies the third-party device of its allocated transmission resources for the established communication path. 21.一种通信设备,其特征在于,所述通信设备能够作为所述通信发起方与所述通信目标方之间的中继节点,所述通信设备包括:21. A communication device, characterized in that the communication device can serve as a relay node between the communication initiator and the communication target party, the communication device comprising: 接收模块,用于接收通信发起方发送的中继路径建立请求,所述中继路径建立请求中至少携带通信目标方的标识信息以及请求在自身与所述通信目标方之间建立的第一通信路径对应的QoS参数;The receiving module is configured to receive a relay path establishment request sent by the communication initiator, where the relay path establishment request at least carries the identification information of the communication target party and requests to establish the first communication between itself and the communication target party QoS parameters corresponding to the path; 路径建立模块,用于确定自身与所述通信目标方之间建立的第一通信路径,以及自身与所述通信发起方之间建立的第二通信路径;a path establishment module, configured to determine a first communication path established between itself and the communication target party, and a second communication path established between itself and the communication initiator; 数据转发模块,用于通过所述第一通信路径以及所述第二通信路径,在所述通信发起方与所述通信目标方之间转发数据。A data forwarding module, configured to forward data between the communication initiator and the communication target through the first communication path and the second communication path. 22.如权利要求20所述的通信设备,其特征在于,所述路径建立模块具体用于:22. The communication device according to claim 20, wherein the path establishment module is specifically used for: 在确定所述第一通信路径以及所述第二通信路径之前,根据预先设定的判断条件,确定自身接受所述中继路径建立请求。Before determining the first communication path and the second communication path, determine that it accepts the relay path establishment request according to a preset judgment condition. 23.如权利要求21或22所述的通信设备,其特征在于,所述路径建立模块根据以下步骤确定所述第一通信路径:23. The communication device according to claim 21 or 22, wherein the path establishment module determines the first communication path according to the following steps: 直接建立发起所述第一通信路径的建立过程;或者,directly establishing and initiating the establishment process of the first communication path; or, 在确定自身与所述通信目标方之间已建立了能够满足所述第一通信路径对应的QoS参数的通信路径时,将所述已建立的通信路径作为所述第一通信路径;或者,When determining that a communication path capable of satisfying the QoS parameter corresponding to the first communication path has been established between itself and the communication target party, using the established communication path as the first communication path; or, 在确定自身与所述通信目标方之间已建立的通信路径不能满足所述第一通信路径对应的QoS参数,或者自身与所述通信目标方之间未建立任何通信路径时,发起所述第一通信路径的建立过程。When it is determined that the communication path established between itself and the communication target party cannot satisfy the QoS parameter corresponding to the first communication path, or no communication path has been established between itself and the communication target party, initiate the second communication path A process of establishing a communication path. 24.如权利要求23所述的通信设备,其特征在于,所述路径建立模块发起所述第一通信路径的建立过程,包括:24. The communication device according to claim 23, wherein the path establishment module initiates the establishment process of the first communication path, comprising: 向所述通信目标方发送第一连接建立请求,所述第一连接建立请求用于请求与所述通信目标方建立第一通信路径,且所述第一连接建立请求中携带自身的标识信息、所述第一通信路径对应的QoS参数以及自身为所述第一通信路径分配的传输资源;以及根据所述通信目标方返回的第一连接建立回复中的指示信息,确定所述第一通信路径是否建立成功,并在确定所述第一通信路径建立成功后,从所述第一连接建立回复中,获取所述通信目标方为所述第一通信路径分配的传输资源。Sending a first connection establishment request to the communication target party, where the first connection establishment request is used to request establishment of a first communication path with the communication target party, and the first connection establishment request carries its own identification information, The QoS parameters corresponding to the first communication path and the transmission resources allocated by itself for the first communication path; and determining the first communication path according to the indication information in the first connection establishment reply returned by the communication target party Whether the establishment of the first communication path is successful, and after determining that the first communication path is successfully established, obtain the transmission resource allocated by the communication target party for the first communication path from the first connection establishment reply. 25.如权利要求21或22所述的通信设备,其特征在于,所述路径建立模块还用于:25. The communication device according to claim 21 or 22, wherein the path establishment module is further used for: 若所述接收模块接收到的中继路径建立请求中还携带所述通信发起方的标识信息以及所述第二通信路径对应的QoS参数,则在所述第一通信路径建立成功后,为所述第二通信路径分配传输资源,并在向所述通信发起方返回的中继路径建立回复中携带用于指示所述第二通信路径建立成功的指示信息以及自身为所述第二通信路径分配的传输资源。If the relay path establishment request received by the receiving module also carries the identification information of the communication initiator and the QoS parameter corresponding to the second communication path, after the first communication path is established successfully, for the Allocate transmission resources for the second communication path, and carry indication information indicating that the second communication path is established successfully in the relay path establishment reply returned to the communication initiator and allocate resources for the second communication path by itself transmission resources. 26.如权利要求21所述的通信设备,其特征在于,26. The communication device of claim 21 , wherein 所述接收模块还用于:接收所述通信发起方发送的第二连接建立请求,所述第二连接建立请求中携带所述通信发起方的标识信息、所述第二通信路径对应的QoS参数以及所述通信发起方为所述第二通信路径分配的传输资源;The receiving module is further configured to: receive a second connection establishment request sent by the communication initiator, the second connection establishment request carrying identification information of the communication initiator and QoS parameters corresponding to the second communication path and the transmission resources allocated by the communication initiator for the second communication path; 所述路径建立模块还用于:若自身接受所述第二连接建立请求,则在向所述通信发起方返回的第二连接建立回复中携带用于指示所述第二通信路径建立成功的指示信息以及自身为所述第二通信路径分配的传输资源;若自身不接受所述第二连接建立请求,则在所述第二连接建立回复中携带用于指示所述第二通信路径建立失败的指示信息。The path establishment module is further configured to: if it accepts the second connection establishment request, carry an indication indicating that the second communication path is established successfully in the second connection establishment reply returned to the communication initiator Information and the transmission resource allocated by itself for the second communication path; if the second connection establishment request is not accepted by itself, the second connection establishment reply carries the information used to indicate that the second communication path fails to be established Instructions. 27.如权利要求21所述的通信设备,其特征在于,若所述第二通信路径为所述通信发起方与所述第三方设备之间已建立的通信路径,所述路径建立模块还用于:27. The communication device according to claim 21, wherein if the second communication path is an established communication path between the communication initiator and the third-party device, the path establishment module further uses At: 根据接收到的所述通信发起方发送的通知,确定所述已建立的通信路径;或者,Determine the established communication path according to the received notification sent by the communication initiator; or, 根据接收到的中继路径建立请求,确定所述已建立的通信路径。Determine the established communication path according to the received relay path establishment request.
CN201310175640.1A 2013-05-13 2013-05-13 The implementation method and device of a kind of adjacent communication Active CN104159266B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310175640.1A CN104159266B (en) 2013-05-13 2013-05-13 The implementation method and device of a kind of adjacent communication
PCT/CN2014/077261 WO2014183619A1 (en) 2013-05-13 2014-05-12 Method and apparatus for implementing adjacent communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310175640.1A CN104159266B (en) 2013-05-13 2013-05-13 The implementation method and device of a kind of adjacent communication

Publications (2)

Publication Number Publication Date
CN104159266A true CN104159266A (en) 2014-11-19
CN104159266B CN104159266B (en) 2017-12-08

Family

ID=51884650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310175640.1A Active CN104159266B (en) 2013-05-13 2013-05-13 The implementation method and device of a kind of adjacent communication

Country Status (2)

Country Link
CN (1) CN104159266B (en)
WO (1) WO2014183619A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017024471A1 (en) * 2015-08-10 2017-02-16 华为技术有限公司 Data transmission method and ue
CN109246650A (en) * 2017-06-30 2019-01-18 中国电信股份有限公司 Method and apparatus, relay, the truck traffic system of truck traffic
CN111479295A (en) * 2020-03-06 2020-07-31 珠海格力电器股份有限公司 Data transmission method, system, device, device and storage medium
WO2021212383A1 (en) * 2020-04-22 2021-10-28 Oppo广东移动通信有限公司 Qos control method and apparatus, and readable storage medium
CN116208924A (en) * 2020-01-07 2023-06-02 瑞典爱立信有限公司 Path selection for side link communication in NR networks
US11825336B2 (en) 2019-03-28 2023-11-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Connection management method, apparatus, computer device and storage medium
WO2023241613A1 (en) * 2022-06-16 2023-12-21 维沃移动通信有限公司 Call establishment method, device and system, terminal, and readable storage medium
WO2024207238A1 (en) * 2023-04-04 2024-10-10 Nec Corporation Devices and methods for communication

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4066543A4 (en) 2019-11-28 2023-07-26 Apple Inc. ACCESS CONTROL AT THE LEVEL OF A RELAY USER EQUIPMENT

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012091418A2 (en) * 2010-12-27 2012-07-05 한국전자통신연구원 Device-to-device communication and terminal relay method
CN102780993A (en) * 2012-08-20 2012-11-14 哈尔滨工业大学 Terminal D2D (device-to-device) cooperation relay communication implementation method in TD-LTE-A (time division-long term evolution-advanced) system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9787777B2 (en) * 2008-03-13 2017-10-10 Qualcomm Incorporated Methods and apparatus for wireless communications including direct paging in combination with hopped data signaling
US8670759B2 (en) * 2008-07-03 2014-03-11 Nec Corporation Communication system
CN101742473A (en) * 2008-11-06 2010-06-16 中兴通讯股份有限公司 Data transmission method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012091418A2 (en) * 2010-12-27 2012-07-05 한국전자통신연구원 Device-to-device communication and terminal relay method
CN102780993A (en) * 2012-08-20 2012-11-14 哈尔滨工业大学 Terminal D2D (device-to-device) cooperation relay communication implementation method in TD-LTE-A (time division-long term evolution-advanced) system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GENERAL DYNAMICS BROADBAND UK: "《3GPP TSG-RAN1#72b R1-131433》", 19 April 2013 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107211340A (en) * 2015-08-10 2017-09-26 华为技术有限公司 Data transmission method and ue
WO2017024471A1 (en) * 2015-08-10 2017-02-16 华为技术有限公司 Data transmission method and ue
CN107211340B (en) * 2015-08-10 2021-01-05 华为技术有限公司 Data transmission method and UE
CN109246650A (en) * 2017-06-30 2019-01-18 中国电信股份有限公司 Method and apparatus, relay, the truck traffic system of truck traffic
CN109246650B (en) * 2017-06-30 2021-09-21 中国电信股份有限公司 Vehicle-to-vehicle communication method and device, relay device and vehicle-to-vehicle communication system
US11825336B2 (en) 2019-03-28 2023-11-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Connection management method, apparatus, computer device and storage medium
US20230354144A1 (en) * 2020-01-07 2023-11-02 Telefonaktiebolaget Lm Ericsson (Publ) Path Selection for Sidelink Communications in NR Network
CN116208924A (en) * 2020-01-07 2023-06-02 瑞典爱立信有限公司 Path selection for side link communication in NR networks
CN111479295A (en) * 2020-03-06 2020-07-31 珠海格力电器股份有限公司 Data transmission method, system, device, device and storage medium
WO2021212383A1 (en) * 2020-04-22 2021-10-28 Oppo广东移动通信有限公司 Qos control method and apparatus, and readable storage medium
US12490151B2 (en) 2020-04-22 2025-12-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. QoS control method and apparatus, and readable storage medium
WO2023241613A1 (en) * 2022-06-16 2023-12-21 维沃移动通信有限公司 Call establishment method, device and system, terminal, and readable storage medium
WO2024207238A1 (en) * 2023-04-04 2024-10-10 Nec Corporation Devices and methods for communication

Also Published As

Publication number Publication date
WO2014183619A1 (en) 2014-11-20
CN104159266B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN104159266B (en) The implementation method and device of a kind of adjacent communication
US11259217B2 (en) Method and apparatus for supporting session continuity for 5G cellular network
KR101644870B1 (en) Terminal control method, device, and system
KR102797407B1 (en) Communication method and device of terminal in mobile communication system
JP6905065B2 (en) Bearer conversion
US20200336949A1 (en) Method and apparatus for managing session to change a user plane function in a wireless communication system
CN104158581B (en) A kind of discovery method and device of via node
CN113973322B (en) A communication method and device
US20160381720A1 (en) Method and apparatus for generating packet data network connection of user equipment
KR20200024363A (en) Devices and methods of operating and controlling data flow
CN105554689B (en) A service transmission method and device
US9578576B2 (en) Control of offloading for device-to-device traffic in a cellular network
CN111901783A (en) Resource obtaining method, resource scheduling method, terminal, service node and medium
CN103843452B (en) Bearer establishment method, base station, packet data gateway and computer system
CN104837108B (en) A device-to-device broadcast communication method and user equipment
CN107852696A (en) Side chain road information carrying means, method and communication system
CN104303554B (en) A kind of means of communication, base station and user equipment
WO2020034344A1 (en) Ultra reliable communication using multiple packet data unit sessions
CN105992348A (en) Device-to-device (D2D) communication-based resource distribution method and user equipment
CN107113893B (en) A bearer establishment method and device
WO2024052050A1 (en) U2u relay communication
CN104144403B (en) A kind of communication means and equipment, system
CN105872984A (en) Cluster system off-network DMO terminal selection method
CN106465443B (en) IP address allocation method and user equipment in D2D communication
JP6545360B2 (en) Mobile terminal set, mobile wireless communication device, method of providing group display information to communication network device, and method of connecting mobile terminal set to communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210528

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right