Communication method and communication device

By determining the communication link between terminal devices in the communication system, the problem of communication through the relay terminal device is solved, and communication efficiency is improved.

CN119521447APending Publication Date: 2025-02-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411220412.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

When the two terminal devices are far apart, the existing communication system cannot communicate effectively through the relay terminal devices.

Method used

The first terminal device receives the information sent by the second terminal device, including the application layer identification and/or the link layer identification of the third terminal device, and determines the communication link between the first terminal device and the third terminal device, thereby providing communication relay for the second terminal device and the third terminal device.

Benefits of technology

The communication efficiency of terminal devices is improved and the problem of inability to communicate through relay terminal devices is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521447A_ABST
    Figure CN119521447A_ABST
Patent Text Reader

Abstract

Provided are a communication method and a communication device, the method comprising: a first terminal device receiving first information sent by a second terminal device, the first information comprising an application layer identifier and / or a link layer identifier of a third terminal device; and the first terminal device determines a communication link between the first terminal device and the third terminal device according to the first information, wherein the communication link is used for providing a communication relay for the second terminal device and the third terminal device. According to the method in the embodiment of the invention, the communication efficiency of the terminal equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the PCT international patent application PCT / CN2021 / 131848 with an application date of November 19, 2021, which entered the Chinese national phase with Chinese patent application number 202180103545.3 and the invention name “Communication Method and Communication Device”. Technical Field

[0002] The present application relates to the field of communication technology, and more specifically, to a communication method and a communication device. Background Art

[0003] With the development of communication technology, some communication systems introduce relay communication between user equipment (UE) so that two UEs can communicate through relay UE when the distance between them is far. However, there may be a problem that relay communication cannot be performed through relay UE. Therefore, how to perform relay communication through relay UE has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a communication method and a communication device, which can improve the communication efficiency of terminal equipment.

[0005] In a first aspect, a communication method is provided, comprising: a first terminal device receives first information sent by a second terminal device, the first information comprising an application layer identifier and / or a link layer identifier of a third terminal device; the first terminal device determines a communication link between the first terminal device and the third terminal device based on the first information, the communication link being used to provide communication relay for the second terminal device and the third terminal device.

[0006] In a second aspect, a communication method is provided, comprising: a second terminal device sends first information to a first terminal device, wherein the first information comprises an application layer identifier and / or a link layer identifier of a third terminal device.

[0007] According to a third aspect, a communication method is provided, comprising: a third terminal device receives unicast signaling sent by a first terminal device, wherein the unicast signaling is used to determine a communication link between the first terminal device and the third terminal device.

[0008] In a fourth aspect, a communication device is provided, comprising: a receiving unit, used to receive first information sent by a second terminal device, the first information including an application layer identifier and / or a link layer identifier of a third terminal device; a determination unit, used to determine a communication link between the device and the third terminal device based on the first information, the communication link being used to provide communication relay for the second terminal device and the third terminal device.

[0009] In a fifth aspect, a communication apparatus is provided, comprising: a sending unit, configured to send first information to a first terminal device, wherein the first information comprises an application layer identifier and / or a link layer identifier of a third terminal device.

[0010] In a sixth aspect, a communication apparatus is provided, comprising: a receiving unit, configured to receive unicast signaling sent by a first terminal device, wherein the unicast signaling is used to determine a communication link between the first terminal device and the apparatus.

[0011] In a seventh aspect, a communication device is provided, comprising a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method described in any one of the first to third aspects.

[0012] In an eighth aspect, a communication device is provided, comprising a processor for calling a program from a memory to execute the method described in any one of the first to third aspects.

[0013] In a ninth aspect, a chip is provided, comprising a processor for calling a program from a memory so that a device equipped with the chip executes the method described in any one of the first to third aspects.

[0014] In a tenth aspect, a computer-readable storage medium is provided, on which a program is stored, wherein the program enables a computer to execute the method described in any one of the first to third aspects.

[0015] In an eleventh aspect, a computer program product is provided, comprising a program, wherein the program enables a computer to execute the method described in any one of the first to third aspects.

[0016] In a twelfth aspect, a computer program is provided, wherein the computer program enables a computer to execute the method described in any one of the first to third aspects.

[0017] In an embodiment of the present application, the first terminal device determines the communication link between the first terminal device and the third terminal device based on the first information, so that communication relay can be provided for the second terminal device and the third terminal device through the communication link, thereby improving the communication efficiency of the terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is an example diagram of a wireless communication system used in an embodiment of the present application.

[0019] Figure 2 It is a schematic diagram of relay communication between terminal devices.

[0020] Figure 3It is a schematic flow chart of establishing a communication connection between terminal devices.

[0021] Figure 4 It is a schematic flowchart of a communication method provided by an embodiment of the present application.

[0022] Figure 5 It is a schematic flowchart of a communication method provided by another embodiment of the present application.

[0023] Figure 6 It is a schematic structural diagram of a communication device provided in one embodiment of the present application.

[0024] Figure 7 It is a schematic structural diagram of a communication device provided in another embodiment of the present application.

[0025] Figure 8 It is a schematic structural diagram of a communication device provided in yet another embodiment of the present application.

[0026] Fig. 9 It is a schematic structural diagram of a device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0028] Figure 1 The wireless communication system 100 used in the embodiment of the present application may include a network device 110 and a user equipment (UE) 120. The network device 110 may communicate with the UE 120. The network device 110 may provide communication coverage for a specific geographical area and may communicate with the UE 120 located in the coverage area. The UE 120 may access a network (such as a wireless network) through the network device 110.

[0029] Figure 1 An exemplary embodiment shows a network device and two UEs. Optionally, the wireless communication system 100 may include multiple network devices and each network device may include other number of terminal devices within its coverage area, which is not limited in the embodiment of the present application. Optionally, the wireless communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.

[0030] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: the fifth generation (5th generation, 5G) system or new radio (new radio, NR), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), etc. The technical solutions provided by the present application can also be applied to future communication systems, such as the sixth generation mobile communication system, satellite communication system, and so on.

[0031] The UE in the embodiment of the present application may also be referred to as a terminal device, an access terminal, a user unit, a user station, a mobile station, a mobile station (MS), a mobile terminal (MT), a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The UE in the embodiment of the present application may refer to a device that provides voice and / or data connectivity to a user, and may be used to connect people, objects and machines, such as a handheld device with a wireless connection function, a vehicle-mounted device, etc. The UE in the embodiments of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. Optionally, the UE can be used to act as a base station. For example, the UE can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc. For example, a cellular phone and a car communicate with each other using a sidelink signal. Cellular phones and smart home devices communicate without relaying communication signals through a base station.

[0032] The network device in the embodiment of the present application may be a device for communicating with a UE, and the network device may also be referred to as an access network device or a radio access network device, such as a base station. The network device in the embodiment of the present application may refer to a radio access network (RAN) node (or device) that accesses a UE to a wireless network. Base station can broadly cover various names as follows, or replace with the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, access point, transmission point (TRP), transmission point (TP), master station MeNB, secondary station SeNB, multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, base band unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. The base station can be a macro base station, a micro base station, a relay node, a donor node or the like, or a combination thereof. For ease of understanding, the network device may also be referred to as a base station below.

[0033] In some embodiments, the base station may be fixed or mobile. For example, a helicopter or a drone may be configured to act as a mobile base station, and one or more cells may move according to the location of the mobile base station. In other examples, a helicopter or a drone may be configured to act as a device for communicating with another base station. In some embodiments, the base station may refer to a CU or a DU, or the base station may include a CU and a DU, or the base station may also include an AAU.

[0034] It should be understood that the base station can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water surface; it can also be deployed on aircraft, balloons and satellites in the air. The base station and the scenarios in which the embodiments of the present application are located are not limited in the embodiments of the present application. It should also be understood that all or part of the functions of the base station and UE in the present application can also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform).

[0035] UEs can communicate with each other via sidelinks. Sidelink communication can also be called proximity services (ProSe) communication, unilateral communication, sidelink communication, and device to device (D2D) communication. For example, a UE with proximity services (ProSe) capability can communicate directly with another UE with ProSe capability via the PC5 interface.

[0036] When two UEs with ProSe capabilities are far apart and cannot directly establish a communication connection through the PC5 interface, a Relay UE with ProSe capabilities can be used to relay the communication. Figure 2 As shown, UE 210 can communicate directly with UE 220 through the PC5 interface, and can also communicate directly with UE 230 through the PC5 interface. At this time, if the distance between UE 220 and UE 230 is far and a communication connection cannot be established directly through the PC5 interface, UE 210 can provide a communication relay for UE 220 and UE 230, that is, UE 220 and UE 230 can communicate through UE 210.

[0037] UEs can communicate with each other through Figure 3 The method shown in is used to establish a communication connection. Figure 3 As shown, the method may include the following steps:

[0038] S310, UE-2 determines a target layer 2 (Layer-2) identifier (ID) for signaling reception.

[0039] S320, the application layer of UE-1 provides application layer information for unicast short distance communication.

[0040] S330, UE-1 sends a direct communication request message to UE-2 in a broadcast or unicast manner.

[0041] At this time, depending on the target, a short-distance link can be established in the following two ways.

[0042] Method A: Short-range link establishment with the target as UE

[0043] S340a, UE-1 and UE-2 exchange security information.

[0044] S350a, UE-2 sends a direct communication response message to UE-1 in unicast mode.

[0045] S360a, UE-1 and UE-2 transmit unicast data units.

[0046] Method B: Establishing a short-distance link for business purposes

[0047] S340b, UE-1 exchanges security information with UE-2 and UE-4.

[0048] S350b, UE-2 and UE-4 send a direct communication response message to UE-1 in unicast mode.

[0049] S360b, UE-1 transmits unicast data units to UE-2 and UE-4.

[0050] It should be noted that Figure 3 The method for establishing a communication connection between UEs shown is only an example and not a limitation. In the embodiments of the present application, a communication connection may also be established between UEs by other methods, and the present application is not limited to this.

[0051] like Figure 2 As shown, the target link layer identifier carried in the direct communication request message received by UE 210 from UE 220 is the link layer identifier of UE 210, and UE 210 does not know the application layer identifier or link layer identifier of UE 230. Therefore, UE 210 cannot directly send the direct communication request message to UE 230 by unicast, and UE 210 can only send the direct communication request message by broadcast to request to establish a communication connection with UE 230. At this time, if UE 230 does not monitor the broadcast, it is impossible to establish a communication connection with UE 210, and it is also impossible to perform relay communication with UE 220 through UE 210.

[0052] In order to solve one or more of the above problems, the following Figure 4 and Figure 5 , the embodiments of the present application are described in detail with examples.

[0053] Figure 4 is a schematic flow chart of a communication method according to an embodiment of the present application. It should be understood that Figure 4 The method 400 shown may include step S410, which is as follows:

[0054] S410, the second terminal device sends first information to the first terminal device, so that the first terminal device provides communication relay for the second terminal device and the third terminal device.

[0055] The first terminal device, the second terminal device and the third terminal device may all have short-distance service capabilities.

[0056] The first information may include an application layer identifier and / or a link layer identifier of the third terminal device. Optionally, the first terminal device may directly send a direct communication request message to the third terminal device in a unicast manner according to the application layer identifier and / or the link layer identifier of the third terminal device, thereby providing communication relay for the second terminal device and the third terminal device. Optionally, the link layer identifier may be a layer 2 identifier used for short-range communication.

[0057] In some possible implementations, the second terminal device may send the first information to the first terminal device via a first direct communication request message, that is, the first information may be borne or included in the first direct communication request message; or, the second terminal device may also send the first information to the first terminal device during the security information interaction process.

[0058] Optionally, the first direct communication request message may further include one or more of an application layer identifier of the second terminal device, an identifier of the first terminal device, service information, and a relay service code.

[0059] S420, the first terminal device sends a direct communication response message to the second terminal device.

[0060] Optionally, a short-distance communication link can be established between the first terminal device and the second terminal device, and a direct communication response message is sent to the second terminal device. Optionally, the direct communication response message may include information such as an identification of the first terminal device and a relay service code.

[0061] S430, performing Internet protocol (IP) address allocation between the first terminal device and the second terminal device.

[0062] Optionally, the first terminal device can assign an IP address to the second terminal device; or, the second terminal device can also assign an IP address to the first terminal device; or, IP addresses can be assigned between the first terminal device and the second terminal device in other ways, which is not limited in the embodiments of the present application.

[0063] After S410, the first terminal device may determine a communication link between the first terminal device and the third terminal device according to the first information, wherein the communication link may be used to provide a communication relay for the second terminal device and the third terminal device.

[0064] In the embodiment of the present application, the first terminal device may determine the communication link between the first terminal device and the third terminal device in a variety of ways. Figure 4Step S440 in the example introduces one implementation method, which will be discussed later. Figure 5 Step S550 in FIG. 5 introduces another implementation method.

[0065] In some possible implementations, after S410, the method 400 may further include step S440, which is as follows:

[0066] S440: The first terminal device sends second information to the third terminal device.

[0067] The first terminal device may send the second information to the third terminal device according to the application layer identifier and / or link layer identifier of the third terminal device. Optionally, the second information may be used to request to establish a communication link between the first terminal device and the third terminal device.

[0068] Optionally, the first terminal device may send the second information to the third terminal device in a unicast manner according to the first information. Optionally, since the second information may be transmitted in a unicast manner, the second information may also be referred to as unicast signaling.

[0069] In some possible implementations, the first terminal device may send the second information to the third terminal device through a second direct communication request message in a unicast manner, that is, the second information may be carried in or included in the second direct communication request message. For example, the first terminal device may determine that the third terminal device is the target terminal device based on the first information (for example, the application layer identifier and / or link layer identifier of the third terminal device), and send the second information to the third terminal device through a second direct communication request message in a unicast manner.

[0070] In some possible implementations, the first terminal device may send the second information in a unicast manner using the link layer identifier of the third terminal device as the target link layer identifier. For example, the first terminal device may determine that the link layer of the third terminal device is the target link layer based on the first information (e.g., the link layer identifier of the third terminal device), and send the second information to the link layer of the third terminal device through a second direct communication request message in a unicast manner.

[0071] Optionally, the first terminal device may also send the IP address and / or application layer identifier of the second terminal device to the third terminal device through the second information. That is, the second information may carry the IP address and / or application layer identifier of the second terminal device.

[0072] Alternatively, the first terminal device may also send the IP address and / or application layer identifier of the second terminal device to the third terminal device during the security information interaction process.

[0073] In some possible implementations, the second information may also include one or more of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

[0074] In some possible implementations, the second direct communication request message may also include one or more of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

[0075] S450, the third terminal device sends a direct communication response message to the first terminal device.

[0076] Optionally, a short-distance communication link can be established between the third terminal device and the first terminal device, and a direct communication response message can be sent to the first terminal device. Optionally, the direct communication response message can include information such as an application layer identifier and a relay service code of the first terminal device.

[0077] S460: IP addresses are allocated between the first terminal device and the third terminal device.

[0078] Optionally, the first terminal device can allocate an IP address to the third terminal device; or, the third terminal device can also allocate an IP address to the first terminal device; or, IP addresses can be allocated between the first terminal device and the third terminal device in other ways, which is not limited in the embodiments of the present application.

[0079] The method 400 may further include step S470, which is as follows:

[0080] S470: The first terminal device sends fourth information to the second terminal device.

[0081] The fourth information may include an Internet Protocol (IP) address of the third terminal device.

[0082] In some possible implementations, the first terminal device may send the fourth information to the second terminal device through a direct communication response message in S420 (in this case, S470 may not be required, or S470 and S420 are the same step); or, the first terminal device may also send the fourth information to the second terminal device through a second link modification request message; or, the first terminal device may also send the fourth information to the second terminal device through other messages.

[0083] In an embodiment of the present application, the first terminal device can establish a communication connection with the third terminal device based on the application layer identifier and / or link layer identifier of the third terminal device included in the first information, thereby providing communication relay for the second terminal device and the third terminal device, thereby improving the communication efficiency of the terminal devices.

[0084] Figure 5 is a schematic flow chart of a communication method according to another embodiment of the present application. It should be understood that Figure 5 The method 500 shown may include step S510, which is as follows:

[0085] S510, the second terminal device sends first information to the first terminal device, so that the first terminal device provides communication relay for the second terminal device and the third terminal device.

[0086] The first terminal device, the second terminal device and the third terminal device may all have short-distance service capabilities.

[0087] The first information may include an application layer identifier and / or a link layer identifier of the third terminal device. Optionally, the first terminal device may directly send a direct communication request message to the third terminal device in a unicast manner according to the application layer identifier and / or the link layer identifier of the third terminal device, thereby providing communication relay for the second terminal device and the third terminal device. Optionally, the link layer identifier may be a layer 2 identifier used for short-range communication.

[0088] In some possible implementations, the second terminal device may send the first information to the first terminal device via a first direct communication request message, that is, the first information may be borne or included in the first direct communication request message; or, the second terminal device may also send the first information to the first terminal device during the security information interaction process.

[0089] Optionally, the first direct communication request message may further include one or more of an application layer identifier of the second terminal device, an identifier of the first terminal device, service information, and a relay service code.

[0090] S520, the first terminal device sends a direct communication response message to the second terminal device.

[0091] Optionally, a short-distance communication link can be established between the first terminal device and the second terminal device, and a direct communication response message is sent to the second terminal device. Optionally, the direct communication response message may include information such as an identification of the first terminal device and a relay service code.

[0092] S530: Internet protocol (IP) addresses are allocated between the first terminal device and the second terminal device.

[0093] Optionally, the first terminal device can assign an IP address to the second terminal device; or, the second terminal device can also assign an IP address to the first terminal device; or, IP addresses can be assigned between the first terminal device and the second terminal device in other ways, which is not limited in the embodiments of the present application.

[0094] S540: The first terminal device sends fourth information to the second terminal device.

[0095] The fourth information may include an Internet Protocol (IP) address of the third terminal device.

[0096] Optionally, the first terminal device may determine that a communication link already exists between the first terminal device and the third terminal device based on the first information (e.g., the application layer identifier and / or link layer identifier of the third terminal device). Further, the first terminal device may determine the IP address of the third terminal device and send the IP address of the third terminal device (i.e., the fourth information) to the second terminal device.

[0097] In some possible implementations, in some possible implementations, the first terminal device may send the fourth information to the second terminal device through the direct communication response message in S520 (in this case, S540 may not be required, or S540 and S520 are the same step); or, the first terminal device may also send the fourth information to the second terminal device through a second link modification request message; or, the first terminal device may also send the fourth information to the second terminal device through other messages.

[0098] After the first terminal device determines that a communication link already exists between the first terminal device and the third terminal device according to the first information, the first terminal device may determine a communication link between the first terminal device and the third terminal device according to the first information. The communication link may be used to provide communication relay for the second terminal device and the third terminal device.

[0099] In the embodiment of the present application, the first terminal device may determine the communication link between the first terminal device and the third terminal device in a variety of ways. Figure 4 Step S440 in the above describes one implementation method. Figure 5 Step S550 in FIG. 5 introduces another implementation method.

[0100] In some possible implementations, after S510, the method 500 may further include step S550, which is as follows:

[0101] S550: The first terminal device sends third information to the third terminal device.

[0102] The third information may be used to modify the communication link between the first terminal device and the third terminal device.

[0103] Optionally, the first terminal device may send the third information to the third terminal device in a unicast manner. Optionally, since the third information may be transmitted in a unicast manner, the third information may also be referred to as unicast signaling.

[0104] Optionally, the first terminal device may send third information to the third terminal device through a first link modification request message, that is, the third information may be borne or carried in the first link modification request message.

[0105] In some possible implementations, the third information may also include at least one of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

[0106] In some possible implementations, the first link modification request message may also include at least one of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

[0107] Optionally, the first terminal device may also send the IP address and / or application layer identifier of the second terminal device to the third terminal device through the third information. Alternatively, the first terminal device may also send the IP address and / or application layer identifier of the second terminal device to the third terminal device during the security information interaction process.

[0108] S560, the third terminal device sends a link modification response message to the first terminal device.

[0109] In an embodiment of the present application, the first terminal device can establish a communication connection with the third terminal device based on the application layer identifier and / or link layer identifier of the third terminal device included in the first information, thereby providing communication relay for the second terminal device and the third terminal device, thereby improving the communication efficiency of the terminal devices.

[0110] Combination of the above Figures 1 to 5 , describes the method embodiment of the present application in detail, and the following is combined with Figures 6 to 9, describes the device embodiment of the present application in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous method embodiment.

[0111] Figure 6 It is a schematic structural diagram of a communication device provided in one embodiment of the present application. Figure 6 The communication device 600 in the embodiment includes a receiving unit 610 .

[0112] A receiving unit 610 is configured to receive first information sent by a second terminal device, where the first information includes an application layer identifier and / or a link layer identifier of a third terminal device;

[0113] The determining unit 620 is used to determine a communication link between the apparatus and the third terminal device according to the first information, wherein the communication link is used to provide communication relay for the second terminal device and the third terminal device.

[0114] Optionally, the link layer identifier is a layer 2 identifier used for short distance communication.

[0115] Optionally, the device has short-range service capability.

[0116] Optionally, the receiving unit 610 is specifically configured to: receive first information sent by a second terminal device through a first direct communication request message or during a security information interaction process.

[0117] Optionally, the first direct communication request message includes at least one of an application layer identifier of the second terminal device, an identifier of the apparatus, service information and a relay service code.

[0118] Optionally, the apparatus further includes a determination unit 620 specifically used to: send second information to the third terminal device in a unicast manner according to the first information, wherein the second information is used to request establishment of a communication link between the apparatus and the third terminal device.

[0119] Optionally, the determining unit 620 is specifically configured to: send the second information to the third terminal device via a second direct communication request message in a unicast manner.

[0120] Optionally, the determination unit 620 is specifically used to: send the second information in a unicast manner with the link layer identifier of the third terminal device as the target link layer identifier.

[0121] Optionally, the determining unit 620 is further configured to: send the Internet Protocol IP address of the second terminal device to the third terminal device through the second information or during the security information interaction process.

[0122] Optionally, the second information includes at least one of an identifier of the apparatus, an application layer identifier of the third terminal device, service information, and a relay service code.

[0123] Optionally, the determining unit 620 is specifically used to: determine, according to the first information, that the communication link already exists between the apparatus and the third terminal device.

[0124] Optionally, the apparatus further includes a sending unit 630, configured to: send third information to the third terminal device, wherein the third information is used to modify the communication link.

[0125] Optionally, the sending unit 630 is further configured to: send the Internet Protocol IP address of the second terminal device to the third terminal device through the third information or during the security information interaction process.

[0126] Optionally, the sending unit 630 is specifically used to: send third information to the third terminal device through a first link modification request message.

[0127] Optionally, the third information includes at least one of an identifier of the apparatus, an application layer identifier of the third terminal device, service information, and a relay service code.

[0128] Optionally, the sending unit 630 is further configured to: send fourth information to the second terminal device, where the fourth information includes an Internet Protocol IP address of the third terminal device.

[0129] Optionally, the sending unit 630 is specifically used to: send fourth information to the second terminal device through a direct communication response message or a second link modification request message.

[0130] Figure 7 It is a schematic structural diagram of a communication device provided in another embodiment of the present application. Figure 7 The communication device 700 in the embodiment includes a sending unit 710.

[0131] The sending unit 710 is used to send first information to the first terminal device, where the first information includes an application layer identifier and / or a link layer identifier of the third terminal device.

[0132] Optionally, the link layer identifier is a layer 2 identifier used for short distance communication.

[0133] Optionally, the device has proximity service capability.

[0134] Optionally, the sending unit 710 is specifically configured to: send the first information via a first direct communication request message or in a security information interaction process.

[0135] Optionally, the first direct communication request message includes at least one of an application layer identifier of the apparatus, an identifier of the first terminal device, service information and a relay service code.

[0136] Optionally, the apparatus further includes a receiving unit 720, configured to receive fourth information sent by the first terminal device, wherein the fourth information includes an Internet Protocol IP address of the third terminal device.

[0137] Optionally, the receiving unit 720 is specifically used to: receive the fourth information sent by the first terminal device through a direct communication response message or a second link modification request message.

[0138] Figure 8 It is a schematic structural diagram of a communication device provided in another embodiment of the present application. Figure 8 The communication device 800 in the embodiment includes a receiving unit 810 .

[0139] The receiving unit 810 is used to receive unicast signaling sent by a first terminal device, where the unicast signaling is used to determine a communication link between the first terminal device and the apparatus.

[0140] Optionally, the receiving unit 810 is specifically configured to: receive second information sent by the first terminal device in a unicast manner, wherein the second information is used to request to establish a communication link between the first terminal device and the apparatus.

[0141] Optionally, the receiving unit 810 is specifically used to: receive third information sent by the first terminal device, where the third information is used to modify the communication link between the first terminal device and the apparatus.

[0142] Optionally, the receiving unit 810 is specifically configured to: receive second information sent by the first terminal device in a unicast manner through a second direct communication request message.

[0143] Optionally, the second information includes at least one of an identifier of the first terminal device, an application layer identifier of the apparatus, business information and a relay service code.

[0144] Optionally, the receiving unit 810 is specifically used to: receive third information sent by the first terminal device through a first link modification request message.

[0145] Optionally, the third information includes at least one of an identifier of the first terminal device, an application layer identifier of the apparatus, business information and a relay service code.

[0146] Optionally, the receiving unit 810 is further configured to: receive the Internet Protocol IP address of the second terminal device sent by the first terminal device through the second information, the third information or during the security information interaction process.

[0147] Optionally, the device has proximity service capability.

[0148] Fig. 9 It is a schematic structural diagram of a device provided in one embodiment of the present application. Fig. 9 The dotted line in the figure indicates that the unit or module is optional. The device 900 can be used to implement the method described in the above method embodiment. The device 900 can be a chip or a communication device.

[0149] The device 900 may include one or more processors 910. The processor 910 may support the device 900 to implement the method described in the foregoing method embodiment. The processor 910 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0150] The apparatus 900 may further include one or more memories 920. The memory 920 stores a program, which can be executed by the processor 910, so that the processor 910 executes the method described in the above method embodiment. The memory 920 may be independent of the processor 910 or integrated in the processor 910.

[0151] The apparatus 900 may further include a transceiver 930. The processor 910 may communicate with other devices or chips through the transceiver 930. For example, the processor 910 may transmit and receive data with other devices or chips through the transceiver 930.

[0152] The present application also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to the communication device provided in the present application, and the program enables a computer to execute the method executed by the communication device in each embodiment of the present application.

[0153] The embodiment of the present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to the communication device provided in the embodiment of the present application, and the program enables the computer to execute the method performed by the communication device in each embodiment of the present application.

[0154] The embodiment of the present application also provides a computer program. The computer program can be applied to the communication device provided in the embodiment of the present application, and the computer program enables a computer to execute the method executed by the communication device in each embodiment of the present application.

[0155] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0156] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

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

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

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

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

[0161] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: include: The first terminal device receives first information sent by the second terminal device, where the first information includes an application layer identifier and / or a link layer identifier of the third terminal device; The first terminal device determines a communication link between the first terminal device and the third terminal device according to the first information.

2. The method according to claim 1, characterized in that The link layer identifier is a layer 2 identifier used for short-range communication; Wherein, the first terminal device has short-range service capability.

3. The method according to claim 1 or 2, characterized in that: The first terminal device receives the first information sent by the second terminal device, including: The first terminal device receives the first information sent by the second terminal device through the first direct communication request message or during the security information interaction process; The first direct communication request message includes at least one of an application layer identifier of the second terminal device, an identifier of the first terminal device, service information and a relay service code.

4. The method according to any one of claims 1 to 3, characterized in that The first terminal device determines, according to the first information, a communication link between the first terminal device and the third terminal device, including: The first terminal device sends second information to the third terminal device in a unicast manner according to the first information, where the second information is used to request to establish the communication link; The second information includes at least one of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

5. The method according to claim 4, characterized in that The first terminal device sends the second information to the third terminal device in a unicast manner according to the first information, including: The first terminal device sends the second information to the third terminal device through a second direct communication request message in a unicast manner; or, The first terminal device sends the second information to the third terminal device in a unicast manner according to the first information, including: The first terminal device sends the second information in a unicast manner, using the link layer identifier of the third terminal device as the target link layer identifier.

6. The method according to any one of claims 1 to 3, characterized in that The first terminal device determines, according to the first information, a communication link between the first terminal device and the third terminal device, including: The first terminal device determines, according to the first information, that the communication link already exists between the first terminal device and the third terminal device; Wherein, after the first terminal device determines, according to the first information, that the communication link already exists between the first terminal device and the third terminal device, the method further includes: The first terminal device sends third information to the third terminal device, where the third information is used to modify the communication link.

7. The method according to claim 6, characterized in that The first terminal device sends third information to the third terminal device, including: The first terminal device sends third information to the third terminal device through a first link modification request message; The third information includes at least one of an identifier of the first terminal device, an application layer identifier of the third terminal device, service information, and a relay service code.

8. The method according to any one of claims 1 to 7, characterized in that After the first terminal device receives the first information sent by the second terminal device, the method further includes: The first terminal device sends fourth information to the second terminal device, wherein the fourth information includes an Internet Protocol (IP) address of the third terminal device; The first terminal device sending fourth information to the second terminal device includes: The first terminal device sends fourth information to the second terminal device via a direct communication response message or a second link modification request message.

9. A communication method, characterized in that: include: The second terminal device sends first information to the first terminal device, where the first information includes an application layer identifier and / or a link layer identifier of the third terminal device.

10. The method according to claim 9, characterized in that The link layer identifier is a layer 2 identifier used for short-range communication; The second terminal device has proximity service capability.

11. The method according to claim 9 or 10, characterized in that: The second terminal device sends the first information to the first terminal device, including: The second terminal device sends the first information through a first direct communication request message or during a security information interaction process; The first direct communication request message includes at least one of an application layer identifier of the second terminal device, an identifier of the first terminal device, service information and a relay service code.

12. The method according to any one of claims 9 to 11, characterized in that After the second terminal device sends the first information to the first terminal device, the method further includes: The second terminal device receives fourth information sent by the first terminal device, wherein the fourth information includes an Internet Protocol (IP) address of the third terminal device; The second terminal device receiving the fourth information sent by the first terminal device includes: The second terminal device receives the fourth information sent by the first terminal device through a direct communication response message or a second link modification request message.

13. A communication device, characterized in that: include: A receiving unit, configured to receive first information sent by a second terminal device, wherein the first information includes an application layer identifier and / or a link layer identifier of a third terminal device; A determining unit is used to determine a communication link between the apparatus and the third terminal device according to the first information.

14. A communication device, characterized in that: include: A sending unit is used to send first information to a first terminal device, wherein the first information includes an application layer identifier and / or a link layer identifier of a third terminal device.

15. A communication device, characterized in that: The invention comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method according to any one of claims 1 to 8.

16. A communication device, characterized in that: The invention comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory to execute the method according to any one of claims 9 to 12.

17. A chip, characterized in that: It comprises a processor, which is used to call a program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 8.

18. A chip, characterized in that: It comprises a processor, which is used to call a program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 9 to 12.