Relay communication methods, relay devices, terminals, communication system and storage medium

By introducing the concept of identification information into the relay device, it is ensured that messages can be accurately distributed during the relay communication from the terminal to the terminal, solving the problem of relay communication reliability and achieving efficient and flexible communication.

WO2025065642A1PCT designated stage expired Publication Date: 2025-04-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/122943
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

How to ensure the reliability of terminal-to-terminal relay communication, especially during the messaging process, to ensure that messages can be accurately distributed.

Method used

The relay device receives the message sent by the first terminal and sends a message containing identification information to the second terminal to ensure that the relay device can reliably distribute the message according to the identification information.

Benefits of technology

The reliability of relay communication is realized, ensuring that messages can be accurately distributed to the target terminal during the delivery process, and improving the reliability and flexibility of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023122943_03042025_PF_FP_ABST
    Figure CN2023122943_03042025_PF_FP_ABST
Patent Text Reader

Abstract

Relay communication methods, relay devices, terminals, a communication system, and a storage medium. A method comprises: a relay device receives a first message sent by a first terminal; and the relay device sends a second message to a second terminal, the second message comprising identification information, the identification information being used for identifying the first message, and the first message and the second message being used for the first terminal to request a discovery of the second terminal. The present disclosure allows relay devices to reliably distribute messages on the basis of identification information during subsequent relay communication, thus ensuring the reliability of relay communication.
Need to check novelty before this filing date? Find Prior Art

Description

Relay communication method, relay device, terminal, communication system and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a relay communication method, a relay device, a terminal, a communication system, and a storage medium. Background Art

[0002] Currently, two terminal devices can communicate using a sidelink. To further enhance the coverage capability of the sidelink, a UE to UE Relay (U2U Relay) technology has been introduced.

[0003] Summary of the Invention

[0004] How to ensure the reliability of terminal-to-terminal relay communication is an urgent problem to be solved.

[0005] According to a first aspect of an embodiment of the present disclosure, a relay communication method is proposed, the method comprising:

[0006] The relay device receives a first message sent by the first terminal;

[0007] The relay device sends a second message to the second terminal, where the second message includes identification information, where the identification information is used to identify the first message;

[0008] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0009] According to a second aspect of an embodiment of the present disclosure, a relay communication method is provided, the method comprising:

[0010] The second terminal receives a second message sent by the relay device, where the second message includes identification information, where the identification information is used to identify the first message, and the second message is sent by the relay device when the relay device receives the first message sent by the first terminal;

[0011] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0012] According to a third aspect of an embodiment of the present disclosure, a relay communication method is proposed, the method comprising:

[0013] The first terminal sends a first message to the relay device;

[0014] The relay device sends a second message to the second terminal, where the second message includes identification information, where the identification information is used to identify the first message;

[0015] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0016] According to a fourth aspect of an embodiment of the present disclosure, a relay device is provided, the relay device including:

[0017] a transceiver module, configured to receive a first message sent by a first terminal;

[0018] The transceiver module is further configured to send a second message to the second terminal, where the second message includes identification information, and the identification information is used to identify the first message;

[0019] The first message and the second message are used by the first terminal to request the first terminal to discover the first terminal.

[0020] According to a fifth aspect of an embodiment of the present disclosure, a second terminal is provided, the second terminal including:

[0021] a transceiver module configured to receive a second message sent by the relay device, where the second message includes identification information, where the identification information is used to identify the first message, and the second message is sent by the relay device when the relay device receives the first message sent by the first terminal;

[0022] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0023] According to a sixth aspect of an embodiment of the present disclosure, a relay device is provided, including:

[0024] one or more processors;

[0025] A memory coupled to the one or more processors, the memory comprising executable instructions, which, when executed by the one or more processors, enable the relay device to execute the relay communication method described in the first aspect.

[0026] According to a seventh aspect of an embodiment of the present disclosure, a second terminal is provided, including:

[0027] one or more processors;

[0028] A memory coupled to the one or more processors, the memory comprising executable instructions, which, when executed by the one or more processors, causes the first device to execute the relay communication method described in the second aspect.

[0029] According to the eighth aspect of an embodiment of the present disclosure, a communication system is proposed, comprising a relay device and a second terminal, wherein the relay device is configured to implement the relay communication method described in the first aspect, and the second terminal is configured to implement the relay communication method described in the second aspect.

[0030] According to the ninth aspect of an embodiment of the present disclosure, a storage medium is proposed, which stores instructions. When the instructions are executed on a communication device, the communication device executes the relay communication method as described in any one of the first aspect, the second aspect, or the third aspect.

[0031] This allows the relay device to reliably distribute messages according to the identification information during subsequent relay communication processes, thereby ensuring the reliability of relay communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following drawings required for describing the embodiments are introduced. The following drawings are merely some embodiments of the present disclosure and do not impose specific limitations on the protection scope of the present disclosure.

[0033] FIG1 is an exemplary schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure.

[0034] FIG2 is an exemplary interaction diagram of a relay communication method provided according to an embodiment of the present disclosure.

[0035] FIG3A is a schematic diagram of an exemplary flow of a relay communication method provided according to an embodiment of the present disclosure.

[0036] FIG3B is a schematic diagram of an exemplary flow chart of a relay communication method provided according to an embodiment of the present disclosure.

[0037] FIG3C is a schematic diagram of an exemplary flow chart of a relay communication method provided according to an embodiment of the present disclosure.

[0038] FIG4A is a schematic diagram of an exemplary flow chart of a relay communication method provided according to an embodiment of the present disclosure.

[0039] FIG4B is a schematic diagram of an exemplary flow chart of a relay communication method provided according to an embodiment of the present disclosure.

[0040] FIG5 is an exemplary interaction diagram of a relay communication method provided according to an embodiment of the present disclosure.

[0041] FIG6 is an exemplary interaction diagram of a relay communication method provided according to an embodiment of the present disclosure.

[0042] FIG7A is a schematic diagram of an exemplary structure of a relay device provided according to an embodiment of the present disclosure.

[0043] FIG7B is a schematic diagram of an exemplary structure of a second terminal provided according to an embodiment of the present disclosure.

[0044] FIG8A is a schematic diagram of an exemplary structure of a communication device provided according to an embodiment of the present disclosure.

[0045] FIG8B is a schematic diagram of an exemplary structure of a communication device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0046] The embodiments of the present disclosure provide a relay communication method, a relay device, a terminal, a communication system, and a storage medium.

[0047] In a first aspect, an embodiment of the present disclosure provides a relay communication method, the method comprising:

[0048] The relay device receives a first message sent by the first terminal;

[0049] The relay device sends a second message to the second terminal, where the second message includes identification information, where the identification information is used to identify the first message;

[0050] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0051] In the above embodiment, the relay device can identify the first message sent by the first terminal through identification information, and send the identification information to the second terminal through the second message, so that the relay device can reliably distribute the message according to the identification information during the subsequent relay communication process, thereby ensuring the reliability of the relay communication.

[0052] In combination with some embodiments of the first aspect, in some embodiments, the identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

[0053] In the above embodiment, the source layer 2 identifier of the first message can be indicated by the identification information, so that the relay device distributes the message based on the layer 2 identifier when receiving the corresponding message, thereby ensuring the reliability of relay communication.

[0054] In conjunction with some embodiments of the first aspect, in some embodiments, the identification information includes any one of the following:

[0055] a first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message;

[0056] The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

[0057] In the above embodiment, the relay device may use the source layer 2 identifier of the first message as identification information, or may use the identifier generated by it as identification information, which can improve the flexibility of communication while ensuring the reliability of relay communication.

[0058] In conjunction with some embodiments of the first aspect, in some embodiments, the method includes:

[0059] The relay device receives a third message sent by the second terminal, where the third message includes the identification information;

[0060] The relay device sends a fourth message to the first terminal according to the identification information;

[0061] The third message and the fourth message are used to respond to the request of the first terminal to discover the second terminal.

[0062] In the above embodiment, after receiving the third message, the relay device can accurately send the fourth message to the correct terminal according to the identification information carried in the third message, thereby effectively ensuring the reliability of the relay communication.

[0063] In conjunction with some embodiments of the first aspect, in some embodiments, the identification information includes the first identification, and the relay device sends a fourth message to the first terminal according to the identification information, including:

[0064] The relay device uses the first identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

[0065] In the above embodiment, the relay device may use the first identifier as the destination layer 2 address of the fourth message, thereby ensuring that the fourth message can be sent to the corresponding terminal, thereby ensuring the reliability of relay communication.

[0066] In combination with some embodiments of the first aspect, in some embodiments, the identification information includes the second identification, and the relay device sends a fourth message to the first terminal according to the identification information, including:

[0067] The relay device determines, according to the second identifier, a source layer 2 identifier used by the first terminal to send the first message;

[0068] The relay device uses the source layer 2 identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

[0069] In the above embodiment, the relay device can determine the destination layer 2 identifier used by the fourth message based on the second identifier, which can ensure that the relay device sends the fourth message to the correct terminal.

[0070] In conjunction with some embodiments of the first aspect, in some embodiments, the third message is sent when the second terminal determines that a first condition is met, and the first condition includes at least one of the following:

[0071] The second terminal is capable of using a relay service corresponding to a relay service code (RSC) indicated by the second message;

[0072] The user identifier of the second terminal is consistent with the user identifier indicated by the second message;

[0073] The signal strength of the second message is greater than or equal to a preset strength threshold.

[0074] In the above embodiment, the second terminal may send the third message only when the above conditions are met, so that the first terminal can accurately and reliably discover the correct third terminal, ensuring the accuracy and reliability of relay discovery.

[0075] In combination with some embodiments of the first aspect, in some embodiments, the relay device is a terminal-to-terminal relay device in proximity based service.

[0076] In combination with some embodiments of the first aspect, in some embodiments, the relay device includes one or more devices for relaying.

[0077] In combination with some embodiments of the first aspect, in some embodiments, the relay device is a relay device that adopts a security procedure of mode B and / or a fusion discovery security procedure.

[0078] In a second aspect, an embodiment of the present disclosure provides a relay communication method, the method comprising:

[0079] The second terminal receives a second message sent by the relay device, where the second message includes identification information, where the identification information is used to identify the first message, and the second message is sent by the relay device when the relay device receives the first message sent by the first terminal;

[0080] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0081] In combination with some embodiments of the second aspect, in some embodiments, the identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

[0082] In conjunction with some embodiments of the second aspect, in some embodiments, the identification information includes any one of the following:

[0083] a first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message;

[0084] The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

[0085] In conjunction with some embodiments of the second aspect, in some embodiments, the method includes:

[0086] The second terminal sends a third message to the relay device, where the third message includes the identification information, and the identification information is used by the relay device to send a fourth message to the first terminal;

[0087] The third message and the fourth message are used to respond to the request of the first terminal to discover the second terminal.

[0088] In conjunction with some embodiments of the second aspect, in some embodiments, the second terminal sending a third message to the relay device includes:

[0089] The second terminal determines that a first condition is satisfied, and sends the third message to the relay device, where the first condition includes at least one of the following:

[0090] The second terminal is capable of using the relay service corresponding to the relay service code RSC indicated by the second message;

[0091] The user identifier of the second terminal is consistent with the user identifier indicated by the second message;

[0092] The signal strength of the second message is greater than or equal to a preset strength threshold.

[0093] In combination with some embodiments of the second aspect, in some embodiments, the relay device is a terminal-to-terminal relay device in proximity based service.

[0094] In combination with some embodiments of the second aspect, in some embodiments, the relay device is one or more devices for relaying.

[0095] In combination with some embodiments of the second aspect, in some embodiments, the relay device is a relay device that adopts the security procedure of mode B and / or the fusion discovery security procedure.

[0096] In a third aspect, an embodiment of the present disclosure provides a relay communication method, the method comprising:

[0097] The first terminal sends a first message to the relay device;

[0098] The relay device sends a second message to the second terminal, where the second message includes identification information, and the identification information is used to identify the first message;

[0099] The first message and the second message are used by the first terminal to request to discover the second terminal.

[0100] In a fourth aspect, an embodiment of the present disclosure proposes a relay device, which includes at least one of a transceiver module and a processing module; wherein the relay device is used to execute the optional implementation method of the first aspect.

[0101] In a fifth aspect, an embodiment of the present disclosure proposes a second terminal, which includes at least one of a transceiver module and a processing module; wherein the second terminal is used to execute the optional implementation method of the second aspect.

[0102] In a sixth aspect, an embodiment of the present disclosure provides a relay device, wherein the relay device includes: one or more processors;

[0103] A memory coupled to the one or more processors, the memory comprising executable instructions, which, when executed by the one or more processors, cause the relay device to perform an optional implementation of the first aspect.

[0104] In a seventh aspect, an embodiment of the present disclosure provides a second terminal, wherein the second terminal includes: one or more processors;

[0105] A memory coupled to the one or more processors, the memory comprising executable instructions, which, when executed by the one or more processors, enable the second terminal to execute an optional implementation of the second aspect.

[0106] In an eighth aspect, an embodiment of the present disclosure proposes a communication system, which includes: a relay device and a second terminal; wherein the relay device is configured to execute the method described in the optional implementation manner of the first aspect, and the second terminal is configured to execute the method described in the optional implementation manner of the second aspect.

[0107] In a ninth aspect, an embodiment of the present disclosure proposes a storage medium, which stores instructions. When the instructions are executed on a communication device, the communication device executes the method described in the optional implementation of the first and second aspects.

[0108] In a tenth aspect, an embodiment of the present disclosure proposes a program product. When the program product is executed by a communication device, the communication device executes the method described in the optional implementation of the first and second aspects.

[0109] In an eleventh aspect, an embodiment of the present disclosure proposes a computer program, which, when executed on a computer, enables the computer to execute the method described in the optional implementation of the first and second aspects.

[0110] In a twelfth aspect, an embodiment of the present disclosure provides a chip or a chip system, wherein the chip or chip system includes a processing circuit configured to execute the method described in the optional implementation of the first and second aspects above.

[0111] It is understandable that the above-mentioned relay device, second terminal, communication system, storage medium, program product, computer program, chip or chip system are all used to perform the method proposed in the embodiment of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method and will not be repeated here.

[0112] The present disclosure provides a relay communication method, a relay device, a second terminal, a communication system, and a storage medium. In some embodiments, the terms "relay communication method" and "information processing method" and "communication method" are interchangeable; the terms "relay communication device" and "information processing device" and "communication device" are interchangeable; and the terms "information processing system" and "communication system" are interchangeable.

[0113] The embodiments of the present disclosure are not exhaustive and are merely illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined. For example, some or all steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0114] In each embodiment of the present disclosure, unless otherwise specified or provided for by logic, the terms and / or descriptions between the embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form a new embodiment based on their inherent logical relationships.

[0115] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0116] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular, such as "a", "an", "the", "above", "said", "the", "the", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun following the article may be understood as a singular expression or a plural expression.

[0117] In the embodiments of the present disclosure, “plurality” refers to two or more.

[0118] In some embodiments, the terms "at least one," "one or more," "a plurality of," "multiple," etc. may be used interchangeably.

[0119] In some embodiments, descriptions such as "at least one of A and B," "A and / or B," "A in one case, B in another case," or "in response to one case A, in response to another case B" may include the following technical solutions depending on the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); and in some embodiments, A and B (both A and B are executed). The above is also applicable when there are more branches such as A, B, and C.

[0120] In some embodiments, "A or B" and other descriptions may include the following technical solutions depending on the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). The above is also applicable when there are more branches such as A, B, C, etc.

[0121] The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects and do not constitute any restriction on the position, order, priority, quantity or content of the description objects. For the statement of the description object, please refer to the description in the context of the claims or embodiments, and no unnecessary restriction should be constituted due to the use of prefixes. For example, if the description object is a "field", the ordinal number before the "field" in the "first field" and the "second field" does not limit the position or order between the "fields". "First" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of the "first field" and the "second field". For another example, if the description object is a "level", the ordinal number before the "level" in the "first level" and the "second level" does not limit the priority between the "levels". For another example, the number of description objects is not limited by the ordinal number and can be one or more. Taking "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes can be the same or different. For example, if the description object is "device", then the "first device" and the "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the description object is "information", then the "first information" and the "second information" can be the same information or different information, and their contents can be the same or different.

[0122] In some embodiments, “including A,” “comprising A,” “used to indicate A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

[0123] In some embodiments, terms such as "time / frequency" and "time / frequency domain" refer to the time domain and / or the frequency domain.

[0124] In some embodiments, terms such as "in response to...", "in response to determining...", "in the case of...", "at the time of...", "when...", "if...", "if...", etc. can be used interchangeably.

[0125] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not less than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "not more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

[0126] In some embodiments, devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as "device", "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", and "subject" can be used interchangeably.

[0127] In some embodiments, "network" can be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).

[0128] In some embodiments, the terms "access network device (AN device)", "radio access network device (RAN device)", "base station (BS)", "radio base station" "fixed station", "node", "access point", "transmission point (TP)", "reception point (RP)", "transmission / reception point (TRP)" "panel", "antenna panel", "antenna array", "cell", "macro cell", "small cell", "femto cell", "pico cell", "sector", "cell group", "serving cell", "carrier", "component carrier", "bandwidth part (BWP)" and the like may be used interchangeably.

[0129] In some embodiments, the terms "terminal", "terminal device", "user equipment (UE)", "user terminal", "mobile station (MS)", "mobile terminal (MT)", subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, remote terminal, handset, user agent, mobile client, client, etc. can be used interchangeably.

[0130] In some embodiments, the access network device, the core network device, or the network device can be replaced by a terminal. For example, the various embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by communication between multiple terminals (for example, device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, it is also possible to set the structure in which the terminal has all or part of the functions of the access network device. In addition, terms such as "uplink" and "downlink" can also be replaced by terms corresponding to communication between terminals (for example, "side"). For example, uplink channels, downlink channels, etc. can be replaced by side channels, and uplinks, downlinks, etc. can be replaced by side links.

[0131] In some embodiments, the terminal may be replaced by an access network device, a core network device, or a network device. In this case, the access network device, the core network device, or the network device may have a structure that has all or part of the functions of the terminal.

[0132] In some embodiments, obtaining data, information, etc. may comply with the laws and regulations of the country where the data is obtained.

[0133] In some embodiments, data, information, etc. may be obtained with the user's consent.

[0134] In addition, each element, each row, or each column in the table of the embodiment of the present disclosure can be implemented as an independent embodiment, and the combination of any elements, any rows, and any columns can also be implemented as an independent embodiment.

[0135] FIG1 is a schematic diagram showing the architecture of a communication system according to an embodiment of the present disclosure.

[0136] As shown in Figure 1, a communication system 100 includes a first terminal 101, a relay device 102, and a second terminal 103. Optionally, the relay device 102 can be provided as a terminal or as a network device. Optionally, the network device can include an access network device or a core network device.

[0137] In some embodiments, the communication system 100 may include multiple relay devices 102. Optionally, the first terminal 101 may discover the second terminal 103 through one or more relay devices among the multiple relay devices 102.

[0138] In some embodiments, the relay device 102 can not only implement relay communication with the first terminal 101 and the second terminal 103, but can also be used for relay communication with other terminals.

[0139] In some embodiments, the terminal includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but is not limited thereto.

[0140] In some embodiments, the access network device is, for example, a node or device that accesses a terminal to a wireless network. The access network device may include an evolved NodeB (eNB), a next generation evolved NodeB (ng-eNB), a next generation NodeB (gNB), a node B (NB), a home node B (HNB), a home evolved nodeB (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, and at least one of an access node in a Wi-Fi system, but is not limited thereto.

[0141] In some embodiments, the technical solution of the present disclosure can be applied to the Open RAN architecture. In this case, the interfaces between or within the access network devices involved in the embodiments of the present disclosure can be transformed into internal interfaces of the Open RAN, and the processes and information interactions between these internal interfaces can be implemented through software or programs.

[0142] In some embodiments, the access network device can be composed of a centralized unit (CU) and a distributed unit (DU), where the CU can also be called a control unit. The CU-DU structure can be used to split the protocol layer of the access network device, with the functions of some protocol layers centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers distributed in the DU, which is centrally controlled by the CU, but is not limited to this.

[0143] In some embodiments, the core network device may be a single device including a first network element, a second network element, etc., or may be a plurality of devices or a group of devices, each including all or part of the first network element, the second network element, etc. The network element may be virtual or physical. The core network may include, for example, at least one of an evolved packet core (EPC), a 5G core network (5GCN), and a next generation core (NGC).

[0144] In some embodiments, the communication system 100 may implement 5G Proximity Services (ProSe) UE-to-UE relay discovery using Model B. Optionally, the relay device 102 may be, for example, a 5G ProSe UE-to-UE Relay. Optionally, the first terminal 101 may be a discoverer end UE. Optionally, the second terminal 102 may be a discoveree end UE.

[0145] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution proposed in the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution proposed in the embodiment of the present disclosure is also applicable to similar technical problems.

[0146] The following embodiments of the present disclosure may be applied to the communication system 100 shown in FIG1 , or a portion thereof, but are not limited thereto. The entities shown in FIG1 are illustrative only. The communication system may include all or part of the entities shown in FIG1 , or may include other entities outside of FIG1 . The number and form of the entities are arbitrary, and the entities may be physical or virtual. The connection relationships between the entities are illustrative only. The entities may be connected or disconnected, and the connection may be in any manner, including direct or indirect, wired or wireless.

[0147] The embodiments of the present disclosure can be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), future radio access (FRA), new radio access technology (RAT), new radio (NR), new radio access (NX), future generation radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) networks, Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Vehicle-to-Everything (V2X), systems utilizing other communication methods, and next-generation systems based on and extending these methods. Furthermore, multiple systems may be combined (for example, a combination of LTE or LTE-A with 5G).

[0148] In some embodiments, in 5G ProSe UE-to-UE relay discovery using model B, the discoverer terminal UE E (discoverer UE) initiates the relay discovery process by sending a request message (Solicitation message), for example, sending the first message in the following embodiment. Based on the received information, the UE-to-UE relay device sends a request message to the discoveree UE (discoveree UE), such as the second message in the following embodiment, and waits for its response message. After receiving the request message from the discoverer UE, the discoverer UE returns a response message to the UE-to-UE relay device, and the UE-to-UE relay device returns the response message to the discoverer UE.

[0149] In some embodiments, in 5G ProSe UE-to-UE relay communication using converged discovery, the source UE (Source End UE) initiates the converged discovery process by sending a direct communication request (Direct Communication Request), for example, sending the first message in the following embodiment. Based on the received message, the UE-to-UE relay sends a direct communication request (Direct Communication Request) to the target UE (Target End UE), such as the second message in the following embodiment, and waits for its response message. After receiving the direct communication request message from the source UE, the target UE returns a response message to the UE-to-UE relay device, and the UE-to-UE relay device returns the response information to the source UE.

[0150] In some embodiments, to protect the privacy of the terminal, the security procedure of mode B or the security procedure of fusion discovery can be adopted. The user information ID of the discoverer UE and the user information ID of the discoverer are included in the protected direct discovery set and transmitted between the discoverer UE and the discoverer UE through the relay device.

[0151] In some embodiments, considering that the terminal user information in the direct discovery set is protected, and the relay device may simultaneously provide relay services to multiple discoverer UEs using the same RSC service, the relay UE may be unable to accurately send the corresponding response message to the discoverer UE.

[0152] FIG2 is an interactive diagram of a relay communication method according to an exemplary embodiment. As shown in FIG2 , the embodiment of the present disclosure relates to a relay communication method, which includes:

[0153] Step S2101: The first terminal sends a first message to a relay device.

[0154] In some embodiments, the first message is used by a first terminal to request discovery of a second terminal. Alternatively, the first message is used by the first terminal to discover the second terminal. Alternatively, the first message is used by the first terminal to discover the second terminal via a relay device. Alternatively, the first message is used by the first terminal to discover and request establishment of a connection with the second terminal. Alternatively, the first message is used by the first terminal to discover and establish a connection with the second terminal via a relay device.

[0155] In some embodiments, the first message may be a "relay discovery request message", "discovery request message", "discovery request", etc., for example, it may be a 5G ProSe UE-to-UE Relay Discovery Solicitation message. The embodiment of the present disclosure does not limit the name of the first message.

[0156] In some embodiments, the first terminal may be referred to as a discoverer UE. Optionally, the second terminal may be referred to as a discoveree UE. Optionally, the relay device may be a UE-to-UE relay device (UE-to-UE Relay), which may be, for example, a relay UE (Relay UE) or any other device capable of relaying. Optionally, the first terminal may discover the second terminal through the relay device. Optionally, the first terminal may discover the second terminal through the relay device using a security procedure of Model B. Optionally, the first terminal may discover the second terminal through the relay device using a converged discovery security procedure. Optionally, the process of the first terminal discovering the second terminal through the relay device may be a relay discovery process. Optionally, the relay discovery process may be a UE-to-UE Relay Discovery with Model B process.

[0157] In some embodiments, the first terminal may be referred to as a source end UE. Optionally, the second terminal may be referred to as a target end UE. Optionally, the relay device may be a terminal-to-terminal relay device (UE-to-UE Relay), which may be, for example, a relay UE, or any other device capable of relaying. Optionally, the first terminal may discover and establish a connection with the second terminal through the relay device. Optionally, the first terminal may discover and establish a connection with the second terminal through the relay device using an integrated discovery security procedure. Optionally, the process by which the first terminal discovers the second terminal through the relay device may be a relay discovery process. Optionally, the relay discovery process may be an integrated discovery process.

[0158] In some embodiments, the first message may be sent using a source address and a destination address. Optionally, the source address may be used to indicate an address from which the first message is sent. Optionally, the destination address may be used to indicate an address from which the first message is received. Optionally, the source address may be a source layer 2 identifier (Source Layer-2 ID), and the destination address may be a destination layer 2 identifier (Destination Layer-2 ID). Optionally, the first message is sent using a source layer 2 identifier and a destination layer 2 identifier.

[0159] In some embodiments, the source address used by the first terminal to send the first message, such as the source layer 2 identifier, can be selected by the first terminal itself, and the embodiments of the present disclosure are not limited to this.

[0160] In some embodiments, the first message includes at least one of the following: the message type of the first message, such as the discovery message type; user information of the first terminal, such as the user information ID of the first terminal; user information of the second terminal, such as the user information ID of the second terminal; and an RSC. Optionally, the first message may also include user information of another terminal, such as a fourth terminal. The first message may also be used by the first terminal to request discovery of the fourth terminal.

[0161] In some implementations, the user information of the first terminal, the user information of the second terminal, and / or the user information of other terminals are in a protected set, such as a protected direct discovery set. Optionally, the relay device cannot obtain information in the protected set. In other words, the relay device cannot obtain information related to the first terminal and other terminals based on the first message.

[0162] In some embodiments, the first terminal may send the first message to multiple terminals. Optionally, the relay device may be any terminal that meets the corresponding RSC requirements in the first message. Optionally, the relay device may be one or more terminals used for relaying. Optionally, the relay device may be one or more relay terminals.

[0163] In some embodiments, the relay device receives a first message sent by the first terminal. Optionally, after receiving the first message, the relay device may determine a source layer 2 identifier and / or a destination layer 2 identifier corresponding to the first message.

[0164] Step S2102: The relay device sends a second message to the second terminal.

[0165] In some embodiments, the second message is used by the first terminal to request the first terminal to discover the second terminal. Optionally, the second message is used by the first terminal to discover the second terminal.

[0166] In some embodiments, the second message may be a "relay discovery request message", "discovery request message", "discovery request", etc., for example, it may be a 5G ProSe UE-to-UE Relay Discovery Solicitation message. The embodiment of the present disclosure does not limit the name of the second message.

[0167] In some embodiments, the second message may be sent using a source address and a destination address. Optionally, the source address may be used to indicate an address from which the second message is sent. Optionally, the destination address may be used to indicate an address from which the second message is received. Optionally, the source address may be a Source Layer 2 ID, and the destination address may be a Destination Layer 2 ID. Optionally, the second message is sent using a Source Layer 2 ID and a Destination Layer 2 ID.

[0168] In some embodiments, the source address used by the relay device to send the second message to the second terminal is different from the source address used by the relay device to send the fifth message to the fourth terminal. Optionally, the fifth message is any message used for relay communication. Optionally, the fourth terminal is any terminal different from the second terminal. Optionally, the self-selected source layer 2 identifier used by the relay device to send the second message to the second terminal is different from any other self-selected source layer 2 identifier used in the process of performing the relay service simultaneously. Optionally, the self-selected source layer 2 identifier used by the relay device to send the second message to the second terminal is different from any other self-selected source layer 2 identifier used in the process of performing the relay service corresponding to the same RSC simultaneously.

[0169] In some embodiments, the source address used by the relay device to send the second message, such as the source layer 2 identifier, can be selected by the relay device, and can be, for example, a self-selected source layer identifier (self-selected Source Layer-2 ID). For example, after receiving the first message, the relay device can select a layer 2 address as the source address used to send the second message, i.e., the source layer 2 identifier, further generate a corresponding second message, and send the second message based on the selected source layer 2 address.

[0170] In some embodiments, the second message includes at least one of the following: the message type of the second message, such as the type of a discovery message; user information of the first terminal, such as the user information identifier of the first terminal; user information of the second terminal, such as the user information identifier of the second terminal; an RSC; user information of the relay device, such as the user information identifier of the relay device. Optionally, the second message may also include user information of another terminal, such as a fourth terminal, and the first message may be used by the first terminal to request discovery of the fourth terminal.

[0171] In some embodiments, part of the information in the second message may be obtained based on the first message. Optionally, the relay device processes the first message to obtain the second message. Optionally, the relay device adds user information of the relay device to the first message to obtain the second message.

[0172] In some embodiments, the second message may further include identification information. Optionally, the identification information is used to identify the first message. Optionally, the identification information is used to identify the source layer 2 identifier corresponding to the first message. Optionally, the identification information is used to indicate the source layer 2 identifier used by the first terminal to send the first message. Optionally, the identification information is used to indicate the source layer 2 identifier of the first message.

[0173] In some embodiments, the identification information may include at least one of a first identification and a second identification. Optionally, the first identification is a Layer 2 identification. Optionally, the first identification is the source Layer 2 identification used by the first terminal to send the first message. Optionally, the second identification is an identification generated by the relay device based on the source Layer 2 identification used by the first terminal to send the first message.

[0174] In some embodiments, the relay device may generate a corresponding second identifier according to a predefined or preconfigured rule and according to a source layer 2 address of the first message.

[0175] In some implementations, the user information of the first terminal and / or the user information of the second terminal is in a protected set, such as a protected direct discovery set. Optionally, the relay device cannot obtain information in the protected set. In other words, the relay device cannot obtain information related to the first terminal based on the second message.

[0176] In some embodiments, the first terminal may send the second message to multiple terminals. Optionally, the relay device may be any terminal that meets the corresponding RSC requirements in the first message. Optionally, the relay device may include one or more relay devices. Optionally, the relay device includes one or more relay terminals.

[0177] Step S2103: The second terminal sends a third message to the relay device.

[0178] In some embodiments, the third message is used to respond to a relay discovery request. Optionally, the third message is used to respond to a request by the first terminal to discover the second terminal. Optionally, the third message is sent by the second terminal in response to the second message. Optionally, the second terminal sends the third message in response to receiving the second message.

[0179] In some embodiments, the third message may be a "relay discovery response message", "discovery response message", "discovery response", etc., for example, it may be a 5G ProSe UE-to-UE Relay Discovery Response message. The embodiment of the present disclosure does not limit the name of the third message.

[0180] In some embodiments, the second terminal determines that the first condition is met and sends the third message. Optionally, the third message is sent when the second terminal determines that the first condition is met.

[0181] In some embodiments, the first condition includes at least one of the following: the second terminal can use the relay service corresponding to the RSC indicated by the second message; the user identifier of the second terminal is consistent with the user identifier indicated by the second message; the signal strength of the second message is greater than or equal to a preset strength threshold.

[0182] In some embodiments, the third message may be sent using a source address and a destination address. Optionally, the source address may be used to indicate an address from which the third message is sent. Optionally, the destination address may be used to indicate an address from which the third message is received. Optionally, the source address may be a source layer 2 identifier (Source Layer-2 ID), and the destination address may be a destination layer 2 identifier (Destination Layer-2 ID). Optionally, the third message is sent using a source layer 2 identifier and a destination layer 2 identifier.

[0183] In some embodiments, after receiving the second message, the second terminal may determine the source address and / or destination address used by the relay device to send the second message.

[0184] In some embodiments, the destination address used by the second terminal to send the third message to the relay device may be the source address of the second message. Optionally, the second terminal determines the destination address to use for sending the third message based on the second message. Optionally, the second terminal uses the source Layer 2 identifier used by the relay device to send the second message as the destination Layer 2 address to use for sending the third message.

[0185] In some embodiments, the source address used by the second device to send the third message to the relay terminal may be determined by the third device, and this embodiment of the present disclosure does not limit this.

[0186] In some embodiments, the third message includes at least one of the following: the message type of the third message, such as the type of discovery message (Type of Discovery Message); user information of the first terminal, such as the user information identifier (User Info ID) of the first terminal; user information of the second terminal, such as the user information identifier of the second terminal; RSC.

[0187] In some embodiments, the third message includes identification information. Optionally, the identification information is used to indicate an address, such as a Layer 2 identifier. Optionally, the identification information is used to indicate the source Layer 2 identifier of the first message. Optionally, the identification information may include at least one of a first identifier and a second identifier. Optionally, the first identifier is the source Layer 2 identifier used by the first terminal to send the first message. Optionally, the second identifier is an identifier generated by the relay device based on the source Layer 2 identifier used by the first terminal to send the first message.

[0188] In some embodiments, some of the information in the third message may be obtained based on the second message. Optionally, the second terminal processes the second message to obtain the third message. Optionally, the second terminal deletes user information of other terminals excluding the first terminal and the second terminal from the second message to obtain the third message.

[0189] In some implementations, the user information of the first terminal and / or the user information of the second terminal is in a protected set, such as a protected direct discovery set. Optionally, the relay device cannot obtain information in the protected set. In other words, the relay device cannot obtain information related to the first terminal and other terminals based on the third message.

[0190] In some embodiments, the relay device receives the third message. Optionally, the third message is used to instruct the relay device to determine to send the fourth message to the first terminal.

[0191] Step S2104: The relay device sends a fourth message to the first terminal according to the identification information.

[0192] In some embodiments, the fourth message is used to respond to the first terminal's request to discover the second terminal. Optionally, the fourth message is used to indicate that the second terminal has been discovered by the first terminal. Optionally, the fourth message is sent by the relay device in response to the third message. Optionally, the relay device sends the fourth message in response to receiving the third message. Optionally, the relay device determines that the third message has been received and determines whether to send the fourth message to the first terminal based on the identification information. Optionally, the relay device determines that the third message has been received and sends the fourth message to the first terminal based on the identification information.

[0193] In some embodiments, the fourth message may be a "relay discovery response message", "discovery response message", "discovery response", etc. For example, it may be a 5G ProSe UE-to-UE Relay Discovery Response message. The embodiment of the present disclosure does not limit the name of the fourth message.

[0194] In some embodiments, the fourth message may be sent using a source address and a destination address. Optionally, the source address may be used to indicate an address from which the fourth message is sent. Optionally, the destination address may be used to indicate an address from which the fourth message is received. Optionally, the source address may be a source layer 2 identifier (Source Layer-2 ID), and the destination address may be a destination layer 2 identifier (Destination Layer-2 ID). Optionally, the fourth message is sent using a source layer 2 identifier and a destination layer 2 identifier.

[0195] In some embodiments, after receiving the third message, the relay device may determine the identification information in the third message. Optionally, after receiving the third message, the relay device may determine the address corresponding to the identification information. Optionally, the relay device determines the source layer 2 identifier corresponding to the first message based on the identification information. Optionally, the relay device determines a layer 2 identifier indicated by the identification information. Optionally, the relay device determines that the layer 2 identifier indicated by the identification information is a first identifier. Optionally, the relay device determines the layer 2 identifier indicated by the identification information based on the second identifier.

[0196] In some embodiments, the identification information includes a first identifier, and the relay device uses the first identifier as the destination Layer 2 identifier for sending the fourth message. Optionally, the identification information includes a second identifier, and the relay device determines, based on the second identifier, the source Layer 2 identifier used by the first terminal to send the first message, and uses the source Layer 2 identifier as the destination Layer 2 identifier for sending the fourth message. Optionally, the relay device may determine the Layer 2 identifier corresponding to the second identifier based on a predefined or preconfigured rule.

[0197] For example, after receiving the third message, the relay device determines the layer 2 identifier corresponding to the identification information, and the relay device uses the layer 2 identifier indicated by the identification information as the destination layer 2 identifier for sending the fourth message, so that the relay device can send the fourth message to the first terminal, that is, the sending device of the first message identified by the identification information.

[0198] In some embodiments, the fourth message includes at least one of the following: the message type of the fourth message, such as the type of discovery message (Type of Discovery Message); user information of the first terminal, such as the user information identifier (User Info ID) of the first terminal; user information of the second terminal, such as the user information identifier of the second terminal; RSC; user information of the relay device.

[0199] In some embodiments, part of the information in the fourth message may be obtained based on the third message. Optionally, the relay device processes the third message to obtain the fourth message. Optionally, the relay device adds user information of the relay device to the third message and removes the identification information to obtain the fourth message.

[0200] It is understandable that the relay device can not only receive the third message sent by the second terminal, but also receive messages sent by other terminals in response to relay discovery, and the relay device cannot obtain the user information of the terminal. Based on the identification information, the relay device can determine to which terminal to send the message.

[0201] In some embodiments, the relay device may determine to which entity the fourth message is sent based on the identification information in the third message. For example, if the relay device determines that the address indicated by the identification information is Layer ID-1, it may send the fourth message to Layer ID-1, where Layer ID-1 may be the Layer 2 identifier corresponding to the first terminal.

[0202] In some embodiments, the names of information, etc. are not limited to the names described in the embodiments, and terms such as "information", "message", "signal", "signaling", "report", "configuration", "indication", "instruction", "command", "channel", "parameter", "domain", "field", "symbol", "symbol", "codeword", "codebook", "codeword", "codepoint", "bit", "data", "program", and "chip" can be used interchangeably.

[0203] In some embodiments, the terms "radio", "wireless", "radio access network (RAN)", "access network (AN)", "RAN-based" and the like may be used interchangeably.

[0204] In some embodiments, terms such as "moment", "time point", "time", and "time position" can be replaced with each other, and terms such as "duration", "period", "time window", "window", and "time" can be replaced with each other.

[0205] In some embodiments, "obtain", "get", "get", "receive", "transmit", "bidirectional transmission", "send and / or receive" can be interchangeable, and can be interpreted as receiving from other entities, obtaining from protocols, obtaining from higher layers, obtaining by self-processing, autonomous implementation, etc.

[0206] In some embodiments, terms such as "send", "transmit", "report", "download", "transmit", "bidirectional transmission", "send and / or receive" can be used interchangeably.

[0207] In some embodiments, terms such as "certain", "preset", "preset", "setting", "indicated", "a certain", "any", and "first" can be interchangeable. "Specific A", "preset A", "preset A", "setting A", "indicated A", "a certain A", "any A", and "first A" can be interpreted as A pre-specified in a protocol, etc., or as A obtained through setting, configuration, or indication, etc., or as specific A, a certain A, any A, or first A, etc., but not limited to this.

[0208] In some embodiments, the determination or judgment can be performed by a value represented by 1 bit (0 or 1), or by a true or false value (Boolean value) represented by true or false, or by comparison of numerical values ​​(for example, comparison with a predetermined value), but is not limited thereto.

[0209] In some embodiments, "not expecting to receive" can be interpreted as not receiving on time domain resources and / or frequency domain resources, or as not performing subsequent processing on the data after receiving it; "not expecting to send" can be interpreted as not sending, or as sending but not expecting the recipient to respond to the content sent.

[0210] The communication method involved in the embodiments of the present disclosure may include at least one of steps S2101 to S2104. For example, step S2102 may be implemented as an independent embodiment, step S2103 may be implemented as an independent embodiment, steps S2101 to S2102 may be implemented as an independent embodiment, steps S2103 to S2104 may be implemented as an independent embodiment, and steps S2102 to S2103 may be implemented as an independent embodiment, but are not limited thereto.

[0211] In some embodiments, step S2101 and steps S2103 to S2104 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0212] In some embodiments, steps S2101 to S2102 and step S2104 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0213] In some embodiments, reference may be made to other optional implementations described before or after the description corresponding to FIG. 2 .

[0214] FIG3A is a flow chart of a relay communication method according to an exemplary embodiment. As shown in FIG3A , the embodiment of the present disclosure relates to a relay communication method, which is executed by a relay device and includes:

[0215] Step S3101, obtain the first message.

[0216] The optional implementation of step S3101 can refer to the optional implementation of step S2101 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0217] In some embodiments, the relay device receives the first message sent by the first terminal, but is not limited thereto and may also receive the first message sent by other entities.

[0218] In some embodiments, the relay device obtains a first message specified by the protocol.

[0219] In some embodiments, the relay device obtains the first message from an upper layer(s).

[0220] In some embodiments, the relay device performs processing to obtain the first message.

[0221] In some embodiments, step S3101 is omitted, and the relay device autonomously implements the function indicated by the first message, or the above function is default or by default.

[0222] Step S3102, sending a second message.

[0223] The optional implementation of step S3102 can refer to the optional implementation of step S2102 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0224] In some embodiments, the relay device sends the second message to the second terminal, but is not limited thereto and may also send the second message to other entities.

[0225] Step S3103, obtain the third message.

[0226] The optional implementation of step S3101 can refer to the optional implementation of step S2101 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0227] In some embodiments, the relay device receives the third message sent by the second terminal, but is not limited thereto and may also receive the third message sent by other entities.

[0228] Step S3104: Send a fourth message according to the identification information.

[0229] The optional implementation of step S3104 can refer to the optional implementation of step S2104 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0230] The communication method involved in the embodiments of the present disclosure may include at least one of steps S3101 to S3104. For example, step S3102 may be implemented as an independent embodiment, step S3103 may be implemented as an independent embodiment, steps S3101 to S3102 may be implemented as an independent embodiment, steps S3103 to S3104 may be implemented as an independent embodiment, and steps S3102 to S3103 may be implemented as an independent embodiment, but are not limited thereto.

[0231] In some embodiments, step S3101 and steps S3103 to S3104 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0232] In some embodiments, steps S3101 to S3102 and step S3104 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0233] FIG3B is a flow chart of a relay communication method according to an exemplary embodiment. As shown in FIG3B , the embodiment of the present disclosure relates to a relay communication method, which is executed by a relay device and includes:

[0234] Step S3201, obtain the third message.

[0235] Optional implementations of step S3201 can be found in step S2103 of FIG. 2 , optional implementations of step S3103 of FIG. 3A , and other related parts in the embodiments involved in FIG. 2 and FIG. 3A , which will not be described in detail here.

[0236] In some embodiments, the third message includes identification information. Optionally, the identification information is used to indicate the source layer 2 identifier used by the first terminal to send the first message. Optionally, the identification information includes any one of the following: a first identifier, which is the source layer 2 identifier used by the first terminal to send the first message; or a second identifier, which is an identifier generated by the relay device based on the source layer 2 identifier used by the first terminal to send the first message.

[0237] Step S3202: Send a fourth message according to the identification information.

[0238] Optional implementations of step S3202 can be found in step S2104 of FIG. 2 , optional implementations of step S3104 of FIG. 3A , and other related parts of the embodiments involved in FIG. 2 and FIG. 3A , which will not be described in detail here.

[0239] The communication method involved in the embodiment of the present disclosure may include at least one of steps S3201 and S3202. For example, step S3201 may be implemented as an independent embodiment, and step S3202 may be implemented as an independent embodiment.

[0240] In some embodiments, step S3201 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0241] FIG3C is a flow chart of a relay communication method according to an exemplary embodiment. As shown in FIG3C , the embodiment of the present disclosure relates to a relay communication method, which is executed by a relay device and includes:

[0242] Step S3301, obtain the first message.

[0243] The optional implementation of step S3301 can refer to step S2101 in Figure 2, the optional implementation of step S3101 in Figure 3A, and other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here.

[0244] Step S3302, sending a second message.

[0245] The optional implementation of step S3302 can refer to step S2102 in Figure 2, the optional implementation of step S3102 in Figure 3A, and other related parts in the embodiments involved in Figures 2, 3A, and 3B, which will not be repeated here.

[0246] In some embodiments, the second message includes identification information, and the identification information is used to identify the first message.

[0247] In some embodiments, the first message and the second message are used by the first terminal to request to discover the second terminal.

[0248] In some embodiments, the identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

[0249] In some embodiments, the identification information includes any one of the following:

[0250] a first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message;

[0251] The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

[0252] In some embodiments, the method comprises:

[0253] The relay device receives a third message sent by the second terminal, where the third message includes the identification information;

[0254] The relay device sends a fourth message to the first terminal according to the identification information;

[0255] The third message and the fourth message are used to respond to the request of the first terminal to discover the second terminal.

[0256] In some embodiments, the identification information includes the first identification, and the relay device sends a fourth message to the first terminal according to the identification information, including:

[0257] The relay device uses the first identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

[0258] In some embodiments, the identification information includes the second identification, and the relay device sends a fourth message to the first terminal according to the identification information, including:

[0259] The relay device determines, according to the second identifier, a source layer 2 identifier used by the first terminal to send the first message;

[0260] The relay device uses the source layer 2 identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

[0261] In some embodiments, the third message is sent by the second terminal when the second terminal determines that a first condition is satisfied, where the first condition includes at least one of the following:

[0262] The second terminal is capable of using the relay service corresponding to the RSC indicated by the second message;

[0263] The user identifier of the second terminal is consistent with the user identifier indicated by the second message;

[0264] The signal strength of the second message is greater than or equal to a preset strength threshold.

[0265] In some embodiments, the relay device is a terminal-to-terminal relay device in proximity based service.

[0266] In some embodiments, the relay device includes one or more devices for relaying.

[0267] In some embodiments, the relay device is a relay device that adopts a Mode B security program and / or a Fusion Discovery security program.

[0268] The communication method involved in the embodiment of the present disclosure may include at least one of steps S3301 and S3302. For example, step S3301 may be implemented as an independent embodiment, and step S3302 may be implemented as an independent embodiment.

[0269] In some embodiments, step S3301 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0270] FIG4A is a flow chart of a relay communication method according to an embodiment of the present disclosure. As shown in FIG4A , the embodiment of the present disclosure relates to a relay communication method, which is executed by a second terminal and includes:

[0271] Step S4101, obtain the second message.

[0272] The optional implementation of step S4101 can refer to the optional implementation of step S2102 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0273] In some embodiments, the second terminal receives the second message sent by the relay device, but is not limited thereto and may also receive the second message sent by other entities.

[0274] In some embodiments, the second terminal obtains a second message specified by the protocol.

[0275] In some embodiments, the second terminal obtains the second message from an upper layer(s).

[0276] In some embodiments, the second terminal performs processing to obtain the second message.

[0277] In some embodiments, step S3101 is omitted, the second terminal autonomously implements the function indicated by the second message, or the above function is default or acquiescent.

[0278] Step S4102, sending a third message.

[0279] The optional implementation of step S4102 can refer to the optional implementation of step S2103 in Figure 2 and other related parts in the embodiment involved in Figure 2, which will not be repeated here.

[0280] In some embodiments, the second terminal sends a third message to the relay device, but is not limited thereto and may also send the third message to other entities. Optionally, the third message is used by the relay device to determine the destination layer 2 identifier of the fourth message. Optionally, the identifier information in the third message is used by the relay device to determine the destination layer 2 identifier of the fourth message.

[0281] The communication method involved in the embodiment of the present disclosure may include at least one of steps S4101 to S4102. For example, step S4101 may be implemented as an independent embodiment, and step S4102 may be implemented as an independent embodiment.

[0282] In some embodiments, step S4101 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0283] FIG4B is a flow chart of a relay communication method according to an embodiment of the present disclosure. As shown in FIG4B , the embodiment of the present disclosure relates to a relay communication method, which is executed by a second terminal and includes:

[0284] Step S4201, obtain the second message.

[0285] The optional implementation of step S4201 can refer to step S2102 in Figure 2, the optional implementation of step S4101 in Figure 4A, and other related parts in the embodiments involved in Figures 2 and 4A, which will not be repeated here.

[0286] In some embodiments, the second message includes identification information, where the identification information is used to identify the first message, and the second message is sent by the relay device when the relay device receives the first message sent by the first terminal.

[0287] In some embodiments, the first message and the second message are used by the first terminal to request to discover the second terminal.

[0288] In some embodiments, the identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

[0289] In some embodiments, the identification information includes any one of the following:

[0290] a first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message;

[0291] The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

[0292] In some embodiments, the method comprises:

[0293] The second terminal sends a third message to the relay device, where the third message includes the identification information, and the identification information is used by the relay device to send a fourth message to the first terminal;

[0294] The third message and the fourth message are used to respond to the request of the first terminal to discover the second terminal.

[0295] In some embodiments, the second terminal sends a third message to the relay device, including:

[0296] The second terminal determines that a first condition is satisfied, and sends the third message to the relay device, where the first condition includes at least one of the following:

[0297] The second terminal is capable of using the relay service corresponding to the RSC indicated by the second message;

[0298] The user identifier of the second terminal is consistent with the user identifier indicated by the second message;

[0299] The signal strength of the second message is greater than or equal to a preset strength threshold.

[0300] In some embodiments, the relay device is a terminal-to-terminal relay device in proximity based service.

[0301] In some embodiments, the relay device is one or more devices for relaying.

[0302] In some embodiments, the relay device is a relay device that adopts a Mode B security program and / or a Fusion Discovery security program.

[0303] Figure 5 is an interactive diagram of a relay communication method according to an embodiment of the present disclosure. As shown in Figure 5, the embodiment of the present disclosure relates to a relay communication method, which includes:

[0304] Step S5101: The first terminal sends a first message to the relay device.

[0305] The optional implementation of step S5101 can be found in the optional implementation of step S2101 in Figure 2, step S3101 in Figure 3A, step S3301 in Figure 3C, and other related parts in the embodiments involved in Figures 2, 3A, 3B, 3C, 4A, and 4B, which will not be repeated here.

[0306] Step S5102: The relay device sends a second message to the second terminal.

[0307] For the optional implementation of step S5102, please refer to the optional implementation of step S2102 in Figure 2, step S3102 in Figure 3A, step S3302 in Figure 3C, step S4102 in Figure 4A, step S4201 in Figure 4B, and other related parts in the embodiments involved in Figures 2, 3A, 3B, 3C, 4A, and 4B, which will not be repeated here.

[0308] Figure 6 is an interactive diagram of a relay communication method according to an embodiment of the present disclosure. As shown in Figure 6, the embodiment of the present disclosure relates to a relay communication method, which includes:

[0309] Step S6101, UE-1 sends a relay discovery request message.

[0310] In some embodiments, UE-1 is a 5G ProSe End UE discoverer. Optionally, UE-1 sends a relay discovery request message to a relay device. Optionally, the relay discovery request message is a 5G ProSe UE-to-UE Relay Discovery Solicitation message. Optionally, the relay device includes multiple relay devices. Optionally, the relay device is a 5G ProSe UE-to-UE Relay.

[0311] In some embodiments, the relay discovery request message includes a discovery message type (Type of Discovery Message), a user information ID of UE-1, a user information ID of UE-2, and an RSC.

[0312] In some embodiments, the relay discovery request message is sent using a source layer 2 identifier and a destination layer 2 identifier. Optionally, the source layer 2 identifier and the destination layer 2 identifier may be as specified in clause 5.8.4.

[0313] In some embodiments, the relay device self-selects a source layer 2 identifier for the relay discovery request message.

[0314] In some embodiments, the relay device selects a destination layer 2 identifier for the relay discovery request message based on the configuration in clause 5.1.5.1.

[0315] Step S6102: The relay device sends a relay discovery request message.

[0316] In some embodiments, the relay device is a relay device that matches the RSC. Optionally, the relay device is a 5G ProSe UE-to-UE Relay. Optionally, if the relay device can use or provide the relay service corresponding to the RSC included in the relay discovery request message in step S6101, the relay device is a relay device that matches the RSC.

[0317] In some embodiments, the 5G ProSe UE-to-UE Relay matching the RSC sends a 5G ProSe UE-to-UE Relay Discovery Solicitation message.

[0318] In some embodiments, the relay discovery request message includes a discovery message type, a user information ID of UE-1, a user information ID of UE-2, a user information ID of the relay device, an RSC, and identification information.

[0319] In some embodiments, the relay discovery request message is sent using a source layer 2 identifier and a destination layer 2 identifier. Optionally, the source layer 2 identifier and the destination layer 2 identifier may be as specified in clause 5.8.4.

[0320] In some embodiments, UE-1 and or UE-2 determine a destination layer 2 identity for receiving signaling (eg, a relay discovery request message) according to clause 5.1.

[0321] In some embodiments, the identification information may be a source layer 2 identifier of the request message sent by UE-1, or may be another identifier generated by the relay device. The identification information is used to identify the received request information.

[0322] Step S6103, UE-2 sends a relay discovery response message.

[0323] In some embodiments, UE-1 is a discoveree 5G ProSe End UE. Optionally, UE-2 is a discoverer UE that meets the RSC value and satisfies the user information ID of UE-2. Optionally, the relay discovery response message is a 5G ProSe UE-to-UE Relay Discovery Response message.

[0324] Optionally, in the case that UE-2 can use the relay service corresponding to the RSC in the relay discovery request message, it is determined that UE-2 meets the value of the RSC.

[0325] In some embodiments, the discoveree 5G ProSe End UE that satisfies the RSC value and the User Info ID of the discoveree 5G ProSe End UE sends a 5G ProSe UE-to-UE Relay Discovery Response message.

[0326] In some embodiments, the relay discovery response message includes a discovery message type, a user information ID of UE-1, a user information ID of UE-2, a user information ID of the relay device, an RSC, and received identification information.

[0327] In some embodiments, the relay discovery response message is sent using a source layer 2 identifier and a destination layer 2 identifier. Optionally, the source layer 2 identifier and the destination layer 2 identifier may be as specified in clause 5.8.4.

[0328] In some embodiments, if UE-2 receives multiple relay discovery request messages from different relay devices, it may choose to respond or not, for example, based on the PC5 signal strength of each message received.

[0329] Step S6104, the relay device sends a relay discovery response message.

[0330] In some embodiments, the relay device sends the relay discovery response information according to the identification information. Optionally, the identification information may be identification information in the relay discovery response message.

[0331] In some embodiments, based on mapping information, the 5G ProSe UE-to-UE Relay sends a 5G ProSe UE-to-UE Relay Discovery Response message.

[0332] In some embodiments, the relay device response message includes a discovery message type, a user information ID of UE-1, a user information ID of UE-2, a user equipment ID of the relay device, and RSC.

[0333] In some embodiments, the relay device response message is sent using a source layer 2 identifier and a destination layer 2 identifier. Optionally, the source layer 2 identifier and the destination layer 2 identifier may be as specified in clause 5.8.4.

[0334] In some embodiments, if the received identification information is the source layer 2 identifier of the first message, the relay device shall set it as the destination layer 2 identifier of the discovery response message. Alternatively, if the received identification information is the source layer 2 identifier of the discoverer UE (such as UE-1), the relay device shall set it as the destination layer 2 identifier of the discovery response message.

[0335] In some embodiments, if the received identification information is a self-generated identification, the relay device should restore the self-selected layer 2 identification of the discoverer UE (i.e., UE-1) (i.e., the source layer 2 identification of the first message) and set it as the destination layer 2 identification of the discovery response message.

[0336] In the embodiments of the present disclosure, some or all of the steps and their optional implementations may be arbitrarily combined with some or all of the steps in other embodiments, or may be arbitrarily combined with the optional implementations of other embodiments.

[0337] The embodiments of the present disclosure further provide an apparatus for implementing any of the above methods. For example, an apparatus is provided, comprising units or modules for implementing each step performed by a terminal in any of the above methods. For another example, another apparatus is provided, comprising units or modules for implementing each step performed by a network device (e.g., an access network device, a core network function node, a core network device, etc.) in any of the above methods.

[0338] It should be understood that the division of the various units or modules in the above device is merely a division of logical functions. In actual implementation, they may be fully or partially integrated into a physical entity, or they may be physically separated. In addition, the units or modules in the device may be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and the memory stores instructions. The processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the various units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory within the device or a memory outside the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units or modules can be realized by designing the hardware circuits. The above-mentioned hardware circuits can be understood as one or more processors; for example, in one implementation, the above-mentioned hardware circuit is an application-specific integrated circuit (ASIC), which realizes the functions of some or all of the above units or modules by designing the logical relationship of the components in the circuit; for example, in another implementation, the above-mentioned hardware circuit can be realized by a programmable logic device (PLD). Taking a field programmable gate array (FPGA) as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by configuring the configuration file, thereby realizing the functions of some or all of the above units or modules. All units or modules of the above devices can be realized in the form of software called by the processor, or in the form of hardware circuits, or in part by the form of software called by the processor, and the rest by hardware circuits.

[0339] In the embodiments of the present disclosure, the processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationship of the hardware circuit. The logical relationship of the above-mentioned hardware circuit is fixed or reconfigurable. For example, the processor is a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and implementing the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0340] Figure 7A is a schematic diagram of the structure of a relay device proposed in an embodiment of the present disclosure. As shown in Figure 7A, relay device 7100 may include at least one of a transceiver module 7101 and a processing module 7102. In some embodiments, the transceiver module is configured to receive a first message sent by a first terminal. Optionally, the transceiver module is further configured to send a second message to a second terminal. Optionally, the second message includes identification information, which is used to identify the first message. The first message and the second message are used by the first terminal to request discovery of the first terminal. Optionally, the transceiver module is configured to perform at least one of the communication steps, such as sending and / or receiving, performed by the relay device in any of the above methods (e.g., steps S2101, S2102, S2103, and S2104, but not limited thereto), which are not further described here. Optionally, the processing module is configured to perform other steps performed by the relay device in any of the above methods (e.g., steps for generating a second identifier, but not limited thereto), which are not further described here.

[0341] Figure 7B is a schematic diagram of the structure of a second terminal proposed in an embodiment of the present disclosure. As shown in Figure 7B, the second terminal 7200 may include at least one of a transceiver module 7201 and a processing module 7202. In some embodiments, the transceiver module is configured to receive a second message sent by a relay device, the second message including identification information used to identify a first message, and the second message is sent by the relay device upon receiving a first message sent by the first terminal; wherein the first message and the second message are used by the first terminal to request discovery of the second terminal. Optionally, the transceiver module is configured to execute at least one of the communication steps (e.g., steps S2101, S2102, S2103, and S2104, but not limited thereto) performed by the network device in any of the above methods, which are not further described here. Optionally, the processing module is configured to execute other steps (e.g., generating a third message, but not limited thereto) performed by the network device in any of the above methods, which are not further described here.

[0342] Figure 8A is a schematic diagram of the structure of a communication device 8100 proposed in an embodiment of the present disclosure. Communication device 8100 can be a network device (e.g., a relay device, an access network device, a core network device, etc.), or a terminal (e.g., a first terminal, a second terminal, a relay device, a user equipment, etc.). It can also be a chip, a chip system, or a processor that supports a network device to implement any of the above methods, or a chip, a chip system, or a processor that supports a terminal to implement any of the above methods. Communication device 8100 can be used to implement the methods described in the above method embodiments. For details, please refer to the description of the above method embodiments.

[0343] As shown in Figure 8A, the communication device 8100 includes one or more processors 8101. The processor 8101 can be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor can be used to process the communication protocol and communication data, and the central processing unit can be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute programs, and process program data. Optionally, the communication device 8100 is used to perform any of the above methods. Optionally, one or more processors 8101 are used to call instructions to enable the communication device 8100 to perform any of the above methods.

[0344] In some embodiments, the communication device 8100 further includes one or more transceivers 8102. When the communication device 8100 includes one or more transceivers 8102, the transceiver 8102 performs at least one of the communication steps such as sending and / or receiving in the above method (e.g., step S2101, step S2102, step S2103, step S2104, but not limited thereto), and the processor 8101 performs at least one of the other steps (e.g., generating a second identifier, but not limited thereto). In an optional embodiment, the transceiver may include a receiver and / or a transmitter, and the receiver and transmitter may be separate or integrated. Optionally, the terms transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, and interface may be interchangeable, the terms transmitter, transmitting unit, transmitter, transmitting circuit may be interchangeable, and the terms receiver, receiving unit, receiver, receiving circuit may be interchangeable.

[0345] In some embodiments, the communication device 8100 further includes one or more memories 8103 for storing data. Alternatively, all or part of the memories 8103 may be located outside the communication device 8100. In alternative embodiments, the communication device 8100 may include one or more interface circuits 8104. Optionally, the interface circuits 8104 are connected to the memories 8103 and may be configured to receive data from the memories 8103 or other devices, or to send data to the memories 8103 or other devices. For example, the interface circuits 8104 may read data stored in the memories 8103 and send the data to the processor 8101.

[0346] The communication device 8100 described in the above embodiment may be a network device or a terminal, but the scope of the communication device 8100 described in the present disclosure is not limited thereto, and the structure of the communication device 8100 may not be limited by FIG. 8A. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: 1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data or programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, an in-vehicle device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.

[0347] FIG8B is a schematic diagram of the structure of a chip 8200 according to an embodiment of the present disclosure. If the communication device 8100 can be a chip or a chip system, please refer to the schematic diagram of the structure of the chip 8200 shown in FIG8B , but the present disclosure is not limited thereto.

[0348] The chip 8200 includes one or more processors 8201. The chip 8200 is configured to execute any of the above methods.

[0349] In some embodiments, chip 8200 further includes one or more interface circuits 8202. Terms such as interface circuit, interface, and transceiver pins may be used interchangeably. In some embodiments, chip 8200 further includes one or more memories 8203 for storing data. Alternatively, all or part of memory 8203 may be located external to chip 8200. Optionally, interface circuit 8202 is connected to memory 8203 and may be used to receive data from memory 8203 or other devices, or may be used to send data to memory 8203 or other devices. For example, interface circuit 8202 may read data stored in memory 8203 and send the data to processor 8201.

[0350] In some embodiments, the interface circuit 8202 performs at least one of the communication steps (e.g., steps S2101, S2102, S2103, and S2104) of the aforementioned method. The interface circuit 8202 performing the communication steps (e.g., steps S2101, S2102, S2103, and S2104) of the aforementioned method, for example, means that the interface circuit 8202 performs data exchange between the processor 8201, chip 8200, memory 8203, or a transceiver device. In some embodiments, the processor 8201 performs at least one of the other steps (e.g., generating a second identifier, but not limited thereto).

[0351] The modules and / or devices described in various embodiments, such as virtual devices, physical devices, and chips, can be arbitrarily combined or separated according to circumstances. Optionally, some or all steps can also be performed collaboratively by multiple modules and / or devices, which is not limited here.

[0352] The present disclosure also proposes a storage medium having instructions stored thereon, which, when executed on the communication device 8100, causes the communication device 8100 to execute any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but is not limited thereto, and may also be a storage medium readable by other devices. Optionally, the storage medium may be a non-transitory storage medium, but is not limited thereto, and may also be a temporary storage medium.

[0353] The present disclosure also provides a program product, which, when executed by the communication device 8100, enables the communication device 8100 to perform any of the above methods. Optionally, the program product is a computer program product.

[0354] The present disclosure also proposes a computer program, which, when executed on a computer, causes the computer to perform any one of the above methods.

Claims

1. A relay communication method, characterized in that: The method comprises: The relay device receives a first message sent by the first terminal; The relay device sends a second message to the second terminal, where the second message includes identification information, and the identification information is used to identify the first message; The first message and the second message are used by the first terminal to request to discover the second terminal.

2. The method according to claim 1, characterized in that The identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

3. The method according to claim 1 or 2, characterized in that: The identification information includes any one of the following: A first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message; The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

4. The method according to any one of claims 1 to 3, characterized in that: The method comprises: The relay device receives a third message sent by the second terminal, where the third message includes the identification information; The relay device sends a fourth message to the first terminal according to the identification information; The third message and the fourth message are used to respond to a request of the first terminal to discover the second terminal.

5. The method according to claim 4, characterized in that The identification information includes the first identification, and the relay device sends a fourth message to the first terminal according to the identification information, including: The relay device uses the first identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

6. The method according to claim 4 or 5, characterized in that: The identification information includes the second identification, and the relay device sends a fourth message to the first terminal according to the identification information, including: The relay device determines, according to the second identifier, a source layer 2 identifier used by the first terminal to send the first message; The relay device uses the source layer 2 identifier as the destination layer 2 identifier used by the relay device to send the fourth message.

7. The method according to any one of claims 4 to 6, characterized in that: The third message is sent by the second terminal when the second terminal determines that a first condition is satisfied, and the first condition includes at least one of the following: The second terminal is capable of using the relay service corresponding to the relay service code RSC indicated by the second message; The user identifier of the second terminal is consistent with the user identifier indicated by the second message; The signal strength of the second message is greater than or equal to a preset strength threshold.

8. The method according to any one of claims 1 to 7, characterized in that: The relay device is a terminal-to-terminal relay device in proximity service.

9. The method according to any one of claims 1 to 8, characterized in that: The relay device includes one or more devices used for relaying.

10. The method according to any one of claims 1 to 9, characterized in that: The relay device is a relay device that adopts the security procedure of mode B and / or the fusion discovery security procedure.

11. A relay communication method, characterized in that: The method comprises: The second terminal receives a second message sent by the relay device, where the second message includes identification information, where the identification information is used to identify the first message, and the second message is sent when the relay device receives the first message sent by the first terminal; The first message and the second message are used by the first terminal to request to discover the second terminal.

12. The method according to claim 11, characterized in that The identification information is used to indicate a source layer 2 identifier used by the first terminal to send the first message.

13. The method according to claim 11 or 12, characterized in that: The identification information includes any one of the following: A first identifier, where the first identifier is a source layer 2 identifier used by the first terminal to send the first message; The second identifier is an identifier generated by the relay device according to the source layer 2 identifier used by the first terminal to send the first message.

14. The method according to any one of claims 11 to 13, characterized in that: The method comprises: The second terminal sends a third message to the relay device, where the third message includes the identification information, and the identification information is used by the relay device to send a fourth message to the first terminal; The third message and the fourth message are used to respond to a request of the first terminal to discover the second terminal.

15. The method according to claim 14, characterized in that The second terminal sends a third message to the relay device, including: The second terminal determines that a first condition is satisfied, and sends the third message to the relay device, where the first condition includes at least one of the following: The second terminal is capable of using the relay service corresponding to the relay service code RSC indicated by the second message; The user identifier of the second terminal is consistent with the user identifier indicated by the second message; The signal strength of the second message is greater than or equal to a preset strength threshold.

16. The method according to any one of claims 11 to 15, characterized in that: The relay device is a terminal-to-terminal relay device in proximity service.

17. The method according to any one of claims 11 to 16, characterized in that: The relay device is one or more devices used for relaying.

18. The method according to any one of claims 11 to 17, characterized in that: The relay device is a relay device that adopts the security procedure of mode B and / or the fusion discovery security procedure.

19. A relay communication method, characterized in that: The method comprises: The first terminal sends a first message to the relay device; The relay device sends a second message to the second terminal, where the second message includes identification information, and the identification information is used to identify the first message; The first message and the second message are used by the first terminal to request to discover the second terminal.

20. A relay device, characterized in that: The relay device comprises: A transceiver module, configured to receive a first message sent by a first terminal; The transceiver module is further configured to send a second message to the second terminal, where the second message includes identification information, and the identification information is used to identify the first message; The first message and the second message are used by the first terminal to request to discover the first terminal.

21. A second terminal, characterized in that: The first device comprises: a transceiver module, configured to receive a second message sent by a relay device, wherein the second message includes identification information, the identification information is used to identify the first message, and the second message is sent by the relay device when the relay device receives the first message sent by the first terminal; The first message and the second message are used by the first terminal to request to discover the second terminal.

22. A relay device, characterized in that: include: one or more processors; A memory coupled to the one or more processors, the memory comprising executable instructions, which, when executed by the one or more processors, causes the relay device to execute the relay communication method according to any one of claims 1 to 10.

23. A second terminal, characterized in that: include: one or more processors; A memory coupled to the one or more processors, the memory comprising executable instructions, when the executable instructions are executed by the When executed by the one or more processors, the first device executes the relay communication method described in claims 11-18.

24. A communication system, characterized in that: It comprises a relay device and a second terminal, wherein the relay device is configured to implement the relay communication method according to any one of claims 1 to 10, and the second terminal is configured to implement the relay communication method according to any one of claims 11 to 18.

25. A storage medium storing instructions, characterized in that: When the instruction is executed on a communication device, the communication device is enabled to execute the relay communication method according to any one of claims 1 to 10, claims 11 to 18, or claim 19.

Citation Information

Patent Citations

  • Remote terminal service identification method, apparatus and device, and storage medium

    CN114630389A

  • Wireless communication method and terminal device

    WO2022174466A1

  • Wireless communication method and terminal device

    WO2022174726A1