WO2025055002A1 - Ranging method, communication device and storage medium - Google Patents

Ranging method, communication device and storage medium Download PDF

Info

Publication number
WO2025055002A1
WO2025055002A1 PCT/CN2023/119263 CN2023119263W WO2025055002A1 WO 2025055002 A1 WO2025055002 A1 WO 2025055002A1 CN 2023119263 W CN2023119263 W CN 2023119263W WO 2025055002 A1 WO2025055002 A1 WO 2025055002A1
Authority
WO
WIPO (PCT)
Prior art keywords
ranging
terminal
positioning
network device
information
Prior art date
Application number
PCT/CN2023/119263
Other languages
French (fr)
Chinese (zh)
Inventor
陆伟
商正仪
毛玉欣
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2023/119263 priority Critical patent/WO2025055002A1/en
Publication of WO2025055002A1 publication Critical patent/WO2025055002A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a ranging method, a communication device and a storage medium.
  • Ranging Sidelink Positioning can be used to measure the location information of the terminal.
  • Ranging/SL positioning can be performed based on the sidelink (SL) between terminals. These terminals can also be referred to as user equipment (UE), and the ranging positioning results can be used for one or more services.
  • SL sidelink
  • UE user equipment
  • the embodiments of the present disclosure provide a ranging method, a communication device, and a storage medium to protect the privacy and security of terminal location information while responding to service requests related to ranging/SL positioning services with as high a probability as possible.
  • a ranging method is provided, which is performed by a first network device, and the method includes:
  • n is a positive integer greater than or equal to 2;
  • the terminal information that refuses to expose the location information determine whether to execute the ranging/SL positioning corresponding to the first request message.
  • a ranging method is provided, wherein the method is performed by a third network device, and the method includes:
  • the fifth response message carries the user instruction
  • a third response message is returned to the first network device, where the third response message includes the verification result.
  • a ranging method is provided, which is performed by a third network device, wherein the method includes:
  • the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning
  • the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information;
  • a fourth response message is sent to the first network device according to the terminal information that refuses to expose the location information.
  • a ranging method is provided, wherein the method is performed by a requesting end and includes:
  • n is a positive integer greater than or equal to 2;
  • a first response message is received, where the first response message includes: a failure response message of a ranging and positioning failure, or a positioning result of executing the first request message.
  • a first network device comprising:
  • a receiving module is configured to receive a first request message sent by a requesting end, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the processing module is configured to determine the terminal information of the n terminals that refuses to expose the location information; and determine whether to execute the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.
  • a third network device comprising:
  • a receiving module is configured to receive a third request message sent by a first network device, wherein the third request message is used to obtain a verification result of a user instruction; the verification result is used by the first network device to determine the terminal information of the n terminals requesting ranging/sidelink SL positioning that refuses to expose the location information; wherein n is a positive integer greater than or equal to 2; and a sending module is configured to send a fifth request message to the terminal based on the third request message, wherein the fifth request message is used to request the terminal to obtain the user instruction;
  • the receiving module is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries the user instruction;
  • the sending module is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, wherein the third response message includes the verification result.
  • a third network device comprising:
  • a receiving module configured to receive a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;
  • a processing module is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information;
  • the sending module is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.
  • a request end comprising:
  • a sending module is configured to send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the receiving module is configured to receive a first response message, wherein the first response message includes: a failure response message of a ranging and positioning failure, or a positioning result of executing the first request message.
  • a communication device wherein the communication device includes:
  • processors one or more processors
  • the processor is used to call instructions to enable the communication device to execute the ranging method provided by any technical solution of the first aspect to the fourth aspect mentioned above.
  • a storage medium stores instructions, and when the instructions are executed on a communication device, the communication device executes the ranging method provided by any of the first to fourth aspects.
  • the first network device will determine the terminal information that refuses to expose the location information when requesting n terminals to measure the distance/SL positioning, and determine whether to perform the ranging/SL positioning based on the terminal information, thereby achieving a solution to the problem of one or more terminals refusing to expose the location information during the ranging/SL positioning.
  • FIG1 is a schematic diagram showing an architecture of a communication system according to an exemplary embodiment
  • FIG2A is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG2B is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG3A is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG3B is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG4B is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG5 is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG6A is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG6B is a schematic flow chart of a distance measurement method according to an exemplary embodiment
  • FIG7A is a schematic diagram showing the structure of a first network device according to an exemplary embodiment
  • FIG7B is a schematic diagram showing the structure of a third network device according to an exemplary embodiment
  • FIG7C is a schematic diagram showing the structure of a third network device according to an exemplary embodiment
  • FIG7D is a schematic diagram showing the structure of a request end according to an exemplary embodiment
  • FIG8A is a schematic diagram showing the structure of a communication device according to an exemplary embodiment
  • FIG. 8B is a schematic structural diagram of a chip according to an exemplary embodiment.
  • an embodiment of the present disclosure provides a ranging method, wherein the method is performed by a first network device, and the method includes:
  • the first network device will determine the terminal that refuses to expose the location information when requesting n terminals to measure the distance/SL positioning. Terminal information, and determine whether to perform ranging/SL positioning based on the terminal information, thereby solving the problem of one or more terminals refusing to expose their location information during ranging/SL positioning.
  • determining terminal information of n terminals that refuse location information exposure further includes:
  • the terminal information of the n terminals that refuses to expose the location information is determined according to the verification result indicated by the user.
  • the verification result based on the user instruction of the terminal can reflect whether the terminal is willing to expose its own location information at the moment, thereby realizing the dynamic determination of whether the current location information of the terminal is exposed.
  • the method further includes:
  • a second request message is sent to the second network device according to the first request message, where the second request message is used to obtain the privacy configurations of the n terminals from the second network device.
  • the first network device can request the privacy configuration from the second network device when there is no privacy configuration, thereby implementing verification based on the privacy configuration to determine whether the terminal refuses to expose the location information.
  • the method further includes:
  • the verification result of the mth terminal is obtained, where m is a positive integer less than or equal to n.
  • the privacy configuration includes a second indication
  • it is also necessary to dynamically verify whether the terminal currently refuses to expose the location information thereby achieving double verification of whether the terminal's location information can be exposed, thereby further improving the security of the terminal's location information during the ranging/SL positioning process.
  • obtaining the verification result of the m-th terminal includes:
  • the first indication in the privacy configuration of the mth terminal indicates acceptance of the location information and the privacy configuration includes the second indication, sending a third request message to the third network device of the mth terminal, the third request message being used to obtain a verification result;
  • a third response message returned by the third network device is received, where the third response message includes a verification result.
  • a third request message is sent to the third network device of each terminal, the third network device completes the verification, and the first network device receives the verification result from the third network device, so that the first network device can determine the number of terminals that refuse to expose location information based on the verification results of each terminal.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the exposure of the location information; and a failure result corresponds to rejecting the exposure of the location information.
  • the user indication of the mth terminal indicates rejection of location information exposure
  • the verification result is a failure result
  • the user indication of the mth terminal indicates acceptance of the exposure of the location information, the verification result is a successful result, and/or,
  • the mth terminal is outside the network coverage, the verification result is a failure result, and/or,
  • the verification result is a failure result, and/or
  • connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.
  • the verification result is automatically determined as a failure result, thereby reducing the exposure of the terminal's location information that is considered to be successfully verified when the connection is lost.
  • the first request message includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • No terminal refuses to expose the location information, and determines to execute the ranging/SL positioning corresponding to the first request message
  • n terminals or n-1 terminals refuse to expose their location information and determine not to perform ranging/SL positioning corresponding to the first request message;
  • the terminal that refuses to expose the location information is not a terminal that must participate in ranging/SL positioning as defined by the rule, and determines to execute the ranging/SL positioning corresponding to the first request message;
  • the terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, and determines not to perform ranging/SL positioning corresponding to the first request message.
  • n-2 terminals refuse to expose the location information, and determine whether to perform ranging/SL positioning corresponding to the first request message according to the rule, further comprising:
  • n-2 terminals refuse to expose their location information, and the rule allows less than or equal to n-2 terminals to refuse to expose their location information, the ranging/SL positioning corresponding to the first request message shall continue to be performed;
  • n-2 terminals refuse to expose their location information and the rules do not allow less than or equal to n-2 terminals to refuse to expose their location information, stop executing the ranging/SL positioning corresponding to the first request message.
  • the method further includes:
  • the method further includes:
  • the successful response message includes the ranging and positioning result.
  • a success response message will be sent to the requesting end, and the success response message directly includes the ranging and positioning result required by the requesting end.
  • the success response message further includes at least one of the following:
  • the above information is carried in the successful response message, so that the requesting end can know the execution status of ranging/SL positioning.
  • the method when determining to perform ranging/SL positioning corresponding to the first request message, the method further includes:
  • the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning;
  • a first response message is sent to the requesting end.
  • the first network device determines according to the privacy configuration that the number of terminals that refuse to expose location information does not exceed the number defined by the rule, and then initiates the ranging and positioning process to the third network device.
  • the third network device performs verification based on user instructions. In this way, the message flow of the ranging process in the related technology is slightly improved, and the implementation is simpler.
  • the fourth response message includes: the third network device determines to return a rejection message based on the user verification result and the rule; or,
  • the fourth response message includes: the third network device returns a success message based on the user verification result and the rule, and the success message at least includes the ranging result.
  • the third network device when the third network device performs verification, it will also obtain the result of whether to continue to perform ranging/SL positioning, and then inform the first network device through failure messages and success messages, thereby meeting the ranging/SL positioning in different scenarios.
  • the success message further includes at least one of the following:
  • the success message carries the above content to facilitate the requesting end to know the status of ranging/SL positioning.
  • the rejection message also includes third information; the third information includes the reason why the third network device rejects ranging/SL positioning.
  • the rejection message carries the third information, which makes it easy for the requesting end to know the reason why the network side rejects ranging.
  • the third information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the fourth request message includes rules; the rules are used to determine whether to perform ranging/SL positioning based on the verification result indicated by the user of the third network device.
  • the third network device can directly obtain the rule from the fourth request message, which facilitates the first network device to dynamically indicate the rule to the third network device.
  • an embodiment of the present disclosure provides a ranging method, which is performed by a third network device, and the method includes:
  • Receive a third request message sent by the first network device the third request message is used to obtain a verification result of the user instruction;
  • the verification result is used by the first network device to determine the terminal information that refuses to expose the location information among the n terminals requesting ranging/sidelink SL positioning;
  • n is a positive integer greater than or equal to 2; based on the third request message, send a fifth request message to the terminal, the fifth request message is used to request the terminal to obtain the user instruction;
  • the receiving terminal returns a fifth response message based on the fifth request message; the fifth response message carries a user instruction;
  • a third response message is returned to the first network device, and the third response message includes the verification result.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.
  • returning a third response message to the first network device according to the fifth response message includes at least one of the following:
  • the fifth response message is successfully received and the user indication carried in the fifth response message indicates that the location information exposure is accepted, and a third response message carrying a success result is sent to the first network device;
  • connection establishment with the corresponding terminal fails, and a third response message carrying the failure result is sent to the first network device; and the corresponding terminal
  • the established connection is used to send a fifth request message to obtain a user instruction;
  • a third response message carrying a failure result is sent to the first network device.
  • the reason corresponding to the failure result includes one of the following indications:
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • an embodiment of the present disclosure provides a ranging method, wherein the method is performed by a third network device, and the method includes:
  • the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;
  • a user indication of the terminal is obtained; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;
  • a fourth response message is sent to the first network device according to the terminal information that refuses to expose the location information.
  • the fourth request message includes: terminal information that meets the conditions for participating in ranging/SL positioning; and obtaining a user indication of the terminal according to the fourth request message includes:
  • sending a fourth response message to the first network device according to the terminal and rule indicating rejection of location information exposure according to the verification result includes:
  • a rejection message is sent to the first network device, and/or,
  • a rejection message is sent to the first network device.
  • the rejection message also includes third information; the third information; the first information is used to indicate the reason for rejecting ranging.
  • the first information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the terminal and rule sending a fourth response message to the first network device, including:
  • Terminals with a number less than that defined by the rule refuse to expose their location information, triggering ranging/SL positioning ranging to obtain ranging and positioning results;
  • Terminals with a number less than that defined by the rule refuse to expose their location information, trigger ranging/SL positioning ranging to obtain ranging and positioning results, and/or,
  • the rules define that the terminals that must participate in ranging/SL positioning accept the exposure of location information and trigger ranging/SL positioning ranging to obtain ranging and positioning results.
  • the success message further includes at least one of the following:
  • the fourth request message also includes rules.
  • an embodiment of the present disclosure provides a ranging method, which is executed by a requesting end and includes:
  • n is a positive integer greater than or equal to 2;
  • a first response message is received, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.
  • the first request message includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • the failure response message also includes first information; the first information is used to indicate the reason for the failure of ranging and positioning.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the success response message also includes second information; the second information is used to determine the terminals participating in ranging/SL positioning.
  • the second information includes at least one of the following:
  • an embodiment of the present disclosure provides a first network device, comprising:
  • a receiving module is configured to receive a first request message sent by a requesting end, where the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the processing module is configured to determine the terminal information of the n terminals that refuses to expose the location information; and determine whether to perform the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.
  • an embodiment of the present disclosure provides a third network device, comprising:
  • the receiving module is configured to receive a third request message sent by the first network device, where the third request message is used to obtain a verification result of a user instruction; the verification result is used by the first network device to determine the terminal information that refuses to expose the location information among the n terminals requesting ranging/sidelink SL positioning; n is a positive integer greater than or equal to 2; the sending module is configured to send a fifth request message to the terminal based on the third request message, where the fifth request message is used to request the terminal to obtain the user instruction;
  • the receiving module is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries a user instruction;
  • the sending module is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, and the third response message includes the verification result.
  • an embodiment of the present disclosure provides a third network device, comprising:
  • a receiving module configured to receive a fourth request message sent by the first network device; the fourth request message is used for the third network device to trigger the execution of ranging/SL positioning;
  • the processing module is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;
  • the sending module is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.
  • an embodiment of the present disclosure provides a request end, which includes:
  • a sending module is configured to send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the receiving module is configured to receive a first response message, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.
  • an embodiment of the present disclosure provides a communication device, the communication device including: one or more processors;
  • the processor is used to call instructions to enable the communication device to execute the ranging method described in the optional implementation manner of the first aspect to the fourth aspect.
  • an embodiment of the present disclosure provides a storage medium, wherein the storage medium stores instructions, and when the instructions are executed on a communication device, the communication device executes the ranging method described in the optional implementation methods of the first to fourth aspects.
  • an embodiment of the present disclosure provides a program product, which, when executed by a communication device, enables the communication device to execute The ranging method described in the optional implementation manner of the first to fourth aspects is carried out.
  • an embodiment of the present disclosure provides a computer program, which, when executed on a computer, enables the computer to execute the ranging method described in the optional implementation manners of the first to fourth aspects.
  • the embodiments of the present disclosure provide a ranging method, a communication device, a communication system, and a storage medium.
  • the terms ranging method, ranging method, ranging method, etc. can be replaced with each other, the terms network device, terminal, information processing device, information transmission device, etc. can be replaced with each other, and the terms communication system, information processing system, etc. can be replaced with each other.
  • each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined.
  • a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged.
  • the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
  • elements expressed in the singular form such as “a”, “an”, “the”, “above”, “”, “the”, “the”, etc., may mean “one and only one", or “one or more”, “at least one”, etc.
  • the noun after the article may be understood as a singular expression or a plural expression.
  • plurality refers to two or more.
  • the terms “at least one (at least one of), “one or more (one or more)”, “a plurality of (a plurality of)”, “multiple (multiple)”, etc. can be used interchangeably.
  • "at least one of A and B", “A and/or B”, “A in one case, B in another case”, “A in one case, B in another case”, etc. may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, A and B (both A and B are executed). When there are more branches such as A, B, C, etc., the above is also similar.
  • the recording method of "A or B” may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed).
  • A A is executed independently of B
  • B B is executed independently of A
  • execution is selected from A and B (A and B are selectively executed).
  • prefixes such as “first” and “second” in the embodiments of the present disclosure are only used to distinguish different description objects, and do not limit the position, order, priority, quantity or content of the description objects.
  • the description of the description objects please refer to the context of the claims or embodiments.
  • the description of a message should not constitute an unnecessary restriction due to the use of prefixes. For example, if the description object is "field”, the ordinal number before “field” in “first field” and “second field” does not limit the position or order between "fields”, “first” and “second” do not limit whether the "fields” they modify are in the same message, nor do they limit the order of "first field” and "second field”.
  • the description object is "level”
  • the ordinal number before “level” in “first level” and “second level” does not limit the priority between “levels”.
  • the number of description objects is not limited by ordinal numbers and can be one or more. Take “first device” as an example, where the number of "devices" can be one or more.
  • the objects modified by different prefixes can be the same or different. For example, if the description object is “device”, “first device” and “second device” can be the same device or different devices, and their types can be the same or different; for another example, if the description object is "information”, “first information” and “second information” can be the same information or different information, and their contents can be the same or different.
  • “including A”, “comprising A”, “used to indicate A”, and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.
  • terms such as “...”, “determine...”, “in the case of...”, “at the time of...”, “when...”, “if...”, “if...”, etc. can be used interchangeably.
  • terms such as “greater than”, “greater than or equal to”, “not less than”, “more than”, “more than or equal to”, “not less than”, “higher than”, “higher than or equal to”, “not lower than”, and “above” can be replaced with each other, and terms such as “less than”, “less than or equal to”, “not greater than”, “less than”, “less than or equal to”, “no more than”, “lower than”, “lower than or equal to”, “not higher than”, and “below” can be replaced with each other.
  • devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments.
  • Terms such as “device”, “equipment”, “device”, “circuit”, “network element”, “node”, “function”, “unit”, “section”, “system”, “network”, “chip”, “chip system”, “entity”, and “subject” can be used interchangeably.
  • network may be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).
  • terminal refers to any terminal, “terminal device”, “user equipment (UE)”, “user terminal”, “mobile station (MS)”, “mobile terminal (MT)”, subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, etc.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • subscriber station mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, etc.
  • terminal, remote terminal, handset, user agent, mobile client, and client are interchangeable.
  • the access network device, the core network device, or the network device can be replaced by a terminal.
  • the various embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by the communication between multiple terminals (for example, device-to-device (D2D), vehicle-to-everything (V2X), etc.).
  • D2D device-to-device
  • V2X vehicle-to-everything
  • it can also be set as a structure in which the terminal has all or part of the functions of the access network device.
  • terms such as "uplink” and “downlink” can also be replaced by terms corresponding to communication between terminals (for example, "side”).
  • uplink channels, downlink channels, etc. can be replaced by side channels
  • uplinks, downlinks, etc. can be replaced by side links.
  • the terminal may be replaced by an access network device, a core network device, or a network device.
  • the access network device, the core network device, or the network device may also be configured to have a structure that has all or part of the functions of the terminal.
  • the acquisition of data, information, etc. may comply with the laws and regulations of the country where the data is obtained.
  • data, information, etc. may be obtained with the user's consent.
  • each element, each row, or each column in the table of the embodiments of the present disclosure may be implemented as an independent embodiment, and the combination of any elements, any rows, or any columns may also be implemented as an independent embodiment.
  • FIG1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure.
  • the communication system 100 includes a terminal 101 and a network device 102.
  • the network device 102 may include an access network device and a core network device.
  • the terminal 101 includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), and at least one of a wireless terminal device in a smart home (smart home), but is not limited to these.
  • a mobile phone a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal
  • the terminal is also referred to as user equipment (UE).
  • UE user equipment
  • the access network device may be, for example, a node or device that accesses a terminal to a wireless network.
  • the access network device may include an evolved Node B (eNB), a next generation evolved Node B (ng-eNB), a next generation Node B (gNB), a node B (NB), a home node B (HNB), a home evolved node B (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, and at least one of an access node in a Wi-Fi system, but is not limited thereto.
  • eNB evolved Node B
  • ng-eNB next generation evolved Node B
  • gNB next generation Node B
  • NB no
  • the technical solution of the present disclosure may be applicable to the Open RAN architecture.
  • the embodiments of the present disclosure involve The interfaces between or within access network devices can become internal interfaces of Open RAN, and the processes and information interactions between these internal interfaces can be implemented through software or programs.
  • the access network device may be composed of a centralized unit (central unit, CU) and a distributed unit (distributed unit, DU), wherein the CU may also be called a control unit (control unit).
  • the CU-DU structure may be used to split the protocol layer of the access network device, with some functions of the protocol layer being centrally controlled by the CU, and the remaining part or all of the functions of the protocol layer being distributed in the DU, and the DU being centrally controlled by the CU, but not limited to this.
  • the core network device may be a device including a first network element, etc., or may be a plurality of devices or a group of devices, each including a first network element.
  • the network element may be virtual or physical.
  • the core network may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).
  • EPC Evolved Packet Core
  • 5GCN 5G Core Network
  • NGC Next Generation Core
  • the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure.
  • a person skilled in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.
  • the following embodiments of the present disclosure may be applied to the communication system 100 shown in FIG1 , or part of the subject, but are not limited thereto.
  • the subjects shown in FIG1 are examples, and the communication system may include all or part of the subjects in FIG1 , or may include other subjects other than FIG1 , and the number and form of the subjects are arbitrary, and the connection relationship between the subjects is an example, and the subjects may be connected or disconnected, and the connection may be in any manner, which may be a direct connection or an indirect connection, and may be a wired connection or a wireless connection.
  • LTE Long Term Evolution
  • LTE-A LTE-Advanced
  • LTE-B LTE-Beyond
  • SUPER 3G IMT-Advanced
  • 4G the fourth generation mobile communication system
  • 5G 5G new radio
  • FAA Future Radio Access
  • RAT New Radio
  • NR New Radio
  • NX New radio access
  • the present invention relates to wireless communication systems such as LTE, Wi-Fi (X), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) network, Device to Device (D2D) system, Machine to Machine (M2M) system, Internet of Things (IoT) system, Vehicle to-Everything (V2X), systems using other ranging methods, and next-generation systems expanded based on them.
  • PLMN Public Land Mobile Network
  • D2D Device to Device
  • M2M Machine to Machine
  • IoT Internet of Things
  • V2X Vehicle to-Everything
  • systems using other ranging methods and next-generation systems expanded based on them.
  • next-generation systems expanded based on them.
  • a combination of multiple systems for
  • the requesting end can measure the absolute position information of a terminal, or measure the relative position information of two terminals/SL positioning. If the terminal's position information is measured, the terminal's position information will be obtained. In some cases, the terminal will refuse to disclose its own position information. At this time, continuing to measure the terminal's position information may cause the terminal's privacy to be leaked. Therefore, how to make a ranging/SL positioning request when the terminal refuses to disclose its position information? There is no specification for responses.
  • FIG2A is an interactive schematic diagram of a distance measurement method according to an embodiment of the present disclosure. As shown in FIG2A , the embodiment of the present disclosure relates to a distance measurement method, which is used in a communication system 100 .
  • the method shown in FIG2A is an embodiment of interaction between multiple communication devices.
  • the communication device involves a requesting end and a network device, etc.
  • the ranging method shown in FIG2A includes: after the first network device receives a ranging/SL positioning request from the requesting end for n terminals, the terminal information of the n terminals that refuses to expose the location information can be determined according to the privacy configuration of the n terminals, and whether to initiate ranging/SL positioning is determined according to the information of the terminal that refuses the location information.
  • the embodiment of this scheme is: when the first network device determines the terminal information of the n terminals that refuses to expose the location information according to the first indication of the privacy configuration, and when the first network device determines that the privacy configuration of the terminal that accepts the exposure of the location information includes the second indication according to the first indication, the third network device is requested to obtain the user indication.
  • the third network device will obtain the user indication, and further determine the verification result of whether the terminal currently refuses the information exposure according to the user indication.
  • the verification result will be transmitted to the first network device. After receiving the verification result, the first network device determines whether to execute the ranging/SL positioning request.
  • the first network device will determine whether to perform ranging/SL positioning after obtaining the verification results of each need to determine whether the location information is refused to be exposed at the current moment based on the user's instructions.
  • a distance measurement method provided by an embodiment of the present disclosure may include:
  • the first network device may be a core network device.
  • the first network device may be a Gateway Mobility Location Centre (GMLC).
  • GMLC Gateway Mobility Location Centre
  • HGMLC Home Gateway Mobility Location Centre
  • PLMN Public Land Mobile Network
  • the first request message is used to request ranging/sidelink SL positioning of n terminals.
  • n can be any positive integer.
  • n may be a positive integer of 2 or greater.
  • n may be the number of terminals involved in ranging/SL positioning.
  • n may be a target terminal for ranging/SL positioning.
  • the target terminal is the terminal being measured.
  • the first request message includes identification information of n terminals.
  • the first request message includes a list of identities of n terminals.
  • the first request message may further include:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • the rule information may include at least one of the following:
  • a rule identifier used for querying a rule used by the first network device
  • the first request message may also carry the rule information itself, so that the first network device directly knows whether to execute the ranging/SL positioning rules based on the first request message.
  • QoS may relate to ranging accuracy and/or ranging mode information.
  • the ranging result indicated by the type information may include but is not limited to at least one of the following:
  • Absolute location information such as latitude and longitude information
  • Relative position information for example, relative position information between any two specified terminals
  • the reference terminal information may include but is not limited to at least one of the following:
  • the type information or attribute information of the reference terminal At this time, the network side can dynamically select the reference terminal according to the type information or attribute information.
  • the first request message may also include information of terminals that must participate in ranging/SL positioning, and/or information of terminals that can optionally participate in ranging/SL positioning. Such information may be used synchronously with rules for the first network device to determine whether to perform ranging/SL positioning.
  • the requesting end sends a first request message
  • the first network device receives the first request message
  • the first network device obtains the rule from the requesting end.
  • the rules used by the first network device may also be local configuration rules of the first network device, or rules requested by other network devices.
  • the first network device may also request rules from NEF or Policy Control Function (PCF).
  • PCF Policy Control Function
  • S2102 The first network device sends a second request message to the second network device according to the first request message.
  • the second request message is used to obtain privacy configurations of n terminals.
  • the second network device determines the terminal information of the n terminals that rejects the location information according to the privacy configuration.
  • the second request message may include terminal identifiers of n terminals.
  • the terminal identification may be used by the second network device to query the privacy configurations of n terminals.
  • n terminals share one second network device.
  • the n terminals may use different second network devices.
  • the second network device may be a core network device.
  • the second network device may be a user data management (UDM).
  • UDM user data management
  • the first network device and the UDM of a terminal are located in different public land mobile networks (PLMNs).
  • the first network device that receives the first request message may forward the second request message to the first network device of another PLMN to the second network device of the terminal.
  • the second network device sends the privacy configurations of n terminals to the first network device.
  • the second network device sends the terminal identification of n terminals that refuse location information exposure to the first network device. At this time, whether the terminal refuses location information exposure is executed locally by the second network device, and the determination result is returned to the first network device.
  • the first network device determines terminal information of the n terminals that refuses to expose location information.
  • the first network device determines the terminal information of the n terminals that refuses to expose the location information.
  • the terminal information may include but is not limited to the number of terminals that refuse to expose the location information and/or the terminal identifiers that refuse to expose the location information.
  • the first network device may directly determine, based on the determination result provided by the second network device, the terminal information of the n terminals that are denied location information exposure according to the privacy configuration.
  • the first network device determines, based on the privacy configuration, terminal information of the n terminals that refuses to have their location information exposed.
  • the first network device determines whether the corresponding terminal refuses to expose the location information according to the first indication of the privacy configuration.
  • the two bit values of the first indication may indicate acceptance or refusal of exposure of the location information.
  • the first network device determines the number of terminals among the n terminals that refuse to expose their location information according to user instructions.
  • the first network device determines the number of terminals among the n terminals that refuse to expose their location information according to the privacy configuration and the user instruction.
  • the first network device determines, based on the privacy configuration, the number of terminals among the n terminals for which the privacy configuration indicates that exposure of location information is refused.
  • S2105 The first network device sends a third request message to the third network device.
  • the privacy configuration indicates that the mth terminal accepts the exposure of location information
  • the privacy configuration of the mth terminal includes a second indication
  • the first network device sends a third request message to the third network device of the mth terminal.
  • the privacy configuration indicates that the mth terminal accepts exposure of location information and the privacy configuration of the mth terminal does not include a second indication, it is not necessary to obtain the verification result of the user indicating whether the mth terminal currently refuses exposure of location information. At this time, whether the mth terminal refuses exposure of location information is determined based on the privacy configuration alone.
  • the second indication may be a second indication in a privacy configuration.
  • the second indication is used to indicate that when the first indication of the corresponding terminal accepts the exposure of the location information, it is necessary to further determine whether the terminal currently refuses the exposure of the location information based on the user indication.
  • the first network device if the privacy configuration of the m-th terminal includes the second indication, the first network device sends a third request message to the third network device of the m-th terminal.
  • the third request message is used to obtain a verification result.
  • the third request message includes an identifier of the mth terminal.
  • any multiple terminals among the n terminals share a third network device, and the first network device can carry identification information of the multiple terminals through a third request message, trigger the third network device to perform verification and obtain verification results through a third request message.
  • any multiple terminals among the n terminals correspond to a third network device respectively, and the first network device carries the identification information of a terminal through a third request message, triggers the third network device corresponding to the terminal through multiple third request messages to perform verification and obtain verification results.
  • the verification results can be used for the first determination or individual determination of the terminal information of the n terminals that refuses to expose the location information.
  • the privacy configuration when the privacy configuration includes the second indication alone but does not include the first indication, it is only necessary to determine whether the terminal refuses exposure of the location information according to the user indication.
  • the privacy configuration includes both the first indication and the second indication, it is necessary to determine whether the terminal currently refuses location information exposure based on the user indication when the first indication indicates that the terminal accepts location information exposure.
  • the third network device may be an access management function (AMF) of the terminal.
  • AMF access management function
  • the AMFs of different terminals may be the same or different.
  • the first network device may directly send the third request message to the third network device.
  • the first network device forwards the third request message through the first network device in the PLMN where the third network device is located.
  • the third network device sends a fifth request message to the mth terminal.
  • the fifth request message is used to request the terminal to obtain a user instruction, through which it can be obtained whether the terminal currently allows exposure of location information.
  • the fifth request message may include identification information of the mth terminal, or may not carry identification information of the mth terminal.
  • the third network device sends a non-access stratum (NAS) message to the mth terminal according to the third request message.
  • the fifth request message includes query information.
  • the inquiry information is displayed on the terminal and can be used to ask the user whether to agree, refuse or accept the exposure of the location information.
  • the third network device receives a feedback message of the NAS message from the terminal.
  • the feedback message may include the aforementioned user indication.
  • S2107 The terminal sends a fifth response message to the third network device.
  • the fifth response message carries a user instruction.
  • the user indication is used to indicate whether the user allows the terminal location information to be exposed.
  • S2108 The third network device returns a third response message to the first network device.
  • the third response message includes a verification result.
  • a third response message is returned to the first network device, and the third response message includes the verification result.
  • the verification result includes a success result and/or a failure result.
  • a successful result corresponds to accepting the location information exposure; a failed result corresponds to rejecting the location information exposure.
  • the third network device successfully receives the fifth response message within a specified time period and determines the verification result according to the user's instructions.
  • the third network device successfully receives the fifth response message within the specified time period and the user instruction carried in the fifth response message indicates rejection of location information exposure, and sends a third response message carrying a failure result to the first network device.
  • the third network device successfully receives the fifth response message within the specified time period and the user indication carried in the fifth response message indicates acceptance of location information exposure, and sends a third response message carrying a success result to the first network device.
  • the third network device fails to establish a connection with the corresponding terminal, and sends a third response message carrying a failure result to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain user instructions.
  • the terminal may be necessary to page the terminal first to establish a connection.
  • a third response message carrying a failure result is sent to the first network device.
  • the reason for the verification failure includes one of the following indications:
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the third response message carries a reason value or a reason code for each terminal verification failure, and the reason value or the reason code is associated with the corresponding terminal. In this way, the first network device can know the reason why each terminal refuses to expose the location information.
  • the third response message may carry all reasons for the existing verification failures, so that the first network device can know that a terminal refuses to expose the location information and the possible reasons, but does not know the specific reasons for the refusal of each terminal.
  • the first network device determines whether to perform ranging/SL positioning corresponding to the first request message.
  • a first number of n terminals that reject location information is determined according to the first indication; if the privacy configuration includes the second indication, a second number of n terminals that reject location information is determined according to the user indication; a third number is obtained by determining the n terminals that reject location information according to the first indication and determining the n terminals that reject location information according to the user indication when the privacy configuration includes the second indication.
  • the third number may be the larger of the first number and the second number.
  • the number of terminals whose location information is refused to be exposed may be the first number, the second number or the third number.
  • whether to perform ranging/SL positioning corresponding to the first request message is determined based on the terminal information that refuses to expose the location information.
  • whether to execute ranging/SL positioning corresponding to the first request message is determined based on whether the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule.
  • whether to execute ranging/SL positioning corresponding to the first request message is determined based on whether the terminal that must participate in ranging/SL positioning according to the rules among the n terminals refuses to expose its location information.
  • the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined not to perform the ranging/SL positioning corresponding to the first request message.
  • the number of terminals among the n terminals that refuse to expose their location information is less than or equal to the number defined by the rule, it is determined to execute the ranging/SL positioning corresponding to the first request message.
  • no terminal if no terminal refuses to expose the location information, it is determined to perform the ranging/SL positioning corresponding to the first request message. In this case, it can be determined according to the rules, or it can be directly determined to perform the ranging/SL positioning;
  • the terminal that refuses to expose its location information is not a terminal that must participate in ranging/SL positioning as defined by the rules, it is determined to execute ranging/SL positioning corresponding to the first request message.
  • the terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, it is determined not to perform ranging/SL positioning corresponding to the first request message.
  • n terminals or n-1 terminals refuse to expose their location information, it is determined not to perform the ranging/SL positioning corresponding to the first request message.
  • ranging/SL is considered to be relative ranging, and two terminals must accept the exposure of their location information before ranging/SL positioning is performed.
  • n-1 terminals when n-1 terminals refuse to expose their location information, it is determined whether to perform ranging/SL positioning according to the ranging result indicated by the type information.
  • n-1 terminals refuse to expose their location information, it is determined to perform ranging/SL positioning according to the ranging result indicated by the type information as the distance and/or direction relative to the reference terminal.
  • n-1 terminals refuse to expose their location information, it is determined not to perform ranging/SL positioning according to the relative position relationship between designated terminals indicated by the ranging result indicated by the type information.
  • the designated terminals do not include the reference terminal.
  • n-1 terminals refuse to expose their location information, it is determined to continue to perform ranging/SL positioning according to the ranging result indicated by the type information being the absolute location information of the terminal.
  • the rule stipulates that a terminal among the n terminals that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether to execute ranging/SL positioning corresponding to the first request message.
  • determining whether to perform ranging/SL positioning corresponding to the first request message according to the rule also includes at least one of the following:
  • n-2 refuses to expose the location information, and the rule allows less than or equal to n-2 terminals to refuse to expose the location information, continue to perform the ranging/SL positioning corresponding to the first request message;
  • n-2 terminals refuse to expose their location information and the rule does not allow less than or equal to n-2 terminals to refuse to expose their location information, stop executing the ranging/SL positioning corresponding to the first request message;
  • n-2 terminals that refuse to expose their location information and the rule specifies that the terminals that must participate in ranging accept exposure of their location information, determine to perform ranging/SL positioning corresponding to the first request message;
  • the first network device sends a first response message to the requesting end.
  • the first response message may include a success response message and/or a failure response message.
  • the first network device sends a failure response message to the requesting end.
  • the failure response message indicates that ranging/SL positioning failed.
  • the failure response message includes first information.
  • the first information is used to indicate the reason why the ranging and positioning fails.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the first information may indicate the reason for the ranging/SL positioning failure for each terminal, that is, the first information will indicate the reason for the ranging/SL positioning failure of each terminal respectively.
  • the first information is not associated with the terminal, but includes various reasons for the failure of the ranging/SL positioning.
  • the failure message carries the above information, and the requesting end can determine whether to re-initiate ranging/SL positioning based on the cause of the failure.
  • a success response message is sent to the requesting end.
  • the success response message includes a ranging positioning result.
  • the success response message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby reducing signaling overhead.
  • the first A network device may send a third request message to a third network device that is determined to accept exposure of location information according to the first indication of the privacy configuration to trigger the third network device to obtain the current user indication.
  • the third network device of the terminal that is determined to accept exposure of location information according to the first indication may be the same or different.
  • the third network devices of some terminals are located in the same PLMN as the first network device, and the third network devices of some terminals are located in a different PLMN from the first network device.
  • the first network device After the first network device receives the verification results generated by each third network device according to the user indication, it finally determines whether to initiate ranging/SL positioning based on the verification results and the rules. Therefore, in this case, there is no need for the third network device to determine whether to perform ranging/SL positioning, so the third request message does not need to carry rule information.
  • Fig. 2B is an interactive schematic diagram of a distance measurement method according to an embodiment of the present disclosure. As shown in Fig. 2B, the embodiment of the present disclosure relates to a distance measurement method, which is used in a communication system 100.
  • the first network device directly determines whether the conditions for performing ranging/SL positioning are met based on the terminal information that refuses location information exposure determined by the first indication of the privacy configuration. If the first network device determines that the conditions for performing ranging/SL positioning are met, a fourth request message is sent to the third network device. The fourth request message can trigger the third network device to initiate ranging/SL positioning.
  • the third network device After receiving the fourth request message, the third network device will determine the terminal information that refuses location information exposure at the current moment based on whether the terminal privacy configuration includes the second indication, and further obtain the user indication of the terminal if the privacy configuration of the terminal includes the second indication, and determine the terminal information that refuses location information exposure at the current moment based on the user indication, and further determine whether to execute the ranging/SL positioning strategy based on the terminal information and rules that refuse location information exposure at the current moment.
  • the disclosed embodiment can be applied to scenarios where terminals that meet the conditions for participating in ranging/SL positioning belong to the same third network device.
  • the first network device only needs to send a fourth request message to a third network device.
  • S2301 The requesting end sends a first request message to the first network device.
  • optional implementation methods of the first request message sent by the requesting end to the first network device can all refer to the relevant step S2101 of the embodiment corresponding to FIG. 2A .
  • the first network device sends a second request message to the second network device according to the first request message.
  • the second network device sends the privacy configurations of n terminals to the first network device.
  • the first network device determines terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals.
  • the first network device determines terminal information of the n terminals that refuses to expose location information according to the first indication of the privacy configuration.
  • the first network device determines, according to the first indication of the privacy configuration, terminal information of the n terminals that refuses to expose the location information, which may include:
  • the first network device determines terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals cached locally or the first indication in the privacy configuration requested by the second network device, or,
  • the first network device sends a second request message to the second network device; the second request message includes identification information of n terminals; the second network device obtains terminal information of n terminals that refuse to expose location information according to the first indication in the privacy configuration of the n terminals, The first network device receives the terminal information sent by the first network device from the second network device.
  • the first network device determines whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met based on the terminal information that refuses to expose the location information.
  • based on the terminal information that refuses to expose the location information it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.
  • the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.
  • the rules among the n terminals stipulate whether the terminal that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.
  • the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are not met.
  • the number of terminals among the n terminals that refuse to expose their location information is less than or equal to the number defined by the rule, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are met.
  • no terminal if no terminal refuses to expose the location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are met. In this case, it can be determined according to the rules, or it can be directly determined to perform the ranging/SL positioning.
  • n terminals or n-1 terminals refuse to expose their location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are not met.
  • the ranging/SL is considered to be relative ranging, and two terminals must accept the exposure of their location information before performing ranging/SL positioning.
  • n-1 terminals when n-1 terminals refuse to expose their location information, it is determined whether the conditions for performing ranging/SL positioning are met based on the ranging result indicated by the type information.
  • the ranging result indicated by the type information is the distance and/or direction relative to the reference terminal, and it is determined that the conditions for performing ranging/SL positioning are met.
  • the ranging result indicated by the type information is the relative position relationship between the designated terminals, and it is determined that the condition of not performing ranging/SL positioning is met.
  • the designated terminals do not include the reference terminal.
  • the ranging result indicated by the type information is the absolute location information of the terminal, and it is determined to continue to perform ranging/SL positioning.
  • the rules among the n terminals stipulate whether the terminal that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request message are met.
  • determining whether the condition for performing the ranging/SL positioning corresponding to the first request message is met according to the rule further includes at least one of the following:
  • n-2 terminals refuse to expose their location information and the rule specifies that the terminals that must participate in ranging accept exposure of their location information, it is determined that the conditions for performing ranging/SL positioning corresponding to the first request message are met;
  • n-2 refuses to expose the location information and the rule specifies that the terminals that must participate in ranging refuse to expose the location information, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are not met.
  • S2306 The first network device sends a fourth request message to the third network device.
  • the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning, that is, when the third network device determines that the ranging/SL positioning rules are met, it triggers the execution of ranging/SL positioning.
  • the first network device determines to initiate ranging/SL positioning and sends a fourth request message to the third network device.
  • the fourth request message includes identification information of X terminals participating in ranging/SL positioning.
  • the X terminals may be terminals whose location information is exposed among the n terminals, and the value of X is a positive integer less than or equal to n.
  • the fourth request message further includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • Reference terminal information is used to indicate the reference terminal.
  • the reference terminal is a terminal specified by the requesting end, and the distance and/or direction of the measured terminal (or target terminal) relative to the reference terminal can be measured by ranging/SL positioning. In some cases, the location information of the reference terminal is known.
  • the fourth request message may carry indication information, which is used by the third network device to obtain the terminal indicated by the user.
  • the indication information may be identification information of the terminal that meets the ranging/SL positioning conditions and requires user indication.
  • the first network device determines that the third network devices corresponding to the X terminals are the same, the first network device directly sends a fourth request message to the third network device instead of the third request message of the embodiment corresponding to FIG. 2A .
  • the first network device and the third network device may be located in the same PLMN or in different PLMNs.
  • the first network device exchanges information with the third network device through information forwarding or transparent transmission of the first network device of the PLMN where the third network device is located.
  • the third network device obtains a user instruction of the terminal.
  • the user indication of the mth terminal is obtained.
  • the user indication of the mth terminal is obtained.
  • step S2106 of the embodiment corresponding to FIG. 2A For an optional implementation manner in which the third network device obtains the user instruction of the m-th terminal, reference may be made to step S2106 of the embodiment corresponding to FIG. 2A .
  • the privacy configuration of the mth terminal when the privacy configuration of the mth terminal does not include the second indication, it can be determined that the mth terminal accepts the exposure of the location information without obtaining a user indication from the mth terminal.
  • the third network device obtains a verification result according to the acquired user instruction.
  • the third network device after the third network device obtains the user instructions of the Y terminals, it generates a verification result according to the user instructions of the Y terminals.
  • Y is the number of terminals participating in ranging/SL positioning whose privacy configuration includes the second indication.
  • Y can be a positive integer less than or equal to X.
  • step S2306 can be skipped to directly generate a successful result.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.
  • the user indication of the mth terminal indicates rejection of location information exposure, and the verification result is a failure result
  • the user indication of the mth terminal indicates acceptance of location information exposure, and the verification result is a success result
  • the mth terminal is outside the network coverage, and the verification result is a failure result
  • the user indication of the mth terminal is not obtained within the specified time period, and the verification result is a failure result
  • the connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.
  • the third network device triggers ranging/SL positioning ranging to obtain a ranging and positioning result.
  • the third network device may perform ranging/SL positioning using related ranging/SL positioning procedures.
  • the third network device initiates a ranging/SL positioning request message to the Location Management Function (LMF), thereby realizing ranging/SL positioning triggered by the network side.
  • LMF Location Management Function
  • the third network device sends a fourth response message to the first network device.
  • the fourth response message may be a rejection message.
  • the verification result indicates that the number of terminals exceeding the number defined by the rule refuses to expose the location information, and a rejection message is sent to the first network device.
  • the verification result indicates that the rule requires the terminal that must participate in ranging/SL positioning to refuse exposure of location information and send a rejection message to the first network device.
  • the rejection message indicates rejection of ranging/SL positioning.
  • the rejection message further includes third information.
  • the third information indicates the reason for rejecting ranging/SL positioning.
  • the third information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the fourth response message may be a success message.
  • the success message includes at least a ranging and positioning result.
  • the success message further includes at least one of the following:
  • the success message may not include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.
  • the success message may include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.
  • the first network device sends a first response message to the requesting end according to the fourth response message.
  • the success response message may include a positioning result.
  • the failure response message may include information about the cause of the failure.
  • the first network device when the first network device determines that the conditions for ranging/SL positioning are met according to the first indication of the privacy configuration, the first network device sends a fourth request message to the third network device to trigger the third network device to initiate ranging/SL positioning measurement.
  • the X terminal that accepts the exposure of location information according to the first indication of the privacy configuration can belong to the same third network device.
  • the fourth request message may carry a rule for the third network device to finally determine whether to perform ranging/SL positioning based on the verification result, so as to facilitate the third network device to finally determine whether to perform ranging/SL positioning based on the rule.
  • an embodiment of the present disclosure provides a ranging method, which is executed by a first network device.
  • the embodiment shown in FIG3A is related to the embodiment shown in FIG2A.
  • the first network device will trigger the third network device through the third request information to obtain the user instruction and the verification result. After obtaining the verification results of all terminals, after obtaining all the verification results as required, the first network device will finally determine whether to perform ranging/SL positioning according to the rules.
  • the first network device can also determine whether to perform ranging/SL positioning based on the first indication in the privacy configuration alone, without obtaining the verification result indicated by the user to finally determine whether to perform ranging/SL positioning results.
  • the ranging method provided by the embodiment of the present disclosure may include:
  • the first network device receives a first request message.
  • the first network device receives a first request message sent by the requester.
  • the first request message is used to request ranging/sidelink SL positioning of n terminals.
  • n is a positive integer greater than or equal to 2.
  • the first network device may be a GMLC.
  • S3102 The first network device determines terminal information of n terminals that refuse to have their location information exposed.
  • the terminal information may include the number of terminals and/or terminal identifiers.
  • the first network device may determine the number of terminals among the n terminals that refuse to expose their location information by using at least one of the following methods:
  • the first network device determines a terminal among the n terminals that refuses to expose its location information according to a first indication of the privacy configuration of the n terminals.
  • the first indication separately indicates whether the corresponding terminal refuses to expose the location information.
  • the first indication indicates a condition for the corresponding terminal to accept the location information. If the condition is not met, it can be considered that the terminal refuses to expose the location information.
  • the first network device may obtain the privacy configuration of each terminal from the second network device.
  • the second network device may be a UDM.
  • the privacy configuration may be a component of the subscription data of the terminal.
  • the first network device may also receive a verification indication returned by the second network device based on the privacy configuration, where the verification indication is at least based on whether the corresponding terminal determines based on the first indication in the privacy configuration whether to refuse location information exposure.
  • the first network device determines whether the mth terminal refuses location information exposure based on a user instruction of the mth terminal, and counts the terminals that refuse location information exposure among the n terminals.
  • the first network device determines whether the mth terminal refuses location information exposure based on a user indication of the mth terminal.
  • the first network device may also determine whether the mth terminal refuses location information exposure based on the user instruction of the mth terminal according to local configuration information and/or operator policy.
  • m is a positive integer less than or equal to n.
  • the first network device sends a third request message to a third network device of the mth terminal.
  • the third request message is used to obtain the verification result. In this way, the first network device will receive a third response message returned by the third network device based on the third request message.
  • the third response message includes a verification result, wherein the verification result indicates whether the user of the mth terminal indicates whether the mth terminal refuses to expose the location information.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.
  • the first network device determines a terminal among the n terminals that refuses to expose location information according to the first indication of the privacy configuration of the n terminals.
  • the privacy configuration of the mth terminal includes a second indication and the mth terminal is allowed to expose privacy according to the first indication of the privacy configuration of the mth terminal, it is determined whether the mth terminal refuses location information exposure based on a user indication of the mth terminal.
  • n-a-b terminals that accept location information exposure, where a may be the number of terminals that refuse location information exposure according to the first indication, and b may be the number of terminals that refuse location information exposure based on user instructions when the first indication allows location information exposure.
  • the number of terminals that refuse location information exposure among the n terminals may be a+b.
  • the first network device can obtain the verification result indicated by the mth terminal user through the interaction of the third request message and the third response message between the first network device and the third network device.
  • the first network device may select any of the above methods to determine the number of terminals that refuse to expose location information among the n terminals according to needs or rules.
  • an optional implementation method for determining whether to perform ranging/SL positioning corresponding to the first request message may refer to the relevant part of the embodiment corresponding to FIG. 2A .
  • step S3103 can be found in the corresponding embodiment S2109 of FIG. 2A .
  • S3104 The first network device sends a first response message.
  • the first network device sends a first response message to the requester.
  • the first network device In the case of determining not to perform ranging/SL positioning, the first network device sends a failure response message to the requesting end.
  • the first network device When determining to perform ranging/SL positioning, the first network device sends a success response message to the requesting end.
  • the first network device sends a failure response message to the requesting end.
  • the failure response message indicates that ranging/SL positioning failed.
  • the failure response message includes first information.
  • the first information is used to indicate the reason why the ranging and positioning fails.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the first information may be terminal granularity, indicating the reason why the ranging/SL positioning of each terminal fails.
  • the first information is not associated with the terminal, but includes various reasons for the failure of the ranging/SL positioning.
  • the failure message carries the above information, and the requesting end can determine whether to re-initiate ranging/SL positioning based on the cause of the failure.
  • the success response message includes a ranging positioning result.
  • the success response message further includes at least one of the following:
  • the success response message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby reducing signaling overhead.
  • the sending of the success response message can be omitted, and the first network device can directly initiate ranging/SL positioning, so that after obtaining the ranging positioning result, the positioning ranging result is returned to the requesting end, thereby reducing the number of interactive messages between the first network device and the requesting end. If some terminals do not participate in ranging/SL positioning, the terminal information participating or not participating in ranging/SL positioning can be returned to the terminal together with the ranging positioning result.
  • the first network device when it is necessary to finally determine whether to execute ranging/SL positioning results based on the verification results indicated by the user, the first network device will determine whether to execute ranging/SL positioning after receiving the verification results from one or more third network devices. Only when it is determined to execute ranging/SL positioning, a request message to trigger the execution of ranging/SL positioning is sent to the third network device.
  • an embodiment of the present disclosure provides a ranging method, which is executed by a first network device.
  • the ranging method shown in FIG3B may correspond to the embodiment shown in FIG2B.
  • the first network device may determine whether the conditions for performing ranging/SL positioning are met according to the first indication in the privacy configuration of the terminal. When the conditions for ranging/SL positioning are met, the first network device sends a fourth request message to trigger the execution of ranging/SL positioning.
  • the fourth request message may include rules for other network devices such as the third network device to determine whether to finally perform ranging/SL positioning.
  • the ranging method may include:
  • S3201 The first network device receives a first request message.
  • the first network device receives a first request message sent by the requester.
  • the first request message is used to request ranging/sidelink SL positioning of n terminals.
  • n is a positive integer greater than or equal to 2.
  • the first network device may be a GMLC.
  • the first network device determines terminal information of n terminals that refuses to expose location information according to the privacy configuration.
  • terminal information of the n terminals that refuses to expose location information is determined.
  • the first network device caches the privacy configurations of one or more terminals, and determines the terminal that rejects the location information among the n terminals according to the locally cached privacy configurations.
  • the first network device may request the privacy configuration of the terminal from the second network device, and then determine the terminal among the n terminals that refuses to expose the location information based on the privacy configuration obtained from the second network device.
  • the first network device may request the second network device to determine whether the corresponding terminal is a private terminal based on the privacy configuration of the terminal. If the second network device receives a verification instruction returned by the second network device, the first network device may count the number of terminals that refuse to expose the location information among the n terminals according to the verification instruction.
  • S3203 The first network device sends a fourth request message.
  • a fourth request message is sent to a third network device.
  • whether to perform ranging/SL positioning corresponding to the first request message is determined based on the terminal and/or rules that deny exposure of location information.
  • a fourth request message is sent to the third network device.
  • a fourth request message is sent to a third network device of the terminal participating in ranging/SL positioning.
  • the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning.
  • the fourth request message includes identification information of X terminals participating in ranging/SL positioning.
  • the X terminals may be terminals whose location information is exposed among the n terminals, and the value of X is a positive integer less than or equal to n.
  • the fourth request message further includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • the first network device determines that the third network devices of the X terminals are the same, the first network device directly sends a fourth request message to the third network device instead of the third request message of the embodiment corresponding to FIG. 2A .
  • the first network device and the third network device may be located in the same PLMN or in different PLMNs.
  • the first network device exchanges information with the third network device through information forwarding or transparent transmission of the first network device of the PLMN where the third network device is located.
  • S3204 The first network device receives a fourth response message.
  • the fourth response message may include: a rejection message.
  • the first network device receiving the rejection message from the third network device indicates that the verification result indicated by the user of the third network device determines that more than the number of terminals defined by the rule refuse to expose their location information and/or the rule requires that terminals that must participate in ranging/SL positioning refuse to expose their location information.
  • the rejection message indicates rejection of ranging/SL positioning.
  • the rejection message further includes third information.
  • the third information indicates the reason for rejecting ranging/SL positioning.
  • the third information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the fourth response message may be a success message.
  • the success message may be returned after the third network device triggers ranging/SL positioning.
  • the success message includes at least a ranging and positioning result.
  • the success message further includes at least one of the following:
  • the success message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby saving signaling overhead.
  • the success message may include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.
  • S3205 The first network device sends a first response message.
  • the first network device sends the first response message based on the fourth response message.
  • the first network device sends the fourth request message when it determines that the conditions for ranging/SL positioning are met. If verification of the user's instructions is required, it is performed by other network devices such as the third network device.
  • the fourth request message may include rules for other network devices to determine whether to perform ranging/SL positioning in the end.
  • an embodiment of the present disclosure provides a ranging method, which is executed by a third network device.
  • the ranging method provided by this embodiment may correspond to the embodiments shown in Fig. 2B and Fig. 3B.
  • the ranging method may be that the third network device receives a third request message.
  • the third request message is a message for requesting a verification result.
  • the third network device exchanges information with the terminal based on the third request message to obtain a user instruction and generates a verification result.
  • the verification result is returned to the first network device.
  • the third network device receives a third request message.
  • the third network device receives a third request message sent by the first network device.
  • the third request message is used to obtain a verification result indicated by a user.
  • the verification result is used by the first network device to determine the n terminals requesting ranging/sidelink SL positioning The terminal information that refuses to expose location information.
  • n is a positive integer greater than or equal to 2.
  • the terminal information of the terminal that refuses to expose the location information is used for the first network device to determine whether to perform the ranging/SL positioning corresponding to the first request message; the first request message is used to request the ranging/SL positioning of n terminals;
  • the information content included in the third request message can refer to the relevant part of the embodiment corresponding to FIG. 2A .
  • S4102 The third network device sends a fifth request message.
  • the third network device based on the third request message, sends a fifth request message to the terminal.
  • the fifth request message may be a non-access stratum (NAS) message.
  • the fifth request message includes inquiry information.
  • the inquiry information is displayed on the terminal and can be used to inquire whether the user agrees, refuses or accepts the exposure of the location information.
  • S4103 The third network device receives the fifth response message.
  • the third network device receives a fifth response message returned by the terminal.
  • the user indication is used to indicate whether the user allows the terminal location information to be exposed.
  • S4104 The third network device sends a third response message.
  • the third network device sends a third response message to the first network device based on the fifth response message.
  • the third response message includes a verification result.
  • the third network device returns a third response message to the first network device according to a user instruction, where the third response message includes a verification result.
  • the third network device when the third network device obtains the user instruction, it sends a third response message to the first network device according to the instruction content of the user instruction.
  • the verification result includes a success result and/or a failure result.
  • the third network device successfully receives the fifth response message within the specified time period and the user instruction carried in the fifth response message indicates rejection of location information exposure, and sends a third response message carrying a failure result to the first network device.
  • the third network device successfully receives the fifth response message within the specified time period and the user indication carried in the fifth response message Indicates that the location information exposure is accepted, and sends a third response message carrying a success result to the first network device.
  • the third network device fails to establish a connection with the corresponding terminal, and sends a third response message carrying a failure result to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain user instructions.
  • the terminal may be necessary to page the terminal first to establish a connection.
  • a third response message carrying a failure result is sent to the first network device.
  • the reason for the verification failure includes one of the following indications:
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the third response message carries a reason value or a reason code for each terminal verification failure, and the reason value or the reason code is associated with the corresponding terminal. In this way, the first network device can know the reason why each terminal refuses to expose the location information.
  • the third response message may carry all reasons for the existing verification failures, so that the first network device can know that a terminal refuses to expose the location information and the possible reasons, but does not know the specific reasons for the refusal of each terminal.
  • the embodiment of the present disclosure provides a ranging method, which is performed by a third network device.
  • the method may correspond to the embodiments shown in FIG2B and FIG3B .
  • the third network device receives the fourth request message, it does not directly perform ranging/SL positioning according to the fourth request message, but first determines whether the privacy configuration of the terminal includes the second indication and, if it includes the second indication, obtains a verification result based on the user indication, and finally determines whether to perform ranging/SL positioning according to the verification result.
  • the method may include: (S4201: The third network device receives a fourth request message.
  • the third network device receives a fourth request message sent by the first network device.
  • the fourth request message is used to trigger the third network device to initiate ranging/SL positioning. In some embodiments, the fourth request message is sent by the first network device after determining that the conditions for initiating ranging/SL positioning are met according to the first indication in the privacy configuration of the n terminals.
  • the fourth request message includes: information of a terminal that meets the conditions for participating in ranging/SL positioning.
  • the terminal information may include but is not limited to a terminal identifier.
  • the third network device obtains a user instruction of the terminal.
  • the user indication is used to indicate whether the corresponding terminal refuses to expose the location information.
  • the terminal identification receiving the location information exposure
  • the terminal identity that refuses to expose location information is the terminal identity that refuses to expose location information.
  • the third network device sends a fourth response message.
  • the fourth response message is sent to the first network device.
  • the fourth response message is sent to the first network device, including:
  • a rejection message is sent to the first network device, and/or,
  • a rejection message is sent to the first network device.
  • the rejection message also includes third information.
  • the third information is used to indicate the reason for rejecting ranging.
  • the first information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • a fourth response message is sent to the first network device according to the verification result indicating the terminal and rules for rejecting the exposure of the location information.
  • terminals whose number is less than that defined by the rule refuse to expose their location information, trigger ranging/SL positioning ranging to obtain ranging and positioning results, and/or,
  • the rules define that the terminals that must participate in ranging/SL positioning must accept the exposure of location information and trigger ranging/SL positioning ranging to obtain ranging and positioning results.
  • a success message is sent to the first network device.
  • the success message includes at least a ranging and positioning result.
  • the success message further includes at least one of the following:
  • the fourth request message also includes rules.
  • the rule may be pre-configured on the third network device.
  • the ranging method may include:
  • S5101 The requesting end sends a first request message.
  • a first request message is sent to a first network device.
  • the relevant description of the first request message can refer to S2101 of the embodiment corresponding to FIG. 2A .
  • the first request message is used to request ranging/sidelink SL positioning of n terminals.
  • n is a positive integer greater than or equal to 2.
  • the first request message is used to request ranging/sidelink SL positioning of n terminals.
  • S5102 The requesting end receives the first response message.
  • the first response message may include a positioning result of executing the first request message.
  • the failure response message also includes first information.
  • the first information is used to indicate the reason why the ranging and positioning fails.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the first response message may include a success response message.
  • the success response message also includes second information.
  • the second information is used to determine the terminals participating in ranging/SL positioning.
  • the reason for the verification failure includes one of the following indications:
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the requesting end can request the network side to perform ranging/SL positioning of multiple terminals, and finally receive a first response message from the network side. If the network side performs ranging/SL positioning, the result of ranging/SL positioning will be obtained. If the network side does not perform ranging/SL positioning, the reason for the failure will be informed.
  • the LCS client or AF/NF is allowed to obtain ranging/SL positioning results of more than two terminals.
  • the GLMC determines the roles of these terminals, which may include: target terminal and reference terminal, etc.
  • the ranging/SL positioning results may include absolute position, relative position, distance and/or direction between terminals, etc.
  • the information of the positioning result type may include, but is not limited to: absolute position, relative position or distance and/or direction related to the terminal.
  • the requirement may also include rules for handling n terminals, such as all n terminals must participate in ranging/SL positioning, or allow part of the n terminals to be excluded from ranging/SL positioning, etc.
  • the specific rules may vary according to business needs.
  • the LCS service request may further include: rules.
  • the rule may specify that all n terminals must participate in ranging, or some terminals may participate in ranging.
  • the specific rules may vary according to service requirements.
  • the UE in FIG. 6A is a terminal, and UE1 to UEn in FIG. 6A are terminals 1 to n.
  • Step 2 GMLC sends Nudm-SDM-Get service operation to UDM to obtain the privacy settings of multiple terminals at the same time.
  • UDM will return the privacy settings of the terminal to GMLC.
  • GMLC will verify the LCS privacy configuration of the terminal.
  • GMLC will determine to stop the service and return a rejection message to the LCS client or AF.
  • the rejection message carries the failure reason.
  • the failure reason may include but is not limited to the location rejection to expose location information.
  • the n or n-1 terminals are not authorized to expose location information, that is, the n or n-1 terminals refuse to expose location information.
  • Local rules can be provided or defined by ranging/SL positioning applications or operators. If provided by ranging/SL positioning applications, GMLC can obtain the rules from PCF or NEF. The rules can be configured by the operator on PCF or NEF. Of course, PCF or NEF can also receive rules from AF. The rules can be received in step 1 or received through other steps.
  • Step 3 If the privacy configuration has an indicator of privacy notification or privacy verification, the GMLC will initiate a Nudm-UECM_Get service operation to the UDM corresponding to each terminal participating in the ranging.
  • Step 4 GMLC initiates the Namf-Location-Notification service operation to the serving AMF of the terminals participating in ranging to request the notification results of m terminals.
  • Step 6 If some of the m terminals do not obtain authorization to disclose location information, or some terminals are located outside the network coverage so that the serving AMF cannot establish a NAS connection with the terminal, the serving AMF will return a notification result to the GMLC.
  • the notification result may indicate the cause of the failure.
  • the cause of the failure may include, but is not limited to, location rejection or signaling connection failure.
  • the serving AMF will indicate the failure to the GMLC.
  • the failure reason may include no response.
  • step 7 If the rules allow, the GMLC executes step 7;
  • the rejection message may include the reason for the failure.
  • the reason for the failure may include, but is not limited to: refusal to expose the location, rejection by rules, etc.
  • the rejection message may also include: a list of terminals that refuse to expose location information, terminals within the network coverage, etc.
  • the rejection message may include multiple reasons for failure.
  • the failure reason may include: a rejection message from each terminal. For example, terminal 1 refuses location exposure, terminal 2 fails to connect, and terminal 3 has no user response.
  • Step 7 GMLC selects the terminal to initiate ranging/SL positioning, and initiates the Namf-Location-ProvidePositioningInfo service operation to the terminal's service AMF to request the location information of n-i terminals, where i is the number of terminals excluded due to lack of authorization or privacy confirmation response.
  • Step 8 If the terminal is in the Connected Management (CM) idle state, AMF initiates a network-triggered service request to establish a signaling connection with the terminal.
  • CM Connected Management
  • the AMF notifies the GMLC of the failure and informs the GMLC of the failure reason, which may be a signaling connection failure.
  • (V)GMLC may send a Ngmlc-Location-Provide Location response to (H)GMLC.
  • the response may include the failure reason.
  • the GMLC may reselect two terminals for mutual ranging and repeat step 8 or return a rejection message to the LCS client or AF.
  • the rejection message may include the rejection reason.
  • the rejection reason may include: connection failure.
  • Steps 9-19 may be conventional ranging/SL positioning procedures, and the steps involved may be referred to in FIG. 6A , AMF, access network (eg, next generation access network (NG-RAN)).
  • AMF access network
  • NG-RAN next generation access network
  • the present disclosure provides a ranging method which may include:
  • Step S1 The LCS client or AF (via NEF) sends an LCS service request to the (H)GMLC to obtain the ranging/SL positioning results of n terminals.
  • the request may include the required QoS, the required positioning result type information, and the reference terminal information.
  • the information of the positioning result type may include but is not limited to: the absolute position, relative position or distance and/or direction relative to the reference terminal related to the terminal.
  • the requirement may also include rules for processing n terminals. For example, all n terminals must participate in ranging/SL positioning, or a part of the n terminals may be excluded from ranging/SL positioning, etc. The specific rules may vary according to business requirements.
  • the UE in Figure 6B is the terminal, and UE1 to UEn in Figure 6B are terminals 1 to terminal n.
  • the LCS service request may further include: a rule.
  • the rule may also be referred to as a processing rule.
  • the rule may stipulate that all N terminals must participate in ranging, or some terminals may participate in ranging.
  • the specific rule may vary according to service requirements.
  • Step S2 GMLC sends Nudm-SDM-Get service operation to UDM to obtain the privacy settings of multiple terminals at the same time.
  • UDM will return the privacy settings of the terminal to GMLC.
  • GMLC will verify the LCS privacy configuration of the terminal.
  • GMLC will determine to stop the service and return a rejection message to the LCS client or AF.
  • the rejection message carries the failure reason.
  • the failure reason may include but is not limited to the location rejection of exposing location information.
  • Local rules can be provided or defined by ranging/SL positioning applications or operators. If provided by ranging/SL positioning applications, GMLC can obtain the rules from PCF or NEF. The rules can be configured by the operator on PCF or NEF. Of course, PCF or NEF can also receive rules from AF. The rules can be received in step 1 or received through other steps.
  • Step S3 GMLC initiates the Nudm-UECM-Get service operation to the UDMs of n terminals to select the initiating terminal as the ranging/SL positioning operation and the serving AMF of the initiating terminal.
  • Step S5 H)GMLC and (V)GMLC initiate the Namf-Location-ProvidePositioningInfo service operation to the service AMF of the initiating terminal to request the ranging results of n-a terminals, where a represents the number of terminals that are not authorized to participate in ranging.
  • the terminals that are not authorized to participate in ranging are determined based on the verification of the privacy configuration.
  • GMLC also sends the rules to the service AMF of the terminal.
  • Step S6 If the initiating terminal is in CM-idle state, AMF initiates a network triggered service request process to establish a signaling connection with the initiating terminal.
  • the Namf-Location-ProvidePositioningInfo response may include a failure reason.
  • the failure reason may be a signaling connection failure.
  • the (V)GMLC may send a Ngmlc-location_ProvideLocation response to the (H)GMLC.
  • the response may include a failure reason.
  • the (H)GMLC may reselect an initiating terminal and re-execute step S3, or return a rejection message to the LCS client or AF.
  • the rejection message may include a failure reason.
  • the failure reason may include, but is not limited to, a connection failure.
  • Steps S7-S8 If the privacy configuration includes a second indication or the second indication requires interaction with the user, the AMF interacts with the terminal through NAS-Location_Notification Invoke Request and NAS-Location_Notification return result to obtain the user indication.
  • the service AMF cannot establish a NAS connection with the terminal.
  • the AMF can determine whether to continue the process according to the rules.
  • step S9 If the rule allows, the AMF executes step S9;
  • the AMF will stop executing the process and return a rejection message to the (H)GMLC.
  • the rejection message can be returned to the (H)GMLC via the (V)GMLC.
  • the rejection message may include the reason for failure.
  • the reason for failure may include: rejection of location information exposure, no response, rule not allowed, etc.
  • the rejection message may also include: rejection of terminal orders for location information exposure, a list of terminals outside the network coverage, etc.
  • the rejection message may include multiple reasons for failure.
  • the failure reason may include, but is not limited to: the failure reason of each terminal. For example, terminal 1 rejects location exposure, terminal 2 fails to connect, and terminal 3 has no user response.
  • Step S9 The serving AMF selects the initiating terminal that initiates ranging/SL positioning, and sends the NLmf_Location_Determine_Location service operation to the LMF of the initiating terminal to request the ranging result.
  • the ranging result may include the ranging results of the n-a-b terminals determined in step 5, where b indicates the number of terminals that do not participate in ranging based on privacy devices.
  • Steps S10-S19 may be conventional steps for performing ranging/SL positioning.
  • Step S20 When the ranging/SL ranging result is exposed in the LCF service response, the GMLC will notify the LCS client or AF of the information of the terminals actually participating in the ranging, which may specifically include: indicating the terminals participating in the ranging and/or the terminals not participating in the ranging in the response.
  • the GMLC will be able to receive and understand the rules for handling n terminals.
  • the GMLC after completing the verification of the privacy configurations of the n terminals, the GMLC will be able to process service requests based on the rules of the n terminals.
  • the GMLC can send a request to the service AMF of the terminal to verify the privacy of the terminal.
  • the indicator here can be one of the aforementioned second indications.
  • the GMLC is capable of receiving privacy verification results from the serving AMF.
  • the GMLC is able to process service requests based on rules based on the verification results of the privacy provided by the serving AMF.
  • the GMLC will be able to indicate to the AMF information about terminals whose locations are actually and allowed to be exposed.
  • the GMLC may send the rules to the serving AMF.
  • the GMLC should be able to indicate to the service requester the actual terminal involved in the ranging/SL positioning.
  • the GMLC shall be able to indicate the reason for the failure to the requester in a rejection message.
  • the GMLC shall be able to include a list of rejected terminals with exposed locations or a list of out-of-coverage UEs in the rejection message sent to the requesting end.
  • the GMLC shall be able to include multiple failure reasons (one for each terminal) in the rejection message sent to the requesting end.
  • the AMF shall be able to receive requests from the GMLC specifically for privacy verification to the UE.
  • the AMF shall be able to send the privacy verification result to the GMLC.
  • AMF should be able to receive the rules from GMLC on handling n terminals.
  • the AMF When the AMF contains indicators with the privacy configuration, it needs to determine how to process the service request after verification based on the privacy configuration.
  • the AMF shall be able to indicate the terminals whose location information is allowed to be exposed for ranging/SL positioning in the sidelink mobile terminated location request (SL-MT) request sent to the LMF.
  • SL-MT sidelink mobile terminated location request
  • the AMF shall be able to inform the GMLC of the failure reason in the reject message.
  • the AMF shall be able to include a list of rejected terminals with exposed locations or a list of out-of-coverage terminals in the rejection message sent to the GMLC.
  • the AMF shall be able to include multiple failure causes (one for each UE) in the reject message sent to the GMLC.
  • part or all of the steps and their optional implementations may be arbitrarily combined with part or all of the steps in other embodiments, or may be arbitrarily combined with optional implementations of other embodiments.
  • the embodiments of the present disclosure also provide a device for implementing any of the above methods, for example, a device is provided, the above device includes a unit or module for implementing each step performed by the terminal in any of the above methods.
  • a device for example, a device is provided, the above device includes a unit or module for implementing each step performed by the terminal in any of the above methods.
  • another device is provided, including a unit or module for implementing each step performed by a network device (for example, an access network device, or a core network device, etc.) in any of the above methods.
  • a network device for example, an access network device, or a core network device, etc.
  • the division of the units or modules in the above device is only a division of logical functions, which can be fully or partially integrated into one physical entity or physically separated in actual implementation.
  • the units or modules in the device can be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory.
  • the processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device.
  • CPU central processing unit
  • microprocessor a microprocessor
  • the units or modules in the device may be implemented in the form of hardware circuits, and the functions of some or all of the units or modules may be implemented by designing the hardware circuits.
  • the hardware circuits may be understood as one or more processors; for example, in one implementation, the hardware circuits are application-specific integrated circuits (ASICs), and the functions of some or all of the above units or modules may be implemented by designing the logical relationship of the components in the circuits; for another example, in another implementation, the hardware circuits may be implemented by programmable logic devices (PLDs), and Field Programmable Gate Arrays (FPGAs) may be used as an example, which may include a large number of logic gate circuits, and the connection relationship between the logic gate circuits may be configured by configuring the configuration files, thereby implementing the functions of some or all of the above units or modules. All units or modules of the above devices may be implemented in the form of software called by the processor, or in the form of hardware circuits, or in the form of software called by the processor, and the remaining part may be implemented in
  • the processor is a circuit having signal processing capability.
  • the processor may be a circuit having Circuits with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can implement certain functions through the logical relationship of the hardware circuit, and the logical relationship of the above hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules.
  • it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.
  • NPU neural network processing unit
  • TPU tensor processing unit
  • DPU deep learning processing unit
  • FIG7A is a first network device provided by an embodiment of the present disclosure, which includes: a receiving module 110, configured to receive a first request message sent by a requesting end, the first request message being used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the processing module 120 is configured to determine the terminal information that refuses to expose the location information among the n terminals; and determine whether to execute the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.
  • the first network device further comprises a sending module.
  • the receiving module and/or the sending module may correspond to a specific structure such as an antenna or a network interface of the terminal.
  • the processing module of the first network device can execute any step related to information processing in the ranging method executed by the first network device.
  • the receiving module can be used for any step related to receiving in the ranging method executed by the first network device.
  • the sending module can be used for any step related to sending in the ranging method executed by the first network device.
  • the processing module 120 is configured to determine terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals.
  • the first network device further includes:
  • the receiving module is configured to send a second request message to the second network device according to the first request message, where the second request message is used to obtain the privacy configurations of n terminals from the second network device.
  • the processing module 120 is further configured to obtain the verification result of the mth terminal if the first indication in the privacy configuration of the mth terminal indicates acceptance of location information and the privacy configuration includes a second indication, where m is a positive integer less than or equal to n.
  • the processing module 120 is further configured to send a third request message to a third network device of the mth terminal if the first indication in the privacy configuration of the mth terminal indicates acceptance of location information and the privacy configuration includes the second indication, the third request message being used to obtain a verification result;
  • a third response message returned by the third network device is received, where the third response message includes a verification result.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; A failure result corresponds to a denial of location information exposure.
  • the user indication of the mth terminal indicates rejection of location information exposure
  • the verification result is a failure result
  • the user indication of the mth terminal indicates acceptance of the exposure of the location information, the verification result is a successful result, and/or,
  • the mth terminal is outside the network coverage, the verification result is a failure result, and/or,
  • the verification result is a failure result, and/or
  • connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.
  • the first request message includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;
  • QoS Quality of service
  • the processing module 120 is further configured to perform at least one of the following:
  • No terminal refuses to expose the location information, and determines to execute the ranging/SL positioning corresponding to the first request message
  • n terminals or n-1 terminals refuse to expose their location information and determine not to perform ranging/SL positioning corresponding to the first request message;
  • the terminal that refuses to expose the location information is not a terminal that must participate in ranging/SL positioning as defined by the rule, and determines to execute the ranging/SL positioning corresponding to the first request message;
  • the terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, and determines not to perform ranging/SL positioning corresponding to the first request message.
  • the processing module 120 is further configured to perform at least one of the following:
  • n-2 terminals refuse exposure of location information, and the rules allow less than or equal to n-2 terminals to refuse exposure of location information, it is determined to execute the ranging/SL positioning corresponding to the first request message; if more than or equal to 1 and less than or equal to n-2 terminals refuse exposure of location information and the rules do not allow less than or equal to n-2 terminals to refuse exposure of location information, it is determined not to execute the ranging/SL positioning corresponding to the first request message.
  • the processing module 120 is further configured to determine not to perform ranging/SL positioning corresponding to the first request message, and send a failure response message to the requesting end, where the failure response message indicates that ranging positioning has failed.
  • the failure response message includes first information; the first information is used to indicate the reason for the ranging and positioning failure.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is outside the network coverage area.
  • the processing module 120 is further configured to determine to execute the ranging/SL positioning corresponding to the first request message, and send a success response message to the requesting end; the success response message includes the ranging positioning result.
  • the receiving module is further configured to receive a fourth response message returned by the third network device; and send the first response message to the requesting end according to the fourth response message.
  • the fourth response message includes: a rejection message returned by the third network device based on the user verification result; or,
  • the fourth response message includes: a success message returned by the third network device based on the user verification result, where the success message at least includes the ranging result.
  • the success message further includes at least one of the following:
  • the rejection message further includes third information; the third information includes the reason why the third network device rejects ranging/SL positioning.
  • the third information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the fourth request message includes a rule; the rule is used for determining whether to perform ranging/SL positioning based on a verification result indicated by a user of the third network device.
  • FIG7B is a schematic diagram of the structure of a third network device provided in an embodiment of the present disclosure. As shown in FIG7B , the third network device includes:
  • the receiving module 210 is configured to receive a third request message sent by the first network device, the third request message is used to obtain a verification result indicated by the user; the verification result is used by the first network device to determine whether the n terminals requesting ranging/sidelink SL positioning are rejected.
  • the terminal information whose absolute location information is exposed; n is a positive integer greater than or equal to 2; the sending module 220 is configured to send a fifth request message to the terminal based on the third request message, the fifth request message being used to request the terminal to obtain a user instruction;
  • the receiving module 230 is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries a user instruction;
  • the sending module 220 is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, where the third response message includes the verification result.
  • the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of a network device.
  • the third network device further includes a storage module and/or a processing module, and the storage module may be configured to store information.
  • the processing module may be configured to execute steps related to information processing in the ranging method executed by the third network device.
  • the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.
  • the sending module is further configured to perform at least one of the following:
  • connection establishment with the corresponding terminal fails, and a third response message carrying a failure result is sent to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain a user instruction;
  • a third response message carrying a failure result is sent to the first network device.
  • the reason corresponding to the failure result includes one of the following indications:
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • FIG7C is a schematic diagram of the structure of a third network device provided in an embodiment of the present disclosure. As shown in FIG7C , the third network device includes:
  • the receiving module 310 is configured to receive a fourth request message sent by the first network device; the fourth request message is used for the third network device to trigger the execution of ranging/SL positioning;
  • the processing module 320 is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;
  • the sending module 330 is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.
  • the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of a network device.
  • the third network device further includes a storage module and/or a processing module, and the storage module may be configured to store information.
  • the processing module may be configured to execute steps related to information processing in the ranging method executed by the third network device.
  • the fourth request message is sent by the first network device after determining that the conditions for initiating ranging/SL positioning are met based on the first indication in the privacy configuration of n terminals; the fourth request message includes: terminal information that meets the conditions for participating in ranging/SL positioning.
  • the processing module 320 is further configured to obtain a user indication of a terminal whose privacy configuration includes the second indication from among the terminals indicated by the terminal information that meets the conditions for participating in ranging/SL positioning.
  • the sending module 330 is also configured to send a rejection message to the first network device when the user indicates that the number of terminals exceeding the number defined by the rule refuses to expose the location information, and/or when the user indicates that the terminals that refuse to expose the location information include terminals that must participate in ranging/SL positioning as defined by the rule, send a rejection message to the first network device.
  • the rejection message further includes third information; the third information is used to indicate the reason for rejecting ranging.
  • the third information indicates at least one of the following:
  • the user indicates that he refuses to disclose his location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the processing module 320 is configured to reject location information exposure for terminals whose number is less than that defined by the rule, trigger ranging/SL positioning ranging to obtain ranging positioning results, and/or, for terminals that must participate in ranging/SL positioning as defined by the rule, accept location information exposure, trigger ranging/SL positioning ranging to obtain ranging positioning results;
  • the sending module 330 is further configured to send a success message to the first network device; the success message at least includes a ranging and positioning result.
  • the success message further includes at least one of the following:
  • FIG7D is a schematic diagram of a structure of a request end provided by an embodiment of the present disclosure.
  • the request end may include:
  • the sending module 410 is configured to send a first request message to the first network device, where the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;
  • the receiving module 420 is configured to receive a first response message, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.
  • the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of the requesting end.
  • the requesting end further includes a storage module and/or a processing module, and the storage module may be configured to store information.
  • the processing module may be configured to execute steps related to information processing in the ranging method executed by the requesting end.
  • the first request message includes at least one of the following:
  • Rule information used to determine the rule; the rule is used to determine whether to execute the first request message based on the number of terminals that reject the location information Corresponding ranging/SL positioning;
  • QoS Quality of service
  • the failure response message also includes first information; the first information is used to indicate the reason for the ranging and positioning failure.
  • the first information indicates at least one of the following:
  • the terminal refuses to expose its location information
  • the terminal is unresponsive
  • the terminal is outside the network coverage area.
  • the success response message also includes second information; the second information is used to determine the terminals participating in ranging/SL positioning.
  • the second information includes one of the following indications:
  • the present disclosure also provides a communication device, which may include: one or more processors; wherein the processor is used to call instructions so that the communication device executes the ranging method that can be implemented in any of the above embodiments.
  • the communication device may be a terminal and/or a network device.
  • the network device may include a first network device and/or a third network device.
  • the communication device 8100 further includes one or more memories 8102 for storing instructions.
  • the memory 8102 may also be outside the communication device 8100.
  • the communication device may be the aforementioned terminal and network device.
  • the network device may be a primary node and/or an auxiliary node.
  • the communication device 8100 further includes one or more transceivers 8103.
  • the communication steps such as sending and receiving in the above method are executed by the transceiver 8103, and the other steps are executed by the processor 8101.
  • the transceiver may include a receiver and a transmitter, and the receiver and the transmitter may be separate or integrated.
  • the terms such as transceiver, transceiver unit, transceiver, transceiver circuit, etc. may be replaced with each other, the terms such as transmitter, transmission unit, transmitter, transmission circuit, etc. may be replaced with each other, and the terms such as receiver, receiving unit, receiver, receiving circuit, etc. may be replaced with each other.
  • the communication device 8100 further includes one or more interface circuits 8104, which are connected to the memory 8102.
  • the interface circuit 8104 can be used to receive signals from the memory 8102 or other devices, and can be used to send signals to the memory 8102 or other devices.
  • the interface circuit 8104 may read instructions stored in the memory 8102 and send the instructions to the processor 8101 .
  • the communication device 8100 described in the above embodiments may be a network device or a terminal, but the scope of the communication device 8100 described in the present disclosure is not limited thereto, and the structure of the communication device 8100 may not be limited by FIG. 8A.
  • the communication device may be an independent device or may be part of a larger device.
  • the communication device may be: (1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.
  • FIG. 8B is a schematic diagram of the structure of a chip 8200 provided in an embodiment of the present disclosure.
  • the communication device 8100 may be a chip or a chip system
  • the chip 8200 includes one or more processors 8201, and the processor 8201 is used to call instructions so that the chip 8200 executes any of the above ranging methods.
  • the chip 8200 further includes one or more interface circuits 8202, which are connected to the memory 8203.
  • the interface circuit 8202 can be used to receive signals from the memory 8203 or other devices, and the interface circuit 8202 can be used to send signals to the memory 8203 or other devices.
  • the interface circuit 8202 can read the instructions stored in the memory 8203 and send the instructions to the processor 8201.
  • the terms such as interface circuit, interface, transceiver pin, and transceiver can be replaced with each other.
  • the chip 8200 further includes one or more memories 8203 for storing instructions.
  • the memory 8203 may be outside the chip 8200.
  • the present disclosure also provides a storage medium, on which instructions are stored, and when the instructions are executed on the communication device 8100, the communication device 8100 executes any of the above methods.
  • the storage medium is an electronic storage medium.
  • the storage medium is a computer-readable storage medium, but it can also be a storage medium readable by other devices.
  • the storage medium can be a non-transitory storage medium, but it can also be a temporary storage medium.
  • the present disclosure also provides a program product, and when the program product is executed by the communication device 8100, the communication device 8100 executes any one of the above ranging methods.
  • the program product is a computer program product.
  • the present disclosure also provides a computer program, which, when executed on a computer, enables the computer to execute any one of the above distance measurement methods.

Landscapes

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

Abstract

Provided in the embodiments of the present disclosure are a ranging method, a communication device and a storage medium. The ranging method comprises: a first network device receiving a first request message, which is sent by a request end, wherein the first request message is used for requesting ranging sidelink (SL) positioning of n terminals, n being a positive integer greater than or equal to 2; determining information of a terminal among the n terminals that refuses to expose location information; and on the basis of the information of the terminal that refuses to expose the location information, determining whether to execute ranging SL positioning corresponding to the first request message.

Description

测距方法、通信设备及存储介质Distance measurement method, communication device and storage medium 技术领域Technical Field

本公开涉及通信技术领域,尤其涉及一种测距方法、通信设备及存储介质。The present disclosure relates to the field of communication technology, and in particular to a ranging method, a communication device and a storage medium.

背景技术Background Art

在测距/侧行链路定位(Ranging Sidelink Positioning)可用于对终端进行位置信息的测量。Ranging Sidelink Positioning can be used to measure the location information of the terminal.

测距/SL定位可基于终端之间的侧行链路(Sidelink,SL)进行。这些终端也可简称为用户设备(User Equipment,UE),得到的测距定位结果可以用于一个或多个业务。Ranging/SL positioning can be performed based on the sidelink (SL) between terminals. These terminals can also be referred to as user equipment (UE), and the ranging positioning results can be used for one or more services.

发明内容Summary of the invention

本公开实施例提供一种测距方法、通信设备及存储介质,以保护终端位置信息隐私安全的同时,尽可能地更大概率响应测距/SL定位业务相关的业务请求。The embodiments of the present disclosure provide a ranging method, a communication device, and a storage medium to protect the privacy and security of terminal location information while responding to service requests related to ranging/SL positioning services with as high a probability as possible.

根据本公开实施例的第一方面,提供一种测距方法,由第一网络设备执行,该方法包括:According to a first aspect of an embodiment of the present disclosure, a ranging method is provided, which is performed by a first network device, and the method includes:

接收请求端发送的第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;Receive a first request message sent by a requesting end, where the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

确定所述n个终端中拒绝位置信息暴露的终端信息;Determining terminal information of the n terminals that refuses to expose location information;

根据拒绝位置信息暴露的终端信息,确定是否执行所述第一请求消息对应的测距/SL定位。According to the terminal information that refuses to expose the location information, determine whether to execute the ranging/SL positioning corresponding to the first request message.

根据本公开实施例的第二方面,提供一种测距方法,其中,由第三网络设备执行,所述方法包括:According to a second aspect of an embodiment of the present disclosure, a ranging method is provided, wherein the method is performed by a third network device, and the method includes:

接收第一网络设备发送的第三请求消息,所述第三请求消息,用于获取用户指示的验证结果;所述验证结果,用于所述第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;所述n是大于或等于2的正整数;基于所述第三请求消息,向终端发送第五请求消息,所述第五请求消息,用于请求所述终端获取所述用户指示;receiving a third request message sent by the first network device, the third request message being used to obtain a verification result of a user instruction; the verification result being used by the first network device to determine information of a terminal that refuses to expose its location information among n terminals that request ranging/sidelink SL positioning; n being a positive integer greater than or equal to 2; and sending a fifth request message to the terminal based on the third request message, the fifth request message being used to request the terminal to obtain the user instruction;

接收所述终端基于所述第五请求消息返回的第五响应消息;所述第五响应消息携带有所述用户指示;receiving a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries the user instruction;

根据所述用户指示或所述用户指示的获取状况,向所述第一网络设备返回第三响应消息,所述第三响应消息包括所述验证结果。According to the user instruction or the acquisition status of the user instruction, a third response message is returned to the first network device, where the third response message includes the verification result.

根据本公开实施例的第三方面,提供一种测距方法,由第三网络设备执行,其中,所述方法包括:According to a third aspect of an embodiment of the present disclosure, a ranging method is provided, which is performed by a third network device, wherein the method includes:

接收第一网络设备发送的第四请求消息;所述第四请求消息,用于所述第三网络设备触发测距/SL定位的执行;receiving a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;

根据所述第四请求消息,获取终端的用户指示;所述用户指示,用于指示符合参与所述测距/SL定位的条件的终端当前是否拒绝位置信息暴露;Acquire a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information;

根据拒绝位置信息暴露的终端信息,向所述第一网络设备发送第四响应消息。A fourth response message is sent to the first network device according to the terminal information that refuses to expose the location information.

根据本公开实施例的第四方面,提供一种测距方法,其中,由请求端执行,所述方法包括:According to a fourth aspect of an embodiment of the present disclosure, a ranging method is provided, wherein the method is performed by a requesting end and includes:

向第一网络设备发送第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL 定位;其中,所述n是大于或等于2的正整数;Send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL of n terminals Positioning; wherein n is a positive integer greater than or equal to 2;

接收第一响应消息,所述第一响应消息包括:测距定位失败的失败响应消息,或执行第一请求消息的定位结果。A first response message is received, where the first response message includes: a failure response message of a ranging and positioning failure, or a positioning result of executing the first request message.

根据本公开实施例的第五方面,提供一种第一网络设备,其中,包括:According to a fifth aspect of an embodiment of the present disclosure, a first network device is provided, comprising:

接收模块,被配置为接收请求端发送的第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;A receiving module is configured to receive a first request message sent by a requesting end, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

处理模块,被配置为确定所述n个终端中拒绝位置信息暴露的终端信息;根据拒绝位置信息暴露的终端信息,确定是否执行所述第一请求消息对应的测距/SL定位。The processing module is configured to determine the terminal information of the n terminals that refuses to expose the location information; and determine whether to execute the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.

根据本公开实施例的第六方面,提供一种第三网络设备,其中,包括:According to a sixth aspect of an embodiment of the present disclosure, a third network device is provided, comprising:

接收模块,被配置为接收第一网络设备发送的第三请求消息,所述第三请求消息,用于获取用户指示的验证结果;所述验证结果,用于所述第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;所述n是大于或等于2的正整数;发送模块,被配置为基于所述第三请求消息,向终端发送第五请求消息,所述第五请求消息,用于请求所述终端获取所述用户指示;A receiving module is configured to receive a third request message sent by a first network device, wherein the third request message is used to obtain a verification result of a user instruction; the verification result is used by the first network device to determine the terminal information of the n terminals requesting ranging/sidelink SL positioning that refuses to expose the location information; wherein n is a positive integer greater than or equal to 2; and a sending module is configured to send a fifth request message to the terminal based on the third request message, wherein the fifth request message is used to request the terminal to obtain the user instruction;

所述接收模块,还被配置为接收所述终端基于所述第五请求消息返回的第五响应消息;所述第五响应消息携带有所述用户指示;The receiving module is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries the user instruction;

所述发送模块,还被配置为根据所述用户指示或所述用户指示的获取状况,向所述第一网络设备返回第三响应消息,所述第三响应消息包括所述验证结果。The sending module is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, wherein the third response message includes the verification result.

根据本公开实施例的第七方面,提供一种第三网络设备,其中,包括:According to a seventh aspect of an embodiment of the present disclosure, a third network device is provided, comprising:

接收模块,被配置为接收第一网络设备发送的第四请求消息;所述第四请求消息,用于所述第三网络设备触发测距/SL定位的执行;A receiving module, configured to receive a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;

处理模块,被配置为根据所述第四请求消息,获取终端的用户指示;所述用户指示,用于指示符合参与所述测距/SL定位的条件的终端当前是否拒绝位置信息暴露;A processing module is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information;

发送模块,被配置为根据拒绝位置信息暴露的终端信息,向所述第一网络设备发送第四响应消息。The sending module is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.

根据本公开实施例的第八方面,提供一种请求端,其中,包括:According to an eighth aspect of an embodiment of the present disclosure, a request end is provided, comprising:

发送模块,被配置为向第一网络设备发送第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;A sending module is configured to send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

接收模块,被配置为接收第一响应消息,所述第一响应消息包括:测距定位失败的失败响应消息,或执行第一请求消息的定位结果。The receiving module is configured to receive a first response message, wherein the first response message includes: a failure response message of a ranging and positioning failure, or a positioning result of executing the first request message.

根据本公开实施例的第十三方面,提供一种通信设备,其中,通信设备包括:According to a thirteenth aspect of an embodiment of the present disclosure, a communication device is provided, wherein the communication device includes:

一个或多个处理器;one or more processors;

其中,处理器用于调用指令以使得通信设备执行前述第一方面至第四方面任意技术方案提供的测距方法。 Among them, the processor is used to call instructions to enable the communication device to execute the ranging method provided by any technical solution of the first aspect to the fourth aspect mentioned above.

根据本公开实施例的第十四方面,提供一种存储介质,其中,存储介质存储有指令,当指令在通信设备上运行时,使得通信设备执行第一方面至第四方面任意方面提供的测距方法。According to a fourteenth aspect of an embodiment of the present disclosure, a storage medium is provided, wherein the storage medium stores instructions, and when the instructions are executed on a communication device, the communication device executes the ranging method provided by any of the first to fourth aspects.

本公开实施例提供的技术方案,第一网络设备会在请求n个终端测距/SL定位时确定出拒绝暴露位置信息的终端信息,根据该终端信息确定是否执行测距/SL定位,从而实现对测距/SL定位中一个或多个终端拒绝位置信息暴露的解决。According to the technical solution provided by the embodiment of the present disclosure, the first network device will determine the terminal information that refuses to expose the location information when requesting n terminals to measure the distance/SL positioning, and determine whether to perform the ranging/SL positioning based on the terminal information, thereby achieving a solution to the problem of one or more terminals refusing to expose the location information during the ranging/SL positioning.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开实施例。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the embodiments of the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明实施例,并与说明书一起用于解释本发明实施例的原理。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.

图1是根据一示例性实施例示出的一种通信系统的架构示意图;FIG1 is a schematic diagram showing an architecture of a communication system according to an exemplary embodiment;

图2A是根据一示例性实施例示出的一种测距方法的流程示意图;FIG2A is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图2B是根据一示例性实施例示出的一种测距方法的流程示意图;FIG2B is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图3A是根据一示例性实施例示出的一种测距方法的流程示意图;FIG3A is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图3B是根据一示例性实施例示出的一种测距方法的流程示意图;FIG3B is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图4A是根据一示例性实施例示出的一种测距方法的流程示意图;FIG4A is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图4B是根据一示例性实施例示出的一种测距方法的流程示意图;FIG4B is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种测距方法的流程示意图;FIG5 is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图6A是根据一示例性实施例示出的一种测距方法的流程示意图;FIG6A is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图6B是根据一示例性实施例示出的一种测距方法的流程示意图;FIG6B is a schematic flow chart of a distance measurement method according to an exemplary embodiment;

图7A是根据一示例性实施例示出的一种第一网络设备的结构示意图;FIG7A is a schematic diagram showing the structure of a first network device according to an exemplary embodiment;

图7B是根据一示例性实施例示出的一种第三网络设备的结构示意图;FIG7B is a schematic diagram showing the structure of a third network device according to an exemplary embodiment;

图7C是根据一示例性实施例示出的一种第三网络设备的结构示意图;FIG7C is a schematic diagram showing the structure of a third network device according to an exemplary embodiment;

图7D是根据一示例性实施例示出的一种请求端的结构示意图;FIG7D is a schematic diagram showing the structure of a request end according to an exemplary embodiment;

图8A是根据一示例性实施例示出的一种通信设备的结构示意图;FIG8A is a schematic diagram showing the structure of a communication device according to an exemplary embodiment;

图8B是根据一示例性实施例示出的一种芯片的结构示意图。FIG. 8B is a schematic structural diagram of a chip according to an exemplary embodiment.

具体实施方式DETAILED DESCRIPTION

本公开实施例提供一种测距方法及装置、通信设备、通信系统及存储介质。Embodiments of the present disclosure provide a ranging method and apparatus, a communication device, a communication system, and a storage medium.

第一方面,本公开实施例提供了一种测距方法,其中,由第一网络设备执行,该方法包括:In a first aspect, an embodiment of the present disclosure provides a ranging method, wherein the method is performed by a first network device, and the method includes:

接收请求端发送的第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;Receive a first request message sent by a requesting end, the first request message being used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

确定n个终端中拒绝位置信息暴露的终端信息;Determine the terminal information of the n terminals that refuses to expose the location information;

根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位。According to the terminal information that refuses to expose the location information, determine whether to execute the ranging/SL positioning corresponding to the first request message.

基于上述方案,第一网络设备会在请求n个终端测距/SL定位时确定出拒绝暴露位置信息的终 端信息,根据该终端信息确定是否执行测距/SL定位,从而实现对测距/SL定位中一个或多个终端拒绝位置信息暴露的解决。Based on the above solution, the first network device will determine the terminal that refuses to expose the location information when requesting n terminals to measure the distance/SL positioning. Terminal information, and determine whether to perform ranging/SL positioning based on the terminal information, thereby solving the problem of one or more terminals refusing to expose their location information during ranging/SL positioning.

结合第一方面的一些实施例,在一些实施例中,确定n个终端中拒绝位置信息暴露的终端信息,包括:In combination with some embodiments of the first aspect, in some embodiments, determining terminal information of n terminals that refuse to expose location information includes:

根据n个终端的隐私配置确定n个终端中拒绝位置信息暴露的终端信息。Terminal information of the n terminals that refuses to have their location information exposed is determined according to the privacy configurations of the n terminals.

基于上述方案,根据隐私配置可以确定终端是否会拒绝位置信息暴露,从而可以进一步确定出n个终端的测距/SL定位的位置信息的暴露,如此,确保终端的位置信息的安全性。Based on the above scheme, whether the terminal will refuse the exposure of location information can be determined according to the privacy configuration, so that the exposure of the ranging/SL positioning location information of n terminals can be further determined, thereby ensuring the security of the terminal's location information.

结合第一方面的一些实施例,在一些实施例中,确定n个终端中拒绝位置信息暴露的终端信息,还包括:In conjunction with some embodiments of the first aspect, in some embodiments, determining terminal information of n terminals that refuse location information exposure further includes:

根据用户指示的验证结果确定n个终端中拒绝位置信息暴露的终端信息。The terminal information of the n terminals that refuses to expose the location information is determined according to the verification result indicated by the user.

基于上述方案,基于终端的用户指示的验证结果可以反应终端当前下是否愿意暴露自身的位置信息,从而实现终端当前位置信息的是否暴露的动态确定。Based on the above solution, the verification result based on the user instruction of the terminal can reflect whether the terminal is willing to expose its own location information at the moment, thereby realizing the dynamic determination of whether the current location information of the terminal is exposed.

结合第一方面的一些实施例,在一些实施例中,方法还包括:In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:

根据第一请求消息向第二网络设备发送第二请求消息,第二请求消息,用于向第二网络设备获取n个终端的隐私配置。A second request message is sent to the second network device according to the first request message, where the second request message is used to obtain the privacy configurations of the n terminals from the second network device.

在上述实施例中,第一网络设备在没有隐私配置的情况下,可以去第二网络设备请求隐私配置,从而实现基于隐私配置确定终端是否拒绝位置信息暴露的验证。In the above embodiment, the first network device can request the privacy configuration from the second network device when there is no privacy configuration, thereby implementing verification based on the privacy configuration to determine whether the terminal refuses to expose the location information.

结合第一方面的一些实施例,在一些实施例中,方法还包括:In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:

若第m个终端的隐私配置中第一指示表明接受位置信息且隐私配置包含第二指示,则获取第m个终端的验证结果,m为小于或等于n的正整数。If the first indication in the privacy configuration of the mth terminal indicates that the location information is accepted and the privacy configuration includes the second indication, then the verification result of the mth terminal is obtained, where m is a positive integer less than or equal to n.

基于上述方案,在隐私配置包含第二指示的情况下,还需要对终端当前是否拒绝暴露位置信息进行动态验证,从而实现对终端的位置信息是否可以暴露进行双重验证,从而再次提升了终端的位置信息在测距/SL定位过程中的安全性。Based on the above scheme, when the privacy configuration includes a second indication, it is also necessary to dynamically verify whether the terminal currently refuses to expose the location information, thereby achieving double verification of whether the terminal's location information can be exposed, thereby further improving the security of the terminal's location information during the ranging/SL positioning process.

结合第一方面的一些实施例,在一些实施例中,In conjunction with some embodiments of the first aspect, in some embodiments,

若第m个终端的隐私配置中第一指示表明接受位置信息且隐私配置包含第二指示,则获取第m个终端的验证结果,包括:If the first indication in the privacy configuration of the m-th terminal indicates that the location information is accepted and the privacy configuration includes the second indication, obtaining the verification result of the m-th terminal includes:

若第m个终端的隐私配置中第一指示表明接受位置信息且隐私配置包含第二指示,则向第m个终端的第三网络设备发送第三请求消息,第三请求消息,用于获取验证结果;If the first indication in the privacy configuration of the mth terminal indicates acceptance of the location information and the privacy configuration includes the second indication, sending a third request message to the third network device of the mth terminal, the third request message being used to obtain a verification result;

接收第三网络设备返回的第三响应消息,第三响应消息包括验证结果。A third response message returned by the third network device is received, where the third response message includes a verification result.

在上述实施例中,向各个终端的第三网络设备发送第三请求消息,由第三网络设备完成验证,且第一网络设备从第三网络设备接收验证结果,方便第一网络设备根据各个终端的验证结果确定拒绝暴露位置信息的终端个数。In the above embodiment, a third request message is sent to the third network device of each terminal, the third network device completes the verification, and the first network device receives the verification result from the third network device, so that the first network device can determine the number of terminals that refuse to expose location information based on the verification results of each terminal.

结合第一方面的一些实施例,在一些实施例中,验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。 In combination with some embodiments of the first aspect, in some embodiments, the verification result includes a success result and/or a failure result; a success result corresponds to accepting the exposure of the location information; and a failure result corresponds to rejecting the exposure of the location information.

结合第一方面的一些实施例,在一些实施例中,第m个终端的用户指示表明拒绝位置信息暴露,验证结果为失败结果,和/或,In combination with some embodiments of the first aspect, in some embodiments, the user indication of the mth terminal indicates rejection of location information exposure, the verification result is a failure result, and/or,

第m个终端的用户指示表明接受位置信息暴露,验证结果为成功结果,和/或,The user indication of the mth terminal indicates acceptance of the exposure of the location information, the verification result is a successful result, and/or,

第m个终端位于网络覆盖范围外,验证结果为失败结果,和/或,The mth terminal is outside the network coverage, the verification result is a failure result, and/or,

在指定时长内未获取到第m个终端的用户指示,验证结果为失败结果,和/或,If the user instruction of the mth terminal is not obtained within the specified time, the verification result is a failure result, and/or,

第三网络设备与第m个终端的连接建立失败,验证结果为失败结果。The connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.

基于上述方案,定义了在连接建立失败或在联系不到终端的情况下,自动将验证结果确定为失败结果,如此减少终端因为失联时认定为验证成功位置信息的暴露。Based on the above scheme, it is defined that when the connection establishment fails or the terminal cannot be contacted, the verification result is automatically determined as a failure result, thereby reducing the exposure of the terminal's location information that is considered to be successfully verified when the connection is lost.

结合第一方面的一些实施例,在一些实施例中,第一请求消息包括以下至少之一:In combination with some embodiments of the first aspect, in some embodiments, the first request message includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

基于上述方案,规则、QoS、类型信息以及参考终端信息由第一请求消息携带,则方便请求端对这些信息进行自定义,也方便网络侧根据第一请求消息执行所需的测距/SL定位。Based on the above scheme, the rules, QoS, type information and reference terminal information are carried by the first request message, which makes it convenient for the requesting end to customize this information and also convenient for the network side to perform the required ranging/SL positioning according to the first request message.

结合第一方面的一些实施例,在一些实施例中,根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位,包括以下至少之一:In combination with some embodiments of the first aspect, in some embodiments, determining whether to perform ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information includes at least one of the following:

无终端拒绝位置信息暴露,确定执行第一请求消息对应的测距/SL定位;No terminal refuses to expose the location information, and determines to execute the ranging/SL positioning corresponding to the first request message;

大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行第一请求消息对应的测距/SL定位;If there are greater than or equal to 1 and less than or equal to n-2 terminals that refuse to expose their location information, it is determined whether to perform ranging/SL positioning corresponding to the first request message according to the rules;

n个终端或者n-1个终端拒绝位置信息暴露,确定不执行第一请求消息对应的测距/SL定位;n terminals or n-1 terminals refuse to expose their location information and determine not to perform ranging/SL positioning corresponding to the first request message;

拒绝位置信息暴露的终端不是规则定义的必须参加测距/SL定位的终端,确定执行第一请求消息对应的测距/SL定位;The terminal that refuses to expose the location information is not a terminal that must participate in ranging/SL positioning as defined by the rule, and determines to execute the ranging/SL positioning corresponding to the first request message;

拒绝位置信息暴露的终端是规则定义的必须参加测距/SL定位的终端,确定不执行第一请求消息对应的测距/SL定位。The terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, and determines not to perform ranging/SL positioning corresponding to the first request message.

基于上述方案,限定在各种情况下,执行或不执行测距/SL定位的情况,从而实现了不同拒绝位置信息暴露的终端个数下测距/SL定位的发起。Based on the above scheme, it is limited to execute or not execute ranging/SL positioning in various situations, thereby realizing the initiation of ranging/SL positioning under different numbers of terminals that refuse to expose their location information.

结合第一方面的一些实施例,在一些实施例中,大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行第一请求消息对应的测距/SL定位,还包括:In combination with some embodiments of the first aspect, in some embodiments, greater than or equal to 1 and less than or equal to n-2 terminals refuse to expose the location information, and determine whether to perform ranging/SL positioning corresponding to the first request message according to the rule, further comprising:

大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,且规则允许小于或等于n-2个终端拒绝位置信息暴露,继续执行第一请求消息对应的测距/SL定位;If more than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information, and the rule allows less than or equal to n-2 terminals to refuse to expose their location information, the ranging/SL positioning corresponding to the first request message shall continue to be performed;

大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则不允许小于或等于n-2个终端拒绝位置信息暴露,停止执行第一请求消息对应的测距/SL定位。 If more than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information and the rules do not allow less than or equal to n-2 terminals to refuse to expose their location information, stop executing the ranging/SL positioning corresponding to the first request message.

基于上述方案,具体如何根据规则以及拒绝位置信息暴露的终端个数,确定是否执行对应的测距/SL定位Based on the above solution, how to determine whether to perform the corresponding ranging/SL positioning according to the rules and the number of terminals that refuse to expose their location information

结合第一方面的一些实施例,在一些实施例中,方法还包括:In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:

确定不执行第一请求消息对应的测距/SL定位,向请求端发送失败响应消息,失败响应消息指示测距定位失败。It is determined not to perform the ranging/SL positioning corresponding to the first request message, and a failure response message is sent to the requesting end, where the failure response message indicates that the ranging positioning has failed.

基于上述方案,停止执行测距/SL定位,则通过失败响应消息告知终端,从而减少请求端继续等待测距定位结果。结合第一方面的一些实施例,在一些实施例中,方法还包括:Based on the above solution, the ranging/SL positioning is stopped, and the terminal is informed through a failure response message, thereby reducing the request end from continuing to wait for the ranging positioning result. In combination with some embodiments of the first aspect, in some embodiments, the method further includes:

确定执行第一请求消息对应的测距/SL定位,向请求端发送成功响应消息;成功响应消息包括测距定位结果。Determine to execute the ranging/SL positioning corresponding to the first request message, and send a success response message to the requesting end; the successful response message includes the ranging and positioning result.

基于上述方案,如果执行测距/SL定位,则会向请求端发送成功响应消息,该成功响应消息直接包括请求端所需的测距定位结果。Based on the above scheme, if ranging/SL positioning is performed, a success response message will be sent to the requesting end, and the success response message directly includes the ranging and positioning result required by the requesting end.

结合第一方面的一些实施例,在一些实施例中,成功响应消息还包括以下至少之一:In combination with some embodiments of the first aspect, in some embodiments, the success response message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

基于上述方案,在成功响应消息中携带上述信息,方便请求端知晓测距/SL定位的执行情况。Based on the above scheme, the above information is carried in the successful response message, so that the requesting end can know the execution status of ranging/SL positioning.

结合第一方面的一些实施例,在一些实施例中,在确定执行第一请求消息对应的测距/SL定位时,方法还包括:In combination with some embodiments of the first aspect, in some embodiments, when determining to perform ranging/SL positioning corresponding to the first request message, the method further includes:

向第三网络设备发送第四请求消息;第四请求消息,用于第三网络设备触发终端进行测距/SL定位;Sending a fourth request message to the third network device; the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning;

接收第三网络设备返回的第四响应消息;receiving a fourth response message returned by the third network device;

根据第四响应消息,向请求端发送第一响应消息。According to the fourth response message, a first response message is sent to the requesting end.

基于上述方案,第一网络设备根据隐私配置确定出终端拒绝位置信息暴露的个数没有超过规则定义的个数,则会向第三网络设备发起测距定位的流程。但是为了减少用户临时并不想暴露自身的位置信息,由第三网络设备执行基于用户指示的验证。采用这种方式,与相关技术的测距流程的消息流程改进小,实现更加简便。Based on the above solution, the first network device determines according to the privacy configuration that the number of terminals that refuse to expose location information does not exceed the number defined by the rule, and then initiates the ranging and positioning process to the third network device. However, in order to reduce the number of users who do not want to expose their own location information temporarily, the third network device performs verification based on user instructions. In this way, the message flow of the ranging process in the related technology is slightly improved, and the implementation is simpler.

结合第一方面的一些实施例例,在一些实施例中,第四响应消息包括:第三网络设备基于用户验证结果和规则确定返回拒绝消息;或者,In combination with some embodiments of the first aspect, in some embodiments, the fourth response message includes: the third network device determines to return a rejection message based on the user verification result and the rule; or,

第四响应消息包括:第三网络设备基于用户验证结果和规则确定返回成功消息,成功消息至少包括测距结果。The fourth response message includes: the third network device returns a success message based on the user verification result and the rule, and the success message at least includes the ranging result.

基于上述方案,第三网络设备进行验证时,也会得到是否继续执行测距/SL定位的结果,从而通过失败消息和成功消息告知第一网络设备,从而满足不同场景下的测距/SL定位。Based on the above solution, when the third network device performs verification, it will also obtain the result of whether to continue to perform ranging/SL positioning, and then inform the first network device through failure messages and success messages, thereby meeting the ranging/SL positioning in different scenarios.

结合第一方面的一些实施例例,在一些实施例中,成功消息还包括以下至少之一:In conjunction with some embodiments of the first aspect, in some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息; Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

基于上述方案,成功消息携带上述内容方便请求端知晓测距/SL定位的状况。Based on the above solution, the success message carries the above content to facilitate the requesting end to know the status of ranging/SL positioning.

结合第一方面的一些实施例例,在一些实施例中,拒绝消息还包括第三信息;第三信息包括第三网络设备拒绝测距/SL定位的原因。In combination with some implementation examples of the first aspect, in some embodiments, the rejection message also includes third information; the third information includes the reason why the third network device rejects ranging/SL positioning.

基于上述方案,拒绝消息携带第三信息,则可方便请求端知晓网络侧拒绝测距的原因。Based on the above solution, the rejection message carries the third information, which makes it easy for the requesting end to know the reason why the network side rejects ranging.

结合第一方面的一些实施例例,在一些实施例中,第三信息指示以下至少之一:In conjunction with some embodiments of the first aspect, in some embodiments, the third information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

结合第一方面的一些实施例,在一些实施例中,第四请求消息包括规则;规则,用于第三网络设备用户指示的验证结果确定是否执行测距/SL定位。In combination with some embodiments of the first aspect, in some embodiments, the fourth request message includes rules; the rules are used to determine whether to perform ranging/SL positioning based on the verification result indicated by the user of the third network device.

基于上述方案,第三网络设备可以直接从第四请求消息获取规则,方便第一网络设备向第三网络设备动态指示规则。Based on the above solution, the third network device can directly obtain the rule from the fourth request message, which facilitates the first network device to dynamically indicate the rule to the third network device.

第二方面,本公开实施例提供了一种测距方法,由第三网络设备执行,方法包括:In a second aspect, an embodiment of the present disclosure provides a ranging method, which is performed by a third network device, and the method includes:

接收第一网络设备发送的第三请求消息,第三请求消息,用于获取用户指示的验证结果;验证结果,用于第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;n是大于或等于2的正整数;基于第三请求消息,向终端发送第五请求消息,第五请求消息,用于请求终端获取用户指示;Receive a third request message sent by the first network device, the third request message is used to obtain a verification result of the user instruction; the verification result is used by the first network device to determine the terminal information that refuses to expose the location information among the n terminals requesting ranging/sidelink SL positioning; n is a positive integer greater than or equal to 2; based on the third request message, send a fifth request message to the terminal, the fifth request message is used to request the terminal to obtain the user instruction;

接收终端基于第五请求消息返回的第五响应消息;第五响应消息携带有用户指示;The receiving terminal returns a fifth response message based on the fifth request message; the fifth response message carries a user instruction;

根据用户指示或用户指示的获取状况,向第一网络设备返回第三响应消息,第三响应消息包括验证结果。According to the user instruction or the acquisition status of the user instruction, a third response message is returned to the first network device, and the third response message includes the verification result.

结合第一方面的一些实施例,在一些实施例中,In conjunction with some embodiments of the first aspect, in some embodiments,

验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。The verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.

结合第二方面的一些实施例,在一些实施例中,根据第五响应消息,向第一网络设备返回第三响应消息,包括以下至少之一:In combination with some embodiments of the second aspect, in some embodiments, returning a third response message to the first network device according to the fifth response message includes at least one of the following:

成功接收到第五响应消息且第五响应消息携带的用户指示表明拒绝位置信息暴露,向第一网络设备发送携带失败结果的第三响应消息;successfully receiving the fifth response message and the user indication carried in the fifth response message indicating rejection of location information exposure, sending a third response message carrying a failure result to the first network device;

成功接收到第五响应消息且第五响应消息携带的用户指示表明接受位置信息暴露,向第一网络设备发送携带成功结果的第三响应消息;The fifth response message is successfully received and the user indication carried in the fifth response message indicates that the location information exposure is accepted, and a third response message carrying a success result is sent to the first network device;

与对应终端的连接建立失败,向第一网络设备发送携带失败结果的第三响应消息;与对应终端 建立的连接,用于发送第五请求消息以获取用户指示;The connection establishment with the corresponding terminal fails, and a third response message carrying the failure result is sent to the first network device; and the corresponding terminal The established connection is used to send a fifth request message to obtain a user instruction;

在指定时长内未接收到对应终端的用户指示,向第一网络设备发送携带失败结果的第三响应消息。If no user instruction of the corresponding terminal is received within the specified time period, a third response message carrying a failure result is sent to the first network device.

结合第二方面的一些实施例,在一些实施例中,失败结果对应的原因包括以下指示之一:In conjunction with some embodiments of the second aspect, in some embodiments, the reason corresponding to the failure result includes one of the following indications:

用户指示表明拒绝位置信息暴露;User indication indicating refusal to disclose location information;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

第三方面,本公开实施例提供一种测距方法,其中,由第三网络设备执行,该方法包括:In a third aspect, an embodiment of the present disclosure provides a ranging method, wherein the method is performed by a third network device, and the method includes:

接收第一网络设备发送的第四请求消息;第四请求消息,用于第三网络设备触发测距/SL定位的执行;Receiving a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;

根据第四请求消息,获取终端的用户指示;用户指示,用于指示符合参与测距/SL定位的条件的终端当前是否拒绝位置信息暴露;According to the fourth request message, a user indication of the terminal is obtained; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;

根据拒绝位置信息暴露的终端信息,向第一网络设备发送第四响应消息。A fourth response message is sent to the first network device according to the terminal information that refuses to expose the location information.

结合第三方面的一些实施例,在一些实施例中,所述第四请求消息包括:符合参与测距/SL定位条件的终端信息;所述根据所述第四请求消息,获取终端的用户指示,包括:In combination with some embodiments of the third aspect, in some embodiments, the fourth request message includes: terminal information that meets the conditions for participating in ranging/SL positioning; and obtaining a user indication of the terminal according to the fourth request message includes:

获取符合参与测距/SL定位条件的终端信息指示的终端中隐私配置包含所述第二指示的终端的用户指示。Obtain the user indication of the terminal whose privacy configuration includes the second indication in the terminal indicated by the terminal information that meets the conditions for participating in ranging/SL positioning.

结合第三方面的一些实施例,在一些实施例中,根据验证结果指示拒绝位置信息暴露的终端及规则,向第一网络设备发送第四响应消息,包括:In combination with some embodiments of the third aspect, in some embodiments, sending a fourth response message to the first network device according to the terminal and rule indicating rejection of location information exposure according to the verification result includes:

验证结果指示超过规则定义的个数的终端拒绝位置信息暴露时,向第一网络设备发送拒绝消息,和/或,When the verification result indicates that more than the number of terminals defined by the rule refuse to expose their location information, a rejection message is sent to the first network device, and/or,

在验证结果表明拒绝位置信息暴露的终端包括规则定义必须参加测距/SL定位的终端时,向第一网络设备发送拒绝消息。When the verification result indicates that the terminals for which location information exposure is refused include terminals that must participate in ranging/SL positioning as defined by the rule, a rejection message is sent to the first network device.

结合第三方面的一些实施例,在一些实施例中,拒绝消息还包括第三信息;第三信息;第一信息用于指示拒绝测距的原因。In combination with some embodiments of the third aspect, in some embodiments, the rejection message also includes third information; the third information; the first information is used to indicate the reason for rejecting ranging.

结合第三方面的一些实施例,在一些实施例中,第一信息指示以下至少之一:In conjunction with some embodiments of the third aspect, in some embodiments, the first information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

结合第三方面的一些实施例,在一些实施例中,根据验证结果指示拒绝位置信息暴露的终端及 规则,向第一网络设备发送第四响应消息,包括:In combination with some embodiments of the third aspect, in some embodiments, the terminal and rule, sending a fourth response message to the first network device, including:

小于规则定义的个数的终端拒绝位置信息暴露,触发测距/SL定位测距以获得测距定位结果;Terminals with a number less than that defined by the rule refuse to expose their location information, triggering ranging/SL positioning ranging to obtain ranging and positioning results;

小于规则定义的个数的终端拒绝位置信息暴露,触发测距/SL定位测距以获得测距定位结果,和/或,Terminals with a number less than that defined by the rule refuse to expose their location information, trigger ranging/SL positioning ranging to obtain ranging and positioning results, and/or,

规则定义必须参加测距/SL定位的终端接受位置信息暴露,触发测距/SL定位测距以获得测距定位结果。The rules define that the terminals that must participate in ranging/SL positioning accept the exposure of location information and trigger ranging/SL positioning ranging to obtain ranging and positioning results.

结合第三方面的一些实施例,在一些实施例中,成功消息还包括以下至少之一:In conjunction with some embodiments of the third aspect, in some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

结合第三方面的一些实施例,在一些实施例中,第四请求消息还包括规则。In combination with some embodiments of the third aspect, in some embodiments, the fourth request message also includes rules.

第四方面,本公开实施例提供一种测距方法,其中,由请求端执行,方法包括:In a fourth aspect, an embodiment of the present disclosure provides a ranging method, which is executed by a requesting end and includes:

向第一网络设备发送第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;Sending a first request message to a first network device, the first request message being used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

接收第一响应消息,第一响应消息包括:距定位失败的失败响应消息,或执行第一请求消息的定位结果。A first response message is received, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.

结合第四方面的一些实施例,在一些实施例中,第一请求消息包括以下至少之一:In conjunction with some embodiments of the fourth aspect, in some embodiments, the first request message includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

结合第四方面的一些实施例,在一些实施例中,失败响应消息还包括第一信息;第一信息用于指示测距定位失败的原因。In combination with some embodiments of the fourth aspect, in some embodiments, the failure response message also includes first information; the first information is used to indicate the reason for the failure of ranging and positioning.

结合第四方面的一些实施例,在一些实施例中,第一信息指示以下至少之一:In conjunction with some embodiments of the fourth aspect, in some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

结合第四方面的一些实施例,在一些实施例中,成功响应消息还包括第二信息;第二信息用于确定参与测距/SL定位的终端。In combination with some embodiments of the fourth aspect, in some embodiments, the success response message also includes second information; the second information is used to determine the terminals participating in ranging/SL positioning.

结合第四方面的一些实施例,在一些实施例中,第二信息包括以下至少之一:In conjunction with some embodiments of the fourth aspect, in some embodiments, the second information includes at least one of the following:

参与测距/SL定位的终端信息; Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

第五方面,本公开实施例提供一种第一网络设备,其中,包括:In a fifth aspect, an embodiment of the present disclosure provides a first network device, comprising:

接收模块,被配置为接收请求端发送的第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;A receiving module is configured to receive a first request message sent by a requesting end, where the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

处理模块,被配置为确定n个终端中拒绝位置信息暴露的终端信息;根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位。The processing module is configured to determine the terminal information of the n terminals that refuses to expose the location information; and determine whether to perform the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.

第六方面,本公开实施例提供一种第三网络设备,其中,包括:In a sixth aspect, an embodiment of the present disclosure provides a third network device, comprising:

接收模块,被配置为接收第一网络设备发送的第三请求消息,第三请求消息,用于获取用户指示的验证结果;验证结果,用于第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;n是大于或等于2的正整数;发送模块,被配置为基于第三请求消息,向终端发送第五请求消息,第五请求消息,用于请求终端获取用户指示;The receiving module is configured to receive a third request message sent by the first network device, where the third request message is used to obtain a verification result of a user instruction; the verification result is used by the first network device to determine the terminal information that refuses to expose the location information among the n terminals requesting ranging/sidelink SL positioning; n is a positive integer greater than or equal to 2; the sending module is configured to send a fifth request message to the terminal based on the third request message, where the fifth request message is used to request the terminal to obtain the user instruction;

接收模块,还被配置为接收终端基于第五请求消息返回的第五响应消息;第五响应消息携带有用户指示;The receiving module is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries a user instruction;

发送模块,还被配置为根据用户指示或用户指示的获取状况,向第一网络设备返回第三响应消息,第三响应消息包括验证结果。The sending module is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, and the third response message includes the verification result.

第七方面,本公开实施例提供一种第三网络设备,其中,包括:In a seventh aspect, an embodiment of the present disclosure provides a third network device, comprising:

接收模块,被配置为接收第一网络设备发送的第四请求消息;第四请求消息,用于第三网络设备触发测距/SL定位的执行;A receiving module, configured to receive a fourth request message sent by the first network device; the fourth request message is used for the third network device to trigger the execution of ranging/SL positioning;

处理模块,被配置为根据第四请求消息,获取终端的用户指示;用户指示,用于指示符合参与测距/SL定位的条件的终端当前是否拒绝位置信息暴露;The processing module is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;

发送模块,被配置为根据拒绝位置信息暴露的终端信息,向第一网络设备发送第四响应消息。The sending module is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.

第八方面,本公开实施例提供一种请求端,其中,包括:In an eighth aspect, an embodiment of the present disclosure provides a request end, which includes:

发送模块,被配置为向第一网络设备发送第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;A sending module is configured to send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

接收模块,被配置为接收第一响应消息,第一响应消息包括:距定位失败的失败响应消息,或执行第一请求消息的定位结果。The receiving module is configured to receive a first response message, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.

第九方面,本公开实施例提供一种通信设备,通信设备包括:一个或多个处理器;In a ninth aspect, an embodiment of the present disclosure provides a communication device, the communication device including: one or more processors;

其中,处理器用于调用指令以使得通信设备执行第一方面至第四方面的可选实现方式所描述的测距方法。The processor is used to call instructions to enable the communication device to execute the ranging method described in the optional implementation manner of the first aspect to the fourth aspect.

第十方面,本公开实施例提供了一种存储介质,其中,存储介质存储有指令,当指令在通信设备上运行时,使得通信设备执行第一方面至第四方面的可选实现方式所描述的测距方法。In a tenth aspect, an embodiment of the present disclosure provides a storage medium, wherein the storage medium stores instructions, and when the instructions are executed on a communication device, the communication device executes the ranging method described in the optional implementation methods of the first to fourth aspects.

第十一方面,本公开实施例提供了一种程序产品,程序产品被通信设备执行时,使得通设备执 行第一方面至第四方面的可选实现方式所描述的测距方法。In an eleventh aspect, an embodiment of the present disclosure provides a program product, which, when executed by a communication device, enables the communication device to execute The ranging method described in the optional implementation manner of the first to fourth aspects is carried out.

第十二方面,本公开实施例提供了一种计算机程序,当其在计算机上运行时,使得计算机执行第一方面至第四方面的可选实现方式所描述的测距方法。In a twelfth aspect, an embodiment of the present disclosure provides a computer program, which, when executed on a computer, enables the computer to execute the ranging method described in the optional implementation manners of the first to fourth aspects.

可以理解地,上述终端、网络设备以及通信系统、程序产品、计算机程序均用于执行本公开实施例所提供的方法。因此,其所能达到的有益效果可以参考对应方法中的有益效果,此处不再赘述。It is understandable that the above terminals, network devices, communication systems, program products, and computer programs are all used to execute the methods provided by the embodiments of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods, which will not be repeated here.

本公开实施例提出了一种测距方法、通信设备、通信系统及存储介质。在一些实施例中,测距方法与测距方法、测距方法等术语可以相互替换,网络设备、终端可与信息处理装置、信息传输装置等术语可以相互替换,通信系统、信息处理系统等术语可以相互替换。The embodiments of the present disclosure provide a ranging method, a communication device, a communication system, and a storage medium. In some embodiments, the terms ranging method, ranging method, ranging method, etc. can be replaced with each other, the terms network device, terminal, information processing device, information transmission device, etc. can be replaced with each other, and the terms communication system, information processing system, etc. can be replaced with each other.

本公开实施例并非穷举,仅为部分实施例的示意,不作为对本公开保护范围的具体限制。在不矛盾的情况下,某一实施例中的每个步骤均可以作为独立实施例来实施,且各步骤之间可以任意组合,例如,在某一实施例中去除部分步骤后的方案也可以作为独立实施例来实施,且在某一实施例中各步骤的顺序可以任意交换,另外,某一实施例中的可选实现方式可以任意组合;此外,各实施例之间可以任意组合,例如,不同实施例的部分或全部步骤可以任意组合,某一实施例可以与其他实施例的可选实现方式任意组合。The embodiments of the present disclosure are not exhaustive, but are only illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

在各本公开实施例中,如果没有特殊说明以及逻辑冲突,各实施例之间的术语和/或描述具有一致性,且可以互相引用,不同实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present disclosure, unless otherwise specified or there is a logical conflict, the terms and/or descriptions between the embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form a new embodiment based on their internal logical relationships.

本公开实施例中所使用的术语只是为了描述特定实施例的目的,而并非作为对本公开的限制。The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

在本公开实施例中,除非另有说明,以单数形式表示的元素,如“一个”、“一种”、“该”、“上述”、“”、“前述”、“这一”等,可以表示“一个且只有一个”,也可以表示“一个或多个”、“至少一个”等。例如,在翻译中使用如英语中的“a”、“an”、“the”等冠词(article)的情况下,冠词之后的名词可以理解为单数表达形式,也可以理解为复数表达形式。In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular form, such as "a", "an", "the", "above", "", "the", "the", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun after the article may be understood as a singular expression or a plural expression.

在本公开实施例中,“多个”是指两个或两个以上。In the embodiments of the present disclosure, “plurality” refers to two or more.

在一些实施例中,“至少一者(至少之一、至少一项、至少一个)(at least one of)”、“一个或多个(one or more)”、“多个(a plurality of)”、“多个(multiple)等术语可以相互替换。In some embodiments, the terms "at least one (at least one of), "one or more (one or more)", "a plurality of (a plurality of)", "multiple (multiple)", etc. can be used interchangeably.

在一些实施例中,“A、B中的至少一者”、“A和/或B”、“在一情况下A,在另一情况下B”、“一情况A,另一情况B”等记载方式,根据情况可以包括以下技术方案:在一些实施例中A(与B无关地执行A);在一些实施例中B(与A无关地执行B);在一些实施例中从A和B中选择执行(A和B被选择性执行);在一些实施例中A和B(A和B都被执行)。当有A、B、C等更多分支时也类似上述。In some embodiments, "at least one of A and B", "A and/or B", "A in one case, B in another case", "A in one case, B in another case", etc., may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, A and B (both A and B are executed). When there are more branches such as A, B, C, etc., the above is also similar.

在一些实施例中,“A或B”等记载方式,根据情况可以包括以下技术方案:在一些实施例中A(与B无关地执行A);在一些实施例中B(与A无关地执行B);在一些实施例中从A和B中选择执行(A和B被选择性执行)。当有A、B、C等更多分支时也类似上述。In some embodiments, the recording method of "A or B" may include the following technical solutions according to the situation: in some embodiments, A (A is executed independently of B); in some embodiments, B (B is executed independently of A); in some embodiments, execution is selected from A and B (A and B are selectively executed). When there are more branches such as A, B, C, etc., the above is also similar.

本公开实施例中的“第一”、“第二”等前缀词,仅仅为了区分不同的描述对象,不对描述对象的位置、顺序、优先级、数量或内容等构成限制,对描述对象的陈述参见权利要求或实施例中上下文 的描述,不应因为使用前缀词而构成多余的限制。例如,描述对象为“字段”,则“第一字段”和“第二字段”中“字段”之前的序数词并不限制“字段”之间的位置或顺序,“第一”和“第二”并不限制其修饰的“字段”是否在同一个消息中,也不限制“第一字段”和“第二字段”的先后顺序。再如,描述对象为“等级”,则“第一等级”和“第二等级”中“等级”之前的序数词并不限制“等级”之间的优先级。再如,描述对象的数量并不受序数词的限制,可以是一个或者多个,以“第一装置”为例,其中“装置”的数量可以是一个或者多个。此外,不同前缀词修饰的对象可以相同或不同,例如,描述对象为“装置”,则“第一装置”和“第二装置”可以是相同的装置或者不同的装置,其类型可以相同或不同;再如,描述对象为“信息”,则“第一信息”和“第二信息”可以是相同的信息或者不同的信息,其内容可以相同或不同。The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects, and do not limit the position, order, priority, quantity or content of the description objects. For the description of the description objects, please refer to the context of the claims or embodiments. The description of a message should not constitute an unnecessary restriction due to the use of prefixes. For example, if the description object is "field", the ordinal number before "field" in "first field" and "second field" does not limit the position or order between "fields", "first" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of "first field" and "second field". For another example, if the description object is "level", the ordinal number before "level" in "first level" and "second level" does not limit the priority between "levels". For another example, the number of description objects is not limited by ordinal numbers and can be one or more. Take "first device" as an example, where the number of "devices" can be one or more. In addition, the objects modified by different prefixes can be the same or different. For example, if the description object is "device", "first device" and "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the description object is "information", "first information" and "second information" can be the same information or different information, and their contents can be the same or different.

在一些实施例中,“包括A”、“包含A”、“用于指示A”、“携带A”,可以解释为直接携带A,也可以解释为间接指示A。In some embodiments, “including A”, “comprising A”, “used to indicate A”, and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

在一些实施例中,“……”、“确定……”、“在……的情况下”、“在……时”、“当……时”、“若……”、“如果……”等术语可以相互替换。In some embodiments, terms such as “…”, “determine…”, “in the case of…”, “at the time of…”, “when…”, “if…”, “if…”, etc. can be used interchangeably.

在一些实施例中,“大于”、“大于或等于”、“不小于”、“多于”、“多于或等于”、“不少于”、“高于”、“高于或等于”、“不低于”、“以上”等术语可以相互替换,“小于”、“小于或等于”、“不大于”、“少于”、“少于或等于”、“不多于”、“低于”、“低于或等于”、“不高于”、“以下”等术语可以相互替换。In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not lower than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "no more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

在一些实施例中,装置等可以解释为实体的、也可以解释为虚拟的,其名称不限定于实施例中所记载的名称,“装置”、“设备(equipment)”、“设备(device)”、“电路”、“网元”、“节点”、“功能”、“单元”、“部件(section)”、“系统”、“网络”、“芯片”、“芯片系统”、“实体”、“主体”等术语可以相互替换。In some embodiments, devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as "device", "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", and "subject" can be used interchangeably.

在一些实施例中,“网络”可以解释为网络中包含的装置(例如,接入网设备、核心网设备等)。In some embodiments, "network" may be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).

在一些实施例中,“接入网设备(access network device,AN device)”、“无线接入网设备(radio access network device,RAN device)”、“基站(base station,BS)”、“无线基站(radio base station)”、“固定台(fixed station)”、“节点(node)”、“接入点(access point)”、“发送点(transmission point,TP)”、“接收点(reception point,RP)”、“发送接收点(transmission/reception point,TRP)”、“面板(panel)”、“天线面板(antenna panel)”、“天线阵列(antenna array)”、“小区(cell)”、“宏小区(macro cell)”、“小型小区(small cell)”、“毫微微小区(femto cell)”、“微微小区(pico cell)”、“扇区(sector)”、“小区组(cell group)”、“服务小区”、“小区(carrier)”、“分量小区(component carrier)”、“带宽部分(bandwidth part,BWP)”等术语可以相互替换。In some embodiments, the terms "access network device (AN device), "radio access network device (RAN device)", "base station (BS)", "radio base station (radio base station)", "fixed station (fixed station)", "node", "access point (access point)", "transmission point (TP)", "reception point (RP)", "transmission/reception point (TRP)", "panel", "antenna panel (antenna panel)", "antenna array (antenna array)", "cell", "macro cell", "small cell (small cell)", "femto cell (femto cell)", "pico cell (pico cell)", "sector (sector)", "cell group (cell)", "serving cell", "carrier (carrier)", "component carrier (component carrier)", "bandwidth part (bandwidth part (BWP))" and so on can be used interchangeably.

在一些实施例中,“终端(terminal)”、“终端设备(terminal device)”、“用户设备(user equipment,UE)”、“用户终端(user terminal)”、“移动台(mobile station,MS)”、“移动终端(mobile terminal,MT)”、订户站(subscriber station)、移动单元(mobile unit)、订户单元(subscriber unit)、无线单元(wireless unit)、远程单元(remote unit)、移动设备(mobile device)、无线设备(wireless device)、无线通信设备(wireless communication device)、远程设备(remote device)、移动订户站(mobile subscriber station)、接入终端(access terminal)、移动终端(mobile terminal)、无线终端(wireless  terminal)、远程终端(remote terminal)、手持设备(handset)、用户代理(user agent)、移动客户端(mobile client)、客户端(client)等术语可以相互替换。In some embodiments, the term “terminal”, “terminal device”, “user equipment (UE)”, “user terminal”, “mobile station (MS)”, “mobile terminal (MT)”, subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, etc. The terms such as terminal, remote terminal, handset, user agent, mobile client, and client are interchangeable.

在一些实施例中,接入网设备、核心网设备、或网络设备可以被替换为终端。例如,针对将接入网设备、核心网设备、或网络设备以及终端间的通信置换为多个终端间的通信(例如,设备对设备(device-to-device,D2D)、车联网(vehicle-to-everything,V2X)等)的结构,也可以应用本公开的各实施例。在该情况下,也可以设为终端具有接入网设备所具有的全部或部分功能的结构。此外,“上行”、“下行”等术语也可以被替换为与终端间通信对应的术语(例如,“侧行(side)”)。例如,上行信道、下行信道等可以被替换为侧行信道,上行链路、下行链路等可以被替换为侧行链路。In some embodiments, the access network device, the core network device, or the network device can be replaced by a terminal. For example, the various embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by the communication between multiple terminals (for example, device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, it can also be set as a structure in which the terminal has all or part of the functions of the access network device. In addition, terms such as "uplink" and "downlink" can also be replaced by terms corresponding to communication between terminals (for example, "side"). For example, uplink channels, downlink channels, etc. can be replaced by side channels, and uplinks, downlinks, etc. can be replaced by side links.

在一些实施例中,终端可以被替换为接入网设备、核心网设备、或网络设备。在该情况下,也可以设为接入网设备、核心网设备、或网络设备具有终端所具有的全部或部分功能的结构。In some embodiments, the terminal may be replaced by an access network device, a core network device, or a network device. In this case, the access network device, the core network device, or the network device may also be configured to have a structure that has all or part of the functions of the terminal.

在一些实施例中,获取数据、信息等可以遵照所在地国家的法律法规。In some embodiments, the acquisition of data, information, etc. may comply with the laws and regulations of the country where the data is obtained.

在一些实施例中,可以在得到用户同意后获取数据、信息等。In some embodiments, data, information, etc. may be obtained with the user's consent.

此外,本公开实施例的表格中的每一元素、每一行、或每一列均可以作为独立实施例来实施,任意元素、任意行、任意列的组合也可以作为独立实施例来实施。In addition, each element, each row, or each column in the table of the embodiments of the present disclosure may be implemented as an independent embodiment, and the combination of any elements, any rows, or any columns may also be implemented as an independent embodiment.

图1是根据本公开实施例示出的通信系统的架构示意图。FIG1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure.

如图1所示,通信系统100包括终端(terminal)101以及网络设备102。网络设备102可包括接入网设备和核心网设备。As shown in Fig. 1, the communication system 100 includes a terminal 101 and a network device 102. The network device 102 may include an access network device and a core network device.

在一些实施例中,终端101例如包括手机(mobile phone)、可穿戴设备、物联网设备、具备通信功能的汽车、智能汽车、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self-driving)中的无线终端设备、远程手术(remote medical surgery)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备中的至少一者,但不限于此。In some embodiments, the terminal 101 includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), and at least one of a wireless terminal device in a smart home (smart home), but is not limited to these.

在一些实施例中,终端又称为用户设备(User Equipment,UE)。In some embodiments, the terminal is also referred to as user equipment (UE).

在一些实施例中,接入网设备例如可以是将终端接入到无线网络的节点或设备,接入网设备可以包括5G通信系统中的演进节点B(evolved NodeB,eNB)、下一代演进节点B(next generation eNB,ng-eNB)、下一代节点B(next generation NodeB,gNB)、节点B(node B,NB)、家庭节点B(home node B,HNB)、家庭演进节点B(home evolved nodeB,HeNB)、无线回传设备、无线网络控制器(radio network controller,RNC)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、基带单元(base band unit,BBU)、移动交换中心、6G通信系统中的基站、开放型基站(Open RAN)、云基站(Cloud RAN)、其他通信系统中的基站、Wi-Fi系统中的接入节点中的至少一者,但不限于此。In some embodiments, the access network device may be, for example, a node or device that accesses a terminal to a wireless network. The access network device may include an evolved Node B (eNB), a next generation evolved Node B (ng-eNB), a next generation Node B (gNB), a node B (NB), a home node B (HNB), a home evolved node B (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (Cloud RAN), a base station in other communication systems, and at least one of an access node in a Wi-Fi system, but is not limited thereto.

在一些实施例中,本公开的技术方案可适用于Open RAN架构,此时,本公开实施例所涉及的 接入网设备间或者接入网设备内的接口可变为Open RAN的内部接口,这些内部接口之间的流程和信息交互可以通过软件或者程序实现。In some embodiments, the technical solution of the present disclosure may be applicable to the Open RAN architecture. In this case, the embodiments of the present disclosure involve The interfaces between or within access network devices can become internal interfaces of Open RAN, and the processes and information interactions between these internal interfaces can be implemented through software or programs.

在一些实施例中,接入网设备可以由集中单元(central unit,CU)与分布式单元(distributed unit,DU)组成的,其中,CU也可以称为控制单元(control unit),采用CU-DU的结构可以将接入网设备的协议层拆分开,部分协议层的功能放在CU集中控制,剩下部分或全部协议层的功能分布在DU中,由CU集中控制DU,但不限于此。In some embodiments, the access network device may be composed of a centralized unit (central unit, CU) and a distributed unit (distributed unit, DU), wherein the CU may also be called a control unit (control unit). The CU-DU structure may be used to split the protocol layer of the access network device, with some functions of the protocol layer being centrally controlled by the CU, and the remaining part or all of the functions of the protocol layer being distributed in the DU, and the DU being centrally controlled by the CU, but not limited to this.

在一些实施例中,核心网设备可以是一个设备,包括第一网元等,也可以是多个设备或设备群,分别包括第一网元。网元可以是虚拟的,也可以是实体的。核心网例如包括演进分组核心(Evolved Packet Core,EPC)、5G核心网络(5G Core Network,5GCN)、下一代核心(Next Generation Core,NGC)中的至少一者。In some embodiments, the core network device may be a device including a first network element, etc., or may be a plurality of devices or a group of devices, each including a first network element. The network element may be virtual or physical. The core network may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).

可以理解的是,本公开实施例描述的通信系统是为了更加清楚的说明本公开实施例的技术方案,并不构成对于本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本公开实施例提供的技术方案对于类似的技术问题同样适用。It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. A person skilled in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.

下述本公开实施例可以应用于图1所示的通信系统100、或部分主体,但不限于此。图1所示的各主体是例示,通信系统可以包括图1中的全部或部分主体,也可以包括图1以外的其他主体,各主体数量和形态为任意,各主体之间的连接关系是例示,各主体之间可以不连接也可以连接,其连接可以是任意方式,可以是直接连接也可以是间接连接,可以是有线连接也可以是无线连接。The following embodiments of the present disclosure may be applied to the communication system 100 shown in FIG1 , or part of the subject, but are not limited thereto. The subjects shown in FIG1 are examples, and the communication system may include all or part of the subjects in FIG1 , or may include other subjects other than FIG1 , and the number and form of the subjects are arbitrary, and the connection relationship between the subjects is an example, and the subjects may be connected or disconnected, and the connection may be in any manner, which may be a direct connection or an indirect connection, and may be a wired connection or a wireless connection.

本公开各实施例可以应用于长期演进(Long Term Evolution,LTE)、LTE-Advanced(LTE-A)、LTE-Beyond(LTE-B)、SUPER 3G、IMT-Advanced、第四代移动通信系统(4th generation mobile communication system,4G)、)、第五代移动通信系统(5th generation mobile communication system,5G)、5G新空口(new radio,NR)、未来无线接入(Future Radio Access,FRA)、新无线接入技术(New-Radio Access Technology,RAT)、新无线(New Radio,NR)、新无线接入(New radio access,NX)、未来一代无线接入(Future generation radio access,FX)、Global System for Mobile communications(GSM(注册商标))、CDMA2000、超移动宽带(Ultra Mobile Broadband,UMB)、IEEE 802.11(Wi-Fi(注册商标))、IEEE 802.16(WiMAX(注册商标))、IEEE 802.20、超宽带(Ultra-WideBand,UWB)、蓝牙(Bluetooth(注册商标))、陆上公用移动通信网(Public Land Mobile Network,PLMN)网络、设备到设备(Device-to-Device,D2D)系统、机器到机器(Machine to Machine,M2M)系统、物联网(Internet of Things,IoT)系统、车联网(Vehicle-to-Everything,V2X)、利用其他测距方法的系统、基于它们而扩展的下一代系统等。此外,也可以将多个系统组合(例如,LTE或者LTE-A与5G的组合等)应用。The embodiments of the present disclosure may be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, the fourth generation mobile communication system (4G), the fifth generation mobile communication system (5G), 5G new radio (NR), Future Radio Access (FRA), New-Radio Access Technology (RAT), New Radio (NR), New radio access (NX), Future generation radio access ... The present invention relates to wireless communication systems such as LTE, Wi-Fi (X), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) network, Device to Device (D2D) system, Machine to Machine (M2M) system, Internet of Things (IoT) system, Vehicle to-Everything (V2X), systems using other ranging methods, and next-generation systems expanded based on them. In addition, a combination of multiple systems (for example, a combination of LTE or LTE-A with 5G, etc.) may also be applied.

在基于移动通信网络进行测距的过程中。请求端可以对一个终端进行绝对位置信息的测距,也可以对两个终端的相对位置信息进行测距/SL定位。若对终端进行位置信息测量时会得到终端的位置信息,在一些情况下,终端会拒绝暴露自身的位置信息。此时继续对终端进行位置信息进行测量,则可能导致终端的隐私被泄露。因此在终端拒绝位置信息暴露的情况下,如何进行测距/SL定位请求 的响应还没有相关规范。In the process of ranging based on the mobile communication network, the requesting end can measure the absolute position information of a terminal, or measure the relative position information of two terminals/SL positioning. If the terminal's position information is measured, the terminal's position information will be obtained. In some cases, the terminal will refuse to disclose its own position information. At this time, continuing to measure the terminal's position information may cause the terminal's privacy to be leaked. Therefore, how to make a ranging/SL positioning request when the terminal refuses to disclose its position information? There is no specification for responses.

图2A是根据本公开实施例示出的一种测距方法的交互示意图。如图2A所示,本公开实施例涉及测距方法,用于通信系统100。FIG2A is an interactive schematic diagram of a distance measurement method according to an embodiment of the present disclosure. As shown in FIG2A , the embodiment of the present disclosure relates to a distance measurement method, which is used in a communication system 100 .

图2A所示的方法为多个通信设备之间的交互实施例。该通信设备涉及请求端以及网络设备等。该图2A所示的测距方法包括:第一网络设备收到请求端进行n个终端的测距/SL定位请求之后,可以根据n个终端隐私配置确定n个终端中拒绝位置信息暴露的终端信息,根据拒绝位置信息的终端的信息确定是否发起测距/SL定位。在该方案中的实施例是:在第一网络设备根据隐私配置的第一指示,确定n个终端拒绝位置信息暴露的终端信息,且在第一网络设备根据第一指示确定接受位置信息暴露的终端的隐私配置包括第二指示时,请求第三网络设备获取用户指示。第三网络设备将获取用户指示,并进一步根据用户指示确定终端当前是否拒绝信息暴露的验证结果。该验证结果会被传输至第一网络设备。第一网络设备接收到验证结果之后,确定是否执行测距/SL定位请求。即在图2A对应的实施例中,若需要根据用户指示确定终端当前时刻是否拒绝位置信息暴露,则第一网络设备会在获取到各个需要基于用户指示确定当前时刻是否拒绝位置信息暴露的验证结果之后,再确定是否执行测距/SL定位。The method shown in FIG2A is an embodiment of interaction between multiple communication devices. The communication device involves a requesting end and a network device, etc. The ranging method shown in FIG2A includes: after the first network device receives a ranging/SL positioning request from the requesting end for n terminals, the terminal information of the n terminals that refuses to expose the location information can be determined according to the privacy configuration of the n terminals, and whether to initiate ranging/SL positioning is determined according to the information of the terminal that refuses the location information. The embodiment of this scheme is: when the first network device determines the terminal information of the n terminals that refuses to expose the location information according to the first indication of the privacy configuration, and when the first network device determines that the privacy configuration of the terminal that accepts the exposure of the location information includes the second indication according to the first indication, the third network device is requested to obtain the user indication. The third network device will obtain the user indication, and further determine the verification result of whether the terminal currently refuses the information exposure according to the user indication. The verification result will be transmitted to the first network device. After receiving the verification result, the first network device determines whether to execute the ranging/SL positioning request. That is, in the embodiment corresponding to Figure 2A, if it is necessary to determine whether the terminal refuses to expose the location information at the current moment based on the user's instructions, the first network device will determine whether to perform ranging/SL positioning after obtaining the verification results of each need to determine whether the location information is refused to be exposed at the current moment based on the user's instructions.

如图2A所示,本公开实施例提供的一种测距方法可包括:As shown in FIG. 2A , a distance measurement method provided by an embodiment of the present disclosure may include:

S2101:请求端向第一网络设备发送第一请求消息。S2101: The requesting end sends a first request message to the first network device.

在一些实施例中,请求端可为应用功能(Application Function,AF)或者定位服务(Location Service,LCS)客户端。In some embodiments, the requesting end may be an application function (AF) or a location service (LCS) client.

在一些实施例中,AF和第一网络设备处于不同安全域内,则由网络开放功能(Network Exposure Function,NEF)转发或透传第一请求消息至第一网络设备。In some embodiments, the AF and the first network device are in different security domains, and the first request message is forwarded or transparently transmitted to the first network device by a network exposure function (NEF).

在一些实施例中,AF和第一网络设备处于相同安全域内,则AF可直接将第一请求消息发送给第一网络设备。In some embodiments, the AF and the first network device are in the same security domain, and the AF may directly send the first request message to the first network device.

在一些实施例中,第一网络设备可为核心网设备。In some embodiments, the first network device may be a core network device.

在一些实施例中,第一网络设备可为网关移动位置中心(Gateway Mobility Location Centre,GMLC)。第一网络设备可为请求端对应的归属地GMLC(Home Gateway Mobility Location Centre,GMLC,HGMLC)。被测距的终端可能和请求端位于不同的公共陆地移动网络(Pbulic Land Mobile Network,PLMN)时,HGML与拜访地PLMN之间的GLMC(Visited Pbulic Land Mobile Network,V-PLMN)之间进行信息交互。In some embodiments, the first network device may be a Gateway Mobility Location Centre (GMLC). The first network device may be a Home Gateway Mobility Location Centre (GMLC, HGMLC) corresponding to the requesting end. When the terminal being measured may be located in a different Public Land Mobile Network (PLMN) from the requesting end, information is exchanged between the HGML and the GLMC (Visited P-PLMN) between the visited PLMN.

在一些实施例中,第一请求消息,用于请求n个终端的测距/侧行链路SL定位。In some embodiments, the first request message is used to request ranging/sidelink SL positioning of n terminals.

在一些实施例中,n可为任意正整数。In some embodiments, n can be any positive integer.

在一些实施例中,n可为2或者大于2的正整数。In some embodiments, n may be a positive integer of 2 or greater.

在一些实施例中,n可为测距/SL定位涉及的终端的个数。In some embodiments, n may be the number of terminals involved in ranging/SL positioning.

在一些实施例中,n可为测距/SL定位的目标终端。目标终端为被测量的终端。In some embodiments, n may be a target terminal for ranging/SL positioning. The target terminal is the terminal being measured.

在一些实施例中,第一请求消息包括n个终端的标识信息。 In some embodiments, the first request message includes identification information of n terminals.

在一些实施例中,第一请求消息包括n个终端的标识列表。In some embodiments, the first request message includes a list of identities of n terminals.

在一些实施例中,第一请求消息还可包括:In some embodiments, the first request message may further include:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

在一些实施例,规则信息可包括以下至少之一:In some embodiments, the rule information may include at least one of the following:

规则标识,用于第一网络设备查询使用的规则;A rule identifier, used for querying a rule used by the first network device;

规则,第一请求消息也可以携带规则信息自身,如此第一网络设备直接根据第一请求消息就知晓确定是否执行测距/SL定位规则的内容。Rules, the first request message may also carry the rule information itself, so that the first network device directly knows whether to execute the ranging/SL positioning rules based on the first request message.

在一些实施例中,QoS可涉及测距精度和/或测距方式等于信息。In some embodiments, QoS may relate to ranging accuracy and/or ranging mode information.

在一些实施例中,类型信息指示的测距结果可包括但不限于以下至少之一:In some embodiments, the ranging result indicated by the type information may include but is not limited to at least one of the following:

绝对位置信息,例如,经纬度信息;Absolute location information, such as latitude and longitude information;

相对位置信息,例如,任意指定的两个终端之间的相对位置信息;Relative position information, for example, relative position information between any two specified terminals;

相对于参考终端的距离;distance relative to a reference terminal;

相对于参考终端的方向。Orientation relative to the reference terminal.

当然以上仅仅是对测距结果的类型的举例的说明,具体实现不限于上述举例。Of course, the above is merely an example of the type of ranging result, and the specific implementation is not limited to the above example.

在一些实施例中,参考终端信息可包括但不限于以下至少之一:In some embodiments, the reference terminal information may include but is not limited to at least one of the following:

参考终端的标识信息;Reference terminal identification information;

参考终端的类型信息或属性信息,此时网络侧可根据类型信息或属性信息进行参考终端的动态选择。The type information or attribute information of the reference terminal. At this time, the network side can dynamically select the reference terminal according to the type information or attribute information.

在一些实施例中,第一请求消息还可包括必须参加测距/SL定位的终端信息,和/或可选参加测距/SL定位的终端信息。这些信息可以规则同步使用,用于第一网络设备确定是否执行测距/SL定位。In some embodiments, the first request message may also include information of terminals that must participate in ranging/SL positioning, and/or information of terminals that can optionally participate in ranging/SL positioning. Such information may be used synchronously with rules for the first network device to determine whether to perform ranging/SL positioning.

在一些实施例中,请求端发送第一请求消息,则第一网络设备会接收到第一请求消息。In some embodiments, the requesting end sends a first request message, and the first network device receives the first request message.

在第一请求消息包括规则的情况下,第一网络设备从请求端获取规则。In the case that the first request message includes the rule, the first network device obtains the rule from the requesting end.

在一些实施例中,第一网络设备使用的规则还可以是第一网络设备的本地配置规则,或者其他网络设备请求的规则。例如,第一网络设备还可以从NEF或者策略控制功能(Policy Control Function,PCF)请求规则。In some embodiments, the rules used by the first network device may also be local configuration rules of the first network device, or rules requested by other network devices. For example, the first network device may also request rules from NEF or Policy Control Function (PCF).

总之,第一网络设备获取规则方式有多种,具体实现时不局限于上述任意一种。In summary, there are multiple ways for the first network device to obtain the rule, and the specific implementation is not limited to any of the above.

S2102:第一网络设备根据第一请求消息,向第二网络设备发送第二请求消息。S2102: The first network device sends a second request message to the second network device according to the first request message.

在一些实施例中,第二请求消息,用于获取n个终端的隐私配置。In some embodiments, the second request message is used to obtain privacy configurations of n terminals.

在一些实施例中,第二网络设备收到第二请求消息后,根据隐私配置确定n个终端中拒绝位置信息的终端信息。 In some embodiments, after receiving the second request message, the second network device determines the terminal information of the n terminals that rejects the location information according to the privacy configuration.

在一些实施例中,第二请求消息可包括n个终端的终端标识。In some embodiments, the second request message may include terminal identifiers of n terminals.

在一些实施例中,该终端标识可用于第二网络设备查询n个终端的隐私配置。In some embodiments, the terminal identification may be used by the second network device to query the privacy configurations of n terminals.

在一些实施例中,n个终端共用一个第二网络设备。In some embodiments, n terminals share one second network device.

在一些实施例中,n个终端可使用不同的第二网络设备。In some embodiments, the n terminals may use different second network devices.

在一些实施例中,第二网络设备可为核心网设备。In some embodiments, the second network device may be a core network device.

在一些实施例中,第二网络设备可为用户数据管理(User Data Management,UDM)。In some embodiments, the second network device may be a user data management (UDM).

在一些实施例中,第一网络设备和某一个终端的UDM位于不同的陆地移动公共网络(Public Land Mobile Network,PLMN),则接收到第一请求消息的第一网设备可向另一个PLMN的第一网络设备向该终端的第二网络设备转发第二请求消息。In some embodiments, the first network device and the UDM of a terminal are located in different public land mobile networks (PLMNs). The first network device that receives the first request message may forward the second request message to the first network device of another PLMN to the second network device of the terminal.

S2103:第二网络设备向第一网络设备发送n个终端的隐私配置。S2103: The second network device sends the privacy configurations of n terminals to the first network device.

在一些实施例中,第二网络设备向第一网络设备发送n个终端中拒绝位置信息暴露的终端标识,此时,终端是否拒绝位置信息暴露由第二网络设备本地执行,且将确定结果返回给第一网络设备。In some embodiments, the second network device sends the terminal identification of n terminals that refuse location information exposure to the first network device. At this time, whether the terminal refuses location information exposure is executed locally by the second network device, and the determination result is returned to the first network device.

S2104:第一网络设备确定n个终端中拒绝位置信息暴露的终端信息。S2104: The first network device determines terminal information of the n terminals that refuses to expose location information.

在一些实施例中,第一网络设备在接收到第一请求消息之后,确定n个终端中拒绝位置信息暴露的终端信息。该终端信息可包括但不限于拒绝位置信息暴露的终端个数和/或拒绝位置信息暴露的终端标识。In some embodiments, after receiving the first request message, the first network device determines the terminal information of the n terminals that refuses to expose the location information. The terminal information may include but is not limited to the number of terminals that refuse to expose the location information and/or the terminal identifiers that refuse to expose the location information.

在一些实施例中,第一网络设备可根据第二网络设备提供的确定结果,直接确定根据隐私配置n个终端中拒绝位置信息暴露的终端信息。In some embodiments, the first network device may directly determine, based on the determination result provided by the second network device, the terminal information of the n terminals that are denied location information exposure according to the privacy configuration.

在一些实施例中,第一网络设备根据隐私配置,确定n个终端中拒绝位置信息暴露的终端信息。In some embodiments, the first network device determines, based on the privacy configuration, terminal information of the n terminals that refuses to have their location information exposed.

在一些实施例中,第一网络设备根据隐私配置的第一指示,确定对应终端是否拒绝暴露位置信息。例如,第一指示的两个比特值,可指示接受或拒绝位置信息的暴露。In some embodiments, the first network device determines whether the corresponding terminal refuses to expose the location information according to the first indication of the privacy configuration. For example, the two bit values of the first indication may indicate acceptance or refusal of exposure of the location information.

在一些实施例中,第一网络设备根据用户指示,确定n个终端中拒绝位置信息暴露的终端个数。In some embodiments, the first network device determines the number of terminals among the n terminals that refuse to expose their location information according to user instructions.

在一些实施例中,第一网络设备根据隐私配置和用户指示,确定n个终端中拒绝位置信息暴露的终端个数。In some embodiments, the first network device determines the number of terminals among the n terminals that refuse to expose their location information according to the privacy configuration and the user instruction.

在一些实施例中,第一网络设备根据隐私配置,确定n个终端中隐私配置指示拒绝位置信息暴露的终端个数。In some embodiments, the first network device determines, based on the privacy configuration, the number of terminals among the n terminals for which the privacy configuration indicates that exposure of location information is refused.

S2105:第一网络设备向第三网络设备发送第三请求消息。S2105: The first network device sends a third request message to the third network device.

在一些实施例中,针对隐私配置表明第m个终端接受位置信息暴露的情况下,且在第m个终端的隐私配置包含第二指示的情况下,则需要获取用户指示第m个终端当前是否拒绝位置信息暴露的验证结果。此时,需要结合隐私配置和用户指示,确定第m个终端是否拒绝位置信息暴露。在这种情况下,第一网络设备会向第m个终端的第三网络设备发送第三请求消息。In some embodiments, when the privacy configuration indicates that the mth terminal accepts the exposure of location information, and when the privacy configuration of the mth terminal includes a second indication, it is necessary to obtain a verification result indicating whether the user currently indicates that the mth terminal refuses the exposure of location information. At this time, it is necessary to combine the privacy configuration and the user indication to determine whether the mth terminal refuses the exposure of location information. In this case, the first network device sends a third request message to the third network device of the mth terminal.

针对隐私配置表明第m个终端接受位置信息暴露的情况下,且在第m个终端的隐私配置不包含第二指示的情况下,则不用获取用户指示第m个终端当前是否拒绝位置信息暴露的验证结果,此时单独根据隐私配置确定第m个终端是否拒绝位置信息的暴露。 In the case where the privacy configuration indicates that the mth terminal accepts exposure of location information and the privacy configuration of the mth terminal does not include a second indication, it is not necessary to obtain the verification result of the user indicating whether the mth terminal currently refuses exposure of location information. At this time, whether the mth terminal refuses exposure of location information is determined based on the privacy configuration alone.

在一些实施例中,第二指示可为隐私配置中的第二指示。第二指示,用于指示对应终端的第一指示接受位置信息暴露的情况下,需要基于用户指示进一步确定终端当前是否拒绝位置信息的暴露。In some embodiments, the second indication may be a second indication in a privacy configuration. The second indication is used to indicate that when the first indication of the corresponding terminal accepts the exposure of the location information, it is necessary to further determine whether the terminal currently refuses the exposure of the location information based on the user indication.

在一些实施例中,若第m个终端的隐私配置包含第二指示,第一网络设备向第m个终端的第三网络设备发送第三请求消息。In some embodiments, if the privacy configuration of the m-th terminal includes the second indication, the first network device sends a third request message to the third network device of the m-th terminal.

在一些实施例中,第三请求消息,用于获取验证结果。In some embodiments, the third request message is used to obtain a verification result.

在一些实施例中,第三请求消息包括第m个终端的标识。In some embodiments, the third request message includes an identifier of the mth terminal.

在一些实施例中,n个终端中任意的多个终端共用第三网络设备,则第一网络设备通过一条第三请求消息可以携带这多个终端的标识信息,通过一条第三请求消息触发第三网络设备进行验证并获得验证结果。In some embodiments, any multiple terminals among the n terminals share a third network device, and the first network device can carry identification information of the multiple terminals through a third request message, trigger the third network device to perform verification and obtain verification results through a third request message.

在另一些实施例中,n个终端中任意的多个终端分别对应一第三网络设备,则第一网络设备通过一条第三请求消息携带一个终端的标识信息,通过多条第三请求消息触发该终端对应的第三网络设备进行验证并获得验证结果。该验证结果可用于n个终端中拒绝位置信息暴露的终端信息的首次确定或单独确定。In other embodiments, any multiple terminals among the n terminals correspond to a third network device respectively, and the first network device carries the identification information of a terminal through a third request message, triggers the third network device corresponding to the terminal through multiple third request messages to perform verification and obtain verification results. The verification results can be used for the first determination or individual determination of the terminal information of the n terminals that refuses to expose the location information.

在一些实施例中,隐私配置单独包括第二指示而不包括第一指示的情况下,则仅仅需要根据用户指示确定终端是否拒绝位置信息的暴露。In some embodiments, when the privacy configuration includes the second indication alone but does not include the first indication, it is only necessary to determine whether the terminal refuses exposure of the location information according to the user indication.

在一些实施例中,隐私配置同时包括第一指示和第二指示的情况下,则需要在第一指示表明终端接受位置信息暴露的情况下,再需要根据用户指示确定该终端当前是否拒绝位置信息暴露。In some embodiments, when the privacy configuration includes both the first indication and the second indication, it is necessary to determine whether the terminal currently refuses location information exposure based on the user indication when the first indication indicates that the terminal accepts location information exposure.

在一些实施例中,第三网络设备可为终端的接入管理功能(Access Management Function,AMF)。不同的终端的AMF可相同或不同。In some embodiments, the third network device may be an access management function (AMF) of the terminal. The AMFs of different terminals may be the same or different.

若第三网络设备和第一网络设备位于同一个PLMN内,则第一网络设备直接向第三网络设备发送第三请求消息即可。If the third network device and the first network device are located in the same PLMN, the first network device may directly send the third request message to the third network device.

若第三网络设备和第一网络设备位于不同PLMN内,则该第一网络设备通过第三网络设备所在PLMN内的第一网络设备转发第三请求消息。If the third network device and the first network device are located in different PLMNs, the first network device forwards the third request message through the first network device in the PLMN where the third network device is located.

S2106:第三网络设备向第m个终端发送第五请求消息。S2106: The third network device sends a fifth request message to the mth terminal.

在一些实施例中,第五请求消息,用于请求终端获取用户指示,通过该用户指示可以获取该终端当前是否允许暴露位置信息。In some embodiments, the fifth request message is used to request the terminal to obtain a user instruction, through which it can be obtained whether the terminal currently allows exposure of location information.

在一些实施例中,第五请求消息可包括第m个终端的标识信息,也可以不携带第m个终端的标识信息。In some embodiments, the fifth request message may include identification information of the mth terminal, or may not carry identification information of the mth terminal.

在一些实施例中,第三网络设备根据第三请求消息,向第m个终端发送非接入层(Non Access Stratum,NAS)消息。在一些实施例中,该第五请求消息包括询问信息。In some embodiments, the third network device sends a non-access stratum (NAS) message to the mth terminal according to the third request message. In some embodiments, the fifth request message includes query information.

在一些实施例中,该询问信息被显示在终端,可用于询问用户是否同意、拒绝或接受位置信息暴露。In some embodiments, the inquiry information is displayed on the terminal and can be used to ask the user whether to agree, refuse or accept the exposure of the location information.

在一些实施例中,第三网络设备会从终端接收NAS消息的反馈消息。该反馈消息可包括前述用户指示。 In some embodiments, the third network device receives a feedback message of the NAS message from the terminal. The feedback message may include the aforementioned user indication.

S2107:终端向第三网络设备发送第五响应消息。S2107: The terminal sends a fifth response message to the third network device.

在一些实施例中,第五响应消息携带有用户指示。In some embodiments, the fifth response message carries a user instruction.

在一些实施例中,用户指示用于表明用户是否允许终端位置信息暴露。In some embodiments, the user indication is used to indicate whether the user allows the terminal location information to be exposed.

S2108:第三网络设备向第一网络设备返回第三响应消息。S2108: The third network device returns a third response message to the first network device.

在一些实施例中,第三响应消息包括验证结果。In some embodiments, the third response message includes a verification result.

在一些实施例中,根据用户指示或用户指示的获取状况,向第一网络设备返回第三响应消息,第三响应消息包括验证结果。In some embodiments, according to the user instruction or the acquisition status of the user instruction, a third response message is returned to the first network device, and the third response message includes the verification result.

在一些实施例中,验证结果包括成功结果和/或失败结果。In some embodiments, the verification result includes a success result and/or a failure result.

在一些实施例中,成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。In some embodiments, a successful result corresponds to accepting the location information exposure; a failed result corresponds to rejecting the location information exposure.

在一些实施例中,第三网络设备在指定时长内成功接收到第五响应消息,根据用户指示确定验证结果。In some embodiments, the third network device successfully receives the fifth response message within a specified time period and determines the verification result according to the user's instructions.

例如,第三网络设备在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示表明拒绝位置信息暴露,向第一网络设备发送携带失败结果的第三响应消息。For example, the third network device successfully receives the fifth response message within the specified time period and the user instruction carried in the fifth response message indicates rejection of location information exposure, and sends a third response message carrying a failure result to the first network device.

又例如,第三网络设备在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示表明接受位置信息暴露,向第一网络设备发送携带成功结果的第三响应消息。For another example, the third network device successfully receives the fifth response message within the specified time period and the user indication carried in the fifth response message indicates acceptance of location information exposure, and sends a third response message carrying a success result to the first network device.

在一些实施例中,第三网络设备与对应终端的连接建立失败,向第一网络设备发送携带失败结果的第三响应消息;与对应终端建立的连接,用于发送第五请求消息以获取用户指示。In some embodiments, the third network device fails to establish a connection with the corresponding terminal, and sends a third response message carrying a failure result to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain user instructions.

例如,终端处于空闲态,则可能需要先寻呼终端以建立连接。For example, if the terminal is in an idle state, it may be necessary to page the terminal first to establish a connection.

在一些实施例中,在指定时长内未接收到对应终端的用户指示,向第一网络设备发送携带失败结果的第三响应消息。In some embodiments, if no user instruction from the corresponding terminal is received within a specified time period, a third response message carrying a failure result is sent to the first network device.

在一些实施例中,验证失败的原因包括以下指示之一:In some embodiments, the reason for the verification failure includes one of the following indications:

用户指示表明拒绝位置信息暴露;User indication indicating refusal to disclose location information;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第三响应消息会携带各终端验证失败的原因值或原因码且该原因值或原因码与对应的终端关联。如此,第一网络设备可知晓各个终端拒绝位置信息暴露的原因。In some embodiments, the third response message carries a reason value or a reason code for each terminal verification failure, and the reason value or the reason code is associated with the corresponding terminal. In this way, the first network device can know the reason why each terminal refuses to expose the location information.

在一些实施例中,第三响应消息可携带存在的验证失败都得原因,如此第一网络设备可知晓有终端拒绝位置信息暴露以及可能存在的原因,但不知晓各个终端具体的拒绝原因。In some embodiments, the third response message may carry all reasons for the existing verification failures, so that the first network device can know that a terminal refuses to expose the location information and the possible reasons, but does not know the specific reasons for the refusal of each terminal.

S2109:第一网络设备确定是否执行第一请求消息对应的测距/SL定位。S2109: The first network device determines whether to perform ranging/SL positioning corresponding to the first request message.

在一个实施例中,根据第一指示确定出n个终端中拒绝位置信息的第一个数;在隐私配置包括第二指示的情况下,根据用户指示确定n个终端中拒绝位置信息的第二个数;根据第一指示确定出n个终端中拒绝位置信息且在隐私配置包括第二指示的情况下根据用户指示确定n个终端中拒绝位置信息得到的第三个数。通常情况下,第三个数可为第一个数和第二个数的较大者。 In one embodiment, a first number of n terminals that reject location information is determined according to the first indication; if the privacy configuration includes the second indication, a second number of n terminals that reject location information is determined according to the user indication; a third number is obtained by determining the n terminals that reject location information according to the first indication and determining the n terminals that reject location information according to the user indication when the privacy configuration includes the second indication. Typically, the third number may be the larger of the first number and the second number.

在本公开实施例中,拒绝位置信息暴露的终端个数可为第一个数、第二个数或者第三个数。In the embodiment of the present disclosure, the number of terminals whose location information is refused to be exposed may be the first number, the second number or the third number.

在一些实施例中,根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, whether to perform ranging/SL positioning corresponding to the first request message is determined based on the terminal information that refuses to expose the location information.

在一些实施例中,根据n个终端中拒绝位置信息暴露的终端个数是否超过规则定义的个数,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, whether to execute ranging/SL positioning corresponding to the first request message is determined based on whether the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule.

在一些实施例中,根据n个终端中规则限定必须参与测距/SL定位的终端是否拒绝位置信息暴露,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, whether to execute ranging/SL positioning corresponding to the first request message is determined based on whether the terminal that must participate in ranging/SL positioning according to the rules among the n terminals refuses to expose its location information.

在一些实施例中,若n个终端中拒绝位置信息暴露的终端个数超过规则定义的个数,确定不执行第一请求消息对应的测距/SL定位。In some embodiments, if the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined not to perform the ranging/SL positioning corresponding to the first request message.

在一些实施例中,若n个终端中拒绝位置信息暴露的终端个数小于或等于规则定义的个数,确定执行第一请求消息对应的测距/SL定位。In some embodiments, if the number of terminals among the n terminals that refuse to expose their location information is less than or equal to the number defined by the rule, it is determined to execute the ranging/SL positioning corresponding to the first request message.

在一些实施例中,若无终端拒绝位置信息暴露,确定执行第一请求消息对应的测距/SL定位。在这种情况下可根据规则来确定,也可以直接确定执行测距/SL定位;In some embodiments, if no terminal refuses to expose the location information, it is determined to perform the ranging/SL positioning corresponding to the first request message. In this case, it can be determined according to the rules, or it can be directly determined to perform the ranging/SL positioning;

在一些实施例中,若拒绝位置信息暴露的终端不是规则定义的必须参加测距/SL定位的终端,确定执行第一请求消息对应的测距/SL定位。In some embodiments, if the terminal that refuses to expose its location information is not a terminal that must participate in ranging/SL positioning as defined by the rules, it is determined to execute ranging/SL positioning corresponding to the first request message.

在一些实施例中,若拒绝位置信息暴露的终端是规则定义的必须参加测距/SL定位的终端,确定不执行第一请求消息对应的测距/SL定位。In some embodiments, if the terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, it is determined not to perform ranging/SL positioning corresponding to the first request message.

在一些实施例中,若n个终端或者n-1个终端拒绝位置信息暴露,确定不执行第一请求消息对应的测距/SL定位。在这种情况下,认为测距/SL是相对测距,必须要有两个终端接受位置信息暴露才进行测距/SL定位。In some embodiments, if n terminals or n-1 terminals refuse to expose their location information, it is determined not to perform the ranging/SL positioning corresponding to the first request message. In this case, ranging/SL is considered to be relative ranging, and two terminals must accept the exposure of their location information before ranging/SL positioning is performed.

在一些实施例中,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果,确定是否执行测距/SL定位。In some embodiments, when n-1 terminals refuse to expose their location information, it is determined whether to perform ranging/SL positioning according to the ranging result indicated by the type information.

例如,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为相对参考终端的距离和/或方向,确定执行测距/SL定位。For example, when n-1 terminals refuse to expose their location information, it is determined to perform ranging/SL positioning according to the ranging result indicated by the type information as the distance and/or direction relative to the reference terminal.

又例如,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为指定终端之间的相对位置关系,确定不执行测距/SL定位。该指定终端不包含参考终端。For another example, when n-1 terminals refuse to expose their location information, it is determined not to perform ranging/SL positioning according to the relative position relationship between designated terminals indicated by the ranging result indicated by the type information. The designated terminals do not include the reference terminal.

还例如,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为终端的绝对位置信息,确定继续执行测距/SL定位。For another example, when n-1 terminals refuse to expose their location information, it is determined to continue to perform ranging/SL positioning according to the ranging result indicated by the type information being the absolute location information of the terminal.

在一些实施例中,若n个终端中规则限定必须参与测距/SL定位的终端是否拒绝位置信息暴露,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, if the rule stipulates that a terminal among the n terminals that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether to execute ranging/SL positioning corresponding to the first request message.

在一些实施例中,若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行第一请求消息对应的测距/SL定位,还包括以下至少之一:In some embodiments, if greater than or equal to 1 and less than or equal to n-2 terminals refuse to expose the location information, determining whether to perform ranging/SL positioning corresponding to the first request message according to the rule also includes at least one of the following:

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,且规则允许小于或等于n-2个终端拒绝位置信息暴露,继续执行第一请求消息对应的测距/SL定位; If the number of terminals greater than or equal to 1 and less than or equal to n-2 refuses to expose the location information, and the rule allows less than or equal to n-2 terminals to refuse to expose the location information, continue to perform the ranging/SL positioning corresponding to the first request message;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则不允许小于或等于n-2个终端拒绝位置信息暴露,停止执行第一请求消息对应的测距/SL定位;If more than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information and the rule does not allow less than or equal to n-2 terminals to refuse to expose their location information, stop executing the ranging/SL positioning corresponding to the first request message;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则指定必须参与测距的终端接受位置信息暴露,确定执行第一请求消息对应的测距/SL定位;If there are greater than or equal to 1 and less than or equal to n-2 terminals that refuse to expose their location information and the rule specifies that the terminals that must participate in ranging accept exposure of their location information, determine to perform ranging/SL positioning corresponding to the first request message;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则指定必须参与测距的终端拒绝位置信息暴露,确定不执行第一请求消息对应的测距/SL定位。If there are greater than or equal to 1 and less than or equal to n-2 terminals that refuse to expose their location information and the rule specifies that the terminals that must participate in ranging refuse to expose their location information, it is determined not to perform ranging/SL positioning corresponding to the first request message.

当然以上仅仅是确定是否执行测距/SL定位的举例说明,具体实现不局限于上述举例。Of course, the above is merely an example of determining whether to perform ranging/SL positioning, and the specific implementation is not limited to the above example.

S2110:第一网络设备向请求端发送第一响应消息。S2110: The first network device sends a first response message to the requesting end.

在一些实施例中,第一响应消息可包括成功响应消息和/或失败响应消息。In some embodiments, the first response message may include a success response message and/or a failure response message.

在一些实施例中,确定不执行第一请求消息对应的测距/SL定位请求,第一网络设备向请求端发送失败响应消息。In some embodiments, it is determined that the ranging/SL positioning request corresponding to the first request message is not to be executed, and the first network device sends a failure response message to the requesting end.

在一些实施例中,失败响应消息,指示测距/SL定位失败。In some embodiments, the failure response message indicates that ranging/SL positioning failed.

在一些实施例中,失败响应消息包括第一信息。In some embodiments, the failure response message includes first information.

在一些实施例中,第一信息用于指示测距定位失败的原因。In some embodiments, the first information is used to indicate the reason why the ranging and positioning fails.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第一信息可逐个终端指示测距/SL定位失败的原因,即第一信息将分别指示每一个终端的测距/SL定位失败的原因。In some embodiments, the first information may indicate the reason for the ranging/SL positioning failure for each terminal, that is, the first information will indicate the reason for the ranging/SL positioning failure of each terminal respectively.

在一些实施例中,第一信息不与终端关联,但是包括本次测距/SL定位失败的各种原因。In some embodiments, the first information is not associated with the terminal, but includes various reasons for the failure of the ranging/SL positioning.

失败消息携带上述信息,可由请求端根据失败原因确定是否重新发起测距/SL定位。The failure message carries the above information, and the requesting end can determine whether to re-initiate ranging/SL positioning based on the cause of the failure.

在一些实施例中,若确定执行第一请求消息对应的测距/SL定位,向请求端发送成功响应消息。In some embodiments, if it is determined to execute the ranging/SL positioning corresponding to the first request message, a success response message is sent to the requesting end.

在一些实施例中,成功响应消息包括测距定位结果。In some embodiments, the success response message includes a ranging positioning result.

在一些实施例中,若并未对所有终端执行测距/SL定位,则成功响应消息还包括以下至少之一:In some embodiments, if ranging/SL positioning is not performed for all terminals, the success response message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,若有对所有终端测距/SL定位,则成功响应消息可不包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或,未参与测距/SL定位的终端的原因信息,从而减少信令开销。In some embodiments, if ranging/SL positioning is performed for all terminals, the success response message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby reducing signaling overhead.

在一些实施例中,在需要获取用户指示确定终端当前时刻是否拒绝位置信息暴露的情况下,第 一网络设备可以向根据隐私配置的第一指示确定接受位置信息暴露的第三网络设备,发送第三请求消息以触发第三网络设备获取到当前的用户指示。此时根据第一指示确定接受位置信息暴露的终端的第三网络设备可以相同或者不同。例如,有部分终端的第三网络设备与该第一网络设备位于相同的PLMN,有部分终端的第三网络设备与该第一网络设备位于不同的PLMN。第一网络设备接收到各个第三网络设备根据用户指示生成的验证结果之后,根据验证结果和规则最终确定是否发起测距/SL定位。故在这种情况下,无需第三网络设备进行是否执行测距/SL定位的判断,因此第三请求消息无需携带规则信息。In some embodiments, when it is necessary to obtain a user instruction to determine whether the terminal refuses to expose the location information at the current moment, the first A network device may send a third request message to a third network device that is determined to accept exposure of location information according to the first indication of the privacy configuration to trigger the third network device to obtain the current user indication. At this time, the third network device of the terminal that is determined to accept exposure of location information according to the first indication may be the same or different. For example, the third network devices of some terminals are located in the same PLMN as the first network device, and the third network devices of some terminals are located in a different PLMN from the first network device. After the first network device receives the verification results generated by each third network device according to the user indication, it finally determines whether to initiate ranging/SL positioning based on the verification results and the rules. Therefore, in this case, there is no need for the third network device to determine whether to perform ranging/SL positioning, so the third request message does not need to carry rule information.

图2B是根据本公开实施例示出的一种测距方法的交互示意图。如图2B所示,本公开实施例涉及测距方法,用于通信系统100。Fig. 2B is an interactive schematic diagram of a distance measurement method according to an embodiment of the present disclosure. As shown in Fig. 2B, the embodiment of the present disclosure relates to a distance measurement method, which is used in a communication system 100.

图2B所示的实施例,第一网络设备根据隐私配置的第一指示确定的拒绝位置信息暴露的终端信息直接确定是否符合执行测距/SL定位的条件。若第一网络设备确定符合执行测距/SL定位的条件,则向第三网络设备发送第四请求消息。该第四请求消息可触发第三网络设备发起测距/SL定位。第三网络设备收到第四请求消息之后,会根据终端隐私配置是否包含第二指示,进一步在终端的隐私配置包括第二指示的情况下获取终端的用户指示,并根据用户指示确定当前时刻拒绝位置信息暴露的终端信息,并进一步根据当前时刻拒绝位置信息暴露的终端信息和规则最终确定是否执行测距/SL定位策略。本公开实施例可适用于符合参加测距/SL定位条件的终端属于同一个第三网络设备的场景,此时第一网络设备仅需要向一个第三网络设备发送一条第四请求消息即可。In the embodiment shown in FIG2B , the first network device directly determines whether the conditions for performing ranging/SL positioning are met based on the terminal information that refuses location information exposure determined by the first indication of the privacy configuration. If the first network device determines that the conditions for performing ranging/SL positioning are met, a fourth request message is sent to the third network device. The fourth request message can trigger the third network device to initiate ranging/SL positioning. After receiving the fourth request message, the third network device will determine the terminal information that refuses location information exposure at the current moment based on whether the terminal privacy configuration includes the second indication, and further obtain the user indication of the terminal if the privacy configuration of the terminal includes the second indication, and determine the terminal information that refuses location information exposure at the current moment based on the user indication, and further determine whether to execute the ranging/SL positioning strategy based on the terminal information and rules that refuse location information exposure at the current moment. The disclosed embodiment can be applied to scenarios where terminals that meet the conditions for participating in ranging/SL positioning belong to the same third network device. At this time, the first network device only needs to send a fourth request message to a third network device.

S2301:请求端向第一网络设备发送第一请求消息。S2301: The requesting end sends a first request message to the first network device.

值得注意的是:该请求端向第一网络设备发送的第一请求消息的可选实施方式均可参见图2A对应实施例的相关步骤S2101。It is worth noting that optional implementation methods of the first request message sent by the requesting end to the first network device can all refer to the relevant step S2101 of the embodiment corresponding to FIG. 2A .

S2302:第一网络设备根据第一请求消息,向第二网络设备发送第二请求消息。S2302: The first network device sends a second request message to the second network device according to the first request message.

值得注意的是:S2302的可选实施方式均可参见图2A对应实施例的相关步骤S2102。It is worth noting that: the optional implementation methods of S2302 can all refer to the relevant step S2102 of the corresponding embodiment of Figure 2A.

S2303:第二网络设备向第一网络设备发送n个终端的隐私配置。S2303: The second network device sends the privacy configurations of n terminals to the first network device.

值得注意的是:S2303的可选实施方式均可参见图2A对应实施例的相关步骤S2103。It is worth noting that: the optional implementation methods of S2303 can all refer to the relevant step S2103 of the corresponding embodiment of Figure 2A.

S2304:第一网络设备根据n个终端的隐私配置确定n个终端中拒绝位置信息暴露的终端信息。S2304: The first network device determines terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals.

在一些实施例中,第一网络设备根据隐私配置的第一指示,确定n个终端中拒绝位置信息暴露的终端信息。In some embodiments, the first network device determines terminal information of the n terminals that refuses to expose location information according to the first indication of the privacy configuration.

第一网络设备根据隐私配置的第一指示,确定n个终端中拒绝位置信息暴露的终端信息,可包括:The first network device determines, according to the first indication of the privacy configuration, terminal information of the n terminals that refuses to expose the location information, which may include:

第一网络设备根据本地缓存n个终端的隐私配置或者第二网络设备请求的隐私配置中的第一指示,确定n个终端中拒绝位置信息暴露的终端信息,或者,The first network device determines terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals cached locally or the first indication in the privacy configuration requested by the second network device, or,

第一网络设备向第二网络设备发送第二请求消息;第二请求消息包括n个终端的标识信息;第二网网络设备根据n个终端的隐私配置中的第一指示得到n个终端拒绝位置信息暴露的终端信息, 第一网络设备从第二网络设备接收第一网络设备发送的终端信息。The first network device sends a second request message to the second network device; the second request message includes identification information of n terminals; the second network device obtains terminal information of n terminals that refuse to expose location information according to the first indication in the privacy configuration of the n terminals, The first network device receives the terminal information sent by the first network device from the second network device.

S2305:第一网络设备根据拒绝位置信息暴露的终端信息,确定是否符合执行第一请求信息对应的测距/SL定位的条件。S2305: The first network device determines whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met based on the terminal information that refuses to expose the location information.

在一些实施例中,在一些实施例中,根据拒绝位置信息暴露的终端信息,确定是否符合执行第一请求信息对应的测距/SL定位的条件。In some embodiments, in some embodiments, based on the terminal information that refuses to expose the location information, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.

在一些实施例中,若n个终端中拒绝位置信息暴露的终端个数是否超过规则定义的个数,确定是否符合执行第一请求信息对应的测距/SL定位的条件。In some embodiments, if the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.

在一些实施例中,若n个终端中规则限定必须参与测距/SL定位的终端是否拒绝位置信息暴露,确定是否符合执行第一请求信息对应的测距/SL定位的条件。In some embodiments, if the rules among the n terminals stipulate whether the terminal that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request information are met.

在一些实施例中,若n个终端中拒绝位置信息暴露的终端个数超过规则定义的个数,确定不符合执行第一请求消息对应的测距/SL定位的条件。In some embodiments, if the number of terminals among the n terminals that refuse to expose their location information exceeds the number defined by the rule, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are not met.

在一些实施例中,若n个终端中拒绝位置信息暴露的终端个数小于或等于规则定义的个数,确定符合执行第一请求消息对应的测距/SL定位的条件。In some embodiments, if the number of terminals among the n terminals that refuse to expose their location information is less than or equal to the number defined by the rule, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are met.

在一些实施例中,若无终端拒绝位置信息暴露,确定符合执行第一请求消息对应的测距/SL定位的条件。在这种情况下可根据规则来确定,也可以直接确定执行测距/SL定位。In some embodiments, if no terminal refuses to expose the location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are met. In this case, it can be determined according to the rules, or it can be directly determined to perform the ranging/SL positioning.

在一些实施例中,若n个终端或者n-1个终端拒绝位置信息暴露,确定不符合执行第一请求消息对应的测距/SL定位的条件。在这种情况下,认为测距/SL是相对测距,必须要有两个终端接受位置信息暴露才进行测距/SL定位。In some embodiments, if n terminals or n-1 terminals refuse to expose their location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are not met. In this case, the ranging/SL is considered to be relative ranging, and two terminals must accept the exposure of their location information before performing ranging/SL positioning.

在一些实施例中,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果,确定是否符合执行测距/SL定位的条件。In some embodiments, when n-1 terminals refuse to expose their location information, it is determined whether the conditions for performing ranging/SL positioning are met based on the ranging result indicated by the type information.

例如,在n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为相对参考终端的距离和/或方向,确定符合执行测距/SL定位的条件。For example, when n-1 terminals refuse to expose their location information, the ranging result indicated by the type information is the distance and/or direction relative to the reference terminal, and it is determined that the conditions for performing ranging/SL positioning are met.

又例如,n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为指定终端之间的相对位置关系,确定符合不执行测距/SL定位的条件。该指定终端不包含参考终端。For another example, when n-1 terminals refuse to expose their location information, the ranging result indicated by the type information is the relative position relationship between the designated terminals, and it is determined that the condition of not performing ranging/SL positioning is met. The designated terminals do not include the reference terminal.

还例如,n-1个终端拒绝位置信息暴露的情况下,根据类型信息指示的测距结果为终端的绝对位置信息,确定继续执行测距/SL定位。For another example, when n-1 terminals refuse to expose their location information, the ranging result indicated by the type information is the absolute location information of the terminal, and it is determined to continue to perform ranging/SL positioning.

在一些实施例中,若n个终端中规则限定必须参与测距/SL定位的终端是否拒绝位置信息暴露,确定是否符合执行第一请求消息对应的测距/SL定位的条件。In some embodiments, if the rules among the n terminals stipulate whether the terminal that must participate in ranging/SL positioning refuses to expose its location information, it is determined whether the conditions for executing the ranging/SL positioning corresponding to the first request message are met.

在一些实施例中,若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否符合执行第一请求消息对应的测距/SL定位的条件,还包括以下至少之一:In some embodiments, if greater than or equal to 1 and less than or equal to n-2 terminals refuse to expose the location information, determining whether the condition for performing the ranging/SL positioning corresponding to the first request message is met according to the rule, further includes at least one of the following:

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,且规则允许小于或等于n-2个终端拒绝位置信息暴露,确定符合执行第一请求消息对应的测距/SL定位的条件; If the number of terminals greater than or equal to 1 and less than or equal to n-2 refuses to expose the location information, and the rule allows less than or equal to n-2 terminals to refuse to expose the location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are met;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则不允许小于或等于n-2个终端拒绝位置信息暴露,确定不符合执行第一请求消息对应的测距/SL定位的条件;If the number of terminals greater than or equal to 1 and less than or equal to n-2 refuses to expose the location information and the rule does not allow the number of terminals less than or equal to n-2 to refuse to expose the location information, it is determined that the conditions for performing the ranging/SL positioning corresponding to the first request message are not met;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则指定必须参与测距的终端接受位置信息暴露,确定符合执行第一请求消息对应的测距/SL定位的条件;If greater than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information and the rule specifies that the terminals that must participate in ranging accept exposure of their location information, it is determined that the conditions for performing ranging/SL positioning corresponding to the first request message are met;

若大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则指定必须参与测距的终端拒绝位置信息暴露,确定不符合执行第一请求消息对应的测距/SL定位的条件。If the number of terminals greater than or equal to 1 and less than or equal to n-2 refuses to expose the location information and the rule specifies that the terminals that must participate in ranging refuse to expose the location information, it is determined that the conditions for executing the ranging/SL positioning corresponding to the first request message are not met.

当然以上仅仅是确定是否符合执行测距/SL定位的条件的举例说明,具体实现不局限于上述举例。Of course, the above is merely an example of determining whether the conditions for performing ranging/SL positioning are met, and the specific implementation is not limited to the above example.

S2306:第一网络设备向第三网络设备发送第四请求消息。S2306: The first network device sends a fourth request message to the third network device.

在一些实施例中,第四请求消息,用于第三网络设备触发终端进行测距/SL定位,即当第三网络设备判定符合测距/SL定位的规则时,触发执行测距/SL定位。In some embodiments, the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning, that is, when the third network device determines that the ranging/SL positioning rules are met, it triggers the execution of ranging/SL positioning.

在一些实施例中,第一网络设备确定发起测距/SL定位,向第三网络设备发送第四请求消息。In some embodiments, the first network device determines to initiate ranging/SL positioning and sends a fourth request message to the third network device.

在一些实施例中,第四请求消息包括参与测距/SL定位的X个终端的标识信息。In some embodiments, the fourth request message includes identification information of X terminals participating in ranging/SL positioning.

该X个终端可为n个终端中接受位置信息暴露的终端,X的取值为小于或等于n的正整数。The X terminals may be terminals whose location information is exposed among the n terminals, and the value of X is a positive integer less than or equal to n.

在一些实施例中,第四请求消息还包括以下至少之一:In some embodiments, the fourth request message further includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息,用于指示参考终端。在一些实施例中,参考终端是请求端指定的终端,此时可通过测距/SL定位测量被测终端(或称目标终端)相对于参考终端的距离和/或方向。在一些情况下,参考终端的位置信息是已知的。Reference terminal information is used to indicate the reference terminal. In some embodiments, the reference terminal is a terminal specified by the requesting end, and the distance and/or direction of the measured terminal (or target terminal) relative to the reference terminal can be measured by ranging/SL positioning. In some cases, the location information of the reference terminal is known.

在一些实施例中,第四请求消息会携带指示信息,该指示信息,用于第三网络设备获取用户指示的终端。该指示信息可为符合测距/SL定位的条件的终端中需要用户指示的标识信息。In some embodiments, the fourth request message may carry indication information, which is used by the third network device to obtain the terminal indicated by the user. The indication information may be identification information of the terminal that meets the ranging/SL positioning conditions and requires user indication.

在一些实施例中,第一网络设备确定X个终端对应的第三网络设备相同,则第一网络设备直接向第三网络设备发送第四请求消息,而非是图2A对应实施例的第三请求消息。In some embodiments, if the first network device determines that the third network devices corresponding to the X terminals are the same, the first network device directly sends a fourth request message to the third network device instead of the third request message of the embodiment corresponding to FIG. 2A .

在一些实施例中,第一网络设备和第三网络设备可位于同一个PLMN中也可以位于不同的PLMN中。当第一网络设备和第三网络设备位于不同的PLMN时,第一网络设备通过第三网络设备所在PLMN的第一网络设备的信息转发或透传,与第三网络设备进行信息交互。In some embodiments, the first network device and the third network device may be located in the same PLMN or in different PLMNs. When the first network device and the third network device are located in different PLMNs, the first network device exchanges information with the third network device through information forwarding or transparent transmission of the first network device of the PLMN where the third network device is located.

S2307:第三网络设备获取终端的用户指示。S2307: The third network device obtains a user instruction of the terminal.

在一些实施例中,第四请求信息指示m个终端的隐私配置包括第二指示的情况下,获取第m个终端的用户指示。In some embodiments, when the fourth request information indicates that the privacy configurations of m terminals include the second indication, the user indication of the mth terminal is obtained.

在一些实施例中,第m个终端的隐私配置包括第二指示的情况下,获取第m个终端的用户指示。 In some embodiments, when the privacy configuration of the mth terminal includes the second indication, the user indication of the mth terminal is obtained.

第三网络设备获取第m个终端的用户指示的可选实施方式,可以参考图2A对应实施例步骤S2106。For an optional implementation manner in which the third network device obtains the user instruction of the m-th terminal, reference may be made to step S2106 of the embodiment corresponding to FIG. 2A .

在一些实施例中,第m个终端的隐私配置不包含第二指示的情况下,可确定第m个终端接受位置信息暴露,无需从第m个终端获取用户指示。In some embodiments, when the privacy configuration of the mth terminal does not include the second indication, it can be determined that the mth terminal accepts the exposure of the location information without obtaining a user indication from the mth terminal.

S2308:第三网络设备根据获取的用户指示得到验证结果。S2308: The third network device obtains a verification result according to the acquired user instruction.

在一些实施例中,第三网络设备获取到Y个终端的用户指示之后,根据Y个终端的用户指示,生成验证结果。In some embodiments, after the third network device obtains the user instructions of the Y terminals, it generates a verification result according to the user instructions of the Y terminals.

Y是参与测距/SL定位终端中隐私配置包含第二指示的终端个数。Y可为小于或等于X的正整数。Y is the number of terminals participating in ranging/SL positioning whose privacy configuration includes the second indication. Y can be a positive integer less than or equal to X.

在Y等于0的情况下,则可以跳过步骤S2306直接生成成功结果。When Y is equal to 0, step S2306 can be skipped to directly generate a successful result.

验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。The verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.

在一些实施例中,第m个终端的用户指示表明拒绝位置信息暴露,验证结果为失败结果,和/或,第m个终端的用户指示表明接受位置信息暴露,验证结果为成功结果,和/或,第m个终端位于网络覆盖范围外,验证结果为失败结果,和/或,在指定时长内未获取到第m个终端的用户指示,验证结果为失败结果,和/或,第三网络设备与第m个终端的连接建立失败,验证结果为失败结果。In some embodiments, the user indication of the mth terminal indicates rejection of location information exposure, and the verification result is a failure result, and/or, the user indication of the mth terminal indicates acceptance of location information exposure, and the verification result is a success result, and/or, the mth terminal is outside the network coverage, and the verification result is a failure result, and/or, the user indication of the mth terminal is not obtained within the specified time period, and the verification result is a failure result, and/or, the connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.

S2309:第三网络设备触发测距/SL定位测距以获得测距定位结果。S2309: The third network device triggers ranging/SL positioning ranging to obtain a ranging and positioning result.

在一些实施例中,第三网络设备可使用相关的测距/SL定位流程执行测距/SL定位。In some embodiments, the third network device may perform ranging/SL positioning using related ranging/SL positioning procedures.

在一些实施例中,第三网络设备向定位管理功能(Location Management Function,LMF)发起测距/SL定位的请求消息,从而实现网络侧触发的测距/SL定位。In some embodiments, the third network device initiates a ranging/SL positioning request message to the Location Management Function (LMF), thereby realizing ranging/SL positioning triggered by the network side.

S2310:第三网络设备向第一网络设备发送第四响应消息。S2310: The third network device sends a fourth response message to the first network device.

在一些实施例中,第四响应消息可为拒绝消息。In some embodiments, the fourth response message may be a rejection message.

在一些实施例中,验证结果指示超过规则定义个数终端拒绝位置信息暴露,向第一网络设备发送拒绝消息。In some embodiments, the verification result indicates that the number of terminals exceeding the number defined by the rule refuses to expose the location information, and a rejection message is sent to the first network device.

在另一些实施例中,验证结果指示规则要求必须参与测距/SL定位的终端拒绝位置信息暴露,向第一网络设备发送拒绝消息。In other embodiments, the verification result indicates that the rule requires the terminal that must participate in ranging/SL positioning to refuse exposure of location information and send a rejection message to the first network device.

在一些实施例中,在一些实施例中,拒绝消息指示拒绝测距/SL定位。In some embodiments, in some embodiments, the rejection message indicates rejection of ranging/SL positioning.

在一些实施例中,拒绝消息还包括第三信息。第三信息指示拒绝测距/SL定位的原因。In some embodiments, the rejection message further includes third information. The third information indicates the reason for rejecting ranging/SL positioning.

在一些实施例中,第三信息指示以下至少之一:In some embodiments, the third information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。 The terminal is outside the network coverage area.

在一些实施例中,第四响应消息可为成功消息。In some embodiments, the fourth response message may be a success message.

在一些实施例中,成功消息至少包括测距定位结果。In some embodiments, the success message includes at least a ranging and positioning result.

在一些实施例中,成功消息还包括以下至少之一:In some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,X个终端均参与了测距/SL定位,则成功消息可不包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或未参与测距/SL定位的终端的原因信息,从而节省信令开销。In some embodiments, if all X terminals participate in ranging/SL positioning, the success message may not include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.

在一些实施例中,少于X个终端参与了测距/SL定位,则成功消息可包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或未参与测距/SL定位的终端的原因信息,从而节省信令开销。In some embodiments, if fewer than X terminals participate in ranging/SL positioning, the success message may include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.

S2311:第一网络设备根据第四响应消息向请求端发送第一响应消息。S2311: The first network device sends a first response message to the requesting end according to the fourth response message.

该第一响应消息为成功响应消息,则成功响应消息可包括定位结果。If the first response message is a success response message, the success response message may include a positioning result.

该第一响应消息为失败响应消息,则失败响应消息可包括失败的原因信息。If the first response message is a failure response message, the failure response message may include information about the cause of the failure.

第一响应消息的具体内容可参见图2A对应实施例的S2110的相关描述。For specific content of the first response message, please refer to the relevant description of S2110 of the embodiment corresponding to Figure 2A.

在本公开实施例中,第一网络设备根据隐私配置的第一指示确定出符合测距/SL定位的条件下,就向第三网络设备发送第四请求消息,以触发第三网络设备发起测距/SL定位测量。通常情况下,根据隐私配置的第一指示接受位置信息暴露的X终端可归属同一个第三网络设备。在这种情况下,第四请求消息可携带有用于第三网络设备根据验证结果最终确定是否执行测距/SL定位的规则,以方便第三网络设备基于规则最终确定是否执行测距/SL定位。In the disclosed embodiment, when the first network device determines that the conditions for ranging/SL positioning are met according to the first indication of the privacy configuration, the first network device sends a fourth request message to the third network device to trigger the third network device to initiate ranging/SL positioning measurement. Generally, the X terminal that accepts the exposure of location information according to the first indication of the privacy configuration can belong to the same third network device. In this case, the fourth request message may carry a rule for the third network device to finally determine whether to perform ranging/SL positioning based on the verification result, so as to facilitate the third network device to finally determine whether to perform ranging/SL positioning based on the rule.

如图3A所示,本公开实施例提供一种测距方法,由第一网络设备执行。As shown in FIG. 3A , an embodiment of the present disclosure provides a ranging method, which is executed by a first network device.

图3A所示的实施例与图2A所示的实施例相关。在有需要基于用户指示的验证结果确定最终拒绝位置信息的终端信息的情况下,第一网络设备会向通过第三请求信息触发第三网络设备获取用户指示以及验证结果,在获取到所有终端的验证结果之后,根据所需获得所有验证结果之后,由第一网络设备根据规则最终确定是否执行测距/SL定位。当然第一网络设备也可以单独根据隐私配置中的第一指示确定是否执行测距/SL定位,而无需获取用户指示的验证结果来最终确定是否执行测距/SL定位结果。The embodiment shown in FIG3A is related to the embodiment shown in FIG2A. In the case where it is necessary to determine the terminal information for the final rejection of the location information based on the verification result indicated by the user, the first network device will trigger the third network device through the third request information to obtain the user instruction and the verification result. After obtaining the verification results of all terminals, after obtaining all the verification results as required, the first network device will finally determine whether to perform ranging/SL positioning according to the rules. Of course, the first network device can also determine whether to perform ranging/SL positioning based on the first indication in the privacy configuration alone, without obtaining the verification result indicated by the user to finally determine whether to perform ranging/SL positioning results.

具体地,本公开实施例提供的测距方法可包括:Specifically, the ranging method provided by the embodiment of the present disclosure may include:

S3101:第一网络设备接收第一请求消息。S3101: The first network device receives a first request message.

在一些实施例中,第一网络设备接收请求端发送的第一请求消息。In some embodiments, the first network device receives a first request message sent by the requester.

在一些实施例中,第一请求消息,用于请求n个终端的测距/侧行链路SL定位。 In some embodiments, the first request message is used to request ranging/sidelink SL positioning of n terminals.

在一些实施例中,n是大于或等于2的正整数。In some embodiments, n is a positive integer greater than or equal to 2.

第一网络设备接收请求端的可选实施例都可以参见图2A对应实施例S2101。For optional embodiments of the first network device receiving the request end, please refer to the corresponding embodiment S2101 of Figure 2A.

在一些实施例中,第一网络设备可为GMLC。In some embodiments, the first network device may be a GMLC.

S3102:第一网络设备确定n个终端中拒绝位置信息暴露的终端信息。S3102: The first network device determines terminal information of n terminals that refuse to have their location information exposed.

在一些实施例中,确定n个终端中拒绝位置信息暴露的终端信息。该终端信息可包括终端个数和/或终端标识。In some embodiments, information of terminals that refuse to expose location information among n terminals is determined. The terminal information may include the number of terminals and/or terminal identifiers.

在一些实施例中,第一网络设备确定n个终端中拒绝位置信息暴露的终端个数可采用如下方式的至少其中之一:In some embodiments, the first network device may determine the number of terminals among the n terminals that refuse to expose their location information by using at least one of the following methods:

方式1:第一网络设备根据n个终端的隐私配置的第一指示,确定n个终端中拒绝位置信息暴露的终端。Mode 1: The first network device determines a terminal among the n terminals that refuses to expose its location information according to a first indication of the privacy configuration of the n terminals.

在一些实施例中,第一指示,单独指示对应终端是否拒绝暴露位置信息。In some embodiments, the first indication separately indicates whether the corresponding terminal refuses to expose the location information.

在另一些实施例中,第一指示,指示对应终端接受位置信息的条件,在不满足条件的情况下可认为终端拒绝位置信息的暴露。In some other embodiments, the first indication indicates a condition for the corresponding terminal to accept the location information. If the condition is not met, it can be considered that the terminal refuses to expose the location information.

此时,第一网络设备可从第二网络设备获取各个终端的隐私配置。第二网络设备可为UDM。At this time, the first network device may obtain the privacy configuration of each terminal from the second network device. The second network device may be a UDM.

在一些实施例中,隐私配置可作为终端的签约数据的组成部分。In some embodiments, the privacy configuration may be a component of the subscription data of the terminal.

在另一些实施例中,第一网络设备还可以从第二网络设备基于隐私配置返回的验证指示,该验证指示至少基于隐私配置中的第一指示确定的对应终端是否拒绝位置信息暴露。In some other embodiments, the first network device may also receive a verification indication returned by the second network device based on the privacy configuration, where the verification indication is at least based on whether the corresponding terminal determines based on the first indication in the privacy configuration whether to refuse location information exposure.

方式2:Method 2:

第一网络设备基于第m个终端的用户指示确定第m个终端是否拒绝位置信息暴露,并统计n个终端中拒绝位置信息暴露的终端。The first network device determines whether the mth terminal refuses location information exposure based on a user instruction of the mth terminal, and counts the terminals that refuse location information exposure among the n terminals.

在一些实施例中,第一网络设备在第m个终端的隐私配置包含第二指示时,基于第m个终端的用户指示确定第m个终端是否拒绝位置信息暴露。In some embodiments, when the privacy configuration of the mth terminal includes the second indication, the first network device determines whether the mth terminal refuses location information exposure based on a user indication of the mth terminal.

在另一些实施例中,第一网络设备也可以根据本地配置信息和/或运营商策略,基于第m个终端的用户指示确定第m个终端是否拒绝位置信息暴露。此处的m是小于或等于n的正整数。In some other embodiments, the first network device may also determine whether the mth terminal refuses location information exposure based on the user instruction of the mth terminal according to local configuration information and/or operator policy. Here, m is a positive integer less than or equal to n.

在需要基于第m个终端的用户指示确定第m个终端是否拒绝位置信息暴露的情况下,第一网络设备向第m个终端的第三网络设备发送第三请求消息。In a case where it is necessary to determine whether the mth terminal refuses location information exposure based on a user instruction of the mth terminal, the first network device sends a third request message to a third network device of the mth terminal.

在一些实施例中,第三请求消息用于获取验证结果。如此,第一网络设备会接收到第三网络设备基于第三请求消息返回的第三响应消息。In some embodiments, the third request message is used to obtain the verification result. In this way, the first network device will receive a third response message returned by the third network device based on the third request message.

在一些实施例中,第三响应消息包括验证结果。该验证结果,指示第m个终端的用户指示表明第m个终端的是否拒绝位置信息暴露。In some embodiments, the third response message includes a verification result, wherein the verification result indicates whether the user of the mth terminal indicates whether the mth terminal refuses to expose the location information.

在一些实施例中,验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。In some embodiments, the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.

方式3:Method 3:

第一网络设备根据n个终端的隐私配置的第一指示确定n个终端中拒绝位置信息暴露的终端。 The first network device determines a terminal among the n terminals that refuses to expose location information according to the first indication of the privacy configuration of the n terminals.

在第m个终端的隐私配置包括第二指示且在根据第m个终端隐私配置的第一指示允许第m个终端暴露隐私的情况下,基于第m个终端的用户指示确定第m个终端是否拒绝位置信息暴露。When the privacy configuration of the mth terminal includes a second indication and the mth terminal is allowed to expose privacy according to the first indication of the privacy configuration of the mth terminal, it is determined whether the mth terminal refuses location information exposure based on a user indication of the mth terminal.

在这种方式可能存在n-a-b个终端接受位置信息暴露,其中,a可为根据第一指示确定拒绝位置信息暴露的终端个数,b可为第一指示允许位置信息暴露的情况下基于用户指示拒绝位置信息暴露的个数。在这种情况下,则n个终端中拒绝位置信息暴露的终端个数可为a+b。In this way, there may be n-a-b terminals that accept location information exposure, where a may be the number of terminals that refuse location information exposure according to the first indication, and b may be the number of terminals that refuse location information exposure based on user instructions when the first indication allows location information exposure. In this case, the number of terminals that refuse location information exposure among the n terminals may be a+b.

在方式3中,第一网络设备可以通过与第三网络设备之间的第三请求消息和第三响应消息的交互,可以实现获取到第m个终端用户指示的验证结果。In mode 3, the first network device can obtain the verification result indicated by the mth terminal user through the interaction of the third request message and the third response message between the first network device and the third network device.

在本实施例中,第一网络设备可以根据需要或者根据规则,选择上述任意一种方式确定n个终端中拒绝位置信息暴露的终端个数。In this embodiment, the first network device may select any of the above methods to determine the number of terminals that refuse to expose location information among the n terminals according to needs or rules.

S3103:第一网络设备确定是否执行第一请求消息对应的测距/SL定位。S3103: The first network device determines whether to perform ranging/SL positioning corresponding to the first request message.

在一些实施例中,根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, whether to perform ranging/SL positioning corresponding to the first request message is determined based on the terminal information that refuses to expose the location information.

在另一些实施例中,确定是否执行第一请求消息对应的测距/SL定位的可选实施方式可参见图2A对应实施例的相关部分。In other embodiments, an optional implementation method for determining whether to perform ranging/SL positioning corresponding to the first request message may refer to the relevant part of the embodiment corresponding to FIG. 2A .

在本公开实施例中,该步骤S3103的可选实施方式可参见图2A对应实施例S2109。In the embodiment of the present disclosure, the optional implementation of step S3103 can be found in the corresponding embodiment S2109 of FIG. 2A .

S3104:第一网络设备发送第一响应消息。S3104: The first network device sends a first response message.

在一些实施例中,第一网络设备向请求端发送第一响应消息。In some embodiments, the first network device sends a first response message to the requester.

在确定不执行测距/SL定位的情况下,第一网络设备向请求端发送失败响应消息。In the case of determining not to perform ranging/SL positioning, the first network device sends a failure response message to the requesting end.

在确定执行测距/SL定位的情况下,第一网络设备向请求端发送成功响应消息。When determining to perform ranging/SL positioning, the first network device sends a success response message to the requesting end.

在一些实施例中,确定不执行第一请求消息对应的测距/SL定位请求,第一网络设备向请求端发送失败响应消息。In some embodiments, it is determined that the ranging/SL positioning request corresponding to the first request message is not to be executed, and the first network device sends a failure response message to the requesting end.

在一些实施例中,失败响应消息,指示测距/SL定位失败。In some embodiments, the failure response message indicates that ranging/SL positioning failed.

在一些实施例中,失败响应消息包括第一信息。In some embodiments, the failure response message includes first information.

在一些实施例中,第一信息用于指示测距定位失败的原因。In some embodiments, the first information is used to indicate the reason why the ranging and positioning fails.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第一信息可是终端粒度,指示每一个终端的测距/SL定位失败的原因。In some embodiments, the first information may be terminal granularity, indicating the reason why the ranging/SL positioning of each terminal fails.

在一些实施例中,第一信息不与终端关联,但是包括本次测距/SL定位失败的各种原因。In some embodiments, the first information is not associated with the terminal, but includes various reasons for the failure of the ranging/SL positioning.

失败消息携带上述信息,可由请求端根据失败原因确定是否重新发起测距/SL定位。The failure message carries the above information, and the requesting end can determine whether to re-initiate ranging/SL positioning based on the cause of the failure.

在一些实施例中,成功响应消息包括测距定位结果。 In some embodiments, the success response message includes a ranging positioning result.

在一些实施例中,若并未对所有终端执行测距/SL定位,则成功响应消息还包括以下至少之一:In some embodiments, if ranging/SL positioning is not performed for all terminals, the success response message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,若有对所有终端测距/SL定位,则成功响应消息可不包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或,未参与测距/SL定位的终端的原因信息,从而减少信令开销。In some embodiments, if ranging/SL positioning is performed for all terminals, the success response message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby reducing signaling overhead.

值得注意的是:在确定执行测距/SL定位的情况下,可以省略成功响应消息的发送,第一网络设备可以直接发起测距/SL定位,如此在获得测距定位结果之后将定位测距结果返回给请求端,从而减少第一网络设备和请求端之间的交互的消息数量。若有部分终端未参与测距/SL定位,可以将参与或未参与测距/SL定位的终端信息和测距定位结果一起返回给终端。It is worth noting that: in the case of determining to perform ranging/SL positioning, the sending of the success response message can be omitted, and the first network device can directly initiate ranging/SL positioning, so that after obtaining the ranging positioning result, the positioning ranging result is returned to the requesting end, thereby reducing the number of interactive messages between the first network device and the requesting end. If some terminals do not participate in ranging/SL positioning, the terminal information participating or not participating in ranging/SL positioning can be returned to the terminal together with the ranging positioning result.

在这种实施例中,在有需要基于用户指示的验证结果最终确定是否执行测距/SL定位结果的情况下,第一网络设备会从一个或多个第三网络设备接收到验证结果之后确定是否执行测距/SL定位,只有确定执行测距/SL定位的情况下,向第三网络设备发送触发测距/SL定位执行的请求消息。In this embodiment, when it is necessary to finally determine whether to execute ranging/SL positioning results based on the verification results indicated by the user, the first network device will determine whether to execute ranging/SL positioning after receiving the verification results from one or more third network devices. Only when it is determined to execute ranging/SL positioning, a request message to trigger the execution of ranging/SL positioning is sent to the third network device.

如图3B所示,本公开实施例提供一种测距方法,由第一网络设备执行。As shown in FIG. 3B , an embodiment of the present disclosure provides a ranging method, which is executed by a first network device.

图3B所示的测距方法可对应于图2B所示的实施例。第一网络设备可根据终端的隐私配置中第一指示确定符合是否执行测距/SL定位的条件。在符合测距/SL定位的条件的情况下,第一网络设备发送第四请求消息以触发测距/SL定位的执行。在一些实施例中第四请求消息可包括供第三网络设备等其他网络设备判断最终是否执行测距/SL定位的规则。The ranging method shown in FIG3B may correspond to the embodiment shown in FIG2B. The first network device may determine whether the conditions for performing ranging/SL positioning are met according to the first indication in the privacy configuration of the terminal. When the conditions for ranging/SL positioning are met, the first network device sends a fourth request message to trigger the execution of ranging/SL positioning. In some embodiments, the fourth request message may include rules for other network devices such as the third network device to determine whether to finally perform ranging/SL positioning.

如图3B所示,该测距方法可包括:As shown in FIG3B , the ranging method may include:

S3201:第一网络设备接收第一请求消息。S3201: The first network device receives a first request message.

在一些实施例中,第一网络设备接收请求端发送的第一请求消息。In some embodiments, the first network device receives a first request message sent by the requester.

在一些实施例中,第一请求消息,用于请求n个终端的测距/侧行链路SL定位。In some embodiments, the first request message is used to request ranging/sidelink SL positioning of n terminals.

在一些实施例中,n是大于或等于2的正整数。In some embodiments, n is a positive integer greater than or equal to 2.

第一网络设备接收请求端的可选实施例都可以参见图2A对应实施例S2101。For optional embodiments of the first network device receiving the request end, please refer to the corresponding embodiment S2101 of Figure 2A.

在一些实施例中,第一网络设备可为GMLC。In some embodiments, the first network device may be a GMLC.

S3202:第一网络设备根据隐私配置确定n个终端中拒绝位置信息暴露的终端信息。S3202: The first network device determines terminal information of n terminals that refuses to expose location information according to the privacy configuration.

在一些实施例中,根据隐私配置的第一指示,确定n个终端中拒绝位置信息暴露的终端信息。In some embodiments, according to the first indication of the privacy configuration, terminal information of the n terminals that refuses to expose location information is determined.

在一些实施例中,第一网络设备缓存一个或多个终端的隐私配置,则根据本地缓存的隐私配置确定n个终端中拒绝位置信息的终端。In some embodiments, the first network device caches the privacy configurations of one or more terminals, and determines the terminal that rejects the location information among the n terminals according to the locally cached privacy configurations.

在另一些实施例中,第一网络设备可以向第二网络设备请求终端的隐私配置,再从第二网络设备获取的隐私配置,确定n个终端中拒绝位置信息暴露的终端。In other embodiments, the first network device may request the privacy configuration of the terminal from the second network device, and then determine the terminal among the n terminals that refuses to expose the location information based on the privacy configuration obtained from the second network device.

在另一些实施例中,第一网络设备可以请求第二网络设备基于终端的隐私配置确定对应终端是 否拒绝位置信息暴露得到第二网络设备返回的验证指示,第一网络设备可根据验证指示统计n个终端中拒绝位置信息暴露的终端数。In some other embodiments, the first network device may request the second network device to determine whether the corresponding terminal is a private terminal based on the privacy configuration of the terminal. If the second network device receives a verification instruction returned by the second network device, the first network device may count the number of terminals that refuse to expose the location information among the n terminals according to the verification instruction.

S3203:第一网络设备发送第四请求消息。S3203: The first network device sends a fourth request message.

在一些实施例中,向第三网络设备发送第四请求消息。In some embodiments, a fourth request message is sent to a third network device.

在一些实施例中,根据拒绝位置信息暴露的终端和/或规则,确定是否执行第一请求消息对应的测距/SL定位。In some embodiments, whether to perform ranging/SL positioning corresponding to the first request message is determined based on the terminal and/or rules that deny exposure of location information.

在一些实施例中,在拒绝位置信息暴露的终端个数未超过规则定义的个数时,向第三网络设备发送第四请求消息。In some embodiments, when the number of terminals that refuse to expose their location information does not exceed the number defined by the rule, a fourth request message is sent to the third network device.

在一些实施例中,在拒绝位置信息暴露的终端个数未超过规则定义的个数时,向参与测距/SL定位的终端的第三网络设备发送第四请求消息。In some embodiments, when the number of terminals that refuse to expose their location information does not exceed the number defined by the rule, a fourth request message is sent to a third network device of the terminal participating in ranging/SL positioning.

在一些实施例中,第四请求消息,用于第三网络设备触发终端进行测距/SL定位。In some embodiments, the fourth request message is used by the third network device to trigger the terminal to perform ranging/SL positioning.

值得注意的是:S3203的可选实施方式都可以参见图2B对应实施例的S2305。It is worth noting that the optional implementation methods of S3203 can all refer to S2305 of the corresponding embodiment of FIG. 2B .

在一些实施例中,第四请求消息包括参与测距/SL定位的X个终端的标识信息。In some embodiments, the fourth request message includes identification information of X terminals participating in ranging/SL positioning.

该X个终端可为n个终端中接受位置信息暴露的终端,X的取值为小于或等于n的正整数。The X terminals may be terminals whose location information is exposed among the n terminals, and the value of X is a positive integer less than or equal to n.

在一些实施例中,第四请求消息还包括以下至少之一:In some embodiments, the fourth request message further includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

在一些实施例中,第一网络设备确定X个终端的第三网络设备相同,则第一网络设备直接向第三网络设备发送第四请求消息,而非是图2A对应实施例的第三请求消息。In some embodiments, if the first network device determines that the third network devices of the X terminals are the same, the first network device directly sends a fourth request message to the third network device instead of the third request message of the embodiment corresponding to FIG. 2A .

在一些实施例中,第一网络设备和第三网络设备可位于同一个PLMN中也可以位于不同的PLMN中。当第一网络设备和第三网络设备位于不同的PLMN时,第一网络设备通过第三网络设备所在PLMN的第一网络设备的信息转发或透传,与第三网络设备进行信息交互。In some embodiments, the first network device and the third network device may be located in the same PLMN or in different PLMNs. When the first network device and the third network device are located in different PLMNs, the first network device exchanges information with the third network device through information forwarding or transparent transmission of the first network device of the PLMN where the third network device is located.

S3204:第一网络设备接收第四响应消息。S3204: The first network device receives a fourth response message.

在一些实施例中,第四响应消息可包括:拒绝消息。In some embodiments, the fourth response message may include: a rejection message.

第一网络设备接收到第三网络设备的拒绝消息表明:第三网络设备用户指示的验证结果确定出超过规则定义个数终端拒绝位置信息暴露和/或规则要求必须参与测距/SL定位的终端拒绝位置信息暴露。The first network device receiving the rejection message from the third network device indicates that the verification result indicated by the user of the third network device determines that more than the number of terminals defined by the rule refuse to expose their location information and/or the rule requires that terminals that must participate in ranging/SL positioning refuse to expose their location information.

在一些实施例中,在一些实施例中,拒绝消息指示拒绝测距/SL定位。In some embodiments, in some embodiments, the rejection message indicates rejection of ranging/SL positioning.

在一些实施例中,拒绝消息还包括第三信息。第三信息指示拒绝测距/SL定位的原因。In some embodiments, the rejection message further includes third information. The third information indicates the reason for rejecting ranging/SL positioning.

在一些实施例中,第三信息指示以下至少之一:In some embodiments, the third information indicates at least one of the following:

用户指示表示拒绝位置信息暴露; The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第四响应消息可为成功消息。In some embodiments, the fourth response message may be a success message.

成功消息可为第三网络设备触发了测距/SL定位之后返回的。The success message may be returned after the third network device triggers ranging/SL positioning.

在一些实施例中,成功消息至少包括测距定位结果。In some embodiments, the success message includes at least a ranging and positioning result.

在一些实施例中,成功消息还包括以下至少之一:In some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,X终端均参与了测距/SL定位,则成功消息可不包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或未参与测距/SL定位的终端的原因信息,从而节省信令开销。In some embodiments, if all X terminals participate in ranging/SL positioning, the success message may not include terminal information participating in ranging/SL positioning, terminal information not participating in ranging/SL positioning, and/or reason information for terminals not participating in ranging/SL positioning, thereby saving signaling overhead.

在一些实施例中,少于X个终端参与了测距/SL定位,则成功消息可包含参与测距/SL定位的终端信息、未参与测距/SL定位的终端信息和/或未参与测距/SL定位的终端的原因信息,从而节省信令开销。In some embodiments, if fewer than X terminals participate in ranging/SL positioning, the success message may include information about terminals participating in ranging/SL positioning, information about terminals not participating in ranging/SL positioning, and/or reason information about terminals not participating in ranging/SL positioning, thereby saving signaling overhead.

S3205:第一网络设备发送第一响应消息。S3205: The first network device sends a first response message.

在一些实施例中,第一网络设备根据第四响应消息发送第一响应消息。In some embodiments, the first network device sends the first response message based on the fourth response message.

第一消息的具体内容可参见图2B对应实施例的S2311的相关描述。For specific content of the first message, please refer to the relevant description of S2311 of the embodiment corresponding to Figure 2B.

在这种实施例中,在第一网络设备确定符合测距/SL定位的条件时就会发送第四请求消息。如果需要获取用户指示的验证,则由第三网络设备等其他网络设备执行。在这种情况下第四请求消息可包括用于其他网络设备确定最终是否执行测距/SL定位的规则。In this embodiment, the first network device sends the fourth request message when it determines that the conditions for ranging/SL positioning are met. If verification of the user's instructions is required, it is performed by other network devices such as the third network device. In this case, the fourth request message may include rules for other network devices to determine whether to perform ranging/SL positioning in the end.

如图4A所示,本公开实施例提供一种测距方法,由第三网络设备执行。该实施例提供的测距方法可对应于图2B和图3B所示的实施例。As shown in Fig. 4A, an embodiment of the present disclosure provides a ranging method, which is executed by a third network device. The ranging method provided by this embodiment may correspond to the embodiments shown in Fig. 2B and Fig. 3B.

该测距方法可是第三网络设备接收第三请求消息。该第三请求消息是用于请求验证结果的消息。第三网络设备基于第三请求消息与终端进行信息交互获得用户指示,并生成验证结果。该验证结果返回给第一网络设备。The ranging method may be that the third network device receives a third request message. The third request message is a message for requesting a verification result. The third network device exchanges information with the terminal based on the third request message to obtain a user instruction and generates a verification result. The verification result is returned to the first network device.

该方法可包括:The method may include:

S4101:第三网络设备接收第三请求消息。S4101: The third network device receives a third request message.

在一些实施例中,第三网络设备接收第一网络设备发送的第三请求消息。In some embodiments, the third network device receives a third request message sent by the first network device.

在一些实施例中,第三请求消息,用于获取用户指示的验证结果。In some embodiments, the third request message is used to obtain a verification result indicated by a user.

在一些实施例中,验证结果,用于供第一网络设备确定请求测距/侧行链路SL定位的n个终端 中拒绝位置信息暴露的终端信息。In some embodiments, the verification result is used by the first network device to determine the n terminals requesting ranging/sidelink SL positioning The terminal information that refuses to expose location information.

在一些实施例中,n是大于或等于2的正整数。In some embodiments, n is a positive integer greater than or equal to 2.

拒绝位置信息暴露的终端信息,用于供第一网络设备确定是否执行第一请求消息对应的测距/SL定位;第一请求消息,用于请求n个终端的测距/SL定位;The terminal information of the terminal that refuses to expose the location information is used for the first network device to determine whether to perform the ranging/SL positioning corresponding to the first request message; the first request message is used to request the ranging/SL positioning of n terminals;

在一些实施例中,第一请求消息,用于请求n个终端的测距/SL定位。In some embodiments, the first request message is used to request ranging/SL positioning of n terminals.

在一些实施例中,第三请求消息包含的信息内容可参见图2A对应实施例的相关部分。In some embodiments, the information content included in the third request message can refer to the relevant part of the embodiment corresponding to FIG. 2A .

S4102:第三网络设备发送第五请求消息。S4102: The third network device sends a fifth request message.

在一些实施例中,基于第三请求消息,第三网络设备向终端发送第五请求消息。In some embodiments, based on the third request message, the third network device sends a fifth request message to the terminal.

在一些实施例中,第五请求消息,用于请求终端获取用户指示。In some embodiments, the fifth request message is used to request the terminal to obtain user instructions.

第五请求消息可为非接入层(Non Access Stratum,NAS)消息。在一些实施例中,该第五请求消息包括询问信息。在一些实施例中,该询问信息被显示在终端,可用于询问用户是否同意、拒绝或接受位置信息暴露。The fifth request message may be a non-access stratum (NAS) message. In some embodiments, the fifth request message includes inquiry information. In some embodiments, the inquiry information is displayed on the terminal and can be used to inquire whether the user agrees, refuses or accepts the exposure of the location information.

在一些实施例中,第三网络设备会从终端接收NAS消息的反馈消息。该反馈消息可包括前述用户指示。In some embodiments, the third network device receives a feedback message of the NAS message from the terminal. The feedback message may include the aforementioned user indication.

S4103:第三网络设备接收第五响应消息。S4103: The third network device receives the fifth response message.

在一些实施例中,第三网络设备接收终端返回的第五响应消息。In some embodiments, the third network device receives a fifth response message returned by the terminal.

在一些实施例中,在一些实施例中,第五响应消息携带有用户指示。In some embodiments, in some embodiments, the fifth response message carries a user instruction.

在一些实施例中,用户指示用于表明用户是否允许终端位置信息暴露。In some embodiments, the user indication is used to indicate whether the user allows the terminal location information to be exposed.

S4104:第三网络设备发送第三响应消息。S4104: The third network device sends a third response message.

在一些实施例中,第三网络设备根据第五响应消息,向第一网络设备发送第三响应消息。In some embodiments, the third network device sends a third response message to the first network device based on the fifth response message.

在一些实施例中,第三响应消息包括验证结果。In some embodiments, the third response message includes a verification result.

在一些实施例中,第三网络设备根据用户指示,向第一网络设备返回第三响应消息,第三响应消息包括验证结果。In some embodiments, the third network device returns a third response message to the first network device according to a user instruction, where the third response message includes a verification result.

在一些实施例中,第三网络设备根据用户指示的获取状况,向第一网络设备发送第三响应消息。In some embodiments, the third network device sends a third response message to the first network device according to the acquisition status indicated by the user.

例如,第三网络设备未获取到用户指示,向第一网络设备发送指示验证失败的第三响应消息。For example, the third network device fails to obtain the user instruction and sends a third response message indicating that the verification fails to the first network device.

又例如,第三网络设备获取到用户指示,则根据用户指示的指示内容向第一网络设备发送第三响应消息。For another example, when the third network device obtains the user instruction, it sends a third response message to the first network device according to the instruction content of the user instruction.

在一些实施例中,验证结果包括成功结果和/或失败结果。In some embodiments, the verification result includes a success result and/or a failure result.

在一些实施例中,成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。In some embodiments, a successful result corresponds to accepting the location information exposure; a failed result corresponds to rejecting the location information exposure.

在一些实施例中,第三网络设备在指定时长内成功接收到第五响应消息,根据用户指示确定验证结果。In some embodiments, the third network device successfully receives the fifth response message within a specified time period and determines the verification result according to the user's instructions.

例如,第三网络设备在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示表明拒绝位置信息暴露,向第一网络设备发送携带失败结果的第三响应消息。For example, the third network device successfully receives the fifth response message within the specified time period and the user instruction carried in the fifth response message indicates rejection of location information exposure, and sends a third response message carrying a failure result to the first network device.

又例如,第三网络设备在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示 表明接受位置信息暴露,向第一网络设备发送携带成功结果的第三响应消息。For another example, the third network device successfully receives the fifth response message within the specified time period and the user indication carried in the fifth response message Indicates that the location information exposure is accepted, and sends a third response message carrying a success result to the first network device.

在一些实施例中,第三网络设备与对应终端的连接建立失败,向第一网络设备发送携带失败结果的第三响应消息;与对应终端建立的连接,用于发送第五请求消息以获取用户指示。In some embodiments, the third network device fails to establish a connection with the corresponding terminal, and sends a third response message carrying a failure result to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain user instructions.

例如,终端处于空闲态,则可能需要先寻呼终端以建立连接。For example, if the terminal is in an idle state, it may be necessary to page the terminal first to establish a connection.

在一些实施例中,在指定时长内未接收到对应终端的用户指示,向第一网络设备发送携带失败结果的第三响应消息。In some embodiments, if no user instruction from the corresponding terminal is received within a specified time period, a third response message carrying a failure result is sent to the first network device.

在一些实施例中,验证失败的原因包括以下指示之一:In some embodiments, the reason for the verification failure includes one of the following indications:

用户指示表明拒绝位置信息暴露;User indication indicating refusal to disclose location information;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第三响应消息会携带各终端验证失败的原因值或原因码且该原因值或原因码与对应的终端关联。如此,第一网络设备可知晓各个终端拒绝位置信息暴露的原因。In some embodiments, the third response message carries a reason value or a reason code for each terminal verification failure, and the reason value or the reason code is associated with the corresponding terminal. In this way, the first network device can know the reason why each terminal refuses to expose the location information.

在一些实施例中,第三响应消息可携带存在的验证失败都得原因,如此第一网络设备可知晓有终端拒绝位置信息暴露以及可能存在的原因,但不知晓各个终端具体的拒绝原因。In some embodiments, the third response message may carry all reasons for the existing verification failures, so that the first network device can know that a terminal refuses to expose the location information and the possible reasons, but does not know the specific reasons for the refusal of each terminal.

如图4B所示,本公开实施例提供一种测距方法,由第三网络设备执行。该方法可对应于图2B和图3B所示的实施例。该测距方法中第三网络设备接收到第四请求消息中,不是直接根据第四请求消息执行测距/SL定位,而是先确定终端的隐私配置是否包含第二指示且在包含第二指示的情况下,获取基于用户指示的验证结果,并根据验证结果最终确定是否执行测距/SL定位结果。As shown in FIG4B , the embodiment of the present disclosure provides a ranging method, which is performed by a third network device. The method may correspond to the embodiments shown in FIG2B and FIG3B . In the ranging method, when the third network device receives the fourth request message, it does not directly perform ranging/SL positioning according to the fourth request message, but first determines whether the privacy configuration of the terminal includes the second indication and, if it includes the second indication, obtains a verification result based on the user indication, and finally determines whether to perform ranging/SL positioning according to the verification result.

该方法可包括:(S4201:第三网络设备接收第四请求消息。The method may include: (S4201: The third network device receives a fourth request message.

在一些实施例中,第三网络设备接收第一网络设备发送的第四请求消息。In some embodiments, the third network device receives a fourth request message sent by the first network device.

在一些实施例中,第四请求消息,用于触发第三网络设备发起测距/SL定位。在一些实施例中,第四请求消息是由第一网络设备根据n个终端的隐私配置中第一指示确定符合发起测距/SL定位的条件之后发送的。In some embodiments, the fourth request message is used to trigger the third network device to initiate ranging/SL positioning. In some embodiments, the fourth request message is sent by the first network device after determining that the conditions for initiating ranging/SL positioning are met according to the first indication in the privacy configuration of the n terminals.

在一些实施例中,第四请求消息包括:符合参与测距/SL定位条件的终端信息。该终端信息可包括但不限于终端标识。In some embodiments, the fourth request message includes: information of a terminal that meets the conditions for participating in ranging/SL positioning. The terminal information may include but is not limited to a terminal identifier.

值得注意的是此处的第四请求消息的消息内容可参见图2B对应实施例的相关部分。It is worth noting that the message content of the fourth request message here can refer to the relevant part of the embodiment corresponding to FIG. 2B .

S4202:第三网络设备获取终端的用户指示。S4202: The third network device obtains a user instruction of the terminal.

在一些实施例中,用户指示,用于指示对应终端是否拒绝位置信息暴露。In some embodiments, the user indication is used to indicate whether the corresponding terminal refuses to expose the location information.

在一些实施例中,第三网络设备向终端发送第五消息,该第五消息可为非接入层(Non Access Stratum,NAS)消息。在一些实施例中,该第五请求消息包括询问信息。在一些实施例中,该询问信息被显示在终端,可用于询问用户是否同意、拒绝或接受位置信息暴露。在一些实施例中,第三网络设备会从终端接收NAS消息的反馈消息。该反馈消息可包括前述用户指示。In some embodiments, the third network device sends a fifth message to the terminal, and the fifth message may be a non-access stratum (NAS) message. In some embodiments, the fifth request message includes query information. In some embodiments, the query information is displayed on the terminal and can be used to ask the user whether to agree, refuse or accept the exposure of location information. In some embodiments, the third network device receives a feedback message of the NAS message from the terminal. The feedback message may include the aforementioned user instructions.

在一些实施例中,第三网络设备根据用户指示生成验证结果。该验证结果可指示以下至少之一: In some embodiments, the third network device generates a verification result according to the user instruction. The verification result may indicate at least one of the following:

接受位置信息暴露的终端个数;The number of terminals whose location information is exposed;

拒绝位置信息暴露的终端个数;The number of terminals whose location information is refused to be exposed;

接受位置信息暴露的终端标识;The terminal identification receiving the location information exposure;

拒绝位置信息暴露的终端标识。The terminal identity that refuses to expose location information.

S4203:第三网络设备发送第四响应消息。在一些实施例中,根据拒绝位置信息暴露的终端信息,向第一网络设备发送第四响应消息。在一些实施例中,根据拒绝位置信息暴露的终端信息,向第一网络设备发送第四响应消息,包括:S4203: The third network device sends a fourth response message. In some embodiments, according to the terminal information that refuses to expose the location information, the fourth response message is sent to the first network device. In some embodiments, according to the terminal information that refuses to expose the location information, the fourth response message is sent to the first network device, including:

在验证结果表明超过规则定义的个数的终端拒绝位置信息暴露时,向第一网络设备发送拒绝消息,和/或,When the verification result shows that the number of terminals exceeding the number defined by the rule refuses to expose the location information, a rejection message is sent to the first network device, and/or,

在验证结果表明拒绝位置信息暴露的终端包括规则定义必须参加测距/SL定位的终端时,向第一网络设备发送拒绝消息。When the verification result indicates that the terminals for which location information exposure is refused include terminals that must participate in ranging/SL positioning as defined by the rule, a rejection message is sent to the first network device.

在一些实施例中,拒绝消息还包括第三信息。In some embodiments, the rejection message also includes third information.

在一些实施例中,第三信息用于指示拒绝测距的原因。In some embodiments, the third information is used to indicate the reason for rejecting ranging.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,根据验证结果指示拒绝位置信息暴露的终端及规则,向第一网络设备发送第四响应消息。In some embodiments, a fourth response message is sent to the first network device according to the verification result indicating the terminal and rules for rejecting the exposure of the location information.

在一些实施例中,小于规则定义的个数的终端拒绝位置信息暴露,触发测距/SL定位测距以获得测距定位结果,和/或,In some embodiments, terminals whose number is less than that defined by the rule refuse to expose their location information, trigger ranging/SL positioning ranging to obtain ranging and positioning results, and/or,

规则定义必须参与测距/SL定位的终端接受位置信息暴露,触发测距/SL定位测距以获得测距定位结果。The rules define that the terminals that must participate in ranging/SL positioning must accept the exposure of location information and trigger ranging/SL positioning ranging to obtain ranging and positioning results.

在一些实施例中,向第一网络设备发送成功消息。In some embodiments, a success message is sent to the first network device.

在一些实施例中,成功消息至少包括测距定位结果。In some embodiments, the success message includes at least a ranging and positioning result.

在一些实施例中,成功消息还包括以下至少之一:In some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,第四请求消息还包括规则。In some embodiments, the fourth request message also includes rules.

在一些实施例中,该规则可为预先配置在第三网设备上的。 In some embodiments, the rule may be pre-configured on the third network device.

在一些实施例中,该规则可为第三网络设备从其他网络设备请求的,例如,第三网络设备可从NEF、PCF或者AF请求该规则。In some embodiments, the rule may be requested by the third network device from other network devices. For example, the third network device may request the rule from NEF, PCF or AF.

在该实施例中,第三网络设备会在收到第四请求消息之后,会根据第四请求消息获取验证结果,并根据验证结果和第四请求消息包含的规则或者本地存储的规则或者从其他网络设备请求的规则,最终确定是否执行测距/SL定位。In this embodiment, after receiving the fourth request message, the third network device will obtain a verification result based on the fourth request message, and ultimately determine whether to perform ranging/SL positioning based on the verification result and the rules contained in the fourth request message or the rules stored locally or requested from other network devices.

如图5所示,本公开实施例提供一种测距方法由请求端执行。该方法可对应于前述图2A、图2B、图3A、图3B、图4A以及图4B所示的实施例。该方法包括:请求端请求网络侧对n个终端的测距/SL定位,网络侧有多种方式基于隐私配置确定是否执行测距/SL定位,在网络侧确定不执行测距/SL定位的情况下,请求端将接收到指示失败的失败响应消息。在网络侧执行测距/SL定位的情况下,请求端将接收到指示成功的成功响应消息。As shown in FIG5 , an embodiment of the present disclosure provides a ranging method executed by a requesting end. The method may correspond to the embodiments shown in the aforementioned FIG2A , FIG2B , FIG3A , FIG3B , FIG4A , and FIG4B . The method includes: the requesting end requests the network side to perform ranging/SL positioning of n terminals, and the network side has a variety of ways to determine whether to perform ranging/SL positioning based on the privacy configuration. In the case where the network side determines not to perform ranging/SL positioning, the requesting end will receive a failure response message indicating failure. In the case where the network side performs ranging/SL positioning, the requesting end will receive a success response message indicating success.

具体地,该测距方法可包括:Specifically, the ranging method may include:

S5101:请求端发送第一请求消息。S5101: The requesting end sends a first request message.

在一些实施例中,向第一网络设备发送第一请求消息。In some embodiments, a first request message is sent to a first network device.

在一些实施例中,请求端可为应用功能(Application Function,AF)或者定位服务(Location Service,LCS)客户端。In some embodiments, the requesting end may be an application function (AF) or a location service (LCS) client.

在一些实施例中,AF和第一网络设备处于不同安全域内,则由网络开放功能(Network Exposure Function,NEF)转发或透传第一请求消息。In some embodiments, the AF and the first network device are in different security domains, and the first request message is forwarded or transparently transmitted by a network exposure function (NEF).

在一些实施例中,AF和第一网络设备处于相同安全域内,则AF可直接将第一请求消息发送给第一网络设备。In some embodiments, the AF and the first network device are in the same security domain, and the AF may directly send the first request message to the first network device.

值得注意的是:该第一请求消息的相关描述可以参见图2A对应实施例的S2101。It is worth noting that: the relevant description of the first request message can refer to S2101 of the embodiment corresponding to FIG. 2A .

在一些实施例中,第一请求消息,用于请求n个终端的测距/侧行链路SL定位。In some embodiments, the first request message is used to request ranging/sidelink SL positioning of n terminals.

在一些实施例中,n是大于或等于2的正整数。In some embodiments, n is a positive integer greater than or equal to 2.

在一些实施例中,第一请求消息,用于请求n个终端的测距/侧行链路SL定位。In some embodiments, the first request message is used to request ranging/sidelink SL positioning of n terminals.

S5102:请求端接收第一响应消息。S5102: The requesting end receives the first response message.

在一些实施例中,第一响应消息包括距定位失败的失败响应消息。In some embodiments, the first response message includes a failure response message for positioning failure.

在一些实施例中,第一响应消息可包括执行第一请求消息的定位结果。In some embodiments, the first response message may include a positioning result of executing the first request message.

在一些实施例中,失败响应消息还包括第一信息。In some embodiments, the failure response message also includes first information.

在一些实施例中,第一信息用于指示测距定位失败的原因。In some embodiments, the first information is used to indicate the reason why the ranging and positioning fails.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。 The terminal is outside the network coverage area.

在一些实施例中,第一响应消息可包括成功响应消息。In some embodiments, the first response message may include a success response message.

在一些实施例中,成功响应消息还包括第二信息。In some embodiments, the success response message also includes second information.

在一些实施例中,第二信息用于确定参与测距/SL定位的终端。In some embodiments, the second information is used to determine the terminals participating in ranging/SL positioning.

在一些实施例中,验证失败的原因包括以下指示之一:In some embodiments, the reason for the verification failure includes one of the following indications:

用户指示表明拒绝位置信息暴露;User indication indicating refusal to disclose location information;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

总之,本公开实施例中请求端可以请求网络侧进行多个终端的测距/SL定位,并最终从网络侧接收到第一响应消息,在网络侧执行了测距/SL定位的情况下则将获取到测距/SL定位的结果。在网络侧不执行测距/SL定位的情况下会被告知失败的原因。In summary, in the embodiment of the present disclosure, the requesting end can request the network side to perform ranging/SL positioning of multiple terminals, and finally receive a first response message from the network side. If the network side performs ranging/SL positioning, the result of ranging/SL positioning will be obtained. If the network side does not perform ranging/SL positioning, the reason for the failure will be informed.

本公开实施例使得GMLC能够根据业务需求决定接受或拒绝服务请求。The disclosed embodiments enable the GMLC to decide to accept or reject a service request based on business requirements.

使得GMLC可通知服务请求端(例如AF/NF)接受或被拒绝的参与测距的终端。This allows the GMLC to notify the service requesting end (eg AF/NF) of the terminals participating in ranging that are accepted or rejected.

当服务被拒绝时,GMLC能够告知服务请求端(如AF/NF)实际原因。When a service is denied, the GMLC can inform the service requester (eg, AF/NF) of the actual reason.

在SL-MT-LR过程中,允许LCS客户端或AF/NF获取超过两个终端的测距/SL定位结果。GLMC确定这些终端的角色,这些UE的角色可包括:目标终端和参考终端等。且测距/SL定位结果可包括绝对位置、相对位置、终端之间的距离和/或方向等。In the SL-MT-LR process, the LCS client or AF/NF is allowed to obtain ranging/SL positioning results of more than two terminals. The GLMC determines the roles of these terminals, which may include: target terminal and reference terminal, etc. And the ranging/SL positioning results may include absolute position, relative position, distance and/or direction between terminals, etc.

方案1:Scenario 1:

如图6A所示,本公开实施例提供一种测距方法可包括:As shown in FIG6A , the present disclosure provides a ranging method which may include:

步骤1:LCS客户端或AF(通过NEF)向(H)GMLC发送LCS服务请求,以获取n个终端的测距/SL定位结果。该请求可能包括所需的QoS、所需的定位结果类型信息以及参考终端的信息。Step 1: The LCS client or AF (via NEF) sends an LCS service request to the (H)GMLC to obtain the ranging/SL positioning results of n terminals. The request may include the required QoS, the required positioning result type information, and the reference terminal information.

定位结果类型的信息可包括但不限于:与终端相关的绝对位置、相对位置或距离和/或方向。该要求亦可包括有关处理n个终端的规则,例如n个终端必须全部参与测距/SL定位,或允许n个终端的一部分被排除在测距/SL定位之外,等等。具体的规则可以根据业务需求而有所不同。The information of the positioning result type may include, but is not limited to: absolute position, relative position or distance and/or direction related to the terminal. The requirement may also include rules for handling n terminals, such as all n terminals must participate in ranging/SL positioning, or allow part of the n terminals to be excluded from ranging/SL positioning, etc. The specific rules may vary according to business needs.

在一些实施例中,该LCS服务请求还可包括:规则。示例性地,该规则可规定n个终端都必须参与测距,或部分终端可参与出测距。具体的规则可以根据服务需求而异。图6A中的UE就是终端,图6A中的UE1至UEn就是终端1至终端n。In some embodiments, the LCS service request may further include: rules. For example, the rule may specify that all n terminals must participate in ranging, or some terminals may participate in ranging. The specific rules may vary according to service requirements. The UE in FIG. 6A is a terminal, and UE1 to UEn in FIG. 6A are terminals 1 to n.

步骤2:GMLC向UDM发送Nudm-SDM-Get服务操作,以同时获取多个终端的隐私设置。UDM将返回终端的隐私设置给GMLC。GMLC将验证终端的LCS隐私配置。Step 2: GMLC sends Nudm-SDM-Get service operation to UDM to obtain the privacy settings of multiple terminals at the same time. UDM will return the privacy settings of the terminal to GMLC. GMLC will verify the LCS privacy configuration of the terminal.

如果n或n-1个终端没有被授权暴露位置信息,GMLC将确定停止服务且向LCS客户端或AF返回拒绝消息。在该拒绝消息中携带有失败原因。该失败原因可包括但不限于位置拒绝暴露位置信息等。这n或n-1个终端没有被授权暴露位置信息,即这n或n-1个终端拒绝暴露位置信息。If n or n-1 terminals are not authorized to expose location information, GMLC will determine to stop the service and return a rejection message to the LCS client or AF. The rejection message carries the failure reason. The failure reason may include but is not limited to the location rejection to expose location information. The n or n-1 terminals are not authorized to expose location information, that is, the n or n-1 terminals refuse to expose location information.

如果小于或等于n-2个终端没有被授权暴露位置信息,GMLC将根据本地规则确定是否继续执行该流程。如果规则允许,GMLC会进入步骤3。如果规则不允许,则GMLC将停止执行该流程, 且向LCS客户端或者AF发送拒绝消息。该拒绝消息包括失败原因。该失败原因可包括但不限于位置拒绝暴露位置信息等。If less than or equal to n-2 terminals are not authorized to expose location information, GMLC will determine whether to continue the process based on local rules. If the rules allow, GMLC will proceed to step 3. If the rules do not allow, GMLC will stop executing the process. And send a rejection message to the LCS client or AF. The rejection message includes the failure reason. The failure reason may include but is not limited to the location rejection to expose the location information.

本地规则可由测距/SL定位应用或运营商提供或定义。如果是由测距/SL定位应用提供,GMLC可以从PCF或者NEF获取该规则。该规则可被运营商配置在PCF或者NEF上。当然PCF或NEF也可以从AF接收规则。该规则可以在步骤1中接收,或者通过其他步骤来接收。Local rules can be provided or defined by ranging/SL positioning applications or operators. If provided by ranging/SL positioning applications, GMLC can obtain the rules from PCF or NEF. The rules can be configured by the operator on PCF or NEF. Of course, PCF or NEF can also receive rules from AF. The rules can be received in step 1 or received through other steps.

步骤3:如果隐私配置具有隐私通知或隐私验证的指示符,则GMLC将向参与测距的各个终端对应的UDM发起Nudm-UECM_Get服操作。Step 3: If the privacy configuration has an indicator of privacy notification or privacy verification, the GMLC will initiate a Nudm-UECM_Get service operation to the UDM corresponding to each terminal participating in the ranging.

步骤4:GMLC向参与测距的终端的服务AMF发起Namf-Location-Notification服务操作,以请求m个终端的通知结果。Step 4: GMLC initiates the Namf-Location-Notification service operation to the serving AMF of the terminals participating in ranging to request the notification results of m terminals.

步骤5:服务AMF向终端发起NAS通知。Step 5: The service AMF initiates a NAS notification to the terminal.

步骤6:如果m个终端中有部分终端没有获得位置信息暴露的授权,或者有一些终端位于网络覆盖范围外使得服务AMF无法和终端建立NAS连接,服务AMF将向GMLC返回通知结果。该通知结果可指示失败原因。该失败原因可包括但不限于:位置拒绝或者信令连接失败等。Step 6: If some of the m terminals do not obtain authorization to disclose location information, or some terminals are located outside the network coverage so that the serving AMF cannot establish a NAS connection with the terminal, the serving AMF will return a notification result to the GMLC. The notification result may indicate the cause of the failure. The cause of the failure may include, but is not limited to, location rejection or signaling connection failure.

如果服务AMF与终端的信令连接建立失败,或部分终端在预设时长内没有回复,服务AMF将向GMLC指示失败。该失败原因可包括无响应。If the signaling connection between the serving AMF and the terminal fails to be established, or some terminals do not respond within a preset time, the serving AMF will indicate the failure to the GMLC. The failure reason may include no response.

GMLC在接受到所有服务AMF的通知结果之后,GMLC将根据规则检测是否继续流程。After receiving the notification results from all service AMFs, GMLC will check whether to continue the process according to the rules.

如果规则允许,则GMLC执行步骤7;If the rules allow, the GMLC executes step 7;

如果规则不允许,GMLC将停止该流程的执行,且向LCS客户端或AF返回失败消息。该拒绝消息可包括失败原因。该失败原因可包括但不限于:拒绝暴露位置、被规则拒绝等。在一些实施例中,该拒绝消息还可包括:拒绝暴露位置信息的终端清单、位于网络覆盖范围内的终端等。可选地,拒绝消息可包括多种失败原因。例如,失败原因可包括:各终端的拒绝消息。例如,终端1拒绝位置暴露,终端2的连接失败、终端3无用户响应。If the rules do not allow, the GMLC will stop the execution of the process and return a failure message to the LCS client or AF. The rejection message may include the reason for the failure. The reason for the failure may include, but is not limited to: refusal to expose the location, rejection by rules, etc. In some embodiments, the rejection message may also include: a list of terminals that refuse to expose location information, terminals within the network coverage, etc. Optionally, the rejection message may include multiple reasons for failure. For example, the failure reason may include: a rejection message from each terminal. For example, terminal 1 refuses location exposure, terminal 2 fails to connect, and terminal 3 has no user response.

步骤7:GMLC选择发起测距/SL定位的终端,并向终端的服务AMF发起Namf-Location-ProvidePositioningInfo服务操作,以请求n-i个终端的位置信息,i为因为没有授权或者没有隐私确认响应排除的终端个数。Step 7: GMLC selects the terminal to initiate ranging/SL positioning, and initiates the Namf-Location-ProvidePositioningInfo service operation to the terminal's service AMF to request the location information of n-i terminals, where i is the number of terminals excluded due to lack of authorization or privacy confirmation response.

步骤8:如果终端处于连接管理(Connected Management,CM)空闲态,AMF发起网络触发的服务请求以建立与终端之间的信令连接。Step 8: If the terminal is in the Connected Management (CM) idle state, AMF initiates a network-triggered service request to establish a signaling connection with the terminal.

如果信令连接建立失败,则AMF通知GMLC失败,且告知GMLC失败原因,该失败原因可为信令连接失败。(V)GMLC可向(H)GMLC发送Ngmlc-Location-Provide Location响应。该响应可包括失败原因。基于失败原因,GMLC可重新选择相互测距的两个终端,且重复执行步骤8或者向LCS客户端或AF返回拒绝消息。该拒绝消息可包括拒绝原因。该拒绝原因可包括:连接失败。If the signaling connection establishment fails, the AMF notifies the GMLC of the failure and informs the GMLC of the failure reason, which may be a signaling connection failure. (V)GMLC may send a Ngmlc-Location-Provide Location response to (H)GMLC. The response may include the failure reason. Based on the failure reason, the GMLC may reselect two terminals for mutual ranging and repeat step 8 or return a rejection message to the LCS client or AF. The rejection message may include the rejection reason. The rejection reason may include: connection failure.

步骤9-19可是常规的测距/SL定位流程,涉及的步骤可参见图6A,AMF、接入网(例如,新一代接入网(NG-RAN))。Steps 9-19 may be conventional ranging/SL positioning procedures, and the steps involved may be referred to in FIG. 6A , AMF, access network (eg, next generation access network (NG-RAN)).

步骤20:当在LCF服务响应中暴露测距/SL测距结果时,GMLC将通知LCS客户端或AF实际 参与测距的终端的信息。具体可包括:在响应中指示参与测距的终端和/或未参与测距的终端。Step 20: When the ranging/SL ranging result is exposed in the LCF service response, the GMLC will notify the LCS client or AF actual The information of the terminals participating in the ranging may specifically include: indicating the terminals participating in the ranging and/or the terminals not participating in the ranging in the response.

方案2:Scenario 2:

如图6B所示,本公开实施例提供一种测距方法可包括:As shown in FIG6B , the present disclosure provides a ranging method which may include:

步骤S1:LCS客户端或AF(通过NEF)向(H)GMLC发送LCS服务请求,以获取n个终端的测距/SL定位结果。该请求可能包括所需的QoS、所需的定位结果类型信息以及参考终端的信息。Step S1: The LCS client or AF (via NEF) sends an LCS service request to the (H)GMLC to obtain the ranging/SL positioning results of n terminals. The request may include the required QoS, the required positioning result type information, and the reference terminal information.

定位结果类型的信息可包括但不限于:与终端相关的绝对位置、相对位置或相对于参考终端的距离和/或方向。该要求也可包括有关处理n个终端的规则。例如n个终端必须全部参与测距/SL定位,或允许n个终端的一部分被排除在测距/SL定位之外等等。具体的规则可以根据业务需求而有所不同。图6B中的UE就是终端,图6B中的UE1至UEn就是终端1至终端n。The information of the positioning result type may include but is not limited to: the absolute position, relative position or distance and/or direction relative to the reference terminal related to the terminal. The requirement may also include rules for processing n terminals. For example, all n terminals must participate in ranging/SL positioning, or a part of the n terminals may be excluded from ranging/SL positioning, etc. The specific rules may vary according to business requirements. The UE in Figure 6B is the terminal, and UE1 to UEn in Figure 6B are terminals 1 to terminal n.

在一些实施例中,该LCS服务请求还可包括:规则。该规则也可以称之为处理规则。In some embodiments, the LCS service request may further include: a rule. The rule may also be referred to as a processing rule.

示例性地,该规则可规定N个终端都必须参与测距,或部分终端可参与出测距。具体的规则可以根据服务需求而异。Exemplarily, the rule may stipulate that all N terminals must participate in ranging, or some terminals may participate in ranging. The specific rule may vary according to service requirements.

步骤S2:GMLC向UDM发送Nudm-SDM——Get服务操作,以同时获取多个终端的隐私设置。UDM将返回终端的隐私设置给GMLC。GMLC将验证终端的LCS隐私配置。Step S2: GMLC sends Nudm-SDM-Get service operation to UDM to obtain the privacy settings of multiple terminals at the same time. UDM will return the privacy settings of the terminal to GMLC. GMLC will verify the LCS privacy configuration of the terminal.

如果n或n-1个终端没有被授权暴露尾椎信息,GMLC将确定停止服务且向LCS客户端或AF返回拒绝消息。在该拒绝消息中携带有失败原因。该失败原因可包括但不限于位置拒绝暴露位置信息等。If n or n-1 terminals are not authorized to expose tail vertebra information, GMLC will determine to stop the service and return a rejection message to the LCS client or AF. The rejection message carries the failure reason. The failure reason may include but is not limited to the location rejection of exposing location information.

如果小于或等于n+2个终端没有被授权暴露位置信息,GMLC将根据本地规则确定是否继续执行该流程。如果规则允许,GMLC会进入步骤3。如果规则不允许,则GMLC将停止执行该流程,且向LCS客户端或者AF发送拒绝消息。该拒绝消息包括失败原因。该失败原因可包括但不限于终端拒绝暴露位置信息等。If less than or equal to n+2 terminals are not authorized to expose location information, GMLC will determine whether to continue the process according to local rules. If the rules allow, GMLC will proceed to step 3. If the rules do not allow, GMLC will stop executing the process and send a rejection message to the LCS client or AF. The rejection message includes the reason for failure. The reason for failure may include but is not limited to the terminal refusing to expose location information.

本地规则可由测距/SL定位应用或运营商提供或定义。如果是由测距/SL定位应用提供,GMLC可以从PCF或者NEF获取该规则。该规则可被运营商配置在PCF或者NEF上。当然PCF或NEF也可以从AF接收规则。该规则可以在步骤1中接收,或者通过其他步骤来接收。Local rules can be provided or defined by ranging/SL positioning applications or operators. If provided by ranging/SL positioning applications, GMLC can obtain the rules from PCF or NEF. The rules can be configured by the operator on PCF or NEF. Of course, PCF or NEF can also receive rules from AF. The rules can be received in step 1 or received through other steps.

步骤S3:GMLC向n个终端的UDM发起Nudm-UECM-Get服务操作,以选择作为测距/SL定位操作的发起终端以及该发起终端的服务AMF。Step S3: GMLC initiates the Nudm-UECM-Get service operation to the UDMs of n terminals to select the initiating terminal as the ranging/SL positioning operation and the serving AMF of the initiating terminal.

步骤S4:在漫游的场景下,(H)GMLC将向(V)GMLC发送定位且请求。Step S4: In the roaming scenario, the (H)GMLC will send a positioning request to the (V)GMLC.

步骤S5:H)GMLC和(V)GMLC向发起终端的服务AMF发起Namf-Location-ProvidePositioningInfo服务操作,以请求n-a个终端的测距结果,其中a代表因为未被授权参与测距的终端个数。该未被授权参与测距的终端是基于隐私配置的验证确定的。GMLC同时将规则发送至终端的服务AMF。Step S5: H)GMLC and (V)GMLC initiate the Namf-Location-ProvidePositioningInfo service operation to the service AMF of the initiating terminal to request the ranging results of n-a terminals, where a represents the number of terminals that are not authorized to participate in ranging. The terminals that are not authorized to participate in ranging are determined based on the verification of the privacy configuration. GMLC also sends the rules to the service AMF of the terminal.

步骤S6:如果发起终端处于CM-空闲态,AMF发起网络触发服务请求流程以建立与发起终端建立信令连接。Step S6: If the initiating terminal is in CM-idle state, AMF initiates a network triggered service request process to establish a signaling connection with the initiating terminal.

如果信令连接建立失败,Namf-Location-ProvidePositioningInfo响应将由AMF发送至GMLC。 该Namf-Location-ProvidePositioningInfo响应可包括失败原因。该失败原因可为信令连接失败。(V)GMLC可向(H)GMLC发送Ngmlc-location_ProvideLocation响应。该响应可包括失败原因。基于该失败原因可是由(H)GMLC可重新选择发起终端,并重新执行步骤S3,或向LCS客户端或者AF返回拒绝消息。该拒绝消息可包括失败原因。该失败原因可包括但不限于连接失败等。If the signalling connection establishment fails, the Namf-Location-ProvidePositioningInfo response will be sent by the AMF to the GMLC. The Namf-Location-ProvidePositioningInfo response may include a failure reason. The failure reason may be a signaling connection failure. The (V)GMLC may send a Ngmlc-location_ProvideLocation response to the (H)GMLC. The response may include a failure reason. Based on the failure reason, the (H)GMLC may reselect an initiating terminal and re-execute step S3, or return a rejection message to the LCS client or AF. The rejection message may include a failure reason. The failure reason may include, but is not limited to, a connection failure.

步骤S7-S8:如果隐私配置包含第二指示或者第二指示指示需要与用户交互,则AMF通过NAS-Location_Notification Invoke Request和NAS-Location_Notification return result与终端进行信息交互,从而获取到用户指示。Steps S7-S8: If the privacy configuration includes a second indication or the second indication requires interaction with the user, the AMF interacts with the terminal through NAS-Location_Notification Invoke Request and NAS-Location_Notification return result to obtain the user indication.

在m个终端中,如果有终端的用户拒绝位置信息暴露、或有终端在指定时间内未回复,或有部分终端位于网络覆盖范围外,则服务AMF不能与终端建立NAS连接。AMF可根据规则确定是否继续该流程。Among the m terminals, if the user of a terminal refuses to expose the location information, or a terminal does not respond within the specified time, or some terminals are out of network coverage, the service AMF cannot establish a NAS connection with the terminal. The AMF can determine whether to continue the process according to the rules.

如果规则允许,则AMF执行步骤S9;If the rule allows, the AMF executes step S9;

如果规则不允许,则AMF将停止执行该流程,且向(H)GMLC返回拒绝消息。该拒绝消息可通过(V)GMLC返回给(H)GMLC。该拒绝消息可包括失败原因。该失败原因可包括:拒绝位置信息暴露、无响应、规则不允许等。该拒绝消息还可包括:拒绝位置信息暴露的终端抢单、位于网络覆盖范围外的终端清单等。可选地,该拒绝消息可包括多种失败原因。示例性地,该失败原因可包括但不限于:各个终端的失败原因。例如,终端1拒绝位置暴露,终端2的连接失败、终端3无用户响应。If the rules do not allow, the AMF will stop executing the process and return a rejection message to the (H)GMLC. The rejection message can be returned to the (H)GMLC via the (V)GMLC. The rejection message may include the reason for failure. The reason for failure may include: rejection of location information exposure, no response, rule not allowed, etc. The rejection message may also include: rejection of terminal orders for location information exposure, a list of terminals outside the network coverage, etc. Optionally, the rejection message may include multiple reasons for failure. Exemplarily, the failure reason may include, but is not limited to: the failure reason of each terminal. For example, terminal 1 rejects location exposure, terminal 2 fails to connect, and terminal 3 has no user response.

步骤S9:服务AMF选择发起测距/SL定位的发起终端,且向发起终端的LMF发送NLmf_Location_Determine_Location服务操作,以请求测距结果。该策觉结果可包括步骤5中确定的n-a-b个终端的测距结果,其中,b指示基于隐私设备不参与测距的终端个数。Step S9: The serving AMF selects the initiating terminal that initiates ranging/SL positioning, and sends the NLmf_Location_Determine_Location service operation to the LMF of the initiating terminal to request the ranging result. The ranging result may include the ranging results of the n-a-b terminals determined in step 5, where b indicates the number of terminals that do not participate in ranging based on privacy devices.

步骤S10-S19可为常规的执行测距/SL定位的步骤。Steps S10-S19 may be conventional steps for performing ranging/SL positioning.

步骤S20:当在LCF服务响应中暴露测距/SL测距结果时,GMLC将通知LCS客户端或AF实际参与测距的终端的信息。具体可包括:在响应中指示参与测距的终端和/或未参与测距的终端。Step S20: When the ranging/SL ranging result is exposed in the LCF service response, the GMLC will notify the LCS client or AF of the information of the terminals actually participating in the ranging, which may specifically include: indicating the terminals participating in the ranging and/or the terminals not participating in the ranging in the response.

在一些实施例中,GMLC将能够接收并理解处理n个终端的规则。In some embodiments, the GMLC will be able to receive and understand the rules for handling n terminals.

在一些实施例中,在完成n个终端的隐私配置完成验证之后,GMLC将能够基于n个终端的规则处理服务请求。In some embodiments, after completing the verification of the privacy configurations of the n terminals, the GMLC will be able to process service requests based on the rules of the n terminals.

在一些实施例中,在终端的隐私配置中包含指示符的情况下,GMLC能够向终端的服务AMF发送请求以验证终端的隐私。此处的指示符可为前述第二指示的一种。In some embodiments, when the privacy configuration of the terminal includes an indicator, the GMLC can send a request to the service AMF of the terminal to verify the privacy of the terminal. The indicator here can be one of the aforementioned second indications.

在一些实施例中,GMLC能够从服务AMF接收隐私的验证结果。In some embodiments, the GMLC is capable of receiving privacy verification results from the serving AMF.

在一些实施例中,GMLC能够基于服务AMF提供的隐私的验证结果,基于规则处理服务请求。In some embodiments, the GMLC is able to process service requests based on rules based on the verification results of the privacy provided by the serving AMF.

在一些实施例中,GMLC将能够向AMF指示实际且被允许位置暴露的终端的信息。In some embodiments, the GMLC will be able to indicate to the AMF information about terminals whose locations are actually and allowed to be exposed.

在一些实施例中,GMLC可将规则发送给服务AMF。In some embodiments, the GMLC may send the rules to the serving AMF.

GMLC应能够向服务请求端指出测距/SL定位所涉及的实际终端。The GMLC should be able to indicate to the service requester the actual terminal involved in the ranging/SL positioning.

GMLC应能够在拒绝消息中向请求端指出失败原因。 The GMLC shall be able to indicate the reason for the failure to the requester in a rejection message.

GMLC应能够在发送给请求端的拒绝消息中包括拒绝位置暴露的终端列表或覆盖范围之外的ue列表。The GMLC shall be able to include a list of rejected terminals with exposed locations or a list of out-of-coverage UEs in the rejection message sent to the requesting end.

GMLC应能够在发送给请求端的拒绝消息中包含多个失败原因(每个终端的失败原因)。The GMLC shall be able to include multiple failure reasons (one for each terminal) in the rejection message sent to the requesting end.

AMF应能够接收GMLC专门向UE进行隐私验证的请求。The AMF shall be able to receive requests from the GMLC specifically for privacy verification to the UE.

AMF应能够将隐私的验证结果发送给GMLC。The AMF shall be able to send the privacy verification result to the GMLC.

AMF应当能够收到GMLC关于处理n终端的规则。AMF should be able to receive the rules from GMLC on handling n terminals.

AMF在与隐私配置包含指示符时,需要在基于隐私配置验证之后确定如何处理服务请求。When the AMF contains indicators with the privacy configuration, it needs to determine how to process the service request after verification based on the privacy configuration.

AMF应能够在发送给LMF的侧行链路移动终端终止定位(sidelink mobile terminated location request,SL-MT)请求中指出允许测距/SL定位的位置信息暴露的终端。The AMF shall be able to indicate the terminals whose location information is allowed to be exposed for ranging/SL positioning in the sidelink mobile terminated location request (SL-MT) request sent to the LMF.

AMF应能够在拒绝消息中向GMLC失败原因。The AMF shall be able to inform the GMLC of the failure reason in the reject message.

AMF应能够在发送给GMLC的拒绝消息中包括拒绝位置暴露的终端列表或覆盖范围之外的终端列表。The AMF shall be able to include a list of rejected terminals with exposed locations or a list of out-of-coverage terminals in the rejection message sent to the GMLC.

AMF应能够在发送给GMLC的拒绝消息中包含多个失败原因(每个UE的失败原因)。The AMF shall be able to include multiple failure causes (one for each UE) in the reject message sent to the GMLC.

在本公开实施例中,部分或全部步骤、其可选实现方式可以与其他实施例中的部分或全部步骤任意组合,也可以与其他实施例的可选实现方式任意组合。In the embodiments of the present disclosure, part or all of the steps and their optional implementations may be arbitrarily combined with part or all of the steps in other embodiments, or may be arbitrarily combined with optional implementations of other embodiments.

本公开实施例还提供用于实现以上任一方法的装置,例如,提供一种装置,上述装置包括用以实现以上任一种方法中终端所执行的各步骤的单元或模块。再如,还提供另一种装置,包括用以实现以上任一种方法中网络设备(例如,接入网设备、或者核心网设备等)所执行的各步骤的单元或模块。The embodiments of the present disclosure also provide a device for implementing any of the above methods, for example, a device is provided, the above device includes a unit or module for implementing each step performed by the terminal in any of the above methods. For another example, another device is provided, including a unit or module for implementing each step performed by a network device (for example, an access network device, or a core network device, etc.) in any of the above methods.

应理解以上装置中各单元或模块的划分仅是一种逻辑功能的划分,在实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。此外,装置中的单元或模块可以以处理器调用软件的形式实现:例如装置包括处理器,处理器与存储器连接,存储器中存储有指令,处理器调用存储器中存储的指令,以实现以上任一种方法或实现上述装置各单元或模块的功能,其中处理器例如为通用处理器,例如中央处理单元(Central Processing Unit,CPU)或微处理器,存储器为装置内的存储器或装置外的存储器。或者,装置中的单元或模块可以以硬件电路的形式实现,可以通过对硬件电路的设计实现部分或全部单元或模块的功能,上述硬件电路可以理解为一个或多个处理器;例如,在一种实现中,上述硬件电路为专用集成电路(application-specific integrated circuit,ASIC),通过对电路内元件逻辑关系的设计,实现以上部分或全部单元或模块的功能;再如,在另一种实现中,上述硬件电路为可以通过可编程逻辑器件(programmable logic device,PLD)实现,以现场可编程门阵列(Field Programmable Gate Array,FPGA)为例,其可以包括大量逻辑门电路,通过配置文件来配置逻辑门电路之间的连接关系,从而实现以上部分或全部单元或模块的功能。以上装置的所有单元或模块可以全部通过处理器调用软件的形式实现,或全部通过硬件电路的形式实现,或部分通过处理器调用软件的形式实现,剩余部分通过硬件电路的形式实现。It should be understood that the division of the units or modules in the above device is only a division of logical functions, which can be fully or partially integrated into one physical entity or physically separated in actual implementation. In addition, the units or modules in the device can be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units or modules in the device may be implemented in the form of hardware circuits, and the functions of some or all of the units or modules may be implemented by designing the hardware circuits. The hardware circuits may be understood as one or more processors; for example, in one implementation, the hardware circuits are application-specific integrated circuits (ASICs), and the functions of some or all of the above units or modules may be implemented by designing the logical relationship of the components in the circuits; for another example, in another implementation, the hardware circuits may be implemented by programmable logic devices (PLDs), and Field Programmable Gate Arrays (FPGAs) may be used as an example, which may include a large number of logic gate circuits, and the connection relationship between the logic gate circuits may be configured by configuring the configuration files, thereby implementing the functions of some or all of the above units or modules. All units or modules of the above devices may be implemented in the form of software called by the processor, or in the form of hardware circuits, or in the form of software called by the processor, and the remaining part may be implemented in the form of hardware circuits.

在本公开实施例中,处理器是一种具有信号处理能力的电路,在一种实现中,处理器可以是具 有指令读取与运行能力的电路,例如中央处理单元(Central Processing Unit,CPU)、微处理器、图形处理器(graphics processing unit,GPU)(可以理解为一种微处理器)、或数字信号处理器(digital signal processor,DSP)等;在另一种实现中,处理器可以通过硬件电路的逻辑关系实现一定功能,上述硬件电路的逻辑关系是固定的或可以重构的,例如处理器为专用集成电路(application-specific integrated circuit,ASIC)或可编程逻辑器件(programmable logic device,PLD)实现的硬件电路,例如FPGA。在可重构的硬件电路中,处理器加载配置文档,实现硬件电路配置的过程,可以理解为处理器加载指令,以实现以上部分或全部单元或模块的功能的过程。此外,还可以是针对人工智能设计的硬件电路,其可以理解为一种ASIC,例如神经网络处理单元(Neural Network Processing Unit,NPU)、张量处理单元(Tensor Processing Unit,TPU)、深度学习处理单元(Deep learning Processing Unit,DPU)等。In the embodiment of the present disclosure, the processor is a circuit having signal processing capability. In one implementation, the processor may be a circuit having Circuits with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can implement certain functions through the logical relationship of the hardware circuit, and the logical relationship of the above hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

图7A是本公开实施例提供的一种第一网络设备,其中,包括:接收模块110,被配置为接收请求端发送的第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;FIG7A is a first network device provided by an embodiment of the present disclosure, which includes: a receiving module 110, configured to receive a first request message sent by a requesting end, the first request message being used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

处理模块120,被配置为确定n个终端中拒绝位置信息暴露的终端信息;根据拒绝位置信息暴露的终端信息,确定是否执行第一请求消息对应的测距/SL定位。The processing module 120 is configured to determine the terminal information that refuses to expose the location information among the n terminals; and determine whether to execute the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information.

在一些实施例中,该第一网络设备还包括发送模块。在一些实施例中,接收模块和/或发送模块可对应于终端的天线或网络接口等具体结构。In some embodiments, the first network device further comprises a sending module. In some embodiments, the receiving module and/or the sending module may correspond to a specific structure such as an antenna or a network interface of the terminal.

值得注意的是,该第一网络设备的处理模块可以执行由第一网络设备执行的测距方法中与信息处理相关的任意步骤。该接收模块,可用于由第一网络设备执行的测距方法中与接收相关的任意步骤。该发送模块,可用于由第一网络设备执行的测距方法中与发送相关的任意步骤。It is worth noting that the processing module of the first network device can execute any step related to information processing in the ranging method executed by the first network device. The receiving module can be used for any step related to receiving in the ranging method executed by the first network device. The sending module can be used for any step related to sending in the ranging method executed by the first network device.

在一些实施例中,处理模块120被配置为根据n个终端的隐私配置确定n个终端中拒绝位置信息暴露的终端信息。In some embodiments, the processing module 120 is configured to determine terminal information of the n terminals that refuses to expose location information according to the privacy configurations of the n terminals.

在一些实施例中,处理模块120还被配置为根据用户指示的验证结果确定n个终端中拒绝位置信息暴露的终端信息。In some embodiments, the processing module 120 is further configured to determine the terminal information of the n terminals that refuses to expose the location information according to the verification result indicated by the user.

在一些实施例中,在一些实施例中,第一网络设备还包括:In some embodiments, in some embodiments, the first network device further includes:

接收模块,被配置为根据第一请求消息向第二网络设备发送第二请求消息,第二请求消息,用于向第二网络设备获取n个终端的隐私配置。The receiving module is configured to send a second request message to the second network device according to the first request message, where the second request message is used to obtain the privacy configurations of n terminals from the second network device.

在一些实施例中,处理模块120还被配置为若第m个终端的隐私配置中第一指示表明接受位置信息且隐私配置包含第二指示,则获取第m个终端的验证结果,m为小于或等于n的正整数。In some embodiments, the processing module 120 is further configured to obtain the verification result of the mth terminal if the first indication in the privacy configuration of the mth terminal indicates acceptance of location information and the privacy configuration includes a second indication, where m is a positive integer less than or equal to n.

在一些实施例中,处理模块120还被配置为若第m个终端的隐私配置中第一指示表明接受位置信息且隐私配置包含第二指示,则向第m个终端的第三网络设备发送第三请求消息,第三请求消息,用于获取验证结果;In some embodiments, the processing module 120 is further configured to send a third request message to a third network device of the mth terminal if the first indication in the privacy configuration of the mth terminal indicates acceptance of location information and the privacy configuration includes the second indication, the third request message being used to obtain a verification result;

接收第三网络设备返回的第三响应消息,第三响应消息包括验证结果。A third response message returned by the third network device is received, where the third response message includes a verification result.

在一些实施例中,验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露; 失败结果对应于拒绝位置信息暴露。In some embodiments, the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; A failure result corresponds to a denial of location information exposure.

在一些实施例中,第m个终端的用户指示表明拒绝位置信息暴露,验证结果为失败结果,和/或,In some embodiments, the user indication of the mth terminal indicates rejection of location information exposure, the verification result is a failure result, and/or,

第m个终端的用户指示表明接受位置信息暴露,验证结果为成功结果,和/或,The user indication of the mth terminal indicates acceptance of the exposure of the location information, the verification result is a successful result, and/or,

第m个终端位于网络覆盖范围外,验证结果为失败结果,和/或,The mth terminal is outside the network coverage, the verification result is a failure result, and/or,

在指定时长内未获取到第m个终端的用户指示,验证结果为失败结果,和/或,If the user instruction of the mth terminal is not obtained within the specified time, the verification result is a failure result, and/or,

第三网络设备与第m个终端的连接建立失败,验证结果为失败结果。The connection establishment between the third network device and the mth terminal fails, and the verification result is a failure result.

在一些实施例中,第一请求消息包括以下至少之一:In some embodiments, the first request message includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to perform the ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

在一些实施例中,处理模块120还被配置为执行以下至少之一:In some embodiments, the processing module 120 is further configured to perform at least one of the following:

无终端拒绝位置信息暴露,确定执行第一请求消息对应的测距/SL定位;No terminal refuses to expose the location information, and determines to execute the ranging/SL positioning corresponding to the first request message;

大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行第一请求消息对应的测距/SL定位;If there are greater than or equal to 1 and less than or equal to n-2 terminals that refuse to expose their location information, it is determined whether to perform ranging/SL positioning corresponding to the first request message according to the rules;

n个终端或者n-1个终端拒绝位置信息暴露,确定不执行第一请求消息对应的测距/SL定位;n terminals or n-1 terminals refuse to expose their location information and determine not to perform ranging/SL positioning corresponding to the first request message;

拒绝位置信息暴露的终端不是规则定义的必须参加测距/SL定位的终端,确定执行第一请求消息对应的测距/SL定位;The terminal that refuses to expose the location information is not a terminal that must participate in ranging/SL positioning as defined by the rule, and determines to execute the ranging/SL positioning corresponding to the first request message;

拒绝位置信息暴露的终端是规则定义的必须参加测距/SL定位的终端,确定不执行第一请求消息对应的测距/SL定位。The terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rules, and determines not to perform ranging/SL positioning corresponding to the first request message.

在一些实施例中,处理模块120还被配置为执行以下至少之一:In some embodiments, the processing module 120 is further configured to perform at least one of the following:

大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,且规则允许小于或等于n-2个终端拒绝位置信息暴露,确定执行第一请求消息对应的测距/SL定位;大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且规则不允许小于或等于n-2个终端拒绝位置信息暴露,确定不执行第一请求消息对应的测距/SL定位。If more than or equal to 1 and less than or equal to n-2 terminals refuse exposure of location information, and the rules allow less than or equal to n-2 terminals to refuse exposure of location information, it is determined to execute the ranging/SL positioning corresponding to the first request message; if more than or equal to 1 and less than or equal to n-2 terminals refuse exposure of location information and the rules do not allow less than or equal to n-2 terminals to refuse exposure of location information, it is determined not to execute the ranging/SL positioning corresponding to the first request message.

在一些实施例中,处理模块120还被配置为确定不执行第一请求消息对应的测距/SL定位,向请求端发送失败响应消息,失败响应消息指示测距定位失败。In some embodiments, the processing module 120 is further configured to determine not to perform ranging/SL positioning corresponding to the first request message, and send a failure response message to the requesting end, where the failure response message indicates that ranging positioning has failed.

在一些实施例中,失败响应消息包括第一信息;第一信息用于指示测距定位失败的原因。In some embodiments, the failure response message includes first information; the first information is used to indicate the reason for the ranging and positioning failure.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败; Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,处理模块120还被配置为确定执行第一请求消息对应的测距/SL定位,向请求端发送成功响应消息;成功响应消息包括测距定位结果。In some embodiments, the processing module 120 is further configured to determine to execute the ranging/SL positioning corresponding to the first request message, and send a success response message to the requesting end; the success response message includes the ranging positioning result.

在一些实施例中,成功响应消息还包括以下至少之一:In some embodiments, the successful response message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,发送模块,还被配置为在确定执行第一请求消息对应的测距/SL定位时,In some embodiments, the sending module is further configured to, when determining to perform ranging/SL positioning corresponding to the first request message,

向第三网络设备发送第四请求消息;第四请求消息,用于第三网络设备触发测距/SL定位的执行;Sending a fourth request message to the third network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning;

接收模块还被配置为接收第三网络设备返回的第四响应消息;根据第四响应消息,向请求端发送第一响应消息。The receiving module is further configured to receive a fourth response message returned by the third network device; and send the first response message to the requesting end according to the fourth response message.

在一些实施例中,第四响应消息包括:第三网络设备基于用户验证结果返回的拒绝消息;或者,In some embodiments, the fourth response message includes: a rejection message returned by the third network device based on the user verification result; or,

第四响应消息包括:第三网络设备基于用户验证结果返回的成功消息,成功消息至少包括测距结果。The fourth response message includes: a success message returned by the third network device based on the user verification result, where the success message at least includes the ranging result.

在一些实施例中,成功消息还包括以下至少之一:In some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

在一些实施例中,拒绝消息还包括第三信息;第三信息包括第三网络设备拒绝测距/SL定位的原因。In some embodiments, the rejection message further includes third information; the third information includes the reason why the third network device rejects ranging/SL positioning.

在一些实施例中,第三信息指示以下至少之一:In some embodiments, the third information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,第四请求消息包括规则;规则,用于第三网络设备用户指示的验证结果确定是否执行测距/SL定位。In some embodiments, the fourth request message includes a rule; the rule is used for determining whether to perform ranging/SL positioning based on a verification result indicated by a user of the third network device.

图7B是本公开实施例提供的第三网络设备的结构示意图。如图7B所示,该第三网络设备包括:FIG7B is a schematic diagram of the structure of a third network device provided in an embodiment of the present disclosure. As shown in FIG7B , the third network device includes:

接收模块210,被配置为接收第一网络设备发送的第三请求消息,第三请求消息,用于获取用户指示的验证结果;验证结果,用于第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒 绝位置信息暴露的终端信息;n是大于或等于2的正整数;发送模块220,被配置为基于第三请求消息,向终端发送第五请求消息,第五请求消息,用于请求终端获取用户指示;The receiving module 210 is configured to receive a third request message sent by the first network device, the third request message is used to obtain a verification result indicated by the user; the verification result is used by the first network device to determine whether the n terminals requesting ranging/sidelink SL positioning are rejected. The terminal information whose absolute location information is exposed; n is a positive integer greater than or equal to 2; the sending module 220 is configured to send a fifth request message to the terminal based on the third request message, the fifth request message being used to request the terminal to obtain a user instruction;

接收模块230,还被配置为接收终端基于第五请求消息返回的第五响应消息;第五响应消息携带有用户指示;The receiving module 230 is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries a user instruction;

发送模块220,还被配置为根据用户指示或用户指示的获取状况,向第一网络设备返回第三响应消息,第三响应消息包括验证结果。The sending module 220 is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, where the third response message includes the verification result.

在一些实施例中,该接收模块和发送模块可对应于网络设备的天线或网络接口等具体结构。In some embodiments, the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of a network device.

可选地,第三网络设备还包括存储模块和/或处理模块,该存储模块可被配置为信息存储。该处理模块可被配置为执行由该第三网络设备执行的测距方法中与信息处理相关的步骤。Optionally, the third network device further includes a storage module and/or a processing module, and the storage module may be configured to store information. The processing module may be configured to execute steps related to information processing in the ranging method executed by the third network device.

在一些实施例中,验证结果包括成功结果和/或失败结果;成功结果对应于接受位置信息暴露;失败结果对应于拒绝位置信息暴露。In some embodiments, the verification result includes a success result and/or a failure result; a success result corresponds to accepting the location information exposure; a failure result corresponds to rejecting the location information exposure.

在一些实施例中,发送模块,还被配置为执行以下至少之一:In some embodiments, the sending module is further configured to perform at least one of the following:

在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示表明拒绝位置信息暴露,向第一网络设备发送携带失败结果的第三响应消息;successfully receiving the fifth response message within the specified time period and the user indication carried in the fifth response message indicates rejection of location information exposure, sending a third response message carrying a failure result to the first network device;

在指定时长内成功接收到第五响应消息且第五响应消息携带的用户指示表明接受位置信息暴露,向第一网络设备发送携带成功结果的第三响应消息;successfully receiving the fifth response message within the specified time period and the user indication carried in the fifth response message indicating acceptance of the location information exposure, sending a third response message carrying a success result to the first network device;

与对应终端的连接建立失败,向第一网络设备发送携带失败结果的第三响应消息;与对应终端建立的连接,用于发送第五请求消息以获取用户指示;The connection establishment with the corresponding terminal fails, and a third response message carrying a failure result is sent to the first network device; the connection established with the corresponding terminal is used to send a fifth request message to obtain a user instruction;

在指定时长内未接收到对应终端的用户指示,向第一网络设备发送携带失败结果的第三响应消息。If no user instruction of the corresponding terminal is received within the specified time period, a third response message carrying a failure result is sent to the first network device.

在一些实施例中,失败结果对应的原因包括以下指示之一:In some embodiments, the reason corresponding to the failure result includes one of the following indications:

用户指示表明拒绝位置信息暴露;User indication indicating refusal to disclose location information;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

图7C是本公开实施例提供的第三网络设备的结构示意图。如图7C所示,该第三网络设备包括:FIG7C is a schematic diagram of the structure of a third network device provided in an embodiment of the present disclosure. As shown in FIG7C , the third network device includes:

接收模块310,被配置为接收第一网络设备发送的第四请求消息;第四请求消息,用于第三网络设备触发测距/SL定位的执行;The receiving module 310 is configured to receive a fourth request message sent by the first network device; the fourth request message is used for the third network device to trigger the execution of ranging/SL positioning;

处理模块320,被配置为根据第四请求消息,获取终端的用户指示;用户指示,用于指示符合参与测距/SL定位的条件的终端当前是否拒绝位置信息暴露;The processing module 320 is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in ranging/SL positioning currently refuses to expose the location information;

发送模块330,被配置为根据拒绝位置信息暴露的终端信息,向第一网络设备发送第四响应消息。The sending module 330 is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information.

在一些实施例中,该接收模块和发送模块可对应于网络设备的天线或网络接口等具体结构。In some embodiments, the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of a network device.

可选地,第三网络设备还包括存储模块和/或处理模块,该存储模块可被配置为信息存储。该处 理模块可被配置为执行由该第三网络设备执行的测距方法中与信息处理相关的步骤。Optionally, the third network device further includes a storage module and/or a processing module, and the storage module may be configured to store information. The processing module may be configured to execute steps related to information processing in the ranging method executed by the third network device.

在一些实施例中,第四请求消息是由第一网络设备根据n个终端的隐私配置中第一指示确定符合发起测距/SL定位的条件之后发送的;第四请求消息包括:符合参与测距/SL定位条件的终端信息。In some embodiments, the fourth request message is sent by the first network device after determining that the conditions for initiating ranging/SL positioning are met based on the first indication in the privacy configuration of n terminals; the fourth request message includes: terminal information that meets the conditions for participating in ranging/SL positioning.

在一些实施例中,处理模块320,还被配置为获取符合参与测距/SL定位条件的终端信息指示的终端中隐私配置包含所述第二指示的终端的用户指示。In some embodiments, the processing module 320 is further configured to obtain a user indication of a terminal whose privacy configuration includes the second indication from among the terminals indicated by the terminal information that meets the conditions for participating in ranging/SL positioning.

在一些实施例中,发送模块330还被配置为在用户指示表明超过规则定义的个数的终端拒绝位置信息暴露时,向第一网络设备发送拒绝消息,和/或,在用户指示表明拒绝位置信息暴露的终端包括规则定义必须参加测距/SL定位的终端时,向第一网络设备发送拒绝消息。In some embodiments, the sending module 330 is also configured to send a rejection message to the first network device when the user indicates that the number of terminals exceeding the number defined by the rule refuses to expose the location information, and/or when the user indicates that the terminals that refuse to expose the location information include terminals that must participate in ranging/SL positioning as defined by the rule, send a rejection message to the first network device.

在一些实施例中,拒绝消息还包括第三信息;第三信息用于指示拒绝测距的原因。In some embodiments, the rejection message further includes third information; the third information is used to indicate the reason for rejecting ranging.

在一些实施例中,第三信息指示以下至少之一:In some embodiments, the third information indicates at least one of the following:

用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,处理模块320,被配置为为小于规则定义的个数的终端拒绝位置信息暴露,触发测距/SL定位测距以获得测距定位结果,和/或,规则定义必须参加测距/SL定位的终端接受位置信息暴露,触发测距/SL定位测距以获得测距定位结果;In some embodiments, the processing module 320 is configured to reject location information exposure for terminals whose number is less than that defined by the rule, trigger ranging/SL positioning ranging to obtain ranging positioning results, and/or, for terminals that must participate in ranging/SL positioning as defined by the rule, accept location information exposure, trigger ranging/SL positioning ranging to obtain ranging positioning results;

发送模块330还被配置向第一网络设备发送成功消息;成功消息至少包括测距定位结果。The sending module 330 is further configured to send a success message to the first network device; the success message at least includes a ranging and positioning result.

在一些实施例中,成功消息还包括以下至少之一:In some embodiments, the success message further includes at least one of the following:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

图7D是本公开实施例提供的一种请求端的结构示意图。该请求端可包括:FIG7D is a schematic diagram of a structure of a request end provided by an embodiment of the present disclosure. The request end may include:

发送模块410,被配置为向第一网络设备发送第一请求消息,第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,n是大于或等于2的正整数;The sending module 410 is configured to send a first request message to the first network device, where the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2;

接收模块420,被配置为接收第一响应消息,第一响应消息包括:距定位失败的失败响应消息,或执行第一请求消息的定位结果。The receiving module 420 is configured to receive a first response message, where the first response message includes: a failure response message indicating a positioning failure, or a positioning result of executing the first request message.

在一些实施例中,该接收模块和发送模块可对应于请求端的天线或网络接口等具体结构。In some embodiments, the receiving module and the sending module may correspond to specific structures such as an antenna or a network interface of the requesting end.

可选地,请求端还包括存储模块和/或处理模块,该存储模块可被配置为信息存储。该处理模块可被配置为执行由该请求端执行的测距方法中与信息处理相关的步骤。Optionally, the requesting end further includes a storage module and/or a processing module, and the storage module may be configured to store information. The processing module may be configured to execute steps related to information processing in the ranging method executed by the requesting end.

在一些实施例中,第一请求消息包括以下至少之一:In some embodiments, the first request message includes at least one of the following:

规则信息,用于确定规则;规则用于根据拒绝位置信息的终端个数确定是否执行第一请求消息 对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to execute the first request message based on the number of terminals that reject the location information Corresponding ranging/SL positioning;

测距/SL定位的需求服务质量QoS;Required quality of service (QoS) for ranging/SL positioning;

类型信息,用于所需的测距结果;Type information for the desired ranging result;

参考终端信息。See Terminal Information.

在一些实施例中,失败响应消息还包括第一信息;第一信息用于指示测距定位失败的原因。In some embodiments, the failure response message also includes first information; the first information is used to indicate the reason for the ranging and positioning failure.

在一些实施例中,第一信息指示以下至少之一:In some embodiments, the first information indicates at least one of the following:

终端拒绝位置信息暴露;The terminal refuses to expose its location information;

规则不允许测距/SL定位;The rules do not allow ranging/SL positioning;

终端连接失败;Terminal connection failed;

终端无响应;The terminal is unresponsive;

终端位于网络覆盖范围外。The terminal is outside the network coverage area.

在一些实施例中,成功响应消息还包括第二信息;第二信息用于确定参与测距/SL定位的终端。In some embodiments, the success response message also includes second information; the second information is used to determine the terminals participating in ranging/SL positioning.

在一些实施例中,第二信息包括以下指示之一:In some embodiments, the second information includes one of the following indications:

参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning;

未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning;

未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning.

本公开实施例还提供一种通信设备,该通信设备可包括:一个或多个处理器;其中,处理器用于调用指令以使得通信设备执行前述任何一个实施例可实现的测距方法。在一些实施例中,该通信设备可为终端和/或网络设备。该网络设备可包括第一网络设备和/或第三网络设备。The present disclosure also provides a communication device, which may include: one or more processors; wherein the processor is used to call instructions so that the communication device executes the ranging method that can be implemented in any of the above embodiments. In some embodiments, the communication device may be a terminal and/or a network device. The network device may include a first network device and/or a third network device.

在一些实施例中,如图8A和/或图8B所示,通信设备8100还包括用于存储指令的一个或多个存储器8102。可选地,全部或部分存储器8102也可以处于通信设备8100之外。8A and/or 8B, the communication device 8100 further includes one or more memories 8102 for storing instructions. Optionally, all or part of the memory 8102 may also be outside the communication device 8100.

该通信设备可为前述的终端以及网络设备。在一些实施例中,该网络设备可为主节点和/或辅助节点。The communication device may be the aforementioned terminal and network device. In some embodiments, the network device may be a primary node and/or an auxiliary node.

在一些实施例中,通信设备8100还包括一个或多个收发器8103。在通信设备8100包括一个或多个收发器8103时,上述方法中的发送接收等通信步骤由收发器8103执行,其他步骤由处理器8101执行。In some embodiments, the communication device 8100 further includes one or more transceivers 8103. When the communication device 8100 includes one or more transceivers 8103, the communication steps such as sending and receiving in the above method are executed by the transceiver 8103, and the other steps are executed by the processor 8101.

在一些实施例中,收发器可以包括接收器和发送器,接收器和发送器可以是分离的,也可以集成在一起。可选地,收发器、收发单元、收发机、收发电路等术语可以相互替换,发送器、发送单元、发送机、发送电路等术语可以相互替换,接收器、接收单元、接收机、接收电路等术语可以相互替换。In some embodiments, the transceiver may include a receiver and a transmitter, and the receiver and the transmitter may be separate or integrated. Optionally, the terms such as transceiver, transceiver unit, transceiver, transceiver circuit, etc. may be replaced with each other, the terms such as transmitter, transmission unit, transmitter, transmission circuit, etc. may be replaced with each other, and the terms such as receiver, receiving unit, receiver, receiving circuit, etc. may be replaced with each other.

可选地,通信设备8100还包括一个或多个接口电路8104,接口电路8104与存储器8102连接,接口电路8104可用于从存储器8102或其他装置接收信号,可用于向存储器8102或其他装置发送信 号。例如,接口电路8104可读取存储器8102中存储的指令,并将该指令发送给处理器8101。Optionally, the communication device 8100 further includes one or more interface circuits 8104, which are connected to the memory 8102. The interface circuit 8104 can be used to receive signals from the memory 8102 or other devices, and can be used to send signals to the memory 8102 or other devices. For example, the interface circuit 8104 may read instructions stored in the memory 8102 and send the instructions to the processor 8101 .

以上实施例描述中的通信设备8100可以是网络设备或者终端,但本公开中描述的通信设备8100的范围并不限于此,通信设备8100的结构可以不受图8A的限制。通信设备可以是独立的设备或者可以是较大设备的一部分。例如通信设备可以是:(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;(2)具有一个或多个IC的集合,可选地,上述IC集合也可以包括用于存储数据,程序的存储部件;(3)ASIC,例如调制解调器(Modem);(4)可嵌入在其他设备内的模块;(5)接收机、终端设备、智能终端设备、蜂窝电话、无线设备、手持机、移动单元、车载设备、网络设备、云设备、人工智能设备等等;(6)其他等等。The communication device 8100 described in the above embodiments may be a network device or a terminal, but the scope of the communication device 8100 described in the present disclosure is not limited thereto, and the structure of the communication device 8100 may not be limited by FIG. 8A. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: (1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.

图8B是本公开实施例提供的芯片8200的结构示意图。对于通信设备8100可以是芯片或芯片系统的情况,可以参见图8B所示的芯片8200的结构示意图,但不限于此。8B is a schematic diagram of the structure of a chip 8200 provided in an embodiment of the present disclosure. In the case where the communication device 8100 may be a chip or a chip system, reference may be made to the schematic diagram of the structure of the chip 8200 shown in FIG8B , but the present invention is not limited thereto.

芯片8200包括一个或多个处理器8201,处理器8201用于调用指令以使得芯片8200执行以上任一种测距方法。The chip 8200 includes one or more processors 8201, and the processor 8201 is used to call instructions so that the chip 8200 executes any of the above ranging methods.

在一些实施例中,芯片8200还包括一个或多个接口电路8202,接口电路8202与存储器8203连接,接口电路8202可以用于从存储器8203或其他装置接收信号,接口电路8202可用于向存储器8203或其他装置发送信号。例如,接口电路8202可读取存储器8203中存储的指令,并将该指令发送给处理器8201。可选地,接口电路、接口、收发管脚、收发器等术语可以相互替换。In some embodiments, the chip 8200 further includes one or more interface circuits 8202, which are connected to the memory 8203. The interface circuit 8202 can be used to receive signals from the memory 8203 or other devices, and the interface circuit 8202 can be used to send signals to the memory 8203 or other devices. For example, the interface circuit 8202 can read the instructions stored in the memory 8203 and send the instructions to the processor 8201. Optionally, the terms such as interface circuit, interface, transceiver pin, and transceiver can be replaced with each other.

在一些实施例中,芯片8200还包括用于存储指令的一个或多个存储器8203。可选地,全部或部分存储器8203可以处于芯片8200之外。In some embodiments, the chip 8200 further includes one or more memories 8203 for storing instructions. Optionally, all or part of the memory 8203 may be outside the chip 8200.

本公开还提供一种存储介质,上述存储介质上存储有指令,当上述指令在通信设备8100上运行时,使得通信设备8100执行以上任一种方法。可选地,上述存储介质是电子存储介质。可选地,上述存储介质是计算机可读存储介质,但也可以是其他装置可读的存储介质。可选地,上述存储介质可以是非暂时性(non-transitory)存储介质,但也可以是暂时性存储介质。The present disclosure also provides a storage medium, on which instructions are stored, and when the instructions are executed on the communication device 8100, the communication device 8100 executes any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but it can also be a storage medium readable by other devices. Optionally, the storage medium can be a non-transitory storage medium, but it can also be a temporary storage medium.

本公开还提供一种程序产品,上述程序产品被通信设备8100执行时,使得通信设备8100执行以上任一种测距方法。可选地,上述程序产品是计算机程序产品。The present disclosure also provides a program product, and when the program product is executed by the communication device 8100, the communication device 8100 executes any one of the above ranging methods. Optionally, the program product is a computer program product.

本公开还提供一种计算机程序,当其在计算机上运行时,使得计算机执行以上任一种测距方法。The present disclosure also provides a computer program, which, when executed on a computer, enables the computer to execute any one of the above distance measurement methods.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本公开旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present disclosure 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 that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。 It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims (46)

一种测距方法,其中,由第一网络设备执行,所述方法包括:接收请求端发送的第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;A ranging method, wherein the method is performed by a first network device, the method comprising: receiving a first request message sent by a requesting end, the first request message being used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2; 确定所述n个终端中拒绝位置信息暴露的终端信息;Determining terminal information of the n terminals that refuses to expose location information; 根据拒绝位置信息暴露的终端信息,确定是否执行所述第一请求消息对应的测距/SL定位。According to the terminal information that refuses to expose the location information, determine whether to execute the ranging/SL positioning corresponding to the first request message. 根据权利要求1所述的方法,其中,所述确定所述n个终端中拒绝位置信息暴露的终端信息,包括:The method according to claim 1, wherein determining the terminal information of the n terminals that refuses to expose the location information comprises: 根据所述n个终端的隐私配置确定所述n个终端中拒绝位置信息暴露的终端信息。Terminal information of the n terminals that refuses to have their location information exposed is determined according to the privacy configurations of the n terminals. 根据权利要求1或2所述的方法,其中,所述确定所述n个终端中拒绝位置信息暴露的终端信息,还包括:The method according to claim 1 or 2, wherein the determining the terminal information of the n terminals that refuses location information exposure further comprises: 根据用户指示的验证结果确定所述n个终端中拒绝位置信息暴露的终端信息。The terminal information of the n terminals that refuses to expose the location information is determined according to the verification result indicated by the user. 根据权利要求2或3所述的方法,其中,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises: 根据所述第一请求消息向第二网络设备发送第二请求消息,所述第二请求消息,用于向所述第二网络设备获取所述n个终端的隐私配置。A second request message is sent to a second network device according to the first request message, where the second request message is used to obtain the privacy configurations of the n terminals from the second network device. 根据权利要求3所述的方法,其中,所述根据用户指示的验证结果确定所述n个终端中拒绝位置信息暴露的终端信息,包括:The method according to claim 3, wherein the determining, according to the verification result indicated by the user, the terminal information of the n terminals that refuses to expose the location information comprises: 若第m个终端的隐私配置中第一指示表明接受位置信息且所述隐私配置包含第二指示,则获取所述第m个终端的验证结果,所述m为小于或等于所述n的正整数。If the first indication in the privacy configuration of the mth terminal indicates that the location information is accepted and the privacy configuration includes the second indication, then the verification result of the mth terminal is obtained, where m is a positive integer less than or equal to n. 根据权利要求5所述的方法,其中,所述第m个终端的隐私配置中第一指示表明接受位置信息且所述隐私配置包含第二指示,则获取第m个终端的验证结果,包括:The method according to claim 5, wherein the first indication in the privacy configuration of the m-th terminal indicates that the location information is accepted and the privacy configuration includes a second indication, then obtaining the verification result of the m-th terminal comprises: 若第m个终端的隐私配置中第一指示表明接受位置信息且所述隐私配置包含第二指示,则向第m个终端的第三网络设备发送第三请求消息,所述第三请求消息,用于获取所述验证结果;If the first indication in the privacy configuration of the m-th terminal indicates that the location information is accepted and the privacy configuration includes the second indication, sending a third request message to the third network device of the m-th terminal, wherein the third request message is used to obtain the verification result; 接收所述第三网络设备返回的第三响应消息,所述第三响应消息包括所述验证结果。A third response message returned by the third network device is received, where the third response message includes the verification result. 根据权利要求3所述的方法,其中,所述验证结果包括成功结果和/或失败结果;所述成功结果对应于接受位置信息暴露;所述失败结果对应于拒绝位置信息暴露。The method according to claim 3, wherein the verification result includes a success result and/or a failure result; the success result corresponds to accepting the exposure of the location information; and the failure result corresponds to rejecting the exposure of the location information. 根据权利要求6所述的方法,其中,The method according to claim 6, wherein 所述第m个终端的用户指示表明拒绝位置信息暴露,所述验证结果为所述失败结果,和/或,The user instruction of the m-th terminal indicates rejection of location information exposure, the verification result is the failure result, and/or, 所述第m个终端的用户指示表明接受位置信息暴露,所述验证结果为所述成功结果,和/或,The user indication of the m-th terminal indicates acceptance of location information exposure, the verification result is the success result, and/or, 所述第m个终端位于网络覆盖范围外,所述验证结果为所述失败结果,和/或,The mth terminal is located outside the network coverage, the verification result is the failure result, and/or, 在指定时长内未获取到第m个终端的用户指示,所述验证结果为所述失败结果,和/或,If the user instruction of the mth terminal is not obtained within the specified time period, the verification result is the failure result, and/or, 所述第三网络设备与第m个终端的连接建立失败,所述验证结果为所述失败结果。The connection establishment between the third network device and the mth terminal fails, and the verification result is the failure result. 根据权利要求1至8任一项所述的方法,其中,所述第一请求消息包括以下至少之一:The method according to any one of claims 1 to 8, wherein the first request message includes at least one of the following: 规则信息,用于确定规则;所述规则用于根据拒绝位置信息的终端个数确定是否执行所述第一 请求消息对应的测距/SL定位;Rule information, used to determine the rule; the rule is used to determine whether to execute the first The ranging/SL positioning corresponding to the request message; 所述测距/SL定位的需求服务质量QoS;The required quality of service QoS of the ranging/SL positioning; 类型信息,用于所需的测距结果;Type information for the desired ranging result; 参考终端信息。See Terminal Information. 根据权利要求1至9任一项所述的方法,其中,所述根据拒绝位置信息暴露的终端信息,确定是否执行所述第一请求消息对应的测距/SL定位,包括以下至少之一:The method according to any one of claims 1 to 9, wherein the determining whether to perform ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information comprises at least one of the following: 无终端拒绝位置信息暴露,确定执行所述第一请求消息对应的测距/SL定位;No terminal refuses to expose the location information, and determines to execute the ranging/SL positioning corresponding to the first request message; 大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行所述第一请求消息对应的测距/SL定位;Terminals greater than or equal to 1 and less than or equal to n-2 refuse to expose their location information, and determine whether to perform ranging/SL positioning corresponding to the first request message according to the rules; n个终端或者n-1个终端拒绝位置信息暴露,确定不执行所述第一请求消息对应的测距/SL定位;n terminals or n-1 terminals refuse to expose their location information and determine not to perform ranging/SL positioning corresponding to the first request message; 拒绝位置信息暴露的终端不是所述规则定义的必须参加测距/SL定位的终端,确定执行所述第一请求消息对应的测距/SL定位;The terminal that refuses to expose the location information is not a terminal that must participate in ranging/SL positioning as defined by the rule, and determines to execute ranging/SL positioning corresponding to the first request message; 拒绝位置信息暴露的终端是所述规则定义的必须参加测距/SL定位的终端,确定不执行所述第一请求消息对应的测距/SL定位。The terminal that refuses to expose its location information is a terminal that must participate in ranging/SL positioning as defined by the rule, and determines not to perform ranging/SL positioning corresponding to the first request message. 根据权利要求10所述的方法,其中,所述大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,根据规则确定是否执行所述第一请求消息对应的测距/SL定位,还包括:The method according to claim 10, wherein the number of terminals greater than or equal to 1 and less than or equal to n-2 that refuse to expose the location information, and determining whether to perform ranging/SL positioning corresponding to the first request message according to a rule, further comprising: 大于或等于1且小于或等于n-2个终端拒绝位置信息暴露,且所述规则允许小于或等于n-2个终端拒绝位置信息暴露,确定执行所述第一请求消息对应的测距/SL定位;If more than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information, and the rule allows less than or equal to n-2 terminals to refuse to expose their location information, it is determined to perform ranging/SL positioning corresponding to the first request message; 大于或等于1且小于或等于n-2个终端拒绝位置信息暴露且所述规则不允许小于或等于n-2个终端拒绝位置信息暴露,确定不执行所述第一请求消息对应的测距/SL定位。If greater than or equal to 1 and less than or equal to n-2 terminals refuse to expose their location information and the rule does not allow less than or equal to n-2 terminals to refuse to expose their location information, it is determined that the ranging/SL positioning corresponding to the first request message will not be performed. 根据权利要求10或11所述的方法,其中,所述方法还包括:The method according to claim 10 or 11, wherein the method further comprises: 确定不执行所述第一请求消息对应的测距/SL定位,向所述请求端发送失败响应消息,所述失败响应消息指示测距定位失败。Determine not to perform the ranging/SL positioning corresponding to the first request message, and send a failure response message to the requesting end, where the failure response message indicates that the ranging positioning failed. 根据权利要求12所述的方法,其中,所述失败响应消息包括第一信息;所述第一信息用于指示所述测距定位失败的原因。The method according to claim 12, wherein the failure response message includes first information; the first information is used to indicate the reason for the failure of the ranging and positioning. 根据权利要求13所述的方法,其中,所述第一信息指示以下至少之一:The method according to claim 13, wherein the first information indicates at least one of the following: 终端拒绝位置信息暴露;The terminal refuses to expose its location information; 规则不允许测距/SL定位;The rules do not allow ranging/SL positioning; 终端连接失败;Terminal connection failed; 终端无响应;The terminal is unresponsive; 终端位于网络覆盖范围外。The terminal is outside the network coverage area. 根据权利要求1至14任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 14, wherein the method further comprises: 确定执行所述第一请求消息对应的测距/SL定位,向所述请求端发送成功响应消息;所述成功响应消息包括测距定位结果。 Determine to execute the ranging/SL positioning corresponding to the first request message, and send a success response message to the request end; the success response message includes the ranging and positioning result. 根据权利要求15所述的方法,其中,所述成功响应消息还包括以下至少之一:The method according to claim 15, wherein the success response message further includes at least one of the following: 参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning; 未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning; 未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning. 根据权利要求1或2所述的方法,其中,在确定执行所述第一请求消息对应的测距/SL定位时,所述方法还包括:The method according to claim 1 or 2, wherein, when determining to perform ranging/SL positioning corresponding to the first request message, the method further comprises: 向第三网络设备发送第四请求消息;所述第四请求消息,用于所述第三网络设备触发测距/SL定位的执行;Sending a fourth request message to the third network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning; 接收所述第三网络设备返回的第四响应消息;Receiving a fourth response message returned by the third network device; 根据所述第四响应消息,向所述请求端发送第一响应消息。According to the fourth response message, a first response message is sent to the requesting end. 根据权利要求17所述的方法,其中,The method according to claim 17, wherein 所述第四响应消息包括:所述第三网络设备基于用户验证结果返回的拒绝消息;或者,The fourth response message includes: a rejection message returned by the third network device based on the user verification result; or, 所述第四响应消息包括:所述第三网络设备基于用户验证结果返回的成功消息,所述成功消息至少包括测距结果。The fourth response message includes: a success message returned by the third network device based on the user verification result, and the success message at least includes a ranging result. 根据权利要求18所述的方法,所述成功消息还包括以下至少之一:The method according to claim 18, wherein the success message further comprises at least one of the following: 参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning; 未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning; 未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning. 根据权利要求18所述的方法,其中,所述拒绝消息还包括第三信息;所述第三信息包括所述第三网络设备拒绝测距/SL定位的原因。The method according to claim 18, wherein the rejection message further includes third information; the third information includes the reason why the third network device rejects ranging/SL positioning. 根据权利要求20所述的方法,其中,所述第三信息指示以下至少之一:The method according to claim 20, wherein the third information indicates at least one of the following: 用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information; 规则不允许测距/SL定位;The rules do not allow ranging/SL positioning; 终端连接失败;Terminal connection failed; 终端无响应;The terminal is unresponsive; 终端位于网络覆盖范围外。The terminal is outside the network coverage area. 根据权利要求17至21任一项所述的方法,其中,所述第四请求消息包括规则;所述规则,用于所述第三网络设备用户指示的验证结果确定是否执行所述测距/SL定位。The method according to any one of claims 17 to 21, wherein the fourth request message includes a rule; the rule is used to determine whether to perform the ranging/SL positioning based on the verification result indicated by the user of the third network device. 一种测距方法,其中,由第三网络设备执行,所述方法包括:接收第一网络设备发送的第三请求消息,所述第三请求消息,用于获取用户指示的验证结果;所述验证结果,用于所述第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;所述n是大于或等于2的正整数;A ranging method, wherein the method is performed by a third network device, the method comprising: receiving a third request message sent by a first network device, the third request message being used to obtain a verification result indicated by a user; the verification result being used by the first network device to determine terminal information of n terminals requesting ranging/sidelink SL positioning that refuses to expose location information; wherein n is a positive integer greater than or equal to 2; 基于所述第三请求消息,向终端发送第五请求消息,所述第五请求消息,用于请求所述终端获取所述用户指示; Based on the third request message, sending a fifth request message to the terminal, where the fifth request message is used to request the terminal to obtain the user indication; 接收所述终端基于所述第五请求消息返回的第五响应消息;所述第五响应消息携带有所述用户指示;receiving a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries the user instruction; 根据所述用户指示和/或所述用户指示的获取状况,向所述第一网络设备返回第三响应消息,所述第三响应消息包括所述验证结果。According to the user instruction and/or the acquisition status of the user instruction, a third response message is returned to the first network device, where the third response message includes the verification result. 根据权利要求23所述的方法,其中,所述验证结果包括成功结果和/或失败结果;所述成功结果对应于接受位置信息暴露;所述失败结果对应于拒绝位置信息暴露。The method according to claim 23, wherein the verification result includes a success result and/or a failure result; the success result corresponds to accepting the exposure of the location information; and the failure result corresponds to rejecting the exposure of the location information. 根据权利要求24所述的方法,其中,所述根据所述第五响应消息,向所述第一网络设备返回第三响应消息,包括以下至少之一:The method according to claim 24, wherein the returning a third response message to the first network device according to the fifth response message comprises at least one of the following: 在指定时长内成功接收到所述第五响应消息且所述第五响应消息携带的所述用户指示表明拒绝位置信息暴露,向所述第一网络设备发送携带所述失败结果的所述第三响应消息;successfully receiving the fifth response message within the specified time period and the user instruction carried in the fifth response message indicates rejection of location information exposure, sending the third response message carrying the failure result to the first network device; 在指定时长内成功接收到所述第五响应消息且所述第五响应消息携带的所述用户指示表明接受位置信息暴露,向所述第一网络设备发送携带所述成功结果的所述第三响应消息;successfully receiving the fifth response message within the specified time period and the user indication carried by the fifth response message indicating acceptance of location information exposure, sending the third response message carrying the success result to the first network device; 与对应终端的连接建立失败,向所述第一网络设备发送携带所述失败结果的所述第三响应消息;与对应终端建立的连接,用于发送所述第五请求消息以获取所述用户指示;The connection establishment with the corresponding terminal fails, sending the third response message carrying the failure result to the first network device; the connection established with the corresponding terminal is used to send the fifth request message to obtain the user instruction; 在指定时长内未接收到对应终端的用户指示,向所述第一网络设备发送携带所述失败结果的所述第三响应消息。If no user instruction from the corresponding terminal is received within the specified time period, the third response message carrying the failure result is sent to the first network device. 根据权利要求24所述的方法,其中,所述失败结果对应的原因包括以下指示之一:The method of claim 24, wherein the cause corresponding to the failure result includes one of the following indications: 所述用户指示表明拒绝位置信息暴露;The user indication indicates a refusal to expose the location information; 终端连接失败;Terminal connection failed; 终端无响应;The terminal is unresponsive; 终端位于网络覆盖范围外。The terminal is outside the network coverage area. 一种测距方法,其中,由第三网络设备执行,所述方法包括:A ranging method, wherein the method is performed by a third network device, the method comprising: 接收第一网络设备发送的第四请求消息;所述第四请求消息,用于所述第三网络设备触发测距/SL定位的执行;receiving a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning; 根据所述第四请求消息,获取终端的用户指示;所述用户指示,用于指示符合参与所述测距/SL定位的条件的终端当前是否拒绝位置信息暴露;Acquire a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information; 根据所述终端的用户指示,向所述第一网络设备发送第四响应消息。According to the user instruction of the terminal, a fourth response message is sent to the first network device. 根据权利要求27所述的方法,其中,所述第四请求消息是由第一网络设备根据n个终端的隐私配置中第一指示确定符合发起测距/SL定位的条件之后发送的;所述第四请求消息包括:符合参与测距/SL定位条件的终端信息;所述根据所述第四请求消息,获取终端的用户指示,包括:The method according to claim 27, wherein the fourth request message is sent by the first network device after determining that the conditions for initiating ranging/SL positioning are met according to the first indication in the privacy configuration of the n terminals; the fourth request message includes: information of the terminal that meets the conditions for participating in ranging/SL positioning; and obtaining the user indication of the terminal according to the fourth request message includes: 获取符合参与测距/SL定位条件的终端信息指示的终端中隐私配置包含所述第二指示的终端的用户指示。Obtain the user indication of the terminal whose privacy configuration includes the second indication in the terminal indicated by the terminal information that meets the conditions for participating in ranging/SL positioning. 根据权利要求27或28所述的方法,其中,所述根据拒绝位置信息暴露的终端信息,向所述第一网络设备发送第四响应消息,包括: The method according to claim 27 or 28, wherein the sending a fourth response message to the first network device according to the terminal information for refusing exposure of the location information comprises: 在所述用户指示表明超过规则定义的个数的所述终端拒绝位置信息暴露时,向所述第一网络设备发送拒绝消息,和/或,When the user indicates that the number of terminals exceeding the number defined by the rule refuses to expose the location information, sending a rejection message to the first network device, and/or, 在所述用户指示表明拒绝位置信息暴露的终端包括所述规则定义必须参加测距/SL定位的终端时,向所述第一网络设备发送拒绝消息。When the user indicates that the terminals that refuse to expose their location information include the terminals that must participate in ranging/SL positioning as defined by the rule, a rejection message is sent to the first network device. 根据权利要求29所述的方法,其中,所述拒绝消息还包括第三信息;第三信息用于指示所述拒绝测距的原因。The method according to claim 29, wherein the rejection message further includes third information; the third information is used to indicate the reason for rejecting the ranging. 根据权利要求30所述的方法,其中,所述第三信息指示以下至少之一:The method according to claim 30, wherein the third information indicates at least one of the following: 用户指示表示拒绝位置信息暴露;The user indicates that he refuses to disclose his location information; 规则不允许测距/SL定位;The rules do not allow ranging/SL positioning; 终端连接失败;Terminal connection failed; 终端无响应;The terminal is unresponsive; 终端位于网络覆盖范围外。The terminal is outside the network coverage area. 根据权利要求27所述的方法,其中,所述根据拒绝位置信息暴露的终端信息,向所述第一网络设备发送第四响应消息,包括:The method according to claim 27, wherein the sending a fourth response message to the first network device according to the terminal information of the rejection location information exposure comprises: 小于规则定义的个数的所述终端拒绝位置信息暴露,触发测距/SL定位测距以获得测距定位结果,和/或,The terminals whose number is less than that defined by the rule refuse to expose their location information, trigger ranging/SL positioning ranging to obtain ranging and positioning results, and/or, 所述规则定义必须参加测距/SL定位的终端接受位置信息暴露,触发测距/SL定位测距以获得测距定位结果;The rule defines that the terminal that must participate in ranging/SL positioning accepts location information exposure, triggers ranging/SL positioning ranging to obtain ranging and positioning results; 向所述第一网络设备发送成功消息;所述成功消息至少包括测距定位结果。A success message is sent to the first network device; the success message at least includes a ranging and positioning result. 根据权利要求32所述的方法,其中,所述成功消息还包括以下至少之一:The method according to claim 32, wherein the success message further includes at least one of the following: 参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning; 未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning; 未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning. 根据权利要求29或32所述的方法,其中,所述第四请求消息还包括所述规则。The method according to claim 29 or 32, wherein the fourth request message further includes the rule. 一种测距方法,其中,由请求端执行,所述方法包括:A ranging method, wherein the method is performed by a requesting end, and the method comprises: 向第一网络设备发送第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;Sending a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2; 接收第一响应消息,所述第一响应消息包括测距定位失败的失败响应消息,或成功响应消息;所述成功响应消息包括执行所述测距/SL定位的测距定位结果。A first response message is received, where the first response message includes a failure response message of ranging and positioning failure, or a success response message; the success response message includes a ranging and positioning result of executing the ranging/SL positioning. 根据权利要求35所述的方法,其中,所述第一请求消息包括以下至少之一:The method according to claim 35, wherein the first request message includes at least one of the following: 规则信息,用于确定规则;所述规则用于根据拒绝位置信息的终端个数确定是否执行所述第一请求消息对应的测距/SL定位;Rule information, used to determine a rule; the rule is used to determine whether to perform ranging/SL positioning corresponding to the first request message according to the number of terminals that reject the location information; 所述测距/SL定位的需求服务质量QoS; The required quality of service QoS of the ranging/SL positioning; 类型信息,用于所需的测距结果;Type information for the desired ranging result; 参考终端信息。See Terminal Information. 根据权利要求35或36所述的方法,其中,所述失败响应消息还包括第一信息;所述第一信息用于指示所述测距定位失败的原因。According to the method according to claim 35 or 36, the failure response message also includes first information; the first information is used to indicate the reason for the failure of the ranging and positioning. 根据权利要求37所述的方法,其中,所述第一信息指示以下至少之一:The method of claim 37, wherein the first information indicates at least one of the following: 终端拒绝位置信息暴露;The terminal refuses to expose its location information; 规则不允许测距/SL定位;The rules do not allow ranging/SL positioning; 终端连接失败;Terminal connection failed; 终端无响应;The terminal is unresponsive; 终端位于网络覆盖范围外。The terminal is outside the network coverage area. 根据权利要求35至38任一项所述的方法,其中,所述成功响应消息还包括第二信息;第二信息用于确定参与测距/SL定位的终端。According to the method according to any one of claims 35 to 38, the success response message also includes second information; the second information is used to determine the terminal participating in ranging/SL positioning. 根据权利要求39所述的方法,其中,所述第二信息包括以下指示之一:The method of claim 39, wherein the second information includes one of the following indications: 参与测距/SL定位的终端信息;Information of terminals involved in ranging/SL positioning; 未参与测距/SL定位的终端信息;Information of terminals not participating in ranging/SL positioning; 未参与测距/SL定位的终端的原因信息。Reason information for the terminal not participating in ranging/SL positioning. 一种第一网络设备,其中,包括:A first network device, comprising: 接收模块,被配置为接收请求端发送的第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;A receiving module is configured to receive a first request message sent by a requesting end, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2; 处理模块,被配置为确定所述n个终端中拒绝位置信息暴露的终端信息;根据拒绝位置信息暴露的终端信息,确定是否执行所述第一请求消息对应的测距/SL定位。The processing module is configured to determine the terminal information of the n terminals that refuses to expose the location information; and determine whether to execute the ranging/SL positioning corresponding to the first request message according to the terminal information that refuses to expose the location information. 一种第三网络设备,其中,包括:A third network device, comprising: 接收模块,被配置为接收第一网络设备发送的第三请求消息,所述第三请求消息,用于获取用户指示的验证结果;所述验证结果,用于所述第一网络设备确定请求测距/侧行链路SL定位的n个终端中拒绝位置信息暴露的终端信息;所述n是大于或等于2的正整数;发送模块,被配置为基于所述第三请求消息,向终端发送第五请求消息,所述第五请求消息,用于请求所述终端获取所述用户指示;A receiving module is configured to receive a third request message sent by a first network device, wherein the third request message is used to obtain a verification result of a user instruction; the verification result is used by the first network device to determine the terminal information of the n terminals requesting ranging/sidelink SL positioning that refuses to expose the location information; wherein n is a positive integer greater than or equal to 2; and a sending module is configured to send a fifth request message to the terminal based on the third request message, wherein the fifth request message is used to request the terminal to obtain the user instruction; 所述接收模块,还被配置为接收所述终端基于所述第五请求消息返回的第五响应消息;所述第五响应消息携带有所述用户指示;The receiving module is further configured to receive a fifth response message returned by the terminal based on the fifth request message; the fifth response message carries the user instruction; 所述发送模块,还被配置为根据所述用户指示或所述用户指示的获取状况,向所述第一网络设备返回第三响应消息,所述第三响应消息包括所述验证结果。The sending module is further configured to return a third response message to the first network device according to the user instruction or the acquisition status of the user instruction, wherein the third response message includes the verification result. 一种第三网络设备,其中,包括:A third network device, comprising: 接收模块,被配置为接收第一网络设备发送的第四请求消息;所述第四请求消息,用于所述第三网络设备触发测距/SL定位的执行; A receiving module, configured to receive a fourth request message sent by the first network device; the fourth request message is used by the third network device to trigger the execution of ranging/SL positioning; 处理模块,被配置为根据所述第四请求消息,获取终端的用户指示;所述用户指示,用于指示符合参与所述测距/SL定位的条件的终端当前是否拒绝位置信息暴露;A processing module is configured to obtain a user indication of the terminal according to the fourth request message; the user indication is used to indicate whether the terminal that meets the conditions for participating in the ranging/SL positioning currently refuses to expose the location information; 发送模块,被配置为根据拒绝位置信息暴露的终端信息,向所述第一网络设备发送第四响应消息。The sending module is configured to send a fourth response message to the first network device according to the terminal information that refuses to expose the location information. 一种请求端,其中,包括:A request end, comprising: 发送模块,被配置为向第一网络设备发送第一请求消息,所述第一请求消息,用于请求n个终端的测距/侧行链路SL定位;其中,所述n是大于或等于2的正整数;A sending module is configured to send a first request message to a first network device, wherein the first request message is used to request ranging/sidelink SL positioning of n terminals; wherein n is a positive integer greater than or equal to 2; 接收模块,被配置为接收第一响应消息,所述第一响应消息包括:测距定位失败的失败响应消息,或执行第一请求消息的定位结果。The receiving module is configured to receive a first response message, wherein the first response message includes: a failure response message of a ranging and positioning failure, or a positioning result of executing the first request message. 一种通信设备,其中,所述通信设备包括:A communication device, wherein the communication device comprises: 一个或多个处理器;one or more processors; 其中,所述处理器用于调用指令以使得所述通信设备执行权利要求1至22、23至26、27至34、和/或权利要求35至40中任一项所述的测距方法。The processor is used to call instructions to enable the communication device to execute the ranging method described in any one of claims 1 to 22, 23 to 26, 27 to 34, and/or claims 35 to 40. 一种存储介质,其中,所述存储介质存储有指令,当所述指令在通信设备上运行时,使得所述通信设备执行权利要求1至22、23至26、27至34、和/或权利要求35至40中任一项所述的测距方法。 A storage medium, wherein the storage medium stores instructions, and when the instructions are executed on a communication device, the communication device executes the ranging method described in any one of claims 1 to 22, 23 to 26, 27 to 34, and/or claims 35 to 40.
PCT/CN2023/119263 2023-09-15 2023-09-15 Ranging method, communication device and storage medium WO2025055002A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/119263 WO2025055002A1 (en) 2023-09-15 2023-09-15 Ranging method, communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/119263 WO2025055002A1 (en) 2023-09-15 2023-09-15 Ranging method, communication device and storage medium

Publications (1)

Publication Number Publication Date
WO2025055002A1 true WO2025055002A1 (en) 2025-03-20

Family

ID=95020819

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/119263 WO2025055002A1 (en) 2023-09-15 2023-09-15 Ranging method, communication device and storage medium

Country Status (1)

Country Link
WO (1) WO2025055002A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022184227A1 (en) * 2021-03-01 2022-09-09 Huawei Technologies Co., Ltd. Method and apparatus for sidelink positioning
WO2023087329A1 (en) * 2021-11-22 2023-05-25 北京小米移动软件有限公司 Collaborative ranging method and apparatus, communication device and storage medium
CN116724569A (en) * 2023-03-24 2023-09-08 北京小米移动软件有限公司 Information processing method, system and device, communication equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022184227A1 (en) * 2021-03-01 2022-09-09 Huawei Technologies Co., Ltd. Method and apparatus for sidelink positioning
WO2023087329A1 (en) * 2021-11-22 2023-05-25 北京小米移动软件有限公司 Collaborative ranging method and apparatus, communication device and storage medium
CN116724569A (en) * 2023-03-24 2023-09-08 北京小米移动软件有限公司 Information processing method, system and device, communication equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HONG CHENG, QUALCOMM INCORPORATED: "Support of MT-LR for Ranging and Sidelink Positioning", 3GPP DRAFT; S2-2303026; TYPE CR; CR 0321; RANGING_SL, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), vol. SA WG2, 10 February 2023 (2023-02-10), FR, XP052236316 *
XIAOMI: "33.893: New Solution on Privacy Protection of Located UE during its Discovery and Selection", 3GPP DRAFT; S3-232033, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), vol. 3GPP SA 3, 10 April 2023 (2023-04-10), FR, XP052470483 *

Similar Documents

Publication Publication Date Title
CN117280849A (en) User plane connection establishment method and device, communication equipment, communication system and storage medium
WO2025055002A1 (en) Ranging method, communication device and storage medium
WO2025010694A1 (en) Information transmission method and apparatus, communication device, communication system, and storage medium
WO2025010688A1 (en) Information transmission methods and apparatuses, communication device, communication system and storage medium
WO2025010691A1 (en) Information processing method, and network element, communication device, communication system and storage medium
WO2025030300A1 (en) Information indication method, first api invoker, first network function, and storage medium
WO2025065292A1 (en) Connection establishment method, first device, first entity, and second entity
WO2025091186A1 (en) Key processing methods, communication device, and storage medium
CN117652181A (en) Information processing method, network device, terminal, communication system, and storage medium
WO2025039165A1 (en) Terminal registration processing method, communication device, communication system, and storage medium
WO2025147932A1 (en) Service information interaction methods, and communication device, communication system and storage medium
WO2025060098A1 (en) Information indication method, terminal, core network device, communication system and storage medium
WO2025030301A1 (en) Authorization method, network function, communication system and storage medium
WO2025010687A1 (en) Pdu session processing method, first core network function, and second core network function
CN117099469A (en) Communication control method and device, core network device, communication system and storage medium
WO2025010695A1 (en) Ue registration method, and device, communication device, communication system and storage medium
WO2025147966A1 (en) Communication method, core network device, communication system and storage medium
WO2025086144A1 (en) Information processing methods, communication device and storage medium
WO2025107260A1 (en) Information processing method, communication device and storage medium
WO2025123299A1 (en) Information processing method, terminal, first network element, communication system, and storage medium
WO2025020018A1 (en) Communication methods and apparatuses, communication device, communication system, and storage medium
WO2024254748A1 (en) Ranging or positioning method and apparatus, communication device, communication system, and storage medium
WO2025039166A1 (en) Information processing method, terminal, first network element, communication system, and storage medium
WO2025123196A1 (en) User equipment check method, and communication device, communication system and storage medium
CN118077267A (en) Service information interaction method, communication equipment, communication system and storage medium

Legal Events

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

Ref document number: 23951930

Country of ref document: EP

Kind code of ref document: A1