Path selection method and apparatus, and storage medium and user equipment

By establishing a connection between user equipment and selecting a path based on business information and wireless channel quality, the problem of insufficient flexibility in path selection in the existing technology is solved, and efficient communication between user equipment is achieved.

WO2024178731A1PCT designated stage expired Publication Date: 2024-09-06BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/079415
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In the existing technology, during the path selection process between user equipments, it is difficult to flexibly and effectively select indirect connections or direct connections, resulting in insufficient accuracy and flexibility in path selection.

Method used

After a connection is established between user equipments, a path is selected based on service information, a second user equipment is selected to establish an indirect connection or a third user equipment is selected to establish a direct connection, and service attributes and wireless channel quality are used to determine the selected path.

Benefits of technology

It achieves the flexibility and accuracy of path selection between user equipment, can select the optimal path according to business requirements and channel quality, and improves communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023079415_06092024_PF_FP
    Figure CN2023079415_06092024_PF_FP
Patent Text Reader

Abstract

A path selection method and apparatus, and a storage medium and a user equipment. The method comprises: when it is determined that a first user equipment can establish a connection with a third user equipment by means of a second user equipment, and that the first user equipment can directly establish a connection with the third user equipment, performing path selection on the basis of service information, wherein the path selection comprises selecting the second user equipment to establish an indirect connection, or selecting the third user equipment to establish a direct connection. By means of the present application, when it is determined that a first user equipment can establish a connection with a third user equipment by means of a second user equipment and can also directly establish a connection with the third user equipment, a path is selected by using service information, such that the accuracy of path selection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Path selection method, device, storage medium and user equipment Technical Field

[0001] The present disclosure relates to the field of communication technologies, and in particular to a path selection method, device, storage medium, and user equipment. Background Art

[0002] To support direct communication between user equipment (UE), a sidelink communication method was introduced. The communication interface between UEs is the PC 5 interface. In related technologies, when a UE communicates with a network device, it can establish a communication connection with the network device through one or more other UEs. This relay connection can expand the coverage of the wireless network, eliminate or reduce communication blind spots, and achieve higher link capacity. The one or more other UEs can be referred to as relay UEs.

[0003] Summary of the Invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a path selection method, apparatus, storage medium, and user equipment.

[0005] According to a first aspect of an embodiment of the present disclosure, a path selection method is provided, which is applied to a first user equipment. The method includes:

[0006] When it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can establish a connection directly with the third user device, a path is selected based on the service information, where the path selection includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection.

[0007] According to a second aspect of an embodiment of the present disclosure, a path selection method is provided, which is applied to a second user equipment, including:

[0008] A first connection establishment request is sent to the first user equipment, where the first connection establishment request is used for the first user equipment to determine that it can establish an indirect connection with the third user equipment through the second user equipment.

[0009] According to a third aspect of an embodiment of the present disclosure, a path selection method is provided, which is applied to a third user equipment, including:

[0010] A second connection establishment request is sent to the first user equipment, where the second connection establishment request is used by the first user equipment to determine that it can establish a direct connection with the third user equipment.

[0011] According to a fourth aspect of an embodiment of the present disclosure, a path selection device is provided, including:

[0012] The selection module is configured to select a path based on the service information when it is determined that the first user device can establish a connection with the third user device through the second user device and when it is determined that the first user device can establish a connection directly with the third user device, where the path selection includes selecting the second user device to establish an indirect connection or selecting the third user device to establish a direct connection.

[0013] According to a fifth aspect of an embodiment of the present disclosure, a path selection device is provided, including:

[0014] The first sending module is configured to send a first connection establishment request to the first user equipment, where the first connection establishment request is used by the first user equipment to determine that it can establish an indirect connection with the third user equipment through the second user equipment.

[0015] According to a sixth aspect of an embodiment of the present disclosure, a path selection device is provided, including:

[0016] The second sending module is configured to send a second connection establishment request to the first user equipment, where the second connection establishment request is used by the first user equipment to determine whether it can establish a direct connection with the third user equipment.

[0017] According to a seventh aspect of an embodiment of the present disclosure, a user equipment is provided, including:

[0018] processor;

[0019] a memory for storing processor-executable instructions;

[0020] The processor is configured to execute the executable instructions to implement the path selection method provided in the first and second aspects of the present disclosure.

[0021] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the path selection method provided in the first to third aspects of the present disclosure are implemented.

[0022] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, a path is selected based on the service information, wherein selecting the path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection, thereby enabling flexible and effective path selection.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0025] FIG1 illustrates an application scenario to which a path selection method is applicable according to some embodiments.

[0026] FIG2 is an exemplary diagram illustrating establishment of a connection between a user equipment and a relay device in a path selection method according to some embodiments.

[0027] FIG3 is another exemplary diagram illustrating a method for path selection in which a user equipment establishes a connection with a relay device according to some embodiments.

[0028] FIG4 is another exemplary diagram illustrating a method for path selection in which a user equipment establishes a connection with a relay device according to some embodiments.

[0029] FIG5 is a flowchart illustrating a path selection method according to some embodiments.

[0030] FIG6 is a flowchart showing a path selection method according to some other embodiments.

[0031] FIG7 is a flowchart showing a path selection method according to yet other embodiments.

[0032] FIG8 is a flowchart showing a path selection method according to still other embodiments.

[0033] FIG9 is a flowchart showing a path selection method according to yet other embodiments.

[0034] FIG10 is a flowchart showing a path selection method according to still other embodiments.

[0035] FIG11 is a flowchart showing a path selection method according to yet other embodiments.

[0036] FIG12 is a flowchart showing a path selection method according to still other embodiments.

[0037] FIG13 is a flowchart showing a path selection method according to yet other embodiments.

[0038] FIG14 is a flowchart illustrating a path selection method according to some embodiments.

[0039] FIG15 is a flowchart illustrating a path selection method according to some embodiments.

[0040] FIG16 is a block diagram showing a path selection device according to some embodiments.

[0041] FIG17 is a block diagram showing a path selection device according to some embodiments.

[0042] FIG18 is a block diagram showing a path selection device according to some embodiments.

[0043] FIG19 is a block diagram illustrating a user equipment according to some embodiments. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0045] To facilitate understanding of the embodiments of the present application, some terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0046] 1) User equipment

[0047] User equipment includes devices that provide voice and / or data connectivity to users. Specifically, it includes devices that provide voice to users, devices that provide data connectivity to users, or devices that provide voice and data connectivity to users. For example, it may include a handheld device with wireless connection capabilities, or a processing device connected to a wireless modem. As an example, user equipment may include wireless user equipment, mobile user equipment, or user equipment (user device). In the embodiments of the present disclosure, user equipment may also be referred to as a terminal.

[0048] 2) Sidelink (SL)

[0049] Sidelinks, also known as edge links or sidelinks, are used for communication between user devices, including one-to-one sidelink communications and one-to-many sidelink communications. One-to-one sidelink communications may include unicast, while one-to-many sidelink communications may include broadcast and multicast. For example, broadcast may refer to communication with all user devices within a cell, and multicast may refer to communication with user devices in a communication group, which may include one or more user devices. Sidelink communications may include direct communication between two user devices or sidelink communications forwarded by a relay node.

[0050] 3) PC-5 interface

[0051] The PC-5 interface is used for wireless communication between user devices. That is, one user device communicates with another user device through the PC-5 interface. Sidelink communication between two user devices can also be performed through the PC-5 interface.

[0052] 4) Quality of Service (QoS) refers to a network's ability to utilize various basic technologies to provide better service for specified network communications. It is a network security mechanism and a technology used to solve problems such as network delays and congestion.

[0053] The following first introduces the implementation environment of the embodiments of the present disclosure. As shown in Figure 1, the application scenario includes a first user device 11, a second user device 12, and a third user device 13. The first user device 11 and the second user device 12 can communicate with each other via the PC5 interface and using Sidelink; the second user device 12 and the third user device 13 can communicate with each other via the PC5 interface and using Sidelink; and the first user device 11 and the third user device 13 can also communicate with each other via the PC5 interface and using Sidelink.

[0054] The first user equipment 11, the second user equipment 12, and the third user equipment 13 may be terminals (UEs) or other terminal-side devices, such as mobile phones, tablet personal computers, laptop computers, personal digital assistants (PDAs), mobile internet devices (MIDs), wearable devices, smart cars, in-vehicle devices, or robots. It should be noted that the present disclosure does not limit the specific types of user equipment.

[0055] It should be understood that in the application scenario shown in Figure 1, the first user device 11 and the third user device 13 implement sidelink communication through the relay of the second user device 12. This communication mode can be called U2U (UE to UE, device to device) relay communication. It is worth noting that although only one second user device 12 (relay user device) is shown in Figure 1, in actual application, the sidelink communication between the first user device 11 and the third user device 13 can be implemented through multiple second user devices 12 (relay user devices).

[0056] To support direct communication between user devices, Sidelink has been introduced. The interface between user devices in Sidelink can be PC-5. Depending on the correspondence between the sending and receiving user devices, Sidelink supports three transmission modes: unicast, multicast, and broadcast.

[0057] In some embodiments, during the process of establishing a unicast connection between user devices, the first user device 11 may send a Direct Communication Request (DCR) message to the other user devices. After receiving the Direct Communication Request message, the other user devices may reply with a Direct Communication Accept (DCA) message to the first user device 11, and based on this, a unicast connection may be established between the user devices.

[0058] In the embodiment of the present disclosure, the first user device 11 may be directly connected to the third user device 13, or may be connected to the third user device 13 through the relay of the second user device 12 instead of directly connecting to the third user device 13. Here, when the first user device 11 and the third user device 13 maintain a unicast connection, it can be called a sidelink direct link, and when the first user device 11 and the third user device 13 maintain a unicast connection through the second user device 12, it can be called an indirect sidelink link.

[0059] It should be noted that, in the embodiment of the present disclosure, the first user device 11 and the third user device 13 can be referred to as remote user devices, and the second user device 12 providing a relay function can be referred to as a relay user device. In addition, the remote user devices can include source user devices and target user devices.

[0060] For example, the first user equipment 11 may send sidelink data to the second user equipment 12 in a unicast manner, and then the second user equipment 12 may also forward the sidelink data to the third user equipment 13 in a unicast manner. In this case, the first user equipment 11 may be referred to as a Source remote UE, the second user equipment 12 may be referred to as a relay UE, and the third user equipment 13 may be referred to as a Target remote UE.

[0061] Exemplarily, the third user equipment 13 may send sidelink data to the second user equipment 12 in a unicast manner, and then the second user equipment 12 may also forward the sidelink data to the first user equipment 11 in a unicast manner. In this case, the third user equipment 13 may be referred to as a Source remote UE, the second user equipment 12 may be referred to as a relay UE, and the first user equipment 11 may be referred to as a Target remote UE.

[0062] In summary, the first user device 11 can serve as both a source user device and a target user device. Similarly, the third user device 13 can serve as both a source user device and a target user device. That is, the first user device 11 and the second user device 12 can serve as each other's target user devices. The specific role of the first user device 11 and the third user device 13 as the source user device and the target user device is not explicitly limited here and can be selected based on actual circumstances.

[0063] In some embodiments, the sidelink wireless channel quality between the remote user equipment and the relay user equipment can be characterized by SD-RSRP (sidelink Discovery Reference Signal Receiving Power) or SL-RSRP (sidelink Reference Signal Receiving Power). SD-RSRP is the RSRP (Reference Signal Receiving Power) of the sidelink discovery signal, and SL-RSRP is the RSRP of the sidelink communication signal. In addition, the measurement of SD-RSRP does not require the establishment of a unicast connection between user equipment, while the measurement of SL-RSRP requires the establishment of a unicast connection between user equipment.

[0064] There are three ways to establish a connection between user devices via a relay. The first way, as shown in Figure 2, involves first user device 11 sending a direct communication request (DCR) to second user device 12 and third user device 13. The DCR may carry the identifier of the target user device for which a unicast connection is to be established, i.e., the identifier of third user device 13. Upon receiving the DCR, second user device 12 may forward it to third user device 13. Upon receiving the DCR, third user device 13 determines which second user device 12 to send a direct communication accept (DCA) message to, and then sends the DCA message to the second user device 12 it has determined. Second user device 12 may forward the received DCA message to first user device 11. Based on this, first user device 11 may establish a connection with third user device 13 via second user device 12, or directly with third user device 13.

[0065] The second method can be shown in Figure 3. In this method, the first user device 11 can send a discovery request message to the second user device 12 and the third user device 13. The discovery request message can carry the identifier of the third user device 13. After receiving the discovery request, the second user device 12 can forward it to the third user device 13. After receiving the discovery request, the third user device 13 can send a discovery response message to the second user device 12, or send a discovery response message to the first user device 11. In addition, the second user device 12 can forward the received discovery response message to the first user device 11. Based on this, the first user device 11 can establish a connection with the third user device 13 through the second user device 12, or directly establish a connection with the third user device 13. Here, the discovery request can be referred to as a discovery solicitation, and the discovery response can be referred to as a discovery reply.

[0066] The third method can be shown in Figure 4. In this method, after determining that the second user equipment has performed a previous discovery, or there is an existing communication or previous communication between the second user equipment 12 (relay) and the third user equipment 13 (target), the second user equipment 12 can send an announcement message to the first user equipment 11. The announcement message can carry a list of target user equipment for communication (a list of User Info ID and Layer-2 ID of the target UE), a discovery type (Disco Type), information of the relay user equipment (User Info ID of the UE-to-UE Relay), and an RSC (Relay Service Code). After receiving the announcement message, if the first user equipment 11 determines that the target user equipment is in the list, it can establish a connection with the third user equipment 13 through the second user equipment 12.

[0067] In summary, when the source user device receives replies from both the relay user device and the target user device, it is currently unclear whether to choose to establish an indirect connection with the relay user device or directly connect to the target user device. Furthermore, when the target user device receives connection request messages from both the relay user device and the source user device, it is currently unclear whether to choose to establish an indirect connection with the relay user device or directly connect to the source user device.

[0068] Figure 5 is a flow chart of a path selection method according to some embodiments. As shown in Figure 5 , the path selection method may be used in a first user equipment and includes the following steps.

[0069] In step S110 , when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment and when it is determined that the first user equipment can directly establish a connection with the third user equipment, a path is selected based on the service information.

[0070] In some embodiments, when the terminal device determines that the first user device can establish a connection with the third user device through the second user device and determines that the first user device can directly establish a connection with the third user device, the terminal device selects a path based on the service information. Selecting the path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection. The indirect connection requires a relay user device, while the direct connection does not require a relay user device.

[0071] As an alternative, the first user equipment may be a source user equipment, the second user equipment may be a relay user equipment, and the third user equipment may be a target user equipment. Alternatively, the third user equipment may also be a source user equipment, and the first user equipment may also be a target user equipment. Thus, the first user equipment may serve as both a source user equipment and a target user equipment.

[0072] In the embodiments of the present disclosure, when a first user device receives connection requests from both a second user device and a third user device simultaneously, the first user device may select the second user device to establish an indirect connection based on the service information, or directly establish a direct connection with the third user device. In other words, upon determining that it can establish a connection with the third user device through the second user device, or directly establish a connection with the third user device, the first user device may select, based on the service information, to establish an indirect connection with the third user device through the second user device, or directly establish a connection with the third user device.

[0073] In addition, the service information may include attributes (Service characteristics) of the service performed between the first user equipment and the third user equipment, or may also include wireless channel quality between the first user equipment, the second user equipment, and the third user equipment.

[0074] It should be noted that, in addition to selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection, the selection path in the embodiment of the present disclosure may also include selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection.

[0075] It should also be noted that the first user device can determine whether it can establish a connection with the third user device through the second user device based on a message received from the second user device. Similarly, the first user device can also determine whether it can directly establish a connection with the third user device based on a message received from the third user device.

[0076] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, the first user device can select a path based on the service information, wherein selecting the path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection, thereby enabling flexible and effective path selection.

[0077] Figure 6 is a flow chart of a path selection method according to some other embodiments. As shown in Figure 6, the path selection method can be used in a first user equipment and includes the following steps.

[0078] In step S210, upon receiving the first message sent by the second user equipment, it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment.

[0079] In some embodiments, if a first user device receives a first message from a second user device, the first user device determines that the first user device can establish a connection with a third user device through the second user device. Here, the first message may include at least one of a direct communication acceptance message from the third user device, a direct communication request message from the third user device, a discovery reply message from the third user device, and a declaration message, wherein the declaration message may be used to indicate an identifier of the third user device.

[0080] As a specific embodiment, when a first user device serves as a source user device and a third user device serves as a target user device, if the first user device receives a direct communication acceptance message (DCA) from the third user device forwarded by a second user device, the first user device can determine that it can establish a connection with the third user device through the second user device. The direct communication acceptance message (DCA) can be a message received by the second user device from the third user device and forwarded to the first user device. Furthermore, the direct communication acceptance message (DCA) can carry the identifiers of the first user device, the second user device, and the third user device.

[0081] As another specific implementation, when the first user device serves as the source user device and the third user device serves as the target user device, if the first user device receives a discovery reply message from the third user device forwarded by the second user device, the first user device may determine that it is able to establish a connection with the third user device through the second user device. The discovery reply message may also be a message received by the second user device from the third user device and forwarded to the first user device. Furthermore, the discovery reply message may carry the identifiers of the first user device, the second user device, and the third user device.

[0082] As a specific embodiment, when a first user device serves as a target user device and a third user device serves as a source user device, if the first user device receives a direct communication request message (DCR) from the third user device forwarded by a second user device, the first user device may determine that it can establish a connection with the third user device through the second user device. The direct communication request message (DCR) may be a message received by the second user device from the third user device and forwarded to the first user device. Furthermore, the direct communication request message (DCR) may carry the identifiers of the first user device, the second user device, and the third user device. Here, the second user device may be the same as or different from the second user device in the above embodiment.

[0083] As a specific implementation, when the first user device serves as the source user device and the third user device serves as the target user device, if the first user device receives a declaration message sent by the second user device, the first user device can determine that it can establish a connection with the third user device through the second user device. The declaration message can be sent to the first user device by the second user device when it determines that it has performed the previous discovery or determines that there is existing communication or previous communication between the second user device and the third user device. The declaration message can be used to indicate the identification of the third user device. In addition, the declaration message can carry the identification of the first user device, the second user device, and the third user device.

[0084] In the embodiment of the present disclosure, upon receiving the at least one message, the first user equipment may determine that it can establish an indirect connection with the third user equipment through the second user equipment.

[0085] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0086] The embodiment of the present application provides that, upon receiving a first message sent by a second user device, it is determined that the first user device can establish a connection with a third user device through the second user device, so that an indirect connection can be made more accurately.

[0087] Figure 7 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 7 , the path selection method may be used in a first user equipment and includes the following steps.

[0088] In step S310, upon receiving the second message sent by the third user equipment, it is determined that the first user equipment can directly establish a connection with the third user equipment.

[0089] In some embodiments, if the first user equipment receives the second message from the third user equipment, it determines that the first user equipment can directly establish a connection with the third user equipment. Here, the second message may include at least one of a direct communication acceptance message, a direct communication request message, and a discovery reply message.

[0090] As a specific embodiment, when a first user device serves as a source user device and a third user device serves as a target user device, if the first user device receives a direct communication accept message (DCA) sent by the third user device, the first user device may determine that it can directly establish a connection with the third user device. Here, the direct communication accept message (DCA) may carry the identifiers of the first user device and the third user device.

[0091] In another specific embodiment, when the first user device serves as the source user device and the third user device serves as the target user device, if the first user device receives a discovery reply message sent by the third user device, the first user device may determine that it can directly establish a connection with the third user device. Here, the discovery reply message may carry the identifiers of the first user device and the third user device.

[0092] As a specific embodiment, when a first user equipment serves as a target user equipment and a third user equipment serves as a source user equipment, if the first user equipment receives a direct communication request message (DCR) sent by the third user equipment, the first user equipment may determine that it can directly establish a connection with the third user equipment. Here, the direct communication request message (DCR) may carry the identifiers of the first user equipment and the third user equipment.

[0093] In the embodiment of the present disclosure, upon receiving the at least one message, the first user equipment may determine that it can directly establish a connection with the third user equipment.

[0094] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0095] The embodiment of the present application provides that, upon receiving the second message sent by the third user equipment, it is determined that the first user equipment can directly establish a connection with the third user equipment, so that the direct connection can be performed more accurately.

[0096] Figure 8 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 8 , the path selection method may be used in a first user equipment and includes the following steps.

[0097] In step S410, when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment, and when it is determined that the first user equipment can directly establish a connection with the third user equipment, a path is selected according to the attributes of the service performed by the first user equipment and the third user equipment.

[0098] As an optional approach, when the first user equipment determines that it can establish a connection with the third user equipment through the second user equipment and determines that it can establish a connection directly with the third user equipment, the embodiments of the present disclosure may select a path based on attributes of a service performed by the first user equipment and the third user equipment. The service attributes may include at least one of an address of the third user equipment, a service type, and a service quality of service.

[0099] In a specific embodiment, the first user device may select a path based on the address of the third user device. Different addresses of the third user device may result in different selected paths. For example, when the address of the third user device is the first address, the corresponding selected path is to select the second user device to establish an indirect connection. For another example, when the address of the third user device is the second address, the corresponding selected path is to select the third user device to establish a direct connection.

[0100] In another specific embodiment, the first user device may select a path based on the type of service it conducts with the third user device. Service types may include vehicle networking, remote driving, platooning, wearable devices, and commerce. Different service types between the first user device and the third user device may result in different selected paths. For example, when the service type is vehicle networking, the corresponding selected path is to establish an indirect connection with the second user device. For another example, when the service type is remote driving, the corresponding selected path is to establish a direct connection with the third user device.

[0101] In another specific embodiment, the first user device can select a path based on the service quality of the business. The service quality of the business can be determined by QOS, PC5QoS (quality of service on the PC5 interface), PFI (PC5QoS Flow Identifier, PC5 interface service quality flow identifier), PQI (PC5 5QI Identifier, PC5 interface service quality identifier). Different service qualities may also result in different corresponding selection paths. For example, when the service quality of the business is the first parameter, the corresponding selection path is to select the second user device to establish an indirect connection. For another example, when the service quality of the business is the second parameter, the corresponding selection path is to select the third user device to establish a direct connection.

[0102] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0103] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can establish a connection directly with the third user device, a path is selected according to the attributes of the services performed by the first user device and the third user device, thereby improving the accuracy of path selection.

[0104] Figure 9 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 9 , the path selection method may be used in a first user equipment and includes the following steps.

[0105] In step S510, when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment and that the first user equipment can directly establish a connection with the third user equipment, a path corresponding to the attribute of the service is determined as a selected path.

[0106] In the embodiments of the present disclosure, if it is determined that the first user device can establish a connection with the third user device through the second user device, and if it is determined that the first user device can establish a connection with the third user device directly, the first user device may determine a path corresponding to the attributes of the service as the selected path. As described above, the attributes of the service may include at least one of the address of the third user device, the service type, and the service quality of service.

[0107] Specifically, the first user equipment may obtain a correspondence between service attributes and selected paths, and on this basis, select a path according to the service attributes and the correspondence, wherein the correspondence between the service attributes and the selected paths may be provided by the application layer.

[0108] As an example, the first user equipment may obtain a first correspondence between the address of the third user equipment and the selection path, and based on this, obtain the selection path corresponding to the address of the third user equipment through the first correspondence.

[0109] As another example, the first user equipment may obtain a second correspondence between a service type and a selected path, and based on this, obtain a selected path corresponding to the service type through the second correspondence.

[0110] As another example, the first user equipment may obtain a selected path corresponding to the service quality based on the third corresponding relationship between the service quality and the selected path.

[0111] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0112] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, the path corresponding to the attributes of the service is determined as the selected path, so that the path selection can be achieved quickly and effectively.

[0113] Figure 10 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 10 , the path selection method may be used in a first user equipment and includes the following steps.

[0114] In step S610, when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment and that the first user equipment can directly establish a connection with the third user equipment, the first wireless channel quality and the second wireless channel quality are acquired.

[0115] As an optional approach, when the first user equipment determines that it can establish a connection with the third user equipment through the second user equipment and determines that it can establish a connection directly with the third user equipment, the embodiment of the present disclosure can obtain the first wireless channel quality and the second wireless channel quality. The first wireless channel quality may be the wireless channel quality between the first user equipment and the second user equipment, and the second wireless channel quality may be the wireless channel quality between the first user equipment and the third user equipment.

[0116] It should be noted that the first wireless channel quality may also be the wireless channel quality between the second user equipment and the third user equipment. Here, the wireless channel quality between the second user equipment and the third user equipment may be sent by the second user equipment. For example, the wireless channel quality between the first user equipment and the second user equipment may be referred to as wireless channel quality 1, and the wireless channel quality between the second user equipment and the third user equipment may be referred to as wireless channel quality 2.

[0117] Optionally, the first wireless channel quality may be an average of wireless channel quality 1 and wireless channel quality 2, or a maximum or minimum value of wireless channel quality 1 and wireless channel quality 2. The specific method for obtaining the first wireless channel quality is not explicitly limited here and may be selected based on actual circumstances.

[0118] In step S620, a path is selected according to the first wireless channel quality and the second wireless channel quality.

[0119] In some implementations, after obtaining the first wireless channel quality and the second wireless channel quality, the first user equipment may select a path by comparing the two wireless channel qualities.

[0120] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0121] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, the first wireless channel quality and the second wireless channel quality are obtained, and on this basis, the first wireless channel quality and the second wireless channel quality are used to select a path, thereby improving the accuracy of path selection.

[0122] Figure 11 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 11 , the path selection method may be used in a first user equipment and includes the following steps.

[0123] In step S710, when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment and that the first user equipment can directly establish a connection with the third user equipment, the first wireless channel quality and the second wireless channel quality are acquired.

[0124] The specific implementation of step S710 has been described in detail in the above embodiment and will not be repeated here.

[0125] In step S720, when the quality of the first wireless channel is higher than the quality of the second wireless channel, a second user equipment is selected to establish an indirect connection.

[0126] As an optional method, after obtaining the first wireless channel quality and the second wireless channel quality, if the first user device determines that the first wireless channel quality is higher than the second wireless channel quality, the embodiment of the present disclosure can select the second user device to establish an indirect connection. In other words, if it is determined that the wireless channel quality between the first user device and the second user device is higher than the wireless channel quality between the first user device and the third user device, or if it is determined that the wireless channel quality between the second user device and the third user device is higher than the wireless channel quality between the first user device and the third user device, the first user device can establish an indirect connection with the third user device through the second user device.

[0127] Optionally, if it is determined that the quality of the first wireless channel is lower than the quality of the second wireless channel, a third user device is selected to establish a direct connection. In other words, if it is determined that the quality of the wireless channel between the first user device and the second user device is lower than the quality of the wireless channel between the first user device and the third user device, or if it is determined that the quality of the wireless channel between the second user device and the third user device is lower than the quality of the wireless channel between the first user device and the third user device, the first user device may establish a direct connection with the third user device.

[0128] It should be noted that if it is determined that the wireless channel quality between the first user device and the second user device is higher than the wireless channel quality between the first user device and the third user device, and the wireless channel quality between the second user device and the third user device is lower than the wireless channel quality between the first user device and the third user device, the wireless channel quality between the first user device and the second user device can be used as the main factor.

[0129] It should also be noted that, for multiple embodiments or features separated by "or," even if some features are not feasible, this will not affect other solutions. Furthermore, where not inconsistent, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various alternatives, which will not be further elaborated here.

[0130] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, the first wireless channel quality and the second wireless channel quality are obtained, and on this basis, the first wireless channel quality and the second wireless channel quality are used to select a path, thereby improving the accuracy of path selection.

[0131] Figure 12 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 12, the path selection method can be used in a first user equipment and includes the following steps.

[0132] In step S810, when it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment and when it is determined that the first user equipment can directly establish a connection with the third user equipment, a first wireless channel quality and a second wireless channel quality are acquired.

[0133] The specific implementation of step S810 has been described in detail in the above embodiment and will not be repeated here.

[0134] In step S820, when the first wireless channel quality is higher than the second wireless channel quality preset value, a second user equipment is selected to establish an indirect connection.

[0135] As an optional method, after obtaining the first wireless channel quality and the second wireless channel quality, if the first user device determines that the first wireless channel quality is higher than the preset value of the second wireless channel quality, the embodiment of the present disclosure can select the second user device to establish an indirect connection. In other words, if it is determined that the wireless channel quality between the first user device and the second user device is higher than the wireless channel quality between the first user device and the third user device and is higher than the preset value, or if it is determined that the wireless channel quality between the second user device and the third user device is higher than the wireless channel quality between the first user device and the third user device and is higher than the preset value, the first user device can establish an indirect connection with the third user device through the second user device.

[0136] Optionally, if it is determined that the quality of the first wireless channel is lower than a preset value of the quality of the second wireless channel, a third user device is selected to establish a direct connection. In other words, if it is determined that the quality of the wireless channel between the first user device and the second user device is lower than the quality of the wireless channel between the first user device and the third user device and is lower than a preset value, or if it is determined that the quality of the wireless channel between the second user device and the third user device is lower than the quality of the wireless channel between the first user device and the third user device and is lower than a preset value, the first user device may establish a direct connection with the third user device.

[0137] It should be noted that if it is determined that the wireless channel quality between the first user device and the second user device is higher than the preset value of the wireless channel quality between the first user device and the third user device, and the wireless channel quality between the second user device and the third user device is lower than the preset value of the wireless channel quality between the first user device and the third user device, the wireless channel quality between the first user device and the second user device can be used as the main factor.

[0138] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0139] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, the first wireless channel quality and the second wireless channel quality are obtained, and on this basis, the first wireless channel quality and the second wireless channel quality are used to select a path, thereby improving the accuracy of path selection.

[0140] Figure 13 is a flow chart of a path selection method according to some further embodiments. As shown in Figure 13 , the path selection method may be used in a first user equipment and includes the following steps.

[0141] In step S910, a preset value is obtained according to an attribute of a service performed between the first user equipment and the third user equipment.

[0142] As an optional approach, embodiments of the present disclosure can obtain a preset value based on the attributes of a service performed between a first user device and a third user device. The service attributes may include at least one of the third user device's address, service type, and service quality of service. Specifically, the first user device may first obtain a correspondence between the service attributes and the preset values, and then utilize this correspondence and the service attributes to obtain the preset value. The correspondence may be provided by the application layer.

[0143] As an example, the first user equipment may obtain a fourth correspondence between the address of the third user equipment and a preset value, and on this basis, obtain the first preset value corresponding to the address of the third user equipment through the fourth correspondence.

[0144] As another example, the first user equipment may obtain a fifth correspondence between the service type and the preset value, and on this basis, obtain a second preset value corresponding to the service type through the fifth correspondence.

[0145] As another example, the first user equipment may obtain a third preset value corresponding to the service quality based on a sixth correspondence between the service quality and the preset value through the sixth correspondence.

[0146] As another optional approach, when multiple preset values ​​are obtained based on attributes of a service performed between the first user equipment and the third user equipment, the embodiment of the present disclosure may use the largest preset value as the target preset value, and select the second user equipment to establish an indirect connection when the first wireless channel quality is higher than the second wireless channel quality target preset value. Alternatively, when the first wireless channel quality is lower than the second wireless channel quality target preset value, select the third user equipment to establish a direct connection.

[0147] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0148] The embodiment of the present application provides that a preset value is obtained according to the attribute of the service performed by the first user equipment and the third user equipment. This can improve the flexibility of obtaining the preset value and further improve the accuracy of path selection.

[0149] Figure 14 is a flow chart showing a path selection method according to some embodiments. As shown in Figure 14, the path selection method can be used in a second user equipment and includes the following steps.

[0150] In step S1010, a first connection establishment request is sent to a first user equipment.

[0151] In an embodiment of the present disclosure, a first connection establishment request may be used by a first user equipment to determine whether it can establish an indirect connection with a third user equipment through a second user equipment. The first connection establishment request may include a first message, which may include at least one of the following: a direct communication acceptance message sent by the third user equipment; a direct communication request message sent by the third user equipment; a discovery reply message sent by the third user equipment; or a declaration message, wherein the declaration message may be used to indicate an identifier of the third user equipment.

[0152] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0153] An embodiment of the present application stipulates that the second user device can send a first connection request to the first user device, wherein the first connection establishment request is used by the first user device to determine that it can establish an indirect connection with the third user device through the second user device, thereby assisting the first user device to perform more accurate path selection.

[0154] Figure 15 is a flow chart showing a path selection method according to some embodiments. As shown in Figure 15 , the path selection method can be used for a third user equipment and includes the following steps.

[0155] In step S1110 , a second connection establishment request is sent to the first user equipment.

[0156] In the embodiment of the present disclosure, the second connection establishment request is used by the first user equipment to determine whether it can establish a direct connection with the third user equipment. The second connection establishment request may include a second message, which may include at least one of the following: a direct communication acceptance message; a direct communication request message; or a discovery reply message.

[0157] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0158] An embodiment of the present application stipulates that the third user device can send a second connection establishment request to the first user device, wherein the second connection establishment request is used by the first user device to determine that it can establish a direct connection with the third user device, thereby assisting the first user device in performing more accurate path selection.

[0159] In another exemplary embodiment, a path selection method is further provided. The path selection method may be applied to a path selection system, wherein the path selection system may include a first user equipment, a second user equipment, and a third user equipment.

[0160] In some implementations, the first user equipment may receive a first connection establishment request sent by the second user equipment, through which the first user equipment may determine that it can establish an indirect connection with the third user equipment through the second user equipment.

[0161] In addition, the first user equipment may also receive a second connection establishment request sent by the third user equipment. Through the second connection establishment request, the first user equipment may determine that it can establish a direct connection with the third user equipment.

[0162] The first user equipment selects a path based on the service information when determining that it can establish a connection with the third user equipment through the second user equipment and determining that it can establish a connection directly with the third user equipment. Here, selecting the path may include selecting the second user equipment to establish an indirect connection or selecting the third user equipment to establish a direct connection.

[0163] As an optional manner, if the first user equipment receives a first message sent by the second user equipment, it determines that it can establish a connection with the third user equipment through the second user equipment. The first message may include at least one of a direct communication acceptance message from the third user equipment, a direct communication request message from the third user equipment, a discovery reply message from the third user equipment, and a declaration message, where the declaration message is used to indicate the identity of the third user equipment.

[0164] Alternatively, if the first user equipment receives a second message sent by the third user equipment, it determines that it can directly establish a connection with the third user equipment. The second message may include at least one of a direct communication acceptance message, a direct communication request message, and a discovery reply message.

[0165] It should be noted that, even if some of the features of the multiple embodiments or features separated by "or" are not feasible, this will not affect other solutions. In addition, the embodiments of the present disclosure can be combined with other embodiments or implementations of the path selection method and their various optional solutions, unless there is any contradiction, which will not be repeated here.

[0166] The embodiments of the present disclosure provide that, in a path selection system, a first user equipment, a second user equipment, and a third user equipment can flexibly and effectively implement path selection through information interaction.

[0167] FIG16 is a block diagram showing a path selection apparatus 1200 according to some embodiments. Referring to FIG16 , the path selection apparatus 1200 may include a selection module 1210 .

[0168] The selection module 1210 is configured to select a path based on service information when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device. The selected path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection.

[0169] In some implementations, the selection module 1210 is further configured to, upon receiving the first message sent by the second user equipment, determine that the first user equipment can establish a connection with the third user equipment through the second user equipment.

[0170] In some embodiments, the first message includes at least one of the following:

[0171] a direct communication acceptance message of the third user equipment;

[0172] a direct communication request message of the third user equipment;

[0173] a discovery reply message of the third user equipment;

[0174] A declaration message, where the declaration message is used to indicate an identifier of the third user equipment.

[0175] In some implementations, the selection module 1210 is further configured to, upon receiving a second message sent by the third user equipment, determine that the first user equipment can directly establish a connection with the third user equipment.

[0176] In some embodiments, the second message includes at least one of the following:

[0177] Direct communication to receive messages;

[0178] Direct communication request message;

[0179] Found reply message.

[0180] In some implementations, the selection module 1210 is further configured to select a path according to attributes of the service performed between the first user equipment and the third user equipment.

[0181] In some implementations, the attributes of the service include at least one of the following:

[0182] the address of the third user equipment;

[0183] Business type;

[0184] Business service quality.

[0185] In some implementations, the selection module 1210 is further configured to determine a path corresponding to the attribute of the service as the selected path.

[0186] In some implementations, the selection module 1210 includes:

[0187] a quality acquisition submodule, configured to acquire a first wireless channel quality and a second wireless channel quality, where the first wireless channel quality is the quality of the wireless channel between the first user equipment and the second user equipment, and the second wireless channel quality is the quality of the wireless channel between the first user equipment and the third user equipment;

[0188] The path determination submodule is configured to determine the selected path according to the first wireless channel quality and the second wireless channel quality.

[0189] In some embodiments, the path determination submodule is configured to select the second user equipment to establish an indirect connection when the quality of the first wireless channel is higher than the quality of the second wireless channel; and to select the third user equipment to establish a direct connection when the quality of the first wireless channel is lower than the quality of the second wireless channel.

[0190] In some embodiments, the path determination submodule is further configured to select the second user equipment to establish an indirect connection when the quality of the first wireless channel is higher than a preset value of the quality of the second wireless channel; and to select the third user equipment to establish a direct connection when the quality of the first wireless channel is lower than the preset value of the quality of the second wireless channel.

[0191] In some implementations, the path selection device 1200 further includes:

[0192] The acquisition module is configured to obtain the preset value according to the attributes of the service performed by the first user equipment and the third user equipment, where the attributes of the service include at least one of the address, service type and service quality of the third user equipment.

[0193] An embodiment of the present application stipulates that when it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can establish a connection directly with the third user device, a path is selected based on the service information, wherein selecting the path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection, so that the path selection can be implemented flexibly and effectively.

[0194] FIG17 is a block diagram showing a path selection apparatus 1300 according to some embodiments. Referring to FIG17 , the path selection apparatus 1300 may include a first sending module 1310 .

[0195] The first sending module 1310 is configured to send a first connection establishment request to the first user equipment, where the first connection establishment request is used by the first user equipment to determine that it can establish an indirect connection with the third user equipment through the second user equipment.

[0196] In some implementations, the first connection establishment request includes a first message, where the first message includes at least one of the following:

[0197] a direct communication acceptance message sent by the third user equipment;

[0198] a direct communication request message sent by the third user equipment;

[0199] A discovery reply message sent by the third user equipment;

[0200] A declaration message, where the declaration message is used to indicate an identifier of the third user equipment.

[0201] An embodiment of the present application stipulates that the second user device can send a first connection request to the first user device, wherein the first connection establishment request is used by the first user device to determine that it can establish an indirect connection with the third user device through the second user device, thereby assisting the first user device to perform more accurate path selection.

[0202] FIG18 is a block diagram showing a path selection device 1400 according to some embodiments. Referring to FIG18 , the path selection device 1400 may include a second sending module 1410 .

[0203] The second sending module 1410 may be configured to send a second connection establishment request to the first user equipment, where the second connection establishment request is used for the first user equipment to determine that it can establish a direct connection with the third user equipment.

[0204] In some implementations, the second connection establishment request includes a second message, and the second message includes at least one of the following:

[0205] Direct communication to receive messages;

[0206] Direct communication request message;

[0207] Found reply message.

[0208] An embodiment of the present application stipulates that the third user device can send a second connection establishment request to the first user device, wherein the second connection establishment request is used by the first user device to determine that it can establish a direct connection with the third user device, thereby assisting the first user device in performing more accurate path selection.

[0209] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0210] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the path selection method provided by the present disclosure are implemented.

[0211] Figure 19 is a block diagram of a user device according to some embodiments. For example, user device 1500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a smart car, etc.

[0212] 19 , user device 1500 may include one or more of the following components: a processing component 1502 , a memory 1504 , a power component 1506 , a multimedia component 1508 , an audio component 1510 , an input / output interface 1512 , a sensor component 1514 , and a communication component 1516 .

[0213] Processing component 1502 generally controls the overall operation of user device 1500, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. Processing component 1502 may include one or more processors 1520 to execute instructions to perform all or part of the steps of the path selection method described above. In addition, processing component 1502 may include one or more modules to facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.

[0214] The memory 1504 is configured to store various types of data to support operations on the user device 1500. Examples of such data include instructions for any application or method operating on the user device 1500, contact data, phone book data, messages, pictures, videos, etc. The memory 1504 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0215] Power supply component 1506 provides power to various components of user device 1500. Power supply component 1506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to user device 1500.

[0216] The multimedia component 1508 includes a screen that provides an output interface between the user device 1500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1508 includes a front camera and / or a rear camera. When the user device 1500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0217] The audio component 1510 is configured to output and / or input audio signals. For example, the audio component 1510 includes a microphone (MIC) that is configured to receive external audio signals when the user device 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, the audio component 1510 further includes a speaker for outputting audio signals.

[0218] The input / output interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0219] Sensor assembly 1514 includes one or more sensors for providing various aspects of the status assessment of user device 1500. For example, sensor assembly 1514 can detect the open / closed state of user device 1500, the relative positioning of components, such as the display and keypad of user device 1500. Sensor assembly 1514 can also detect changes in the position of user device 1500 or a component of user device 1500, the presence or absence of user contact with user device 1500, the orientation or acceleration / deceleration of user device 1500, and changes in the temperature of user device 1500. Sensor assembly 1514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1514 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1514 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0220] The communication component 1516 is configured to facilitate wired or wireless communication between the user device 1500 and other devices. The user device 1500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0221] In an exemplary embodiment, the user equipment 1500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned path selection method.

[0222] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1504 including instructions. The instructions can be executed by the processor 1520 of the user device 1500 to implement the above-mentioned path selection method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0223] In addition to being an independent user device, the above-mentioned device can also be a part of an independent user device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-on-chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned path selection method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned path selection method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned path selection method.

[0224] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned path selection method when executed by the programmable device.

[0225] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0226] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A path selection method, characterized in that: Applied to a first user device, comprising: When it is determined that the first user device can establish a connection with the third user device through the second user device, and when it is determined that the first user device can directly establish a connection with the third user device, a path is selected based on the service information, and the selected path includes selecting the second user device to establish an indirect connection, or selecting the third user device to establish a direct connection.

2. The method according to claim 1, characterized in that The determining that the first user equipment can establish a connection with the third user equipment through the second user equipment includes: In case of receiving the first message sent by the second user equipment, it is determined that the first user equipment can establish a connection with the third user equipment through the second user equipment.

3. The method according to claim 2, characterized in that The first message includes at least one of the following: A direct communication acceptance message of the third user equipment; A direct communication request message of the third user equipment; A discovery reply message of the third user equipment; A declaration message, where the declaration message is used to indicate an identifier of the third user equipment.

4. The method according to claim 1, characterized in that: The determining that the first user equipment can directly establish a connection with the third user equipment includes: In case of receiving the second message sent by the third user equipment, it is determined that the first user equipment can directly establish a connection with the third user equipment.

5. The method according to claim 4, characterized in that The second message includes at least one of the following: Direct communication to receive messages; Direct communication request message; Found reply message.

6. The method according to claim 1, characterized in that The selecting a path based on the business information includes: A path is selected according to an attribute of a service performed by the first user equipment and the third user equipment.

7. The method according to claim 6, characterized in that The attributes of the service include at least one of the following: The address of the third user equipment; Type of business; Business service quality.

8. The method according to claim 6, characterized in that The selecting a path according to the attribute of the service performed by the first user equipment and the third user equipment includes: A path corresponding to the attribute of the service is determined as the selected path.

9. The method according to claim 1, characterized in that: The selecting a path based on the business information further includes: Acquire a first wireless channel quality and a second wireless channel quality, where the first wireless channel quality is a wireless channel quality between the first user equipment and the second user equipment, and the second wireless channel quality is a wireless channel quality between the first user equipment and the third user equipment; A path is selected according to the first wireless channel quality and the second wireless channel quality.

10. The method according to claim 9, characterized in that The determining the selected path according to the first wireless channel quality and the second wireless channel quality includes: When the quality of the first wireless channel is higher than the quality of the second wireless channel, selecting the second user equipment to establish an indirect connection; When the quality of the first wireless channel is lower than the quality of the second wireless channel, the third user equipment is selected to establish a direct connection.

11. The method according to claim 10, characterized in that The selecting the second user equipment to establish an indirect connection when the quality of the first wireless channel is higher than the quality of the second wireless channel includes: When the quality of the first wireless channel is higher than a preset value of the quality of the second wireless channel, selecting the second user equipment to establish an indirect connection; The selecting the third user equipment to establish a direct connection when the quality of the first wireless channel is lower than the quality of the second wireless channel includes: When the first wireless channel quality is lower than the preset value of the second wireless channel quality, the third user equipment is selected to establish a direct connection.

12. The method according to claim 11, characterized in that The method further comprises: The preset value is obtained according to an attribute of a service performed between the first user equipment and the third user equipment, where the attribute of the service includes at least one of an address of the third user equipment, a service type, and a service quality.

13. A path selection method, characterized in that: Applied to a second user device, comprising: A first connection establishment request is sent to the first user equipment, where the first connection establishment request is used for the first user equipment to determine that it can establish an indirect connection with the third user equipment through the second user equipment.

14. The method according to claim 13, characterized in that The first connection establishment request includes a first message, and the first message includes at least one of the following: A direct communication acceptance message sent by a third user equipment; A direct communication request message sent by the third user equipment; A discovery reply message sent by the third user equipment; A declaration message, where the declaration message is used to indicate an identifier of the third user equipment.

15. A path selection method, characterized in that: Applied to a third user device, comprising: A second connection establishment request is sent to the first user equipment, where the second connection establishment request is used for the first user equipment to determine that it can establish a direct connection with the third user equipment.

16. The method according to claim 15, characterized in that The second connection establishment request includes a second message, and the second message includes at least one of the following: Direct communication to receive messages; Direct communication request message; Found reply message.

17. A path selection device, characterized in that: The device comprises: The selection module is configured to select a path based on the service information when it is determined that the first user device can establish a connection with the third user device through the second user device and when it is determined that the first user device can directly establish a connection with the third user device, wherein the selected path includes selecting the second user device to establish an indirect connection or selecting the third user device to establish a direct connection.

18. A path selection device, characterized in that: The device comprises: The first sending module is configured to send a first connection establishment request to the first user equipment, where the first connection establishment request is used by the first user equipment to determine that it can establish an indirect connection with the third user equipment through the second user equipment.

19. A path selection device, characterized in that: The device comprises: The second sending module is configured to send a second connection establishment request to the first user equipment, where the second connection establishment request is used by the first user equipment to determine that it can establish a direct connection with the third user equipment.

20. A user equipment, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the method as claimed in any one of claims 1 to 16.

21. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processing device, the steps of the method described in any one of claims 1 to 16 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for a relay to transmit a direct communication request message in a wireless communication system

    CN113825109A

  • Private network network interface routing method for considering connections currently being in progress of setup phase

    KR1020000061166A

  • Methods, apparatus, and systems for enabling indirect-to-direct path switching at layer-3 (L3) user equipment (UE)-to-UE relay

    WO2023014805A1

  • Path establishment method, selection method and apparatus, terminal device, and storage medium

    WO2023015454A1