Ranging method and device, communication equipment and storage medium

CN118575455APending Publication Date: 2024-08-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280002382.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing ranging/SL positioning services do not consider the privacy issues of user equipment (UE) in wireless communications, resulting in the inability to effectively protect the privacy of UE.

Method used

Through the Network Open Function (NEF), the ranging service parameters are determined according to the UE's privacy settings, including whether ranging is allowed, the area range and the time range, to ensure that the ranging process meets the UE's privacy needs.

Benefits of technology

It improves the security of ranging, meets the privacy requirements of UE, and ensures privacy protection during the ranging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575455A
    Figure CN118575455A
Patent Text Reader

Abstract

The embodiment of the invention relates to a distance measurement method and device, communication equipment and a storage medium. A network open function (NEF) determines a service parameter for ranging according to at least a privacy setting of a user equipment (UE) associated with the first ranging request; wherein the first ranging request is a request for ranging through a direct communication link.
Need to check novelty before this filing date? Find Prior Art

Description

Ranging method, device, communication equipment and storage medium Technical Field

[0001] The present application relates to the field of wireless communication technology but is not limited to the field of wireless communication technology, and in particular to a ranging method, apparatus, communication equipment and storage medium. Background Art

[0002] Ranging can include determining ranging parameters between two user equipment (UEs) via a sidelink (SL). The ranging parameters can include at least one of the following: the distance between the two UEs, the direction of one UE to the other, or the relative position of one UE to the other. Ranging can also include direct link positioning, i.e., positioning the UE via PC5 and / or SR5. In short, ranging includes distance measurement, direction measurement, positioning, or a combination of these.

[0003] Summary of the Invention

[0004] In view of this, embodiments of the present disclosure provide a ranging method, apparatus, communication device, and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a ranging method is provided, wherein the ranging method is performed by a network exposure function (NEF), including:

[0006] Determine a ranging service parameter based on at least a privacy setting of a user equipment (UE) associated with a first ranging request; wherein the first ranging request is a request for performing the ranging through a direct communication link.

[0007] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0008] whether the ranging is allowed;

[0009] The scope of the area where the ranging is permitted;

[0010] The time frame within which the ranging is allowed to be performed.

[0011] In one embodiment, determining the ranging service parameter based on at least a privacy setting of a user equipment UE related to the first ranging request, wherein the first ranging request is a request for performing the ranging through a direct communication link, includes:

[0012] receiving the first ranging request sent by an application function (AF);

[0013] Obtaining, based on the first ranging request, a privacy setting of the UE from a Unified Data Management (UDM);

[0014] Determining whether to provide the ranging service parameter according to the privacy setting.

[0015] In one embodiment, the method further includes: determining whether the AF is allowed to request the UE to perform the ranging;

[0016] In response to determining that the AF is allowed to request the UE to perform the ranging, the service parameter of the ranging is determined according to at least a privacy setting of the UE related to the first ranging request.

[0017] In one embodiment, obtaining the privacy setting of the UE from the UDM based on the first ranging request includes:

[0018] Determining an identity of the UE based on the UE ranging identifier of the UE carried in the first ranging request;

[0019] Determine the UDM corresponding to the UE based on the identity;

[0020] Obtain the privacy setting of the UE from the UDM corresponding to the UE.

[0021] In one embodiment, determining the ranging service parameter based on at least a privacy setting of the user equipment UE related to the first ranging request includes:

[0022] In response to the privacy setting indicating an area range in which the ranging is allowed, sending a location request message to an access and mobility management function (AMF) of the UE, wherein the location request message is used to request the AMF for location information of the UE;

[0023] receiving a location request response sent by the AMF based on the location request information, wherein the location request response includes the location information of the UE;

[0024] Based at least on the location information of the UE and the area range, it is determined whether to allow the UE to perform the ranging.

[0025] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0026] The associated information of the ranging;

[0027] Whether it is necessary to indicate the ranging-related information to the UE;

[0028] whether the UE verifies the ranging association information;

[0029] The UE verification indication is set by the NEF based on the privacy setting.

[0030] In one embodiment, the ranging-related information includes at least one of the following:

[0031] an application identifier of the application requesting the ranging in the AF;

[0032] The type of ranging.

[0033] In one embodiment, the location request response further includes: a verification result of the UE verifying the association information.

[0034] In one embodiment, the determining whether to allow the UE to perform the ranging based at least on the location information of the UE and the area range includes:

[0035] Based at least on the location information of the UE and the area range, and the verification result, it is determined whether to allow the UE to perform the ranging.

[0036] In one embodiment, the location request response further includes time information for indicating the time when the UE is allowed and / or not allowed to perform ranging.

[0037] In one embodiment, determining the ranging service parameter based on at least a privacy setting of the user equipment UE related to the first ranging request includes:

[0038] In response to determining, based on the privacy setting, that the UE is allowed to perform the ranging, a second ranging request is sent to the AMF of the UE, where the second ranging request is used to instruct the UE to perform the ranging.

[0039] According to a second aspect of an embodiment of the present disclosure, a ranging method is provided, wherein the ranging method is performed by an access and mobility management function AMF, including:

[0040] A service parameter for ranging based on a direct communication link is provided, wherein the service parameter for ranging is instructed by a network exposure function NEF at least according to a privacy setting of a user equipment UE associated with the ranging.

[0041] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0042] whether the ranging is allowed;

[0043] The scope of the area where the ranging is permitted;

[0044] The time frame within which the ranging is allowed to be performed.

[0045] In one embodiment, the privacy setting is located in a unified data management (UDM) of the UE.

[0046] In one embodiment, the method further comprises:

[0047] receiving a location request message sent by the NEF, wherein the location request message is used to request the location information of the UE from the AMF;

[0048] Sending a location request response to the NEF, wherein the location request response includes the location information of the UE, wherein the location information of the UE is used by the NEF to determine whether to allow the UE to perform the ranging in combination with the area range.

[0049] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0050] The associated information of the ranging;

[0051] Whether it is necessary to indicate the ranging-related information to the UE;

[0052] whether the UE verifies the ranging association information;

[0053] The UE verification indication is set by the NEF based on the privacy setting.

[0054] In one embodiment, the ranging-related information includes at least one of the following:

[0055] An application identifier of the application requesting the ranging in AF;

[0056] The type of ranging.

[0057] In one embodiment, providing the ranging service parameters based on the direct communication link includes:

[0058] In response to the UE verification indication indicating that the ranging-associated information needs to be indicated to the UE, first notification information is sent to the UE, wherein the first notification information is used to indicate the ranging-associated information.

[0059] In one embodiment, providing the ranging service parameters based on the direct communication link includes:

[0060] In response to the UE verification instruction instructing the UE to verify the ranging associated information, sending second notification information to the UE, wherein the second notification information is used to indicate that the UE needs to verify the ranging associated information;

[0061] receiving verification result information sent by the UE in response to the second notification information, wherein the verification result information is used to indicate a verification result of the UE verifying the ranging associated information;

[0062] The sending a location request response to the NEF includes:

[0063] Sending the location request response carrying the verification result to the NEF.

[0064] In one embodiment, the method further comprises:

[0065] In response to determining that the UE needs to send the verification result information and the verification result information is not received, determining that the verification result is that the UE fails to verify the ranging association information.

[0066] In one embodiment, the verification result information further includes time information, used to indicate the time when the UE is allowed and / or not allowed to perform ranging;

[0067] The sending a location request response to the NEF includes:

[0068] Sending the location request response carrying the time information to the NEF.

[0069] In one embodiment, the service parameters for performing ranging based on the direct communication link include:

[0070] receiving a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission;

[0071] Based on the second ranging request, instruct the UE to perform the ranging.

[0072] According to a third aspect of an embodiment of the present disclosure, a ranging method is provided, wherein the method is performed by a user equipment (UE) to be ranged, and includes:

[0073] Performing ranging based on a direct communication link, wherein the ranging is performed by a network exposure function NEF at least according to an instruction of a privacy setting of the UE.

[0074] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0075] whether the ranging is allowed;

[0076] The scope of the area where the ranging is permitted;

[0077] The time frame within which the ranging is allowed to be performed.

[0078] In one embodiment, the privacy setting is located in the UDM corresponding to the UE.

[0079] In one embodiment, the method further comprises:

[0080] Receive a first notification message sent by an access and mobility management function AMF, wherein the first notification message is used to indicate the associated information of the ranging; wherein the first notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0081] In one embodiment, the method further comprises:

[0082] Receive a second notification message sent by the AMF, wherein the second notification message is used to indicate that the UE verifies the associated information of the ranging, wherein the second notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0083] In one embodiment, the method further comprises:

[0084] Send verification result information to the AMF, wherein the verification result information is used to indicate the verification result of the UE verifying the associated information of the ranging.

[0085] In one embodiment, the verification result information further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging.

[0086] In one embodiment, the method further comprises one of the following:

[0087] In response to a failure to verify the ranging association information, not sending verification result information to the AMF;

[0088] In response to a failure to verify the ranging association information, sending verification result information indicating that the verification result is a verification failure to the AMF.

[0089] In one embodiment, the location request information includes a UE verification indication, wherein the UE verification indication is used to indicate at least one of the following:

[0090] The associated information of the ranging;

[0091] Whether it is necessary to indicate the ranging-related information to the UE;

[0092] whether the UE verifies the ranging association information;

[0093] The UE verification indication is set by the NEF based on the privacy setting.

[0094] In one embodiment, the ranging-related information includes at least one of the following:

[0095] An application identifier of the application requesting the ranging in AF;

[0096] The type of ranging.

[0097] In one embodiment, the ranging is performed by the UE instructing the ranging service AMF to receive a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission.

[0098] According to a fourth aspect of the embodiments of the present disclosure, a distance measuring device is provided, comprising:

[0099] The processing module is configured to determine a ranging service parameter based on at least a privacy setting of a user equipment (UE) related to a first ranging request; wherein the first ranging request is a request for performing the ranging through a direct communication link.

[0100] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0101] whether the ranging is allowed;

[0102] The scope of the area where the ranging is permitted;

[0103] The time frame within which the ranging is allowed to be performed.

[0104] In one embodiment, the device further includes a transceiver module configured to:

[0105] receiving the first ranging request sent by the application function AF;

[0106] The processing module is specifically configured to obtain the privacy setting of the UE from a unified data management (UDM) based on the first ranging request;

[0107] The processing module is specifically configured to determine whether to provide the ranging service parameters according to the privacy settings.

[0108] In one embodiment, the processing module is further configured to determine whether to allow the AF to request the UE to perform the ranging;

[0109] The processing module is specifically configured to, in response to determining that the AF is allowed to request the UE to perform the ranging, determine the service parameters of the ranging at least according to the privacy settings of the UE related to the first ranging request.

[0110] In one embodiment, the processing module is specifically configured as follows:

[0111] Determining an identity of the UE based on the UE ranging identifier of the UE carried in the first ranging request;

[0112] Determine the UDM corresponding to the UE based on the identity;

[0113] Obtain the privacy setting of the UE from the UDM corresponding to the UE.

[0114] In one embodiment, the transceiver module is further configured to:

[0115] In response to the privacy setting indicating an area range in which the ranging is allowed, sending a location request message to an access and mobility management function (AMF) of the UE, wherein the location request message is used to request the AMF for location information of the UE;

[0116] receiving a location request response sent by the AMF based on the location request information, wherein the location request response includes the location information of the UE;

[0117] The processing module is specifically configured to determine whether to allow the UE to perform the ranging based at least on the location information of the UE and the area range.

[0118] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0119] The associated information of the ranging;

[0120] Whether it is necessary to indicate the ranging-related information to the UE;

[0121] whether the UE verifies the ranging association information;

[0122] The UE verification indication is set by the NEF based on the privacy setting.

[0123] In one embodiment, the ranging-related information includes at least one of the following:

[0124] an application identifier of the application requesting the ranging in the AF;

[0125] The type of ranging.

[0126] In one embodiment, the location request response further includes: a verification result of the UE verifying the association information.

[0127] In one embodiment, the processing module is specifically configured as follows:

[0128] Based at least on the location information of the UE and the area range, and the verification result, it is determined whether to allow the UE to perform the ranging.

[0129] In one embodiment, the location request response further includes time information for indicating the time when the UE is allowed and / or not allowed to perform ranging.

[0130] In one embodiment, the transceiver module is further configured to:

[0131] In response to determining, based on the privacy setting, that the UE is allowed to perform the ranging, a second ranging request is sent to the AMF of the UE, where the second ranging request is used to instruct the UE to perform the ranging.

[0132] According to a fifth aspect of the embodiments of the present disclosure, a distance measuring device is provided, comprising:

[0133] The transceiver module is configured to provide service parameters for ranging based on a direct communication link, wherein the ranging service parameters are instructed by a network exposure function NEF at least according to privacy settings of a user equipment UE associated with the ranging.

[0134] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0135] whether the ranging is allowed;

[0136] The scope of the area where the ranging is permitted;

[0137] The time frame within which the ranging is allowed to be performed.

[0138] In one embodiment, the privacy setting is located in a unified data management (UDM) of the UE.

[0139] In one embodiment, the transceiver module is further configured to receive location request information sent by the NEF, wherein the location request information is used to request the location information of the UE from the AMF;

[0140] The transceiver module is further configured to send a location request response to the NEF, wherein the location request response includes the location information of the UE, wherein the location information of the UE is used by the NEF to determine whether to allow the UE to perform the ranging in combination with the area range.

[0141] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0142] The associated information of the ranging;

[0143] Whether it is necessary to indicate the ranging-related information to the UE;

[0144] whether the UE verifies the ranging association information;

[0145] The UE verification indication is set by the NEF based on the privacy setting.

[0146] In one embodiment, the ranging-related information includes at least one of the following:

[0147] An application identifier of the application requesting the ranging in AF;

[0148] The type of ranging.

[0149] In one embodiment, the transceiver module is specifically configured as follows:

[0150] In response to the UE verification indication indicating that the ranging-associated information needs to be indicated to the UE, first notification information is sent to the UE, wherein the first notification information is used to indicate the ranging-associated information.

[0151] In one embodiment, the transceiver module is specifically configured as follows:

[0152] In response to the UE verification instruction instructing the UE to verify the ranging associated information, sending second notification information to the UE, wherein the second notification information is used to indicate that the UE needs to verify the ranging associated information;

[0153] receiving verification result information sent by the UE in response to the second notification information, wherein the verification result information is used to indicate a verification result of the UE verifying the ranging associated information;

[0154] The transceiver module is specifically configured to send the location request response carrying the verification result to the NEF.

[0155] In one embodiment, the apparatus further comprises a processing module configured to:

[0156] In response to determining that the UE needs to send the verification result information and the verification result information is not received, determining that the verification result is that the UE fails to verify the ranging association information.

[0157] In one embodiment, the verification result information further includes time information, used to indicate the time when the UE is allowed and / or not allowed to perform ranging;

[0158] The transceiver module is specifically configured as follows:

[0159] Sending the location request response carrying the time information to the NEF.

[0160] In one embodiment, the transceiver module is specifically configured as follows:

[0161] receiving a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission;

[0162] Based on the second ranging request, instruct the UE to perform the ranging.

[0163] According to a sixth aspect of an embodiment of the present disclosure, a distance measuring device is provided, comprising:

[0164] The processing module is configured to perform ranging based on a direct communication link, wherein the ranging is performed by a network exposure function NEF at least according to an instruction of a privacy setting of the UE.

[0165] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0166] whether the ranging is allowed;

[0167] The scope of the area where the ranging is permitted;

[0168] The time frame within which the ranging is allowed to be performed.

[0169] In one embodiment, the privacy setting is located in the UDM corresponding to the UE.

[0170] In one embodiment, the apparatus further comprises:

[0171] The transceiver module is configured to: receive a first notification message sent by an access and mobility management function AMF, wherein the first notification message is used to indicate the associated information of the ranging; wherein the first notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0172] In one embodiment, the apparatus further comprises:

[0173] The transceiver module is configured to: receive a second notification message sent by the AMF, wherein the second notification message is used to indicate that the UE verifies the associated information of the ranging, wherein the second notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0174] In one embodiment, the transceiver module is further configured to:

[0175] Send verification result information to the AMF, wherein the verification result information is used to indicate the verification result of the UE verifying the associated information of the ranging.

[0176] In one embodiment, the verification result information further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging.

[0177] In one embodiment, the transceiver module is further configured as one of the following:

[0178] In response to a failure to verify the ranging association information, not sending verification result information to the AMF;

[0179] In response to a failure to verify the ranging association information, sending verification result information indicating that the verification result is a verification failure to the AMF.

[0180] In one embodiment, the location request information includes a UE verification indication, wherein the UE verification indication is used to indicate at least one of the following:

[0181] The associated information of the ranging;

[0182] Whether it is necessary to indicate the ranging-related information to the UE;

[0183] whether the UE verifies the ranging association information;

[0184] The UE verification indication is set by the NEF based on the privacy setting.

[0185] In one embodiment, the ranging-related information includes at least one of the following:

[0186] An application identifier of the application requesting the ranging in AF;

[0187] The type of ranging.

[0188] In one embodiment, the ranging is performed by the UE instructing the ranging service AMF to receive a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission.

[0189] According to a seventh aspect of an embodiment of the present disclosure, a communication device is provided, comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, wherein when the processor runs the executable program, the steps of the ranging method described in the first aspect, the second aspect, or the third aspect are performed.

[0190] According to an eighth aspect of an embodiment of the present disclosure, a storage medium is provided, on which an executable program is stored, wherein when the executable program is executed by a processor, the steps of the ranging method described in the first aspect, the second aspect, or the third aspect are implemented.

[0191] According to the ranging method, apparatus, communication device, and storage medium provided by the embodiments of the present disclosure, the NEF determines ranging service parameters based on at least the UE's privacy settings associated with a first ranging request, wherein the first ranging request is a request for ranging via a direct communication link. In this manner, ranging via a direct communication link is performed based on the UE's privacy settings, meeting the UE's privacy requirements during the ranging process and improving ranging security.

[0192] It should be understood that the foregoing general description and the following detailed description are merely exemplary and explanatory and are not restrictive of the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0193] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the embodiments of the present invention.

[0194] FIG1 is a schematic structural diagram of a wireless communication system according to an exemplary embodiment;

[0195] FIG2 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0196] FIG3 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0197] FIG4 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0198] FIG5 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0199] FIG6 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0200] FIG7 is a schematic flow chart showing a ranging method according to an exemplary embodiment;

[0201] FIG8 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0202] FIG9 is a schematic flow chart showing a distance measurement method according to an exemplary embodiment;

[0203] FIG10 is a schematic flow chart showing a ranging method according to an exemplary embodiment;

[0204] FIG11 is a schematic flow chart showing a ranging method according to an exemplary embodiment;

[0205] FIG12 is a schematic diagram showing a ranging interaction according to an exemplary embodiment;

[0206] FIG13 is a block diagram of a distance measuring device according to an exemplary embodiment;

[0207] FIG14 is a block diagram showing a distance measuring device according to an exemplary embodiment;

[0208] FIG15 is a block diagram of a distance measuring device according to an exemplary embodiment;

[0209] Fig. 16 is a block diagram showing a device for ranging according to an exemplary embodiment. DETAILED DESCRIPTION

[0210] 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 implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present invention, as detailed in the appended claims.

[0211] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present disclosure. The singular forms "a," "the," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0212] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0213] Please refer to Figure 1, which shows a schematic diagram of the structure of a wireless communication system provided by an embodiment of the present disclosure. As shown in Figure 1, the wireless communication system is a communication system based on cellular mobile communication technology, and the wireless communication system may include: a plurality of terminals 11 and a plurality of base stations 12.

[0214] Terminal 11 may refer to a device that provides voice and / or data connectivity to a user. Terminal 11 may communicate with one or more core networks via a Radio Access Network (RAN). Terminal 11 may be an IoT terminal, such as a sensor device, a mobile phone (or "cellular" phone), and a computer with an IoT terminal. For example, the terminal may be a fixed, portable, pocket-sized, handheld, computer-built-in, or vehicle-mounted device. For example, a station (STA), subscriber unit, subscriber station, mobile station, mobile, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, or user equipment (UE). Alternatively, terminal 11 may be a device on an unmanned aerial vehicle. Alternatively, terminal 11 may be an in-vehicle device, such as a driving computer with wireless communication capabilities, or a wireless communication device connected to an external driving computer. Alternatively, the terminal 11 may also be a roadside device, for example, a street lamp, a traffic light or other roadside device with a wireless communication function.

[0215] The base station 12 may be a network-side device in a wireless communication system. The wireless communication system may be a fourth generation mobile communication technology (4G) system, also known as a long term evolution (LTE) system; or, the wireless communication system may be a 5G system, also known as a new radio (NR) system or a 5G NR system. Alternatively, the wireless communication system may be a next generation system of the 5G system. The access network in the 5G system may be referred to as NG-RAN (New Generation-Radio Access Network). Alternatively, an MTC system.

[0216] Among them, the base station 12 can be an evolved base station (eNB) adopted in a 4G system. Alternatively, the base station 12 can also be a base station (gNB) adopting a centralized distributed architecture in a 5G system. When the base station 12 adopts a centralized distributed architecture, it usually includes a centralized unit (CU) and at least two distributed units (DU). The centralized unit is provided with a protocol stack of a packet data convergence protocol (PDCP) layer, a radio link layer control protocol (RLC) layer, and a media access control (MAC) layer; the distributed unit is provided with a physical (PHY) layer protocol stack. The embodiment of the present disclosure does not limit the specific implementation method of the base station 12.

[0217] A wireless connection can be established between the base station 12 and the terminal 11 via a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth generation mobile communication network technology (5G) standard, for example, the wireless air interface is a new air interface; or, the wireless air interface can also be a wireless air interface based on the next generation mobile communication network technology standard of 5G.

[0218] In some embodiments, E2E (End to End) connections can also be established between terminals 11. For example, in vehicle-to-everything (V2X) communication scenarios such as V2V (vehicle to vehicle), V2I (vehicle to infrastructure), and V2P (vehicle to pedestrian).

[0219] In some embodiments, the wireless communication system may further include a network management device 13 .

[0220] Several base stations 12 are respectively connected to a network management device 13. The network management device 13 can be a core network device in a wireless communication system. For example, the network management device 13 can be a mobility management entity (MME) in an evolved packet core (EPC). Alternatively, the network management device can be other core network devices, such as a serving gateway (SGW), a public data network gateway (PGW), a policy and charging rules function (PCRF), or a home subscriber server (HSS). The embodiment of the present disclosure does not limit the implementation form of the network management device 13.

[0221] The fifth generation (5 th Cellular mobile communication systems such as 5G (5th Generation) can support ranging / sidelink (SL) positioning services. Here, ranging / SL positioning services can be based on a direct communication link. Ranging / SL positioning services can be exposed to 5G networks and application servers. Current ranging / SL positioning services do not consider UE privacy issues.

[0222] Therefore, how to protect the privacy of UE during ranging / SL positioning services is an urgent problem to be solved.

[0223] It should be noted that all embodiments of the present disclosure may involve multiple execution entities, and the embodiments of the present disclosure limit that one execution entity sends a transmission to another execution entity, which may refer to one execution entity sending a transmission directly to another execution entity, or it may refer to one execution entity sending a transmission to another execution entity through any other device; this is not limited in the embodiments of the present disclosure.

[0224] As shown in FIG2 , this exemplary embodiment provides a ranging method that can be executed by a network open function NEF of a cellular mobile communication system, including:

[0225] Step 201: The NEF determines a ranging service parameter based on at least the privacy setting of the UE related to a first ranging request; wherein the first ranging request is a request for performing ranging via a direct communication link.

[0226] In a possible implementation, ranging based on the direct communication link may include: ranging based on signals of the PC5 port and / or the SR5 port of the direct communication link.

[0227] Here, ranging may include, but is not limited to, at least one of the following: determining the distance between two or more UEs via a direct communication link; determining the relative direction of a UE to another UE via a direct communication link; and determining the relative position of a UE to another UE via a direct communication link. Ranging may also include direct communication link positioning, i.e., locating a UE via a direct communication link.

[0228] For example, multiple UEs can be combined to perform ranging on the target UE to determine the distance and / or direction between the target UE and the multiple UEs. Alternatively, triangulation positioning can be used to determine the coordinates of the target UE based on the ranging results between the multiple UEs and the target UE, thereby achieving direct communication link positioning.

[0229] In this embodiment, unless otherwise specified, "ranging" may include at least one of the following: determining the distance between two or more UEs via a direct communication link, determining the relative direction between one UE and another UE via a direct communication link, determining the relative position between one UE and another UE via a direct communication link, and positioning the UE via a direct communication link. Determining the relative direction and relative position between one UE and another UE via a direct communication link are often performed together.

[0230] In one possible implementation, ranging is performed between multiple UEs to be measured based on a direct communication link, which can be used to determine the distance and / or direction between N UEs to be measured in the multiple UEs to be measured and other UEs in the multiple UEs to be measured, and can also be used to determine the positions of N UEs to be measured in the multiple UEs to be measured, where N is a positive integer greater than or equal to 1 and less than or equal to the total number of UEs to be measured.

[0231] For example, UE and / or core network equipment (such as LMF, etc.) can determine the distance between UEs based on the flight time of signals transmitted by PC5 and / or SR5 ports between UEs. Furthermore, the positioning of UEs at unknown locations can be achieved based on the relative positions between multiple UEs at known locations and UEs at unknown locations, that is, the positioning of UEs at unknown locations can be achieved. Here, the position of the UE may include but is not limited to: the geographic coordinate position of the UE, the relative position of the UE relative to a reference point (such as a base station or a UE at a known location), etc. This is not limited here.

[0232] The NEF may provide ranging service parameters based on the first ranging request.

[0233] In one possible implementation, the ranging service parameters provided by the NEF include but are not limited to at least one of the following:

[0234] Controls whether the UE performs ranging;

[0235] Transmitting information during ranging;

[0236] Determine the privacy settings of the UE;

[0237] Perform operations associated with UE privacy settings, such as determining whether the current status meets the privacy setting requirements.

[0238] In one possible implementation, the NEF may control the UE to perform ranging through core network elements such as the AMF.

[0239] Here, the UE associated with the ranging may include, but is not limited to, a UE participating in the ranging. The UE associated with the ranging may include, but is not limited to, at least one of the following: a reference UE, a target UE, an observer UE, a third party UE, or an assistant UE.

[0240] Privacy settings can be used to indicate the UE's privacy information related to ranging and to limit the UE's ranging behavior.

[0241] In one possible implementation, the privacy setting of the UE may indicate the type of ranging that the UE is allowed to perform, and / or the type of ranging that the UE is not allowed to perform.

[0242] The type of ranging may be determined based on the number of UEs participating in the ranging. For example, the type of ranging includes: performing ranging by different numbers of UEs.

[0243] The type of ranging may also be determined based on the ranging result of the ranging. For example, the type of ranging may include: ranging based on relative distance measurement, ranging based on relative direction measurement, ranging based on UE positioning, etc.

[0244] In one possible implementation, a UE's privacy settings may indicate the accuracy with which the UE is permitted to perform ranging measurements, and / or the accuracy with which the UE is not permitted to perform ranging measurements. In the disclosed embodiments, the "accuracy with which the UE is permitted to perform ranging measurements" may specifically be a numerical value of accuracy or an accuracy range. The UE's privacy settings may determine the accuracy with which the UE is permitted to perform positioning.

[0245] In one possible implementation, the UE's privacy settings may be pre-stored in the core network. The privacy settings may be provided by the UE, negotiated between the UE and the network, specified by a communication protocol, or specified by a network operator.

[0246] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0247] whether the ranging is allowed;

[0248] The scope of the area where the ranging is permitted;

[0249] The time frame within which the ranging is allowed to be performed.

[0250] In one possible implementation, the NEF determines that the privacy setting of the UE indicates that the UE is allowed to perform the ranging, and then continues to perform subsequent steps of the ranging, such as instructing the UE to perform the ranging. If the NEF determines that the privacy setting of the UE may indicate that the UE is not allowed to perform the ranging, then it stops performing subsequent steps of the ranging, such as not instructing the UE to perform the ranging or not performing any operation.

[0251] In a possible implementation, whether the ranging is allowed may include whether the UE is authorized to perform ranging.

[0252] The time range allowed for ranging may be a time range in which the UE is allowed to perform ranging, including at least one of the following: a start time, an end time, and a duration for which the UE is allowed to perform the ranging.

[0253] In a possible implementation, the area range may include at least one of the following: a geographical range, a cell to which the UE belongs, and a coverage range of a base station to which the UE belongs.

[0254] In a possible implementation, the NEF provides a ranging service within a time range in which the UE is allowed to perform the ranging, such as instructing the UE to perform ranging within the time range in which the UE is allowed to perform the ranging.

[0255] In a possible implementation, there may be multiple UEs associated with ranging, and the ranging service parameters may be provided based on privacy settings corresponding to the multiple UEs.

[0256] Exemplarily, for ranging performed by two UEs, the NEF may provide ranging services to the two UEs when privacy settings of the two UEs both indicate that ranging is allowed, such as instructing the two UEs to perform ranging.

[0257] The first ranging request may be sent by a first ranging requesting end. After receiving the first ranging request, the NEF may determine the UE to be used for ranging, and then provide ranging service based on the privacy setting of the UE.

[0258] The first ranging request may indicate a UE that needs to perform ranging.

[0259] NEF can instruct AMF and other core network elements to provide ranging services based on the UE's privacy settings, such as transmitting information during the ranging process and instructing the UE to perform ranging.

[0260] The UE may perform ranging based on the indication of the NEF, etc.

[0261] In this way, the ranging of the direct communication link is performed based on the privacy setting of the UE, which can meet the privacy requirements of the UE during the ranging process and improve the security of the ranging.

[0262] In one embodiment, the NEF determines a ranging service parameter based at least on a privacy setting of a user equipment UE related to a first ranging request, wherein the first ranging request is a request for performing ranging through a direct communication link, including:

[0263] The NEF receives the first ranging request sent by the application function AF;

[0264] The NEF obtains, based on the first ranging request, the privacy setting of the UE from a unified data management (UDM);

[0265] The NEF determines whether to provide the ranging service parameters according to the privacy setting.

[0266] Here, the first ranging request may be sent by the AF to the NEF. When an application in the AF has a ranging requirement, the AF sends the first ranging request to the NEF.

[0267] The UE's privacy settings can be pre-stored in the UDM. The NEF can obtain the privacy settings from the UDM.

[0268] NEF can query the UE's privacy settings in UDM.

[0269] In a possible implementation, the UDMs corresponding to the multiple UEs performing ranging may be the same, or the UDMs corresponding to the multiple UEs performing ranging may be completely different, or the UDMs corresponding to the multiple UEs performing ranging may not be completely the same.

[0270] In one possible implementation, the first ranging request from the AF to the NEF may include at least one of the following: an identifier of the UE requiring ranging, a ranging result (distance and / or angle), and required quality of service (QoS).

[0271] The NEF can obtain the privacy settings of each UE from the UDM corresponding to each UE and determine whether to provide ranging service based on the privacy settings of each UE.

[0272] As shown in FIG3 , this exemplary embodiment provides a ranging method that can be executed by a network open function NEF of a cellular mobile communication system, including:

[0273] Step 301: The NEF determines whether to allow the AF to request the UE to perform the ranging;

[0274] In response to the NEF determining that the ranging request function is allowed to request the UE to perform the ranging, the NEF determines, according to the privacy settings of the UE related to the first ranging request, a service parameter for the ranging; wherein the first ranging request is a request for ranging through a direct communication link.

[0275] Step 301 may be implemented independently or in combination with step 201. That is, the NEF may determine the ranging service parameters according to the solution of step 201.

[0276] The NEF may determine whether the AF is authorized to provide the ranging service to the UE performing ranging in the first ranging request. If the AF is authorized to provide the ranging service to the UE, the NEF provides the ranging service according to the privacy setting of the UE performing ranging indicated in the first ranging request.

[0277] In one embodiment, the NEF obtains the privacy setting of the UE from the UDM based on the first ranging request, including:

[0278] The NEF determines the identity of the UE based on the UE ranging identifier of the UE carried in the first ranging request;

[0279] The NEF determines the UDM corresponding to the UE based on the identity;

[0280] The NEF obtains the privacy setting of the UE from the UDM corresponding to the UE.

[0281] The identifier of the UE in the first ranging request may be a UE ranging identifier (Ranging ID), and the NEF determines the identity of the UE according to the UE ranging identifier. The identity of the UE may include a SUPI.

[0282] In a possible implementation, the NEF may store a correspondence between the UE ranging identifier and the UE identity identifier.

[0283] In a possible implementation manner, the corresponding relationship may include a conversion expression between the UE ranging identifier and the UE identity identifier.

[0284] The NEF can call the Nudm_SDM_Get service operation on the UE's corresponding UDM to obtain the UE's privacy settings. The UDM returns the UE's privacy settings. The NEF can check the UE's privacy configuration. If at least one associated UE that requires ranging does not allow ranging, the NEF stops providing ranging service parameters.

[0285] In one embodiment, the NEF determines, according to the privacy setting of the UE related to the first ranging request, a service parameter of the ranging, including:

[0286] In response to the privacy setting indicating an area range in which the ranging is allowed, the NEF sends a location request message to the access and mobility management function AMF corresponding to the UE, wherein the location request message is used to request the location information of the UE from the AMF;

[0287] The NEF receives a location request response sent by the AMF based on the location request information, wherein the location request response includes the location information of the UE;

[0288] Based at least on the location information of the UE and the area range, the NEF determines whether to allow the UE to perform the ranging.

[0289] If the privacy settings indicate an area in which ranging is permitted, the NEF needs to determine whether the UE's current location falls within the area. If the NEF determines that the UE's current location falls within the area, the UE may be allowed to perform ranging. If the NEF determines that the UE's current location does not fall within the area, the UE may not be allowed to perform ranging.

[0290] In a possible implementation, the NEF needs to determine the locations of all UEs participating in ranging, and determine whether each UE is located within an area within which each UE is allowed to perform ranging.

[0291] The NEF can send a location request message to the AMF of each UE to request the UE's location information.

[0292] For example, the NEF may call the Nudm_UECM_Get service operation on the UDM corresponding to the UE. The UDM may return the network address of the UE's current serving AMF.

[0293] Exemplarily, the NEF may call the Namf_Location_ProvideLocationInfo service operation to the AMF to request the UE location information provided by the network.

[0294] Here, the location information may include at least one of the following: the geographical location of the UE, the cell where the UE is located, and the base station to which the UE belongs.

[0295] In one possible implementation, the location information may be stored in the AMF during historical positioning, UE access, cell switching, etc.

[0296] In one possible implementation, the AMFs of multiple UEs performing ranging may be the same, or the AMFs of multiple UEs performing ranging may be completely different, or the AMFs of multiple UEs performing ranging may not be completely the same.

[0297] The AMF may return a location request response to the NEF, where the location request response may carry the UE's location information.

[0298] Exemplarily, the AMF returns a Namf_Location_ProvideLocationInfo response to the NEF to return the UE location provided by the network.

[0299] After determining the location information of the UE, the NEF can determine whether the UE is in an area where ranging is allowed, and further determine whether the UE is allowed to perform ranging.

[0300] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0301] The associated information of the ranging;

[0302] Whether it is necessary to indicate the ranging-related information to the UE;

[0303] whether the UE verifies the ranging association information;

[0304] The UE verification indication is set by the NEF based on the privacy setting.

[0305] The NEF may determine the UE Verification Indication based on the privacy settings. The privacy settings may indicate the information carried in the UE Verification Indication. The NEF may carry the UE Verification Indication in the Location Request message to indicate to the AMF whether only ranging-related information needs to be provided to the UE or whether ranging-related information needs to be verified by the UE.

[0306] The ranging-related information may be used to indicate a requesting end for ranging, and the like.

[0307] In one embodiment, the ranging-related information includes at least one of the following:

[0308] an application identifier of the application requesting the ranging in the AF;

[0309] The type of ranging.

[0310] The ranging may be initiated by an application in the AF, and the NEF may send the application identifier of the application to the AMF.

[0311] The NEF may instruct the AMF to send ranging associated information to the UE.

[0312] The NEF may also instruct the AMF that the UE shall verify the ranging associated information.

[0313] Exemplarily, the NEF may indicate to the AMF the application identifier of the application requesting ranging, which is then sent by the AMF to the UE for verification to determine whether the application is authorized by the UE to request ranging.

[0314] In one possible implementation, the NEF may instruct the AMF that it does not need to send the association information to the UE. For example, the NEF may carry a UE verification indication in the location request message, indicating that it is not necessary to indicate the association information to the UE and that the UE does not need to verify the association information, thereby instructing the AMF that it is not necessary to send the association information to the UE.

[0315] In one possible implementation, the NEF may instruct the AMF to send the ranging association information to the UE, but verification by the UE is not required. Then, after receiving the ranging association information, the AMF may carry the ranging association information in the first notification information and send it to the UE.

[0316] In one possible implementation, the NEF may instruct the AMF to instruct the UE to send ranging-related information, and the UE needs to verify it. Then, after receiving the ranging-related information, the AMF may instruct the UE to verify the ranging-related information through a second notification message. The second notification message may simultaneously indicate the ranging-related information to the UE and instruct the UE to verify the ranging-related information. The first notification message and the second notification message may be the same signaling.

[0317] The UE can verify the ranging associated information and send the verification result to the AMF.

[0318] In one possible implementation, the verification result may include verification success or verification failure.

[0319] In one embodiment, the location request response further includes: a verification result of the UE verifying the association information.

[0320] The AMF may send the verification result determined by the UE to the NEF.

[0321] Exemplarily, the AMF may return a Namf_Location_ProvideLocationInfo response to return the UE location provided by the network and include the verification result.

[0322] In one embodiment, the NEF determines whether to allow the UE to perform the ranging based on at least the location information of the UE and the area range, including:

[0323] The NEF determines whether to allow the UE to perform the ranging based on at least the location information of the UE and the area range, and the verification result.

[0324] After determining the location information of the UE, the NEF can determine whether the UE is in an area where ranging is allowed, and determine the verification result, and then determine whether the UE is allowed to perform ranging.

[0325] Exemplarily, the NEF may determine to allow the UE to perform ranging when the UE is in an area where ranging is allowed and the verification result is successful.

[0326] In a possible implementation, the verification result returned by the UE also includes a timestamp.

[0327] The NEF determines whether to allow the UE to perform ranging based on the time range and timestamp allowed for ranging.

[0328] For example, if the timestamp is within the time range, the UE is allowed to perform ranging; otherwise, the UE is not allowed to perform ranging.

[0329] In one embodiment, the location request response further includes time information for indicating the time when the UE is allowed and / or not allowed to perform ranging.

[0330] In a possible implementation, the time information is used to indicate a time after the current ranging when the UE is allowed and / or not allowed to perform ranging.

[0331] The AMF can carry the time information in the location request response and send it to the NEF. The NEF can determine the time when the UE is allowed and / or not allowed to perform ranging.

[0332] In one embodiment, the NEF determines, based at least on a privacy setting of the user equipment UE related to the first ranging request, a ranging service parameter, including:

[0333] In response to determining, based on the privacy setting, that the UE is allowed to perform the ranging, the NEF sends a second ranging request to the AMF of the UE, where the second ranging request is used to instruct the UE to perform the ranging.

[0334] The NEF determines, based on the privacy settings, that the UE is allowed to perform ranging (for example, the NEF determines, based on the privacy settings, that the positions of the two UEs allowed for ranging are both within their respective areas allowed for ranging and / or that the two UEs allowed for ranging are both within their respective time ranges allowed for ranging). The NEF may send a second ranging request to the serving AMF, instructing the AMF to provide a ranging service based on the second ranging request. The serving AMF may be the AMF associated with the UE performing ranging.

[0335] Here, the second ranging request may be the same as or different from the first ranging request. The second ranging request may indicate ranging requirements such as the UE performing ranging and the required ranging result.

[0336] The serving AMF may forward the second ranging request to the UE via NAS signaling. Here, the UE may be a UE associated with ranging.

[0337] The UE performs ranging based on the second ranging request. For example, the reference UE may initiate ranging based on the direct communication link to the target UE based on the second ranging request. The ranging process may include ranging discovery and service operations.

[0338] The reference UE can send the ranging result to the serving AMF. The serving AMF forwards the ranging result to the NEF. The NEF forwards the ranging result to the AF, thus completing the ranging.

[0339] Here, the ranging result can be the original measurement data such as the signal flight time obtained by the UE when measuring the signal, etc., or it can be the calculation result of the distance, direction, position, etc. obtained by performing technical operations on the original data.

[0340] As shown in FIG4 , this exemplary embodiment provides a ranging method that can be performed by an AMF of a cellular mobile communication system, including:

[0341] Step 401: The AMF provides service parameters for ranging based on a direct communication link, wherein the service parameters for ranging are indicated by the NEF at least according to the privacy settings of the UE associated with the ranging.

[0342] In a possible implementation, ranging based on the direct communication link may include: ranging based on signals of the PC5 port and / or the SR5 port of the direct communication link.

[0343] Here, ranging may include, but is not limited to, at least one of the following: determining the distance between two or more UEs via a direct communication link; determining the relative direction of a UE to another UE via a direct communication link; and determining the relative position of a UE to another UE via a direct communication link. Ranging may also include direct communication link positioning, i.e., locating a UE via a direct communication link.

[0344] For example, multiple UEs can be combined to perform ranging on the target UE to determine the distance and / or direction between the target UE and the multiple UEs. Alternatively, triangulation positioning can be used to determine the coordinates of the target UE based on the ranging results between the multiple UEs and the target UE, thereby achieving direct communication link positioning.

[0345] In this embodiment, unless otherwise specified, "ranging" may include at least one of the following: determining the distance between two or more UEs via a direct communication link, determining the relative direction between one UE and another UE via a direct communication link, determining the relative position between one UE and another UE via a direct communication link, and positioning the UE via a direct communication link. Determining the relative direction and relative position between one UE and another UE via a direct communication link are often performed together.

[0346] In one possible implementation, ranging is performed between multiple UEs to be measured based on a direct communication link, which can be used to determine the distance and / or direction between N UEs to be measured in the multiple UEs to be measured and other UEs in the multiple UEs to be measured, and can also be used to determine the positions of N UEs to be measured in the multiple UEs to be measured, where N is a positive integer greater than or equal to 1 and less than or equal to the total number of UEs to be measured.

[0347] For example, UE and / or core network equipment (such as LMF, etc.) can determine the distance between UEs based on the flight time of signals transmitted by PC5 and / or SR5 ports between UEs. Furthermore, the positioning of UEs at unknown locations can be achieved based on the relative positions between multiple UEs at known locations and UEs at unknown locations, that is, the positioning of UEs at unknown locations can be achieved. Here, the position of the UE may include but is not limited to: the geographic coordinate position of the UE, the relative position of the UE relative to a reference point (such as a base station or a UE at a known location), etc. This is not limited here.

[0348] The NEF may provide ranging service parameters based on the first ranging request.

[0349] In one possible implementation, the ranging service parameters provided by the NEF include but are not limited to at least one of the following:

[0350] Controls whether the UE performs ranging;

[0351] Transmitting information during ranging;

[0352] Determine the privacy settings of the UE;

[0353] Perform operations associated with UE privacy settings, such as determining whether the current status meets the privacy setting requirements.

[0354] In one possible implementation, the NEF may control the UE to perform ranging through core network elements such as the AMF.

[0355] Here, the UE associated with the ranging may include but is not limited to a UE participating in the ranging. The UE associated with the ranging may include but is not limited to at least one of the following: a reference UE, a target UE, an observer UE, a third-party UE, an assisting UE, etc.

[0356] Privacy settings can be used to indicate the UE's privacy information related to ranging and to limit the UE's ranging behavior.

[0357] In one possible implementation, the privacy setting of the UE may indicate the type of ranging that the UE is allowed to perform, and / or the type of ranging that the UE is not allowed to perform.

[0358] The type of ranging may be determined based on the number of UEs participating in the ranging. For example, the type of ranging includes ranging of different numbers of UEs.

[0359] The type of ranging may also be determined based on the ranging result of the ranging. For example, the type of ranging may include: ranging based on relative distance measurement, ranging based on relative direction measurement, ranging based on UE positioning, etc.

[0360] In one possible implementation, the privacy setting of the UE may indicate the accuracy of ranging that the UE is allowed to perform, and / or the accuracy that the UE is not allowed to perform. In the embodiment of the present disclosure, the "accuracy that the UE is allowed to perform ranging" may be specifically a numerical value of accuracy, or an accuracy interval. Based on the privacy setting of the UE, it can be determined what accuracy of positioning the UE allows.

[0361] In one possible implementation, the UE's privacy settings may be pre-stored in the core network. The privacy settings may be provided by the UE, negotiated between the UE and the network, specified by a communication protocol, or specified by a network operator.

[0362] In one embodiment, the privacy setting is used to indicate at least one of the following:

[0363] whether the ranging is allowed;

[0364] The scope of the area where the ranging is permitted;

[0365] The time frame within which the ranging is allowed to be performed.

[0366] In one possible implementation, if the NEF determines that the privacy setting of the UE indicates that the UE is allowed to perform the ranging, then the NEF continues with subsequent steps of the ranging, such as instructing the UE to perform the ranging. If the NEF determines that the privacy setting of the UE indicates that the UE is not allowed to perform the ranging, then the NEF stops performing subsequent steps of the ranging, such as not instructing the UE to perform the ranging or not performing any operation.

[0367] In a possible implementation, whether the ranging is allowed may include whether the UE is authorized to perform ranging.

[0368] The time range allowed for ranging may be a time range in which the UE is allowed to perform ranging, including at least one of the following: a start time, an end time, and a duration for which the UE is allowed to perform the ranging.

[0369] In a possible implementation, the area range may include at least one of the following: a geographical range, a cell to which the UE belongs, and a coverage range of a base station to which the UE belongs.

[0370] In a possible implementation, the NEF provides a ranging service within a time range in which the UE is allowed to perform the ranging, such as instructing the UE to perform ranging within the time range in which the UE is allowed to perform the ranging.

[0371] In a possible implementation, there may be multiple UEs associated with ranging, and the ranging service parameters may be provided based on privacy settings corresponding to the multiple UEs.

[0372] Exemplarily, for ranging performed by two UEs, the NEF may provide ranging services to the two UEs when privacy settings of the two UEs both indicate that ranging is allowed, such as instructing the two UEs to perform ranging.

[0373] The first ranging request may be sent by a first ranging requesting end. After receiving the first ranging request, the NEF may determine the UE to be used for ranging, and then provide ranging service based on the privacy setting of the UE.

[0374] The first ranging request may indicate a UE that needs to perform ranging.

[0375] NEF can instruct AMF and other core network elements to provide ranging services based on the UE's privacy settings, such as transmitting information during the ranging process and instructing the UE to perform ranging.

[0376] The UE may perform ranging based on the indication of the NEF, etc.

[0377] In this way, the ranging of the direct communication link is performed based on the privacy setting of the UE, which can meet the privacy requirements of the UE during the ranging process and improve the security of the ranging.

[0378] In one embodiment, the privacy setting is located in a unified data management (UDM) of the UE.

[0379] Here, the first ranging request may be sent by the AF to the NEF. When an application in the AF has a ranging requirement, the AF sends the first ranging request to the NEF.

[0380] The UE's privacy settings can be pre-stored in the UDM. The NEF can obtain the privacy settings from the UDM.

[0381] NEF can query the UE's privacy settings in UDM.

[0382] In a possible implementation, the UDMs corresponding to the multiple UEs performing ranging may be the same, or the UDMs corresponding to the multiple UEs performing ranging may be completely different, or the UDMs corresponding to the multiple UEs performing ranging may not be completely the same.

[0383] In one possible implementation, the first ranging request from the AF to the NEF may include at least one of the following: an identifier of the UE requiring ranging, a ranging result (distance and / or angle), and required quality of service (QoS).

[0384] The NEF can obtain the privacy settings of each UE from the UDM corresponding to each UE and determine whether to provide ranging service based on the privacy settings of each UE.

[0385] In a possible implementation, the NEF may determine whether to allow the AF to request the UE to perform the ranging;

[0386] In response to determining that the AF is allowed to request the UE to perform the ranging, the NEF determines the service parameters of the ranging according to at least the privacy setting of the UE related to the first ranging request.

[0387] The NEF may determine whether the AF is authorized to provide the ranging service to the UE performing ranging in the first ranging request. If the AF is authorized to provide the ranging service to the UE, the NEF provides the ranging service according to the privacy setting of the UE performing ranging indicated in the first ranging request.

[0388] In one possible implementation,

[0389] The NEF determines the identity of the UE based on the UE ranging identifier of the UE carried in the first ranging request;

[0390] The NEF determines the UDM corresponding to the UE based on the identity;

[0391] The NEF obtains the privacy setting of the UE from the UDM corresponding to the UE.

[0392] The identifier of the UE in the first ranging request may be a UE ranging identifier (Ranging ID), and the NEF determines the identity of the UE according to the UE ranging identifier. The identity of the UE may include a SUPI.

[0393] In a possible implementation, the NEF may store a correspondence between the UE ranging identifier and the UE identity identifier.

[0394] In a possible implementation manner, the corresponding relationship may include a conversion expression between the UE ranging identifier and the UE identity identifier.

[0395] The NEF can call the Nudm_SDM_Get service operation on the UE's corresponding UDM to obtain the UE's privacy settings. The UDM returns the UE's privacy settings. The NEF can check the UE's privacy configuration. If at least one associated UE that requires ranging does not allow ranging, the NEF stops providing ranging service parameters.

[0396] As shown in FIG5 , this exemplary embodiment provides a ranging method that can be performed by an AMF of a cellular mobile communication system, including:

[0397] Step 501: The AMF receives a location request message sent by the NEF, where the location request message is used to request the AMF for the location information of the UE.

[0398] Step 502: The AMF sends a location request response to the NEF, where the location request response includes the location information of the UE. The location information of the UE is used by the NEF to determine whether to allow the UE to perform the ranging in combination with the area range.

[0399] If the privacy settings indicate an area in which ranging is permitted, the NEF needs to determine whether the UE's current location falls within the area. If the NEF determines that the UE's current location falls within the area, the UE may be allowed to perform ranging. If the NEF determines that the UE's current location does not fall within the area, the UE may not be allowed to perform ranging.

[0400] In a possible implementation, the NEF needs to determine the locations of all UEs participating in ranging, and determine whether each UE is located within an area within which each UE is allowed to perform ranging.

[0401] The NEF can send a location request message to the AMF of each UE to request the UE's location information.

[0402] For example, the NEF may call the Nudm_UECM_Get service operation on the UDM corresponding to the UE. The UDM may return the network address of the UE's current serving AMF.

[0403] Exemplarily, the NEF may call the Namf_Location_ProvideLocationInfo service operation to the AMF to request the UE location information provided by the network.

[0404] Here, the location information may include at least one of the following: the geographical location of the UE, the cell where the UE is located, and the base station to which the UE belongs.

[0405] In one possible implementation, the location information may be stored in the AMF during historical positioning, UE access, cell switching, etc.

[0406] In one possible implementation, the AMFs of multiple UEs performing ranging may be the same, or the AMFs of multiple UEs performing ranging may be completely different, or the AMFs of multiple UEs performing ranging may not be completely the same.

[0407] The AMF may return a location request response to the NEF, where the location request response may carry the UE's location information.

[0408] Exemplarily, the AMF returns a Namf_Location_ProvideLocationInfo response to the NEF to return the UE location provided by the network. After the NEF determines the UE's location information, it can determine whether the UE is in an area where ranging is allowed, and then determine whether the UE is allowed to perform ranging.

[0409] In one embodiment, the location request information further includes a UE verification indication, which is used to indicate at least one of the following:

[0410] The associated information of the ranging;

[0411] Whether it is necessary to indicate the ranging-related information to the UE;

[0412] whether the UE verifies the ranging association information;

[0413] The UE verification indication is set by the NEF based on the privacy setting.

[0414] The NEF may determine the UE verification indication based on the privacy settings. The privacy settings may indicate the information carried in the UE verification indication. The NEF may carry the UE verification indication in the location request information to indicate to the AMF whether the associated information of the ranging measurement needs to be indicated to the UE or whether the associated information of the ranging measurement needs to be verified by the UE.

[0415] The ranging-related information may be used to indicate a requesting end for ranging, and the like.

[0416] In one embodiment, the ranging-related information includes at least one of the following:

[0417] An application identifier of the application requesting the ranging in AF;

[0418] The type of ranging.

[0419] The ranging may be initiated by an application in the AF, and the NEF may send the application identifier of the application to the AMF.

[0420] The NEF may instruct the AMF to send ranging associated information to the UE.

[0421] The NEF may also instruct the AMF that the UE shall verify the ranging associated information.

[0422] Exemplarily, the NEF may indicate to the AMF the application identifier of the application requesting ranging, which is then sent by the AMF to the UE for verification to determine whether the application is authorized by the UE to request ranging.

[0423] In one possible implementation, the NEF may instruct the AMF that it does not need to send the association information to the UE. For example, the NEF may carry a UE verification indication in the location request message, indicating that it is not necessary to indicate the association information to the UE and that the UE does not need to verify the association information, thereby instructing the AMF that it is not necessary to send the association information to the UE.

[0424] In one embodiment, the AMF provides service parameters for ranging based on a direct communication link, including:

[0425] The AMF sends first notification information to the UE in response to the UE verification indication indicating that the associated information of the ranging needs to be indicated to the UE, wherein the first notification information is used to indicate the associated information of the ranging.

[0426] In one possible implementation, the NEF may instruct the AMF to send the ranging association information to the UE, but verification by the UE is not required. Then, after receiving the ranging association information, the AMF may carry the ranging association information in the first notification information and send it to the UE.

[0427] In one embodiment, the AMF provides service parameters for ranging based on a direct communication link, including:

[0428] The AMF sends, in response to the UE verification indication instructing the UE to verify the ranging association information, second notification information to the UE, wherein the second notification information is used to indicate that the UE needs to verify the ranging association information;

[0429] The AMF receives verification result information sent by the UE in response to the second notification information, wherein the verification result information is used to indicate a verification result of the UE verifying the ranging association information;

[0430] The AMF sends a location request response to the NEF, including:

[0431] The AMF sends the location request response carrying the verification result to the NEF.

[0432] In one possible implementation, the NEF may instruct the AMF to send ranging-related information to the UE, and verification is required by the UE. Then, after receiving the ranging-related information, the AMF may instruct the UE to verify the ranging-related information through a second notification message. The second notification message may simultaneously indicate the ranging-related information to the UE and instruct the UE to verify the ranging-related information. The first notification message and the second notification message may be the same signaling.

[0433] The UE can verify the ranging associated information and send the verification result to the AMF.

[0434] In one possible implementation, the verification result may include verification success or verification failure.

[0435] The AMF may send the verification result determined by the UE to the NEF.

[0436] Exemplarily, the AMF may return a Namf_Location_ProvideLocationInfo response to return the UE location provided by the network and include the verification result.

[0437] As shown in FIG6 , this exemplary embodiment provides a ranging method that can be performed by an AMF of a cellular mobile communication system, including:

[0438] Step 601: In response to the AMF determining that the UE needs to send the verification result information and not receiving the verification result information, the AMF determines that the verification result is that the UE fails to verify the associated information of the ranging.

[0439] Step 601 may be implemented alone or in combination with step 401 , step 501 and / or step 502 .

[0440] If the AMF instructs the UE to verify the ranging-associated information and determines that the UE needs to return verification result information, then if the verification result information is not received within the expected reception period, the AMF may determine that the UE has failed to verify the ranging-associated information. The failure of the UE to verify the ranging-associated information may include: the UE has not verified the ranging-associated information, and / or the ranging-associated information is not authorized by the UE.

[0441] In a possible implementation manner, the NEF determines whether to allow the UE to perform the ranging based on at least the location information of the UE and the area range, and the verification result.

[0442] After determining the location information of the UE, the NEF can determine whether the UE is in an area where ranging is allowed, and determine the verification result, and then determine whether the UE is allowed to perform ranging.

[0443] Exemplarily, the NEF may determine to allow the UE to perform ranging when the UE is in an area where ranging is allowed and the verification result is successful.

[0444] In a possible implementation, the verification result returned by the UE also includes a timestamp.

[0445] The NEF determines whether to allow the UE to perform ranging based on the time range and timestamp allowed for ranging.

[0446] For example, if the timestamp is within the time range, the UE is allowed to perform ranging; otherwise, the UE is not allowed to perform ranging.

[0447] In one embodiment, the verification result information further includes time information, used to indicate the time when the UE is allowed and / or not allowed to perform ranging;

[0448] The sending a location request response to the NEF includes:

[0449] Sending the location request response carrying the time information to the NEF.

[0450] In a possible implementation, the time information is used to indicate a time after the current ranging when the UE is allowed and / or not allowed to perform ranging.

[0451] The AMF can carry the time information in the location request response and send it to the NEF. The NEF can determine the time when the UE is allowed and / or not allowed to perform ranging.

[0452] In one embodiment, the AMF provides service parameters for ranging based on a direct communication link, including:

[0453] The AMF receives the second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission;

[0454] The AMF instructs the UE to perform the ranging based on the second ranging request.

[0455] The NEF determines, based on the privacy settings, that the UE is allowed to perform ranging (for example, the NEF determines, based on the privacy settings, that the positions of the two UEs allowed for ranging are both within their respective areas allowed for ranging and / or that the two UEs allowed for ranging are both within their respective time ranges allowed for ranging). The NEF may send a second ranging request to the serving AMF, instructing the AMF to provide a ranging service based on the second ranging request. The serving AMF may be the AMF associated with the UE performing ranging.

[0456] Here, the second ranging request may be the same as or different from the first ranging request. The second ranging request may indicate ranging requirements such as the UE performing ranging and the required ranging result.

[0457] The serving AMF may forward the second ranging request to the UE via NAS signaling. Here, the UE may be a UE associated with ranging.

[0458] The UE performs ranging based on the second ranging request. For example, the reference UE may initiate ranging based on the direct communication link to the target UE based on the second ranging request. The ranging process may include ranging discovery and service operations.

[0459] The reference UE can send the ranging result to the serving AMF. The serving AMF forwards the ranging result to the NEF. The NEF forwards the ranging result to the AF, thus completing the ranging.

[0460] Here, the ranging result can be the original measurement data such as the signal flight time obtained by the UE when measuring the signal, etc., or it can be the calculation result of the distance, direction, position, etc. obtained by performing technical operations on the original data.

[0461] As shown in FIG7 , this exemplary embodiment provides a ranging method that can be performed by a UE of a cellular mobile communication system, including:

[0462] Step 701: The UE performs ranging based on a direct communication link, wherein the ranging is performed by the NEF at least according to an instruction of the privacy setting of the UE.

[0463] It should be noted that all features that have been defined on the AMF side are completely one-to-one corresponding on the UE side; therefore, the corresponding explanations are no longer repeated in the embodiments on the UE side.

[0464] In this way, the ranging of the direct communication link is performed based on the privacy setting of the UE, which can meet the privacy requirements of the UE during the ranging process and improve the security of the ranging.

[0465] In one embodiment, the privacy setting is located in the UDM corresponding to the UE.

[0466] As shown in FIG8 , this exemplary embodiment provides a ranging method that can be performed by a UE of a cellular mobile communication system, including:

[0467] Step 801: The UE receives a first notification message sent by the AMF, wherein the first notification message is used to indicate associated information of the ranging; wherein the first notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0468] Step 801 can be implemented alone or in combination with step 701 .

[0469] It should be noted that all explanations corresponding to the AMF side are no longer repeated in the embodiments on the UE side.

[0470] In one possible implementation, the NEF may instruct the AMF to send the ranging association information to the UE, but verification by the UE is not required. Then, after receiving the ranging association information, the AMF may carry the ranging association information in the first notification information and send it to the UE.

[0471] As shown in FIG9 , this exemplary embodiment provides a ranging method that can be performed by a UE of a cellular mobile communication system, including:

[0472] Step 901: The UE receives a second notification message sent by the AMF, wherein the second notification message is used to indicate that the UE verifies the associated information of the ranging, wherein the second notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0473] It should be noted that all explanations corresponding to the AMF side are no longer repeated in the embodiments on the UE side.

[0474] In one possible implementation, the NEF may instruct the AMF to instruct the UE to send ranging-related information, and the UE needs to verify it. Then, after receiving the ranging-related information, the AMF may instruct the UE to verify the ranging-related information through a second notification message. The second notification message may simultaneously indicate the ranging-related information to the UE and instruct the UE to verify the ranging-related information. The first notification message and the second notification message may be the same signaling.

[0475] As shown in FIG10 , this exemplary embodiment provides a ranging method that can be performed by a UE of a cellular mobile communication system, including:

[0476] Step 1001: The UE sends verification result information to the AMF, wherein the verification result information is used to indicate the verification result of the UE verifying the ranging association information.

[0477] The UE can verify the ranging associated information and send the verification result to the AMF.

[0478] In one possible implementation, the verification result may include verification success or verification failure.

[0479] The AMF may send the verification result determined by the UE to the NEF.

[0480] Exemplarily, the AMF may return a Namf_Location_ProvideLocationInfo response to return the UE location provided by the network and include the verification result.

[0481] In one embodiment, the verification result information further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging.

[0482] In a possible implementation, the time information is used to indicate a time after the current ranging when the UE is allowed and / or not allowed to perform ranging.

[0483] The AMF can carry the time information in the location request response and send it to the NEF. The NEF can determine the time when the UE is allowed and / or not allowed to perform ranging.

[0484] As shown in FIG11 , this exemplary embodiment provides a ranging method that can be executed by a UE of a cellular mobile communication system, including one of the following:

[0485] Step 1101a: In response to a failure to verify the ranging association information, not sending verification result information to the AMF;

[0486] Step 1101b: In response to a failure to verify the association information of the ranging, sending verification result information indicating that the verification result is a verification failure to the AMF.

[0487] If the AMF instructs the UE to verify the ranging-associated information and determines that the UE needs to return verification result information, then if the verification result information is not received within the expected reception period, the AMF may determine that the UE has failed to verify the ranging-associated information. The failure of the UE to verify the ranging-associated information may include: the UE has not verified the ranging-associated information, and / or the ranging-associated information is not authorized by the UE.

[0488] After determining the location information of the UE, the NEF can determine whether the UE is in an area where ranging is allowed, and determine the verification result, and then determine whether the UE is allowed to perform ranging.

[0489] Exemplarily, the NEF may determine to allow the UE to perform ranging when the UE is in an area where ranging is allowed and the verification result is successful.

[0490] In a possible implementation, the verification result returned by the UE also includes a timestamp.

[0491] The NEF determines whether to allow the UE to perform ranging based on the time range and timestamp allowed for ranging.

[0492] For example, if the timestamp is within the time range, the UE is allowed to perform ranging; otherwise, the UE is not allowed to perform ranging.

[0493] In one embodiment, the ranging is performed by the UE instructing the ranging service AMF to receive a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission.

[0494] The NEF determines, based on the privacy settings, that the UE is allowed to perform ranging (for example, the NEF determines, based on the privacy settings, that the positions of the two UEs allowed for ranging are both within their respective areas allowed for ranging and / or that the two UEs allowed for ranging are both within their respective time ranges allowed for ranging). The NEF may send a second ranging request to the serving AMF, instructing the AMF to provide a ranging service based on the second ranging request. The serving AMF may be the AMF associated with the UE performing ranging.

[0495] Here, the second ranging request may be the same as or different from the first ranging request. The second ranging request may indicate ranging requirements such as the UE performing ranging and the required ranging result.

[0496] The serving AMF may forward the second ranging request to the UE via NAS signaling. Here, the UE may be a UE associated with ranging.

[0497] The UE performs ranging based on the second ranging request. For example, the reference UE may initiate ranging based on the direct communication link to the target UE based on the second ranging request. The ranging process may include ranging discovery and service operations.

[0498] The reference UE can send the ranging result to the serving AMF. The serving AMF forwards the ranging result to the NEF. The NEF forwards the ranging result to the AF, thus completing the ranging.

[0499] Here, the ranging result can be the original measurement data such as the signal flight time obtained by the UE when measuring the signal, etc., or it can be the calculation result of the distance, direction, position, etc. obtained by performing technical operations on the original data.

[0500] The following provides a specific example in combination with any of the above embodiments:

[0501] Assume that UE1 is managed by AMF1 and UDM1, and UE2 is managed by AMF2 and UDM2. If UE1 and UE2 are served by the same network function, there is no distinction between AMF and UDM, that is, AMF1 is the same as AMF2 or UDM1 is the same as UDM2. As shown in Figure 12, the ranging method specifically includes:

[0502] Step 1201: Provide service authorization policy / parameters to UE1 and UE2.

[0503] Step 1202: The AF sends a ranging / SL positioning service request (ie, a first ranging request) to the NEF, including UE1 ID, UE2 ID, ranging result content (distance, angle, or both), and required QoS.

[0504] Step 1203: NEF checks whether AF is authorized to provide ranging / SL positioning services (i.e., ranging services) to UE1 and UE2. If AF is authorized to obtain ranging / SL positioning services, NEF can obtain the UE identity based on the UE's ranging ID (i.e., UE ranging identifier). For example, NEF converts the UE's ranging ID into the UE's identity (such as SUPI) and selects the UDM corresponding to the UE. NEF uses the Nudm_SDM_Get service operation to the UDM of UE1 / UE2 to obtain the UE's privacy settings. UDM returns the privacy settings of UE1 / UE2. NEF then checks the UE ranging privacy settings. If both UE1 and UE2 do not authorize ranging / SL positioning, or one of UE1 and UE2 does not authorize ranging / SL positioning, steps 1204-1212 are skipped.

[0505] UE1 can be a target UE or a reference UE, which can be determined according to the AF request or in step 1210.

[0506] If UE1 and UE2 are managed by different UDMs, NEF shall send Nudm_SDM_Get messages to the corresponding UDMs respectively.

[0507] Step 1204: The NEF calls the Nudm_UECM_Get service operation on the UDM of UE1 / UE2. The UDM returns the network address of the AMF currently serving UE1 / UE2.

[0508] Step 1205: If any UE is granted restricted permission within a certain area (i.e., the area where the ranging is allowed), the NEF calls the Namf_Location_ProvideLocationInfo request service operation to the AMF (i.e., sends a location request message to the UDM) to request the UE location provided by the network. The location request message may also carry the privacy check result (UE verification indication) in step 1203, which may include an indication of the AF providing the application's identity code and privacy-related actions (i.e., no action (no need to notify the UE of the application's identity code and other information), notification (the UE needs to be notified of the application's identity code and other information), notification and privacy verification, etc. (the UE needs to be notified of the application's identity code and other information, and the UE is required to verify the application's identity code and other information)).

[0509] Step 1206a: If the indicator of the privacy check related operation (UE verification indication) indicates that the UE must be notified) or the UE is notified to perform privacy verification and if the UE supports Ranging notification (according to the UE capability information), the AMF sends a notification call message: NAS Location Notification Call Request (second notification information) to UE1 / UE2, indicating the identity code of the application and whether privacy verification is required.

[0510] Step 1206b: UE1 / UE2 returns the notification result to the AMF: the NAS location notification return result (verification result information), indicating whether the privacy verification is passed and whether the current Ranging request is allowed or rejected. If the UE does not respond after a predetermined period of time, the AMF returns an error response to the NEF with a "No Response" parameter.

[0511] The notification result may also include a ranging privacy indication (eg, time information), ie, whether UE1 / UE2 allows subsequent ranging requests. The ranging privacy indication may also indicate a time point when subsequent ranging requests are not allowed.

[0512] Step 1207: AMF returns a Namf_Location_ProvideLocationInfo response (i.e., location request response) to NEF to return the UE location provided by the network. The location request response may also include a ranging privacy indication.

[0513] Step 1208: The NEF checks whether UE1 / UE2 is within the area where the Ranging service is allowed based on the location of UE1 / UE2 provided by the network. If the location and time provided by the network meet the privacy requirements, the NEF forwards the Ranging / SL Positioning Service Request (second Ranging Request) to the serving AMF.

[0514] Step 1209: AMF forwards the ranging / SL positioning service request to UE1 or UE2 through NAS signaling.

[0515] Step 1210: UE1 and UE2 jointly perform ranging / SL positioning process, perform measurements and calculate results. The ranging / SL positioning process includes ranging / SL positioning discovery and service operations.

[0516] Step 12011: UE1 or UE2 sends the ranging / SL positioning result (ranging result) to AMF.

[0517] Step 12012: AMF forwards the ranging / SL positioning results to NEF.

[0518] Step 12013: NEF forwards the ranging / SL positioning results to AF.

[0519] An embodiment of the present invention further provides a distance measuring device, as shown in FIG13 , which is applied to NEF of cellular mobile wireless communications, wherein the device 100 includes:

[0520] The processing module 110 is configured to determine a ranging service parameter based on at least a privacy setting of a user equipment UE related to a first ranging request; wherein the first ranging request is a request for performing ranging via a direct communication link.

[0521] In one embodiment, the apparatus further includes a transceiver module 120 configured to receive the first ranging request sent by the application function AF;

[0522] The processing module 110 is specifically configured to obtain the privacy setting of the UE from a unified data management (UDM) based on the first ranging request; and determine whether to provide the ranging service parameters according to the privacy setting.

[0523] It should be noted that the distance measuring device is used to execute the distance measuring method performed by the NEF described in any of the above embodiments, so its function will not be repeatedly described.

[0524] An embodiment of the present invention further provides a ranging device, as shown in FIG14 , which is applied to the AMF of cellular mobile wireless communications, wherein the device 200 includes:

[0525] The transceiver module 210 is configured to provide a ranging service parameter based on a direct communication link, wherein the ranging service parameter is instructed by a network exposure function NEF at least according to a privacy setting of a user equipment UE associated with the ranging.

[0526] It should be noted that the distance measuring device is used to execute the distance measuring method performed by the NEF described in any of the above embodiments, so its function will not be repeatedly described.

[0527] An embodiment of the present invention further provides a ranging device, as shown in FIG15 , which is applied to a UE of cellular mobile wireless communication, wherein the device 300 includes:

[0528] The processing module 310 is configured to perform ranging based on the direct communication link, wherein the ranging is performed by a network exposure function NEF at least according to an instruction of the privacy setting of the UE.

[0529] In one embodiment, the apparatus further comprises:

[0530] The transceiver module 320 is configured to: receive a first notification message sent by an access and mobility management function AMF, wherein the first notification message is used to indicate the associated information of the ranging; wherein the first notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

[0531] It should be noted that the ranging device is used to execute the ranging method performed by the UE as described in any of the aforementioned embodiments, so its function will not be described again.

[0532] In an exemplary embodiment, the processing module 110, the transceiver module 120, the transceiver module 210, the processing module 310, and the transceiver module 320, etc., may be implemented by one or more central processing units (CPUs), graphics processing units (GPUs), baseband processors (BPs), application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0533] Figure 16 is a block diagram of an apparatus 3000 for distance measurement according to an exemplary embodiment. For example, the apparatus 3000 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, etc.

[0534] 16 , apparatus 3000 may include one or more of the following components: a processing component 3002 , a memory 3004 , a power component 3006 , a multimedia component 3008 , an audio component 3010 , an input / output (I / O) interface 3012 , a sensor component 3014 , and a communication component 3016 .

[0535] The processing component 3002 generally controls the overall operation of the device 3000, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 3002 may include one or more processors 3020 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 3002 may include one or more modules to facilitate interaction between the processing component 3002 and other components. For example, the processing component 3002 may include a multimedia module to facilitate interaction between the multimedia component 3008 and the processing component 3002.

[0536] The memory 3004 is configured to store various types of data to support operations on the device 3000. Examples of such data include instructions for any application or method operating on the device 3000, contact data, phone book data, messages, pictures, videos, etc. The memory 3004 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.

[0537] The power supply component 3006 provides power to the various components of the device 3000. The power supply component 3006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 3000.

[0538] The multimedia component 3008 includes a screen that provides an output interface between the device 3000 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 a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 3008 includes a front camera and / or a rear camera. When the device 3000 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.

[0539] The audio component 3010 is configured to output and / or input audio signals. For example, the audio component 3010 includes a microphone (MIC) that is configured to receive external audio signals when the device 3000 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 3004 or transmitted via the communication component 3016. In some embodiments, the audio component 3010 also includes a speaker for outputting audio signals.

[0540] I / O interface 3012 provides an interface between processing component 3002 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

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

[0542] The communication component 3016 is configured to facilitate wired or wireless communication between the device 3000 and other devices. The device 3000 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 3016 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 3016 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.

[0543] In an exemplary embodiment, the apparatus 3000 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-described method.

[0544] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 3004 including instructions, which can be executed by the processor 3020 of the apparatus 3000 to perform the above 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.

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

[0546] It should be understood that the embodiments of the present invention are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present invention is limited only by the appended claims.

Claims

1. A distance measurement method, wherein: Executed by the Network Exposure Function (NEF), including: Determine a ranging service parameter based on at least a privacy setting of a user equipment (UE) associated with a first ranging request; wherein the first ranging request is a request for performing the ranging through a direct communication link.

2. The method according to claim 1, wherein The privacy setting is used to indicate at least one of the following: whether the ranging is allowed; The scope of the area where the ranging is permitted; The time frame within which the ranging is allowed to be performed.

3. The method according to claim 2, wherein: determining a ranging service parameter at least according to a privacy setting of the user equipment UE related to the first ranging request; The first ranging request is a request for performing the ranging through a direct communication link, including: receiving the first ranging request sent by the application function AF; Obtaining, based on the first ranging request, a privacy setting of the UE from a unified data management (UDM); Determining whether to provide the ranging service parameter according to the privacy setting.

4. The method according to claim 3, wherein: The method further includes: determining whether the AF is allowed to request the UE to perform the ranging; In response to determining that the AF is allowed to request the UE to perform the ranging, the service parameter of the ranging is determined according to at least a privacy setting of the UE related to the first ranging request.

5. The method according to claim 3, wherein The acquiring, from the UDM based on the first ranging request, the privacy setting of the UE includes: Determining an identity of the UE based on the UE ranging identifier of the UE carried in the first ranging request; Determine the UDM corresponding to the UE based on the identity; Obtain the privacy setting of the UE from the UDM corresponding to the UE.

6. The method according to claim 3, wherein: The determining, at least according to a privacy setting of a user equipment UE related to the first ranging request, a ranging service parameter includes: In response to the privacy setting indicating an area range in which the ranging is allowed, sending a location request message to an access and mobility management function (AMF) of the UE, wherein the location request message is used to request the AMF for location information of the UE; receiving a location request response sent by the AMF based on the location request information, wherein the location request response includes the location information of the UE; Based at least on the location information of the UE and the area range, it is determined whether to allow the UE to perform the ranging.

7. The method according to claim 6, wherein: The location request information further includes a UE verification indication, which is used to indicate at least one of the following: The associated information of the ranging; Whether it is necessary to indicate the ranging-related information to the UE; whether the UE verifies the ranging association information; The UE verification indication is set by the NEF based on the privacy setting.

8. The method according to claim 7, wherein: The ranging-related information includes at least one of the following: an application identifier of the application requesting the ranging in the AF; The type of ranging.

9. The method according to claim 7, wherein: The location request response further includes: a verification result of the UE verifying the association information.

10. The method according to claim 9, wherein: The determining, based at least on the location information of the UE and the area range, whether to allow the UE to perform the ranging includes: Based at least on the location information of the UE and the area range, and the verification result, it is determined whether to allow the UE to perform the ranging.

11. The method according to claim 6, wherein: The location request response further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging.

12. The method according to any one of claims 3 to 11, wherein: The determining, at least according to a privacy setting of a user equipment UE related to the first ranging request, a ranging service parameter includes: In response to determining, based on the privacy setting, that the UE is allowed to perform the ranging, a second ranging request is sent to the AMF of the UE, where the second ranging request is used to instruct the UE to perform the ranging.

13. A distance measurement method, wherein: The access and mobility management functions (AMF) are implemented, including: A service parameter for ranging based on a direct communication link is provided, wherein the service parameter for ranging is instructed by a network exposure function NEF at least according to a privacy setting of a user equipment UE associated with the ranging.

14. The method according to claim 13, wherein The privacy setting is used to indicate at least one of the following: whether the ranging is allowed; The scope of the area where the ranging is permitted; The time frame within which the ranging is allowed to be performed.

15. The method according to claim 14, wherein The privacy settings are located in the unified data management (UDM) of the UE.

16. The method according to claim 14, wherein The method further comprises: receiving a location request message sent by the NEF, wherein the location request message is used to request the location information of the UE from the AMF; Sending a location request response to the NEF, wherein the location request response includes the location information of the UE, wherein the location information of the UE is used by the NEF to determine whether to allow the UE to perform the ranging in combination with the area range.

17. The method according to claim 16, wherein The location request information further includes a UE verification indication, which is used to indicate at least one of the following: The associated information of the ranging; Whether it is necessary to indicate the ranging-related information to the UE; whether the UE verifies the ranging association information; The UE verification indication is set by the NEF based on the privacy setting.

18. The method according to claim 17, wherein The ranging-related information includes at least one of the following: An application identifier of the application requesting the ranging in AF; The type of ranging.

19. The method according to claim 17, wherein The service parameters for providing ranging based on the direct communication link include: In response to the UE verification indication indicating that the ranging-associated information needs to be indicated to the UE, first notification information is sent to the UE, wherein the first notification information is used to indicate the ranging-associated information.

20. The method according to claim 17, wherein The service parameters for providing ranging based on the direct communication link include: In response to the UE verification instruction instructing the UE to verify the ranging associated information, sending second notification information to the UE, wherein the second notification information is used to indicate that the UE needs to verify the ranging associated information; receiving verification result information sent by the UE in response to the second notification information, wherein the verification result information is used to indicate a verification result of the UE verifying the ranging associated information; The sending a location request response to the NEF includes: Sending the location request response carrying the verification result to the NEF.

21. The method according to claim 20, wherein The method further comprises: In response to determining that the UE needs to send the verification result information and the verification result information is not received, determining that the verification result is that the UE fails to verify the ranging association information.

22. The method according to claim 20, wherein The verification result information further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging; The sending a location request response to the NEF includes: Sending the location request response carrying the time information to the NEF.

23. The method according to any one of claims 13 to 22, wherein: The service parameters for performing ranging based on the direct communication link include: receiving a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission; Based on the second ranging request, instruct the UE to perform the ranging.

24. A distance measurement method, wherein: The method is executed by a user equipment UE to be measured for ranging, including: Performing ranging based on a direct communication link, wherein the ranging is performed by a network exposure function NEF at least according to an instruction of a privacy setting of the UE.

25. The method according to claim 24, wherein The privacy setting is used to indicate at least one of the following: whether the ranging is allowed; The scope of the area where the ranging is permitted; The time frame within which the ranging is allowed to be performed.

26. The method according to claim 24, wherein The privacy settings are located in the UDM corresponding to the UE.

27. The method according to claim 25, wherein The method further comprises: Receive a first notification message sent by an access and mobility management function AMF, wherein the first notification message is used to indicate the associated information of the ranging; wherein the first notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

28. The method according to claim 25, wherein The method further comprises: Receive a second notification message sent by the AMF, wherein the second notification message is used to indicate that the UE verifies the associated information of the ranging, wherein the second notification message is sent by the AMF based on the UE verification indication carried in the location request information sent by the NEF, wherein the UE verification indication is determined by the NEF based on the privacy setting.

29. The method according to claim 28, wherein The method further comprises: Send verification result information to the AMF, wherein the verification result information is used to indicate the verification result of the UE verifying the associated information of the ranging.

30. The method according to claim 29, wherein The verification result information further includes time information, which is used to indicate the time when the UE is allowed and / or not allowed to perform ranging.

31. The method according to claim 29, wherein The method further includes one of the following: In response to a failure to verify the ranging association information, not sending verification result information to the AMF; In response to a failure to verify the ranging association information, sending verification result information indicating that the verification result is a verification failure to the AMF.

32. The method according to any one of claims 27 to 31, wherein The location request information includes a UE verification indication, wherein the UE verification indication is used to indicate at least one of the following: The associated information of the ranging; Whether it is necessary to indicate the ranging-related information to the UE; whether the UE verifies the ranging association information; The UE verification indication is set by the NEF based on the privacy setting.

33. The method according to any one of claims 27 to 31, wherein The ranging-related information includes at least one of the following: An application identifier of the application requesting the ranging in AF; The type of ranging.

34. The method according to any one of claims 24 to 31, wherein The ranging is performed by the UE instructing the ranging service AMF to receive a second ranging request sent by the NEF, wherein the second ranging request is determined by the NEF based on the privacy setting to allow the UE to perform the ranging transmission.

35. A distance measuring device, wherein: include: a processing module configured to determine a ranging service parameter based on at least a privacy setting of a user equipment UE related to the first ranging request; The first ranging request is a request for performing the ranging through a direct communication link.

36. A distance measuring device, wherein: include: The transceiver module is configured to provide service parameters for ranging based on a direct communication link, wherein the ranging service parameters are instructed by a network exposure function NEF at least according to privacy settings of a user equipment UE associated with the ranging.

37. A distance measuring device, wherein: include: The processing module is configured to perform ranging based on a direct communication link, wherein the ranging is performed by a network exposure function NEF at least according to an instruction of a privacy setting of a user equipment UE.

38. A communication device comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, wherein: When the processor runs the executable program, the processor performs the steps of the ranging method according to any one of claims 1 to 12, or 13 to 23, or 24 to 34.

39. A storage medium having an executable program stored thereon, wherein: When the executable program is executed by a processor, the steps of the ranging method according to any one of claims 1 to 12, or 13 to 23, or 24 to 34 are implemented.