Communication method and device and computer readable storage medium

By allocating the local identity of the source edge terminal and the target edge terminal by the relay terminal in the multi-hop U2U relay communication, the problem of local identity allocation in the multi-hop U2U relay communication is solved, and the smooth routing and transmission efficiency of data in the multi-hop is achieved.

CN120201409APending Publication Date: 2025-06-24SPREADTRUM SEMICON (NANJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311742557.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the multi-hop U2U relay communication scenario, how to achieve the allocation of local identity is a technical problem that needs to be solved urgently.

Method used

The relay terminal in the multi-hop relay communication link allocates the local identity of the source edge terminal and the local identity of the target edge terminal, ensuring that each section of the link uses the same identity and is allocated by different relay terminals if necessary.

Benefits of technology

The local identification allocation of source edge terminals and target edge terminals in multi-hop relay communication scenarios is realized, ensuring smooth data routing in multi-hop, and improving the advantages of centralized and distributed transmission efficiency and identification allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201409A_ABST
    Figure CN120201409A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device and a computer readable storage medium, and the method comprises the steps: receiving a first local identifier and a second local identifier, the first local identifier being a local identifier of a source edge terminal, the second local identifier being a local identifier of a target edge terminal, the local identifier of the source edge terminal and the local identifier of the target edge terminal are distributed by a relay terminal in a multi-hop relay communication link; and transmitting the data packet according to the first local identifier and the second local identifier. The invention provides a method for distributing a local identifier in a multi-hop U2U relay scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a communication method and apparatus, and a computer-readable storage medium. Background Art

[0002] In a new radio (NR) evolved communication system, it is necessary to study multi-hop terminals and UE-to-UE relay (U2U relay) communication, that is, indirect communication implemented between a source edge terminal and a target edge terminal through at least two relay terminals. In multi-hop U2U relay, how to implement the allocation of local identifiers is a technical problem to be solved urgently. Summary of the Invention

[0003] This application provides a communication method and apparatus, and provides a method for allocating local identifiers in a multi-hop U2U relay scenario.

[0004] To achieve the above object, this application provides the following technical solutions:

[0005] In a first aspect, a communication method is provided. The communication method includes: receiving a first local identifier and a second local identifier, where the first local identifier is the local identifier of a source edge terminal, and the second local identifier is the local identifier of a target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal are allocated by a relay terminal in a multi-hop relay communication link; and transmitting a data packet according to the first local identifier and the second local identifier.

[0006] Optionally, the source edge terminal has one local identifier, and the local identifier is applicable to each link in the multi-hop relay communication link, and the target edge terminal has one local identifier, and the local identifier is applicable to each link in the multi-hop relay communication link.

[0007] Optionally, the local identifiers of the source edge terminal and the target edge terminal are allocated by any relay terminal in the multi-hop relay communication link.

[0008] Optionally, the local identifiers of the source edge terminal and the target edge terminal used in any two links in the multi-hop relay communication link are different.

[0009] Optionally, the last link in the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as the previous link, and the local identifiers of the source edge terminal and the target edge terminal used in any two links before the last link in the multi-hop relay communication link are different.

[0010] Optionally, for the links other than the last link in the multi-hop relay communication link, the local identifiers of the source edge terminal and the target edge terminal used are assigned by the relay terminal receiving data of the corresponding link, and for the last link in the multi-hop relay communication link, the local identifiers of the source edge terminal and the target edge terminal used are assigned by the relay terminal sending data of the last link.

[0011] In a second aspect, the present application further provides a communication method. The communication method includes: at least allocating local identifiers used for the previous link in the multi-hop relay communication link, where the local identifiers include the local identifier of the source edge terminal and the local identifier of the target edge terminal; and sending the local identifiers.

[0012] Optionally, the at least allocating local identifiers used for the previous link in the multi-hop relay communication link includes: allocating local identifiers used for each link in the multi-hop relay communication link.

[0013] Optionally, the sending the local identifiers includes: sending the local identifiers to the source edge terminal, the target edge terminal, and other relay terminals in the multi-hop relay communication link.

[0014] Optionally, there is one local identifier of the source edge terminal and it is applicable to each link in the multi-hop relay communication link, and there is one local identifier of the target edge terminal and it is applicable to each link in the multi-hop relay communication link.

[0015] Optionally, the method further includes: receiving a data packet, where the local identifier of the source edge terminal and the local identifier of the target edge terminal are carried in the header of the data packet; and forwarding the data packet to the next node, where the next node is a relay terminal or the target edge terminal.

[0016] Optionally, the at least allocating local identifiers used for the previous link in the multi-hop relay communication link includes: allocating local identifiers used for the previous link in the multi-hop relay communication link.

[0017] Optionally, the sending the local identifiers includes: sending the local identifiers to the sending node of the previous link, where the sending node is the source edge terminal or a relay terminal.

[0018] Optionally, the at least allocating local identifiers used for the previous link in the multi-hop relay communication link includes: allocating local identifiers used for the previous link in the multi-hop relay communication link and allocating local identifiers used for the next link.

[0019] Optionally, the sending of the local identifier includes: sending the local identifier assigned to the previous link segment to a relay terminal that sends data on the previous link segment, and sending the local identifier assigned to the next link segment to the target edge terminal that receives data.

[0020] Optionally, for any two link segments in the multi-hop relay communication link, the local identifiers of the source edge terminal and the target edge terminal used are different.

[0021] Optionally, for the last link segment and the previous link segment in the multi-hop relay communication link, the local identifiers of the source edge terminal and the target edge terminal used are the same, and for any two link segments before the last link segment in the multi-hop relay communication link, the local identifiers of the source edge terminal and the target edge terminal used are different.

[0022] Optionally, it further includes:

[0023] Receiving the data packet, where the local identifiers of the source edge terminal and the target edge terminal used in the previous link segment are carried in the header of the data packet;

[0024] Updating the header of the data packet and forwarding the updated data packet to the next node, where the next node is a relay terminal or the target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal used in the next link segment are carried in the header of the updated data packet.

[0025] In a third aspect, the present application also discloses a communication device, where the communication device includes: a communication module, configured to receive a first local identifier and a second local identifier, where the first local identifier is the local identifier of the source edge terminal, the second local identifier is the local identifier of the target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal are assigned by a relay terminal in a multi-hop relay communication link; the communication module is further configured to transmit a data packet according to the received first local identifier and second local identifier.

[0026] Optionally, there is one local identifier of the source edge terminal, and it is applicable to each link segment in the multi-hop relay communication link, and there is one local identifier of the target edge terminal, and it is applicable to each link segment in the multi-hop relay communication link.

[0027] Optionally, the local identifiers of the source edge terminal and the target edge terminal are assigned by any relay terminal in the multi-hop relay communication link.

[0028] Optionally, the local identifiers of the source edge terminal and the target edge terminal used by any two segments of the multi-hop relay communication link are different.

[0029] Optionally, the last segment of the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as its previous segment, and the local identifiers of the source edge terminal and the target edge terminal used by any two segments before the last segment of the multi-hop relay communication link are different.

[0030] Optionally, the local identifiers of the source edge terminal and the target edge terminal used by the other segments of the multi-hop relay communication link except the last segment are assigned by the relay terminal receiving data of the corresponding segment, and the local identifiers of the source edge terminal and the target edge terminal used by the last segment of the multi-hop relay communication link are assigned by the relay terminal sending data of the last segment.

[0031] In a fourth aspect, the present application also discloses a communication device, which includes: a processing module, configured to at least assign local identifiers used by the previous segment of the multi-hop relay communication link, where the local identifiers include the local identifier of the source edge terminal and the local identifier of the target edge terminal; and a communication module, configured to send the local identifiers.

[0032] Optionally, the processing module is specifically configured to: assign local identifiers used by each segment of the multi-hop relay communication link.

[0033] Optionally, the communication module is specifically configured to: send the local identifiers to the source edge terminal, the target edge terminal, and other relay terminals in the multi-hop relay communication link.

[0034] Optionally, there is one local identifier of the source edge terminal, and it is applicable to each segment of the multi-hop relay communication link, and there is one local identifier of the target edge terminal, and it is applicable to each segment of the multi-hop relay communication link.

[0035] Optionally, the communication module is further configured to: receive a data packet, where the local identifier of the source edge terminal and the local identifier of the target edge terminal are carried in the header of the data packet; and forward the data packet to the next node, where the next node is a relay terminal or the target edge terminal.

[0036] Optionally, the processing module is specifically configured to: assign local identifiers used by the previous segment of the multi-hop relay communication link.

[0037] Optionally, the communication module is specifically configured to: send the local identifier to the sending node of the previous link, where the sending node is the source edge terminal or the relay terminal.

[0038] Optionally, the processing module is specifically configured to: allocate the local identifier used by the previous link in the multi-hop relay communication link and allocate the local identifier used by the next link.

[0039] Optionally, the communication module is specifically configured to: send the local identifier allocated for the previous link to the relay terminal that sends data on the previous link, and send the local identifier allocated for the next link to the target edge terminal that receives data.

[0040] Optionally, the local identifiers of the source edge terminal and the target edge terminal used by any two links in the multi-hop relay communication link are all different.

[0041] Optionally, the last link in the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as its previous link, and the local identifiers of the source edge terminal and the target edge terminal used by any two links before the last link in the multi-hop relay communication link are all different.

[0042] Optionally, the communication module is further configured to: receive the data packet, where the local identifiers of the source edge terminal and the target edge terminal used in the previous link are carried in the header of the data packet; the communication module updates the header of the data packet and forwards the updated data packet to the next node, where the next node is the relay terminal or the target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal used in the next link are carried in the header of the updated data packet.

[0043] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program is run by a computer to execute any method provided in the first aspect or the second aspect.

[0044] In a sixth aspect, a communication device is provided, including a memory and a processor, where a computer program that can run on the processor is stored on the memory, and the processor runs the computer program to execute any method provided in the first aspect.

[0045] In a seventh aspect, a communication device is provided, including a memory and a processor, where a computer program that can run on the processor is stored on the memory, and the processor runs the computer program to execute any method provided in the second aspect.

[0046] In an eighth aspect, a computer program product is provided, on which a computer program is stored, and the computer program is run by a computer to execute any one of the methods provided in the first aspect or the second aspect.

[0047] In a ninth aspect, a communication system is provided, including a device for executing the method provided in the first aspect above and a device for executing the method provided in the second aspect above.

[0048] In a tenth aspect, an embodiment of the present application further provides a chip (or a communication device), on which a computer program is stored, and when the computer program is executed by the chip, the steps of the above method are implemented.

[0049] In an eleventh aspect, an embodiment of the present application further provides a system-on-chip. The chip system includes at least one processor and an interface circuit. The interface circuit and the at least one processor are interconnected by a line. The at least one processor is configured to execute instructions to execute any one of the methods provided in the first aspect or the second aspect.

[0050] Compared with the prior art, the technical solution of the present application has the following beneficial effects:

[0051] In the technical solution of the present application, a terminal device receives a first local identifier and a second local identifier. The first local identifier is the local identifier of a source edge terminal, and the second local identifier is the local identifier of a target edge terminal. The local identifier of the source edge terminal and the local identifier of the target edge terminal are assigned by a relay terminal in a multi-hop relay communication link; data packets are transmitted according to the first local identifier and the second local identifier. In the technical solution of the present application, the local identifier of the source edge terminal and the local identifier of the target edge terminal are assigned by a relay terminal in a multi-hop relay communication link, thereby realizing the assignment of the local identifier of the source edge terminal and the local identifier of the target edge terminal in a multi-hop relay communication scenario, and ensuring the smooth routing of data in multi-hop relay communication.

[0052] Further, in the technical solution of the present application, the local identifier of the source edge terminal and the local identifier of the target edge terminal are assigned by any relay terminal in the multi-hop relay communication link, and the local identifier of the source edge terminal and the local identifier of the target edge terminal are applicable to each segment of the multi-hop relay communication link. The present application assigns the local identifier of the source edge terminal and the local identifier of the target edge terminal by the same relay terminal, realizing centralized assignment of the local identifier, and the assignment process is simple; in addition, centralized assignment enables each segment of the multi-hop relay communication link to use the same local identifier of the source edge terminal and the same local identifier of the target edge terminal, and the relay terminal does not need to update the data packet header, improving the transmission efficiency.

[0053] Furthermore, in the technical solution of the present application, the local identifiers of the source edge terminal and the local identifier of the target edge terminal used in the other links except the last link in the multi-hop relay communication link are assigned by the relay terminal receiving data of the corresponding link, and the local identifier of the source edge terminal and the local identifier of the target edge terminal used in the last link in the multi-hop relay communication link are assigned by the relay terminal sending data of the last link. By assigning the local identifier of the source edge terminal and the local identifier of the target edge terminal used in the corresponding link by the relay terminal receiving or sending data of the corresponding link, the present application realizes the distributed assignment of the local identifier; by using different relay terminals to assign the local identifier of the source edge terminal and the local identifier of the target edge terminal used in different segments of the link, on the one hand, the power consumption of the relay terminal is reduced, and on the other hand, the probability of conflict with the local identifier of the source edge terminal and the local identifier of the target edge terminal used in other multi-hop relay communication links is reduced. Description of the Drawings

[0054] Figure 1 is a schematic diagram of a single-hop relay communication scenario in the prior art;

[0055] Figure 2 is a schematic diagram of a multi-hop relay communication scenario in the prior art;

[0056] Figure 3 is a flowchart of a communication method provided by an embodiment of the present application;

[0057] Figure 4 is an interaction flowchart of another communication method provided by an embodiment of the present application;

[0058] Figure 5 is an interaction flowchart of a communication method provided by an embodiment of the present application;

[0059] Figure 6 is an interaction flowchart of another communication method provided by an embodiment of the present application;

[0060] Figure 7 is an interaction flowchart of yet another communication method provided by an embodiment of the present application;

[0061] Figure 8 is an interaction flowchart of yet another communication method provided by an embodiment of the present application;

[0062] Figure 9 is an interaction flowchart of yet another communication method provided by an embodiment of the present application;

[0063] Figure 10 is an interaction flowchart of yet another communication method provided by an embodiment of the present application;

[0064] Figure 11It is a schematic structural diagram of a communication device provided by an embodiment of the present application;

[0065] Figure 12 It is a schematic hardware structure diagram of a communication device provided by an embodiment of the present application. Detailed implementation manners

[0066] The communication systems applicable to the embodiments of the present application include, but are not limited to, Long Term Evolution (LTE) systems, 5th-generation (5G) systems, and future evolved systems or multiple communication convergence systems. Among them, the 5G system can be a Non-Stand Alone (NSA) 5G system or a StandAlone (SA) 5G system. The technical solutions of the present application are also applicable to different network architectures, including but not limited to relay network architectures, dual-connection architectures, Vehicle-to-Everything architectures, etc.

[0067] The present application mainly relates to the communication between terminal devices. Among them:

[0068] The terminal equipment in the embodiments of the present application can refer to various forms of access terminals, user units, user stations, mobile stations, mobile stations (Mobile Station, MS), remote stations, remote terminals, mobile devices, user terminals, wireless communication devices, user agents or user devices. The terminal equipment can also be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminal equipment in future 5G networks or terminal equipment in future evolved Public Land Mobile Networks (PLMNs), etc. The embodiments of the present application are not limited thereto. The terminal equipment can also be referred to as User Equipment (UE), terminal, etc.

[0069] In the prior art, in the NR version 18 system, single-hop U2U relay communication was introduced, such as Figure 1As shown in the figure. Indirect communication is achieved between a source remote UE and a target remote UE through a relay UE. To enable the relay UE to identify that a data packet is transmitted from the source remote UE to the target remote UE and further route the data packet to the target remote UE, a pair of local IDs of the source remote UE and the target remote UE are carried in the packet header of the sidelink relay adaptation protocol (SRAP) layer, which are used to identify a pair of communicating source remote UE and target remote UE.

[0070] In a multi-hop U2U relay communication scenario, such as Figure 2 the two-hop U2U relay communication shown in the figure, that is, there are two relay UEs, relay UE1 and relay UE2, in this link. In a multi-hop U2U relay, to identify the source remote UE and the target remote UE of the communication, a pair of local IDs also need to be carried in the packet header of the SRAP protocol layer of the data packet. Then, how to implement the allocation of local IDs in a multi-hop U2U relay is a technical problem to be solved urgently.

[0071] In the technical solution of this application, the relay UE in the multi-hop relay communication link allocates the local ID of the source remote UE and the local ID of the target remote UE, thereby realizing the allocation of the local ID of the source remote UE and the local ID of the target remote UE in the multi-hop relay communication scenario and ensuring the smooth routing of data in the multi-hop relay communication.

[0072] In the embodiment of this application, the source remote UE refers to the terminal that needs to send data, that is, the terminal that initiates data transmission.

[0073] In the embodiment of this application, the relay UE is the terminal that forwards data.

[0074] In the embodiment of this application, the target remote UE refers to the terminal that needs to receive data, that is, the target receiving terminal of the data.

[0075] It should be noted that in the following embodiments of this application, the method provided in the embodiments of this application is exemplarily described by taking one or more of the interactive nodes as the source remote UE, the relay UE, and the target remote UE. In actual implementation, the actions performed by the source remote UE can also be performed by a device in the source remote UE, a chip in the source remote UE, a chip independent of the source remote UE, a communication device, etc. The same applies to the relay UE and the target remote UE, and this application does not make any restrictions.

[0076] To make the above objects, features, and advantages of the present application more apparent and understandable, the following provides a detailed description of specific embodiments of the present application with reference to the accompanying drawings.

[0077] See Figure 3 , the method provided by the present application specifically includes the following steps:

[0078] Step 301: The terminal device receives a first local identifier and a second local identifier.

[0079] Step 302: The terminal device transmits a data packet according to the first local identifier and the second local identifier.

[0080] The terminal device in this embodiment can be a source edge terminal or a target edge terminal. The first local identifier is the local identifier of the source edge terminal. There can be only one local identifier for the edge terminal. In this case, the local identifier of the source edge terminal is the first local identifier. There can also be multiple local identifiers for the source edge terminal. In this case, the first local identifier is one of the local identifiers of the source edge terminal. The second local identifier is the local identifier of the target edge terminal. There can be only one local identifier for the target edge terminal. In this case, the local identifier of the target edge terminal is the second local identifier. There can also be multiple local identifiers for the target edge terminal. In this case, the second local identifier is one of the local identifiers of the target edge terminal.

[0081] The local identifiers of the source edge terminal and the target edge terminal are assigned by a relay terminal in the multi-hop relay communication link.

[0082] Optionally, in the first implementation, there is one local identifier for the source edge terminal and it is applicable to each segment of the multi-hop relay communication link. There is one local identifier for the target edge terminal and it is applicable to each segment of the multi-hop relay communication link. That is, each segment of the multi-hop relay communication link uses the same local identifier of the source edge terminal and the same local identifier of the target edge terminal.

[0083] Furthermore, the local identifiers of the source edge terminal and the target edge terminal are assigned by any relay terminal in the multi-hop relay communication link. For more specific implementation manners of this embodiment, reference can be made to subsequent Embodiment 1, which will not be elaborated here.

[0084] Optionally, in the second implementation, the local identifiers of the source edge terminal and the target edge terminal used in any two segments of the multi-hop relay communication link are different.

[0085] Further, the local identifiers of the source edge terminal and the target edge terminal used by the links other than the last link in the multi-hop relay communication link are assigned by the relay terminal that receives data on the corresponding link, and the local identifiers of the source edge terminal and the target edge terminal used by the last link in the multi-hop relay communication link are assigned by the relay terminal that sends data on the last link. For more specific implementation manners of this embodiment, reference may be made to subsequent Embodiment 2, which will not be elaborated herein.

[0086] Optionally, in the third implementation manner, the last link in the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as the previous link, and the local identifiers of the source edge terminal and the target edge terminal used by any two links before the last link in the multi-hop relay communication link are different.

[0087] Further, the local identifiers of the source edge terminal and the target edge terminal used by the links other than the last link in the multi-hop relay communication link are assigned by the relay terminal that receives data on the corresponding link, and the local identifiers of the source edge terminal and the target edge terminal used by the last link in the multi-hop relay communication link are assigned by the relay terminal that sends data on the last link. For more specific implementation manners of this embodiment, reference may be made to subsequent Embodiment 3, which will not be elaborated herein.

[0088] See Figure 4 , the method provided by this application specifically includes the following steps:

[0089] Step 401: The relay terminal assigns at least the local identifier used by the previous link in the multi-hop relay communication link.

[0090] Step 402: The relay terminal sends the local identifier.

[0091] Among them, the local identifier includes the local identifier of the source edge terminal and the local identifier of the target edge terminal.

[0092] Optionally, the relay terminal may assign the local identifier used by each link in the multi-hop relay communication link. At this time, the relay terminal may be any relay terminal in the multi-hop relay communication link.

[0093] Further, the relay terminal sends the local identifier to the source edge terminal, the target edge terminal, and other relay terminals in the multi-hop relay communication link.

[0094] Further, the source edge terminal has one local identifier, and it is applicable to each link in the multi-hop relay communication link. The destination edge terminal has one local identifier, and it is applicable to each link in the multi-hop relay communication link. For more specific implementation manners of this embodiment, reference can be made to subsequent Embodiment 1, which will not be elaborated here.

[0095] Optionally, the relay terminal may allocate the local identifier it uses to the previous link in the multi-hop relay communication link. At this time, the relay terminal is other relay terminals except the relay terminal closest to the destination edge terminal, that is, the relay terminal in other links except the last link. Taking Figure 2 the two-hop relay communication link as an example, the relay terminal is Relay Terminal 1. When there are multiple relay terminals in other links except the last link, each relay terminal allocates a local identifier to its previous link.

[0096] Further, the relay terminal sends the local identifier to the sending node of the previous link, and the sending node is the source edge terminal or the relay terminal. For more specific implementation manners of this embodiment, reference can be made to subsequent Embodiment 2 and / or Embodiment 3, which will not be elaborated here.

[0097] Optionally, the relay terminal allocates the local identifier it uses to the previous link in the multi-hop relay communication link and the local identifier it uses to the next link. Specifically, the relay terminal is the relay terminal closest to the destination edge terminal, that is, the relay terminal in the last link. Taking Figure 2 the two-hop relay communication link as an example, the relay terminal is Relay Terminal 2.

[0098] Further, the relay terminal that sends data to the previous link sends the local identifier allocated to the previous link, and sends the local identifier allocated to the next link to the destination edge terminal that receives the data. For more specific implementation manners of this embodiment, reference can be made to subsequent Embodiment 2 and / or Embodiment 3, which will not be elaborated here.

[0099] It can be understood that in specific implementation, the communication method can be implemented in the form of a software program, and the software program runs in a processor integrated inside a chip or a chip module. This method can also be implemented in the form of software combined with hardware, which is not limited in this application.

[0100] According to the differences in the execution entity for allocating the local identifier and the allocated local identifier, different embodiments will be described separately.

[0101] Embodiment 1: Any relay terminal in the multi-hop relay communication link allocates the local identifier of the source edge terminal and the local identifier of the destination edge terminal.

[0102] See Figure 5, the method provided by this application specifically includes the following steps:

[0103] Step 501: The relay terminal 1 assigns a local identifier of the source edge terminal to the source edge terminal in the multi-hop relay communication link, and assigns a local identifier of the target edge terminal to the target edge terminal.

[0104] Step 501 can also be described as: The relay terminal 1 assigns the local identifier of the source edge terminal used by each link in the multi-hop relay communication link and the local identifier of the target edge terminal.

[0105] Step 502: The relay terminal 1 sends the local identifier of the source edge terminal and the local identifier of the target edge terminal to the source edge terminal.

[0106] Step 503: The relay terminal 1 sends the local identifier of the source edge terminal and the local identifier of the target edge terminal to the relay terminal 2.

[0107] Step 504: The relay terminal 1 sends the local identifier of the source edge terminal and the local identifier of the target edge terminal to the target edge terminal.

[0108] It should be noted that the sequence numbers of the steps in this embodiment do not represent the limitation of the execution order of each step. For example, step 502 and step 504 can be executed synchronously or at different times, and this application does not make any restrictions.

[0109] It can be understood that in specific implementation, the communication method can be implemented in the form of a software program, and this software program runs in a processor integrated inside a chip or a chip module. This method can also be implemented in the form of software combined with hardware, and this application does not make any restrictions.

[0110] In this embodiment, there is one local identifier of the source edge terminal, and it is applicable to each link in the multi-hop relay communication link. There is one local identifier of the target edge terminal, and it is applicable to each link in the multi-hop relay communication link. That is to say, each link in the multi-hop relay communication link uses the same local identifier of the source edge terminal and the same local identifier of the target edge terminal.

[0111] Specifically, a link in the multi-hop relay communication link refers to a communication link between two terminals. For example Figure 5 In the shown scenario, there are 3 links, specifically including the link between the source edge terminal and the relay terminal 1, the link between the relay terminal 1 and the relay terminal 2, and the link between the relay terminal 2 and the target edge terminal.

[0112] In this embodiment, there may be other source edge terminals and target edge terminals sharing other multi-hop relay communication links of the relay terminal with the source edge terminal and target edge terminal in the embodiment. Since different multi-hop relay communication links are usually established at different times, when the relay terminal assigns local identifiers to the source edge terminal and the target edge terminal, it will exclude the local identifiers already assigned by itself and other relay terminals in the same link. Therefore, the local identifiers used in different multi-hop relay communication links will not conflict.

[0113] In a variant of Embodiment 1, the relay terminal 2 can assign local identifiers to each segment of the multi-hop relay communication link. And the relay terminal 2 sends the local identifiers to the source edge terminal, the target edge terminal, and other relay terminals in the multi-hop relay communication link.

[0114] In this embodiment, it is described by taking the multi-hop relay communication link having two hops, that is, having two relay terminals as an example. In practice, the number of relay terminals can also be preset to 3, 4 or more; correspondingly, any relay terminal can assign local identifiers, and this application does not limit this.

[0115] Further, please refer to Figure 6 , Figure 6 shows the transmission process of the data packet in the case of assigning local identifiers shown in Embodiment 1. In this embodiment, each node of the multi-hop relay communication link has received in advance the local identifier of the source edge terminal and the local identifier of the target edge terminal.

[0116] In step 601, the source edge terminal sends a data packet to the relay terminal 1, and the local identifier of the source edge terminal and the local identifier of the target edge terminal are carried in the packet header of the data packet.

[0117] For example, the local identifier of the source edge terminal is ID1, and the local identifier of the target edge terminal is ID2. When the source edge terminal sends a data packet, it carries ID1 and ID2 in the SRAP packet header.

[0118] In step 602, the relay terminal 1 forwards the data packet to the relay terminal 2.

[0119] Specifically, after receiving the data packet, the relay terminal 1 forwards the data packet to the relay terminal 2, and ID1 and ID2 are carried in the packet header of the data packet.

[0120] In step 603, the relay terminal 2 forwards the data packet to the target edge terminal.

[0121] Specifically, after receiving the data packet, the relay terminal 2 forwards the data packet to the target edge terminal, and ID1 and ID2 are carried in the packet header of the data packet.

[0122] In this embodiment, the local identifier of the same source edge terminal and the local identifier of the same destination edge terminal are carried in the packet header of the data packets transmitted on each link in the multi-hop relay communication link.

[0123] Embodiment 2: The local identifier of the source edge terminal and the local identifier of the destination edge terminal used in the links other than the last link in the multi-hop relay communication link are assigned by the relay terminal receiving data on the corresponding link, and the local identifier of the source edge terminal and the local identifier of the destination edge terminal used in the last link in the multi-hop relay communication link are assigned by the relay terminal transmitting data on the last link.

[0124] Specifically, please refer to Figure 7 , in step 701, relay terminal 1 assigns the local identifier ID1 of the source edge terminal and the local identifier ID2 of the destination edge terminal used in the previous link in the multi-hop relay communication link.

[0125] In step 702, relay terminal 1 sends the local identifier ID1 of the source edge terminal and the local identifier ID2 of the destination edge terminal to the source edge terminal. That is, relay terminal 1 sends the local identifier ID1 of the source edge terminal and the local identifier ID2 of the destination edge terminal to the sending node of the previous link.

[0126] In step 703, relay terminal 2 assigns the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal used in the previous link and the next link in the multi-hop relay communication link.

[0127] In step 704, relay terminal 2 sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal to relay terminal 1. That is, relay terminal 2 sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal to the sending node of the previous link.

[0128] In step 705, relay terminal 2 sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal to the destination edge terminal. That is, relay terminal 2 also sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal to the receiving node of the next link.

[0129] Among them, step 704 and step 705 can be executed simultaneously, or step 704 can be executed first and then step 705, or step 705 can be executed first and then step 704. This application does not limit this.

[0130] In this embodiment, the relay terminal 2 allocates the same local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal for use by the previous link and the next link.

[0131] Correspondingly, please refer to Figure 8 , Figure 8 which shows the transmission process of data packets in the case of allocating local identifiers as shown in Embodiment 2. In this embodiment, each node of the multi-hop relay communication link has previously received the local identifier of the source edge terminal and the local identifier of the destination edge terminal.

[0132] In step 801, the source edge terminal sends a data packet to relay terminal 1, and the local identifier ID1 of the source edge terminal and the local identifier ID2 of the destination edge terminal are carried in the packet header of the data packet.

[0133] Specifically, the source edge terminal carries ID1 and ID2 in the SRAP packet header when sending the data packet.

[0134] In step 802, relay terminal 1 updates the packet header of the data packet.

[0135] Specifically, since the local identifier ID1 of the source edge terminal and the local identifier ID2 of the destination edge terminal used for the link between the source edge terminal and relay terminal 1 are different from the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal used for the link between relay terminal 1 and relay terminal 2, relay terminal 1 needs to update the packet header of the data packet before forwarding the data packet to relay terminal 2, so that the packet header of the data packet carries the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal, so that relay terminal 2 can identify the source edge terminal and the destination edge terminal of the data packet.

[0136] In step 803, relay terminal 1 forwards the data packet to relay terminal 2. The packet header of this data packet carries the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal.

[0137] In step 804, relay terminal 2 forwards the data packet to the destination edge terminal. The packet header of this data packet carries the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal.

[0138] Specifically, since the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal used for the link between relay terminal 1 and relay terminal 2 are the same as the local identifier ID3 of the source edge terminal and the local identifier ID4 of the destination edge terminal used for the link between relay terminal 2 and the destination edge terminal, relay terminal 2 does not need to update the packet header of the data packet and directly forwards the data packet to the destination edge terminal.

[0139] In a variant, different from the previous embodiment where the relay terminal 2 assigns the same local identifiers of the source edge terminal and the target edge terminal for the previous link and the next link, in this embodiment, the relay terminal 2 assigns different local identifiers of the source edge terminal and the target edge terminal for the previous link and the next link.

[0140] Specifically, refer to Figure 9 , in step 901, the relay terminal 1 assigns the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal used for the previous link in the multi-hop relay communication link.

[0141] In step 902, the relay terminal 1 sends the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal to the source edge terminal. That is, the relay terminal 1 sends the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal to the sending node of the previous link.

[0142] In step 903, the relay terminal 2 assigns the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal used for the previous link in the multi-hop relay communication link, and assigns the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal used for the next link.

[0143] In step 904, the relay terminal 2 sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal to the relay terminal 1. That is, the relay terminal 2 sends the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal to the sending node of the previous link.

[0144] In step 905, the relay terminal 2 sends the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal to the target edge terminal. The relay terminal 2 also sends the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal to the receiving node of the next link.

[0145] In this embodiment, the local identifiers of the source edge terminal and the target edge terminal used for any two links in the multi-hop relay communication link are all different. Specifically, for the link between the source edge terminal and the relay terminal 1, the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal are used; for the link between the relay terminal 1 and the relay terminal 2, the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal are used; for the link between the relay terminal 2 and the target edge terminal, the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal are used.

[0146] Accordingly, please refer to Figure 10 , Figure 10 which shows the transmission process of data packets in the case of allocating local identifiers as shown in the above variation example. In this embodiment, each node of the multi-hop relay communication link has pre-received the local identifier of the source edge terminal and the local identifier of the target edge terminal.

[0147] In step 1001, the source edge terminal sends a data packet to relay terminal 1, and the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal are carried in the packet header of the data packet.

[0148] Specifically, the source edge terminal carries ID1 and ID2 in the SRAP packet header when sending the data packet.

[0149] In step 1002, relay terminal 1 updates the packet header of the data packet.

[0150] Specifically, since the local identifier ID1 of the source edge terminal and the local identifier ID2 of the target edge terminal used for the link between the source edge terminal and relay terminal 1 are different from the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal used for the link between relay terminal 1 and relay terminal 2, relay terminal 1 needs to update the packet header of the data packet before forwarding the data packet to relay terminal 2, so that the packet header of the data packet carries the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal, thereby enabling relay terminal 2 to identify the source edge terminal and the target edge terminal of the data packet.

[0151] Specifically, relay terminal 1 carries ID3 and ID4 in the SRAP packet header when sending the data packet.

[0152] In step 1003, relay terminal 1 forwards the data packet to relay terminal 2. The packet header of this data packet carries the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal.

[0153] In step 1004, relay terminal 2 updates the packet header of the data packet.

[0154] Specifically, since the local identifier ID3 of the source edge terminal and the local identifier ID4 of the target edge terminal used in the link between relay terminal 1 and relay terminal 2 are different from the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal used in the link between relay terminal 2 and the target edge terminal, relay terminal 2 needs to update the packet header before forwarding the data packet to the target edge terminal, so that the packet header of the data packet carries the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal, enabling the target edge terminal to identify the source edge terminal and the target edge terminal of the data packet.

[0155] Specifically, when sending a data packet, relay terminal 2 carries ID5 and ID6 in the SRAP packet header.

[0156] In step 1005, relay terminal 2 forwards the data packet to the target edge terminal. The packet header of this data packet carries the local identifier ID5 of the source edge terminal and the local identifier ID6 of the target edge terminal.

[0157] In the above embodiment, when the relay terminal sends the local identifier to other relay terminals, the source edge terminal or the target edge terminal, the local identifier can be transmitted through inter-terminal interface signaling, such as signaling like PC5 Radio Resource Control (RRC).

[0158] It should be noted that the local identifier can also be transmitted through any other appropriate signaling, such as Sidelink Control Information (SCI). This application places no restrictions on this.

[0159] For more specific implementation manners of the embodiments of this application, please refer to the foregoing embodiments and will not be elaborated here.

[0160] Please refer to Figure 11 , Figure 11 which shows a communication device 110. The communication device 110 may include:

[0161] A communication module 1101, configured to receive a first local identifier and a second local identifier. The first local identifier is the local identifier of the source edge terminal, and the second local identifier is the local identifier of the target edge terminal. The local identifier of the source edge terminal and the local identifier of the target edge terminal are assigned by a relay terminal in a multi-hop relay communication link.

[0162] The communication module 1101 is further configured to transmit a data packet according to the received first local identifier and second local identifier.

[0163] In a specific implementation, the communication device 110 may correspond to a chip with communication functions in a terminal device (such as a source edge terminal or a target edge terminal), such as a System-On-a-Chip (SOC), a baseband chip, etc.; or correspond to a chip module including a chip with communication functions in the terminal device; or correspond to a chip module with a chip having data processing functions, or correspond to the terminal device.

[0164] In a non-limiting embodiment, the communication device 110 may further include a processing module, and the processing module is configured to allocate, at least for the previous link in the multi-hop relay communication link, a local identifier used thereby, and the local identifier includes the local identifier of the source edge terminal and the local identifier of the target edge terminal.

[0165] The communication module 1101 is configured to send the local identifier.

[0166] In a specific implementation, the communication device 110 may correspond to a chip with communication functions in a terminal device (such as a relay terminal), such as a System-On-a-Chip (SOC), a baseband chip, etc.; or correspond to a chip module including a chip with communication functions in the terminal device; or correspond to a chip module with a chip having data processing functions, or correspond to the terminal device.

[0167] For other related descriptions of the communication device 110, reference may be made to the relevant descriptions in the foregoing embodiments, and details are not described herein again.

[0168] Regarding each device and product described in the above embodiments, each module / unit included therein can be a software module / unit, a hardware module / unit, or can be partially a software module / unit and partially a hardware module / unit. For example, for each device and product applied to or integrated into a chip, each module / unit included therein can be implemented in a hardware manner such as a circuit. Or, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the chip, and the remaining (if any) part of the modules / units can be implemented in a hardware manner such as a circuit. For each device and product applied to or integrated into a chip module, each module / unit included therein can be implemented in a hardware manner such as a circuit. Different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components of the chip module. Or, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the chip module, and the remaining (if any) part of the modules / units can be implemented in a hardware manner such as a circuit. For each device and product applied to or integrated into a terminal device, each module / unit included therein can be implemented in a hardware manner such as a circuit. Different modules / units can be located in the same component (such as a chip, a circuit module, etc.) or different components inside the terminal device. Or, at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the terminal device, and the remaining (if any) part of the modules / units can be implemented in a hardware manner such as a circuit.

[0169] An embodiment of the present application also discloses a storage medium. The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program runs, it can execute Figures 1 to 3 the steps of the method shown in. The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, etc. The storage medium can also include a non-volatile memory or a non-transitory memory, etc.

[0170] Please refer to Figure 12 , an embodiment of the present application also provides a schematic diagram of the hardware structure of a communication device. The device includes a processor 1201, a memory 1202, and a transceiver 1203.

[0171] The processor 1201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the solution of this application. The processor 1201 may also include multiple CPUs, and the processor 1201 may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0172] The memory 1202 may be a ROM or other type of static storage device that can store static information and instructions, a RAM, or other type of dynamic storage device that can store information and instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. The embodiments of this application do not impose any restrictions on this. The memory 1202 may exist independently (in this case, the memory 1202 may be located outside the device or inside the device), or may be integrated with the processor 1201. Among them, the memory 1202 may contain computer program code. The processor 1201 is used to execute the computer program code stored in the memory 1202, so as to implement the method provided by the embodiments of this application.

[0173] The processor 1201, the memory 1202, and the transceiver 1203 are connected through a bus. The transceiver 1203 is used to communicate with other devices or communication networks. Optionally, the transceiver 1203 may include a transmitter and a receiver. The device in the transceiver 1203 for implementing the receiving function can be regarded as a receiver, and the receiver is used to execute the receiving steps in the embodiments of this application. The device in the transceiver 1203 for implementing the sending function can be regarded as a transmitter, and the transmitter is used to execute the sending steps in the embodiments of this application.

[0174] When Figure 12When the structural schematic diagram shown is used to illustrate the structure of the source edge terminal or the target edge terminal involved in the above embodiments, the processor 1201 is used to control and manage the actions of the source edge terminal or the target edge terminal. For example, the processor 1201 is used to support the terminal device to execute Figure 3 Steps 301 and 302 in Figure 5 Steps 502 and 504 in Figure 6 Steps 601 and 603 in Figure 7 Steps 702 and 705 in Figure 8 Steps 801 and 804 in Figure 9 Steps 902 and 905 in Figure 10 Steps 1001 and 1005 in

[0175] and / or the actions executed by the terminal device in other processes described in the embodiments of the present application. The processor 1201 can communicate with other network entities through the transceiver 1203. For example, it communicates with the above network device. The memory 1202 is used to store the program code and data of the terminal device.

[0175] When Figure 12 the structural schematic diagram shown is used to illustrate the structure of the relay terminal involved in the above embodiments, the processor 1201 is used to control and manage the actions of the relay terminal. For example, the processor 1201 is used to support the network device to execute Figure 4 Steps 401 and 402 in Figure 5 Steps 501 to 504 in Figure 6 Steps 601 to 603 in Figure 7 Steps 701 to 705 in Figure 8 Steps 801 to 804 in Figure 9 Steps 901 to 905 in Figure 10 Steps 1001 to 1005 in

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

[0177] The "multiple" that appears in the embodiments of the present application refers to two or more.

[0178] In the embodiments of the present application, the descriptions such as first and second are only for indicating and distinguishing the described objects, without any order, nor do they represent special limitations on the number of devices in the embodiments of the present application, and cannot constitute any limitation to the embodiments of the present application.

[0179] The "connection" in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not make any limitations thereto.

[0180] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments 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 or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can 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 can be transmitted from one website, computer, server or data center to another website, computer, server or data center in a wired or wireless manner.

[0181] It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

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

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

[0184] In addition, each functional unit in various embodiments of the present application may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0185] The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The above-mentioned software functional unit stored in a storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in various embodiments of the present application.

[0186] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application should be subject to the scope defined by the claims.

Claims

1. A communication method, characterized in that, including: receiving a first local identifier and a second local identifier, where the first local identifier is the local identifier of a source edge terminal, and the second local identifier is the local identifier of a target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal are assigned by a relay terminal in a multi-hop relay communication link; transmitting a data packet according to the first local identifier and the second local identifier.

2. The communication method according to claim 1, wherein There is one local identifier of the source edge terminal and it is applicable to each link in the multi-hop relay communication link. There is one local identifier of the target edge terminal and it is applicable to each link in the multi-hop relay communication link.

3. The communication method according to claim 2, wherein The local identifier of the source edge terminal and the local identifier of the target edge terminal are assigned by any relay terminal in the multi-hop relay communication link.

4. The communication method according to claim 1, wherein The local identifiers of the source edge terminal and the target edge terminal used in any two links in the multi-hop relay communication link are different.

5. The communication method according to claim 1, wherein The last link in the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as the previous link, and the local identifiers of the source edge terminal and the target edge terminal used in any two links before the last link in the multi-hop relay communication link are different.

6. The communication method according to claim 4 or 5, characterized in that, The local identifiers of the source edge terminal and the target edge terminal used in the links other than the last link in the multi-hop relay communication link are assigned by the relay terminal receiving data of the corresponding link, and the local identifiers of the source edge terminal and the target edge terminal used in the last link in the multi-hop relay communication link are assigned by the relay terminal sending data of the last link.

7. A communication method, characterized in that, including: allocating at least the local identifier used by the previous link in the multi-hop relay communication link, where the local identifier includes the local identifier of the source edge terminal and the local identifier of the target edge terminal; sending the local identifier.

8. The communication method according to claim 7, wherein The allocating at least the local identifier used by the previous link in the multi-hop relay communication link includes: allocating the local identifier used by each link in the multi-hop relay communication link.

9. The communication method according to claim 8, wherein The sending the local identifier includes: sending the local identifier to the source edge terminal, the target edge terminal, and other relay terminals in the multi-hop relay communication link.

10. The communication method according to claim 8 or 9, characterized in that, There is one local identifier of the source edge terminal and it is applicable to each link in the multi-hop relay communication link. There is one local identifier of the target edge terminal and it is applicable to each link in the multi-hop relay communication link.

11. The communication method according to any one of claims 8-10, characterized in that, The method further includes: receiving a data packet, where the local identifier of the source edge terminal and the local identifier of the target edge terminal are carried in the header of the data packet; forwarding the data packet to the next node, where the next node is a relay terminal or the target edge terminal.

12. The communication method according to claim 7, wherein The allocating at least the local identifier used by the previous link in the multi-hop relay communication link includes: allocating the local identifier used by the previous link in the multi-hop relay communication link.

13. The communication method according to claim 12, wherein The sending the local identifier includes: Send the local identifier to the sending node of the previous link segment, where the sending node is the source edge terminal or the relay terminal.

14. The communication method according to claim 7, wherein Allocating the local identifier used by at least the previous link segment in the multi-hop relay communication link includes: Allocating the local identifier used by the previous link segment in the multi-hop relay communication link and allocating the local identifier used by the next link segment.

15. The communication method according to claim 14, characterized in that, Sending the local identifier includes: Sending the local identifier allocated for the previous link segment to the relay terminal that sends data on the previous link segment, and sending the local identifier allocated for the next link segment to the target edge terminal that receives data.

16. The communication method according to any one of claims 12 to 15, characterized in that, The local identifiers of the source edge terminal and the target edge terminal used by any two link segments in the multi-hop relay communication link are different.

17. The communication method according to any one of claims 12 to 15, characterized in that The last link segment in the multi-hop relay communication link uses the same local identifiers of the source edge terminal and the target edge terminal as its previous link segment, and the local identifiers of the source edge terminal and the target edge terminal used by any two link segments before the last link segment in the multi-hop relay communication link are different.

18. The communication method according to any one of claims 12 to 17, characterized in that, Further includes: Receiving a data packet, where the local identifiers of the source edge terminal and the target edge terminal used in the previous link segment are carried in the header of the data packet; Updating the header of the data packet and forwarding the updated data packet to the next node, where the next node is a relay terminal or the target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal used in the next link segment are carried in the header of the updated data packet.

19. A communication device, characterized in that, Includes: A communication module for receiving a first local identifier and a second local identifier, where the first local identifier is the local identifier of the source edge terminal, the second local identifier is the local identifier of the target edge terminal, and the local identifiers of the source edge terminal and the target edge terminal are allocated by a relay terminal in the multi-hop relay communication link; The communication module is further configured to transmit a data packet according to the received first local identifier and second local identifier.

20. A communication device, characterized in that, Includes: A processing module for allocating at least the local identifier used by the previous link segment in the multi-hop relay communication link, where the local identifier includes the local identifier of the source edge terminal and the local identifier of the target edge terminal; A communication module for sending the local identifier.

21. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run by a computer, it executes the steps of the communication method according to any one of claims 1 to 6, or executes the steps of the communication method according to any one of claims 7 to 18.

22. A communication device, comprising a memory and a processor, wherein a computer program that can run on the processor is stored on the memory, characterized in that When the processor runs the computer program, it executes the steps of the communication method according to any one of claims 1 to 6, or executes the steps of the communication method according to any one of claims 7 to 18.