WO2024027313A1 - 一种通信方法、装置及设备 - Google Patents

一种通信方法、装置及设备 Download PDF

Info

Publication number
WO2024027313A1
WO2024027313A1 PCT/CN2023/097120 CN2023097120W WO2024027313A1 WO 2024027313 A1 WO2024027313 A1 WO 2024027313A1 CN 2023097120 W CN2023097120 W CN 2023097120W WO 2024027313 A1 WO2024027313 A1 WO 2024027313A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
relay
relay device
terminal
devices
Prior art date
Application number
PCT/CN2023/097120
Other languages
English (en)
French (fr)
Inventor
徐瑞雄
彭文杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024027313A1 publication Critical patent/WO2024027313A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/06Reselecting a communication resource in the serving access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present application relates to the field of communication, and in particular, to a communication method, device and equipment.
  • terminal devices can communicate with each other.
  • terminal devices can communicate with each other through sidelinks.
  • Terminal devices can communicate directly with each other. In order to improve sidelink coverage, they can also communicate through relay devices.
  • the relay device may periodically broadcast a list of terminal devices that can communicate with it. In this way, the terminal device can select an appropriate relay device for communication based on the list. For example, terminal device 1 receives terminal device list 1 from relay device 1, and terminal device list 1 includes terminal device 2 and terminal device 3. When terminal device 1 needs to communicate with terminal device 2, terminal device 1 can communicate with terminal device 2 through relay device 1.
  • the relay device selected by the terminal device based on the list may not be a suitable relay device, resulting in poor communication quality or even communication interruption between the terminal devices.
  • This application provides a communication method, device and equipment to improve the communication quality between terminal devices.
  • inventions of the present application provide a communication method.
  • the method includes: the first relay device may obtain first indication information used to indicate a first set, where the first set includes at least one terminal device. After determining whether each terminal device in the first set can communicate with the first relay device, the first relay device may send second indication information for indicating the second set to the first terminal device, and the second set includes Terminal devices in the first set that can communicate with the first relay device.
  • the first relay device will, after checking whether all terminal devices in the first set can communicate with the first relay device, send the second indication information to indicate that the terminal devices include terminals that can communicate with the first relay device.
  • the second set of devices thereby improves the accuracy of the information sent by the first relay device.
  • the first terminal device can select the first relay device to perform communication between the terminal devices according to the accurate second instruction information, thereby improving the communication quality between the terminal devices.
  • the first relay device may determine whether each terminal device in the first set can communicate with the first relay device through the following steps: the second terminal device is any terminal in the first set device, if the first message from the second terminal device is received, the first relay device can determine that the second terminal device can communicate with the first relay device; if the first message from the second terminal device is not received, Then the first relay device may determine that the second terminal device cannot communicate with the first relay device.
  • the first message is at least one of the following:
  • a notification message sent by the second terminal device is used for a communication device other than the second terminal device to discover the second terminal device;
  • a response message sent by the second terminal device is used to respond to the request message or unicast connection establishment request sent by the first relay device.
  • the request message is used for a communication device other than the first relay device to discover the first relay device.
  • the unicast connection establishment request is used to request the establishment of a connection between the first relay device and the second terminal device.
  • This design provides multiple implementation methods of the first message and is relatively flexible.
  • the first relay device within a first period of time after determining whether each terminal device in the first set can communicate with the first relay device, the first relay device sends an indication to the first terminal device.
  • the second set of second indication information the first relay device can send the indication information indicating the second set to the first terminal device within the first time period when it is determined that it can communicate with each terminal device in the second set, so that The accuracy of the second set of instruction information can be improved.
  • each terminal device in the second set has the ability to communicate with the terminal device through the relay device.
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • each terminal device has the ability to communicate with the terminal device through the relay device, which can avoid the first terminal device requesting to communicate with the terminal device that does not have this capability through the relay device, thereby improving the efficiency of communication. Communication quality and efficiency.
  • the first relay device before sending the second indication information for indicating the second set to the first terminal device, may obtain the capability indication information of each terminal device in the first set, and the first The capability indication information of each terminal device in the set is used to indicate whether each terminal device has the ability to communicate with the terminal device through the relay device.
  • the first relay device can know in time whether the terminal device has the ability to communicate with the terminal device through the relay device, which is easy to implement.
  • the signal quality between each terminal device in the second set and the first relay device is greater than or equal to the first threshold.
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • the signal quality between each terminal device and the first relay device is greater than or equal to the first threshold. In this way, when the first terminal device communicates with other terminal devices through the first relay device, communication quality can be guaranteed.
  • the signal quality between each terminal device in the second set and the first relay device is greater than or equal to the first threshold and less than the second threshold, and the second threshold is greater than the first threshold.
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • the signal quality between each terminal device and the first relay device is greater than or equal to the first threshold. In this way, when the first terminal device communicates with other terminal devices through the first relay device, communication quality can be guaranteed.
  • the signal quality between each terminal device and the first relay device is less than the second threshold, so that terminal devices that are closer to the first relay device can be eliminated, thereby improving the signal quality between the terminal devices. communication efficiency.
  • the first relay device may also send a message indicating whether each terminal device in the second set communicates with the first relay device. Information about the signal quality between the first relay device.
  • the first relay device can send information indicating the signal quality between each terminal device in the second set and the first relay device; in this way, the terminal device in the second set can select a relay when When the device transmits data, it can be selected based on the signal quality between the first relay device and the destination terminal device, thereby improving The quality of communication between end devices.
  • the first indication information includes indication information of each terminal device in the first set; the second indication information includes indication information of each terminal device in the second set.
  • the design is easy to implement.
  • inventions of the present application provide a communication method.
  • the method includes: the first terminal device determines whether a direct link can be established between the first terminal device and the third terminal device. If it is determined that a direct link cannot be established between the first terminal device and the third terminal device, the first terminal device may select a first relay device from M relay devices capable of communicating with the third terminal device based on the first information. relay device, and sends the service data packet to be sent to the third terminal device to the first relay device.
  • the first information may include: signal quality between each of the M relay devices and the first terminal device. M is a positive integer.
  • the first terminal device determines that a direct link cannot be established between the first terminal device and the third terminal device, it selects the relay device to transmit the service data packet. That is to say, the first terminal device will preferentially select the direct link between the first terminal device and the third terminal device to transmit the service data packet. In this way, the transmission delay of service data packets can be reduced.
  • the first terminal device may select the first relay device according to the signal quality between each of the M relay devices and the first terminal device, and send the signal to the third relay device through the first relay device. business data packets, thereby improving the quality of communication between terminal devices.
  • the first terminal device can use the direct link between the first terminal device and the third terminal device. path to send service data packets to the third terminal device.
  • the first terminal device can preferentially select the direct link between the first terminal device and the third terminal device to transmit the service data packet, thereby reducing the transmission delay of the service data packet.
  • the first terminal device may determine whether a direct link can be established between the first terminal device and the third terminal device through the following steps: when the signal quality of the second message from the third terminal device is less than When the fifth threshold is reached, the first terminal device may determine that a direct link cannot be established between the first terminal device and the third terminal device; when the signal quality of the second message from the third terminal device is greater than or equal to the fifth threshold, The first terminal device may determine that a direct link can be established between the first terminal device and the third terminal device.
  • the design is easy to implement.
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold; and/or the first relay device is the same as the first terminal among the M relay devices.
  • Relay device for maximum signal quality between devices Through this design, the first terminal device can select the first relay device whose signal quality meets the above conditions to transmit the service data packet according to the signal quality between the relay device and the first terminal device, thereby ensuring communication quality.
  • the first information also includes signal quality between each of the M relay devices and the third terminal device.
  • the first relay device meets one of the following conditions:
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the signal quality between the first relay device and the third terminal device is greater than or equal to the fourth threshold;
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device, and the signal quality between the first relay device and the third terminal device is greater than or equal to the fourth threshold. ;
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the first relay device is the relay device with the highest signal quality between the M relay devices and the third terminal device. ;
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device, and the first relay device is the signal between the M relay devices and the third terminal device. Highest quality relay equipment.
  • the first terminal device can select the first relay for transmitting the service data packet based on the signal quality between the relay device and the first terminal device and the signal quality between the relay device and the third terminal device. equipment to ensure communication quality.
  • the first terminal device before selecting the first relay device from the M relay devices capable of communicating with the third terminal device according to the first information, the first terminal device may respectively receive messages from the M relay devices.
  • the signal quality indication information from each relay device in the M relay devices is used to indicate the signal quality between each relay device and the third terminal device.
  • the first terminal device can determine the signal quality between each relay device and the third terminal device, which is easy to implement.
  • the first information also includes the connection status between each of the M relay devices and the first terminal device, and a single link has been established between the first relay device and the first terminal device. Broadcast connection.
  • the first terminal device preferentially selects the first relay device that has established a unicast connection with the first terminal device to transmit the service data packet; in this way, the first terminal device no longer needs to establish a unicast connection, thereby saving money. Transmission delay.
  • the first terminal device may respectively receive messages from the N relay devices. Instruction information from each relay device in N relay devices is used to indicate at least one terminal device that can communicate with each relay device, and N is a positive integer. Then, the first terminal device may determine M relay devices among the N relay devices that are capable of communicating with the third terminal device based on the instruction information from the N relay devices. Through this design, the first terminal device can easily determine M relay devices that can communicate with the third terminal device.
  • the first terminal device when the first terminal device fails to select the first relay device from the M relay devices based on the first information, the first terminal device may send a third message to the third terminal device, The third message is used to request the establishment of a direct link between the first terminal device and the third terminal device.
  • the first terminal device when the direct link between the first terminal device and the third terminal device does not meet the signal quality requirements, and the first terminal device fails to find the first relay device based on the first information, that is, the first When the terminal device fails to find an indirect path that meets the signal quality requirements, the first terminal device can communicate with the third terminal device through the direct link, thereby reducing communication complexity and saving signaling overhead.
  • the first terminal device when the connection between the first terminal device and the second relay device is interrupted, or the connection between the third terminal device and the second relay device is interrupted, the first terminal device can According to the first information, the first relay device is selected from M relay devices capable of communicating with the third terminal device. In this way, during the reselection process, the first terminal device can select the relay device according to the signal quality, thereby ensuring the communication quality when transmitting the service data packet through the relay device.
  • the first terminal device before selecting the first relay device from M relay devices capable of communicating with the third terminal device according to the first information, if there is a connection between the first terminal device and the second relay device, The connection is interrupted, or the connection between the third terminal device and the second relay device is interrupted, the first terminal device can release the first connection between the first terminal device and the third terminal device, and the first connection is the first An end-to-end connection between an end device and a third end device. In this way, when the connection between the first terminal device and the second relay device is interrupted, or the connection between the third terminal device and the second relay device is interrupted, the first terminal device or the third terminal device can release the third terminal device in time. A connection between a terminal device and a third terminal device to avoid unnecessary occupation of resources.
  • embodiments of the present application provide a communication method.
  • the method includes: after sending the third indication information to the first terminal device, the first relay device can receive the service data packet of the target service from the first terminal device.
  • the third indication information is used to indicate at least one service, and the service data packet of each service in the at least one service is capable of communicating with the third service.
  • At least one terminal device communicating with a relay device expects to receive service data packets; at least one service includes a target service.
  • the first relay device may send the service data packet of the target service to the third terminal device.
  • the third terminal device is a terminal among the P terminal devices capable of communicating with the first relay device that is expected to receive the service data packet of the target service.
  • Equipment, P is a positive integer.
  • the first relay device may send third indication information for indicating at least one service, and the service data packet of each service in the at least one service is expected to be received by at least one terminal device capable of communicating with the first relay device. business data package.
  • the first terminal device wants to send the service data packet of the target service, it can find a suitable relay device according to the third instruction information to forward the service data packet of the target service to the terminal device that expects to receive the service data packet of the target service, so that it can Ensure the correct transmission of business data packets.
  • the first relay device may receive a first request from the first terminal device, where the first request is used to request to establish the first In the unicast connection between the relay device and the first terminal device, the first request contains indication information of the target service.
  • the first relay device may determine the third terminal device from the P terminal devices according to the instruction information of the target service, and send a second request to the third terminal device. The second request is used to request the establishment of the first relay device by Unicast connection to a third terminal device.
  • the first relay device may also receive a third request from the first terminal device, and send the third request to the third terminal device, where the third request is used to request the establishment of the first terminal device and the third terminal device.
  • End-to-end unicast connection between three end devices. Through this design, an end-to-end unicast connection can be established between the first terminal device and the third terminal device, so that service data packets can be transmitted through the unicast connection.
  • the first relay device may receive indication information from each of the P terminal devices respectively.
  • the indication information of each of the P terminal devices can be used to indicate Q services.
  • the service data packet of each service in the Q services is the service data packet that each terminal device expects to receive, and Q is a positive integer.
  • the first terminal device can learn which service data packets each of the P terminal devices communicating with the first relay device expects to receive.
  • inventions of the present application provide a communication method.
  • the method includes: the first terminal device may respectively receive third indication information from each of the R relay devices.
  • the third indication information from each of the R relay devices is used to indicate at least one service
  • the service data packet of each service in the at least one service is at least one terminal capable of communicating with each relay device.
  • R is a positive integer.
  • the first terminal device may select the first relay device from the R relay devices according to the third instruction information from each of the R relay devices, and send the target service to the first relay device. business data package.
  • the first relay device can communicate with a third terminal device that expects to receive the service data packet of the target service.
  • each first relay device among the P terminal devices can send third indication information for indicating at least one service, and the service data packet of each service in the at least one service is capable of communicating with each relay device.
  • At least one terminal device expects to receive service data packets.
  • the first terminal device wants to send the service data packet of the target service, it can find a suitable relay device according to the third instruction information to forward the service data packet of the target service to the terminal device that expects to receive the service data packet of the target service, so that it can Ensure the correct transmission of business data packets.
  • the first terminal device before sending the service data packet of the target service to the first relay device, the first terminal device sends the first request and the third request to the first relay device.
  • the first request is used to request the establishment of a unicast connection between the first relay device and the first terminal device, and the first request contains indication information of the target service;
  • the third request is used to request the establishment of the first terminal device and the first terminal device. End-to-end unicast connection between three end devices.
  • the R relay devices also include a fourth relay device, and the fourth relay device can communicate with the third terminal device.
  • the method may further include: the first terminal device receiving a third response from the first relay device and a fourth response from the fourth relay device.
  • the third response is used to indicate that the second connection between the first terminal device and the third terminal device is established through the first relay device
  • the fourth response is used to indicate that the first terminal device is established through the fourth relay device.
  • a third connection between a third terminal device When the signal quality of the second connection is greater than or equal to the signal quality of the third connection, the first terminal device may send the service data packet of the target service to the first relay device.
  • the first terminal device can choose a path to communicate with the third terminal device, so that Waste of resources can be avoided.
  • the present application also provides a communication device.
  • the communication device may be any device that performs data transmission in a wireless manner.
  • communication chips, terminal equipment, or relay equipment In some communication processes, the communication device can serve as the above-mentioned relay device or a communication chip that can be used for the relay device; in some communication processes, the communication device can serve as the above-mentioned terminal device or a communication chip that can be used in the terminal device.
  • embodiments of the present application provide a communication device, which is the above-mentioned relay device (such as a first relay device) or a terminal device (such as a first terminal device).
  • the device may include a communication unit and a processing unit to perform the method provided in any of the above aspects.
  • the communication unit is used to perform functions related to sending and receiving.
  • the communication unit includes a receiving unit and a sending unit.
  • the communication device is a communication chip, and the communication unit may be an input/output circuit or port of the communication chip.
  • the communication unit may be a transmitter and a receiver, or the communication unit may be a transmitter and a receiver.
  • embodiments of the present application provide a communication device, which is the above-mentioned relay device (such as a first relay device) or a terminal device (such as a first terminal device).
  • the device may include a processor and a communications module.
  • a memory is also included.
  • the memory is used to store computer programs or instructions.
  • the processor is used to call and run the computer program or instructions from the memory.
  • the communication is enabled.
  • the device executes the method provided in any of the above aspects.
  • processors there are one or more processors and one or more memories.
  • the memory can be integrated with the processor, or the memory can be provided separately from the processor.
  • the communication module may include a transmitter (transmitter) and a receiver (receiver).
  • embodiments of the present application provide a system that includes the above-mentioned relay device (such as a first relay device) or a terminal device (such as a first terminal device).
  • embodiments of the present application further provide a computer program, which when the computer program is run on a computer, causes the computer to execute the method provided in any of the above aspects.
  • embodiments of the present application further provide a computer-readable storage medium.
  • a computer program is stored in the computer-readable storage medium. When the computer program is executed by a computer, it causes the computer to execute any of the above. methods provided.
  • embodiments of the present application provide a chip system, the chip being used to read the computer stored in the memory.
  • a computer program that executes the method provided in any of the above aspects.
  • embodiments of the present application also provide a chip system.
  • the chip system includes a processor and is used to support a computer device to implement the method provided in any of the above aspects.
  • the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device.
  • the chip system can be composed of chips or include chips and other discrete devices.
  • Figure 1A is a schematic diagram of a communication system applicable to the embodiment of the present application.
  • Figure 1B is a schematic diagram of another communication system applicable to the embodiment of the present application.
  • Figure 1C is a schematic flow chart of communication between two terminal devices through a relay device
  • Figure 2 is a schematic flow chart of the first communication method provided by the embodiment of the present application.
  • Figure 3 is a schematic flow chart of the second communication method provided by the embodiment of the present application.
  • Figure 4 is a schematic flow chart of the third communication method provided by the embodiment of the present application.
  • Figure 5 is a schematic flow chart of the fourth communication method provided by the embodiment of the present application.
  • Figure 6 is a schematic flow chart of the fifth communication method provided by the embodiment of the present application.
  • Figure 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • This application provides a communication method, device and equipment to improve the communication quality between terminal devices.
  • the method, device and equipment are based on the same technical concept. Since the methods, devices and equipment have similar principles for solving problems, the implementation of the device, device and method can be referred to each other, and repeated details will not be repeated.
  • Communication equipment generally refers to equipment with communication functions.
  • the communication device may be, but is not limited to, a terminal device, a network device, a core network (core network, CN) device, etc.
  • Signal quality which can be signal strength.
  • Parameters used to reflect or represent signal strength may include but are not limited to at least one of the following: reference signal receiving power (RSRP), reference signal receiving quality (RSRQ), received signal strength indication ( received signal strength indication (RSSI) and signal to interference plus noise ratio (SINR).
  • RSRP reference signal receiving power
  • RSSI received signal strength indication
  • SINR signal to interference plus noise ratio
  • the number of nouns means “singular noun or plural noun", that is, “one or more”, unless otherwise specified. "At least one” means one or more, and “plurality” means two or more. "And/or” describes the relationship between associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A alone exists, A and B exist simultaneously, and B alone exists. “At least one of the following” or similar expressions refers to any combination of these items (items), including any combination of a single item (items) or a plurality of items (items).
  • FIG. 1A shows a schematic diagram of a communication system applicable to the embodiment of the present application.
  • the communication system includes: network equipment and terminal equipment (for example, terminal equipment 1 and terminal equipment 2).
  • the terminal device can communicate with the network device through the wireless interface (such as Uu port).
  • Terminal devices can communicate through network devices or through direct connection, such as through the PC5 interface between terminal devices.
  • the link between terminal devices may be called a sidelink, or an edge link, or a side link, or a PC5 interface link, or a link between terminal devices.
  • the terminal device in the embodiment of the present application can also be called user equipment (UE), mobile station (MS), mobile terminal (MT), etc., and is a device with wireless transceiver functions. equipment.
  • the terminal device can be: mobile phone (mobile phone), tablet computer, notebook computer, handheld computer, mobile Internet device (mobile internet device, MID), wearable device (such as smart watch, smart bracelet, pedometer, etc.) , in vehicle equipment (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed rail, etc.), virtual reality (VR) equipment, augmented reality (AR) equipment, industrial control (industrial control) Wireless terminals, smart home equipment (such as refrigerators, TVs, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, wireless terminals in self-driving, wireless terminals in remote medical surgery, Wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, or wireless terminals in smart home, flight equipment (for example, Intelligent robots, hot air balloons, drones, airplanes), etc
  • the network device in the embodiment of this application is a device in the network used to connect the terminal device to the wireless network.
  • the network device can be a node in the wireless access network, also called a base station, or a radio access network (RAN) node (or device).
  • RAN radio access network
  • the network equipment may include an evolutionary base station (NodeB or eNB or e-NodeB, evolutionary Node B) in a long term evolution (long term evolution, LTE) system or an evolved LTE system (LTE-Advanced, LTE-A), or It can also include the next generation node B (gNB) in the fifth generation (5th generation, 5G) new radio (new radio, NR) system, or it can also include the transmission reception point (TRP) , home base station (for example, home evolved NodeB, or home Node B, HNB), base band unit (base band unit, BBU), or WiFi access point (access point, AP), etc.
  • NodeB or eNB or e-NodeB evolutionary Node B
  • LTE-Advanced LTE-Advanced
  • gNB next generation node B
  • 5G new radio
  • TRP transmission reception point
  • home base station for example, home evolved NodeB, or home Node B, HNB
  • base band unit base band unit
  • BBU base
  • FIG. 1B shows a schematic diagram of another communication system applicable to the embodiment of the present application.
  • the communication system includes: source terminal equipment (source UE), relay equipment (also called terminal equipment to terminal equipment relay equipment, UE-to-UE relay) and destination terminal equipment (target UE ).
  • source UE source terminal equipment
  • relay equipment also called terminal equipment to terminal equipment relay equipment, UE-to-UE relay
  • target UE destination terminal equipment
  • side link communication between terminal devices may include: side link communication between the source terminal device and the relay device, and side link communication between the relay device and the destination terminal device.
  • the communication systems shown in FIGS. 1A and 1B do not limit the communication systems to which the embodiments of the present application can be applied.
  • the communication method provided by the embodiments of the present application can be applied to communication systems of various standards, such as: long term evolution (LTE) communication system, 5G communication system, sixth generation (6th generation, 6G) communication system and future communication System, vehicle to everything (V2X), long-term evolution-vehicle (LTE-V), vehicle to vehicle (V2V), vehicle to everything, machine type communications (Machine Type Communications, MTC), Internet of Things (IoT), Long Term Evolution-machine to machine (LTE-machine to machine, LTE-M), Machine to Machine (machine to machine, M2M), Internet of Things, etc.
  • LTE long term evolution
  • 5G communication system sixth generation
  • 6G 6G communication system and future communication System
  • V2X vehicle to everything
  • LTE-V long-term evolution-vehicle
  • V2V vehicle to vehicle
  • MTC Machine Type Communications
  • the first terminal device and the third terminal device may be respectively the terminal device 1 and the terminal device 2 in the communication system shown in FIG. 1A , and may be respectively the terminal device 2 and the terminal device 2 in the communication system shown in FIG. 1A .
  • the terminal device 1 may also be the source terminal device and the destination terminal device in the communication system shown in Figure 1B.
  • the first relay device may be a relay device in the communication system shown in FIG. 1B.
  • the NR standard already supports three types of sidelink communication modes, including broadcast, multicast and unicast.
  • unicast communication two terminal devices can be allowed to conduct unicast communication through a direct link between them, for example, the unicast communication on the side link between terminal device 1 and terminal device 2 shown in Figure 1A.
  • Broadcast communication it is also possible to allow two terminal devices to conduct unicast communication through a relay device, for example, in Figure 1B, the source terminal device conducts unicast communication with the destination terminal device through the relay device on the side link.
  • FIG. 1C shows a method of unicast communication on a side link between a source terminal device and a destination terminal device through a relay device.
  • the method includes:
  • the relay device discovers the adjacent terminal device of the relay device.
  • the terminal equipment adjacent to the relay device should be a terminal device capable of direct communication with the relay device.
  • a relay device can discover the relay device's neighboring end devices in one of the following ways:
  • Method 1 If the relay device receives the first notification (announcement) message from the terminal device A, the relay device can discover the terminal device A. That is to say, the terminal device A can be a neighboring terminal device of the relay device. .
  • the first notification message is used for other communication devices to discover terminal device A.
  • Method 2 If the relay device receives a response message from terminal device B after sending a request (solicitation) message carrying terminal device B information, the relay device can discover the terminal device B, that is, the terminal device B may be a terminal device adjacent to the relay device. This request message is used by the relay device to discover other communication devices.
  • the first notification message in the first method and the request message and the response message in the second method may also be collectively referred to as discovery messages.
  • Method 3 The terminal device has a direct unicast connection with the relay device.
  • adjacent terminal devices of the relay device may include source terminal devices and destination terminal devices.
  • S102 The relay device sends a second notification message.
  • the relay device may broadcast the second notification message.
  • the adjacent terminal device of the relay device can receive the second notification message.
  • the source terminal device and the destination terminal device in FIG. 1C may receive the second notification message.
  • the relay device may periodically send the second notification message.
  • the second notification message may include: the type of discovery message, indication information of the relay device, a relay service code (RSC), and indication information of the adjacent terminal device.
  • the indication information of the relay device may be the user information identifier (User info ID) of the relay device.
  • the user information identifier of the relay device may be, for example, the application layer identifier (APP ID) of the relay device.
  • the indication information of the adjacent terminal device may be a user information identifier of the adjacent terminal device.
  • the user information identifier of the adjacent terminal device may be, for example, an application layer identifier of the adjacent terminal device.
  • the source terminal device sends a first unicast connection establishment request (direct communication request, DCR) to the relay device according to the second notification message.
  • the first unicast connection establishment request carries the indication information of the relay device.
  • the unicast connection establishment request is used to request the establishment of a unicast connection between the source terminal device and the relay device.
  • the indication information of the relay device may include an application layer identifier of the relay device.
  • the source terminal device may determine whether the indication information of the neighboring terminal device in the second notification message includes the indication information of the destination terminal device. If the indication information of the neighboring terminal device in the second notification message includes the indication information of the destination terminal device, the source terminal device determines that the relay device can communicate with the destination terminal device, and sends a first unicast connection establishment request to the relay device. .
  • the relay device sends a first unicast connection establishment acceptance (direct communication accept) message to the source terminal device.
  • the first unicast connection establishment accept message is a response message to the first unicast connection establishment request, and is used to indicate that a unicast connection between the source terminal device and the relay device has been established.
  • S105 The source terminal device sends the instruction information of the destination terminal device to the relay device.
  • the indication information of the destination terminal device may include an application layer identifier of the destination terminal device.
  • the relay device sends a second unicast connection establishment request to the destination terminal device.
  • the second unicast connection establishment request is used to request the establishment of a unicast connection between the relay device and the destination terminal device.
  • the destination terminal device sends a second unicast connection establishment acceptance message to the relay device.
  • the second unicast connection establishment accept message is a response message to the second unicast connection establishment request, and is used to indicate that a unicast connection between the relay device and the destination terminal device has been established.
  • the source terminal device sends a third unicast connection establishment request to the destination terminal device through the relay device.
  • the third unicast connection establishment request carries indication information of the destination terminal device, and the third unicast connection establishment request is used to request the establishment of an end-to-end unicast connection between the source terminal device and the destination terminal device.
  • S108 may include steps P1-P2:
  • the source terminal device sends a third unicast connection establishment request to the relay device;
  • the source terminal device may execute step P1.
  • the relay device sends a third unicast connection establishment request to the destination terminal device.
  • the relay device may perform step P2.
  • the destination terminal device sends a third unicast connection establishment acceptance message to the source terminal device through the relay device.
  • the third unicast connection establishment acceptance message is a response message to the third unicast connection establishment request, and is used to indicate that a unicast connection between the source terminal device and the destination terminal device has been established.
  • the source terminal device establishes a connection with the destination terminal device through the relay device, so that the source terminal device can communicate with the destination terminal device through the relay device.
  • the indication information of the adjacent terminal device sent by the relay device may be inaccurate. Specifically, it may take a while for the relay device to send the second notification message after discovering the adjacent terminal device. For example, when the relay device periodically sends the second notification message, the relay device sends the second notification message in the first period and then sends the second notification message in the second period. Since the terminal devices are movable, when the relay device wants to send the second notification message, some terminal devices may have moved out of the communication range of the relay device. In this way, the indication information of adjacent terminal devices sent by the relay device may include terminal devices that have moved out of the communication range of the relay device.
  • the source terminal device selects the relay device based on the indication information of the neighboring terminal device, an inappropriate relay device may be selected, resulting in poor communication quality or even communication interruption between the terminal devices.
  • the adjacent terminal device initially determined by relay device A Including: source terminal device and destination terminal device; if when relay device A sends the second notification message, the destination terminal device has moved out of the communication range of relay device A, according to the method shown in Figure 1C, relay device A will still send A second notification message containing destination terminal device indication information. If the source terminal device selects relay device A to send service data packets to the destination terminal device, communication interruption will occur.
  • the source terminal device selects the relay device only based on the indication information of the neighboring terminal device, that is, the relay device is selected only based on whether the relay device can communicate with the destination terminal device. In this way, the communication quality of communication through the relay device cannot be guaranteed.
  • embodiments of the present application provide a communication method, which can be applied to the communication system shown in Figure 1A- Figure 1B. Referring to the flow chart shown in Figure 2, the flow of this method will be described in detail below.
  • the first relay device obtains first indication information used to indicate the first set.
  • the first relay device may obtain the first indication information used to indicate the first set when it wants to broadcast indication information including adjacent terminal devices.
  • the first set may include at least one terminal device, for example, the first combination may include at least one adjacent terminal device.
  • the first indication information may include indication information for each terminal device in the first set.
  • the first indication information may include a user information identifier or a user equipment identifier of each terminal device in the first set.
  • the user information identifier is, for example, an application layer identifier
  • the user equipment identifier is, for example, a general public subscription identifier (GPSI).
  • GPSI general public subscription identifier
  • SUPI subscription permanent identifier
  • the first relay device may use the indication information of the adjacent terminal device in the last notification message sent as the first indication information for indicating the first set. In other possible ways, the first relay device may discover adjacent terminal devices of the first relay device, and use the discovered indication information of the adjacent terminal devices as the first indication information used to indicate the first set.
  • the method for the first relay device to discover the adjacent terminal device of the first relay device may refer to method 1, method 2 or method 3 in S101, which will not be described again here.
  • the first relay device determines whether each terminal device in the first set can communicate with the first relay device.
  • the second terminal device is any terminal device in the first set, and the first relay device can determine whether the second terminal device can communicate with the first relay device in the following manner:
  • the first relay device may determine that the second terminal device can communicate with the first relay device; if the first relay device does not receive the first message from the second terminal device, If the first message from the second terminal device is received, the first relay device may determine that the second terminal device cannot communicate with the first relay device.
  • the first message can be at least one of the following:
  • the first notification message sent by the second terminal device may be the first notification message in method 1, which is used for a communication device other than the second terminal device to discover the second terminal device.
  • the response message is used to respond to a request message sent by the first relay device.
  • the request message may be the request message in mode two, used for communication devices other than the first relay device to discover the first relay device. Relay equipment.
  • the first relay device may first send a request message to the second terminal device.
  • the response message is used to respond to a unicast connection establishment request sent by the first relay device, and the unicast connection establishment request is used to request the establishment of a connection between the first relay device and the second terminal device. connect.
  • the first relay device may first send a unicast connection establishment request to the second terminal device.
  • the first relay device sends second indication information indicating the second set to the first terminal device. corresponding, The first terminal device receives second indication information from the first relay device for indicating the second set.
  • the second set includes terminal devices in the first set that can communicate with the first relay device.
  • the first set includes: the first terminal device, terminal device 2 - terminal device 8, and the third terminal device; if in S202, the first relay device determines that the following terminal device can communicate with the first relay device: first terminal device, terminal device 2 - terminal device 6, and the third terminal device, then the second set includes the first terminal device, terminal device 2 - terminal device 6, and the third terminal device.
  • the second indication information includes indication information of each terminal device in the second set.
  • the second indication information may include user information identification (for example, application layer identification) or user equipment identification (for example, GPSI or SUPI) of each terminal device in the second set.
  • the second indication information used to indicate the second set may be carried in an existing message (for example, the second notification message shown in FIG. 1C) or in a new message.
  • the first relay device may send the second indication information for indicating the second set to the first terminal device in a broadcast manner.
  • the first relay device will, after checking whether all terminal devices in the first set can communicate with the first relay device, send the second indication information to indicate that the terminal devices include terminals that can communicate with the first relay device.
  • the second set of devices thereby improves the accuracy of the information sent by the first relay device.
  • the first terminal device can select the first relay device to perform communication between the terminal devices according to the accurate second instruction information, thereby improving the communication quality between the terminal devices.
  • the first relay device may perform S203. That is, within a first period of time after determining whether each terminal device in the first set is capable of communicating with the first relay device, the first relay device may send a message indicating the second set to the first terminal device. second instruction information.
  • the first time period may be preset, or may be obtained from other communication devices (for example, network devices). For example, the first time period may be 7 seconds (s).
  • the first relay device can send the indication information for indicating the second set to the first terminal device within the first time period when it is determined that it can communicate with each terminal device in the second set, thereby The accuracy of the second set of instruction information can be improved.
  • the first relay device may further restrict the terminal devices in the second set.
  • each terminal device in the second set can also satisfy at least one of the following conditions:
  • Each terminal device in the second set has the ability to communicate with the terminal device through the relay device.
  • the first set includes: the first terminal device, terminal device 2 - terminal device 8, and the third terminal device. If in S202, the first relay device determines that the following terminal devices can communicate with the first relay device: the first terminal device, terminal device 2-terminal device 6, and the third terminal device, and the following terminal devices have through the relay device The ability to communicate with terminal devices: first terminal device, terminal device 2-terminal device 5, and third terminal device, then the second set includes: first terminal device, terminal device 2-terminal device 5, and third terminal device.
  • the first relay device may determine whether each terminal device in the first set has the ability to communicate with the terminal device through the relay device according to the capability indication information of each terminal device in the first set, thereby determining the first relay device.
  • Two sets Specifically, before sending the second indication information for indicating the second set to the first terminal device, the first relay device may obtain the capability indication information of each terminal device in the first set, and each terminal in the first set The capability indication information of the device is used to indicate whether each terminal device has the ability to communicate with the terminal device through the relay device; then, the first relay device can determine whether each terminal device in the first set has the ability to communicate with the terminal through the relay device. The ability of the device to communicate.
  • the capability indication information of each terminal device in the first set may display and indicate the capabilities of the corresponding terminal device, or may indicate through a field whether the corresponding terminal device has the ability to communicate with the terminal device through the relay device.
  • the capability indication information of each terminal device in the first set can be carried in an existing message (for example, the first notification message in method 1) or in a new message, which is not limited in this application.
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • each terminal device has the ability to communicate with the terminal device through the relay device, which can avoid the first terminal device requesting to communicate with the terminal device that does not have this capability through the relay device, thereby improving the efficiency of communication. Communication quality and efficiency.
  • Condition 2 The signal quality between each terminal device in the second set and the first relay device is greater than or equal to the first threshold.
  • the first set includes: the first terminal device, terminal device 2 - terminal device 8, and the third terminal device. If in S202, the first relay device determines that the following terminal devices can communicate with the first relay device: the first terminal device, terminal device 2-terminal device 6, and the third terminal device, and the following terminal devices communicate with the first relay device The signal quality between the devices is greater than or equal to the first threshold: the first terminal device, terminal device 2-terminal device 4, and the third terminal device, then the second set includes: the first terminal device, terminal device 2-terminal device 4, Third terminal equipment.
  • the first relay device may detect the signal quality between each terminal device in the first set and the first relay device, thereby determining the second set.
  • the first relay device may determine the signal quality between each terminal device in the first set and the first relay device by detecting the signal strength of the first message sent by each terminal device in the first set.
  • For the specific content of the first message please refer to S202, which will not be described again here.
  • the first threshold may be preset, or may be obtained from other communication devices (for example, network devices).
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • the signal quality between each terminal device and the first relay device is greater than or equal to the first threshold. In this way, when the first terminal device communicates with other terminal devices through the first relay device, communication quality can be guaranteed.
  • Condition 3 The signal quality between each terminal device in the second set and the first relay device is greater than or equal to the first threshold and less than the second threshold, and the second threshold is greater than the first threshold.
  • the first set includes: the first terminal device, terminal device 2 - terminal device 8, and the third terminal device. If in S202, the first relay device determines that the following terminal devices can communicate with the first relay device: the first terminal device, terminal device 2-terminal device 6, and the third terminal device, and the following terminal devices communicate with the first relay device.
  • the signal quality between relay devices is greater than or equal to the first threshold and less than the second threshold: first terminal device, terminal device 2-terminal device 3, and third terminal device, then the second set includes: first terminal device, terminal Device 2 - terminal device 3, third terminal device.
  • the first relay device may detect the signal quality between each terminal device in the first set and the first relay device, thereby determining the second set.
  • the manner in which the first relay device detects the signal quality between each terminal device in the first set and the first relay device may refer to condition 2, which will not be described again here.
  • first threshold and the second threshold may be preset, or may be obtained from other communication devices (for example, network devices).
  • the first relay device can further restrict the terminal devices in the second set, thereby reducing signaling overhead and saving transmission resources.
  • the signal quality between each terminal device and the first relay device is greater than or equal to the first threshold. In this way, when the first terminal device communicates with other terminal devices through the first relay device time, the communication quality can be guaranteed.
  • the signal quality between each terminal device and the first relay device is less than the second threshold, so that terminal devices that are closer to the first relay device can be eliminated, thereby improving the signal quality between the terminal devices. communication efficiency.
  • step M1 the method also includes step M1:
  • the first relay device may also send information indicating signal quality between each terminal device in the second set and the first relay device.
  • the second set includes the first terminal device and the terminal device 2, and the first relay device may send information indicating the signal quality between the first terminal device and the first relay device, and indicating the terminal device Information about the signal quality between 2 and the first relay device.
  • This application does not limit the execution order of steps M1 and S203.
  • embodiments of the present application provide a communication method, which can be applied to the communication system shown in Figure 1A- Figure 1B. Referring to the flow chart shown in Figure 3, the flow of this method will be described in detail below.
  • the first terminal device determines whether a direct link can be established between the first terminal device and the third terminal device.
  • the first terminal device when the first terminal device wants to send the service data packet to the third terminal device, it can determine whether a direct link can be established between the first terminal device and the third terminal device.
  • the first terminal device may determine whether a direct link can be established between the first terminal device and the third terminal device through one of the following implementation methods:
  • the first terminal device determines whether a direct link can be established between the first terminal device and the third terminal device based on the signal quality of the second message from the third terminal device. Specifically, when the signal quality of the second message from the third terminal device is less than the fifth threshold, the first terminal device may determine that a direct link cannot be established between the first terminal device and the third terminal device; When the signal quality of the second message of the terminal device is greater than or equal to the fifth threshold, the first terminal device may determine that a direct link can be established between the first terminal device and the third terminal device.
  • the signal quality of the second message from the third terminal device may be detected by the first terminal device.
  • the second message may be an existing message transmitted between the first terminal device and the third terminal device (for example, a first notification message as a discovery message, a unicast connection establishment request, or a response message to a unicast connection establishment request) , also for new messages.
  • the fifth threshold may be preset, or may be obtained by the first terminal device from other communication devices (for example, network devices).
  • the first terminal device determines whether a direct link can be established between the first terminal device and the third terminal device based on whether it can receive the second message from the third terminal device.
  • the first terminal device may determine whether a direct link can be established between the first terminal device and the third terminal device in one of the following ways: :
  • Method A If the first terminal device does not receive the second message from the third terminal device, the first terminal device may send request messages or unicast connection establishment requests multiple times within the second time period until it receives the second message. message or the end of the second time period. If within the second time period, the first terminal device receives the second message from the third terminal device, the first terminal device may determine that a direct link can be established between the first terminal device and the third terminal device; if Within the second time period, if the first terminal device does not receive the second message from the third terminal device, the first terminal device may determine that a direct link cannot be established between the first terminal device and the third terminal device.
  • the second time period can be preset, or the first time period can be The terminal device obtains it from other communication devices.
  • Method B If the first terminal device does not receive the second message from the third terminal device, the first terminal device can send request messages or unicast connection establishment requests multiple times until the second message is received or the set sending is reached. frequency. If the first terminal device receives the second message from the third terminal device, the first terminal device can determine that a direct link can be established between the first terminal device and the third terminal device; if the first terminal device sends the setting After sending the number of request messages or unicast connection establishment requests and still not receiving the second message from the third terminal device, the first terminal device may determine that a direct link cannot be established between the first terminal device and the third terminal device. road.
  • the first terminal device selects the first relay device from the M relay devices that can communicate with the third terminal device based on the first information.
  • Relay equipment M is a positive integer.
  • the first information includes: signal quality between each of the M relay devices and the first terminal device.
  • the first terminal device may determine the relationship between each of the M relay devices and the fourth message sent by each of the M relay devices to the first terminal device. Signal quality between the first terminal device.
  • the fourth message may be an existing message transmitted between the first terminal device and each of the M relay devices (for example, a notification message as a discovery message, a unicast connection establishment request, or a unicast The response message to the connection establishment request), or a new message.
  • the first relay device determined by the first terminal device should meet at least one of the following conditions:
  • Condition 1 The signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold. That is to say, the first terminal device may select a relay device whose signal quality with the first terminal device is greater than or equal to the third threshold, that is, the first relay device, from the M relay devices.
  • the first terminal device may select the relay device among the multiple relay devices.
  • the relay device with the highest signal quality between the first terminal devices is the first relay device; one relay device may also be randomly selected from the plurality of relay devices, that is, the first relay device.
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device. That is to say, the first terminal device may select the relay device with the highest signal quality between the M relay devices and the first terminal device, that is, the first relay device.
  • the first terminal device can select a relay device whose signal quality meets condition one and/or condition two to transmit the service data packet according to the signal quality between the relay device and the first terminal device, thereby ensuring communication quality.
  • the first information may also include signal quality between each of the M relay devices and the third terminal device.
  • the first relay device determined by the first terminal device should meet one of the following conditions:
  • Condition A The signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the signal quality between the first relay device and the third terminal device is greater than or equal to the fourth threshold. That is to say, the first terminal device selects the relay device that satisfies condition A from the M relay devices, that is, the first relay device.
  • the first terminal device can randomly select one relay device, that is, the first relay device, from the S relay devices; also A relay device that has the highest signal quality with the first terminal device and/or has the highest signal quality with the third terminal device can be selected from the S relay devices, that is, the first relay device.
  • S is a positive integer greater than or equal to 2.
  • the first relay device is the relay with the highest signal quality among the M relay devices and the first terminal device. device, and the signal quality between the first relay device and the third terminal device is greater than or equal to the fourth threshold. That is to say, the first terminal device selects the relay device that satisfies condition B from the M relay devices, that is, the first relay device.
  • the first terminal device can randomly select one relay device, that is, the first relay device, from the O relay devices; It is also possible to select a relay device with the highest signal quality between the O relay devices and the third terminal device, that is, the first relay device.
  • O is a positive integer greater than or equal to 2.
  • Condition C The signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the first relay device has the highest signal quality with the third terminal device among the M relay devices.
  • Relay equipment That is to say, the first terminal device selects the relay device that satisfies condition C from the M relay devices, that is, the first relay device.
  • the first terminal device can randomly select one relay device, that is, the first relay device, from the T relay devices; It is also possible to select a relay device with the highest signal quality between the T relay devices and the first terminal device, that is, the first relay device.
  • T is a positive integer greater than or equal to 2.
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device, and the first relay device is one of the M relay devices and the third terminal device. signal quality between relay devices. That is to say, the first terminal device selects the relay device that satisfies condition D from the M relay devices, that is, the first relay device.
  • the first terminal device can select a signal whose quality satisfies any one of conditions A to D based on the signal quality between the relay device and the first terminal device and the signal quality between the relay device and the third terminal device. relay equipment to transmit business data packets, thereby ensuring communication quality.
  • the first terminal device may determine the signal quality between each of the M relay devices and the third terminal device through the following steps A1-A2:
  • A1 The first terminal device receives signal quality indication information from each of the M relay devices respectively.
  • the signal quality indication information from each of the M relay devices is used to indicate the signal quality between the corresponding relay device and the third terminal device.
  • the M relay devices include relay device 2, relay device 2 is capable of communicating with a third terminal device, and the signal quality indication information from relay device 2 may indicate the signal quality between relay device 2 and the third terminal device. quality.
  • the signal quality indication information from each of the M relay devices may be carried in an existing message (for example, the second notification message in S102), or may be carried in a new message.
  • the first terminal device determines the signal quality between each relay device and the third terminal device based on the signal quality indication information from each relay device among the M relay devices.
  • M relay devices include relay device 2.
  • Relay device 2 can communicate with a third terminal device.
  • the first terminal device can determine whether relay device 2 is connected to the third terminal device according to the signal quality indication information from relay device 2. Signal quality between end devices.
  • the first terminal device can determine the signal quality between each relay device and the third terminal device.
  • the first information may also include the connection status between each of the M relay devices and the first terminal device.
  • a unicast connection has been established between the first relay device and the first terminal device. That is to say, the first terminal device selects a relay device that has established a unicast connection with the first terminal device from the M relay devices as the first relay. equipment.
  • the first terminal device can select from the U relay devices that have established a relationship with the first terminal device.
  • the relay device of the unicast connection acts as the first relay device.
  • U is a positive integer greater than 1.
  • the first The relay device may be the relay device with the highest signal quality among the V relay devices and the first terminal device, and/or the first relay device may be the relay device between the V relay devices and the third terminal device. signal quality for maximum relay equipment.
  • V is a positive integer greater than 1.
  • the first terminal device preferentially selects the first relay device that has established a unicast connection with the first terminal device to transmit the service data packet; in this way, the first terminal device no longer needs to establish a unicast connection, thereby saving money. Transmission delay.
  • the first terminal device may determine M relay devices that can communicate with the third terminal device through the following steps B1-B2.
  • the first terminal device Before selecting the first relay device from the M relay devices capable of communicating with the third terminal device according to the first information, the first terminal device receives a message from each of the N relay devices respectively. Instructions.
  • the indication information from each relay device among the N relay devices is used to indicate at least one terminal device capable of communicating with each relay device, and N is a positive integer.
  • step B1 refers to the description of "the first terminal device receives the second indication information from the first relay device for indicating the second indication in the second set" in the method shown in Figure 2, except that The first relay device is replaced with each relay device in the N relay devices, and the second indication information used to indicate the second set is replaced with at least one that is able to communicate with each relay device. Instructions for the terminal device.
  • the first terminal device determines M relay devices among the N relay devices that can communicate with the third terminal device based on the instruction information from the N relay devices.
  • N relay devices include: relay device 3 and relay device 4.
  • the instruction information from the relay device 3 indicates that the relay device 3 can communicate with the following terminal devices: the first terminal device, the terminal device 2 and the third terminal device; the instruction information from the relay device 4 indicates that the relay device 4 can communicate with the following terminal devices: Terminal device communication: first terminal device and terminal device 2, then the first terminal device can determine that the M relay devices that can communicate with the third terminal device include: relay device 3.
  • the first terminal device can determine M relay devices that can communicate with the third terminal device.
  • the first terminal device sends the service data packet to be sent to the third terminal device to the first relay device.
  • the service data packet includes indication information of the third terminal device.
  • the method in order to establish a unicast connection between the first terminal device and the third terminal device, before S303, the method also includes steps N1-N9:
  • the first terminal device sends a first request to the first relay device.
  • the first request is used to request the establishment of a unicast connection between the first terminal device and the first relay device.
  • the first request may be an existing message (for example, a unicast connection establishment request) or a new message.
  • a unicast connection establishment request for example, a unicast connection establishment request
  • a new message for example, a new message.
  • the first relay device sends the first response to the first terminal device.
  • the first response is a response message to the first request, used to indicate that a unicast connection between the first terminal device and the first relay device has been established.
  • the first response can be an existing message (unicast connection establishment acceptance) or a new message.
  • the first terminal device sends the instruction information of the third terminal device to the first relay device.
  • the indication information of the third terminal device may include an application layer identifier of the third terminal device.
  • Step N3 is an optional step. For example, when the first request contains indication information of the third terminal device, step N3 is optional.
  • N4 The first relay device sends the second request to the third terminal device.
  • the second request is used to request the establishment of a unicast connection between the relay device and the third terminal device.
  • the second request may be an existing message (for example, a unicast connection establishment request) or a new message.
  • the third terminal device sends the second response to the first relay device.
  • the second response is a response message to the second request, used to indicate that the unicast connection between the first relay device and the third terminal device has been established.
  • the second response may be an existing message (unicast connection establishment acceptance) or a new message.
  • the first terminal device sends the third request to the first relay device.
  • the third request carries indication information of the third terminal device, and the third request is used to request the establishment of an end-to-end unicast connection between the first terminal device and the third terminal device.
  • the third request may be an existing message (for example, a unicast connection establishment request) or a new message.
  • the first terminal device may perform step N6.
  • the first relay device sends the third request to the third terminal device.
  • the first relay device may perform step N7.
  • the third terminal device sends a third response to the first relay device.
  • the third response is a response message to the third request, used to indicate that the unicast connection between the first terminal device and the third terminal device has been established through the first relay device.
  • the third response may be an existing message (unicast connection establishment acceptance) or a new message.
  • the first relay device sends the third response to the first terminal device.
  • S304 The first relay device sends the service data packet to the third terminal device to the third terminal device.
  • the first relay device may determine that the target terminal device of the service data packet is the third terminal device according to the instruction information of the third terminal device, and send the service data packet to the third terminal device.
  • the method shown in Figure 3 further includes step S305:
  • the first terminal device sends the service data packet to be sent to the third terminal device to the third terminal device through the direct link between the first terminal device and the third terminal device.
  • a direct link already exists between the first terminal device and the third terminal device.
  • the first terminal device can send the service data packet to the third terminal device through the direct link.
  • the first terminal device may send a unicast connection establishment request to the third terminal device to request the establishment of a direct link. .
  • the service data packet is sent to the third terminal device.
  • the first terminal device preferentially selects the direct link between the first terminal device and the third terminal device to transmit the service data packet, thereby reducing the transmission delay of the service data packet.
  • the method shown in Figure 3 also includes step C1:
  • the first terminal device can send the third message to the third terminal device.
  • the third message is used to request the establishment of a direct link between the first terminal device and the third terminal device.
  • the first terminal device can send the service data packet to the third terminal device to the third terminal device through the direct link.
  • the third message may be an existing message (for example, a unicast connection establishment request) or a new message.
  • the first terminal device can communicate with the third terminal device through the direct link, thereby reducing communication complexity and saving signaling overhead.
  • S302-S304 can be applied to the reselection process.
  • the method shown in Figure 3 also includes step D1-step D2:
  • the first terminal device can communicate with the third terminal device through the second relay device.
  • the method for the first terminal device to select the second relay device may refer to S302, except that the first relay device is replaced with the second relay device, which will not be described again here.
  • the first terminal device can also reselect the relay device through S302. , that is, the first relay device.
  • the first terminal device may detect whether the connection between the first terminal device and the second relay device is interrupted. Specifically, the first terminal device may send a heartbeat signal to the second relay device periodically or aperiodically. If the first terminal device receives a response signal to the heartbeat signal from the second relay device within a set time after sending the heartbeat signal, the first terminal device determines the relationship between the first terminal device and the second relay device. The connection is not interrupted; if the first terminal device does not receive a response signal for the heartbeat signal from the second relay device within a set time after sending the heartbeat signal, the first terminal device determines that the first terminal device and the third relay device The connection between the two relay devices is interrupted. Among them, the heartbeat signal can be replaced by a path detection message.
  • the first terminal device may determine whether the connection between the third terminal device and the second relay device is interrupted based on the first connection indication information from the second relay device. Wherein, the first connection indication information from the second relay device may be used to indicate whether the connection between the second relay device and the third terminal device is interrupted. The first connection indication information from the second relay device may be carried in an existing message or in a new message.
  • the first terminal device can select the relay device according to the signal quality, thereby ensuring the communication quality when transmitting the service data packet through the relay device.
  • the end-to-end connection between the first terminal device and the third terminal device can be released through one of the following implementation methods, that is, the first connect:
  • Implementation manner 1 The first terminal device releases the first connection between the first terminal device and the third terminal device.
  • the first terminal device may determine the distance between the first terminal device and the second relay device in the manner in step D1. After the connection is interrupted, or the connection between the third terminal device and the second relay device is interrupted, the first connection between the first terminal device and the third terminal device is released.
  • Implementation manner 2 The third terminal device releases the first connection between the first terminal device and the third terminal device.
  • the third terminal device may detect whether the connection between the third terminal device and the second relay device is interrupted.
  • the specific method of detection can be referred to step D1, except that the first terminal device is replaced with a third terminal device, which will not be described again here.
  • the third terminal device may determine whether the connection between the first terminal device and the second relay device is interrupted based on the second connection indication information from the second relay device.
  • the second connection indication information from the second relay device is used to indicate whether the connection between the second relay device and the first terminal device is interrupted.
  • the second connection indication information from the second relay device may be carried in an existing message or in a new message.
  • the first terminal device or the third terminal device can promptly Release the connection between the first terminal device and the third terminal device to avoid unnecessary occupation of resources.
  • An embodiment of the present application also provides a communication method, which can be applied to the communication system shown in Figures 1A-1B. Referring to the flow chart shown in Figure 4, the flow of this method will be described in detail below.
  • the first relay device sends third indication information to the first terminal device.
  • the first terminal device receives the third indication information from the first relay device.
  • the first relay device may send third indication information to the first terminal device when it wants to broadcast information about adjacent terminal devices.
  • the first relay device wants to send the second notification message in the method shown in Figure 1C, it sends the third indication information to the first terminal device.
  • the third indication information is used to indicate at least one service, and the service data packet of each service in the at least one service is a service data packet that at least one terminal device capable of communicating with the first relay device expects to receive.
  • the third indication information includes service indication information for each service in at least one service, such as a service identifier.
  • terminal devices capable of communicating with the first relay device include: the first terminal device, terminal device 2 and the third terminal device.
  • the first terminal device expects to receive service data packets of service 1 and service 2; terminal device 2 expects to receive service data packets of service 2 and service 3; and the third terminal device expects to receive service data packets of service 4.
  • the third indication information may include the service identifiers of service 1 to service 4.
  • the third indication information may be carried in an existing message (for example, the second notification message in the method shown in FIG. 1C) or in a new message.
  • the first relay device may respectively receive indication information from each of the P terminal devices capable of communicating with the first relay device.
  • the indication information of each terminal device among the P terminal devices is used to indicate Q services
  • the service data packet of each service among the Q services is the service data packet that each terminal device expects to receive.
  • P and Q are positive integers.
  • the first relay device receives indication information indicating service 1 and service 2 from the first terminal device, thereby determining that the first terminal device expects to receive service data packets of service 1 and service 2.
  • the first relay device receives indication information indicating service 2 and service 3 from terminal device 2, thereby determining that terminal device 2 expects to receive service data packets of service 2 and service 3.
  • the first relay device receives indication information indicating service 4 from the third terminal device, thereby determining that the third terminal device expects to receive the service data packet of service 4.
  • the instruction information of each terminal device among the P terminal devices can be carried in the existing message, or Can be carried in new messages.
  • the first relay device can learn which service data packets each of the P terminal devices communicating with the first relay device expects to receive.
  • the first terminal device may receive third indication information from each of the R relay devices.
  • the third indication information from each of the R relay devices may be used to indicate at least one service, and the service data packet of each service in the at least one service is expected by at least one terminal device capable of communicating with each relay device.
  • Received business data packets. R is a positive integer.
  • the first terminal device selects the first relay device from the R relay devices based on the third instruction information from each of the R relay devices.
  • the first relay device can communicate with a third terminal device that expects to receive the service data packet of the target service.
  • the first terminal device may select the first relay device from the R relay devices according to the instruction information from each of the R relay devices.
  • the R relay devices include a first relay device and a third relay device.
  • the third instruction information from the first relay device includes the service identifiers of service 1 to service 4; the third instruction information from the third relay device includes the service identifiers of service 1, service 2, and service 5. If the target service is service 4, the first terminal device can select the first relay device from the R relay devices.
  • the first terminal device sends the service data packet of the target service to the first relay device.
  • the first relay device receives the service data packet of the target service from the first terminal device.
  • the first terminal device may send the service data packet of the target service to the first relay device through the connection between the first terminal device and the first relay device.
  • the service data packet of the target service includes indication information of the target service, for example, the identification of the target service.
  • S404 The first relay device sends the service data packet of the target service to the third terminal device.
  • the third terminal device receives the service data packet of the target service from the first relay device.
  • the third terminal device is a terminal device among the P terminal devices capable of communicating with the first relay device that is expected to receive the service data packet of the target service.
  • the first relay device may select the third terminal device from the P terminal devices according to the instruction information of the target service.
  • P terminal devices capable of communicating with the first relay device include: the first terminal device, terminal device 2 and the third terminal device.
  • the first terminal device expects to receive service data packets of service 1 and service 2; terminal device 2 expects to receive service data packets of service 2 and service 3; and the third terminal device expects to receive service data packets of service 4.
  • the target service is service 4
  • the first relay device may send the service data packet of service 4 to the third terminal device.
  • the first relay device can broadcast third indication information for indicating at least one service, and the service data packet of each service in the at least one service is expected to be received by at least one terminal device capable of communicating with the first relay device. business data package.
  • the terminal device wants to send the service data packet of the target service, it can find a suitable relay device according to the third instruction information to forward the service data packet of the target service to the terminal device that expects to receive the service data packet of the target service, thereby ensuring the service Correct transmission of data packets.
  • the first terminal device establishes a connection between the first terminal device and the third terminal device through the first relay device.
  • the method shown in Figure 4 also includes steps E1-E5:
  • the first terminal device sends the first request to the first relay device.
  • the first relay device receives the first request from the first terminal device.
  • the first request is used to request the establishment of a unicast connection between the first terminal device and the first relay device.
  • the first request may be an existing message (for example, a unicast connection establishment request) or a new message.
  • the first request includes indication information of the target service.
  • the first relay device may send a first response to the first terminal device.
  • the first relay device may send a first response to the first terminal device.
  • the first relay device determines the third terminal device from the P terminal devices according to the instruction information of the target service.
  • step E2 For the specific content of step E2, please refer to the description of "the first relay device can select the third terminal device from the P terminal devices according to the instruction information of the target service" in S404, which will not be described again here.
  • the first relay device sends the second request to the third terminal device.
  • the third terminal device receives the second request from the first relay device.
  • the second request is used to request the establishment of a unicast connection between the first relay device and the third terminal device.
  • the second request may be an existing message (for example, a unicast connection establishment request) or a new message.
  • the second request also includes indication information of the target service.
  • the third terminal device may send a second response to the first relay device.
  • the third terminal device may send a second response to the first relay device.
  • E4 The first terminal device sends the third request to the first relay device.
  • the third request is used to request the establishment of an end-to-end unicast connection between the first terminal device and the third terminal device.
  • E5 The first relay device sends the third request to the third terminal device.
  • steps E4-E5 For the specific content of steps E4-E5, please refer to steps N6-N7, which will not be described again here.
  • the first relay device may send the third response to the first terminal device.
  • the third response is used to indicate that the unicast connection between the first terminal device and the third terminal device has been established through the first relay device.
  • step N8 For its specific content, please refer to step N8, which will not be described again here.
  • step E1 is an optional step.
  • the first terminal device may send the indication information of the target service to the first relay device.
  • step E3 is an optional step.
  • the first terminal device can establish a unicast connection between the first terminal device and the third terminal device through the first relay device, so that the service data packet can be transmitted through the unicast connection.
  • the first terminal device and the third terminal device can communicate with multiple relay devices at the same time. That is to say, there are multiple indirect paths between the first terminal device and the third terminal device. At this time, the first terminal device or the third terminal device can select a path for communication.
  • the following takes the existence of two indirect paths between the first terminal device and the third terminal device as an example to explain this respectively.
  • the first terminal device can select a path to communicate with the third terminal device through the following steps F1-F3:
  • the first relay device sends the third response to the first terminal device.
  • the first terminal device receives the third response from the first relay device.
  • the third response may be the response message of the third request in step E4.
  • the third response is used to indicate that the second connection between the first terminal device and the third terminal device is established through the first relay device.
  • the fourth relay device sends a fourth response to the first terminal device.
  • the first terminal device receives the message from the Fourth response from the quad relay device.
  • the fourth relay device can communicate with the third terminal device.
  • the fourth response is used to indicate that the third connection between the first terminal device and the third terminal device is established through the fourth relay device.
  • the first terminal device may request to establish a connection between the first terminal device and the third terminal device through the fourth relay device.
  • the first terminal device may request to establish a connection between the first terminal device and the third terminal device through the fourth relay device.
  • the first relay device is replaced with the fourth relay device.
  • S404 may include: when the signal quality of the second connection is greater than or equal to the signal quality of the third connection, the first terminal device sends the service data packet of the target service to the first relay device.
  • the signal quality of the second connection may include: the signal quality between the first terminal device and the first relay device, and/or the signal quality between the third terminal device and the first relay device.
  • the signal quality of the third connection may include: the signal quality between the first terminal device and the fourth relay device, and/or the signal quality between the third terminal device and the fourth relay device.
  • the method for the first terminal device to determine the signal quality of the second connection and the signal quality of the third connection may refer to S302, which will not be described again here.
  • the first terminal device selects a path to communicate with the third terminal device, thereby avoiding waste of resources.
  • the third terminal device can select a path to communicate with the first terminal device through the following steps:
  • the first terminal device sends a fourth request to the fourth relay device.
  • the fourth request is used to request the establishment of a unicast connection between the fourth relay device and the first terminal device.
  • the fourth relay device determines the third terminal device from the terminal devices that can communicate with the fourth relay device according to the instruction information of the target service.
  • the fourth relay device sends a fifth request to the third terminal device.
  • the fifth request is used to request the establishment of a unicast connection between the fourth relay device and the third terminal device.
  • H4 The first terminal device sends the sixth request to the fourth relay device.
  • the sixth request is used to request the establishment of an end-to-end unicast connection between the first terminal device and the third terminal device.
  • the fourth response in step F2 may be a response message to the sixth request.
  • the fourth relay device sends the sixth request to the third terminal device.
  • H1-H5 The specific content of H1-H5 can be referred to E1-E5, except that the first relay device is replaced with the fourth relay device, the first request is replaced with the fourth request, the second request is replaced with the fifth request, and the third request Replaced by sixth request.
  • This application does not limit the execution order of H1-H5 and E1-E5.
  • the third terminal device selects the first relay device from the first relay device and the fourth relay device, and sends a third response to the first relay device.
  • a third response For the specific content of the third response, please refer to step F1, which will not be described again here.
  • the third terminal device selects the first relay device from the first relay device and the fourth relay device.
  • the second connection is the connection between the first terminal device and the third terminal device established through the first relay device;
  • the third connection is the connection between the first terminal device and the third terminal device established through the fourth relay device. connections between.
  • the signal quality of the second connection may include: the signal quality between the first terminal device and the first relay device, and/or the signal quality between the third terminal device and the first relay device.
  • the signal quality of the third connection may include: first The signal quality between the terminal device and the fourth relay device, and/or the signal quality between the third terminal device and the fourth relay device.
  • the third terminal device may detect the signal quality between the third terminal device and the first relay device, and the signal quality between the third terminal device and the fourth relay device.
  • the third terminal device may obtain information indicating the signal quality between the first terminal device and the first relay device from the first relay device, and obtain information indicating the signal quality between the first terminal device and the fourth relay device from the fourth relay device.
  • For information on signal quality between relay devices please refer to the specific content in S302.
  • the first terminal device receives signal quality indication information from each of the M relay devices respectively, except that the first terminal device among them is Replace it with a third terminal device, which will not be described again here.
  • the third terminal device selects a path to communicate with the first terminal device, and the third terminal device can only send the third response to the first relay device, thereby saving signaling overhead and avoiding resource waste.
  • the embodiment of the present application also provides a communication method, which illustrates a possible implementation of the method shown in Figure 2 or Figure 3. This method can be applied to the communication system shown in Figures 1A-1B. Referring to the flow chart shown in Figure 5, the flow of this method will be described in detail below.
  • the first relay device obtains first indication information indicating the first set.
  • the first relay device updates the first set to obtain the second set.
  • the first relay device may obtain the second set after determining whether each terminal device in the first set is capable of communicating with the first relay device.
  • the second set may include those in the first set that are capable of communicating with the first relay device.
  • Terminal equipment for device communication For the specific content of the first relay device determining whether each terminal device in the first set can communicate with the first relay device, refer to S202.
  • S203 For the specific content of the second set, refer to S203, which will not be described again here.
  • the fourth terminal device is any terminal device in the first set.
  • the first relay device discovers the fourth terminal device, it can be considered that the first relay device is able to communicate with the fourth terminal device.
  • the specific content of the first time period please refer to the description of the "first time period" in the method shown in Figure 2, which will not be described again here.
  • the fifth terminal device is any terminal device in the first set. If a unicast connection exists between the fifth terminal device and the first relay device, the first relay device may determine that the first relay device can communicate with the fifth terminal device.
  • S503 The first relay device sends the second notification message.
  • the second notification message may include second indication information used to indicate the second set.
  • second indication information used to indicate the second set.
  • the first relay device may broadcast the second notification message, thereby sending the second notification message to the first terminal device and the third terminal device.
  • the second notification message may also include at least one of the following: the type of discovery message, the RSC, and the indication information of the first relay device.
  • the type of discovery message the RSC
  • the indication information of the first relay device For specific content, please refer to S102, which will not be described again here.
  • the first relay device may send the second notification message periodically, or may send the second notification message when a set event is met.
  • the set event is that the terminal devices in the first set change, that is, the list of neighboring terminal devices is updated.
  • the set event is that the first relay device receives a request from a neighboring terminal device for sending a second notification message.
  • the first terminal device determines whether a direct link can be established between the first terminal device and the third terminal device.
  • the third terminal device may be a target terminal device or a terminal device that is expected to receive the target service.
  • S505 If the first terminal device determines that a direct link can be established between the first terminal device and the third terminal device, the first terminal device uses the direct link between the first terminal device and the third terminal device to The third terminal device sends the service data packet to be sent to the third terminal device.
  • this application does not limit the execution order between S501-S503 and S504-S505.
  • the first terminal device selects the first relay device from the M relay devices that can communicate with the third terminal device based on the first information.
  • Relay equipment M is a positive integer.
  • the first terminal device sends the service data packet to be sent to the third terminal device to the first relay device.
  • the first relay device sends the service data packet to be sent to the third terminal device to the third terminal device.
  • the first terminal device may send a third message to the third terminal device.
  • the third message Used to request the establishment of a direct link between the first terminal device and the third terminal device.
  • S509 is an optional step. For its specific content, please refer to step C1 and will not be described again here.
  • the first terminal device may send a request to the third terminal device through the direct link between the first terminal device and the third terminal device. Service data packets sent to the third terminal device.
  • the first terminal device preferentially selects the direct link between the first terminal device and the third terminal device to transmit the service data packet, thereby reducing the transmission delay of the service data packet.
  • the first relay device will, after checking whether all terminal devices in the first set can communicate with the first relay device, send the second indication information to indicate that the terminal devices included in the first set can communicate with the first relay device.
  • the second set of terminal devices communicates, thereby improving the accuracy of the information sent by the first relay device.
  • the first terminal device can select the first relay device to perform communication between the terminal devices according to the accurate second instruction information, thereby improving the communication quality between the terminal devices.
  • the embodiment of the present application also provides a communication method, which shows a possible implementation of the method shown in Figure 4. This method can be applied to the communication system shown in Figures 1A-1B. Referring to the flow chart shown in Figure 6, the flow of this method will be described in detail below.
  • the first relay device obtains the first indication information used to indicate the first set.
  • S601 The specific content of S601 can be referred to S201, and the repeated parts will not be repeated.
  • the first relay device may also obtain indication information of at least one service, and the service data packets of each service in the at least one service are service data packets that at least one terminal device in the first set expects to receive.
  • the instruction information of at least one service reference can be made to the third instruction information in S401, which will not be described again here.
  • the first relay device updates the first set to obtain the second set.
  • S603 The first relay device sends the second notification message.
  • the second notification message may include third indication information.
  • the third indication information is used to indicate at least one service, and the service data packet of each service in the at least one service is the service data packet that at least one terminal device capable of communicating with the first relay device expects to receive.
  • the third instruction information please refer to S401, which will not be described again here.
  • the first terminal device may receive third indication information from each of the R relay devices.
  • the third indication information from each of the R relay devices may be used to indicate at least one service, and the service data packet of each service in the at least one service is expected by at least one terminal device capable of communicating with each relay device.
  • Received business data packets. R is a positive integer.
  • the first terminal device selects the first relay device from the R relay devices based on the third instruction information from each of the R relay devices.
  • the first terminal device sends a first request to the first relay device, where the first request is used to request the establishment of a unicast connection between the first relay device and the first terminal device.
  • the first relay device sends a first response to the first terminal device, where the first response is used to indicate that a unicast connection between the first relay device and the first terminal device has been established.
  • the first relay device sends a second request to the third terminal device.
  • the second request is used to request the establishment of a unicast connection between the first relay device and the third terminal device.
  • the first relay device may send a second request to each terminal device in the multiple terminal devices. .
  • the first relay device can establish a connection with each of the plurality of terminal devices.
  • the third terminal device sends a second response to the first relay device, where the second response is used to indicate that the unicast connection between the first relay device and the third terminal device has been established.
  • the first terminal device sends a third request to the first relay device.
  • the third request is used to request the establishment of an end-to-end unicast connection between the first terminal device and the third terminal device.
  • S610 The first relay device sends the third request to the third terminal device.
  • the third terminal device sends a third response to the first relay device, where the third response is used to indicate that a unicast connection between the first terminal device and the third terminal device has been established through the first relay device.
  • the first relay device sends a third response to the first terminal device.
  • the first terminal device establishes an end-to-end unicast connection between the first terminal device and the third terminal device through the first relay device.
  • S605-S612 takes the first relay device as an example for explanation, and the connection between the first terminal device and the third terminal device can also be established through other relay devices in a similar manner.
  • S613 If the first terminal device receives third responses from multiple relay devices, select the first relay device from the multiple relay devices. That is to say, when there are multiple indirect paths between the first terminal device and the third terminal device, the first terminal device can select one path for communication.
  • the method for the first terminal device to select a path for communication may refer to steps F1-F3, which will not be described again here.
  • the third terminal device can select a path for communication.
  • steps H1-H6 No further details will be given.
  • S613 is an optional step.
  • S608-S612 are optional steps.
  • S605-613 are optional steps.
  • the first relay device can broadcast third indication information for indicating at least one service, and the service data packet of each service in the at least one service is expected to be received by at least one terminal device capable of communicating with the first relay device. business data package.
  • the first terminal device wants to send the service data packet of the target service, it can find a suitable relay device according to the third instruction information to forward the service data packet of the target service to the terminal device that expects to receive the service data packet of the target service. This ensures the correct transmission of business data packets.
  • the embodiment of the present application provides a communication device through Figure 7, which can be used to perform the functions of the relevant steps in the above method embodiment.
  • the functions described can be implemented by hardware, or can be implemented by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the structure of the communication device is shown in Figure 7, including a communication unit 701 and a processing unit 702.
  • the communication device 700 can be applied to the terminal equipment in the communication system shown in Figure 1A, or the relay equipment or source terminal equipment in the communication system shown in Figure 1B, and can implement the above embodiments and examples provided by the present application. Communication methods.
  • the functions of each unit in the communication device 700 are introduced below.
  • the communication unit 701 is used to receive and send data.
  • the communication unit 701 can be implemented through a transceiver, for example, a mobile communication module.
  • the mobile communication module may include at least one antenna, at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc.
  • the AN device can communicate with the accessed terminal device through the mobile communication module.
  • the processing unit 702 may be used to support the communication device 700 in performing the processing actions in the above method embodiments.
  • the processing unit 702 may be implemented by a processor.
  • the processor can be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC) , field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor can be a microprocessor or any conventional processor.
  • the communication device 700 is applied to the first relay device in the embodiment of the present application shown in Figure 2 or Figure 5.
  • the specific functions of the processing unit 702 in this embodiment will be introduced below.
  • the processing unit 702 is configured to: obtain first indication information indicating a first set, where the first set includes at least one terminal device; and determine whether each terminal device in the first set can communicate with the first relay device. ; Send second indication information for indicating a second set to the first terminal device through the communication unit 701.
  • the second set includes terminal devices in the first set that can communicate with the first relay device.
  • the second terminal device is any terminal device in the first set, and the processing unit 702 is specifically configured to: if the first message from the second terminal device is received, determine that the second terminal device can communicate with the first terminal device. A relay device communicates; if the first message from the second terminal device is not received, it is determined that the second terminal device cannot communicate with the first relay device.
  • the first message is at least one of the following:
  • a notification message sent by the second terminal device is used for a communication device other than the second terminal device to discover the second terminal device.
  • Terminal Equipment Terminal Equipment
  • a response message sent by the second terminal device is used to respond to the request message or unicast connection establishment request sent by the first relay device.
  • the request message is used for a communication device other than the first relay device to discover the first relay device.
  • the unicast connection establishment request is used to request to establish a connection between the first relay device and the second terminal device.
  • the processing unit 702 is specifically configured to: within a first period of time after determining whether each terminal device in the first set can communicate with the first relay device, send a message to the first relay device through the communication unit 701 The terminal device sends second indication information for indicating the second set.
  • each terminal device in the second set has the ability to communicate with the terminal device through the relay device.
  • the processing unit 702 is specifically configured to: before sending the second indication information for indicating the second set to the first terminal device, obtain the capability indication information of each terminal device in the first set.
  • the first set The capability indication information of each terminal device is used to indicate whether each terminal device has the ability to communicate with the terminal device through the relay device.
  • the signal quality between each terminal device in the second set and the first relay device is greater than or equal to the first threshold.
  • the signal quality between each terminal device in the second set and the first relay device is less than the second threshold, and the second threshold is greater than the first threshold.
  • the processing unit 702 is specifically configured to: after determining whether each terminal device in the first set can communicate with the first relay device, send a message indicating to each terminal in the second set through the communication unit 701 Information about the signal quality between the device and the first relay device.
  • the first indication information includes indication information of each terminal device in the first set; the second indication information includes indication information of each terminal device in the second set.
  • the communication device 700 is applied to the first terminal device in the embodiment of the present application shown in FIG. 3 or FIG. 5 .
  • the specific functions of the processing unit 702 in this embodiment will be introduced below.
  • the processing unit 702 is configured to: determine whether a direct link can be established between the first terminal device and the third terminal device; if it is determined that a direct link cannot be established between the first terminal device and the third terminal device, then According to the first information, the first relay device is selected from M relay devices capable of communicating with the third terminal device; the first information includes: the distance between each relay device in the M relay devices and the first terminal device signal quality; M is a positive integer; the service data packet to be sent to the third terminal device is sent to the first relay device through the communication unit 701.
  • the processing unit 702 is specifically configured to: when it is determined that a direct link can be established between the first terminal device and the third terminal device, through the direct link between the first terminal device and the third terminal device path, and sends the service data packet to the third terminal device through the communication unit 701.
  • the processing unit 702 is specifically configured to: when the signal quality of the second message from the third terminal device is less than the fifth threshold, determine that a direct link cannot be established between the first terminal device and the third terminal device. ; When the signal quality of the second message from the third terminal device is greater than or equal to the fifth threshold, it is determined that a direct link can be established between the first terminal device and the third terminal device.
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold; and/or the first relay device is between the M relay devices and the first terminal device.
  • Relay equipment for maximum signal quality is provided.
  • the first information also includes signal quality between each of the M relay devices and the third terminal device,
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the first relay device The signal quality with the third terminal device is greater than or equal to the fourth threshold; or
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device, and the signal quality between the first relay device and the third terminal device is greater than or equal to the fourth threshold. ;or
  • the signal quality between the first relay device and the first terminal device is greater than or equal to the third threshold, and the first relay device is the relay device with the highest signal quality between the M relay devices and the third terminal device. ;or
  • the first relay device is the relay device with the highest signal quality among the M relay devices and the first terminal device, and the first relay device is the signal between the M relay devices and the third terminal device. Highest quality relay equipment.
  • the processing unit 702 is specifically configured to: before selecting the first relay device from the M relay devices capable of communicating with the third terminal device according to the first information, respectively receive messages from the M relay devices through the communication unit 701.
  • the signal quality indication information of each relay device among the M relay devices is used to indicate the signal between each relay device and the third terminal device. quality.
  • the first information also includes the connection status between each of the M relay devices and the first terminal device, and a unicast connection has been established between the first relay device and the first terminal device.
  • the processing unit 702 is specifically configured to: before selecting the first relay device from the M relay devices capable of communicating with the third terminal device according to the first information, respectively receive through the communication unit 701 Instruction information from each of the N relay devices.
  • the instruction information from each of the N relay devices is used to indicate at least one terminal device that can communicate with each relay device.
  • N is Positive integer; determine M relay devices among the N relay devices that can communicate with the third terminal device based on the instruction information from the N relay devices.
  • the processing unit 702 is specifically configured to: when the first terminal device fails to select the first relay device from the M relay devices according to the first information, send a message to the third terminal through the communication unit 701 The device sends a third message, and the third message is used to request the establishment of a direct link between the first terminal device and the third terminal device.
  • the processing unit 702 is specifically configured to: when the connection between the first terminal device and the second relay device is interrupted, or the connection between the third terminal device and the second relay device is interrupted, According to the first information, the first relay device is selected from M relay devices capable of communicating with the third terminal device.
  • the processing unit 702 is specifically configured to: before selecting the first relay device from the M relay devices capable of communicating with the third terminal device according to the first information, when the first terminal device and the second terminal device communicate with each other, When the connection between relay devices is interrupted, or the connection between the third terminal device and the second relay device is interrupted, the first connection between the first terminal device and the third terminal device is released, and the first connection is the first An end-to-end connection between an end device and a third end device.
  • the communication device 700 is applied to the first relay device in the embodiment of the present application shown in Figure 4 or Figure 6 .
  • the specific functions of the processing unit 702 in this embodiment will be introduced below.
  • the processing unit 702 is configured to: send third indication information to the first terminal device through the communication unit 701.
  • the third indication information is used to indicate at least one service, and the service data packet of each service in the at least one service is capable of At least one terminal device communicating with the first relay device expects to receive a service data packet; receiving a service data packet of a target service from the first terminal device through the communication unit 701, and at least one service includes a target service; through the communication Unit 701 sends the service data packet of the target service to a third terminal device.
  • the third terminal device is a terminal device among the P terminal devices that can communicate with the first relay device that is expected to receive the service data packet of the target service.
  • P is a positive integer. .
  • the processing unit 702 is specifically configured to: receive a first request from the first terminal device through the communication unit 701, where the first request is In requesting to establish a unicast connection between the first relay device and the first terminal device, the first request includes indication information of the target service; According to the instruction information of the target service, the third terminal device is determined from the P terminal devices; a second request is sent to the third terminal device through the communication unit 701, the second request is used to request to establish the first relay device and Unicast connection between third terminal devices; receiving a third request from the first terminal device through the communication unit 701, the third request is used to request the establishment of an end-to-end connection between the first terminal device and the third terminal device. Unicast connection; sending the third request to the third terminal device through the communication unit 701.
  • the processing unit 702 is specifically configured to: before sending the third indication information to the first terminal device, receive the indication information from each of the P terminal devices through the communication unit 701, and the P terminal devices are The instruction information of each terminal device in the terminal device is used to indicate Q services.
  • the service data packet of each service in the Q services is the service data packet that each terminal device expects to receive.
  • Q is a positive integer.
  • the communication device 700 is applied to the first terminal device in the embodiment of the present application shown in FIG. 4 or FIG. 6 .
  • the specific functions of the processing unit 702 in this embodiment will be introduced below.
  • the processing unit 702 is configured to: respectively receive the third instruction information from each of the R relay devices through the communication unit 701, and the third instruction information from each of the R relay devices.
  • the indication information is used to indicate at least one service.
  • the service data packet of each service in the at least one service is the service data packet that at least one terminal device that can communicate with each relay device expects to receive.
  • R is a positive integer; according to the data from R
  • the third indication information of each relay device in the relay device selects the first relay device from the R relay devices, and the first relay device can communicate with the third terminal device that is expected to receive the service data packet of the target service. ; Send the service data packet of the target service to the first relay device through the communication unit 701.
  • the R relay devices also include a fourth relay device, and the fourth relay device can communicate with the third terminal device.
  • the processing unit 702 is specifically configured to: receive the message from the first terminal device through the communication unit 701.
  • the third response of the relay device, the third response is used to indicate that the second connection between the first terminal device and the third terminal device has been established through the first relay device; receiving a message from the fourth relay through the communication unit 701
  • the fourth response of the device, the fourth response is used to indicate that the third connection between the first terminal device and the third terminal device has been established through the fourth relay device; when the signal quality of the second connection is greater than or equal to that of the third connection When the signal quality is low, the service data packet of the target service is sent to the first relay device through the communication unit 701.
  • each function in each embodiment of the present application can be integrated into one processing unit, or they can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of the application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .
  • the embodiment of the present application provides a communication device as shown in Figure 8, which can be used to perform relevant steps in the above method embodiment.
  • the communication device can be applied to the terminal device in the communication system shown in Figure 1A, or the relay device or source terminal device in the communication system shown in Figure 1B, and can implement the communication methods provided by the above embodiments and examples of the present application. , having the functions of the communication device shown in FIG. 7 .
  • the communication device 800 includes: a communication module 801 , a processor 802 and a memory 803 .
  • the communication module 801, the processor 802 and the memory 803 are connected to each other.
  • the communication module 801, the processor 802 and the memory 803 are connected to each other through a bus 804.
  • the bus 804 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the communication module 801 is used to receive and send data to implement communication interaction with other devices.
  • the communication module 801 can be implemented through a physical interface, a communication module, a communication interface, and an input and output interface.
  • the processor 802 may be used to support the communication device 800 to perform the processing actions in the above method embodiment. When the communication device 800 is used to implement the above method embodiment, the processor 802 may also be used to implement the functions of the above processing unit 702.
  • the processor 802 may be a CPU, or other general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component or any combination thereof.
  • a general-purpose processor can be a microprocessor or any conventional processor.
  • the communication device 800 is applied to the first relay device in the embodiment of the present application shown in Figure 2 or Figure 5.
  • the processor 802 is specifically configured to: obtain first indication information indicating a first set, where the first set includes at least one terminal device; and determine whether each terminal device in the first set can communicate with the first relay device. ; Send second indication information for indicating a second set to the first terminal device through the communication module 801.
  • the second set includes terminal devices in the first set that can communicate with the first relay device.
  • the communication device 800 is applied to the first terminal device in the embodiment of the present application shown in FIG. 3 or FIG. 5 .
  • the processor 802 is specifically configured to: determine whether a direct link can be established between the first terminal device and the third terminal device; if it is determined that a direct link cannot be established between the first terminal device and the third terminal device, then According to the first information, the first relay device is selected from M relay devices capable of communicating with the third terminal device; the first information includes: the distance between each relay device in the M relay devices and the first terminal device The signal quality; M is a positive integer; the service data packet to be sent to the third terminal device is sent to the first relay device through the communication module 801.
  • the communication device 800 is applied to the first relay device in the embodiment of the present application shown in FIG. 4 or FIG. 6 .
  • the processor 802 is specifically configured to: send third indication information to the first terminal device through the communication module 801.
  • the third indication information is used to indicate at least one service, and the service data packet of each service in the at least one service is capable of At least one terminal device communicating with the first relay device expects to receive a service data packet; receiving a service data packet of a target service from the first terminal device through the communication module 801, and at least one service includes a target service; through the communication Module 801 sends the service data packet of the target service to a third terminal device.
  • the third terminal device is a terminal device among the P terminal devices that can communicate with the first relay device that is expected to receive the service data packet of the target service.
  • P is a positive integer. .
  • the communication device 800 is applied to the first terminal device in the embodiment of the present application shown in FIG. 4 or FIG. 6 .
  • the processor 802 is specifically configured to: respectively receive the third instruction information from each of the R relay devices through the communication module 801, and the third instruction information from each of the R relay devices. Instructions Used to indicate at least one service.
  • the service data packet of each service in the at least one service is the service data packet that at least one terminal device that can communicate with each relay device expects to receive.
  • R is a positive integer; according to the data packet from R relays The third indication information of each relay device in the device selects the first relay device from the R relay devices, and the first relay device can communicate with the third terminal device that is expected to receive the service data packet of the target service; by The communication module 801 sends the service data packet of the target service to the first relay device.
  • processor 802 For the specific functions of the processor 802, please refer to the description of the communication method provided in the above embodiments of the present application and examples, as well as the specific functional description of the communication device 700 in the embodiment of the present application shown in Figure 7, which will not be repeated here. Repeat.
  • the memory 803 is used to store program instructions and data.
  • program instructions may include program code including computer operating instructions.
  • the memory 803 may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the processor 802 executes the program instructions stored in the memory 803, and uses the data stored in the memory 803 to implement the above functions, thereby realizing the above communication method provided by the embodiment of the present application.
  • the memory 803 in FIG. 8 of this application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
  • the non-volatile memory can be ROM, programmable ROM (PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM) ,EEPROM) or flash memory.
  • Volatile memory can be RAM, which acts as an external cache.
  • RAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • Synchlink DRAM SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • embodiments of the present application also provide a computer program, which when the computer program is run on a computer, causes the computer to execute the method provided in the above embodiments.
  • embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program When the computer program is executed by a computer, it causes the computer to execute the method provided in the above embodiments. .
  • the storage medium may be any available medium that can be accessed by the computer. Taking this as an example but not limited to: computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or can be used to carry or store instructions or data structures. Any other medium that contains the desired program code and is capable of being accessed by a computer.
  • embodiments of the present application also provide a chip, which is used to read the computer program stored in the memory and implement the method provided in the above embodiments.
  • the chip system includes a processor and is used to support the computer device to implement the functions involved in each device in the above embodiments.
  • the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the embodiments of the present application provide a communication method, apparatus and equipment.
  • the first relay device may send second indication information to the first terminal device to indicate the second set, and the second set includes the first set.
  • a terminal device capable of communicating with the first relay device the accuracy of the information sent by the first relay device can be improved; in this way, the first terminal device can select the first relay device for communication between terminal devices based on the accurate second instruction information, thereby improving the communication between the terminal devices.
  • the quality of communication between end devices after determining the first After each terminal device in a set is able to communicate with the first relay device, the first relay device may send second indication information to the first terminal device to indicate the second set, and the second set includes the first set.
  • a terminal device capable of communicating with the first relay device.
  • embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

Landscapes

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

Abstract

一种通信方法、装置及设备。该方法为:在确定第一集合中的每个终端设备是否能够与第一中继设备通信后,第一中继设备可向第一终端设备发送用于指示第二集合的第二指示信息,第二集合包括第一集合中能够与第一中继设备通信的终端设备。通过该方法,可提高第一中继设备发送的信息的准确性;这样,第一终端设备可根据准确的第二指示信息选择第一中继设备来进行终端设备之间的通信,从而可提高终端设备之间的通信质量。

Description

一种通信方法、装置及设备
相关申请的交叉引用
本申请要求在2022年08月04日提交中国专利局、申请号为202210933680.7、申请名称为“一种通信方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种通信方法、装置及设备。
背景技术
在通信系统中,终端设备之间可进行通信。例如,终端设备之间可通过侧行链路(sidelink)进行通信。终端设备之间可直接通信,为了提升侧行链路覆盖增强,也可以通过中继设备进行通信。
目前,为了使得终端设备之间能够通过中继设备进行通信,中继设备可周期性的广播能够与其通信的终端设备列表。这样,终端设备可根据该列表选择合适的中继设备进行通信。例如,终端设备1接收到来自中继设备1的终端设备列表1,终端设备列表1包括终端设备2和终端设备3。当终端设备1需要和终端设备2进行通信时,终端设备1可通过中继设备1与终端设备2进行通信。
然而,由于终端设备的移动性等原因,终端设备根据该列表选择的中继设备可能并不是合适的中继设备,从而导致终端设备之间的通信质量较差,甚至通信中断。
发明内容
本申请提供了一种通信方法、装置及设备,用以提高终端设备之间的通信质量。
第一方面,本申请实施例提供了一种通信方法。该方法包括:第一中继设备可获取用于指示第一集合的第一指示信息,第一集合包括至少一个终端设备。在确定第一集合中的每个终端设备是否能够与第一中继设备通信后,第一中继设备可向第一终端设备发送用于指示第二集合的第二指示信息,第二集合包括第一集合中能够与第一中继设备通信的终端设备。
通过该方法,第一中继设备会在检查第一集合中的终端设备是否均能与第一中继设备通信后,发送第二指示信息,以指示包含能够与第一中继设备通信的终端设备的第二集合,从而提高第一中继设备发送的信息的准确性。这样,第一终端设备可根据准确的第二指示信息选择第一中继设备来进行终端设备之间的通信,从而可提高终端设备之间的通信质量。
在一种可能的设计中,第一中继设备可通过如下步骤确定第一集合中的每个终端设备是否能够与第一中继设备通信:第二终端设备为第一集合中的任一终端设备,若接收到来自第二终端设备的第一消息,则第一中继设备可确定第二终端设备能够与第一中继设备通信;若未接收到来自第二终端设备的第一消息,则第一中继设备可确定第二终端设备不能与第一中继设备通信。通过该设计,可方便的确定出第一集合中的每个终端设备是否能够 与第一中继设备通信,易于实现。
在一种可能的设计中,第一消息为以下至少一项:
第二终端设备发送的通知消息,该通知消息用于第二终端设备之外的通信设备发现第二终端设备;
第二终端设备发送的响应消息,该响应消息用于响应第一中继设备发送的请求消息或单播连接建立请求,该请求消息用于第一中继设备之外的通信设备发现第一中继设备,该单播连接建立请求用于请求建立第一中继设备和第二终端设备之间的连接。
该设计提供了第一消息的多种实现方式,较为灵活。
在一种可能的设计中,在确定第一集合中的每个终端设备是否能够与第一中继设备通信后的第一时间段内,第一中继设备向第一终端设备发送用于指示第二集合的第二指示信息。通过该设计,第一中继设备可在确定可与第二集合中的每个终端设备均能通信的第一时间段内,向第一终端设备发送用于指示第二集合的指示信息,从而可提高第二集合的指示信息的准确性。
在一种可能的设计中,第二集合中的每个终端设备均具有通过中继设备与终端设备通信的能力。通过该设计,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备均具有通过中继设备与终端设备通信的能力,从而可避免第一终端设备请求通过中继设备与不具有该能力的终端设备进行通信,进而可提高通信质量和效率。
在一种可能的设计中,在向第一终端设备发送用于指示第二集合的第二指示信息之前,第一中继设备可获取第一集合中每个终端设备的能力指示信息,第一集合中每个终端设备的能力指示信息用于指示每个终端设备是否具有通过中继设备与终端设备通信的能力。通过该设计,第一中继设备可及时获知终端设备是否具有通过中继设备与终端设备通信的能力,易于实现。
在一种可能的设计中,第二集合中每个终端设备与第一中继设备之间的信号质量大于或等于第一阈值。通过该设计,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备与第一中继设备之间的信号质量均大于或等于第一阈值。这样,当第一终端设备通过第一中继设备和其他终端设备进行通信时,可保证通信质量。
在一种可能的设计中,第二集合中每个终端设备与第一中继设备之间的信号质量大于或等于第一阈值,且小于第二阈值,第二阈值大于第一阈值。通过该设计,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备与第一中继设备之间的信号质量均大于或等于第一阈值。这样,当第一终端设备通过第一中继设备和其他终端设备进行通信时,可保证通信质量。并且,第二集合中,每个终端设备与第一中继设备之间的信号质量均小于第二阈值,从而可剔除距离第一中继设备较近的终端设备,进而可提高终端设备之间的通信效率。
在一种可能的设计中,在确定第一集合中的每个终端设备是否能够与第一中继设备通信之后,第一中继设备还可发送用于指示第二集合中每个终端设备与第一中继设备之间的信号质量的信息。通过该设计,第一中继设备可发送用于指示第二集合中每个终端设备与第一中继设备之间的信号质量的信息;这样,第二集合中的终端设备在要选择中继设备进行数据传输时,可根据第一中继设备与目的终端设备之间的信号质量来选择,从而可提高 终端设备之间的通信质量。
在一种可能的设计中,第一指示信息包括第一集合中每个终端设备的指示信息;第二指示信息包括第二集合中每个终端设备的指示信息。该设计易于实现。
第二方面,本申请实施例提供了一种通信方法。该方法包括:第一终端设备判断第一终端设备和第三终端设备之间是否能够建立直连链路。如果确定第一终端设备和第三终端设备之间不能建立直连链路,则第一终端设备可根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备,并向第一中继设备发送要发送至第三终端设备的业务数据包。其中,第一信息可包括:M个中继设备中每个中继设备与第一终端设备之间的信号质量。M为正整数。
通过该方法,第一终端设备在确定第一终端设备和第三终端设备之间不能建立直连链路后,再选择中继设备来进行业务数据包的传输。也就是说,第一终端设备会优先选择第一终端设备和第三终端设备之间的直连链路来进行业务数据包的传输。这样,可降低业务数据包的传输时延。
另外,第一终端设备可根据M个中继设备中每个中继设备与第一终端设备之间的信号质量来选择第一中继设备,通过第一中继设备向第三中继设备发送业务数据包,从而可提高终端设备之间的通信质量。
在一种可能的设计中,如果确定第一终端设备和第三终端设备之间能够建立直连链路,则第一终端设备可通过第一终端设备和第三终端设备之间的直连链路,向第三终端设备发送业务数据包。通过该设计,第一终端设备可优先选择第一终端设备和第三终端设备之间的直连链路来进行业务数据包的传输,从而可降低业务数据包的传输时延。
在一种可能的设计中,第一终端设备可通过如下步骤判断第一终端设备和第三终端设备之间是否能够建立直连链路:当来自第三终端设备的第二消息的信号质量小于第五阈值时,第一终端设备可确定第一终端设备和第三终端设备之间不能建立直连链路;当来自第三终端设备的第二消息的信号质量大于或等于第五阈值时,第一终端设备可确定第一终端设备和第三终端设备之间能够建立直连链路。该设计易于实现。
在一种可能的设计中,第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值;和/或,第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备。通过该设计,第一终端设备可根据中继设备和第一终端设备之间的信号质量,选择信号质量满足上述条件的第一中继设备来传输业务数据包,从而可保证通信质量。
在一种可能的设计中,第一信息还包括M个中继设备中每个中继设备与第三终端设备之间的信号质量。第一中继设备满足以下条件之一:
第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备与第三终端设备之间的信号质量大于或等于第四阈值;
第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备,且第一中继设备与第三终端设备之间的信号质量大于或等于第四阈值;
第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备;
第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备。
通过该设计,第一终端设备可根据中继设备和第一终端设备之间的信号质量以及中继设备和第三终端设备之间的信号质量,选择用于传输业务数据包的第一中继设备,从而可保证通信质量。
在一种可能的设计中,在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,第一终端设备可分别接收来自M个中继设备中每个中继设备的信号质量指示信息,来自M个中继设备中每个中继设备的信号质量指示信息用于指示每个中继设备与第三终端设备之间的信号质量。通过该设计,第一终端设备可确定每个中继设备与第三终端设备之间的信号质量,易于实现。
在一种可能的设计中,第一信息还包括M个中继设备中每个中继设备与第一终端设备之间的连接状态,第一中继设备与第一终端设备之间已建立单播连接。通过该设计,第一终端设备优先选择与第一终端设备之间已建立单播连接的第一中继设备来传输业务数据包;这样,第一终端设备无需再建立单播连接,从而可节省传输时延。
在一种可能的设计中,在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,第一终端设备可分别接收来自N个中继设备中每个中继设备的指示信息,来自N个中继设备中每个中继设备的指示信息用于指示能够与每个中继设备通信的至少一个终端设备,N为正整数。然后,第一终端设备可根据来自N个中继设备的指示信息,确定N个中继设备中能够与第三终端设备通信的M个中继设备。通过该设计,这样,第一终端设备可方便的确定出能够与第三终端设备通信的M个中继设备。
在一种可能的设计中,当第一终端设备未能根据第一信息从M个中继设备中选择出第一中继设备时,第一终端设备可向第三终端设备发送第三消息,第三消息用于请求建立第一终端设备和第三终端设备之间的直连链路。通过该设计,当第一终端设备和第三终端设备之间的直连链路不满足信号质量要求,且第一终端设备也未能根据第一信息找到第一中继设备,即,第一终端设备也未能找到满足信号质量要求的非直连路径时,第一终端设备可通过直连链路与第三终端设备进行通信,从而可降低通信的复杂度,节省信令开销。
在一种可能的设计中,当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备之间与第二中继设备之间的连接中断时,第一终端设备可根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备。这样,在重选流程中,第一终端设备可根据信号质量来选择中继设备,从而可保证通过中继设备传输业务数据包时的通信质量。
在一种可能的设计中,在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,若第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断,则第一终端设备可释放第一终端设备和第三终端设备之间的第一连接,第一连接为第一终端设备和第三终端设备之间的端到端连接。这样,当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断时,第一终端设备或第三终端设备可及时释放第一终端设备和第三终端设备之间的连接,从而避免资源被不必要的占用。
第三方面,本申请实施例提供了一种通信方法。该方法包括:第一中继设备在向第一终端设备发送第三指示信息后,可接收来自第一终端设备的目标业务的业务数据包。其中,第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与第 一中继设备通信的至少一个终端设备期望接收的业务数据包;至少一个业务包括目标业务。然后,第一中继设备可向第三终端设备发送目标业务的业务数据包,第三终端设备为能够与第一中继设备通信的P个终端设备中期望接收目标业务的业务数据包的终端设备,P为正整数。
通过该方法,第一中继设备可发送用于指示至少一个业务的第三指示信息,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包。第一终端设备在要发送目标业务的业务数据包时,可根据第三指示信息找到合适的中继设备来向期望接收目标业务的业务数据包的终端设备转发目标业务的业务数据包,从而可保证业务数据包的正确传输。
在一种可能的设计中,在接收来自第一终端设备的目标业务的业务数据包之前,第一中继设备可接收来自第一终端设备的第一请求,第一请求用于请求建立第一中继设备和第一终端设备之间的单播连接,第一请求中包含目标业务的指示信息。第一中继设备可根据目标业务的指示信息,从P个终端设备中确定出第三终端设备,并向第三终端设备发送第二请求,第二请求用于请求通过建立第一中继设备和第三终端设备之间的单播连接。在接收第一请求之后,第一中继设备还可接收来自第一终端设备的第三请求,并向第三终端设备发送第三请求,该第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。通过该设计,第一终端设备和第三终端设备之间可建立端到端的单播连接,从而可通过该单播连接传输业务数据包。
在一种可能的设计中,在向第一终端设备发送第三指示信息之前,第一中继设备可分别接收来自P个终端设备中每个终端设备的指示信息。其中,P个终端设备中每个终端设备的指示信息可用于指示Q个业务,Q个业务中每个业务的业务数据包为每个终端设备期望接收的业务数据包,Q为正整数。通过该设计,第一终端设备可获知与第一中继设备通信的P个终端设备中每个终端设备期望接收哪些业务的业务数据包。
第四方面,本申请实施例提供了一种通信方法。该方法包括:第一终端设备可分别接收来自R个中继设备中每个中继设备的第三指示信息。其中,来自R个中继设备中每个中继设备的第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包。R为正整数。然后,第一终端设备可根据来自R个中继设备中每个中继设备的第三指示信息,从R个中继设备中选择第一中继设备,并向第一中继设备发送目标业务的业务数据包。其中,第一中继设备能够与期望接收目标业务的业务数据包的第三终端设备通信。
通过该方法,P个终端设备中每个第一中继设备可发送用于指示至少一个业务的第三指示信息,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包。第一终端设备在要发送目标业务的业务数据包时,可根据第三指示信息找到合适的中继设备来向期望接收目标业务的业务数据包的终端设备转发目标业务的业务数据包,从而可保证业务数据包的正确传输。
在一种可能的设计中,在向第一中继设备发送目标业务的业务数据包之前,第一终端设备向第一中继设备发送第一请求和第三请求。其中,第一请求用于请求建立第一中继设备和第一终端设备之间的单播连接,第一请求中包含目标业务的指示信息;第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。通过该设计,第一终端 设备和第三终端设备之间可建立端到端的单播连接,从而可通过该单播连接传输业务数据包。
在一种可能的设计中,R个中继设备中还包括第四中继设备,第四中继设备能够与第三终端设备通信。该方法还可包括:第一终端设备接收来自第一中继设备的第三响应和来自第四中继设备的第四响应。其中,第三响应用于指示通过第一中继设备建立了第一终端设备和第三终端设备之间的第二连接,第四响应用于指示通过第四中继设备建立了第一终端设备和第三终端设备之间的第三连接。当第二连接的信号质量大于或等于第三连接的信号质量时,第一终端设备可向第一中继设备发送目标业务的业务数据包。通过该设计,第一终端设备和第三终端设备存在多条非直连路径,每个直连路径对应一个端到端的连接,第一终端设备可选择一条路径与第三终端设备进行通信,从而可避免资源浪费。
相应于第一方面至第四方面任一种通信方法,本申请还提供了一种通信装置。通信装置可以是以无线方式进行数据传输的任意一种设备。例如,通信芯片、终端设备、或者中继设备。在某些通信过程中,通信装置可以作为上述中继设备或可用于中继设备的通信芯片;在某些通信过程中,通信装置可以作为上述终端设备或可用于终端设备的通信芯片。
第五方面,本申请实施例提供了一种通信装置,该通信装置为上述中继设备(比如第一中继设备)或终端设备(比如第一终端设备)。该装置可以包括通信单元和处理单元,以执行上述任一方面提供的方法。通信单元用于执行与发送和接收相关的功能。
可选地,通信单元包括接收单元和发送单元。在一种设计中,通信装置为通信芯片,通信单元可以为通信芯片的输入输出电路或者端口。在另一种设计中,通信单元可以为发射器和接收器,或者通信单元为发射机和接收机。
第六方面,本申请实施例提供了一种通信设备,该通信设备为上述中继设备(比如第一中继设备)或终端设备(比如第一终端设备)。该装置可以包括处理器和通信模块。可选的,还包括存储器,该存储器用于存储计算机程序或指令,该处理器用于从存储器中调用并运行该计算机程序或指令,当处理器执行存储器中的计算机程序或指令时,使得该通信装置执行上述任一方面提供的方法。
可选的,处理器为一个或多个,存储器为一个或多个。
可选的,存储器可以与处理器集成在一起,或者存储器与处理器分离设置。
可选的,通信模块可以包括,发射机(发射器)和接收机(接收器)。
第七方面,本申请实施例提供了一种系统,该系统包括上述中继设备(比如第一中继设备)或终端设备(比如第一终端设备)。
第八方面,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述任一方面提供的方法。
第九方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述任一方面提供的方法。
第十方面,本申请实施例提供了一种芯片系统,所述芯片用于读取存储器中存储的计 算机程序,执行上述任一方面提供的方法。
第十一方面,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述任一方面提供的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。
上述第五方面至第十一方面中任一方面可以达到的技术效果可以参照上述第一方面至第四方面中任一方面中任一种可能设计可以达到的技术效果说明,重复之处不予论述。
附图说明
图1A为本申请实施例适用的一种通信系统的示意图;
图1B为本申请实施例适用的另一种通信系统的示意图;
图1C为两个终端设备之间通过中继设备进行通信的流程示意图;
图2为本申请实施例提供的第一种通信方法的流程示意图;
图3为本申请实施例提供的第二种通信方法的流程示意图;
图4为本申请实施例提供的第三种通信方法的流程示意图;
图5为本申请实施例提供的第四种通信方法的流程示意图;
图6为本申请实施例提供的第五种通信方法的流程示意图;
图7为本申请实施例提供的一种通信装置的结构示意图;
图8为本申请实施例提供的另一种通信设备的结构示意图。
具体实施方式
本申请提供一种通信方法、装置及设备,用以提高终端设备之间的通信质量。其中,方法、装置和设备是基于同一技术构思的,由于方法、装置和设备解决问题的原理相似,因此装置和设备与方法的实施可以相互参见,重复之处不再赘述。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、通信设备,泛指具有通信功能的设备。示例性的,所述通信设备可以但不限于为终端设备、网络设备、核心网(core network,CN)设备等。
2)、信号质量,可为信号强度。用于体现或表示信号强度的参数可以包括但不限于以下至少一项:参考信号接收功率(reference signal receiving power,RSRP)、参考信号接收质量(reference signal receiving quality,RSRQ)、接收信号强度指示(received signal strength indication,RSSI)以及信号与干扰加噪声比(signal to interference plus noise ratio,SINR)。
本申请实施例中,对于名词的数目,除非特别说明,表示“单数名词或复数名词”,即“一个或多个”。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“以下至少一项(个)”或其类似表达,是指这些项(个)中的任意组合,包括单项(个)或复数项(个)的任意组合。
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不应理解为指示或暗示相对重要性,也不应理解为指示或暗示顺序。
下面将结合附图,对本申请实施例进行详细描述。
图1A示出了本申请实施例适用的一种通信系统的示意图。如图1A所示,该通信系统包括:网络设备和终端设备(例如,终端设备1和终端设备2)。
终端设备可以通过无线接口(如Uu口)与网络设备通信。终端设备之间可以通过网络设备进行通信,也可以进行直连通信,比如通过终端设备之间的PC5接口通信。终端设备之间的链路可以称为侧行链路(sidelink),或者边链路,或者旁链路,或者PC5接口链路,或者终端设备间链路。
本申请实施例中的终端设备,又可以称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种具有无线收发功能的设备。例如,终端设备可以是:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备(例如智能手表、智能手环、计步器等),车载设备(例如,汽车、自行车、电动车、飞机、船舶、火车、高铁等)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、智能家居设备(例如,冰箱、电视、空调、电表等)、智能机器人、车间设备、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)等。
本申请实施例中的网络设备,是网络中用于将终端设备接入到无线网络的设备。网络设备可以为无线接入网中的节点,又可以称为基站,还可以称为无线接入网(radio access network,RAN)节点(或设备)。例如,网络设备可以包括长期演进(long term evolution,LTE)系统或演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),或者也可以包括第五代(5th generation,5G)新无线(new radio,NR)系统中的下一代节点B(next generation node B,gNB),或者还可以包括传输接收点(transmission reception point,TRP)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或WiFi接入点(access point,AP)等。
图1B示出了本申请实施例适用的另一种通信系统的示意图。如图1B所示,该通信系统包括:源终端设备(source UE)、中继设备(也可称为终端设备到终端设备中继设备,UE-to-UE relay)和目的终端设备(target UE)。
通过图1B所示的该通信系统,在侧行链路UE-to-UE Relay场景中,源终端设备可通过中继设备和目的终端设备进行侧行链路上的通信。这样,终端设备之间的侧行链路通信可以包括:源终端设备和中继设备之间的侧行链路通信,以及中继设备和目的终端设备之间的侧行链路通信。
图1A-图1B所示的通信系统并不构成对本申请实施例能够适用的通信系统的限定。本申请实施例提供的通信方法可以适用于各种制式的通信系统,例如:长期演进(long term evolution,LTE)通信系统、5G通信系统、第六代(6th generation,6G)通信系统以及未来通信系统、车到万物(vehicle to everything,V2X)、长期演进-车联网(LTE-vehicle,LTE-V)、车到车(vehicle to vehicle,V2V)、车联网、机器类通信(Machine Type Communications, MTC)、物联网(internet of things,IoT)、长期演进-机器到机器(LTE-machine to machine,LTE-M)、机器到机器(machine to machine,M2M)、物联网等。
在本申请中,第一终端设备和第三终端设备可分别为图1A所示的通信系统中的终端设备1和终端设备2,可分别为图1A所示的通信系统中的终端设备2和终端设备1,还可以分别为图1B所示的通信系统中的源终端设备和目的终端设备。第一中继设备可为图1B所示的通信系统中的中继设备。
目前,NR标准已经支持三种类型的侧行链路通信模式,包括广播、组播和单播。针对单播通信,可允许两个终端设备通过二者之间的直连链路进行单播通信,例如,图1A所示的终端设备1与终端设备2之间的侧行链路上的单播通信;也可以允许两个终端设备通过中继设备进行单播通信,例如,图1B中源终端设备通过中继设备与目的终端设备进行的侧行链路上的单播通信。
图1C示出了源终端设备通过中继设备与目的终端设备进行的侧行链路上的单播通信的方法。该方法包括:
S101:中继设备发现中继设备的邻近终端设备。
其中,中继设备的邻近终端设备应为能够与中继设备直接通信的终端设备。
中继设备可通过以下方式之一来发现中继设备的邻近终端设备:
方式一:若中继设备接收到来自终端设备A的第一通知(announcement)消息,则中继设备可发现该终端设备A,也就是说,该终端设备A可为中继设备的邻近终端设备。其中,第一通知消息用于其他通信设备发现终端设备A。
方式二:若中继设备在发送携带终端设备B信息的请求(solicitation)消息后,接收到来自终端设备B的响应消息,则中继设备可发现该终端设备B,也就是说,该终端设备B可为中继设备的邻近终端设备。该请求消息用于中继设备发现其他通信设备。
方式一中的第一通知消息以及方式二中的请求消息和响应消息还可统称为发现(discovery)消息。
方式三:和中继设备已有直接单播连接的终端设备。
可选的,中继设备的邻近终端设备可包括源终端设备和目的终端设备。
S102:中继设备发送第二通知消息。
可选的,中继设备可广播第二通知消息。这样,中继设备的邻近终端设备可接收到第二通知消息。例如,图1C中的源终端设备和目的终端设备可接收到第二通知消息。
其中,中继设备可周期性的发送第二通知消息。
第二通知消息可包括:发现消息的类型,中继设备的指示信息,中继服务代码(Relay Service Code,RSC),以及邻近终端设备的指示信息。其中,中继设备的指示信息可为中继设备的用户信息标识(user information identifier,User info ID),中继设备的用户信息标识例如为中继设备的应用层标识(application identifier,APP ID)。邻近终端设备的指示信息可为邻近终端设备的用户信息标识,邻近终端设备的用户信息标识例如为邻近终端设备的应用层标识。
S103:源终端设备根据第二通知消息,向中继设备发送第一单播连接建立请求(direct communication request,DCR),第一单播连接建立请求中携带中继设备的指示信息,第一 单播连接建立请求用于请求建立源终端设备和中继设备之间的单播连接。其中,中继设备的指示信息可包括中继设备的应用层标识。当源终端设备要向目的终端设备发送业务数据包时,源终端设备可判断第二通知消息中的邻近终端设备的指示信息是否包含目的终端设备的指示信息。若第二通知消息中的邻近终端设备的指示信息包含目的终端设备的指示信息,则源终端设备确定中继设备可与目的终端设备进行通信,并向中继设备发送第一单播连接建立请求。
S104:中继设备向源终端设备发送第一单播连接建立接受(direct communication accept)消息。
其中,第一单播连接建立接受消息为第一单播连接建立请求的响应消息,用于指示已建立源终端设备和中继设备之间的单播连接。
S105:源终端设备向中继设备发送目的终端设备的指示信息。
其中,目的终端设备的指示信息可包括目的终端设备的应用层标识。
S106:中继设备向目的终端设备发送第二单播连接建立请求。
其中,第二单播连接建立请求用于请求建立中继设备和目的终端设备之间的单播连接。
S107:目的终端设备向中继设备发送第二单播连接建立接受消息。
其中,第二单播连接建立接受消息为第二单播连接建立请求的响应消息,用于指示已建立中继设备和目的终端设备之间的单播连接。
S108:源终端设备通过中继设备向目的终端设备发送第三单播连接建立请求。
其中,第三单播连接建立请求中携带目的终端设备的指示信息,第三单播连接建立请求用于请求建立源终端设备和目的终端设备之间的端到端的单播连接。
可选的,S108可包括步骤P1-P2:
P1:源终端设备向中继设备送第三单播连接建立请求;
其中,在S104后,源终端设备可执行步骤P1。
P2:中继设备向目的终端设备发送第三单播连接建立请求。
可选的,在S107之后,中继设备可执行步骤P2。
S109:目的终端设备通过中继设备向源终端设备发送第三单播连接建立接受消息。
其中,第三单播连接建立接受消息为第三单播连接建立请求的响应消息,用于指示已建立源终端设备和目的终端设备之间的单播连接。
通过上述方法,源终端设备通过中继设备与目的终端设备建立了连接,从而可通过中继设备与目的终端设备进行通信。
然而,图1C所示方法至少存在以下问题:
问题1:S102中,中继设备发送的邻近终端设备的指示信息可能不准确。具体的,中继设备在发现邻近终端设备之后,可能要过一段时间才会发送第二通知消息。例如,当中继设备周期性的发送第二通知消息时,中继设备在第一周期内发送第二通知消息后,在第二周期内会再发送第二通知消息。由于终端设备是可以移动的,因此,中继设备要发送第二通知消息时,有的终端设备可能已移出中继设备的通信范围。这样,中继设备发送的邻近终端设备的指示信息可能包括已移出中继设备通信范围的终端设备。如果源终端设备根据邻近终端设备的指示信息来选择中继设备,则可能会选择到不合适的中继设备,导致终端设备之间的通信质量较差,甚至通信中断。例如,中继设备A初始确定的邻近终端设备 包括:源终端设备、目的终端设备;若当中继设备A发送第二通知消息时,目的终端设备已移出中继设备A的通信范围,根据图1C所示的方法,中继设备A仍会发送包含目的终端设备指示信息的第二通知消息。如果源终端设备选择中继设备A来向目的终端设备发送业务数据包,则会导致通信中断。
问题2:该方法中,源终端设备仅根据邻近终端设备的指示信息来选择中继设备,即仅根据中继设备是否能与目的终端设备通信来选择中继设备。这样,无法保证通过中继设备进行通信的通信质量。
为解决上述问题1,本申请实施例提供一种通信方法,该方法可应用于图1A-图1B所示的通信系统中。下面参阅图2所示的流程图,对该方法的流程进行具体说明。
S201:第一中继设备获取用于指示第一集合的第一指示信息。
可选的,第一中继设备可在要广播包含邻近终端设备的指示信息时,获取用于指示第一集合的第一指示信息。
其中,第一集合可包括至少一个终端设备,例如,第一结合可包括至少一个邻近终端设备。第一指示信息可包括第一集合中每个终端设备的指示信息。例如,第一指示信息可包括第一集合中每个终端设备的用户信息标识或用户设备标识,用户信息标识例如为应用层标识,用户设备标识例如为通用公共用户标识(generic public subscription identifier,GPSI)或用户永久标识符(subscription permanent identifier,SUPI)。
在一些可能的方式中,第一中继设备可将上一次发送的第一通知消息中的邻近终端设备的指示信息作为用于指示第一集合的第一指示信息。在另一些可能的方式中,第一中继设备可发现第一中继设备的邻近终端设备,并将发现的邻近终端设备的指示信息作为用于指示第一集合的第一指示信息。第一中继设备发现第一中继设备的邻近终端设备的方式可参考S101中的方式一、方式二或方式三,此处不再赘述。
S202:第一中继设备确定第一集合中的每个终端设备是否能够与第一中继设备通信。
其中,第二终端设备为第一集合中的任一终端设备,第一中继设备可通过如下方式确定第二终端设备是否能够和第一中继设备通信:
若第一中继设备接收到来自第二终端设备的第一消息,则第一中继设备可确定第二终端设备能够与第一中继设备通信;若第一中继设备未接收到来自第二终端设备的第一消息,则第一中继设备可确定第二终端设备不能与第一中继设备通信。
可选的,第一消息可为以下至少一项:
1、第二终端设备发送的第一通知消息:其中,第一通知消息可为方式一中的第一通知消息,用于第二终端设备之外的通信设备发现第二终端设备。
2、第二终端设备发送的响应消息。
在一些可能的方式中,该响应消息用于响应第一中继设备发送的请求消息,该请求消息可为方式二中的请求消息,用于第一中继设备之外的通信设备发现第一中继设备。此时,在S202中,第一中继设备可先向第二终端设备发送请求消息。
在另一些可能的方式中,该响应消息用于响应第一中继设备发送的单播连接建立请求,该单播连接建立请求用于请求建立第一中继设备和第二终端设备之间的连接。此时,在S202中,第一中继设备可先向第二终端设备发送单播连接建立请求。
S203:第一中继设备向第一终端设备发送用于指示第二集合的第二指示信息。相应的, 第一终端设备接收来自第一中继设备的用于指示第二集合中的第二指示信息。
其中,第二集合包括第一集合中能够与第一中继设备通信的终端设备。例如,第一集合包括:第一终端设备、终端设备2-终端设备8、第三终端设备;若在S202中,第一中继设备确定如下终端设备能够与第一中继设备通信:第一终端设备、终端设备2-终端设备6、第三终端设备,则第二集合包括第一终端设备、终端设备2-终端设备6、第三终端设备。
可选的,第二指示信息包括第二集合中每个终端设备的指示信息。例如,第二指示信息可包括第二集合中每个终端设备的用户信息标识(例如,应用层标识)或用户设备标识(例如,GPSI或SUPI)。
其中,用于指示第二集合的第二指示信息可携带在现有的消息(例如,图1C所示的第二通知消息)中,也可携带在新的消息中。
另外,第一中继设备可通过广播的方式向第一终端设备发送用于指示第二集合的第二指示信息。
通过该方法,第一中继设备会在检查第一集合中的终端设备是否均能与第一中继设备通信后,发送第二指示信息,以指示包含能够与第一中继设备通信的终端设备的第二集合,从而提高第一中继设备发送的信息的准确性。这样,第一终端设备可根据准确的第二指示信息选择第一中继设备来进行终端设备之间的通信,从而可提高终端设备之间的通信质量。
可选的,在S202之后的第一时间段内,第一中继设备可执行S203。也就是说,在确定第一集合中的每个终端设备是否能够与第一中继设备通信后的第一时间段内,第一中继设备可向第一终端设备发送用于指示第二集合的第二指示信息。其中,第一时间段可为预先设置的,也可为从其他通信设备(例如,网络设备)获取的。示例性的,第一时间段可为7秒(s)。
通过该方法,第一中继设备可在确定可与第二集合中的每个终端设备均能通信的第一时间段内,向第一终端设备发送用于指示第二集合的指示信息,从而可提高第二集合的指示信息的准确性。
可选的,为了提高通信质量和效率,第一中继设备还可进一步限制第二集合中的终端设备。具体的,第二集合中的每个终端设备还可满足以下条件至少一项:
条件1:第二集合中的每个终端设备均具有通过中继设备与终端设备通信的能力。
例如,第一集合包括:第一终端设备、终端设备2-终端设备8、第三终端设备。若在S202中,第一中继设备确定如下终端设备能够与第一中继设备通信:第一终端设备、终端设备2-终端设备6、第三终端设备,且如下终端设备具有通过中继设备与终端设备通信的能力:第一终端设备、终端设备2-终端设备5、第三终端设备,则第二集合包括:第一终端设备、终端设备2-终端设备5、第三终端设备。
可选的,第一中继设备可根据第一集合中每个终端设备的能力指示信息,确定第一集合中每个终端设备是否具有通过中继设备与终端设备通信的能力,从而确定出第二集合。具体的,在向第一终端设备发送用于指示第二集合的第二指示信息之前,第一中继设备可获取第一集合中每个终端设备的能力指示信息,第一集合中每个终端设备的能力指示信息用于指示每个终端设备是否具有通过中继设备与终端设备通信的能力;然后,第一中继设备可确定第一集合中每个终端设备是否具有通过中继设备与终端设备通信的能力。其中, 第一集合中每个终端设备的能力指示信息可显示指示相应终端设备具有的能力,也可以通过一个字段来指示相应终端设备是否具有通过中继设备与终端设备通信的能力。第一集合中每个终端设备的能力指示信息可携带在现有的消息(例如,方式一的第一通知消息)中,也可以携带在新的消息中,本申请对此不作限定。
通过条件1,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备均具有通过中继设备与终端设备通信的能力,从而可避免第一终端设备请求通过中继设备与不具有该能力的终端设备进行通信,进而可提高通信质量和效率。
条件2:第二集合中每个终端设备与第一中继设备之间的信号质量大于或等于第一阈值。
例如,第一集合包括:第一终端设备、终端设备2-终端设备8、第三终端设备。若在S202中,第一中继设备确定如下终端设备能够与第一中继设备通信:第一终端设备、终端设备2-终端设备6、第三终端设备,且如下终端设备与第一中继设备之间的信号质量大于或等于第一阈值:第一终端设备、终端设备2-终端设备4、第三终端设备,则第二集合包括:第一终端设备、终端设备2-终端设备4、第三终端设备。
可选的,第一中继设备可检测第一集合中每个终端设备和第一中继设备之间的信号质量,从而确定出第二集合。其中,第一中继设备可通过检测第一集合中每个终端设备发送的第一消息的信号强度,来确定第一集合中每个终端设备和第一中继设备之间的信号质量。第一消息的具体内容可参考S202,此处不再赘述。
另外,第一阈值可以为预先设置的,也可以为从其他通信设备(例如,网络设备)获取的。
通过条件2,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备与第一中继设备之间的信号质量均大于或等于第一阈值。这样,当第一终端设备通过第一中继设备和其他终端设备进行通信时,可保证通信质量。
条件3:第二集合中每个终端设备与第一中继设备之间的信号质量大于或等于第一阈值,且小于第二阈值,第二阈值大于第一阈值。
例如,第一集合包括:第一终端设备、终端设备2-终端设备8、第三终端设备。若在S202中,第一中继设备确定如下终端设备能够与第一中继设备通信:第一终端设备、终端设备2-终端设备6、第三终端设备,并且,如下终端设备与第一中继设备之间的信号质量大于或等于第一阈值,且小于第二阈值:第一终端设备、终端设备2-终端设备3、第三终端设备,则第二集合包括:第一终端设备、终端设备2-终端设备3、第三终端设备。
可选的,第一中继设备可检测第一集合中每个终端设备和第一中继设备之间的信号质量,从而确定出第二集合。第一中继设备检测第一集合中每个终端设备和第一中继设备之间的信号质量的方式可参考条件2,此处不再赘述。
另外,第一阈值和第二阈值可以为预先设置的,也可以为从其他通信设备(例如,网络设备)获取的。
通过条件3,第一中继设备可进一步限制第二集合中的终端设备,从而可减小信令开销,节省传输资源。另外,第二集合中,每个终端设备与第一中继设备之间的信号质量均大于或等于第一阈值。这样,当第一终端设备通过第一中继设备和其他终端设备进行通信 时,可保证通信质量。并且,第二集合中,每个终端设备与第一中继设备之间的信号质量均小于第二阈值,从而可剔除距离第一中继设备较近的终端设备,进而可提高终端设备之间的通信效率。
可选的,在S202之后,该方法还包括步骤M1:
M1:第一中继设备还可发送用于指示所述第二集合中每个终端设备与所述第一中继设备之间的信号质量的信息。
例如,第二集合中包括第一终端设备和终端设备2,第一中继设备可发送用于指示第一终端设备和第一中继设备之间的信号质量的信息,以及用于指示终端设备2和第一中继设备之间的信号质量的信息。
本申请对步骤M1和S203的执行顺序不作限定。
为解决上述问题2,本申请实施例提供一种通信方法,该方法可应用于图1A-图1B所示的通信系统中。下面参阅图3所示的流程图,对该方法的流程进行具体说明。
S301:第一终端设备判断第一终端设备和第三终端设备之间是否能够建立直连链路。
其中,第一终端设备可在要向第三终端设备发送业务数据包时,判断第一终端设备和第三终端设备之间是否能够建立直连链路。
可选的,第一终端设备可通过如下实现方式之一判断第一终端设备和第三终端设备之间是否能够建立直连链路:
实现方式一:第一终端设备根据来自第三终端设备的第二消息的信号质量,判断第一终端设备和第三终端设备之间是否能够建立直连链路。具体的,当来自第三终端设备的第二消息的信号质量小于第五阈值时,第一终端设备可确定第一终端设备和第三终端设备之间不能建立直连链路;当来自第三终端设备的第二消息的信号质量大于或等于第五阈值时,第一终端设备可确定第一终端设备和第三终端设备之间能够建立直连链路。
其中,来自第三终端设备的第二消息的信号质量可以是第一终端设备检测得到的。第二消息可为第一终端设备和第三终端设备之间传输的现有的消息(例如,作为发现消息的第一通知消息,单播连接建立请求,或单播连接建立请求的响应消息),也可以为新的消息。第五阈值可为预先设置的,也可为第一终端设备从其他通信设备(例如,网络设备)获取的。
实现方式二:第一终端设备根据是否能接收到来自第三终端设备的第二消息,判断第一终端设备和第三终端设备之间是否能够建立直连链路。
其中,第二消息的具体内容可参考实现方式一,此处不再赘述。
另外,当第二消息为请求消息或单播连接建立请求的响应消息时,第一终端设备可通过如下方式之一来判断第一终端设备和第三终端设备之间是否能够建立直连链路:
方式A:若第一终端设备未收到来自第三终端设备的第二消息,则第一终端设备可在第二时间段内多次发送请求消息或单播连接建立请求,直至接收到第二消息或第二时间段结束。若在第二时间段内,第一终端设备接收到来自第三终端设备的第二消息,则第一终端设备可确定第一终端设备和第三终端设备之间能够建立直连链路;若在第二时间段内,第一终端设备未收到来自第三终端设备的第二消息,则第一终端设备可确定第一终端设备和第三终端设备之间不能建立直连链路。其中,第二时间段可为预先设定的,也可以第一 终端设备从其他通信设备获取的。
方式B:若第一终端设备未收到来自第三终端设备的第二消息,则第一终端设备可多次发送请求消息或单播连接建立请求,直至接收到第二消息或达到设定发送次数。若第一终端设备接收到来自第三终端设备的第二消息,则第一终端设备可确定第一终端设备和第三终端设备之间能够建立直连链路;若第一终端设备发送设定发送次数的请求消息或单播连接建立请求后,仍未收到来自第三终端设备的第二消息,则第一终端设备可确定第一终端设备和第三终端设备之间不能建立直连链路。
S302:如果确定第一终端设备和第三终端设备之间不能建立直连链路,则第一终端设备根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备,M为正整数。
其中,第一信息包括:M个中继设备中每个中继设备与第一终端设备之间的信号质量。可选的,第一终端设备可通过检测M个中继设备中每个中继设备向第一终端设备发送的第四消息的信号质量,来确定M个中继设备中每个中继设备与第一终端设备之间的信号质量。其中,第四消息可为第一终端设备和M个中继设备中每个中继设备之间传输的现有的消息(例如,作为发现消息的通知消息,单播连接建立请求,或单播连接建立请求的响应消息),也可以为新的消息。
可选的,第一终端设备确定的第一中继设备应满足以下条件至少一项:
条件一:第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值。也就是说,第一终端设备可从M个中继设备中选择与第一终端设备之间的信号质量大于或等于第三阈值的中继设备,即第一中继设备。
可选的,当M个中继设备中存在与第一终端设备之间的信号质量大于或等于第三阈值的多个中继设备时,第一终端设备可选择该多个中继设备中与第一终端设备之间的信号质量最大的中继设备,即第一中继设备;也可从该多个中继设备中随机选择一个中继设备,即第一中继设备。
条件二:第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备。也就是说,第一终端设备可选择M个中继设备中与第一终端设备之间的信号质量最大的中继设备,即第一中继设备。
通过该方法,第一终端设备可根据中继设备和第一终端设备之间的信号质量,选择信号质量满足条件一和/或条件二的中继设备来传输业务数据包,从而可保证通信质量。
可选的,第一信息还可包括M个中继设备中每个中继设备与第三终端设备之间的信号质量。此时,第一终端设备确定的第一中继设备应满足以下条件之一:
条件A:第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备与第三终端设备之间的信号质量大于或等于第四阈值。也就是说,第一终端设备从M个中继设备中选择满足条件A的中继设备,即第一中继设备。
可选的,当M个中继设备中存在满足条件A的S个中继设备时,第一终端设备可从S个中继设备中随机选择一个中继设备,即第一中继设备;也可从S个中继设备中选择与第一终端设备之间的信号质量最大和/或与第三终端设备之间的信号质量最大的一个中继设备,即第一中继设备。其中,S为大于或等于2的正整数。
条件B:第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继 设备,且第一中继设备与第三终端设备之间的信号质量大于或等于第四阈值。也就是说,第一终端设备从M个中继设备中选择满足条件B的中继设备,即第一中继设备。
可选的,当M个中继设备中存在满足条件B的O个中继设备时,第一终端设备可从该O个中继设备中随机选择一个中继设备,即第一中继设备;也可从该O个中继设备中选择与第三终端设备之间的信号质量最大的一个中继设备,即第一中继设备。其中,O为大于或等于2的正整数。
条件C:第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备。也就是说,第一终端设备从M个中继设备中选择满足条件C的中继设备,即第一中继设备。
可选的,当M个中继设备中存在满足条件C的T个中继设备时,第一终端设备可从该T个中继设备中随机选择一个中继设备,即第一中继设备;也可从该T个中继设备中选择与第一终端设备之间的信号质量最大的一个中继设备,即第一中继设备。其中,T为大于或等于2的正整数。
条件D:第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备。也就是说,第一终端设备从M个中继设备中选择满足条件D的中继设备,即第一中继设备。
通过该方法,第一终端设备可根据中继设备和第一终端设备之间的信号质量以及中继设备和第三终端设备之间的信号质量,选择信号质量满足条件A-条件D中任一项的中继设备来传输业务数据包,从而可保证通信质量。
可选的,第一终端设备可通过如下步骤A1-A2确定M个中继设备中每个中继设备与第三终端设备之间的信号质量:
A1:第一终端设备分别接收来自M个中继设备中每个中继设备的信号质量指示信息。
其中,来自M个中继设备中每个中继设备的信号质量指示信息用于指示相应中继设备与第三终端设备之间的信号质量。例如,M个中继设备包括中继设备2,中继设备2能够与第三终端设备通信,来自中继设备2的信号质量指示信息可指示中继设备2与第三终端设备之间的信号质量。
可选的,来自M个中继设备中每个中继设备的信号质量指示信息可承载在现有的消息(例如,S102中的第二通知消息)中,也可以承载在新的消息中。
A2:第一终端设备根据来自M个中继设备中每个中继设备的信号质量指示信息,确定每个中继设备与第三终端设备之间的信号质量。
例如,M个中继设备包括中继设备2,中继设备2能够与第三终端设备通信,第一终端设备可根据来自中继设备2的信号质量指示信息,确定中继设备2与第三终端设备之间的信号质量。
这样,第一终端设备可确定每个中继设备与第三终端设备之间的信号质量。
可选的,第一信息还可包括M个中继设备中每个中继设备与第一终端设备之间的连接状态。此时,第一中继设备与第一终端设备之间已建立单播连接。也就是说,第一终端设备从M个中继设备中选择与第一终端设备之间已建立单播连接的中继设备作为第一中继 设备。
例如,当M个中继设备中存在满足条件A-条件D中任一项的U个中继设备时,第一终端设备可从U个中继设备中选择与第一终端设备之间已建立单播连接的中继设备作为第一中继设备。U为大于1的正整数。
又例如,当M个中继设备中存在满足条件A-条件D中任一项的V个中继设备,且该V个中继设备均与第一终端设备建立了单播连接时,第一中继设备可为V个中继设备中与第一终端设备之间的信号质量最大的中继设备,和/或,第一中继设备为V个中继设备中与第三终端设备之间的信号质量最大的中继设备。V为大于1的正整数。
该方法中,第一终端设备优先选择与第一终端设备之间已建立单播连接的第一中继设备来传输业务数据包;这样,第一终端设备无需再建立单播连接,从而可节省传输时延。
可选的,在S302中,第一终端设备可通过如下步骤B1-B2确定能够与第三终端设备通信的M个中继设备。
B1:在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,第一终端设备分别接收来自N个中继设备中每个中继设备的指示信息。
其中,来自N个中继设备中每个中继设备的指示信息用于指示能够与每个中继设备通信的至少一个终端设备,N为正整数。
可选的,步骤B1的具体内容可参考图2所示方法中对“第一终端设备接收来自第一中继设备的用于指示第二集合中的第二指示信息”的说明,只是将其中的第一中继设备替换为N个中继设备中的每个中继设备,将用于指示第二集合中的第二指示信息替换为用于指示能够与每个中继设备通信的至少一个终端设备的指示信息。
B2:第一终端设备根据来自N个中继设备的指示信息,确定N个中继设备中能够与第三终端设备通信的M个中继设备。
例如,N个中继设备包括:中继设备3和中继设备4。来自中继设备3的指示信息指示中继设备3能够与以下终端设备通信:第一终端设备、终端设备2和第三终端设备;来自中继设备4的指示信息指示中继设备4能够与以下终端设备通信:第一终端设备和终端设备2,则第一终端设备可确定能够与第三终端设备通信的M个中继设备包括:中继设备3。
这样,第一终端设备可确定出能够与第三终端设备通信的M个中继设备。
S303:第一终端设备向第一中继设备发送要发送至第三终端设备的业务数据包。
可选的,该业务数据包中包括第三终端设备的指示信息。
可选的,为建立第一终端设备和第三终端设备之间的单播连接,在S303之前,该方法还包括步骤N1-N9:
N1:第一终端设备向第一中继设备发送第一请求,第一请求用于请求建立第一终端设备和第一中继设备之间的单播连接。
其中,第一请求可为现有的消息(例如,单播连接建立请求),也可为新的消息。第一请求的具体内容可参考S103中的第一单播连接建立请求,此处不再赘述。
N2:第一中继设备向第一终端设备发送第一响应。
其中,第一响应为第一请求的响应消息,用于指示已建立第一终端设备和第一中继设备之间的单播连接。
另外,第一响应可为现有的消息(单播连接建立接受),也可为新的消息。
N3:第一终端设备向第一中继设备发送第三终端设备的指示信息。
其中,第三终端设备的指示信息可包括第三终端设备的应用层标识。
步骤N3为可选的步骤。例如,当第一请求中包含第三终端设备的指示信息时,步骤N3是可选的。
N4:第一中继设备向第三终端设备发送第二请求。
其中,第二请求用于请求建立中继设备和第三终端设备之间的单播连接。
另外,第二请求可为现有的消息(例如,单播连接建立请求),也可为新的消息。
N5:第三终端设备向第一中继设备发送第二响应。
其中,第二响应为第二请求的响应消息,用于指示已建立第一中继设备和第三终端设备之间的单播连接。
另外,第二响应可为现有的消息(单播连接建立接受),也可为新的消息。
N6:第一终端设备向第一中继设备发送第三请求。
其中,第三请求中携带第三终端设备的指示信息,第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。
另外,第三请求可为现有的消息(例如,单播连接建立请求),也可为新的消息。
可选的,在步骤N2之后,第一终端设备可执行步骤N6。
N7:第一中继设备向第三终端设备发送第三请求。
可选的,在步骤N5之后,第一中继设备可执行步骤N7。
N8:第三终端设备向第一中继设备发送第三响应。
其中,第三响应为第三请求的响应消息,用于指示已通过第一中继设备建立第一终端设备和第三终端设备之间的单播连接。
另外,第三响应可为现有的消息(单播连接建立接受),也可为新的消息。
N9:第一中继设备向第一终端设备发送第三响应。
S304:第一中继设备向第三终端设备发送要发送至第三终端设备的业务数据包。
可选的,第一中继设备可根据第三终端设备的指示信息确定出该业务数据包的目标终端设备为第三终端设备,并向第三终端设备发送该业务数据包。
可选的,如果在S301中,第一终端设备确定第一终端设备和第三终端设备之间能够建立直连链路,则在S301之后,图3所示方法还包括步骤S305:
S305:第一终端设备通过第一终端设备和第三终端设备之间的直连链路,向第三终端设备发送要发送给第三终端设备的业务数据包。
在一些可能的方式中,第一终端设备和第三终端设备之间已存在直连链路。第一终端设备可通过该直连链路向第三终端设备发送该业务数据包。在另一些可能的方式中,第一终端设备和第三终端设备之间不存在直连链路时,第一终端设备可向第三终端设备发送请求建立直连链路的单播连接建立请求。在第一终端设备和第三终端设备之间建立直连链路后,向第三终端设备发送该业务数据包。
通过该方法,第一终端设备优先选择第一终端设备和第三终端设备之间的直连链路来进行业务数据包的传输,从而可降低业务数据包的传输时延。
可选的,当在S302中,第一终端设备未能根据第一信息从M个中继设备中选择出第一中继设备时,图3所示方法还包括步骤C1:
C1:第一终端设备可向第三终端设备发送第三消息。
其中,第三消息用于请求建立第一终端设备和第三终端设备之间的直连链路。这样,在建立第一终端设备和第三终端设备之间的直连链路后,第一终端设备可通过该直连链路向第三终端设备发送要发送给第三终端设备的业务数据包。
可选的,第三消息可为现有的消息(例如,单播连接建立请求),也可为新的消息。
通过该方法,当第一终端设备和第三终端设备之间的直连链路不满足信号质量要求,且第一终端设备也未能通过S302找到第一中继设备,即,第一终端设备也未能找到满足信号质量要求的非直连路径时,第一终端设备可通过直连链路与第三终端设备进行通信,从而可降低通信的复杂度,节省信令开销。
可选的,S302-S304可适用于重选流程。在S302之前,图3所示方法还包括步骤D1-步骤D2:
D1:第一终端设备可通过第二中继设备与第三终端设备进行通信。
其中,第一终端设备选择第二中继设备的方式可参考S302,只是将其中的第一中继设备替换为第二中继设备,此处不再赘述。
D2:当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断时,第一终端设备也可以通过S302重新选择中继设备,即第一中继设备。
其中,第一终端设备可检测第一终端设备和第二中继设备之间的连接是否中断。具体的,第一终端设备可周期或非周期的向第二中继设备发送心跳信号。若在发送心跳信号之后的设定时间内,第一终端设备接收到来自第二中继设备的针对心跳信号的响应信号,则第一终端设备确定第一终端设备和第二中继设备之间的连接未中断;若在发送心跳信号之后的设定时间内,第一终端设备未收到来自第二中继设备的针对心跳信号的响应信号,则第一终端设备确定第一终端设备和第二中继设备之间的连接中断。其中,心跳信号可替换为路径探测消息。
第一终端设备可根据来自第二中继设备的第一连接指示信息,确定第三终端设备之间与第二中继设备之间的连接是否中断。其中,来自第二中继设备的第一连接指示信息可用于指示第二中继设备和第三终端设备之间的连接是否中断。来自第二中继设备的第一连接指示信息可承载在现有的消息中,也可承载在新的消息中。
通过该方法,在重选流程中,第一终端设备可根据信号质量来选择中继设备,从而可保证通过中继设备传输业务数据包时的通信质量。
可选的,在S302中的“根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备”之前,若第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断,可通过以下实现方式之一释放第一终端设备和第三终端设备之间的端到端连接,即第一连接:
实现方式1:第一终端设备释放第一终端设备和第三终端设备之间的第一连接。
第一终端设备可在通过步骤D1中的方式,确定第一终端设备和第二中继设备之间的 连接中断,或者第三终端设备与第二中继设备之间的连接中断后,释放第一终端设备和第三终端设备之间的第一连接。
实现方式2:第三终端设备释放第一终端设备和第三终端设备之间的第一连接。
其中,第三终端设备可检测第三终端设备和第二中继设备之间的连接是否中断。检测的具体方式可参考步骤D1,只是将其中的第一终端设备替换为第三终端设备,此处不再赘述。
第三终端设备可根据来自第二中继设备的第二连接指示信息,确定第一终端设备之间与第二中继设备之间的连接是否中断。其中,来自第二中继设备的第二连接指示信息用于指示第二中继设备和第一终端设备之间的连接是否中断。来自第二中继设备的第二连接指示信息可承载在现有的消息中,也可承载在新的消息中。
通过该方法,当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断时,第一终端设备或第三终端设备可及时释放第一终端设备和第三终端设备之间的连接,从而避免资源被不必要的占用。
本申请实施例还提供一种通信方法,该方法可应用于图1A-图1B所示的通信系统中。下面参阅图4所示的流程图,对该方法的流程进行具体说明。
S401:第一中继设备向第一终端设备发送第三指示信息。相应的,第一终端设备接收来自第一中继设备的第三指示信息。
可选的,第一中继设备可在要广播邻近终端设备的信息时,向第一终端设备发送第三指示信息。例如,当第一中继设备要发送图1C所示方法中的第二通知消息时,向第一终端设备发送第三指示信息。
其中,第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包。
可选的,第三指示信息包括至少一个业务中每个业务的业务指示信息,如,业务标识。例如,能够与第一中继设备通信的终端设备包括:第一终端设备、终端设备2和第三终端设备。第一终端设备期望接收业务1和业务2的业务数据包;终端设备2期望接收业务2和业务3的业务数据包;第三终端设备期望接收业务4的业务数据包。此时,第三指示信息可包含业务1-业务4的业务标识。
此外,第三指示信息可携带在现有的消息(例如,图1C所示方法中的第二通知消息)中,也可以携带在新的消息中。
可选的,在S401之前,第一中继设备可分别接收来自能够与第一中继设备通信的P个终端设备中每个终端设备的指示信息。其中,P个终端设备中每个终端设备的指示信息用于指示Q个业务,Q个业务中每个业务的业务数据包为每个终端设备期望接收的业务数据包。P和Q为正整数。例如,第一中继设备接收来自第一终端设备的用于指示业务1和业务2的指示信息,从而可确定第一终端设备期望接收业务1和业务2的业务数据包。又例如,第一中继设备接收来自终端设备2的用于指示业务2和业务3的指示信息,从而可确定终端设备2期望接收业务2和业务3的业务数据包。再例如,第一中继设备接收来自第三终端设备的用于指示业务4的指示信息,从而可确定第三终端设备期望接收业务4的业务数据包。另外,P个终端设备中每个终端设备的指示信息可承载在现有的消息中,也 可以承载在新的消息中。
通过该方法,第一中继设备可获知与第一中继设备通信的P个终端设备中每个终端设备期望接收哪些业务的业务数据包。
可选的,通过S401中的方式,第一终端设备可接收来自R个中继设备中每个中继设备的第三指示信息。来自R个中继设备中每个中继设备的第三指示信息可用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包。R为正整数。
S402:第一终端设备根据来自R个中继设备中每个中继设备的第三指示信息,从R个中继设备中选择第一中继设备。
其中,第一中继设备能够与期望接收目标业务的业务数据包的第三终端设备通信。
可选的,第一终端设备要发送目标业务的业务数据包时,可根据来自R个中继设备中每个中继设备的指示信息,从R个中继设备中选择第一中继设备。
例如,R个中继设备包括第一中继设备和第三中继设备。来自第一中继设备的第三指示信息包含业务1-业务4的业务标识;来自第三中继设备的第三指示信息包含业务1、业务2和业务5的业务标识。若目标业务为业务4,则第一终端设备可从R个中继设备选择出第一中继设备。
S403:第一终端设备向第一中继设备发送目标业务的业务数据包。相应的,第一中继设备接收来自第一终端设备的目标业务的业务数据包。
其中,第一终端设备可通过第一终端设备和第一中继设备之间的连接向第一中继设备发送要目标业务的业务数据包。
可选的,该目标业务的业务数据包中包含目标业务的指示信息,例如,目标业务的标识。
S404:第一中继设备向第三终端设备发送目标业务的业务数据包。相应的,第三终端设备接收来自第一中继设备的目标业务的业务数据包。
其中,第三终端设备为能够与第一中继设备通信的P个终端设备中期望接收目标业务的业务数据包的终端设备。
可选的,第一中继设备可根据目标业务的指示信息,从P个终端设备中选择出第三终端设备。例如,能够与第一中继设备通信的P个终端设备包括:第一终端设备、终端设备2和第三终端设备。第一终端设备期望接收业务1和业务2的业务数据包;终端设备2期望接收业务2和业务3的业务数据包;第三终端设备期望接收业务4的业务数据包。若目标业务为业务4,则第一中继设备可向第三终端设备发送业务4的业务数据包。
通过该方法,第一中继设备可广播用于指示至少一个业务的第三指示信息,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包。终端设备在要发送目标业务的业务数据包时,可根据第三指示信息找到合适的中继设备来向期望接收目标业务的业务数据包的终端设备转发目标业务的业务数据包,从而可保证业务数据包的正确传输。
可选的,在S403之前,第一终端设备通过第一中继设备建立第一终端设备和第三终端设备之间的连接。具体的,图4所示方法还包括步骤E1-E5:
E1:第一终端设备向第一中继设备发送第一请求。相应的,第一中继设备接收来自第一终端设备的第一请求。
其中,第一请求用于请求建立第一终端设备与第一中继设备之间的单播连接。第一请求可为现有的消息(例如,单播连接建立请求),也可为新的消息。
可选的,第一请求中包含目标业务的指示信息。
可选的,在步骤E1之后,第一中继设备可向第一终端设备发送第一响应,具体内容可参考步骤N2,此处不再赘述。
E2:第一中继设备根据目标业务的指示信息,从P个终端设备中确定出第三终端设备。
步骤E2的具体内容可参考S404中对“第一中继设备可根据目标业务的指示信息,从P个终端设备中选择出第三终端设备”的说明,此处不再赘述。
E3:第一中继设备向第三终端设备发送第二请求。相应的,第三终端设备接收来自第一中继设备的第二请求。
其中,第二请求用于请求建立第一中继设备与第三终端设备之间的单播连接。第二请求可为现有的消息(例如,单播连接建立请求),也可为新的消息。
可选的,第二请求中还包括目标业务的指示信息。
可选的,在步骤E3之后,第三终端设备可向第一中继设备发送第二响应,具体内容可参考步骤N5,此处不再赘述。
E4:第一终端设备向第一中继设备发送第三请求。
其中,第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。
E5:第一中继设备向第三终端设备发送第三请求。
步骤E4-E5的具体内容可参考步骤N6-N7,此处不再赘述。
可选的,在步骤E5之后,第一中继设备在接收来自第三终端设备的第三响应后,可向第一终端设备发送第三响应。其中,第三响应用于指示已通过第一中继设备建立第一终端设备和第三终端设备之间的单播连接,其具体内容可参考步骤N8,此处不再赘述。
可选的,若在S402之后,第一终端设备和第一中继设备之间已建立单播连接,步骤E1为可选的步骤。此时,第一终端设备可向第一中继设备发送目标业务的指示信息。若在步骤E2之后,第一中继设备和第三终端设备之间已建立单播连接,步骤E3为可选的步骤。
通过该方法,第一终端设备可通过第一中继设备建立第一终端设备和第三终端设备之间的单播连接,从而可通过单播连接进行业务数据包的传输。
可选的,第一终端设备和第三终端设备同时能够与多个中继设备通信,也就是说,第一终端设备和第三终端设备之间存在多条非直连路径。此时,第一终端设备或第三终端设备可选择一条路径进行通信。下面以第一终端设备和第三终端设备之间存在两条非直连路径为例,分别对此进行说明。
第一终端设备可通过如下步骤F1-F3选择一条路径与第三终端设备进行通信:
F1:第一中继设备向第一终端设备发送第三响应。相应的,第一终端设备接收来自第一中继设备的第三响应。
其中,第三响应可为步骤E4中第三请求的响应消息。第三响应用于指示通过第一中继设备建立了第一终端设备和第三终端设备之间的第二连接。
F2:第四中继设备向第一终端设备发送第四响应。相应的,第一终端设备接收来自第 四中继设备的第四响应。
其中,第四中继设备能够与第三终端设备通信。第四响应用于指示通过第四中继设备建立了第一终端设备和第三终端设备之间的第三连接。
可选的,在步骤F2之前,第一终端设备可请求通过第四中继设备建立第一终端设备和第三终端设备之间的连接。具体内容可参考步骤E1-E5,只是将其中的第一中继设备替换为第四中继设备。
F3:当第二连接的信号质量大于或等于第三连接的信号质量时,第一终端设备选择第一中继设备来传输目标业务的业务数据包。换句话说,S404可包括:当第二连接的信号质量大于或等于第三连接的信号质量时,第一终端设备向第一中继设备发送目标业务的业务数据包。
其中,第二连接的信号质量可包括:第一终端设备和第一中继设备之间的信号质量,和/或,第三终端设备和第一中继设备之间的信号质量。第三连接的信号质量可包括:第一终端设备和第四中继设备之间的信号质量,和/或,第三终端设备和第四中继设备之间的信号质量。第一终端设备确定第二连接的信号质量和第三连接的信号质量的方式可参考S302,此处不再赘述。
通过该方法,第一终端设备选择一条路径与第三终端设备进行通信,从而可避免资源浪费。
第三终端设备可通过如下步骤选择一条路径与第一终端设备进行通信:
H1:第一终端设备向第四中继设备发送第四请求,第四请求用于请求建立第四中继设备和第一终端设备之间的单播连接。
H2:第四中继设备根据目标业务的指示信息,从能够与第四中继设备通信的终端设备中确定出第三终端设备。
H3:第四中继设备向第三终端设备发送第五请求,第五请求用于请求建立第四中继设备和第三终端设备之间的单播连接。
H4:第一终端设备向第四中继设备发送第六请求。
其中,第六请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。步骤F2中的第四响应可为第六请求的响应消息。
H5:第四中继设备向第三终端设备发送第六请求。
H1-H5的具体内容可参考E1-E5,只是将其中的第一中继设备替换为第四中继设备,第一请求替换为第四请求,第二请求替换为第五请求,第三请求替换为第六请求。
本申请对H1-H5和E1-E5的执行顺序不作限定。
H6:第三终端设备从第一中继设备和第四中继设备中选择第一中继设备,并向第一中继设备发送第三响应。第三响应的具体内容可参考步骤F1,此处不再赘述。
可选的,当第二连接的信号质量大于或等于第三连接的信号质量时,第三终端设备从第一中继设备和第四中继设备中选择第一中继设备。其中,第二连接为通过第一中继设备建立的第一终端设备和第三终端设备之间的连接;第三连接为通过第四中继设备建立的第一终端设备和第三终端设备之间的连接。
其中,第二连接的信号质量可包括:第一终端设备和第一中继设备之间的信号质量,和/或,第三终端设备和第一中继设备之间的信号质量。第三连接的信号质量可包括:第一 终端设备和第四中继设备之间的信号质量,和/或,第三终端设备和第四中继设备之间的信号质量。
第三终端设备可检测第三终端设备和第一中继设备之间的信号质量,以及第三终端设备和第四中继设备之间的信号质量。第三终端设备可从第一中继设备获取用于指示第一终端设备和第一中继设备之间的信号质量的信息,从第四中继设备获取用于指示第一终端设备和第四中继设备之间的信号质量的信息,具体内容可参考S302中的第一终端设备分别接收来自M个中继设备中每个中继设备的信号质量指示信息,只是将其中的第一终端设备替换为第三终端设备,此处不再赘述。
通过该方法,第三终端设备选择一条路径与第一终端设备进行通信,并且,第三终端设备可仅向第一中继设备发送第三响应,从而可节省信令开销,避免资源浪费。
本申请实施例还提供一种通信方法,该方法示出了图2或图3所示方法的一种可能的实现方式。该方法可应用于图1A-图1B所示的通信系统中。下面参阅图5所示的流程图,对该方法的流程进行具体说明。
S501:第一中继设备获取用于指示第一集合的第一指示信息。
S501的具体内容可参考S201,此处不再赘述。
S502:第一中继设备对第一集合进行更新,得到第二集合。
其中,第一中继设备可在确定第一集合中的每个终端设备是否能够与第一中继设备通信后,得到第二集合,第二集合可包括第一集合中能够与第一中继设备通信的终端设备。第一中继设备确定第一集合中的每个终端设备是否能够与第一中继设备通信的具体内容可参考S202,第二集合的具体内容可参考S203,此处不再赘述。
可选的,第四终端设备为第一集合中的任一终端设备。在第一中继设备发现第四终端设备的第一时间段内,可认为第一中继设备能够与第四终端设备通信。此时,可不通过S202中的方式确定第四终端设备是否能够与第一中继设备通信。在第一中继设备发现第四终端设备的第一时间段后,可通过S202中的方式确定第四终端设备是否能够与第一中继设备通信。其中,第一时间段的具体内容可参考图2所示方法中对“第一时间段”的说明,此处不再赘述。
另外,第五终端设备为第一集合中的任一终端设备。若第五终端设备和第一中继设备之间存在单播连接,则第一中继设备可确定第一中继设备能够与第五终端设备通信。
S503:第一中继设备发送第二通知消息。
其中,第二通知消息可包括用于指示第二集合的第二指示信息。用于指示第二集合的第二指示信息的具体内容可参考S203,重复之处不再赘述。
可选的,第一中继设备可广播第二通知消息,从而向第一终端设备和第三终端设备发送第二通知消息。
此外,第二通知消息中还可包括以下至少一项:发现消息的类型、RSC和第一中继设备的指示信息,具体内容可参考S102,此处不再赘述。
可选的,第一中继设备可周期性的发送第二通知消息,也可以在满足设定事件时,发送第二通知消息。例如,设定事件为第一集合中的终端设备发生变化,即邻近终端设备列表发生更新。又例如,设定事件为第一中继设备接收到来自邻近终端设备的用于请求发送第二通知消息的请求。
S504:第一终端设备判断第一终端设备和第三终端设备之间是否能够建立直连链路。
S504的具体内容可参考S301,重复之处不再赘述。
另外,第三终端设备可为目标终端设备,也可为期望接收目标业务的终端设备。
S505:如果第一终端设备确定第一终端设备和第三终端设备之间能够建立直连链路,则第一终端设备通过第一终端设备和第三终端设备之间的直连链路,向第三终端设备发送要发送给第三终端设备的业务数据包。
S505的具体内容可参考S305,此处不再赘述。
另外,本申请对S501-S503与S504-S505之间的执行顺序不作限定。
S506:如果确定第一终端设备和第三终端设备之间不能建立直连链路,则第一终端设备根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备,M为正整数。
S506的具体内容可参考S302,此处不再赘述。
S507:第一终端设备向第一中继设备发送要发送至第三终端设备的业务数据包。
S508:第一中继设备向第三终端设备发送要发送至第三终端设备的业务数据包。
S507-S508的具体内容可参考S303-S304,此处不再赘述。
S509:如果在S506中,第一终端设备未能根据第一信息从M个中继设备中选择出第一中继设备,第一终端设备可向第三终端设备发送第三消息,第三消息用于请求建立第一终端设备和第三终端设备之间的直连链路。
S509为可选的步骤,其具体内容可参考步骤C1,此处不再赘述。
在建立第一终端设备和第三终端设备之间的直连链路后,第一终端设备可通过第一终端设备和第三终端设备之间的直连链路,向第三终端设备发送要发送至第三终端设备的业务数据包。
通过该方法,第一终端设备优先选择第一终端设备和第三终端设备之间的直连链路来进行业务数据包的传输,从而可降低业务数据包的传输时延。
并且,在该方法中,第一中继设备会在检查第一集合中的终端设备是否均能与第一中继设备通信后,发送第二指示信息,以指示包含能够与第一中继设备通信的终端设备的第二集合,从而提高第一中继设备发送的信息的准确性。这样,第一终端设备可根据准确的第二指示信息选择第一中继设备来进行终端设备之间的通信,从而可提高终端设备之间的通信质量。
本申请实施例还提供一种通信方法,该方法示出了图4所示方法的一种可能的实现方式。该方法可应用于图1A-图1B所示的通信系统中。下面参阅图6所示的流程图,对该方法的流程进行具体说明。
S601:第一中继设备获取用于指示第一集合的第一指示信息。
S601的具体内容可参考S201,重复之处不再赘述。
可选的,第一中继设备还可获取至少一个业务的指示信息,至少一个业务中每个业务的业务数据包为第一集合中至少一个终端设备期望接收的业务数据包。其中,至少一个业务的指示信息的具体内容可参考S401中的第三指示信息,此处不再赘述。
S602:第一中继设备对第一集合进行更新,得到第二集合。
S602的具体内容可参考S502,此处不再赘述。
S603:第一中继设备发送第二通知消息。
其中,第二通知消息可包括第三指示信息。第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包。第三指示信息的具体内容可参考S401,此处不再赘述。
可选的,通过S601-S603中的方式,第一终端设备可接收来自R个中继设备中每个中继设备的第三指示信息。来自R个中继设备中每个中继设备的第三指示信息可用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包。R为正整数。
S604:第一终端设备根据来自R个中继设备中每个中继设备的第三指示信息,从R个中继设备中选择第一中继设备。
S604的具体内容可参考S402,此处不再赘述。
S605:第一终端设备向第一中继设备发送第一请求,第一请求用于请求建立第一中继设备和第一终端设备之间的单播连接。
S606:第一中继设备向第一终端设备发送第一响应,第一响应用于指示已建立第一中继设备和第一终端设备之间的单播连接。
S607:第一中继设备向第三终端设备发送第二请求,第二请求用于请求建立第一中继设备和第三终端设备之间的单播连接。
可选的,若能够与第一中继设备连接的多个终端设备均期望接收目标业务的业务数据包,第一中继设备可向该多个终端设备中的每个终端设备发送第二请求。这样,第一中继设备可与多个终端设备中的每个终端设备建立连接。
S608:第三终端设备向第一中继设备发送第二响应,第二响应用于指示已建立第一中继设备和第三终端设备之间的单播连接。
S609:第一终端设备向第一中继设备发送第三请求,第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接。
S610:第一中继设备向第三终端设备发送第三请求。
S611:第三终端设备向第一中继设备发送第三响应,第三响应用于指示已通过第一中继设备建立第一终端设备和第三终端设备之间的单播连接。
S612:第一中继设备向第一终端设备发送第三响应。
S605-612的具体内容可参考步骤E1-E5,此处不再赘述。
通过S605-S612,第一终端设备通过第一中继设备建立了第一终端设备和第三终端设备之间的端到端的单播连接。
应理解,S605-S612中以第一中继设备为例进行说明,也可以通过类似的方式,通过其他中继设备建立第一终端设备与第三终端设备之间的连接。
S613:若第一终端设备接收到来自多个中继设备的第三响应,则从多个中继设备中选择第一中继设备。也就是说,第一终端设备和第三终端设备之间存在多条非直连路径时,第一终端设备可选择一条路径进行通信。
其中,第一终端设备选择一条路径进行通信的方式可参考步骤F1-F3,此处不再赘述。
可选的,当第一终端设备和第三终端设备之间存在多条非直连路径时,在S611中,可由第三终端设备选择一条路径进行通信,具体内容可参考步骤H1-H6,此处不再赘述。 此时,S613为可选步骤。
可选的,若在S607之后,第三终端设备确定已建立第一终端设备和第三终端设备之间的直连链路,则S608-S612为可选步骤。
可选的,若在S604之后,第一终端设备确定已建立第一终端设备和第三终端设备之间的直连链路,则S605-613为可选步骤。
通过该方法,第一中继设备可广播用于指示至少一个业务的第三指示信息,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包。这样,第一终端设备在要发送目标业务的业务数据包时,可根据第三指示信息找到合适的中继设备来向期望接收目标业务的业务数据包的终端设备转发目标业务的业务数据包,从而可保证业务数据包的正确传输。
基于与图2至图6方法实施例相同的发明构思,本申请实施例通过图7提供了一种通信装置,可用于执行上述方法实施例中相关步骤的功能。所述功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。该通信装置的结构如图7所示,包括通信单元701和处理单元702。所述通信装置700可以应用于图1A所示的通信系统中的终端设备,或图1B所示的通信系统中的中继设备或源终端设备,并可以实现以上本申请实施例以及实例提供的通信方法。下面对所述通信装置700中的各个单元的功能进行介绍。
所述通信单元701,用于接收和发送数据。
可选的,所述通信单元701可以通过收发器实现,例如,移动通信模块。其中,移动通信模块可以包括至少一个天线、至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。所述AN设备可以通过所述移动通信模块与接入的终端设备进行通信。
所述处理单元702可用于支持所述通信装置700执行上述方法实施例中的处理动作。所述处理单元702可以是通过处理器实现。例如,所述处理器可以为中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
在一种实施方式中,所述通信装置700应用于图2或图5所示的本申请实施例中的第一中继设备。下面对该实施方式中的所述处理单元702的具体功能进行介绍。
所述处理单元702,用于:获取用于指示第一集合的第一指示信息,第一集合包括至少一个终端设备;确定第一集合中的每个终端设备是否能够与第一中继设备通信;通过所述通信单元701向第一终端设备发送用于指示第二集合的第二指示信息,第二集合包括第一集合中能够与第一中继设备通信的终端设备。
可选的,第二终端设备为第一集合中的任一终端设备,所述处理单元702具体用于:若接收到来自第二终端设备的第一消息,则确定第二终端设备能够与第一中继设备通信;若未接收到来自第二终端设备的第一消息,则确定第二终端设备不能与第一中继设备通信。
可选的,第一消息为以下至少一项:
第二终端设备发送的通知消息,通知消息用于第二终端设备之外的通信设备发现第二 终端设备;
第二终端设备发送的响应消息,响应消息用于响应第一中继设备发送的请求消息或单播连接建立请求,请求消息用于第一中继设备之外的通信设备发现第一中继设备,单播连接建立请求用于请求建立第一中继设备和第二终端设备之间的连接。
可选的,所述处理单元702具体用于:在确定第一集合中的每个终端设备是否能够与第一中继设备通信后的第一时间段内,通过所述通信单元701向第一终端设备发送用于指示第二集合的第二指示信息。
可选的,第二集合中的每个终端设备均具有通过中继设备与终端设备通信的能力。
可选的,所述处理单元702具体用于:在向第一终端设备发送用于指示第二集合的第二指示信息之前,获取第一集合中每个终端设备的能力指示信息,第一集合中每个终端设备的能力指示信息用于指示每个终端设备是否具有通过中继设备与终端设备通信的能力。
可选的,第二集合中每个终端设备与第一中继设备之间的信号质量大于或等于第一阈值。
可选的,第二集合中每个终端设备与第一中继设备之间的信号质量小于第二阈值,第二阈值大于第一阈值。
可选的,所述处理单元702具体用于:在确定第一集合中的每个终端设备是否能够与第一中继设备通信之后,通过通信单元701发送用于指示第二集合中每个终端设备与第一中继设备之间的信号质量的信息。
可选的,第一指示信息包括第一集合中每个终端设备的指示信息;第二指示信息包括第二集合中每个终端设备的指示信息。
在另一种实施方式中,所述通信装置700应用于图3或图5所示的本申请实施例中的第一终端设备。下面对该实施方式中的所述处理单元702的具体功能进行介绍。
所述处理单元702,用于:判断第一终端设备和第三终端设备之间是否能够建立直连链路;如果确定第一终端设备和第三终端设备之间不能建立直连链路,则根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备;第一信息包括:M个中继设备中每个中继设备与第一终端设备之间的信号质量;M为正整数;通过所述通信单元701向第一中继设备发送要发送至第三终端设备的业务数据包。
可选的,所述处理单元702具体用于:当确定第一终端设备和第三终端设备之间能够建立直连链路时,通过第一终端设备和第三终端设备之间的直连链路,通过所述通信单元701向第三终端设备发送业务数据包。
可选的,所述处理单元702具体用于:当来自第三终端设备的第二消息的信号质量小于第五阈值时,确定第一终端设备和第三终端设备之间不能建立直连链路;当来自第三终端设备的第二消息的信号质量大于或等于第五阈值时,确定第一终端设备和第三终端设备之间能够建立直连链路。
可选的,第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值;和/或,第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备。
可选的,第一信息还包括M个中继设备中每个中继设备与第三终端设备之间的信号质量,
第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备 与第三终端设备之间的信号质量大于或等于第四阈值;或者
第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备,且第一中继设备与第三终端设备之间的信号质量大于或等于第四阈值;或者
第一中继设备与第一终端设备之间的信号质量大于或等于第三阈值,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备;或者
第一中继设备为M个中继设备中与第一终端设备之间的信号质量最大的中继设备,且第一中继设备为M个中继设备中与第三终端设备之间的信号质量最大的中继设备。
可选的,所述处理单元702具体用于:在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,通过通信单元701分别接收来自M个中继设备中每个中继设备的信号质量指示信息,来自M个中继设备中每个中继设备的信号质量指示信息用于指示每个中继设备与第三终端设备之间的信号质量。
可选的,第一信息还包括M个中继设备中每个中继设备与第一终端设备之间的连接状态,第一中继设备与第一终端设备之间已建立单播连接。
可选的,所述处理单元702具体用于:在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,通过所述通信单元701分别接收来自N个中继设备中每个中继设备的指示信息,来自N个中继设备中每个中继设备的指示信息用于指示能够与每个中继设备通信的至少一个终端设备,N为正整数;根据来自N个中继设备的指示信息,确定N个中继设备中能够与第三终端设备通信的M个中继设备。
可选的,所述处理单元702具体用于:当第一终端设备未能根据第一信息从M个中继设备中选择出第一中继设备时,通过所述通信单元701向第三终端设备发送第三消息,第三消息用于请求建立第一终端设备和第三终端设备之间的直连链路。
可选的,所述处理单元702具体用于:当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备之间与第二中继设备之间的连接中断时,根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备。
可选的,所述处理单元702具体用于:在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,当第一终端设备和第二中继设备之间的连接中断,或者第三终端设备与第二中继设备之间的连接中断时,释放第一终端设备和第三终端设备之间的第一连接,第一连接为第一终端设备和第三终端设备之间的端到端连接。
在又一种实施方式中,所述通信装置700应用于图4或图6所示的本申请实施例中的第一中继设备。下面对该实施方式中的所述处理单元702的具体功能进行介绍。
所述处理单元702,用于:通过所述通信单元701向第一终端设备发送第三指示信息,第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包;通过所述通信单元701接收来自第一终端设备的目标业务的业务数据包,至少一个业务包括目标业务;通过所述通信单元701向第三终端设备发送目标业务的业务数据包,第三终端设备为能够与第一中继设备通信的P个终端设备中期望接收目标业务的业务数据包的终端设备,P为正整数。
可选的,在接收来自第一终端设备的目标业务的业务数据包之前,所述处理单元702具体用于:通过所述通信单元701接收来自第一终端设备的第一请求,第一请求用于请求建立第一中继设备和第一终端设备之间的单播连接,第一请求中包含目标业务的指示信息; 根据目标业务的指示信息,从P个终端设备中确定出第三终端设备;通过所述通信单元701向第三终端设备发送第二请求,第二请求用于请求通过建立第一中继设备和第三终端设备之间的单播连接;通过所述通信单元701接收来自第一终端设备的第三请求,第三请求用于请求建立第一终端设备和第三终端设备之间的端到端的单播连接;通过所述通信单元701向第三终端设备发送第三请求。
可选的,所述处理单元702具体用于:在向第一终端设备发送第三指示信息之前,通过所述通信单元701分别接收来自P个终端设备中每个终端设备的指示信息,P个终端设备中每个终端设备的指示信息用于指示Q个业务,Q个业务中每个业务的业务数据包为每个终端设备期望接收的业务数据包,Q为正整数。
在再一种实施方式中,所述通信装置700应用于图4或图6所示的本申请实施例中的第一终端设备。下面对该实施方式中的所述处理单元702的具体功能进行介绍。
所述处理单元702,用于:通过所述通信单元701分别接收来自R个中继设备中每个中继设备的第三指示信息,来自R个中继设备中每个中继设备的第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包,R为正整数;根据来自R个中继设备中每个中继设备的第三指示信息,从R个中继设备中选择第一中继设备,第一中继设备能够与期望接收目标业务的业务数据包的第三终端设备通信;通过所述通信单元701向第一中继设备发送目标业务的业务数据包。
可选的,R个中继设备中还包括第四中继设备,第四中继设备能够与第三终端设备通信,所述处理单元702具体用于:通过所述通信单元701接收来自第一中继设备的第三响应,第三响应用于指示通过第一中继设备建立了第一终端设备和第三终端设备之间的第二连接;通过所述通信单元701接收来自第四中继设备的第四响应,第四响应用于指示通过第四中继设备建立了第一终端设备和第三终端设备之间的第三连接;当第二连接的信号质量大于或等于第三连接的信号质量时,通过所述通信单元701向第一中继设备发送目标业务的业务数据包。
需要说明的是,本申请以上实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
基于相同的技术构思,本申请实施例通过图8所示提供了一种通信设备,可用于执行上述方法实施例中相关的步骤。所述通信设备可以应用于图1A所示的通信系统中的终端设备,或图1B所示的通信系统中的中继设备或源终端设备,可以实现以上本申请实施例以及实例提供的通信方法,具有图7所示的通信装置的功能。参阅图8所示,所述通信设备800包括:通信模块801、处理器802以及存储器803。其中,所述通信模块801、所述处理器802以及所述存储器803之间相互连接。
可选的,所述通信模块801、所述处理器802以及所述存储器803之间通过总线804相互连接。所述总线804可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
所述通信模块801,用于接收和发送数据,实现与其他设备之间的通信交互。例如,所述通信模块801可以通过物理接口、通信模块、通信接口、输入输出接口实现。
所述处理器802可用于支持所述通信设备800执行上述方法实施例中的处理动作。当所述通信设备800用于实现上述方法实施例时,处理器802还可用于实现上述处理单元702的功能。所述处理器802可以是CPU,还可以是其它通用处理器、DSP、ASIC、FPGA或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
在一种实施方式中,所述通信设备800应用于图2或图5所示的本申请实施例中的第一中继设备。所述处理器802具体用于:获取用于指示第一集合的第一指示信息,第一集合包括至少一个终端设备;确定第一集合中的每个终端设备是否能够与第一中继设备通信;通过所述通信模块801向第一终端设备发送用于指示第二集合的第二指示信息,第二集合包括第一集合中能够与第一中继设备通信的终端设备。
在另一种实施方式中,所述通信设备800应用于图3或图5所示的本申请实施例中的第一终端设备。所述处理器802具体用于:判断第一终端设备和第三终端设备之间是否能够建立直连链路;如果确定第一终端设备和第三终端设备之间不能建立直连链路,则根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备;第一信息包括:M个中继设备中每个中继设备与第一终端设备之间的信号质量;M为正整数;通过所述通信模块801向第一中继设备发送要发送至第三终端设备的业务数据包。
在又一种实施方式中,所述通信设备800应用于图4或图6所示的本申请实施例中的第一中继设备。所述处理器802具体用于:通过所述通信模块801向第一终端设备发送第三指示信息,第三指示信息用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与第一中继设备通信的至少一个终端设备期望接收的业务数据包;通过所述通信模块801接收来自第一终端设备的目标业务的业务数据包,至少一个业务包括目标业务;通过所述通信模块801向第三终端设备发送目标业务的业务数据包,第三终端设备为能够与第一中继设备通信的P个终端设备中期望接收目标业务的业务数据包的终端设备,P为正整数。
在再一种实施方式中,所述通信设备800应用于图4或图6所示的本申请实施例中的第一终端设备。所述处理器802具体用于:通过所述通信模块801分别接收来自R个中继设备中每个中继设备的第三指示信息,来自R个中继设备中每个中继设备的第三指示信息 用于指示至少一个业务,至少一个业务中每个业务的业务数据包为能够与每个中继设备通信的至少一个终端设备期望接收的业务数据包,R为正整数;根据来自R个中继设备中每个中继设备的第三指示信息,从R个中继设备中选择第一中继设备,第一中继设备能够与期望接收目标业务的业务数据包的第三终端设备通信;通过所述通信模块801向第一中继设备发送目标业务的业务数据包。
所述处理器802的具体功能可以参考以上本申请实施例以及实例提供的通信方法中的描述,以及图7所示本申请实施例中对所述通信装置700的具体功能描述,此处不再赘述。
所述存储器803,用于存放程序指令和数据等。具体地,程序指令可以包括程序代码,该程序代码包括计算机操作指令。存储器803可能包含RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。处理器802执行存储器803所存放的程序指令,并使用所述存储器803中存储的数据,实现上述功能,从而实现上述本申请实施例提供的通信方法。
可以理解,本申请图8中的存储器803可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是RAM,其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
基于以上实施例,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以上实施例提供的方法。
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行以上实施例提供的方法。
其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现以上实施例提供的方法。
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现以上实施例中各设备所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
综上所述,本申请实施例提供了一种通信方法、装置及设备,在该方法中,在确定第 一集合中的每个终端设备是否能够与第一中继设备通信后,第一中继设备可向第一终端设备发送用于指示第二集合的第二指示信息,第二集合包括第一集合中能够与第一中继设备通信的终端设备。通过该方法,可提高第一中继设备发送的信息的准确性;这样,第一终端设备可根据准确的第二指示信息选择第一中继设备来进行终端设备之间的通信,从而可提高终端设备之间的通信质量。
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (26)

  1. 一种通信方法,应用于第一中继设备,其特征在于,包括:
    获取用于指示第一集合的第一指示信息,所述第一集合包括至少一个终端设备;
    确定所述第一集合中的每个终端设备是否能够与所述第一中继设备通信;
    向第一终端设备发送用于指示第二集合的第二指示信息,所述第二集合包括所述第一集合中能够与所述第一中继设备通信的终端设备。
  2. 如权利要求1所述的方法,其特征在于,确定所述第一集合中的每个终端设备是否能够与所述第一中继设备通信,包括:
    第二终端设备为所述第一集合中的任一终端设备,若接收到来自所述第二终端设备的第一消息,则确定所述第二终端设备能够与所述第一中继设备通信;若未接收到来自所述第二终端设备的第一消息,则确定所述第二终端设备不能与所述第一中继设备通信。
  3. 如权利要求2所述的方法,其特征在于,所述第一消息为以下至少一项:
    所述第二终端设备发送的通知消息,所述通知消息用于所述第二终端设备之外的通信设备发现所述第二终端设备;
    所述第二终端设备发送的响应消息,所述响应消息用于响应所述第一中继设备发送的请求消息或单播连接建立请求,所述请求消息用于所述第一中继设备之外的通信设备发现所述第一中继设备,所述单播连接建立请求用于请求建立所述第一中继设备和所述第二终端设备之间的连接。
  4. 如权利要求1-3任一项所述的方法,其特征在于,向第一终端设备发送用于指示第二集合的第二指示信息,包括:
    在确定所述第一集合中的每个终端设备是否能够与所述第一中继设备通信后的第一时间段内,向所述第一终端设备发送用于指示所述第二集合的所述第二指示信息。
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述第二集合中的每个终端设备均具有通过中继设备与终端设备通信的能力。
  6. 如权利要求5所述的方法,其特征在于,在向第一终端设备发送用于指示第二集合的第二指示信息之前,所述方法还包括:
    获取所述第一集合中每个终端设备的能力指示信息,所述第一集合中每个终端设备的能力指示信息用于指示所述每个终端设备是否具有通过中继设备与终端设备通信的能力。
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述第二集合中每个终端设备与所述第一中继设备之间的信号质量大于或等于第一阈值。
  8. 如权利要求7所述的方法,其特征在于,所述第二集合中每个终端设备与所述第一中继设备之间的信号质量小于第二阈值,所述第二阈值大于所述第一阈值。
  9. 如权利要求1-8任一项所述的方法,其特征在于,在确定所述第一集合中的每个终端设备是否能够与所述第一中继设备通信之后,所述方法还包括:
    发送用于指示所述第二集合中每个终端设备与所述第一中继设备之间的信号质量的信息。
  10. 如权利要求1-9任一项所述的方法,其特征在于,所述第一指示信息包括所述第一集合中每个终端设备的指示信息;所述第二指示信息包括所述第二集合中每个终端设备的指示信息。
  11. 一种通信方法,应用于第一终端设备,其特征在于,包括:
    判断所述第一终端设备和第三终端设备之间是否能够建立直连链路;
    如果确定所述第一终端设备和所述第三终端设备之间不能建立直连链路,则根据第一信息,从能够与所述第三终端设备通信的M个中继设备中选择第一中继设备;所述第一信息包括:所述M个中继设备中每个中继设备与所述第一终端设备之间的信号质量;M为正整数;
    向所述第一中继设备发送要发送至所述第三终端设备的业务数据包。
  12. 如权利要求11所述的方法,其特征在于,所述方法还包括:
    如果确定所述第一终端设备和所述第三终端设备之间能够建立直连链路,则通过所述第一终端设备和所述第三终端设备之间的直连链路,向所述第三终端设备发送所述业务数据包。
  13. 如权利要求11或12所述的方法,其特征在于,判断所述第一终端设备和第三终端设备之间是否能够建立直连链路,包括:
    当来自所述第三终端设备的第二消息的信号质量小于第五阈值时,确定所述第一终端设备和所述第三终端设备之间不能建立直连链路;
    当来自所述第三终端设备的第二消息的信号质量大于或等于所述第五阈值时,确定所述第一终端设备和所述第三终端设备之间能够建立直连链路。
  14. 如权利要求11-13任一项所述的方法,其特征在于,
    所述第一中继设备与所述第一终端设备之间的信号质量大于或等于第三阈值;和/或,
    所述第一中继设备为所述M个中继设备中与所述第一终端设备之间的信号质量最大的中继设备。
  15. 如权利要求11-14任一项所述的方法,其特征在于,所述第一信息还包括所述M个中继设备中每个中继设备与所述第三终端设备之间的信号质量,
    所述第一中继设备与所述第一终端设备之间的信号质量大于或等于第三阈值,且所述第一中继设备与所述第三终端设备之间的信号质量大于或等于第四阈值;或者
    所述第一中继设备为所述M个中继设备中与所述第一终端设备之间的信号质量最大的中继设备,且所述第一中继设备与所述第三终端设备之间的信号质量大于或等于第四阈值;或者
    所述第一中继设备与所述第一终端设备之间的信号质量大于或等于第三阈值,且所述第一中继设备为所述M个中继设备中与所述第三终端设备之间的信号质量最大的中继设备;或者
    所述第一中继设备为所述M个中继设备中与所述第一终端设备之间的信号质量最大的中继设备,且所述第一中继设备为所述M个中继设备中与所述第三终端设备之间的信号质量最大的中继设备。
  16. 如权利要求15所述的方法,其特征在于,在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,所述方法还包括:
    分别接收来自所述M个中继设备中每个中继设备的信号质量指示信息,来自所述M个中继设备中每个中继设备的信号质量指示信息用于指示所述每个中继设备与所述第三终端设备之间的信号质量。
  17. 如权利要求11-16任一项所述的方法,其特征在于,所述第一信息还包括所述M个 中继设备中每个中继设备与所述第一终端设备之间的连接状态,所述第一中继设备与所述第一终端设备之间已建立单播连接。
  18. 如权利要求11-17任一项所述的方法,其特征在于,在根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备之前,所述方法还包括:
    分别接收来自N个中继设备中每个中继设备的指示信息,来自所述N个中继设备中每个中继设备的指示信息用于指示能够与所述每个中继设备通信的至少一个终端设备,N为正整数;
    根据来自所述N个中继设备的指示信息,确定所述N个中继设备中能够与所述第三终端设备通信的所述M个中继设备。
  19. 如权利要求11-18任一项所述的方法,其特征在于,所述方法还包括:
    当所述第一终端设备未能根据所述第一信息从所述M个中继设备中选择出所述第一中继设备时,向所述第三终端设备发送第三消息,所述第三消息用于请求建立所述第一终端设备和所述第三终端设备之间的直连链路。
  20. 如权利要求11-19任一项所述的方法,其特征在于,根据第一信息,从能够与第三终端设备通信的M个中继设备中选择第一中继设备,包括:
    当所述第一终端设备和第二中继设备之间的连接中断,或者所述第三终端设备之间与所述第二中继设备之间的连接中断时,根据所述第一信息,从能够与所述第三终端设备通信的所述M个中继设备中选择所述第一中继设备。
  21. 如权利要求20所述的方法,其特征在于,在根据所述第一信息,从能够与所述第三终端设备通信的所述M个中继设备中选择所述第一中继设备之前,所述方法还包括:
    当所述第一终端设备和所述第二中继设备之间的连接中断,或者所述第三终端设备与所述第二中继设备之间的连接中断时,释放所述第一终端设备和所述第三终端设备之间的第一连接,所述第一连接为所述第一终端设备和所述第三终端设备之间的端到端连接。
  22. 一种通信装置,其特征在于,包括通信单元和处理单元:
    所述通信单元,用于输入和/或输出信令或数据;
    所述处理单元用于通过通信单元:执行权利要求1-10任一项所述的方法,或执行权利要求11-21任一项所述的方法。
  23. 一种通信设备,其特征在于,包括通信模块和处理器:
    所述通信模块,用于输入和/或输出信令或数据;
    所述处理器,用于执行计算机可执行程序,使得权利要求1-10任一项所述的方法被执行,或使得权利要求11-21任一项所述的方法被执行。
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令在被计算机调用时,使得权利要求1-10任一项所述的方法被执行,或使得权利要求11-21任一项所述的方法被执行。
  25. 一种芯片,其特征在于,所述芯片与存储器耦合,所述芯片读取所述存储器中存储的计算机程序,执行如权利要求1-10任一项所述的方法,或执行如权利要求11-21任一项所述的方法。
  26. 一种通信系统,其特征在于,包括用于执行权利要求1-10任一项所述的方法的通信装置,以及执行权利要求11-21任一项所述的方法的通信装置。
PCT/CN2023/097120 2022-08-04 2023-05-30 一种通信方法、装置及设备 WO2024027313A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210933680.7A CN117560738A (zh) 2022-08-04 2022-08-04 一种通信方法、装置及设备
CN202210933680.7 2022-08-04

Publications (1)

Publication Number Publication Date
WO2024027313A1 true WO2024027313A1 (zh) 2024-02-08

Family

ID=89811607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/097120 WO2024027313A1 (zh) 2022-08-04 2023-05-30 一种通信方法、装置及设备

Country Status (2)

Country Link
CN (1) CN117560738A (zh)
WO (1) WO2024027313A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451282A (zh) * 2014-08-22 2016-03-30 电信科学技术研究院 一种中继终端重选的方法及设备
CN106888494A (zh) * 2015-12-15 2017-06-23 上海贝尔股份有限公司 一种用于选择中继ue的方法、装置和系统
CN110461020A (zh) * 2019-08-16 2019-11-15 展讯通信(上海)有限公司 用于辅链路的中继选择方法及装置、存储介质、终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451282A (zh) * 2014-08-22 2016-03-30 电信科学技术研究院 一种中继终端重选的方法及设备
CN106888494A (zh) * 2015-12-15 2017-06-23 上海贝尔股份有限公司 一种用于选择中继ue的方法、装置和系统
CN110461020A (zh) * 2019-08-16 2019-11-15 展讯通信(上海)有限公司 用于辅链路的中继选择方法及装置、存储介质、终端

Also Published As

Publication number Publication date
CN117560738A (zh) 2024-02-13

Similar Documents

Publication Publication Date Title
US11737051B2 (en) System information transmission method and apparatus
WO2020164355A1 (zh) Bwp切换方法及通信装置
US9998879B2 (en) Apparatus, system and method of communicating traffic to a plurality of wireless devices
WO2020156163A1 (zh) 一种侧行链路资源的配置方法、装置及设备
US20220070972A1 (en) Method and Apparatus for Platoon-Based Communications
CN111096057A (zh) 无线电网络节点、无线设备以及在其中执行的方法
WO2017024909A1 (zh) 一种进行数据传输的方法和设备
WO2013091135A1 (en) Method and apparatus for facilitating gateway selection
WO2022082754A1 (zh) 一种通信方法及装置
KR102325916B1 (ko) 이동 통신 시스템에서의 사용자 장비와 기지국을 위한 시스템, 차량, 장치, 방법, 및 컴퓨터 프로그램
US20210360504A1 (en) Method and apparatus for mobility optimization
WO2022027656A1 (zh) 一种侧行链路通信中链路切换的方法及装置
WO2021134577A1 (zh) 一种数据传输方法及装置
WO2021081898A1 (zh) 通信方法和通信装置
WO2022206660A1 (zh) 一种干扰处理的方法,相关装置以及设备
WO2024027313A1 (zh) 一种通信方法、装置及设备
WO2022021811A1 (zh) 无线通信方法、终端设备和网络设备
WO2021248456A1 (zh) 无线通信的方法及设备
WO2020164636A1 (zh) 设备发现方法、装置及系统
JP2023541109A (ja) 通信方法及び装置、及び、読み取り可能な記憶媒体
WO2017041293A1 (zh) 一种d2d的数据传输方法、设备及系统
WO2022104679A1 (zh) 一种中继终端装置选择的方法、数据传输的方法以及装置
WO2024001792A1 (zh) 无线中继通信方法和通信装置
WO2024051517A1 (zh) 一种通信方法及相关装置
WO2023216791A1 (zh) 一种定位方法、装置、存储介质及芯片

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23849023

Country of ref document: EP

Kind code of ref document: A1