WO2023185841A1 - Method and apparatus for selecting relay user equipment, and user equipment and storage medium - Google Patents

Method and apparatus for selecting relay user equipment, and user equipment and storage medium Download PDF

Info

Publication number
WO2023185841A1
WO2023185841A1 PCT/CN2023/084386 CN2023084386W WO2023185841A1 WO 2023185841 A1 WO2023185841 A1 WO 2023185841A1 CN 2023084386 W CN2023084386 W CN 2023084386W WO 2023185841 A1 WO2023185841 A1 WO 2023185841A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
terminal
layer
remote terminal
connection
Prior art date
Application number
PCT/CN2023/084386
Other languages
French (fr)
Chinese (zh)
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 WO2023185841A1 publication Critical patent/WO2023185841A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management

Definitions

  • the present application belongs to the field of communication technology, and specifically relates to a relay terminal selection method, device, terminal and storage medium.
  • Proximity-based Services as a short-distance direct communication technology, is the name of the business that implements Device-to-Device (D2D) communication technology. Direct communication between devices reduces the load on service base stations.
  • ProSe is combined with the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) to propose a 5G-supported ProSe architecture that supports PC5-based terminal direct discovery function, as well as three types of unicast, broadcast and group-level communication Direct communication capabilities, while supporting single-hop relay through the terminal to the network and PC5/Uu path selection policy.
  • 5G fifth generation mobile communication technology
  • the terminal determines whether to use the layer 3 (L3) relay service according to the UE Route Selection Policy (URSP).
  • URSP UE Route Selection Policy
  • the terminal passes the 5G ProSe layer 3 terminal to network relay terminal (layer-3UE-to-network relay UE) relays the UE's data to the network.
  • the terminal is also called a 5G layer 3 remote terminal (layer-3remote UE).
  • the terminal determines whether to use the L3 relay service based on the URSP.
  • the existing technology has not yet clarified the solution for the above situation, so it may affect the transmission of the terminal data, causing the terminal to Data transmission reliability is relatively poor.
  • Embodiments of the present application provide a relay terminal selection method, device, terminal and storage medium. It provides a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
  • a relay terminal selection method which method includes:
  • the remote terminal When the remote terminal fails to establish a relay connection for the short-range communication service, it performs a first operation, wherein the first operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • a relay terminal selection device including:
  • the first processing module is configured to perform a first operation when the relay connection of the near-field communication service of the remote terminal fails to be established, wherein the first operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • a terminal in a third aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor, the following implementations are implemented: The steps of the method described in one aspect.
  • a terminal including a processor and a communication interface, wherein the processor is configured to perform the first operation when the relay connection of the short-range communication service fails to be established, wherein the third operation
  • An operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • a system for selecting a relay terminal including: a terminal and a network side device.
  • the terminal may be configured to perform the steps of the method for selecting a relay terminal as described in the first aspect.
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
  • a chip in a seventh aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first party's The steps of the method described above.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect Method steps.
  • the remote terminal when the remote terminal fails to establish a relay connection for the short-range communication service, it performs a first operation, wherein the first operation includes at least one of the following: starting a first timer, The first timer is used to time the relevant process of establishing the relay connection; based on the first time, the discovery process of the relay terminal of the short-range communication service is stopped based on the first time, the first time is the number allowed by the remote terminal. The maximum number of failures to establish a relay connection.
  • the embodiments of the present application provide a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
  • Figure 1 is a block diagram of a wireless communication system applicable to the embodiment of the present application.
  • FIG. 2 is a block diagram of another wireless communication system to which the embodiment of the present application is applicable;
  • Figure 3 is a flow chart of a relay terminal selection method provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a relay terminal selection device provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects Usually one type, The number of objects is not limited. For example, the first object may be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • MID mobile Internet Device
  • AR augmented reality
  • VR virtual reality
  • robots wearable devices
  • WUE Vehicle User Equipment
  • PUE Pedestrian User Equipment
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • game consoles personal computers (personal computer, PC), teller machine or self-service machine and other terminal-side devices.
  • Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets) bracelets, smart anklets, etc.), smart wristbands, smart clothing, etc.
  • the network side device 12 may include access network equipment or core network equipment, where, Access network equipment may also be called radio access network equipment, radio access network (Radio Access Network, RAN), radio access network function or radio access network unit. Access network equipment may include a base station, a Wireless Local Area Network (WLAN) access point or a WiFi node, etc.
  • WLAN Wireless Local Area Network
  • the base station may be called a Node B, an Evolved Node B (eNB), an access point, a base transceiver station ( Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B-node, home evolved B-node, transmitting and receiving point ( Transmitting Receiving Point (TRP) or some other appropriate terminology in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of this application, only in the NR system The base station is introduced as an example, and the specific type of base station is not limited.
  • FIG. 2 is a schematic diagram of a scenario that supports the UE-to-Network Relay mechanism in NR.
  • the remote terminal (Remote UE) needs to transmit data with the network side, but due to poor coverage, the relay terminal cannot be found.
  • (Relay UE) is the relay, where the Uu interface is between the relay terminal and the base station, and the sidelink (PC5) interface is between the relay terminal and the remote terminal.
  • each terminal is configured with a certain number of URSPs.
  • Each URSP rule includes 3 parts: (1) Priority information; (2) Traffic Descriptor (TD); (3) Routing description Descriptor (Route selection descriptor, RSD).
  • the URSP rule with the highest priority if the TD matches the description of the current service (traffic), the terminal continues to match the RSD.
  • Each RSD also includes a priority. The terminal continues matching according to the priority of the RSD, and then establishes a protocol data unit (Protocol Data Unit, PDU) session corresponding to the parameters based on the matched RSD parameters.
  • PDU Protocol Data Unit
  • the remote terminal determines whether to use the L3 relay service according to the URSP, that is, whether to relay the remote terminal through the 5G ProSe layer-3 UE-to-network relay UE.
  • the terminal's data is provided to the network.
  • the remote terminal can also be called a 5G layer-3 remote terminal (5G layer-3remote UE).
  • the logic for the remote terminal to match the URSP and use the L3 relay service is: (1) Confirm whether the TD matches the application information; (2) Find the highest priority RSD that has not been matched in the RSD Match; (3) When matching according to RSD priority, if the current (highest level) RSD contains an offload indication, and the remote terminal is authorized as a layer 3 remote terminal (L3remote UE), Then the remote terminal instructs the upper layer to stop selecting the next RSD.
  • the above matching logic has the following problems: when the remote terminal cannot find a suitable 5G ProSe UE-to-Network layer-3relay UE (for example, the terminal to network (UE to Network, U2N) relay discovery (discoevry) process fails, Or, the U2N relay selection process fails, or there is no suitable L3U2N relay UE near the remote terminal), the remote terminal may be unable to transmit the data that needs to be transmitted. Possible reasons for the inability to transmit data are: the remote terminal There is no suitable L3 relay terminal nearby, and the remote terminal repeatedly performs the discovery process of the L3 relay terminal but always fails.
  • UE UE to Network
  • the remote terminal can discover the Layer 3 relay terminal by executing a discovery process of the Layer 3 ProSe based relay terminal. Further, after discovering the layer 3 relay terminal, the remote terminal can establish a PC5 connection with the layer 3 relay terminal, thereby establishing a relay connection from the remote terminal to the network based on the layer 3 relay terminal.
  • the PC5 connection with the layer 3 relay terminal fails to be established, the discovery process of the relay terminal based on the layer 3 ProSe service and the establishment of the PC5 connection with the layer 3 relay terminal can be repeated.
  • the relay connection from the terminal to the network based on the layer 3 relay terminal is sometimes also referred to as the relay connection based on the layer 3 relay terminal.
  • the remote terminal can discover the relay terminal of Layer 2 by executing a discovery process of the relay terminal based on the Layer 2 near-field communication service. Further, after discovering the layer 2 relay terminal, the remote terminal can establish a PC5 connection with the layer 2 relay terminal, thereby establishing a relay connection from the remote terminal to the network based on the layer 2 relay terminal.
  • the relay connection from the terminal to the network based on the layer 2 relay terminal is sometimes also referred to as the relay connection based on the layer 2 relay terminal.
  • the process of discovering the relay terminal based on the layer 2 ProSe service and establishing the PC5 connection with the layer 2 relay terminal can be repeated.
  • the discovery process of a relay terminal that performs a near-field communication service may include: performing a discovery process of a relay terminal that performs a layer-2-based near-field communication service, and/or performing a layer-3-based near-field communication process.
  • Relay connections for near field communication services may include A terminal-to-network relay connection based on a layer 3 relay terminal, and/or a terminal-to-network relay connection based on a layer 2 relay terminal.
  • Figure 3 is a flow chart of a relay terminal selection method provided by an embodiment of the present application. The method is executed by a remote terminal. As shown in Figure 3, the method includes the following steps:
  • Step 301 If the remote terminal fails to establish a relay connection for the short-range communication service, perform a first operation, where the first operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • the remote terminal can discover the relay terminal by executing the discovery process of the relay terminal of the short-range communication service, and then establish the PC5 connection with the relay terminal to establish the short-range communication service.
  • the relay connection of the short-range communication service may include: a relay connection from a terminal to the network based on a layer 3 relay terminal, and/or a relay connection from a terminal to the network based on a layer 2 relay terminal.
  • the remote terminal fails to establish a relay connection of the near field communication service, the remote terminal performs the first operation: for example, starting a first timer to perform a related process for establishing a relay connection.
  • the related process for establishing a relay connection may specifically include a discovery process of a relay terminal based on layer 2/layer 3 short-range communication services, establishing a PC5 connection with a layer 2/layer 3 relay terminal, etc.
  • the remote terminal can count the number of failures in establishing the relay connection during the process of establishing the relay connection of the short-range communication service. When the number of failures reaches the first number, the execution stops. Discovery process of relay terminals for short-range communication services.
  • the embodiment of the present application provides a processing solution for the remote terminal when it fails to establish a relay connection for the short-range communication service.
  • the remote terminal can stop executing the short-range communication based on the first timer or the first count.
  • the discovery process of the relay terminal of the communication service so that the remote terminal can subsequently try to establish a relay connection to the network by executing other processes, which is beneficial to improving the reliability of terminal data transmission.
  • the first timer may include a layer 3 timer, and the layer 3 timer is specifically used to time related processes of establishing a relay connection based on a layer 3 relay terminal.
  • the related process of establishing a relay connection based on the layer 3 relay terminal may specifically include: performing a discovery process of the relay terminal based on the layer 3 short-range communication service, establishing a PC5 connection with the layer 3 relay terminal, and after establishing the When the PC5 connection fails, the discovery process of the relay terminal based on the layer 3 short-range communication service is re-executed. After the layer 3 timer expires, the remote terminal may stop performing the discovery process of the relay terminal based on the layer 3 short-range communication service.
  • the first timer may include a layer 2 timer, and the layer 2 timer is specifically used to time related processes of establishing a relay connection based on a layer 2 relay terminal.
  • the relevant process of establishing a relay connection based on the layer 2 relay terminal may specifically include: performing a discovery process of the relay terminal based on the layer 2 near field communication service, establishing a PC5 connection with the layer 2 relay terminal, and establishing the When the PC5 connection fails, the discovery process of the relay terminal based on the Layer 2 short-range communication service is re-executed, etc.
  • the remote terminal may stop performing the discovery process of the relay terminal based on the layer 2 near field communication service.
  • the above implementation methods provide specific timing methods for layer 3 and layer 2 timers respectively, so that after the timer expires, relevant operations can be triggered to avoid or reduce the impact on terminal data transmission caused by staying in the discovery process for a long time. adverse effects, thereby improving the reliability of terminal data transmission.
  • the first number includes a layer 3 threshold
  • the layer 3 threshold is the maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
  • the remote terminal stops performing the discovery process of the relay terminal of the near-field communication service. Specifically, it stops The discovery process of the relay terminal based on the Layer 3 near field communication service is performed.
  • the first number includes a layer 2 threshold
  • the layer 2 threshold is the maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
  • the remote terminal stops performing the discovery process of the relay terminal of the near-field communication service. Specifically, it stops The discovery process of the relay terminal of the Layer 2 based near field communication service is performed.
  • the above embodiment provides layer 3 and layer 2 thresholds respectively for the first number, thereby providing an implementation method for ending the discovery process for layer 3/layer 2 relay terminals, so that the terminal can stop the discovery process in a timely manner. Avoid or reduce the adverse impact on terminal data transmission caused by staying in the discovery process for a long time, thereby improving the reliability of terminal data transmission.
  • the expiration time and/or the first time number of the first timer is that the remote terminal can Determined based on at least one of the following:
  • the expiration time of the first timer/first timer can be set larger.
  • the expiration time of the first time/first timer can be set larger.
  • the expiration time of a timer can be set smaller.
  • the corresponding first time number/first timer expiration time can be set in advance for different service types, and then the currently adopted first time number/first timer is determined according to the specific service type. expiry time.
  • QoS Quality of Service
  • the expiration time of the first timer/first timer can be set smaller.
  • the first time/expiration time of the first timer can be set smaller.
  • the expiration time of a timer can be set larger.
  • relevant parameter policy information can be configured for short-range services, such as delay requirements, reliability requirements and other indicators. Then, based on the parameter policy information related to short-range services, the first number/first timer is determined. Expire date.
  • the above implementation method sets the first number or the expiration time of the first timer according to factors such as the remote terminal's own hardware capabilities, service type, QoS requirements or parameter policy information related to short-range services, so that the first timer expiration time can be set according to the above factors. , flexibly adjust the first number or the expiration time of the first timer to meet the needs of different terminals, business types or strategies.
  • the remote terminal may stop the announcing UE (announcement UE) process for terminal-to-network relay discovery to save power consumption.
  • the maximum number of UEs or a timer can be set, and the aforementioned UE announcement process can be stopped when the maximum number of UEs or the timer times out.
  • the remote terminal when it matches one or more URSPs, it may trigger the relay discovery process. If the PC5 connection fails to be established, the next RSD will be matched.
  • the remote terminal when the relay connection of the short-range communication service includes a terminal-to-network relay connection based on a layer 3 relay terminal, the remote terminal The first operation performed may also include at least one of the following:
  • the remote terminal can re-match the URSP rules to re-determine whether to use the L3 relay service. For example, since it usually takes a certain amount of time to establish a relay connection for short-range communication services, when the previous relay connection failed to be established, because a period of time has passed, the location or channel environment of the remote terminal or relay terminal may have changed. changes so the URSP rules can be rematched to continue trying to establish a relay connection.
  • the remote terminal can also try to establish a Layer 3 relay connection based on the Layer 2 relay terminal. relay connection to the terminal.
  • the remote terminal can perform a discovery process of the relay terminal based on the layer 2 near field communication service to discover the layer 2 relay terminal. Further, after discovering the layer 2 relay terminal, the remote terminal can also establish a PC5 connection with the layer 2 relay terminal.
  • the remote terminal may have identified its surrounding Layer 2 relay terminals. At this time, the remote terminal does not need to perform the discovery process of relay terminals based on Layer 2 near-field communication services. A PC5 connection is established directly with the layer 2 relay terminal.
  • the embodiment of the present application can re-match the URSP rules when establishing a relay connection based on the layer 3 relay terminal, or establish a relay connection based on the layer 2 relay terminal to establish the relay as soon as possible. connection to ensure data transmission from the remote terminal.
  • the remote terminal executes The first operation may also include at least one of the following:
  • the remote terminal can also try to establish a relay connection based on a layer 3 relay terminal. relay connection to the terminal.
  • the remote terminal can perform a discovery process of the relay terminal based on the layer 3 near field communication service to discover the layer 3 relay terminal. Further, after discovering the layer 3 relay terminal, the remote terminal can also establish a PC5 connection with the layer 3 relay terminal.
  • the remote terminal may have identified its surrounding Layer 3 relay terminals. At this time, the remote terminal no longer needs to perform discovery of relay terminals based on Layer 3 short-range communication services. process, but directly establishes a PC5 connection with the layer 3 relay terminal.
  • the embodiment of the present application can try to establish a relay connection based on the layer 3 relay terminal when establishing a relay connection based on the layer 2 relay terminal, so as to establish the relay connection as soon as possible and ensure that the remote terminal data transmission.
  • the remote terminal when the remote terminal fails to establish a relay connection of the short-range communication service, it may include: the remote terminal fails to perform the second operation.
  • the second operation may include at least one of the following:
  • the discovery process of the relay terminal that performs the near-field communication service may specifically include: the discovery process of the relay terminal that performs the near-field communication service based on layer 3, and/or the discovery process of the relay terminal that performs the near-field communication service based on layer 2.
  • Discovery process of relay terminals The above process fails. Specifically, the discovery process may be executed but the relay terminal cannot be discovered.
  • selecting a relay terminal for the near-field communication service may include: selecting a layer 2 relay terminal for the near-field communication service, and/or selecting a layer 3 relay terminal for the near-field communication service.
  • the selection of the relay terminal fails. Specifically, although there is a relay terminal, the relay terminal that meets the preset conditions cannot be selected.
  • establishing a PC5 connection with the relay terminal of the near field communication service may include: establishing a PC5 connection with the layer 3 relay terminal of the near field communication service, and/or establishing a PC5 connection with the layer 2 relay terminal of the near field communication service.
  • the remote terminal can activate the PC5 connection to activate the relay connection of the remote terminal to the network. If the activation request is rejected, or no response is received, the activation can be considered failed.
  • the method may further include: the remote terminal successfully matches the first RSD of the first URSP rule.
  • the remote terminal needs to send data of a certain service at its application layer, it will match the URSP rules in order of priority.
  • the remote terminal continues to match each RSD under the first URSP rule in the order of priority of the RSDs. It is assumed that the first RSD includes a short-distance layer 3 terminal.
  • the remote terminal To the network relay offload indication (5G ProSe layer-3 UE-to-network relay offload indication), and the remote terminal is authorized as a layer 3 remote terminal (L3 remote UE), it is determined that the first URSP is successfully matched.
  • the first RSD of the rules At this time, the remote terminal can perform a discovery process of a relay terminal based on the layer 3 near-field communication service according to the parameters of the first RSD to establish a relay connection of the near-field communication service.
  • the remote terminal may also perform a third operation based on the first condition.
  • the first condition may specifically include at least one of the following:
  • the third operation includes at least one of the following:
  • the remote terminal determines whether the first condition is met, and if so, performs the above third operation, thereby continuing to match the URSP rules or the RSDs therein, so as to Establish a relay connection with the layer 3 relay terminal to realize the service data transmission of the remote terminal and ensure the reliability of data transmission of the remote terminal.
  • the execution subject may be a relay terminal selection device.
  • the selection device of the relay terminal performs the selection method of the relay terminal as an example to illustrate the selection device of the relay terminal provided by the embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a relay terminal selection device provided by an embodiment of the present application. This device can be applied to a remote terminal. As shown in Figure 4, the relay terminal selection device 400 include:
  • the first processing module 401 is configured to perform a first operation when the relay connection of the near-field communication service of the remote terminal fails to be established, wherein the first operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • the first timer includes a Layer 3 timer
  • the first processing module is also configured to stop the remote terminal from executing Layer 3-based close range processing after the Layer 3 timer expires. Discovery process of relay terminals for communication services.
  • the first timer includes a layer 2 timer
  • the first processing module is also configured to, after the layer 2 timer expires, the remote terminal stop executing layer 2-based close range Discovery process of relay terminals for communication services.
  • the first number includes a layer 3 threshold
  • the first processing module is also configured to stop the discovery process of relay terminals that perform short-range communication services after reaching the layer 3 threshold;
  • the layer 3 threshold is a maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
  • the first number includes a layer 2 threshold
  • the first processing module is also configured to stop the discovery process of the relay terminal executing the short-range communication service after reaching the layer 2 threshold.
  • the layer 2 threshold It is the maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
  • the relay connection of the near field communication service includes at least one of the following:
  • Terminal-to-network relay connections based on layer 2 relay terminals
  • Terminal-to-network relay connections based on Layer 3 relay terminals.
  • the first operation further includes at least one of the following:
  • the first operation further includes at least one of the following:
  • the remote terminal fails to establish a relay connection for the near field communication service, including:
  • the remote terminal fails to perform the second operation
  • the second operation includes at least one of the following:
  • the device also includes:
  • a matching module configured to successfully match the first routing descriptor RSD of the first URSP rule before the remote terminal fails to establish a relay connection of the short-range communication service.
  • the device also includes:
  • a second processing module configured to perform a third operation based on the first condition after performing the first operation
  • the first condition includes at least one of the following:
  • the first timer expires
  • the number of failures allowed by the remote terminal to establish a relay connection reaches the first number
  • the third operation includes at least one of the following:
  • the expiration time and/or the first time number of the first timer are determined by the remote terminal according to at least one of the following:
  • the above-mentioned relay terminal selection device provides a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
  • the selection device 30 of the relay terminal in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiments of this application.
  • the relay terminal selection device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 3 and achieve the same technical effect. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides a communication device 50, which includes a processor 51 and a memory 52.
  • the memory 52 stores programs or instructions that can be run on the processor 51, such as , when the communication device 50 is a terminal, when the program or instruction is executed by the processor 51, each step of the above relay terminal selection method embodiment is implemented, and the same technical effect can be achieved.
  • the communication device 50 is a network-side device, when the program or instruction is executed by the processor 51, the steps of the above relay terminal selection method embodiment are implemented, and the same technical effect can be achieved. To avoid duplication, they will not be described again here. .
  • An embodiment of the present application also provides a terminal, including a processor and a communication interface.
  • the processor is configured to perform a first operation when the relay connection of the near field communication service of the terminal fails to be established, wherein the third operation
  • An operation includes at least one of the following: starting a first timer, the first timer is used to time the related process of establishing the relay connection; based on the first time, stopping the discovery process of the relay terminal of the short-range communication service , the first number is the maximum number of failures allowed by the terminal to establish a relay connection.
  • This terminal embodiment corresponds to the above-mentioned remote terminal side method embodiment.
  • Each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve Same technical effect.
  • FIG. 6 is a schematic diagram of the hardware structure of a terminal (remote terminal) that implements an embodiment of the present application.
  • the terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, etc. At least some parts.
  • the terminal 600 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072 .
  • Touch panel 6071 also called touch screen.
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 6072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 601 after receiving downlink data from the network side device, can transmit it to the processor 610 for processing; in addition, the radio frequency unit 601 can send uplink data to the network side device.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • Memory 609 may be used to store software programs or instructions as well as various data.
  • the memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM 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 Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus
  • the processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 610.
  • the processor 610 is configured to perform a first operation when the relay connection of the near field communication service fails to be established, wherein the first operation includes at least one of the following:
  • the first timer is used to time the relevant process of establishing the relay connection
  • the above-mentioned terminal realizes a solution when the relay connection of the short-range communication service cannot be established, which is conducive to improving the data transmission reliability of the terminal.
  • the first timer includes a layer 3 timer
  • the processor 610 is also configured to, after the layer 3 timer expires, the remote terminal stop executing the near field communication service based on layer 3. Discovery process of relay terminals.
  • the first timer includes a layer 2 timer
  • the processor 610 is also configured to, after the layer 2 timer expires, the remote terminal stop executing the layer 2 based short distance communication service. Discovery process of relay terminals.
  • the first number includes a layer 3 threshold
  • the processor 610 is also used to After the threshold, the discovery process of the relay terminal that performs the short-range communication service is stopped;
  • the layer 3 threshold is a maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
  • the first number includes a layer 2 threshold
  • the processor 610 is also configured to stop the discovery process of the relay terminal performing the near field communication service after reaching the layer 2 threshold, where the layer 2 threshold is the The maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
  • the relay connection of the near field communication service includes at least one of the following:
  • Terminal-to-network relay connections based on layer 2 relay terminals
  • Terminal-to-network relay connections based on Layer 3 relay terminals.
  • the first operation further includes at least one of the following:
  • the first operation further includes at least one of the following:
  • the remote terminal fails to establish a relay connection for the near field communication service, including:
  • the remote terminal fails to perform the second operation
  • the second operation includes at least one of the following:
  • the processor 610 is also configured to successfully match the first routing descriptor RSD of the first URSP rule before the remote terminal fails to establish a relay connection of the short-range communication service.
  • the processor 610 is also configured to, after performing the first operation, based on the first condition, Perform third operation;
  • the first condition includes at least one of the following:
  • the first timer expires
  • the number of failures allowed by the remote terminal to establish a relay connection reaches the first number
  • the third operation includes at least one of the following:
  • the expiration time and/or the first time number of the first timer are determined by the remote terminal according to at least one of the following:
  • Embodiments of the present application also provide a readable storage medium, the readable storage medium stores a program or instructions, and when the program or instructions are executed by a processor, each process of the above-mentioned relay terminal selection method embodiment is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
  • the processor is the processor in the remote terminal described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above relay terminal selection method.
  • Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the selection of the above relay terminal.
  • An embodiment of the present application further provides a terminal configured to perform the steps of the above relay terminal selection method embodiment.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions described are implemented in the form of software functional units and sold or used as independent products can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
  • the program can be stored in a computer-readable storage medium.
  • the program can be stored in a computer-readable storage medium.
  • the process may include the processes of the embodiments of each of the above methods.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to make a terminal (can be a mobile phone, computer, server server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of this application.

Landscapes

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

Abstract

The present application belongs to the technical field of communications. Disclosed are a method and apparatus for selecting a relay user equipment, and a user equipment and a storage medium. The method for selecting a relay user equipment in the embodiments of the present application comprises: when a remote user equipment fails to establish a relay connection for a proximity-based service, executing a first operation, wherein the first operation comprises at least one of the following: starting a first timer, wherein the first timer is used for timing the related process of establishing the relay connection; and on the basis of a first number of times, stopping a discovery process for a relay user equipment executing the proximity-based service, wherein the first number of times is the maximum number of failures, which is allowed by the remote user equipment, in establishing a relay connection.

Description

中继终端的选择方法、装置、终端及存储介质Relay terminal selection method, device, terminal and storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年03月29日在中国提交的中国专利申请No.202210323854.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210323854.8 filed in China on March 29, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信技术领域,具体涉及一种中继终端的选择方法、装置、终端及存储介质。The present application belongs to the field of communication technology, and specifically relates to a relay terminal selection method, device, terminal and storage medium.
背景技术Background technique
近距通信业务(Proximity-based Services,ProSe)作为一种近距离直接通信技术,是实现设备到设备(Device-to-Device,D2D)通信技术的业务名称,旨在通过实现近距离范围内用户设备的直接通信,降低对服务基站的负荷。ProSe与第五代移动通信技术(5th Generation Mobile Communication Technology,5G)相结合,提出了一种5G支持ProSe的架构,支持基于PC5的终端直接发现功能,以及单播、广播和组级通信三种直接通信能力,同时支持通过终端到网络的单跳中继以及PC5/Uu路径选择策略。Proximity-based Services (ProSe), as a short-distance direct communication technology, is the name of the business that implements Device-to-Device (D2D) communication technology. Direct communication between devices reduces the load on service base stations. ProSe is combined with the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) to propose a 5G-supported ProSe architecture that supports PC5-based terminal direct discovery function, as well as three types of unicast, broadcast and group-level communication Direct communication capabilities, while supporting single-hop relay through the terminal to the network and PC5/Uu path selection policy.
在ProSe场景中,终端(User Equipment,UE)根据UE路由选择策略(UE Route Selection Policy,URSP)确定是否使用层3(L3)中继服务,在使用层3中继服务时,通过5G ProSe层3的终端到网络中继终端(layer-3UE-to-network relay UE)中转所述UE的数据给网络,此时所述终端也称为5G层3远端终端(layer-3remote UE)。目前,终端根据URSP确定是否使用L3中继服务,在建立基于层3中继的中继连接失败时,现有技术尚未明确上述情况下的处理方案,因此有可能影响终端数据的传输,导致终端数据传输可靠性比较差。In the ProSe scenario, the terminal (User Equipment, UE) determines whether to use the layer 3 (L3) relay service according to the UE Route Selection Policy (URSP). When using the layer 3 relay service, it passes the 5G ProSe layer 3 terminal to network relay terminal (layer-3UE-to-network relay UE) relays the UE's data to the network. At this time, the terminal is also called a 5G layer 3 remote terminal (layer-3remote UE). Currently, the terminal determines whether to use the L3 relay service based on the URSP. When establishing a relay connection based on the Layer 3 relay fails, the existing technology has not yet clarified the solution for the above situation, so it may affect the transmission of the terminal data, causing the terminal to Data transmission reliability is relatively poor.
发明内容Contents of the invention
本申请实施例提供一种中继终端的选择方法、装置、终端及存储介质, 提供了远端终端在未能建立近距通信业务的中继连接情况下的处理方案,有利于提高终端的数据传输可靠性。Embodiments of the present application provide a relay terminal selection method, device, terminal and storage medium. It provides a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
第一方面,提供了一种中继终端的选择方法,该方法包括:In the first aspect, a relay terminal selection method is provided, which method includes:
远端终端在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:When the remote terminal fails to establish a relay connection for the short-range communication service, it performs a first operation, wherein the first operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
第二方面,提供了一种中继终端的选择装置,包括:In the second aspect, a relay terminal selection device is provided, including:
第一处理模块,用于在未能建立远端终端的近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:The first processing module is configured to perform a first operation when the relay connection of the near-field communication service of the remote terminal fails to be established, wherein the first operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
第三方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, a terminal is provided. The terminal includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the following implementations are implemented: The steps of the method described in one aspect.
第四方面,提供了一种终端,包括处理器及通信接口,其中,所述处理器用于在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:In a fourth aspect, a terminal is provided, including a processor and a communication interface, wherein the processor is configured to perform the first operation when the relay connection of the short-range communication service fails to be established, wherein the third operation An operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
第五方面,提供了一种中继终端的选择系统,包括:终端及网络侧设备,所述终端可用于执行如第一方面所述的中继终端的选择方法的步骤。In a fifth aspect, a system for selecting a relay terminal is provided, including: a terminal and a network side device. The terminal may be configured to perform the steps of the method for selecting a relay terminal as described in the first aspect.
第六方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a sixth aspect, a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
第七方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方 面所述的方法的步骤。In a seventh aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first party's The steps of the method described above.
第八方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In an eighth aspect, a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect Method steps.
在本申请实施例中,远端终端在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。这样,本申请实施例提供了远端终端在未能建立近距通信业务的中继连接情况下的处理方案,有利于提高终端的数据传输可靠性。In this embodiment of the present application, when the remote terminal fails to establish a relay connection for the short-range communication service, it performs a first operation, wherein the first operation includes at least one of the following: starting a first timer, The first timer is used to time the relevant process of establishing the relay connection; based on the first time, the discovery process of the relay terminal of the short-range communication service is stopped based on the first time, the first time is the number allowed by the remote terminal. The maximum number of failures to establish a relay connection. In this way, the embodiments of the present application provide a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
附图说明Description of drawings
图1是本申请实施例可应用的一种无线通信系统的框图;Figure 1 is a block diagram of a wireless communication system applicable to the embodiment of the present application;
图2是本申请实施例可应用的另一种无线通信系统的框图;Figure 2 is a block diagram of another wireless communication system to which the embodiment of the present application is applicable;
图3是本申请实施例提供的一种中继终端的选择方法的流程图;Figure 3 is a flow chart of a relay terminal selection method provided by an embodiment of the present application;
图4是本申请实施例提供的一种中继终端的选择装置的结构示意图;Figure 4 is a schematic structural diagram of a relay terminal selection device provided by an embodiment of the present application;
图5是本申请实施例提供的一种通信设备的结构示意图;Figure 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图6是本申请实施例提供的一种终端的结构示意图。Figure 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类, 并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and "second" are distinguished objects Usually one type, The number of objects is not limited. For example, the first object may be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth pointing out that the technology described in the embodiments of this application is not limited to Long Term Evolution (LTE)/LTE Evolution (LTE-Advanced, LTE-A) systems, and can also be used in other wireless communication systems, such as code Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access, OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th generation Generation, 6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中, 接入网设备也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备可以包括基站、无线局域网(Wireless Local Area Network,WLAN)接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network side device 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer. (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (AR)/virtual reality (VR) equipment, robots, wearable devices (Wearable Device) , Vehicle User Equipment (VUE), Pedestrian User Equipment (PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (personal computer, PC), teller machine or self-service machine and other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets) bracelets, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the embodiment of the present application does not limit the specific type of the terminal 11. The network side device 12 may include access network equipment or core network equipment, where, Access network equipment may also be called radio access network equipment, radio access network (Radio Access Network, RAN), radio access network function or radio access network unit. Access network equipment may include a base station, a Wireless Local Area Network (WLAN) access point or a WiFi node, etc. The base station may be called a Node B, an Evolved Node B (eNB), an access point, a base transceiver station ( Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B-node, home evolved B-node, transmitting and receiving point ( Transmitting Receiving Point (TRP) or some other appropriate terminology in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of this application, only in the NR system The base station is introduced as an example, and the specific type of base station is not limited.
图2为NR中支持终端到网络中继(UE-to-Network Relay)机制的一种场景示意图,远端终端(Remote UE)需要与网络侧传输数据,但由于覆盖不佳,找到中继终端(Relay UE)为其中转,其中中继终端与基站之间是Uu接口,中继终端和远端终端之间是旁链路(sidelink)(PC5)接口。Figure 2 is a schematic diagram of a scenario that supports the UE-to-Network Relay mechanism in NR. The remote terminal (Remote UE) needs to transmit data with the network side, but due to poor coverage, the relay terminal cannot be found. (Relay UE) is the relay, where the Uu interface is between the relay terminal and the base station, and the sidelink (PC5) interface is between the relay terminal and the remote terminal.
现有技术中,当应用层有业务数据需要终端发送时,终端首先需要匹配URSP。通常每个终端都会配置一定数量的URSP,每条URSP规则(URSP rule)包括3个部分:(1)优先级信息;(2)流量描述符(Traffic Descriptor,TD);(3)路由选择描述符(Route selection descriptor,RSD)。通常,终端首先匹配优先级最高(Rule Precedence=1)的URSP规则,在优先级最高的URSP规则中,如果TD符合当前业务(traffic)的描述,终端则继续匹配RSD。每个RSD又包括有优先级,终端按RSD的优先级继续匹配,然后根据匹配到的RSD参数,建立对应参数的协议数据单元(Protocol Data Unit,PDU)会话。In the existing technology, when the application layer has service data that needs to be sent by the terminal, the terminal first needs to match the URSP. Usually each terminal is configured with a certain number of URSPs. Each URSP rule includes 3 parts: (1) Priority information; (2) Traffic Descriptor (TD); (3) Routing description Descriptor (Route selection descriptor, RSD). Usually, the terminal first matches the URSP rule with the highest priority (Rule Precedence=1). In the URSP rule with the highest priority, if the TD matches the description of the current service (traffic), the terminal continues to match the RSD. Each RSD also includes a priority. The terminal continues matching according to the priority of the RSD, and then establishes a protocol data unit (Protocol Data Unit, PDU) session corresponding to the parameters based on the matched RSD parameters.
在ProSe场景中,远端终端根据URSP确定是否使用L3中继服务,即是否通过5G ProSe层3终端到网络的中继终端(5G ProSe layer-3UE-to-network relay UE)中转所述远端终端的数据给网络,此时所述远端终端也可以称为5G层3远端终端(5G layer-3remote UE)。In the ProSe scenario, the remote terminal determines whether to use the L3 relay service according to the URSP, that is, whether to relay the remote terminal through the 5G ProSe layer-3 UE-to-network relay UE. The terminal's data is provided to the network. At this time, the remote terminal can also be called a 5G layer-3 remote terminal (5G layer-3remote UE).
现有技术中,所述远端终端匹配URSP使用L3中继服务的逻辑是,(1)确认TD是否匹配应用信息;(2)在RSD中,找到尚未匹配的最高优先级RSD 进行匹配;(3)按RSD优先级进行匹配时,如果当前(最高等级的)RSD中包含卸载指示(offload indication),且所述远端终端被授权作为层3远端终端(L3remote UE),则所述远端终端指示上层并停止选择下一个RSD。In the prior art, the logic for the remote terminal to match the URSP and use the L3 relay service is: (1) Confirm whether the TD matches the application information; (2) Find the highest priority RSD that has not been matched in the RSD Match; (3) When matching according to RSD priority, if the current (highest level) RSD contains an offload indication, and the remote terminal is authorized as a layer 3 remote terminal (L3remote UE), Then the remote terminal instructs the upper layer to stop selecting the next RSD.
上述匹配逻辑存在以下问题:当所述远端终端无法找到一个合适的5G ProSe UE-to-Network layer-3relay UE时(例如终端到网络(UE to Network,U2N)relay发现(discoevry)过程失败,或,U2N relay选择(selection)过程失败,或,所述远端终端的附近没有合适的L3U2N relay UE),远端终端可能无法传输需要传输数据,导致无法传输数据的可能原因有:远端终端附近没有合适的L3中继终端,远端终端一直反复执行L3中继终端的发现过程却总是执行失败。The above matching logic has the following problems: when the remote terminal cannot find a suitable 5G ProSe UE-to-Network layer-3relay UE (for example, the terminal to network (UE to Network, U2N) relay discovery (discoevry) process fails, Or, the U2N relay selection process fails, or there is no suitable L3U2N relay UE near the remote terminal), the remote terminal may be unable to transmit the data that needs to be transmitted. Possible reasons for the inability to transmit data are: the remote terminal There is no suitable L3 relay terminal nearby, and the remote terminal repeatedly performs the discovery process of the L3 relay terminal but always fails.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的中继终端的选择方法、装置、终端及存储介质进行详细地说明。The following is a detailed description of the relay terminal selection method, device, terminal and storage medium provided by the embodiments of the present application through some embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例中,远端终端可以通过执行基于层3的近距通信业务(ProSe)的中继终端的发现过程,以发现层3中继终端。进一步的,远端终端在发现层3中继终端后,可以与层3中继终端建立PC5连接,从而建立基于层3中继终端的远端终端到网络的中继连接。在与层3中继终端建立PC5连接失败时,可以重复继续执行基于层3的近距通信业务(ProSe)的中继终端的发现过程以及建立与层3中继终端建立PC5连接等过程。所述基于层3中继终端的终端到网络的中继连接,有时候也简称为基于层3中继终端的中继连接。In this embodiment of the present application, the remote terminal can discover the Layer 3 relay terminal by executing a discovery process of the Layer 3 ProSe based relay terminal. Further, after discovering the layer 3 relay terminal, the remote terminal can establish a PC5 connection with the layer 3 relay terminal, thereby establishing a relay connection from the remote terminal to the network based on the layer 3 relay terminal. When the PC5 connection with the layer 3 relay terminal fails to be established, the discovery process of the relay terminal based on the layer 3 ProSe service and the establishment of the PC5 connection with the layer 3 relay terminal can be repeated. The relay connection from the terminal to the network based on the layer 3 relay terminal is sometimes also referred to as the relay connection based on the layer 3 relay terminal.
本申请实施例中,远端终端可以通过执行基于层2的近距通信业务的中继终端的发现过程,以发现层2的中继终端。进一步的,远端终端在发现层2的中继终端后,可以与层2中继终端建立PC5连接,从而建立基于层2中继终端的远端终端到网络的中继连接。所述基于层2中继终端的终端到网络的中继连接,有时候也简称为基于层2中继终端的中继连接。在与层2中继终端建立PC5连接失败时,可以重复继续执行基于层2的近距通信业务(ProSe)的中继终端的发现过程以及建立与层2中继终端建立PC5连接等过程。In the embodiment of the present application, the remote terminal can discover the relay terminal of Layer 2 by executing a discovery process of the relay terminal based on the Layer 2 near-field communication service. Further, after discovering the layer 2 relay terminal, the remote terminal can establish a PC5 connection with the layer 2 relay terminal, thereby establishing a relay connection from the remote terminal to the network based on the layer 2 relay terminal. The relay connection from the terminal to the network based on the layer 2 relay terminal is sometimes also referred to as the relay connection based on the layer 2 relay terminal. When the PC5 connection with the layer 2 relay terminal fails to be established, the process of discovering the relay terminal based on the layer 2 ProSe service and establishing the PC5 connection with the layer 2 relay terminal can be repeated.
本申请实施例中,执行近距通信业务的中继终端的发现过程可以包括:执行基于层2的近距通信业务的中继终端的发现过程,和/或,执行基于层3的近距通信业务的中继终端的发现过程。近距通信业务的中继连接可以包括 基于层3中继终端的终端到网络的中继连接,和/或,基于层2中继终端的终端到网络的中继连接。In the embodiment of the present application, the discovery process of a relay terminal that performs a near-field communication service may include: performing a discovery process of a relay terminal that performs a layer-2-based near-field communication service, and/or performing a layer-3-based near-field communication process. The discovery process of service relay terminals. Relay connections for near field communication services may include A terminal-to-network relay connection based on a layer 3 relay terminal, and/or a terminal-to-network relay connection based on a layer 2 relay terminal.
请参见图3,图3是本申请实施例提供的一种中继终端的选择方法的流程图,该方法由远端终端执行,如图3所示,该方法包括如下步骤:Please refer to Figure 3. Figure 3 is a flow chart of a relay terminal selection method provided by an embodiment of the present application. The method is executed by a remote terminal. As shown in Figure 3, the method includes the following steps:
步骤301,远端终端在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:Step 301: If the remote terminal fails to establish a relay connection for the short-range communication service, perform a first operation, where the first operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
本申请实施例中,远端终端可以通过执行近距通信业务的中继终端的发现过程,发现中继终端,进而通过建立与中继终端之间的PC5连接以建立所述近距通信业务的中继连接。所述近距通信业务的中继连接可以包括:基于层3中继终端的终端到网络的中继连接,和/或,基于层2中继终端的终端到网络的中继连接。所述远端终端在未能建立近距通信业务的中继连接的情况下,执行所述第一操作:例如,启动第一计时器,对用于对建立中继连接的相关过程。所述用于对建立中继连接的相关过程,具体可以包括执行基于层2/层3的近距通信业务的中继终端的发现过程,与层2/层3的中继终端建立PC5连接等过程;又例如,远端终端可以在建立近距通信业务的中继连接的过程中,对建立所述中继连接的失败次数进行统计,当失败次数达到所述第一次数时,停止执行近距通信业务的中继终端的发现过程。In the embodiment of the present application, the remote terminal can discover the relay terminal by executing the discovery process of the relay terminal of the short-range communication service, and then establish the PC5 connection with the relay terminal to establish the short-range communication service. Relay connection. The relay connection of the short-range communication service may include: a relay connection from a terminal to the network based on a layer 3 relay terminal, and/or a relay connection from a terminal to the network based on a layer 2 relay terminal. When the remote terminal fails to establish a relay connection of the near field communication service, the remote terminal performs the first operation: for example, starting a first timer to perform a related process for establishing a relay connection. The related process for establishing a relay connection may specifically include a discovery process of a relay terminal based on layer 2/layer 3 short-range communication services, establishing a PC5 connection with a layer 2/layer 3 relay terminal, etc. Process; for another example, the remote terminal can count the number of failures in establishing the relay connection during the process of establishing the relay connection of the short-range communication service. When the number of failures reaches the first number, the execution stops. Discovery process of relay terminals for short-range communication services.
通过以上步骤,本申请实施例提供了远端终端在未能建立近距通信业务的中继连接情况下的处理方案,远端终端可以基于第一计时器或第一次数,停止执行近距通信业务的中继终端的发现过程,这样,远端终端后续可以通过执行其他流程来尝试建立到网络的中继连接,有利于提高终端数据传输的可靠性。Through the above steps, the embodiment of the present application provides a processing solution for the remote terminal when it fails to establish a relay connection for the short-range communication service. The remote terminal can stop executing the short-range communication based on the first timer or the first count. The discovery process of the relay terminal of the communication service, so that the remote terminal can subsequently try to establish a relay connection to the network by executing other processes, which is beneficial to improving the reliability of terminal data transmission.
本申请实施例中,所述第一计时器可以包括层3计时器,所述层3计时器具体用于对建立基于层3中继终端的中继连接的相关过程计时。建立基于层3中继终端的中继连接的相关过程具体可以包括:执行基于层3的近距通信业务的中继终端的发现过程,与层3的中继终端建立PC5连接,在建立所 述PC5连接失败时重新执行基于层3的近距通信业务的中继终端的发现过程等。在所述层3计时器到期后,所述远端终端可以停止执行基于层3的近距通信业务的中继终端的发现过程。In this embodiment of the present application, the first timer may include a layer 3 timer, and the layer 3 timer is specifically used to time related processes of establishing a relay connection based on a layer 3 relay terminal. The related process of establishing a relay connection based on the layer 3 relay terminal may specifically include: performing a discovery process of the relay terminal based on the layer 3 short-range communication service, establishing a PC5 connection with the layer 3 relay terminal, and after establishing the When the PC5 connection fails, the discovery process of the relay terminal based on the layer 3 short-range communication service is re-executed. After the layer 3 timer expires, the remote terminal may stop performing the discovery process of the relay terminal based on the layer 3 short-range communication service.
本申请实施例中,所述第一计时器可以包括层2计时器,所述层2计时器具体用于对建立基于层2中继终端的中继连接的相关过程计时。建立基于层2中继终端的中继连接的相关过程具体可以包括:执行基于层2的近距通信业务的中继终端的发现过程,与层2的中继终端建立PC5连接,在建立所述PC5连接失败时重新执行基于层2的近距通信业务的中继终端的发现过程等。在所述层2计时器到期后,所述远端终端可以停止执行基于层2的近距通信业务的中继终端的发现过程。In this embodiment of the present application, the first timer may include a layer 2 timer, and the layer 2 timer is specifically used to time related processes of establishing a relay connection based on a layer 2 relay terminal. The relevant process of establishing a relay connection based on the layer 2 relay terminal may specifically include: performing a discovery process of the relay terminal based on the layer 2 near field communication service, establishing a PC5 connection with the layer 2 relay terminal, and establishing the When the PC5 connection fails, the discovery process of the relay terminal based on the Layer 2 short-range communication service is re-executed, etc. After the layer 2 timer expires, the remote terminal may stop performing the discovery process of the relay terminal based on the layer 2 near field communication service.
以上实施方式分别针对层3和层2计时器,给出了具体的计时方式,从而能够在计时器到期后,通过触发相关操作,避免或降低因长时间停留在发现过程对终端数据传输造成的不利影响,进而能够提供终端数据传输的可靠性。The above implementation methods provide specific timing methods for layer 3 and layer 2 timers respectively, so that after the timer expires, relevant operations can be triggered to avoid or reduce the impact on terminal data transmission caused by staying in the discovery process for a long time. adverse effects, thereby improving the reliability of terminal data transmission.
本申请实施例中,所述第一次数包括层3阈值,所述层3阈值为所述远端终端允许的未能建立基于层3中继终端的中继连接的失败次数的最大值。在未能建立基于层3中继终端的中继连接的失败次数达到所述层3阈值的情况下,所述远端终端停止执行近距通信业务的中继终端的发现过程,具体的,停止执行基于层3的近距通信业务的中继终端的发现过程。In this embodiment of the present application, the first number includes a layer 3 threshold, and the layer 3 threshold is the maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal. When the number of failures to establish a relay connection based on a Layer 3 relay terminal reaches the Layer 3 threshold, the remote terminal stops performing the discovery process of the relay terminal of the near-field communication service. Specifically, it stops The discovery process of the relay terminal based on the Layer 3 near field communication service is performed.
本申请实施例中,所述第一次数包括层2阈值,所述层2阈值为所述远端终端允许的未能建立基于层2中继终端的中继连接的失败次数的最大值。在未能建立基于层2中继终端的中继连接的失败次数达到所述层2阈值的情况下,所述远端终端停止执行近距通信业务的中继终端的发现过程,具体的,停止执行基于层2的近距通信业务的中继终端的发现过程。In this embodiment of the present application, the first number includes a layer 2 threshold, and the layer 2 threshold is the maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal. When the number of failures to establish a relay connection based on a Layer 2 relay terminal reaches the Layer 2 threshold, the remote terminal stops performing the discovery process of the relay terminal of the near-field communication service. Specifically, it stops The discovery process of the relay terminal of the Layer 2 based near field communication service is performed.
以上实施方式针对第一次数分别给出了层3和层2阈值,从而能够针对层3/层2中继终端给出了结束发现过程的实现方式,这样可以使得终端及时的停止发现过程,避免或降低因长时间停留在发现过程对终端数据传输造成的不利影响,进而能够提供终端数据传输的可靠性。The above embodiment provides layer 3 and layer 2 thresholds respectively for the first number, thereby providing an implementation method for ending the discovery process for layer 3/layer 2 relay terminals, so that the terminal can stop the discovery process in a timely manner. Avoid or reduce the adverse impact on terminal data transmission caused by staying in the discovery process for a long time, thereby improving the reliability of terminal data transmission.
可选的,所述第一计时器的到期时间和/或第一次数是所述远端终端可以 根据以下至少一项确定的:Optionally, the expiration time and/or the first time number of the first timer is that the remote terminal can Determined based on at least one of the following:
1)所述远端终端的硬件能力。1) The hardware capabilities of the remote terminal.
例如,在远端终端的硬件能力较强时,所述第一次数/第一计时器的到期时间可以设置的较大,反之,硬件能力较弱时,所述第一次数/第一计时器的到期时间可以设置的较小。For example, when the hardware capability of the remote terminal is strong, the expiration time of the first timer/first timer can be set larger. On the contrary, when the hardware capability is weak, the expiration time of the first time/first timer can be set larger. The expiration time of a timer can be set smaller.
2)所述远端终端的业务类型。2) The service type of the remote terminal.
例如,本申请实施例中可以预先针对不同业务类型设置对应的第一次数/第一计时器的到期时间,然后根据具体的业务类型,确定当前采用的第一次数/第一计时器的到期时间。For example, in the embodiment of the present application, the corresponding first time number/first timer expiration time can be set in advance for different service types, and then the currently adopted first time number/first timer is determined according to the specific service type. expiry time.
3)所述远端终端的服务质量(Quality of Service,QoS)需求。3) Quality of Service (QoS) requirements of the remote terminal.
例如,当远端终端的QoS需求较高时,所述第一次数/第一计时器的到期时间可以设置的较小,反之,QoS需求较低时,所述第一次数/第一计时器的到期时间可以设置的较大。For example, when the QoS demand of the remote terminal is high, the expiration time of the first timer/first timer can be set smaller. On the contrary, when the QoS demand is low, the first time/expiration time of the first timer can be set smaller. The expiration time of a timer can be set larger.
4)所述远端终端中与近距离业务有关的参数策略信息。4) Parameter policy information related to short-range services in the remote terminal.
例如,可以针对近距离业务配置相关的参数策略信息,如时延要求、可靠性要求等指标,然后,根据近距离业务有关的参数策略信息,确定所述第一次数/第一计时器的到期时间。For example, relevant parameter policy information can be configured for short-range services, such as delay requirements, reliability requirements and other indicators. Then, based on the parameter policy information related to short-range services, the first number/first timer is determined. Expire date.
以上实现方式,根据远程终端的自身硬件能力、业务类型、QoS需求或与近距离业务有关的参数策略信息等因素,设置第一次数或第一计时器的到期时间,从而能够根据上述因素,灵活的调整第一次数或第一计时器的到期时间,以满足不同终端、业务类型或策略的需求。The above implementation method sets the first number or the expiration time of the first timer according to factors such as the remote terminal's own hardware capabilities, service type, QoS requirements or parameter policy information related to short-range services, so that the first timer expiration time can be set according to the above factors. , flexibly adjust the first number or the expiration time of the first timer to meet the needs of different terminals, business types or strategies.
在一种实施例中,远端终端(例如,公告UE,Announcing UE)可以停止用于终端到网络的中继发现的公告UE(announcing UE)流程,以节约功耗。例如,可以通过设置最大的UE数量或定时器,在达到最大的UE数量或定时器超时的情况下停止前述公告UE流程。In one embodiment, the remote terminal (eg, announcing UE, Announcing UE) may stop the announcing UE (announcement UE) process for terminal-to-network relay discovery to save power consumption. For example, the maximum number of UEs or a timer can be set, and the aforementioned UE announcement process can be stopped when the maximum number of UEs or the timer times out.
在一种实施方式中,远端终端在匹配一个或多个URSP时,可以触发中继发现过程。如果PC5连接建立失败,则会匹配下一个RSD。In one implementation, when the remote terminal matches one or more URSPs, it may trigger the relay discovery process. If the PC5 connection fails to be established, the next RSD will be matched.
作为一种可选的实施方式,上述步骤301中,当所述近距通信业务的中继连接包括基于层3的中继终端的终端到网络的中继连接时,所述远端终端 执行的所述第一操作,还可以包括以下至少一项:As an optional implementation manner, in the above step 301, when the relay connection of the short-range communication service includes a terminal-to-network relay connection based on a layer 3 relay terminal, the remote terminal The first operation performed may also include at least one of the following:
1)从最高优先级的URSP规则开始,重新匹配URSP规则。1) Starting from the highest priority URSP rule, match the URSP rules again.
在未能建立基于层3中继终端的中继连接的情况下,远端终端可以重新匹配URSP规则,以重新确定是否使用L3中继服务。例如,由于建立近距通信业务的中继连接通常需要一定的时间,在前次建立中继连接失败时,由于已经过去了一段时间,远端终端或中继终端的位置或信道环境可能发生了变化,因此可以重新匹配URSP规则,以继续尝试建立中继连接。In the event that a relay connection based on the Layer 3 relay terminal fails to be established, the remote terminal can re-match the URSP rules to re-determine whether to use the L3 relay service. For example, since it usually takes a certain amount of time to establish a relay connection for short-range communication services, when the previous relay connection failed to be established, because a period of time has passed, the location or channel environment of the remote terminal or relay terminal may have changed. changes so the URSP rules can be rematched to continue trying to establish a relay connection.
2)执行基于层2的近距通信业务的中继终端的发现过程。2) Execute the discovery process of the relay terminal based on the layer 2 near field communication service.
在未能建立基于层3中继终端的中继连接的情况下,说明当前远端终端的周边可能不存在符合条件的层3中继终端,因此,远端终端也可以尝试建立基于层2中继终端的中继连接。此时,远端终端可以执行基于层2的近距通信业务的中继终端的发现过程,以发现层2中继终端。进一步的,在发现层2中继终端后,远端终端还可以建立与层2中继终端间的PC5连接。If a relay connection based on a Layer 3 relay terminal fails to be established, it means that there may not be a qualified Layer 3 relay terminal around the current remote terminal. Therefore, the remote terminal can also try to establish a Layer 3 relay connection based on the Layer 2 relay terminal. relay connection to the terminal. At this time, the remote terminal can perform a discovery process of the relay terminal based on the layer 2 near field communication service to discover the layer 2 relay terminal. Further, after discovering the layer 2 relay terminal, the remote terminal can also establish a PC5 connection with the layer 2 relay terminal.
3)与层2中继终端建立PC5连接。3) Establish a PC5 connection with the layer 2 relay terminal.
在某些情况下,远端终端可能已经确定出了其周边的层2中继终端,此时,远端终端不需要再执行基于层2的近距通信业务的中继终端的发现过程,而是直接与层2中继终端建立PC5连接。In some cases, the remote terminal may have identified its surrounding Layer 2 relay terminals. At this time, the remote terminal does not need to perform the discovery process of relay terminals based on Layer 2 near-field communication services. A PC5 connection is established directly with the layer 2 relay terminal.
通过以上步骤,本申请实施例可以在建立基于层3中继终端的中继连接失败的情况下,重新匹配URSP规则,或者,建立基于层2中继终端的中继连接,以尽快建立中继连接,保证远端终端的数据传输。Through the above steps, the embodiment of the present application can re-match the URSP rules when establishing a relay connection based on the layer 3 relay terminal, or establish a relay connection based on the layer 2 relay terminal to establish the relay as soon as possible. connection to ensure data transmission from the remote terminal.
作为另一种可选的实施方式,上述步骤301中,当所述近距通信业务的中继连接包括基于层2的中继终端的终端到网络的中继连接时,所述远端终端执行的所述第一操作,还可以包括以下至少一项:As another optional implementation manner, in the above step 301, when the relay connection of the near-field communication service includes a terminal-to-network relay connection based on a Layer 2 relay terminal, the remote terminal executes The first operation may also include at least one of the following:
1)执行基于层3的近距通信业务的中继终端的发现过程。1) Execute the discovery process of the relay terminal based on the layer 3 near field communication service.
在未能建立基于层2中继终端的中继连接的情况下,说明当前远端终端的周边可能不存在符合条件的层2中继终端,因此,远端终端也可以尝试建立基于层3中继终端的中继连接。此时,远端终端可以执行基于层3的近距通信业务的中继终端的发现过程,以发现层3中继终端。进一步的,在发现层3中继终端后,远端终端还可以建立与层3中继终端间的PC5连接。 If a relay connection based on a layer 2 relay terminal fails to be established, it means that there may not be a qualified layer 2 relay terminal around the current remote terminal. Therefore, the remote terminal can also try to establish a relay connection based on a layer 3 relay terminal. relay connection to the terminal. At this time, the remote terminal can perform a discovery process of the relay terminal based on the layer 3 near field communication service to discover the layer 3 relay terminal. Further, after discovering the layer 3 relay terminal, the remote terminal can also establish a PC5 connection with the layer 3 relay terminal.
2)与层3中继终端建立PC5连接。2) Establish a PC5 connection with the layer 3 relay terminal.
类似的,在某些情况下,远端终端可能已经确定出了其周边的层3中继终端,此时,远端终端不需要再执行基于层3的近距通信业务的中继终端的发现过程,而是直接与层3中继终端建立PC5连接。Similarly, in some cases, the remote terminal may have identified its surrounding Layer 3 relay terminals. At this time, the remote terminal no longer needs to perform discovery of relay terminals based on Layer 3 short-range communication services. process, but directly establishes a PC5 connection with the layer 3 relay terminal.
通过以上步骤,本申请实施例可以在建立基于层2中继终端的中继连接失败的情况下,尝试建立基于层3中继终端的中继连接,以尽快建立中继连接,保证远端终端的数据传输。Through the above steps, the embodiment of the present application can try to establish a relay connection based on the layer 3 relay terminal when establishing a relay connection based on the layer 2 relay terminal, so as to establish the relay connection as soon as possible and ensure that the remote terminal data transmission.
上述步骤301中,所述远端终端在未能建立近距通信业务的中继连接,可以包括:所述远端终端执行第二操作发生失败。具体的,所述第二操作可以包括以下至少一项:In the above step 301, when the remote terminal fails to establish a relay connection of the short-range communication service, it may include: the remote terminal fails to perform the second operation. Specifically, the second operation may include at least one of the following:
a)执行近距通信业务的中继终端的发现过程。a) Discovery process of relay terminals that perform short-range communication services.
这里,执行近距通信业务的中继终端的发现过程,具体可以包括:执行基于层3的近距通信业务的中继终端的发现过程,和/或,执行基于层2的近距通信业务的中继终端的发现过程。上述过程失败,具体可以是执行发现过程,但未能发现中继终端。Here, the discovery process of the relay terminal that performs the near-field communication service may specifically include: the discovery process of the relay terminal that performs the near-field communication service based on layer 3, and/or the discovery process of the relay terminal that performs the near-field communication service based on layer 2. Discovery process of relay terminals. The above process fails. Specifically, the discovery process may be executed but the relay terminal cannot be discovered.
b)选择近距通信业务的中继终端。b) Select the relay terminal for the near field communication service.
这里,选择近距通信业务的中继终端可以包括:选择近距通信业务的层2中继终端,和/或,选择近距通信业务的层3中继终端。选择中继终端失败,具体可以是虽然存在中继终端,但未能选择出符合预设条件的中继终端。Here, selecting a relay terminal for the near-field communication service may include: selecting a layer 2 relay terminal for the near-field communication service, and/or selecting a layer 3 relay terminal for the near-field communication service. The selection of the relay terminal fails. Specifically, although there is a relay terminal, the relay terminal that meets the preset conditions cannot be selected.
c)建立与近距通信业务的中继终端的PC5连接。c) Establish a PC5 connection with the relay terminal of the near field communication service.
这里,建立与近距通信业务的中继终端的PC5连接可以包括:建立与近距通信业务的层3中继终端的PC5连接,和/或,建立与近距通信业务的层2中继终端的PC5连接。PC5连接建立失败,具体可以是远端终端发送连接建立请求消息,但该请求消息被拒绝,或,未能接收到中继终端的连接响应消息。Here, establishing a PC5 connection with the relay terminal of the near field communication service may include: establishing a PC5 connection with the layer 3 relay terminal of the near field communication service, and/or establishing a PC5 connection with the layer 2 relay terminal of the near field communication service. PC5 connection. PC5 connection establishment failed. Specifically, the remote terminal sent a connection establishment request message, but the request message was rejected, or the connection response message from the relay terminal failed to be received.
d)激活与近距通信业务的中继终端的PC5连接。d) Activate the PC5 connection with the relay terminal of the near field communication service.
这里,在远端终端与层2或层3中继终端之间已经连接了PC5连接的情况下,远端可以激活该PC5连接以激活远端终端到网络的中继连接。如果激活请求被拒绝,或未收到响应,则可以认为激活失败。 Here, when a PC5 connection has been connected between the remote terminal and the layer 2 or layer 3 relay terminal, the remote terminal can activate the PC5 connection to activate the relay connection of the remote terminal to the network. If the activation request is rejected, or no response is received, the activation can be considered failed.
本申请实施例中,在上述步骤301之前,所述方法还可以包括:远端终端成功匹配第一URSP规则的第一RSD。例如,远端终端在其应用层需要发送某个业务的数据时,按照URSP规则的优先级高低顺序,匹配URSP规则。当匹配上第一URSP规则中的TD符合所述业务的描述时,远端终端按照RSD的优先级高低顺序,继续匹配第一URSP规则下的各个RSD,假设第一RSD包含近距离层3终端到网络中继卸载指示(5G ProSe layer-3 UE-to-network relay offload indication),且所述远端终端被授权作为层3远端终端(L3 remote UE),则判断成功匹配上第一URSP规则的第一RSD。此时,远端终端可以根据第一RSD的参数,执行基于层3的近距通信业务的中继终端的发现过程,以建立近距通信业务的中继连接。In this embodiment of the present application, before step 301, the method may further include: the remote terminal successfully matches the first RSD of the first URSP rule. For example, when the remote terminal needs to send data of a certain service at its application layer, it will match the URSP rules in order of priority. When the matched TD in the first URSP rule matches the description of the service, the remote terminal continues to match each RSD under the first URSP rule in the order of priority of the RSDs. It is assumed that the first RSD includes a short-distance layer 3 terminal. To the network relay offload indication (5G ProSe layer-3 UE-to-network relay offload indication), and the remote terminal is authorized as a layer 3 remote terminal (L3 remote UE), it is determined that the first URSP is successfully matched. The first RSD of the rules. At this time, the remote terminal can perform a discovery process of a relay terminal based on the layer 3 near-field communication service according to the parameters of the first RSD to establish a relay connection of the near-field communication service.
本申请实施例中,在执行步骤301中的第一操作之后,所述远端终端还可以基于第一条件,执行第三操作。其中,所述第一条件具体可以包括以下至少一项:In this embodiment of the present application, after performing the first operation in step 301, the remote terminal may also perform a third operation based on the first condition. Wherein, the first condition may specifically include at least one of the following:
1)近距通信业务的中继终端的发现过程失败;1) The discovery process of the relay terminal of the short-range communication service failed;
2)与中继终端的PC5连接建立失败;2) The PC5 connection with the relay terminal failed to be established;
3)所述第一计时器到期;3) The first timer expires;
4)所述远端终端允许的未能建立中继连接的失败次数达到所述第一次数;4) The number of failures allowed by the remote terminal to establish a relay connection reaches the first number;
所述第三操作包括以下至少一项:The third operation includes at least one of the following:
1)从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;1) Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
2)匹配RSD优先级等于或低于所述第一RSD的第二RSD;2) Match the second RSD whose RSD priority is equal to or lower than the first RSD;
3)匹配URSP优先级等于或低于所述第一URSP的第二URSP。3) Match a second URSP whose URSP priority is equal to or lower than the first URSP.
也就是说,在执行步骤301的第一操作后,所述远端终端判断是否满足第一条件,若满足,则执行以上的第三操作,从而继续进行URSP规则或其中的RSD的匹配,以建立与层3中继终端的中继连接,实现远端终端的业务数据传输,保证远端终端数据传输的可靠性。That is to say, after performing the first operation of step 301, the remote terminal determines whether the first condition is met, and if so, performs the above third operation, thereby continuing to match the URSP rules or the RSDs therein, so as to Establish a relay connection with the layer 3 relay terminal to realize the service data transmission of the remote terminal and ensure the reliability of data transmission of the remote terminal.
本申请实施例提供的中继终端的选择方法,执行主体可以为中继终端的选择装置。本申请实施例中以中继终端的选择装置执行中继终端的选择方法为例,说明本申请实施例提供的中继终端的选择装置。 For the relay terminal selection method provided by the embodiments of the present application, the execution subject may be a relay terminal selection device. In the embodiment of the present application, the selection device of the relay terminal performs the selection method of the relay terminal as an example to illustrate the selection device of the relay terminal provided by the embodiment of the present application.
请参见图4,图4是本申请实施例提供的一种中继终端的选择装置的结构示意图,该装置可以应用于远端终端,如图4所示,所述中继终端的选择装置400包括:Please refer to Figure 4. Figure 4 is a schematic structural diagram of a relay terminal selection device provided by an embodiment of the present application. This device can be applied to a remote terminal. As shown in Figure 4, the relay terminal selection device 400 include:
第一处理模块401,用于在未能建立远端终端的近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:The first processing module 401 is configured to perform a first operation when the relay connection of the near-field communication service of the remote terminal fails to be established, wherein the first operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
可选的,所述第一计时器包括层3计时器,所述第一处理模块,还用于在所述层3计时器到期后,所述远端终端停止执行基于层3的近距通信业务的中继终端的发现过程。Optionally, the first timer includes a Layer 3 timer, and the first processing module is also configured to stop the remote terminal from executing Layer 3-based close range processing after the Layer 3 timer expires. Discovery process of relay terminals for communication services.
可选的,所述第一计时器包括层2计时器,所述第一处理模块,还用于在所述层2计时器到期后,所述远端终端停止执行基于层2的近距通信业务的中继终端的发现过程。Optionally, the first timer includes a layer 2 timer, and the first processing module is also configured to, after the layer 2 timer expires, the remote terminal stop executing layer 2-based close range Discovery process of relay terminals for communication services.
可选的,所述第一次数包括层3阈值,所述第一处理模块,还用于在达到层3阈值后停止执行近距通信业务的中继终端的发现过程;Optionally, the first number includes a layer 3 threshold, and the first processing module is also configured to stop the discovery process of relay terminals that perform short-range communication services after reaching the layer 3 threshold;
其中,所述层3阈值为所述远端终端允许的未能建立基于层3中继终端的中继连接的失败次数的最大值。Wherein, the layer 3 threshold is a maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
可选的,所述第一次数包括层2阈值,所述第一处理模块,还用于在达到层2阈值后停止执行近距通信业务的中继终端的发现过程,所述层2阈值为所述远端终端允许的未能建立基于层2中继终端的中继连接的失败次数的最大值。Optionally, the first number includes a layer 2 threshold, and the first processing module is also configured to stop the discovery process of the relay terminal executing the short-range communication service after reaching the layer 2 threshold. The layer 2 threshold It is the maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
可选的,所述近距通信业务的中继连接,包括以下至少一项:Optionally, the relay connection of the near field communication service includes at least one of the following:
基于层2的中继终端的终端到网络的中继连接;Terminal-to-network relay connections based on layer 2 relay terminals;
基于层3的中继终端的终端到网络的中继连接。Terminal-to-network relay connections based on Layer 3 relay terminals.
可选的,在所述近距通信业务的中继连接包括基于层3的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项:Optionally, in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a Layer 3 relay terminal, the first operation further includes at least one of the following:
从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则; Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
执行基于层2的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 2 short-range communication services;
与层2中继终端建立PC5连接。Establish a PC5 connection with the layer 2 trunk terminal.
可选的,在所述近距通信业务的中继连接包括基于层2的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项:Optionally, in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a Layer 2 relay terminal, the first operation further includes at least one of the following:
执行基于层3的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 3 short-range communication services;
与层3中继终端建立PC5连接。Establish a PC5 connection with the layer 3 trunk terminal.
可选的,所述远端终端未能建立近距通信业务的中继连接,包括:Optionally, the remote terminal fails to establish a relay connection for the near field communication service, including:
所述远端终端执行第二操作发生失败;The remote terminal fails to perform the second operation;
其中,所述第二操作包括以下至少一项:Wherein, the second operation includes at least one of the following:
执行近距通信业务的中继终端的发现过程;The discovery process of relay terminals that perform short-range communication services;
选择近距通信业务的中继终端;Select the relay terminal for the near field communication service;
建立与近距通信业务的中继终端的PC5连接;Establish a PC5 connection with the relay terminal of the near field communication service;
激活与近距通信业务的中继终端的PC5连接。Activate the PC5 connection with the relay terminal of the near field communication service.
可选的,所述装置还包括:Optionally, the device also includes:
匹配模块,用于在所述远端终端未能建立近距通信业务的中继连接之前,成功匹配第一URSP规则的第一路由选择描述符RSD。A matching module, configured to successfully match the first routing descriptor RSD of the first URSP rule before the remote terminal fails to establish a relay connection of the short-range communication service.
可选的,所述装置还包括:Optionally, the device also includes:
第二处理模块,用于在执行所述第一操作之后,基于第一条件,执行第三操作;a second processing module, configured to perform a third operation based on the first condition after performing the first operation;
其中,所述第一条件包括以下至少一项:Wherein, the first condition includes at least one of the following:
近距通信业务的中继终端的发现过程失败;The discovery process of the relay terminal of the near field communication service failed;
与中继终端的PC5连接建立失败;The PC5 connection establishment with the relay terminal failed;
所述第一计时器到期;The first timer expires;
所述远端终端允许的未能建立中继连接的失败次数达到所述第一次数;The number of failures allowed by the remote terminal to establish a relay connection reaches the first number;
其中,所述第三操作包括以下至少一项:Wherein, the third operation includes at least one of the following:
从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
匹配RSD优先级等于或低于所述第一RSD的第二RSD;Match a second RSD whose RSD priority is equal to or lower than the first RSD;
匹配URSP优先级等于或低于所述第一URSP的第二URSP。 Match a second URSP whose URSP priority is equal to or lower than the first URSP.
可选的,所述第一计时器的到期时间和/或第一次数是所述远端终端根据以下至少一项确定的:Optionally, the expiration time and/or the first time number of the first timer are determined by the remote terminal according to at least one of the following:
所述远端终端的硬件能力;The hardware capabilities of the remote terminal;
所述远端终端的业务类型;The service type of the remote terminal;
所述远端终端的QoS需求;The QoS requirements of the remote terminal;
所述远端终端中与近距离业务有关的参数策略信息。Parameter policy information related to short-range services in the remote terminal.
上述中继终端的选择装置提供了远端终端在未能建立近距通信业务的中继连接情况下的处理方案,有利于提高终端的数据传输可靠性。The above-mentioned relay terminal selection device provides a solution for the remote terminal when the relay connection of the short-range communication service cannot be established, which is beneficial to improving the data transmission reliability of the terminal.
本申请实施例中的中继终端的选择装置30可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The selection device 30 of the relay terminal in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, terminals may include but are not limited to the types of terminals listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiments of this application.
本申请实施例提供的中继终端的选择装置能够实现图3的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The relay terminal selection device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 3 and achieve the same technical effect. To avoid duplication, the details will not be described here.
可选的,如图5所示,本申请实施例还提供一种通信设备50,包括处理器51和存储器52,存储器52上存储有可在所述处理器51上运行的程序或指令,例如,该通信设备50为终端时,该程序或指令被处理器51执行时实现上述中继终端的选择方法实施例的各个步骤,且能达到相同的技术效果。该通信设备50为网络侧设备时,该程序或指令被处理器51执行时实现上述中继终端的选择方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 5, this embodiment of the present application also provides a communication device 50, which includes a processor 51 and a memory 52. The memory 52 stores programs or instructions that can be run on the processor 51, such as , when the communication device 50 is a terminal, when the program or instruction is executed by the processor 51, each step of the above relay terminal selection method embodiment is implemented, and the same technical effect can be achieved. When the communication device 50 is a network-side device, when the program or instruction is executed by the processor 51, the steps of the above relay terminal selection method embodiment are implemented, and the same technical effect can be achieved. To avoid duplication, they will not be described again here. .
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于在未能建立所述终端的近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述终端允许的未能建立中继连接的最大失败次数。该终端实施例与上述远端终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到 相同的技术效果。An embodiment of the present application also provides a terminal, including a processor and a communication interface. The processor is configured to perform a first operation when the relay connection of the near field communication service of the terminal fails to be established, wherein the third operation An operation includes at least one of the following: starting a first timer, the first timer is used to time the related process of establishing the relay connection; based on the first time, stopping the discovery process of the relay terminal of the short-range communication service , the first number is the maximum number of failures allowed by the terminal to establish a relay connection. This terminal embodiment corresponds to the above-mentioned remote terminal side method embodiment. Each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve Same technical effect.
具体地,图6为实现本申请实施例的一种终端(远端终端)的硬件结构示意图。Specifically, FIG. 6 is a schematic diagram of the hardware structure of a terminal (remote terminal) that implements an embodiment of the present application.
该终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609以及处理器610等中的至少部分部件。The terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, etc. At least some parts.
本领域技术人员可以理解,终端600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 600 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 6 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
应理解的是,本申请实施例中,输入单元604可以包括图形处理单元(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072中的至少一种。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042. The graphics processor 6041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072 . Touch panel 6071, also called touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
本申请实施例中,射频单元601接收来自网络侧设备的下行数据后,可以传输给处理器610进行处理;另外,射频单元601可以向网络侧设备发送上行数据。通常,射频单元601包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In this embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 601 can transmit it to the processor 610 for processing; in addition, the radio frequency unit 601 can send uplink data to the network side device. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
存储器609可用于存储软件程序或指令以及各种数据。存储器609可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器609可以包括易失性存储器或非易失性存储器,或者,存储器609可以包括易失性和非易失性存储器两者。 其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器609包括但不限于这些和任意其它适合类型的存储器。Memory 609 may be used to store software programs or instructions as well as various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 609 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器610可包括一个或多个处理单元;可选的,处理器610集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 610.
其中,处理器610,用于在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:The processor 610 is configured to perform a first operation when the relay connection of the near field communication service fails to be established, wherein the first operation includes at least one of the following:
启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the short-range communication service based on the first number, which is the maximum number of failures allowed by the terminal to fail to establish a relay connection.
上述终端实现了在未能建立近距通信业务的中继连接情况下的解决方案,有利于提高终端的数据传输可靠性。The above-mentioned terminal realizes a solution when the relay connection of the short-range communication service cannot be established, which is conducive to improving the data transmission reliability of the terminal.
可选的,所述第一计时器包括层3计时器,处理器610,还用于在所述层3计时器到期后,所述远端终端停止执行基于层3的近距通信业务的中继终端的发现过程。Optionally, the first timer includes a layer 3 timer, and the processor 610 is also configured to, after the layer 3 timer expires, the remote terminal stop executing the near field communication service based on layer 3. Discovery process of relay terminals.
可选的,所述第一计时器包括层2计时器,处理器610,还用于在所述层2计时器到期后,所述远端终端停止执行基于层2的近距通信业务的中继终端的发现过程。Optionally, the first timer includes a layer 2 timer, and the processor 610 is also configured to, after the layer 2 timer expires, the remote terminal stop executing the layer 2 based short distance communication service. Discovery process of relay terminals.
可选的,所述第一次数包括层3阈值,处理器610,还用于在达到层3 阈值后停止执行近距通信业务的中继终端的发现过程;Optionally, the first number includes a layer 3 threshold, and the processor 610 is also used to After the threshold, the discovery process of the relay terminal that performs the short-range communication service is stopped;
其中,所述层3阈值为所述远端终端允许的未能建立基于层3中继终端的中继连接的失败次数的最大值。Wherein, the layer 3 threshold is a maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
可选的,所述第一次数包括层2阈值,处理器610,还用于在达到层2阈值后停止执行近距通信业务的中继终端的发现过程,所述层2阈值为所述远端终端允许的未能建立基于层2中继终端的中继连接的失败次数的最大值。Optionally, the first number includes a layer 2 threshold, and the processor 610 is also configured to stop the discovery process of the relay terminal performing the near field communication service after reaching the layer 2 threshold, where the layer 2 threshold is the The maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
可选的,所述近距通信业务的中继连接,包括以下至少一项:Optionally, the relay connection of the near field communication service includes at least one of the following:
基于层2的中继终端的终端到网络的中继连接;Terminal-to-network relay connections based on layer 2 relay terminals;
基于层3的中继终端的终端到网络的中继连接。Terminal-to-network relay connections based on Layer 3 relay terminals.
可选的,在所述近距通信业务的中继连接包括基于层3的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项:Optionally, in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a Layer 3 relay terminal, the first operation further includes at least one of the following:
从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
执行基于层2的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 2 short-range communication services;
与层2中继终端建立PC5连接。Establish a PC5 connection with the layer 2 trunk terminal.
可选的,在所述近距通信业务的中继连接包括基于层2的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项:Optionally, in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a Layer 2 relay terminal, the first operation further includes at least one of the following:
执行基于层3的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 3 short-range communication services;
与层3中继终端建立PC5连接。Establish a PC5 connection with the layer 3 trunk terminal.
可选的,所述远端终端未能建立近距通信业务的中继连接,包括:Optionally, the remote terminal fails to establish a relay connection for the near field communication service, including:
所述远端终端执行第二操作发生失败;The remote terminal fails to perform the second operation;
其中,所述第二操作包括以下至少一项:Wherein, the second operation includes at least one of the following:
执行近距通信业务的中继终端的发现过程;The discovery process of relay terminals that perform short-range communication services;
选择近距通信业务的中继终端;Select the relay terminal for the near field communication service;
建立与近距通信业务的中继终端的PC5连接;Establish a PC5 connection with the relay terminal of the near field communication service;
激活与近距通信业务的中继终端的PC5连接。Activate the PC5 connection with the relay terminal of the near field communication service.
可选的,处理器610,还用于在所述远端终端未能建立近距通信业务的中继连接之前,成功匹配第一URSP规则的第一路由选择描述符RSD。Optionally, the processor 610 is also configured to successfully match the first routing descriptor RSD of the first URSP rule before the remote terminal fails to establish a relay connection of the short-range communication service.
可选的,处理器610,还用于在执行所述第一操作之后,基于第一条件, 执行第三操作;Optionally, the processor 610 is also configured to, after performing the first operation, based on the first condition, Perform third operation;
其中,所述第一条件包括以下至少一项:Wherein, the first condition includes at least one of the following:
近距通信业务的中继终端的发现过程失败;The discovery process of the relay terminal of the near field communication service failed;
与中继终端的PC5连接建立失败;The PC5 connection establishment with the relay terminal failed;
所述第一计时器到期;The first timer expires;
所述远端终端允许的未能建立中继连接的失败次数达到所述第一次数;The number of failures allowed by the remote terminal to establish a relay connection reaches the first number;
其中,所述第三操作包括以下至少一项:Wherein, the third operation includes at least one of the following:
从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
匹配RSD优先级等于或低于所述第一RSD的第二RSD;Match a second RSD whose RSD priority is equal to or lower than the first RSD;
匹配URSP优先级等于或低于所述第一URSP的第二URSP。Match a second URSP whose URSP priority is equal to or lower than the first URSP.
可选的,所述第一计时器的到期时间和/或第一次数是所述远端终端根据以下至少一项确定的:Optionally, the expiration time and/or the first time number of the first timer are determined by the remote terminal according to at least one of the following:
所述远端终端的硬件能力;The hardware capabilities of the remote terminal;
所述远端终端的业务类型;The service type of the remote terminal;
所述远端终端的QoS需求;The QoS requirements of the remote terminal;
所述远端终端中与近距离业务有关的参数策略信息。Parameter policy information related to short-range services in the remote terminal.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述中继终端的选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium, the readable storage medium stores a program or instructions, and when the program or instructions are executed by a processor, each process of the above-mentioned relay terminal selection method embodiment is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
其中,该处理器为上述实施例中所述的远端终端中的处理器。该可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the remote terminal described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述中继终端的选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above relay terminal selection method. Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。 It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述中继终端的选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a computer program/program product. The computer program/program product is stored in a storage medium. The computer program/program product is executed by at least one processor to implement the selection of the above relay terminal. Each process of the method embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
本申请实施例另提供了一种终端,被配置为执行如上述中继终端的选择方法实施例的步骤。An embodiment of the present application further provides a terminal configured to perform the steps of the above relay terminal selection method embodiment.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of this disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用 时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described are implemented in the form of software functional units and sold or used as independent products can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by controlling relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. During execution, the process may include the processes of the embodiments of each of the above methods. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服 务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to make a terminal (can be a mobile phone, computer, server server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (18)

  1. 一种中继终端的选择方法,包括:A method for selecting relay terminals, including:
    远端终端在未能建立近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:When the remote terminal fails to establish a relay connection for the short-range communication service, it performs a first operation, wherein the first operation includes at least one of the following:
    启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
    基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
  2. 如权利要求1所述的方法,所述第一计时器包括层3计时器,其中,在所述层3计时器到期后,所述远端终端停止执行基于层3的近距通信业务的中继终端的发现过程。The method of claim 1, wherein the first timer includes a layer 3 timer, wherein after the layer 3 timer expires, the remote terminal stops executing the layer 3 based near field communication service. Discovery process of relay terminals.
  3. 如权利要求1所述的方法,所述第一计时器包括层2计时器,其中,在所述层2计时器到期后,所述远端终端停止执行基于层2的近距通信业务的中继终端的发现过程。The method of claim 1, wherein the first timer includes a layer 2 timer, wherein after the layer 2 timer expires, the remote terminal stops executing the layer 2 based near field communication service. Discovery process of relay terminals.
  4. 如权利要求1所述的方法,所述第一次数包括层3阈值,其中,所述远端终端在达到层3阈值后停止执行近距通信业务的中继终端的发现过程;The method of claim 1, wherein the first number includes a layer 3 threshold, wherein the remote terminal stops performing the discovery process of the relay terminal of the near field communication service after reaching the layer 3 threshold;
    其中,所述层3阈值为所述远端终端允许的未能建立基于层3中继终端的中继连接的失败次数的最大值。Wherein, the layer 3 threshold is a maximum value of the number of failures allowed by the remote terminal to establish a relay connection based on the layer 3 relay terminal.
  5. 如权利要求1所述的方法,所述第一次数包括层2阈值,其中,所述远端终端在达到层2阈值后停止执行近距通信业务的中继终端的发现过程,所述层2阈值为所述远端终端允许的未能建立基于层2中继终端的中继连接的失败次数的最大值。The method of claim 1, wherein the first number includes a layer 2 threshold, wherein the remote terminal stops performing the discovery process of the relay terminal of the near field communication service after reaching the layer 2 threshold, and the layer The 2 threshold is the maximum number of failures allowed by the remote terminal to establish a relay connection based on the layer 2 relay terminal.
  6. 如权利要求1所述的方法,其中,所述近距通信业务的中继连接,包括以下至少一项:The method according to claim 1, wherein the relay connection of the near field communication service includes at least one of the following:
    基于层2的中继终端的终端到网络的中继连接;Terminal-to-network relay connections based on layer 2 relay terminals;
    基于层3的中继终端的终端到网络的中继连接。Terminal-to-network relay connections based on Layer 3 relay terminals.
  7. 如权利要求6所述的方法,其中,在所述近距通信业务的中继连接包括基于层3的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项: The method of claim 6, wherein in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a layer 3 relay terminal, the first operation further includes the following: At least one:
    从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
    执行基于层2的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 2 short-range communication services;
    与层2中继终端建立PC5连接。Establish a PC5 connection with the layer 2 trunk terminal.
  8. 如权利要求6所述的方法,其中,在所述近距通信业务的中继连接包括基于层2的中继终端的终端到网络的中继连接的情况下,所述第一操作还包括以下至少一项:The method of claim 6, wherein in the case where the relay connection of the near field communication service includes a terminal-to-network relay connection based on a layer 2 relay terminal, the first operation further includes the following: At least one:
    执行基于层3的近距通信业务的中继终端的发现过程;Execute the discovery process of relay terminals based on layer 3 short-range communication services;
    与层3中继终端建立PC5连接。Establish a PC5 connection with the layer 3 trunk terminal.
  9. 如权利要求1-8任一项所述的方法,其中,所述远端终端未能建立近距通信业务的中继连接,包括:The method according to any one of claims 1 to 8, wherein the remote terminal fails to establish a relay connection of the near field communication service, including:
    所述远端终端执行第二操作发生失败;The remote terminal fails to perform the second operation;
    其中,所述第二操作包括以下至少一项:Wherein, the second operation includes at least one of the following:
    执行近距通信业务的中继终端的发现过程;The discovery process of relay terminals that perform short-range communication services;
    选择近距通信业务的中继终端;Select the relay terminal for the near field communication service;
    建立与近距通信业务的中继终端的PC5连接;Establish a PC5 connection with the relay terminal of the near field communication service;
    激活与近距通信业务的中继终端的PC5连接。Activate the PC5 connection with the relay terminal of the near field communication service.
  10. 如权利要求1-9任一项所述的方法,其中,所述远端终端在未能建立近距通信业务的中继连接之前,所述方法包括:The method according to any one of claims 1 to 9, wherein before the remote terminal fails to establish a relay connection of the near field communication service, the method includes:
    所述远端终端成功匹配第一URSP规则的第一路由选择描述符RSD。The remote terminal successfully matches the first routing descriptor RSD of the first URSP rule.
  11. 如权利要求1-10任一项所述的方法,其中,在执行所述第一操作之后,所述方法还包括:The method of any one of claims 1-10, wherein after performing the first operation, the method further includes:
    所述远端终端基于第一条件,执行第三操作;The remote terminal performs a third operation based on the first condition;
    其中,所述第一条件包括以下至少一项:Wherein, the first condition includes at least one of the following:
    近距通信业务的中继终端的发现过程失败;The discovery process of the relay terminal of the near field communication service failed;
    与中继终端的PC5连接建立失败;The PC5 connection establishment with the relay terminal failed;
    所述第一计时器到期;The first timer expires;
    所述远端终端允许的未能建立中继连接的失败次数达到所述第一次数;The number of failures allowed by the remote terminal to establish a relay connection reaches the first number;
    其中,所述第三操作包括以下至少一项: Wherein, the third operation includes at least one of the following:
    从最高优先级的UE路由选择策略URSP规则开始,重新匹配URSP规则;Starting from the highest priority UE routing policy URSP rule, rematch the URSP rules;
    匹配RSD优先级等于或低于第一RSD的第二RSD;Match the second RSD whose RSD priority is equal to or lower than the first RSD;
    匹配URSP优先级等于或低于第一URSP的第二URSP。Matches a second URSP with a URSP priority equal to or lower than the first URSP.
  12. 如权利要求1-11任一项所述的方法,其中,所述第一计时器的到期时间和/或第一次数是所述远端终端根据以下至少一项确定的:The method according to any one of claims 1-11, wherein the expiration time and/or the first time number of the first timer are determined by the remote terminal according to at least one of the following:
    所述远端终端的硬件能力;The hardware capabilities of the remote terminal;
    所述远端终端的业务类型;The service type of the remote terminal;
    所述远端终端的QoS需求;The QoS requirements of the remote terminal;
    所述远端终端中与近距离业务有关的参数策略信息。Parameter policy information related to short-range services in the remote terminal.
  13. 一种中继终端的选择装置,包括:A relay terminal selection device, including:
    第一处理模块,用于在未能建立远端终端的近距通信业务的中继连接的情况下,执行第一操作,其中,所述第一操作包括以下至少一项:The first processing module is configured to perform a first operation when the relay connection of the near-field communication service of the remote terminal fails to be established, wherein the first operation includes at least one of the following:
    启动第一计时器,所述第一计时器用于对建立中继连接的相关过程计时;Start a first timer, the first timer is used to time the relevant process of establishing the relay connection;
    基于第一次数,停止执行近距通信业务的中继终端的发现过程,所述第一次数为所述远端终端允许的未能建立中继连接的最大失败次数。Stop performing the discovery process of the relay terminal of the near-field communication service based on the first number, which is the maximum number of failures allowed by the remote terminal to fail to establish a relay connection.
  14. 一种终端,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至12任一项所述的中继终端的选择方法的步骤。A terminal includes a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the implementation of any one of claims 1 to 12 is achieved. The steps of the relay terminal selection method described above.
  15. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至12任一项所述的中继终端的选择方法的步骤。A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the relay terminal selection method according to any one of claims 1 to 12 are implemented. .
  16. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至12任一项所述的方法。A chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method according to any one of claims 1 to 12.
  17. 一种计算机程序/程序产品,所述计算机程序/程序产品被存储在非瞬态存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如权利要求1至12任一项所述的方法。A computer program/program product, the computer program/program product is stored in a non-transitory storage medium, the computer program/program product is executed by at least one processor to implement any one of claims 1 to 12 method described.
  18. 一种终端,被配置为执行如权利要求1至12任一项所述方法的步骤。 A terminal configured to perform the steps of the method according to any one of claims 1 to 12.
PCT/CN2023/084386 2022-03-29 2023-03-28 Method and apparatus for selecting relay user equipment, and user equipment and storage medium WO2023185841A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210323854.8 2022-03-29
CN202210323854.8A CN116939553A (en) 2022-03-29 2022-03-29 Relay terminal selection method, relay terminal selection device, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2023185841A1 true WO2023185841A1 (en) 2023-10-05

Family

ID=88199219

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/084386 WO2023185841A1 (en) 2022-03-29 2023-03-28 Method and apparatus for selecting relay user equipment, and user equipment and storage medium

Country Status (2)

Country Link
CN (1) CN116939553A (en)
WO (1) WO2023185841A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584670A (en) * 2012-08-23 2015-04-29 交互数字专利控股公司 Method and apparatus for performing device-to-device discovery
US20170099581A1 (en) * 2015-10-02 2017-04-06 Lg Electronics Inc. Method for performing a proximity service and user equipment
CN112514520A (en) * 2020-11-04 2021-03-16 北京小米移动软件有限公司 Method and device for reselecting relay UE, communication equipment and storage medium
CN113396611A (en) * 2021-05-07 2021-09-14 北京小米移动软件有限公司 Access failure processing method, device, terminal equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584670A (en) * 2012-08-23 2015-04-29 交互数字专利控股公司 Method and apparatus for performing device-to-device discovery
US20170099581A1 (en) * 2015-10-02 2017-04-06 Lg Electronics Inc. Method for performing a proximity service and user equipment
CN112514520A (en) * 2020-11-04 2021-03-16 北京小米移动软件有限公司 Method and device for reselecting relay UE, communication equipment and storage medium
CN113396611A (en) * 2021-05-07 2021-09-14 北京小米移动软件有限公司 Access failure processing method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN116939553A (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US20230171645A1 (en) Method for splitting end-to-end qos requirement information, terminal, and network side device
US20240129893A1 (en) Positioning measurement method, positioning configuration method, apparatus, and communication device
WO2022206612A1 (en) Communication path switching method and apparatus, and terminal
WO2023093636A1 (en) Information reporting method and apparatus, information configuration method and apparatus, terminal and network side device
WO2022237677A1 (en) Random access processing method and apparatus, and terminal
WO2023185841A1 (en) Method and apparatus for selecting relay user equipment, and user equipment and storage medium
WO2022199482A1 (en) Uplink transmission control method and apparatus, and terminal
TWI678937B (en) Method for uplink timing adjustment and terminal
WO2024001954A1 (en) Identifier configuration methods and apparatus, terminal and storage medium
WO2023179599A1 (en) Multi-path establishment method, terminal and network side device
WO2024027748A1 (en) Data transmission method and apparatus, and terminal
WO2023179658A1 (en) Path establishment method and apparatus, terminal, and network side device
WO2023185803A1 (en) Method and apparatus for determining radio link failure, and terminal and network-side device
WO2023051457A1 (en) Communication path switching method and apparatus, first terminal and second terminal
WO2023098726A1 (en) Communication path configuration method and apparatus, and terminal
WO2023280044A1 (en) Relay selection method, relay information transmission method and apparatus, and terminal
WO2023207900A1 (en) Terminal discovery method and apparatus, terminal, and network-side device
WO2024007961A1 (en) Relay control method and apparatus, and terminal and network-side device
WO2023143450A1 (en) Method for configuring data processing rule, and terminal and network-side device
WO2024007953A1 (en) Processing method and device, and readable storage medium
WO2024114598A1 (en) Path control method, apparatus, terminal, network side device and storage medium
WO2024093777A1 (en) User-equipment aggregation establishment method and apparatus, configuration method and apparatus, and communication device
WO2024093712A1 (en) Relay communication link processing method, relay communication link configuration method, relay terminal processing method and related device
US20240188047A1 (en) Computing session update method and apparatus, and communication device
WO2024022439A1 (en) Processing method, and device and readable storage medium

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: 23778206

Country of ref document: EP

Kind code of ref document: A1