Communication method, device, equipment, storage medium, chip, product and program

CN119343896APending Publication Date: 2025-01-21GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280096284.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The existing technology fails to effectively solve the problem of how the terminal determines the positioning reference signal sent, affecting the determination of the positioning reference signal and the accuracy of the location information.

Method used

By determining the first identification from the predetermined identification set and sending the first positioning reference signal to the second terminal according to the identification, the certainty and accuracy of the positioning reference signal are ensured.

Benefits of technology

It implements a positioning reference signal determination mechanism between terminals, improves the accuracy and convenience of location information, and solves the technical problem of how terminals determine and send positioning reference signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119343896A_ABST
    Figure CN119343896A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a communication method and device, equipment, a storage medium, a chip, a product and a program. The method comprises the steps that a first terminal determines a first identifier from a preset identifier set; and the first terminal sends a first positioning reference signal to a second terminal according to the first identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device, equipment, storage medium, chip, product and program Technical Field

[0001] The embodiments of the present application relate to the field of mobile communication technologies, and specifically to a communication method, apparatus, device, storage medium, chip, product, and program. Background Art

[0002] Wireless positioning technology uses wireless communication networks to measure some parameters of the received radio waves and determine the location of a terminal within a certain time based on a specific algorithm, so as to provide terminal users with relevant location information services or conduct real-time monitoring and tracking.

[0003] The terminal can send a positioning reference signal so that a device receiving the positioning reference signal can determine the location of the terminal. However, how the terminal determines the sent positioning reference signal is a problem that has not been considered in the art.

[0004] Summary of the Invention

[0005] Embodiments of the present application provide a communication method, apparatus, device, storage medium, chip, product, and program.

[0006] In a first aspect, an embodiment of the present application provides a communication method, the method comprising:

[0007] The first terminal determines a first identifier from a predetermined identifier set;

[0008] The first terminal sends a first positioning reference signal to the second terminal according to the first identifier.

[0009] In a second aspect, an embodiment of the present application provides a communication method, the method comprising:

[0010] The second terminal receives a first positioning reference signal sent by the first terminal, wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

[0011] In a third aspect, an embodiment of the present application provides a communication method, the method comprising:

[0012] The network device configures a predetermined identifier set for the first terminal; the predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to the second terminal.

[0013] In a fourth aspect, an embodiment of the present application provides a communication device, including:

[0014] a determining unit, configured to determine a first identifier from a predetermined identifier set;

[0015] A communication unit is configured to send a first positioning reference signal to the second terminal according to the first identifier.

[0016] In a fifth aspect, an embodiment of the present application provides a communication device, including:

[0017] A communication unit is configured to receive a first positioning reference signal sent by a first terminal; wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

[0018] In a sixth aspect, an embodiment of the present application provides a communication device, including:

[0019] A communication unit is configured to configure a predetermined identifier set for a first terminal; the predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to a second terminal.

[0020] In a seventh aspect, an embodiment of the present application provides a communication device, including: a processor and a memory,

[0021] The memory stores a computer program executable on the processor.

[0022] When the processor executes the program, the method of the first aspect, the second aspect or the third aspect is implemented.

[0023] In an eighth aspect, an embodiment of the present application provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the method described in the first aspect, the second aspect or the third aspect.

[0024] In a ninth aspect, an embodiment of the present application provides a chip, comprising: a processor for calling and running a computer program from a memory to implement the method described in the first aspect, the second aspect or the third aspect.

[0025] In the tenth aspect, an embodiment of the present application provides a computer program product, which includes a computer storage medium, the computer storage medium storing a computer program, and the computer program including instructions that can be executed by at least one processor, and when the instructions are executed by the at least one processor, the method described in the first aspect, the second aspect or the third aspect is implemented.

[0026] In an eleventh aspect, an embodiment of the present application provides a computer program, which enables a computer to execute the method described in the first aspect, the second aspect or the third aspect.

[0027] In this embodiment of the present application, a first terminal determines a first identifier from a predetermined set of identifiers; based on the first identifier, the first terminal sends a first positioning reference signal to a second terminal. In this way, the first terminal can determine the first positioning reference signal to send to the second terminal based on the first identifier determined from the predetermined set of identifiers. Thus, the first terminal can determine the first positioning reference signal to send to the second terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] FIG1 is a schematic diagram of network coverage inner line communication provided by an embodiment of the present application;

[0030] FIG2 is a schematic diagram of a partial network coverage side communication provided by an embodiment of the present application;

[0031] FIG3 is a schematic diagram of an external communication network provided by an embodiment of the present application;

[0032] FIG4 is a schematic diagram of sideline communication with a central control node provided by an embodiment of the present application;

[0033] FIG5 is a schematic diagram of a unicast transmission method provided in an embodiment of the present application;

[0034] FIG6 is a schematic diagram of a multicast transmission method provided in an embodiment of the present application;

[0035] FIG7 is a schematic diagram of a broadcast transmission method provided in an embodiment of the present application;

[0036] FIG8 is a schematic diagram of an NR-V2X system frame structure provided in an embodiment of the present application;

[0037] FIG9 is a schematic diagram of another NR-V2X system frame structure provided in an embodiment of the present application;

[0038] FIG10 is a schematic diagram of another NR-V2X system frame structure provided in an embodiment of the present application;

[0039] FIG11 is a schematic diagram of the frequency domain position of a PSSCH DMRS according to an embodiment of the present application;

[0040] FIG12 is a flow chart of a communication method provided in an embodiment of the present application;

[0041] FIG13 is a flow chart of a communication method provided in an embodiment of the present application;

[0042] FIG14 is a flow chart of another communication method provided in an embodiment of the present application;

[0043] FIG15 is a schematic diagram of a positioning method based on a network device according to an embodiment of the present application;

[0044] FIG16 is a schematic diagram of terminal-based positioning according to an embodiment of the present application;

[0045] FIG17 is a schematic diagram of determining whether to feed back a positioning reference signal according to an embodiment of the present application;

[0046] FIG18 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0047] FIG19 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0048] FIG20 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application;

[0049] FIG21 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0050] Figure 22 is a schematic structural diagram of the chip according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0052] The technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict. In the description of the present application, "multiple" means two or more, unless otherwise clearly defined.

[0053] In sideline communication, according to the network coverage of the communicating terminal device, it can be divided into sideline communication within the network coverage, sideline communication with partial network coverage, sideline communication outside the network coverage, and sideline communication with a central control node, as shown in Figures 1 to 4 respectively.

[0054] Figure 1 is a schematic diagram of side-line communication within network coverage provided by an embodiment of the present application. As shown in Figure 1, in side-line communication within network coverage, all terminal devices performing side-line communication are within the coverage range of the same network device. Thus, the above-mentioned terminal devices can all perform side-line communication based on the same side-line configuration by receiving configuration signaling from the network device.

[0055] FIG2 is a schematic diagram of a sidelink communication with partial network coverage provided by an embodiment of the present application. As shown in FIG2 , in the case of sidelink communication with partial network coverage, some terminal devices performing sidelink communication are located within the coverage of the network device. These terminal devices can receive the configuration signaling of the network device and perform sidelink communication according to the configuration of the network device. However, terminal devices located outside the network coverage cannot receive the configuration signaling of the network device. In this case, the terminal devices outside the network coverage will determine the sidelink configuration based on the pre-configuration information and the information carried in the Physical Sidelink Broadcast CHannel (PSBCH) sent by the terminal devices within the network coverage, and perform sidelink communication.

[0056] Figure 3 is a schematic diagram of side-line communication outside the network coverage provided by an embodiment of the present application. As shown in Figure 3, for side-line communication outside the network coverage, all terminal devices performing side-line communication are located outside the network coverage, and all terminal devices can determine the side-line configuration according to the pre-configuration information to perform side-line communication.

[0057] Figure 4 is a schematic diagram of a side communication with a central control node provided in an embodiment of the present application. As shown in Figure 4, for side communication with a central control node, multiple terminal devices (for example, terminal devices 1-3) constitute a communication group. The communication group has a central control node, which can also be a cluster head (CH) terminal device. The central control node has at least one of the following functions: responsible for the establishment of the communication group, the joining and / or leaving of group members, resource coordination, allocation of side transmission resources to other terminal devices, receiving side feedback information from other terminal devices, and resource coordination with other communication groups.

[0058] Device-to-device communication (D2D) is a sidelink (SL) transmission technology based on device-to-device (D2D). Unlike traditional cellular systems, where communication data is sent or received by network devices, D2D communication offers higher spectrum efficiency and lower transmission latency. The IoV system utilizes direct D2D communication, with the 3rd Generation Partnership Project (3GPP) defining two transmission modes: Mode 1 and Mode 2.

[0059] Mode 1: The terminal device's transmission resources can be allocated by the network device, and the terminal device can send data on the sidelink based on the allocated resources. The network device can allocate resources for single transmissions or semi-static transmissions. As shown in Figure 1, the terminal device is within the network coverage area, and the network allocates transmission resources for the terminal device to use for sidelink transmissions.

[0060] Mode 2: The terminal device can select a resource from the resource pool for data transmission. As shown in Figure 3, if the terminal device is outside the cell coverage area, it can autonomously select a transmission resource from the pre-configured resource pool for sideline transmission. Alternatively, as shown in Figure 1, the terminal device can autonomously select a transmission resource from the network-configured resource pool for sideline transmission.

[0061] The second mode resource selection is performed in two steps:

[0062] Step 1: The terminal device takes all available resources in the resource selection window as resource set A.

[0063] If a terminal device sends data in certain time slots within the listening window and does not listen, all resources in the corresponding time slots in the selection window for these time slots are excluded. The terminal device determines the corresponding time slots in the selection window using the value set of the "resource reservation period" field in the resource pool configuration used.

[0064] If the terminal device detects the Physical Sidelink Control Channel (PSCCH) within the listening window, measures the Reference Signal Received Power (RSRP) of the PSCCH or the RSRP of the Physical Sidelink Shared Channel (PSSCH) scheduled by the PSCCH, and if the measured RSRP is greater than the SL-RSRP threshold, and the reserved resources are determined to be within the resource selection window based on the resource reservation information in the sidelink control information transmitted in the PSCCH, then the corresponding resources are excluded from set A. If the remaining resources in resource set A are less than X% of all resources in resource set A before resource exclusion, the SL-RSRP threshold is raised by 3dB, and step 1 is repeated. The possible values ​​of X are {20, 35, 50}, and the terminal device determines the parameter X from the value set according to the priority of the data to be sent. At the same time, the SL-RSRP threshold is related to the priority carried in the PSCCH detected by the terminal device and the priority of the data to be sent by the terminal device. The terminal device uses the remaining resources in set A after resource exclusion as the candidate resource set.

[0065] Step 2: The terminal device randomly selects several resources from the candidate resource set as its transmission resources for initial transmission and retransmission.

[0066] In the New Radio (NR)-Vehicle-to-Everything (V2X) network, autonomous driving needs to be supported, which places higher requirements on data exchange between vehicles, such as higher throughput, lower latency, higher reliability, larger coverage, and more flexible resource allocation.

[0067] NR-V2X supports unicast, multicast, and broadcast transmission modes. For unicast transmission, the receiving device has only one terminal device.

[0068] FIG5 is a schematic diagram of a unicast transmission method provided in an embodiment of the present application. As shown in FIG5 , unicast transmission can be performed between terminal device 1 and terminal device 2.

[0069] Figure 6 is a schematic diagram of a multicast transmission method provided by an embodiment of the present application. As shown in Figure 6, for multicast transmission, the receiving end devices can be all terminal devices in a communication group, or can be all terminal devices within a certain transmission distance. For example, terminal devices 1, 2, 3, and 4 constitute a communication group, where terminal device 1 sends data, and all other terminal devices in the group can be receiving end devices.

[0070] Figure 7 is a schematic diagram of a broadcast transmission method provided in an embodiment of the present application. As shown in Figure 7, for the broadcast transmission method, the receiving device can be any terminal device around the sending device. For example, terminal device 1 is the sending device, and the other terminal devices around it (i.e., terminal device 2-terminal device 6) are all receiving devices.

[0071] Figure 8 is a schematic diagram of an NR-V2X system frame structure provided in an embodiment of the present application. As shown in Figure 8, the horizontal axis is time and the vertical axis is frequency. In NR-V2X, PSSCH and its associated PSCCH are transmitted in the same time slot. PSCCH can occupy 2 or 3 time domain symbols (Figure 8 shows that it occupies 3 time domain symbols). The time domain resource allocation of NR-V2X is based on the time slot as the allocation granularity. The starting point and length of the time domain symbols used for sidelink transmission in a time slot are configured by the parameters sidelink-start symbol (sl-startSymbols) and sidelink-symbol length (sl-lengthSymbols). The last symbol in this part of symbols is used as a protection period or guard interval (GP). PSSCH and PSCCH can only use the remaining time domain symbols. However, if the physical sidelink feedback channel (PSFCH) transmission resources are configured in a time slot, PSSCH and PSCCH cannot occupy the time domain symbols used for PSFCH transmission and the GP symbols before this symbol.

[0072] As shown in Figure 8, the network configuration sl-startSymbols = 3, sl-lengthSymbols = 11, that is, the 11 time domain symbols starting from symbol index 3 in a time slot can be used for sidelink transmission. PSFCH transmission resources are available in this time slot. The PSFCH occupies symbols 11 and 12. Symbols 10 and 13 are used as GPs, respectively. The time domain symbols available for PSSCH transmission are symbols 3 to 9. The PSCCH occupies two time domain symbols, namely symbols 4 and 5. Symbol indices 0-2 are symbols that cannot be used for the sidelink.

[0073] Figure 9 is a schematic diagram of another NR-V2X system frame structure provided by an embodiment of the present application. As shown in Figure 9, the horizontal axis is time and the vertical axis is frequency. In addition to PSCCH and PSSCH, PSFCH may also exist in a side slot in NR-V2X. It can be seen that in a time slot, the first Orthogonal Frequency Division Multiplexing (OFDM) symbol copies the information sent on the second symbol, which is usually used as Automatic Gain Control (AGC). A symbol is reserved at the end of the time slot for transceiver conversion, which is used for the UE to switch from the transmit (or receive) state to the receive (or transmit) state. In the remaining OFDM symbols, the PSCCH can occupy two or three OFDM symbols starting from the second sidelink symbol (in the embodiment corresponding to Figure 9, the PSCCH occupies three OFDM symbols starting from the second sidelink symbol). In the frequency domain, the number of physical resource blocks (PRBs) occupied by the PSCCH is within the subband range of a PSSCH. If the number of PRBs occupied by the PSCCH is less than the size of a PSSCH subchannel, or the frequency domain resources of the PSSCH include multiple subchannels, then the PSCCH can be frequency-division multiplexed with the PSSCH in the OFDM symbol where the PSCCH is located. In Figure 9, the symbol with index 0 is used for AGC, the symbols with indexes 1, 4, and 7 are also used to transmit the demodulation reference signal (DMRS), the symbols with indexes 10 and 13 are used for GP, the symbol with index 11 is used for AGC for PSFCH reception, and the 12th symbol is used to transmit PSFCH. Symbols with indexes 2-3, 5-6, and 8-9 can also be used to transmit PSSCH.

[0074] In any embodiment of the present application, the index corresponding to the i-th symbol is i-1, where i is an integer greater than or equal to 1. In any embodiment of the present application, a symbol is understood to be the same as an OFDM symbol.

[0075] The DMRS for PSSCH in NR-V2X draws on the design of the NR Uu interface and adopts multiple time-domain PSSCH DMRS patterns. In a resource pool, the number of available DMRS patterns is related to the number of PSSCH symbols in the resource pool. For a specific number of PSSCH symbols (including the first AGC symbol) and PSCCH symbols, the available DMRS patterns and the position of each DMRS symbol in the pattern are determined. Table 1 shows the number and position of DMRS symbols under different PSSCH and PSCCH symbol numbers:

[0076] Table 1

[0077]

[0078] Figure 10 is a schematic diagram of another NR-V2X system frame structure provided by an embodiment of the present application. As shown in Figure 10, the horizontal axis is time and the vertical axis is frequency. The symbol with index 0 is used for AGC, the symbols with indexes 1-2 are used to transmit PSCCH, the symbols with indexes 1, 4, 7, and 10 are used to transmit DMRS, and the symbol with index 13 is GP. The symbols with indexes 2-3, 5-6, 8-9, and 11-12 can also be used to transmit PSSCH.

[0079] If multiple time-domain DMRS patterns are configured in the resource pool, the specific time-domain DMRS pattern to be used is selected by the transmitting UE and indicated in the first-order Sidelink Control Information (SCI). This design allows high-speed UEs to select a high-density DMRS pattern to ensure channel estimation accuracy, while low-speed UEs can use a low-density DMRS pattern to improve spectrum efficiency.

[0080] The generation method of the PSSCH DMRS sequence is almost identical to that of the PSCCH DMRS sequence. The only difference is the initialization formula c(m) of the pseudo-random sequence. init middle, p i is the i-th cyclic redundancy checksum (CRC) of the PSCCH that schedules the PSSCH, and L 24 is the number of bits of the PSCCH CRC.

[0081] The NR physical downlink shared channel (PDSCH) and physical uplink shared channel (PUSCH) support two frequency domain DMRS patterns, namely DMRS frequency domain type 1 and DMRS frequency domain type 2. For each frequency domain type, there are two different types: single DMRS symbol and double DMRS symbol. Single-symbol DMRS frequency domain type 1 supports 4 DMRS ports, and single-symbol DMRS frequency domain type 2 can support 6 DMRS ports. In the case of double DMRS symbols, the number of supported ports is doubled. However, in NR-V2X, since PSSCH only needs to support two DMRS ports at most, only single-symbol DMRS frequency domain type 1 is supported.

[0082] FIG11 is a schematic diagram of the frequency domain position of the PSSCH DMRS provided in an embodiment of the present application. As shown in FIG11 , the PSSCH DMRS on the resource element (RE) index 0, 2, 4, 6, 8 or 10 supports port 0 or port 1.

[0083] Sidewalk-based positioning is one of the enhancements to positioning technology. This enhancement will consider supporting scenarios and requirements for NR positioning use cases within, partially within, and outside cellular network coverage. It will also consider positioning requirements for V2X, public safety, commercial, and Industrial Internet of Things (IIOT) use cases, and will consider supporting at least one of the following:

[0084] Absolute positioning, distance / direction finding, and relative positioning;

[0085] Positioning method combining lateral measurement and Uu interface measurement;

[0086] Sideline positioning reference signal, including signal design, physical layer control signaling, resource allocation, physical layer measurement quantities, and related physical layer processes;

[0087] Positioning system architecture and signaling processes, such as configuration and measurement reporting.

[0088] For absolute positioning, a terminal can directly determine its absolute geographic location based on measurement results. This is called terminal-based absolute positioning. Alternatively, the terminal can report the measurement results to a positioning server, such as a Location Management Function (LMF). The LMF then calculates the terminal's absolute position and notifies the terminal. This approach is called terminal-assisted absolute positioning.

[0089] For ranging / direction finding or relative positioning, the terminal can estimate the round-trip time (RTT), arrival angle, signal reception strength and other information of the received positioning reference signal to estimate the relative distance and relative direction.

[0090] For a sidelink-based positioning method, a terminal needs to send a positioning sequence or a sidelink-positioning reference signal (SL-PRS). However, how to determine the positioning reference signal is a problem that needs to be solved.

[0091] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Internet of Things (IoT) system, Narrow Band Internet of Things (NB-IoT) system, enhanced Machine-Type Communications (eMTC) system, 5G communication system (also known as New Radio (NR) communication system), or future communication systems (such as 6G, 7G communication systems), etc.

[0092] The network devices in the embodiments of the present application may include access network devices and / or core network devices. The access network devices may provide communication coverage for a specific geographical area and may communicate with terminal devices (eg, UE) within the coverage area.

[0093] The terminal device in the above embodiment can be applied to the first terminal or the second terminal in the embodiment of the present application.

[0094] The first terminal or the second terminal in the embodiments of the present application can be called user equipment (UE), mobile station (MS), mobile terminal (MT), user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The first terminal or the second terminal may include one of the following or a combination of at least two of the following: an Internet of Things (IoT) device, a satellite terminal, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a server, a mobile phone, a tablet computer (Pad), a computer with wireless transceiver capabilities, a handheld computer, a desktop computer, a personal digital assistant, a portable media player, a smart speaker, a navigation device, a smart watch, smart glasses, a smart necklace and other wearable devices, a pedometer, a digital TV, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a smart home, a wireless terminal in a smart city, a wireless terminal in a smart home, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home ... The wireless terminals in the home and the vehicles, vehicle-mounted devices, vehicle-mounted modules, wireless modems, handheld devices, customer premises equipment (CPE), smart home appliances, etc. in the Internet of Vehicles system.

[0095] Optionally, the first terminal or the second terminal may be any terminal device, including but not limited to a terminal device connected to the network device 120 or other terminal devices by wire or wireless. Optionally, the first terminal or the second terminal may be used for D2D communication.

[0096] The access network equipment may include one of the following or a combination of at least two: Evolutional Node B (eNB or eNodeB) in the Long Term Evolution (LTE) system, Next Generation Radio Access Network (NG RAN) equipment, base station (gNB) in the NR system, small station, micro station, wireless controller in the Cloud Radio Access Network (CRAN), Wireless-Fidelity (Wi-Fi) access point, transmission reception point (TRP), relay station, access point, vehicle-mounted equipment, wearable device, hub, switch, bridge, router, network equipment in the future evolved Public Land Mobile Network (PLMN), etc.

[0097] The core network device can be a 5G core network (5G Core, 5GC) device, and the core network device can include one of the following or a combination of at least two: Access and Mobility Management Function (AMF), Authentication Server Function (AUSF), User Plane Function (UPF), Session Management Function (SMF), Location Management Function (LMF), Policy Control Function (PCF). In other embodiments, the core network device can also be an Evolved Packet Core (EPC) device of the LTE network, for example, a Session Management Function + Core Packet Gateway (SMF+PGW-C) device. It should be understood that SMF+PGW-C can simultaneously implement the functions that SMF and PGW-C can implement. During the network evolution process, the above-mentioned core network device may also be called other names, or a new network entity may be formed by dividing the functions of the core network, which is not limited in the embodiments of the present application.

[0098] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship. It should also be understood that the "indication" mentioned in the embodiments of this application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B. It should also be understood that the "correspondence" mentioned in the embodiments of this application can mean that there is a direct or indirect correspondence between the two, or it can mean that there is an association relationship between the two, or it can mean a relationship between indication and indication, configuration and configuration, etc. It should also be understood that the “predefined”, “protocol agreement”, “predetermined” or “predefined rules” mentioned in the embodiments of the present application can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in devices (for example, including terminal devices and network devices). This application does not limit its specific implementation method. For example, predefined can refer to what is defined in the protocol. It should also be understood that in the embodiments of the present application, the “protocol” may refer to a standard protocol in the field of communications, for example, it may include LTE protocols, NR protocols, and related protocols used in future communication systems, and this application does not limit this.

[0099] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above-described solutions can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and all of them fall within the scope of protection of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.

[0100] FIG12 is a flow chart of a communication method provided in an embodiment of the present application. As shown in FIG12 , the method includes:

[0101] S1201. A first terminal determines a first identifier from a predetermined identifier set.

[0102] S1202: The first terminal sends a first positioning reference signal to the second terminal according to the first identifier.

[0103] Optionally, the predetermined identifier set may be a pre-obtained identifier set. Optionally, the predetermined identifier set may include one or more identifier sets, and each identifier set in the one or more identifier sets includes at least one identifier. Optionally, the identifiers in an identifier set do not have the same identifier, or the same identifier exists. Optionally, in the case where the predetermined identifier set includes multiple identifier sets, the same identifier may exist in the identifiers included in different identifier sets, or the same identifier does not exist in the identifiers included in different identifier sets. For example, the predetermined identifier set includes a first identifier set and a second identifier set, and both the first identifier set and the second identifier set may include the first identifier, or, in the case where the first identifier set includes the first identifier, the second identifier set does not include the first identifier.

[0104] Optionally, the first terminal determining the first identifier from a predetermined identifier set may include: the first terminal directly selecting the first identifier from the predetermined identifier set according to a predetermined rule. Optionally, the first terminal determining the first identifier from the predetermined identifier set may include: the first terminal selecting the first identifier set from the predetermined identifier set, and selecting the first identifier from the first identifier set. Optionally, the first terminal determining the first identifier from the predetermined identifier set may include: if the predetermined identifier set includes only one identifier set, namely, the first identifier set, the first terminal selecting the first identifier from the first identifier set.

[0105] Optionally, S1202 may include: the first terminal determining a first positioning reference signal according to the first identifier; and the first terminal sending the first positioning reference signal to the second terminal.

[0106] Optionally, the first terminal sending the first positioning reference signal to the second terminal may include: the first terminal sending the first positioning reference signal in a broadcast / multicast manner, so that the first terminal can send the first positioning reference signal to the second terminal. Optionally, the first terminal sending the first positioning reference signal to the second terminal may include: the first terminal sending the first positioning reference signal to the second terminal in a unicast manner.

[0107] Optionally, the first positioning reference signal may be carried in sidelink control information SCI, PC5-Radio Resource Control (PC5-RRC) signaling or Media Access Control (MAC) control element (CE).

[0108] In any embodiment of the present application, the identifier included in the predetermined identifier set (for example, the first identifier or the second identifier described below) may be one of the following: a positioning reference signal identifier, a positioning reference signal identifier, a sequence identifier, or a signal identifier.

[0109] The positioning reference signal in any embodiment of the present application (including the first positioning reference signal, the second positioning reference signal, the third positioning reference signal, and the positioning reference signal in the positioning reference signal identifier) ​​can be understood as at least one of the following: positioning sequence, reference sequence, positioning reference sequence, sideline sequence, sideline positioning sequence, sideline reference sequence, positioning signal sequence, reference signal sequence, positioning reference signal sequence, sideline signal sequence, sideline positioning signal sequence, sideline reference signal sequence, sideline positioning reference signal sequence, sidelink positioning reference signal sequence, sidelink positioning reference signal, sideline positioning reference signal, sideline reference signal, sideline positioning signal, positioning reference signal, reference signal, positioning signal, etc.

[0110] The following describes an implementation method for determining a positioning reference signal according to a positioning reference signal sequence identifier in any embodiment of the present application:

[0111] The positioning reference signal can be determined according to formula (1):

[0112]

[0113] Where r(m) represents the positioning reference signal sequence, and m is an integer greater than or equal to 0. The pseudo-random sequence c(n) is determined according to the following formulas (2) to (4):

[0114] c(n)=(x1(n+N C )+x2(n+N C ))mod2 (2);

[0115] x1(n+31)=(x1(n+3)+x1(n))mod2 (3);

[0116] x2(n+31)=(x2(n+3)+x2(n+2)+x2(n+1)+x2(n))mod2 (4);

[0117] Where n in c(n) corresponds to 2c(2m) or c(2m+1) in formula (1); N C =1600. x1(n+N C )、x2(n+N C ) are determined using formula (3) and formula (4) respectively.

[0118] The first m-sequence x1(n) is initialized to x1(0)=1, x1(n)=0, n=1, 2, ..., 30. That is, the value of x1(0) is 1, and the values ​​of x1(1) to x1(30) are all 0.

[0119] Among them, the initialization of the second m sequence x2(n) can be based on the positioning reference signal sequence identifier Initialization of x2(n) may include values ​​of x2(0) to x2(30).

[0120] Here is an implementation method for initializing the second m-sequence x2(n):

[0121] The second m-sequence x2(n) is initialized according to OK, and c init The value of the positioning reference signal sequence identifier According to different positioning reference signal sequence identifiers A corresponding positioning reference signal sequence can be generated. For example, c init Determine according to formula (5):

[0122]

[0123] in, Indicates the number of symbols in each time slot; represents the time slot number; l represents the symbol mapped to the positioning reference signal sequence.

[0124] Therefore, according to formula (5), c can be determined init Furthermore, That is c init It can be expressed as x2(i) and 2 i Multiply and sum, i=0,1,2,……,30; therefore, according to c init The corresponding x2(i) can be determined.

[0125] For example, c init The value of is 1. In order to make both sides equal, since 2 0 is 1, then x2(0) is 1, and all other values ​​except x2(0) (including x2(1) to x2(30)) are 0. For another example, c init The value is 2. In order to make both sides equal, since 2 1 is 2, then x2(1) is 1, and all other values ​​except x2(1) (including x2(0), x2(2) to x2(30)) are 0. Therefore, by c init The values ​​of x2(0) to x2(30) can be obtained by changing the value of .

[0126] In this way, according to different positioning reference signal sequence identifiers A corresponding positioning reference signal sequence can be generated.

[0127] It should be noted that the above embodiment provides an implementation method for determining a positioning reference signal based on a positioning reference signal sequence identifier. In other embodiments, there may be other ways to determine a positioning reference signal based on a positioning reference signal sequence identifier. The embodiments of the present application are not limited to this. Any implementation method that can determine a positioning reference signal based on a positioning reference signal sequence identifier should be within the scope of protection of this application.

[0128] The present invention can provide a method for determining a positioning reference signal sequence identifier. method.

[0129] For example, when the positioning reference signal sequence identifier is the first identifier or the second identifier described below, the first positioning reference signal can be determined based on the above method. For another example, when the positioning reference signal sequence identifier is the second identifier described below, the second positioning reference signal described below can be determined based on the above method. For another example, when the positioning reference signal sequence identifier is the first identifier, the third positioning reference signal described below can be determined based on the above method.

[0130] In some embodiments, the first positioning reference signal is used to determine the location information of the first terminal and / or the location information of the second terminal. The location information of the first terminal may include the current location information of the first terminal and / or the location information of the first terminal relative to the second terminal. The location information of the second terminal may include the current location information of the second terminal and / or the location information of the second terminal relative to the first terminal. Optionally, the current location information may include at least one of the following: longitude and latitude information, altitude information (or altitude information), and location coordinate information. Optionally, the location information of the first terminal relative to the second terminal may include: the distance between the first terminal and the second terminal, and / or the azimuth and / or elevation angle of the first terminal relative to the second terminal. Optionally, the location information of the second terminal relative to the first terminal may include: the distance between the second terminal and the first terminal, and / or the azimuth and / or elevation angle of the second terminal relative to the first terminal.

[0131] In some embodiments, after the first terminal sends a first positioning reference signal to the second terminal, the first terminal can receive the location information of the first terminal and / or the location information of the second terminal sent by the second terminal, or the first terminal can receive parameters for determining the location information (for example, the time of sending and / or receiving the positioning reference signal) sent by the second terminal, and the first terminal can determine the location information of the first terminal and / or the location information of the second terminal based on the parameters, or the first terminal can receive a measurement result based on the first positioning reference signal sent by the second terminal, and the first terminal can determine the location information of the first terminal and / or the location information of the second terminal based on the measurement result.

[0132] Optionally, the first terminal and / or the second terminal may send the location information of the first terminal and / or the location information of the second terminal to the network device. Optionally, the first terminal and / or the second terminal may send the location information of the first terminal and / or the location information of the second terminal to a positioning server (e.g., a location management function LMF).

[0133] In other embodiments, after a first terminal sends a first positioning reference signal to a second terminal, it may receive a third positioning reference signal sent by the second terminal. The first terminal determines the location information of the first terminal and / or the location information of the second terminal based on the time of sending the first positioning reference signal, and / or the time of receiving the third positioning reference signal, and / or the time of receiving the first positioning reference signal by the second terminal, and / or the time of sending the third positioning reference signal by the second terminal. Optionally, the time when the second terminal receives the first positioning reference signal and / or the time when the second terminal sends the third positioning reference signal may be sent by the second terminal to the first terminal. Optionally, the first terminal may send the location information of the first terminal and / or the location information of the second terminal to the second terminal. Optionally, the first terminal may send parameters for determining location information (e.g., the time of sending and / or receiving the positioning reference signal) to the second terminal, so that the second terminal can determine the location information of the first terminal and / or the location information of the second terminal based on the parameters. Optionally, the first terminal may send measurement results based on the third positioning reference signal to the second terminal, and the second terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the measurement results.

[0134] Optionally, the first terminal and / or the second terminal may send the location information of the first terminal and / or the location information of the second terminal to the network device. Optionally, the first terminal and / or the second terminal may send the location information of the first terminal and / or the location information of the second terminal to a positioning server (e.g., a location management function LMF).

[0135] In some further embodiments, the first terminal receives a third positioning reference signal sent by the second terminal, performs measurement based on the third positioning reference signal, or determines the location information of the first terminal and / or the location information of the second terminal based on the third positioning reference signal. Optionally, the first terminal may send the measurement result, the location information of the first terminal and / or the location information of the second terminal to the second terminal. Optionally, the first terminal and / or the second terminal may send the measurement result, the location information of the first terminal and / or the location information of the second terminal to a network device. Optionally, the first terminal and / or the second terminal may send the measurement result, the location information of the first terminal and / or the location information of the second terminal to a positioning server (e.g., a location management function LMF). Optionally, the measurement result in any embodiment of the present application may be used to determine the location information of the first terminal and / or the location information of the second terminal.

[0136] Optionally, the location information and / or measurement results sent between the first terminal and the second terminal may be carried in SCI, PC5-RRC signaling, or MAC CE. For example, the measurement results sent by the second terminal to the first terminal, the location information of the first terminal, and / or the location information of the second terminal may be carried in SCI, PC5-RRC signaling, or MAC CE. For another example, the measurement results sent by the first terminal to the second terminal, the location information of the first terminal, and / or the location information of the second terminal may be carried in SCI, PC5-RRC signaling, or MAC CE.

[0137] In this embodiment of the present application, a first terminal determines a first identifier from a predetermined set of identifiers; based on the first identifier, the first terminal sends a first positioning reference signal to a second terminal. In this way, the first terminal can determine the first positioning reference signal to send to the second terminal based on the first identifier determined from the predetermined set of identifiers, thereby enabling the first terminal to determine the first positioning reference signal to send to the second device.

[0138] In some embodiments, the first terminal determines the first identifier from a predetermined identifier set, including:

[0139] The first terminal obtains a first positioning method;

[0140] The first terminal determines the first identifier from the predetermined identifier set according to the first positioning method.

[0141] Optionally, the first positioning method may be used to determine the location information of the first terminal and / or the location information of the second terminal. For example, the first terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the first positioning method. For another example, the second terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the first positioning method, and then the first terminal receives the location information of the first terminal and / or the location information of the second terminal sent by the second terminal.

[0142] Optionally, the first positioning method may include one or more positioning methods. In some embodiments, the first positioning method may be the positioning method of the first terminal. In other embodiments, the first positioning method may be the positioning method of the second terminal, or the positioning method of a terminal other than the first and second terminals.

[0143] Optionally, when the first positioning method is the positioning method of the first terminal, the first positioning method may be a positioning method supported by the first terminal. When the first positioning method is not the positioning method of the first terminal, the first positioning method may be a positioning method supported by the first terminal or a positioning method not supported by the first terminal. Optionally, the first positioning method may be one or more positioning methods supported by the first terminal or usable positioning methods. Optionally, the first positioning method may be a positioning method to be used by the first terminal.

[0144] In some embodiments, the first terminal may obtain the first positioning method from pre-configured information. In other embodiments, the first positioning method is a positioning method indicated by the first terminal and received from a network device, a second terminal, or another terminal.

[0145] Unless otherwise specified, the other terminals in any embodiment of the present application may refer to terminals other than the first terminal and the second terminal.

[0146] In some embodiments, the first positioning method may have a mapping relationship or an association relationship with the first identifier, so that the first terminal can determine the first identifier based on the mapping relationship or association relationship and the first positioning method. In other embodiments, the identifier corresponding to the first positioning method may have a functional relationship with the first identifier, and the first terminal can determine the first identifier based on the functional relationship and the first positioning method.

[0147] Optionally, the first terminal may determine a first identifier set from a predetermined identifier set according to the first positioning method; and determine the first identifier from the first identifier set.

[0148] Optionally, the first terminal may select multiple identifiers from a set of subscribed identifiers according to the first positioning method, and determine the first identifier from the multiple identifiers.

[0149] In this way, the first identifier is determined by the first positioning method, and then the first positioning reference signal is determined according to the first identifier, so that the position information can be determined according to the first positioning method corresponding to the first positioning reference signal, thereby improving the convenience of determining the position information.

[0150] In some embodiments, the predetermined identifier set includes at least one identifier set; and the first terminal determines the first identifier from the predetermined identifier set according to the first positioning method, including:

[0151] The first terminal determines a first identifier set corresponding to the first positioning method; wherein the first identifier set is included in the at least one identifier set;

[0152] The first terminal determines the first identifier from the first identifier set.

[0153] Optionally, the at least one identification set may be pre-divided or pre-set. For example, the at least one identification set may be agreed upon by a protocol, or the at least one identification set may be pre-configured, or the at least one identification set may be configured by the second device, or the at least one identification set may be configured by a network device, or the at least one identification set may be configured by another terminal.

[0154] Optionally, the first identifier set corresponding to the first positioning method may include one identifier set or multiple identifier sets in at least one identifier set.

[0155] Optionally, the first terminal determining the first identifier from the first identifier set may include: the first terminal determining multiple identifiers from the first identifier set, and the first terminal determining the first identifier from the multiple identifiers.

[0156] In some embodiments, the first terminal determines the first identifier from the first identifier set, including: the first terminal randomly determines the first identifier from the first identifier set.

[0157] In some other embodiments, the first terminal determines the first identifier from the first identifier set, including: the first terminal determines the first identifier from the first identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

[0158] For example, when a first terminal receives a second positioning reference signal sent by a second terminal, the first terminal feeds back a first positioning reference signal corresponding to the second positioning reference signal to the second terminal. The first positioning reference signal may be determined based on a first identifier A selected from the first identifier set. When the first terminal actively sends the first positioning reference signal to the second terminal, the first positioning reference signal may be determined based on a first identifier B selected from the first identifier set. Optionally, the first identifier A and the first identifier B may be the same or different.

[0159] Optionally, when the first terminal determines a plurality of identifiers from the first identifier set according to the first information, the first terminal determines the first identifier from the plurality of identifiers according to the second information;

[0160] The first information is part of the third information; the third information includes: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal;

[0161] The second information is part or all of the third information except the first information.

[0162] Optionally, the first terminal determines the first identifier from the first identifier set according to the first information;

[0163] The first information is part of the third information; the third information includes: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

[0164] In some embodiments, the first terminal determines the first identifier set corresponding to the first positioning method, including: the first terminal determines the first identifier set corresponding to the first positioning method based on a corresponding relationship; wherein the corresponding relationship includes: a corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

[0165] Optionally, at least one identifier set may correspond to at least one positioning method. For example, at least one identifier set may be identifier sets A1, A2, and A3, and at least one positioning method may be positioning methods B1, B2, and B3. Identifier sets A1, A2, and A3 may correspond to positioning methods B1, B2, and B3, respectively.

[0166] Optionally, there may be a many-to-one relationship or a one-to-many relationship between the identification set and the positioning method. Optionally, one identification set may correspond to one or more positioning methods, and / or one positioning method may correspond to one or more identification sets.

[0167] Optionally, if there is one identifier set corresponding to the first positioning method, the one identifier set may be determined as the first identifier set. Optionally, if there are multiple identifier sets corresponding to the first positioning method, the multiple identifier sets may be determined as the first identifier set, or one identifier set may be selected from the multiple identifier sets as the first identifier set, or the union or intersection of the multiple identifier sets may be determined as the first identifier set.

[0168] Optionally, the corresponding relationship may be expressed as a corresponding list or list in other embodiments.

[0169] In some embodiments, the corresponding relationship is agreed upon by a protocol. In other embodiments, the corresponding relationship is determined by the first terminal based on a preconfiguration. In still other embodiments, the corresponding relationship is configured by a network device. In still other embodiments, the corresponding relationship is configured by the second terminal. In still other embodiments, the corresponding relationship is configured by a terminal other than the first terminal and the second terminal.

[0170] In some embodiments, the first terminal obtains the first positioning method, including: the first terminal determines the first positioning method according to a protocol agreement; or, the first terminal determines the first positioning method according to a pre-configuration; or, the first terminal determines the first positioning method according to information configured by a network device; or, the first terminal determines the first positioning method according to information configured by the second terminal; or, the first terminal determines the first positioning method according to information configured by other terminals other than the first terminal and the second terminal.

[0171] Optionally, the first terminal may be configured with one or more positioning methods, and the first terminal may select a first positioning method from the one or more positioning methods. For example, the first terminal may determine the first positioning method from multiple positioning methods based on at least one of the remaining battery power of the first terminal, positioning accuracy requirements, positioning services, whether the terminal is connected to a network device, whether the terminal is within network coverage, and the like. For another example, the first terminal may randomly select the first positioning method from multiple positioning methods. Optionally, the multiple positioning methods may all be positioning methods supported by the first terminal, or at least some of the multiple positioning methods may be positioning methods supported by the first terminal. Optionally, the first positioning method may be a positioning method that is supported or not supported by the first terminal.

[0172] In some embodiments, the first terminal may directly obtain the first positioning method based on a protocol agreement, or based on a preconfiguration, or based on information configured by a network device, or based on information configured by the second terminal, or based on information configured by another terminal. In other embodiments, the first terminal may determine multiple positioning methods based on a protocol agreement, or based on a preconfiguration, or based on information configured by a network device, or based on information configured by the second terminal, or based on information configured by another terminal, and determine the first positioning method from the multiple positioning methods.

[0173] In some embodiments, the first terminal determines the first identifier from a predetermined identifier set, including: the first terminal receives a second positioning reference signal sent by the second terminal; and the first terminal determines the first identifier from the predetermined identifier set based on the second positioning reference signal.

[0174] Optionally, the second positioning reference signal may be sent in a broadcast, multicast or unicast manner, so that the first terminal can receive the second positioning reference signal.

[0175] Optionally, the second positioning reference signal can be carried in SCI, PC5-RRC signaling or MAC CE.

[0176] In this embodiment, the first terminal determines to feed back the first positioning reference signal to the second terminal based on the second positioning reference signal sent by the second terminal, so that the second terminal can determine the location information of the first terminal and / or the second terminal based on the first positioning reference signal and the second positioning reference signal.

[0177] In some embodiments, the first terminal determines the first identifier from the predetermined identifier set according to the second positioning reference signal, including:

[0178] Determining, by the first terminal, a second identifier corresponding to the second positioning reference signal;

[0179] The first terminal determines the first identifier from the predetermined identifier set according to the second identifier.

[0180] Optionally, the first terminal may determine the second identifier corresponding to the second positioning reference signal according to the above formulas (1) to (5). Optionally, the second identifier corresponding to the second positioning reference signal may include one identifier or multiple identifiers. Optionally, in the case where the second positioning reference signal corresponds to multiple identifiers, the second identifier may be selected from the multiple identifiers. Optionally, selecting the second identifier from the multiple identifiers may include: randomly selecting the second identifier from the multiple identifiers, or selecting the second identifier from the multiple identifiers according to the positioning method supported by the first terminal or the first positioning method. For example, the second identifier is included in the multiple identifiers and is included in the first identifier set corresponding to the positioning method supported by the first terminal or the first positioning method.

[0181] Optionally, the first identifier and the second identifier may be the same or different. Optionally, the first identifier and the second identifier may both be included in a first identifier set. Optionally, the first identifier and the second identifier may be included in different identifier sets. For example, the first identifier may be included in the first identifier set, and the second identifier may be included in the second identifier set.

[0182] Exemplarily, the first terminal may determine a second positioning method based on the second identifier; and the first terminal may determine the first identifier from the predetermined identifier set based on the second positioning method. Optionally, the second positioning method may be the positioning method of the second terminal and / or the positioning method of the first terminal. Optionally, the second positioning method may be the same as or different from the first positioning method. Optionally, the first terminal and the second terminal may pre-negotiate a positioning method.

[0183] Optionally, the implementation method of the first terminal determining the first identifier from the predetermined identifier set according to the second positioning method corresponding to the second identifier may be similar to the implementation method of the first terminal determining the first identifier from the predetermined identifier set according to the first positioning method, and this application will not go into details.

[0184] Exemplarily, the first terminal may determine a second identifier set to which the second identifier belongs; and determine the second positioning method based on the second identifier set.

[0185] Exemplarily, the first terminal determining the first identifier from the predetermined identifier set according to the second positioning method may include: the first terminal determining the first identifier from the second identifier set according to the second positioning method.

[0186] In some embodiments, the predetermined set of identifiers includes at least one set of identifiers;

[0187] The first terminal determines the first identifier from the predetermined identifier set based on the second identifier, including: the first terminal determines the second identifier set to which the second identifier belongs; the second identifier set is included in the at least one identifier set; the first terminal determines the first identifier from the second identifier set.

[0188] Optionally, the second identification set may include one or more identification sets in at least one identification set, or the second identification set may be the intersection or union of multiple identification sets. Optionally, the identification set to which the second identification belongs may be one or more identification sets. In the case where the set to which the second identification belongs is one identification set, the one identification set may be determined as the second identification set. In the case where the set to which the second identification belongs is multiple identification sets, the second identification set may be determined from the multiple identification sets, or one identification set may be selected from the multiple identification sets and the selected one identification set may be determined as the second identification set, or the union or intersection of the multiple identification sets may be determined as the second identification set.

[0189] In some embodiments, the first terminal determines the first identifier from the second identifier set, including:

[0190] Determining, by the first terminal, a second positioning method corresponding to the second identifier set;

[0191] In a case where the second positioning method is a method requiring feedback of a positioning reference signal, the first terminal determines the first identifier from the second identifier set.

[0192] Optionally, the first terminal determining the second positioning method corresponding to the second identifier set includes: the first terminal determining the second positioning method corresponding to the second identifier set based on a corresponding relationship. The corresponding relationship includes: a corresponding relationship between the at least one identifier set and the at least one positioning method; the second positioning method is included in the at least one positioning method. Optionally, the second positioning method may include one or more positioning methods.

[0193] In any embodiment of the present application, the first positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference (RSTD) positioning method, arrival time difference (TDOA) positioning method, observed time difference (OTDOA) positioning method, departure angle (AOD) positioning method, and arrival angle (AOA) positioning method.

[0194] In any embodiment of the present application, the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed arrival time difference OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

[0195] Among them, for the description of the positioning methods listed here, reference can be made to the descriptions in other related technologies outside the embodiments of the present application, and the embodiments of the present application will not explain them one by one.

[0196] In any embodiment of the present application, the first positioning method includes at least one of the following: a positioning method based on a network device; a positioning method based on a terminal; a positioning method based on a combination of a network device and a terminal.

[0197] In any embodiment of the present application, the second positioning method includes at least one of the following: a positioning method based on a network device; a positioning method based on a terminal; a positioning method based on a combination of a network device and a terminal.

[0198] Optionally, the first positioning method and the second positioning method may be the same, different, or partially the same. For example, the first positioning method includes a multi-RTT positioning method, and the second positioning method includes a multi-RTT positioning method and a terminal-based positioning method.

[0199] Optionally, the first positioning method may be any one of the positioning methods listed above, or a combination of at least two of the positioning methods listed above. For example, the first positioning method may be a multi-RTT positioning method and an AOA positioning method. For another example, the second positioning method may be a multi-RTT positioning method and a terminal-based positioning method. Optionally, in the case where there are at least two positioning methods that can both determine the location, the first terminal and / or the second terminal may respectively determine the corresponding location information of at least two first terminals and / or location information of at least two second terminals based on the at least two positioning methods, and determine the location information of the first terminal and / or the location information of the second terminal based on the location information of the at least two first terminals and / or the location information of the at least two second terminals. For example, the average value, maximum value, minimum value, median value, etc. of the location information of at least two first terminals and / or the location information of at least two second terminals may be determined as the location information of the first terminal and / or the location information of the second terminal.

[0200] In some embodiments, the second positioning method is a method requiring feedback of a positioning reference signal, including one of the following:

[0201] The second positioning method includes: a multi-RTT positioning method;

[0202] The second positioning method includes: a multi-RTT positioning method and a terminal-based positioning method;

[0203] The second positioning method includes: a multi-RTT positioning method, and a positioning method based on the combination of network equipment and terminals.

[0204] In this case, when the second positioning method includes a multi-RTT positioning method, upon receiving the second positioning reference signal sent by the second terminal, the first terminal needs to feed back the first positioning reference signal to the second terminal. For example, the second terminal can determine the location information of each of the at least three terminals and / or the location information of the second terminal based on the time when the second positioning reference signal was sent and the time when the positioning reference signals (including the first positioning reference signal) respectively fed back by the at least three terminals (including the first terminal) were received.

[0205] In some embodiments, the first terminal determines the first identifier from the second identifier set, including: the first terminal randomly determines the first identifier from the second identifier set.

[0206] In some other embodiments, the first terminal determines the first identifier from the second identifier set, including: the first terminal determines the first identifier from the second identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

[0207] For example, the first identifier selected from the second identifier set when the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal may be the same as or different from the first identifier selected from the second identifier set when the first positioning reference signal is not used to respond to the second positioning reference signal sent by the second terminal.

[0208] Optionally, when the first terminal determines a plurality of identifiers from the second identifier set according to the first information, the first terminal determines the first identifier from the plurality of identifiers according to the second information;

[0209] The first information is part of the third information; the third information includes: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal;

[0210] The second information is part or all of the third information except the first information.

[0211] In some embodiments, the first terminal determines the first identifier from a predetermined identifier set, including: the first terminal randomly determines the first identifier from the predetermined identifier set.

[0212] In some other embodiments, the first terminal determines the first identifier from a predetermined identifier set, including: the first terminal determines the first identifier from the predetermined identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

[0213] For example, the first identifier selected from the predetermined identifier set when the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal may be the same as or different from the first identifier selected from the predetermined identifier set when the first positioning reference signal is not used to respond to the second positioning reference signal sent by the second terminal.

[0214] In any embodiment of the present application, the identifier of the first terminal includes at least one of the following:

[0215] Part or all of the cell-radio network temporary identifier (C-RNTI) of the first terminal, part or all of the group identifier of the communication group to which the first terminal belongs, part or all of the member ID of the communication group of the first terminal, part or all of the layer 2 source ID of the first terminal, and part or all of the layer 2 destination ID of the first terminal.

[0216] In any embodiment of the present application, the identifier of the second terminal includes at least one of the following:

[0217] Part or all of the C-RNTI of the second terminal, part or all of the group identifier of the communication group to which the second terminal belongs, part or all of the intra-group identifier of the communication group of the second terminal, part or all of the layer 2 source target identifier of the second terminal, and part or all of the layer 2 destination identifier of the second terminal.

[0218] Exemplarily, the identifier of the first terminal and / or the identifier of the second terminal may be all of the identifiers listed above, or the identifier of the first terminal and / or the identifier of the second terminal may be part of the identifiers listed above. For example, the identifier of the first terminal and / or the identifier of the second terminal may be a predetermined number of bits. Exemplarily, the identifier of the first terminal may be an identifier corresponding to a preset number of bits in the C-RNTI of the first terminal. For example, the identifier of the first terminal may be an identifier corresponding to the highest preset number of bits in the C-RNTI of the first terminal, or an identifier corresponding to the lowest preset number of bits, or an identifier corresponding to a randomly selected preset number of bits. Optionally, the identifiers corresponding to the preset number of bits may be continuous, discontinuous, or partially continuous.

[0219] In any embodiment of the present application, the resource information includes at least one of the following: time domain resource information, frequency domain resource information, and frequency layer information.

[0220] Optionally, the frequency layer information may be referred to as positioning frequency layer (Positioning Frequency Layer) information.

[0221] Exemplarily, the resource information of the first positioning reference signal may indicate resource information used to transmit the first positioning reference signal, and the resource information of the second positioning reference signal may indicate resource information used to transmit the second positioning reference signal.

[0222] Optionally, the resource information of the first positioning reference signal may include at least one of the following: time domain resource information used to transmit the first positioning reference signal, frequency domain resource information used to transmit the first positioning reference signal, and frequency layer information used to transmit the first positioning reference signal.

[0223] Optionally, the resource information of the second positioning reference signal may include at least one of the following: time domain resource information for transmitting the second positioning reference signal, frequency domain resource information for transmitting the second positioning reference signal, and frequency layer information for transmitting the second positioning reference signal.

[0224] Optionally, the time domain resource information used to transmit the first positioning reference signal and the time domain resource information used to transmit the second positioning reference signal may have the same or different symbols in the time slot. Optionally, the frequency domain resource information used to transmit the first positioning reference signal and the frequency domain resource information used to transmit the second positioning reference signal may be the same or different. Optionally, the frequency layer information used to transmit the first positioning reference signal and the frequency layer information used to transmit the second positioning reference signal may be the same or different.

[0225] Optionally, the resource information of the first positioning reference signal may be agreed upon by the first terminal according to a protocol, or may be determined by the first terminal according to a pre-configuration, or may be configured by a network device, or may be configured by the second terminal, or may be configured by other terminals other than the first terminal and the second terminal, or may be determined autonomously by the first terminal.

[0226] Optionally, the resource information of the second positioning reference signal may be agreed upon by the second terminal according to a protocol, or may be determined by the second terminal according to a pre-configuration, or may be configured by a network device, or may be configured by the first terminal, or may be configured by other terminals other than the first terminal and the second terminal, or may be determined autonomously by the second terminal.

[0227] In any embodiment of the present application, the time domain resource information includes at least one of the following: time unit information, position information of the first symbol occupied in the time unit, number of occupied symbols, repetition period information, number of repetitions information, interval information between repeated positioning reference signals, time slot offset information, and symbol offset information.

[0228] In any embodiment of the present application, the frequency domain resource information includes at least one of the following: bandwidth, starting physical resource block (PRB) information, and starting resource element (RE) offset information.

[0229] In any embodiment of the present application, the frequency layer information includes at least one of the following: subcarrier spacing, cyclic prefix, bandwidth, starting PRB information, PointA information, comb tooth size, comb tooth spacing, and resource element spacing (Resource Element Spacing).

[0230] In any embodiment of the present application, the resource information includes at least one of the following: time unit information, position information of the first symbol occupied in the time unit, number of occupied symbols, repetition period information, number of repetitions information, interval information between repeated positioning reference signals, time slot offset information, symbol offset information, bandwidth, starting physical resource block PRB information, starting resource element RE offset information, subcarrier spacing, cyclic prefix, PointA information, comb tooth size, comb tooth spacing, and resource unit spacing.

[0231] Optionally, the time unit information may be time domain resource information. Optionally, the time unit information includes at least one of the following: time slot information (e.g., time slot index) of the positioning reference signal (including the first positioning reference signal or the second positioning reference signal), position information of the first OFDM symbol occupied by the positioning reference signal in the time slot (e.g., the first OFDM symbol index), and information about the number of OFDM symbols occupied by the positioning reference signal.

[0232] Optionally, the time unit may include at least one of the following: one or more frames, one or more subframes, one or more time slots, or one or more symbols. Exemplarily, the time unit may be a time slot. Optionally, the position information of the first symbol occupied in the time unit may include the position information of the first symbol occupied in the time slot.

[0233] Optionally, the positioning reference signal (including the first positioning reference signal or the second positioning reference signal) may be repeatedly transmitted, for example, in the time domain or in the frequency domain. Taking repeated transmission in the time domain as an example, the repetition period information may be the repetition period of the repeatedly transmitted positioning reference signal, the number of repetitions information may be the number of repetitions of the repeatedly transmitted positioning reference signal, and the interval information between repeated positioning reference signals may be the interval between the repeatedly transmitted positioning reference signals.

[0234] Optionally, the cyclic prefix (CP) may include a normal CP or an extended CP. The cyclic prefix of the positioning reference signal may include: the CP in the time slot used to transmit the positioning reference signal is a normal CP or an extended CP.

[0235] Optionally, the bandwidth may include: a bandwidth used to transmit a positioning reference signal, or a system bandwidth.

[0236] Optionally, the Point A information may include Point A location information. The Point A location information may be center location information of subcarrier 0 of Common Resource Block (CRB) 0.

[0237] Optionally, the resource information used to transmit the positioning reference signal may be a comb tooth resource.

[0238] Optionally, the resource element spacing may represent a time domain spacing and / or a frequency domain spacing between two resource elements used to transmit a positioning reference signal.

[0239] In some embodiments, the first terminal determines the first identifier from the predetermined identifier set, including:

[0240] In a case where the first terminal determines a plurality of identifiers from the predetermined identifier set according to the first information, the first terminal determines the first identifier from the plurality of identifiers according to the second information;

[0241] The first information is part of the third information; the third information includes: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal;

[0242] The second information is part or all of the third information except the first information.

[0243] Exemplarily, when the first terminal determines multiple identifiers from the predetermined identifier set based on resource information of the first positioning reference signal, the first terminal determines the first identifier from the multiple identifiers based on the identifier of the first terminal. Optionally, when the first terminal determines at least two identifiers from the multiple identifiers based on the identifier of the first terminal, the first terminal determines the first identifier from the at least two identifiers based on whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal.

[0244] In some embodiments, the second identifier is the same as the first identifier.

[0245] In some other embodiments, the second identifier and the first identifier have a functional relationship. For example, the second identifier can be determined according to the following formula: Alternatively, the first identifier can be determined according to the following formula: in, Indicates the second identifier; represents the first identifier; f1() and f2() represent the functional relationship.

[0246] In any embodiment of the present application, the predetermined identification set is agreed upon by the protocol; or, the predetermined identification set is determined by the first terminal according to pre-configuration; or, the predetermined identification set is configured by the network device; or, the predetermined identification set is configured by the second terminal; or, the predetermined identification set is configured by other terminals other than the first terminal and the second terminal.

[0247] FIG13 is a flow chart of a communication method provided in an embodiment of the present application. As shown in FIG13 , the method includes:

[0248] S1301. A second terminal receives a first positioning reference signal sent by a first terminal; wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

[0249] Optionally, both the first terminal and the second terminal may be preconfigured with a predetermined identification set.

[0250] In any embodiment of the present application, the first positioning reference signal is used to determine the location information of the first terminal and / or the location information of the second terminal. Exemplarily, the location information of the first terminal and / or the location information of the second terminal can be determined based on the transmission time and / or reception time of the first positioning reference signal, or based on the time domain information of the first positioning reference signal when it is transmitted and / or when it is received.

[0251] In some embodiments, after receiving the first positioning reference signal, the second terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the time when the first positioning reference signal is sent and / or the time when the first positioning reference signal is received. In other embodiments, before receiving the first positioning reference signal, the second terminal may send a second positioning reference signal to the first terminal, and the second terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the time when the second positioning reference signal is sent, and / or the time when the first positioning reference signal is received, and / or the time when the first terminal receives the second positioning reference signal, and / or the time when the first terminal sends the first positioning reference signal. Optionally, the time when the first terminal receives the second positioning reference signal and / or the time when the first terminal sends the first positioning reference signal may be sent by the first terminal to the second terminal.

[0252] Optionally, the second terminal may further transmit the location information of the first terminal and / or the location information of the second terminal to the first terminal. Optionally, the second terminal may transmit parameters for determining location information (e.g., the time of transmitting and / or receiving a positioning reference signal) to the first terminal, so that the first terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the parameters, thereby allowing the second terminal to receive the location information of the first terminal and / or the location information of the second terminal transmitted by the first terminal. Optionally, the second terminal may transmit measurement results based on the first positioning reference signal to the first terminal, and the first terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the measurement results.

[0253] In other embodiments, after receiving the first positioning reference signal, the second terminal may send a third positioning reference signal to the first terminal, so that the first terminal can determine the location information of the first terminal and / or the location information of the second terminal based on the transmission time of the first positioning reference signal and the reception time of the third positioning reference signal, or so that the first terminal can determine the location information of the first terminal and / or the location information of the second terminal based on the transmission time of the first positioning reference signal and / or the reception time of the third positioning reference signal and / or the reception time of the first positioning reference signal sent by the second terminal to the first terminal and / or the transmission time of the third positioning reference signal sent by the second terminal to the first terminal. Optionally, the second terminal may also receive the location information of the first terminal and / or the location information of the second terminal sent by the first terminal.

[0254] Optionally, the first positioning reference signal may be carried in SCI, PC5-RRC signaling, or MAC CE. Optionally, the location information and / or measurement result may be carried in SCI, PC5-RRC signaling, or MAC CE.

[0255] In some embodiments, the method further includes: the second terminal determining, based on the first positioning reference signal, whether to feed back a third positioning reference signal corresponding to the first positioning reference signal to the first terminal.

[0256] Optionally, the second terminal may determine, based on the first positioning reference signal, to feed back a third positioning reference signal for the first positioning reference signal to the first terminal, or the second terminal may determine, based on the first positioning reference signal, not to feed back a third positioning reference signal for the first positioning reference signal to the first terminal.

[0257] Optionally, when the second terminal does not feed back a third positioning reference signal for the first positioning reference signal to the first terminal, the second terminal may determine the location information of the first terminal and / or the location information of the second terminal based on the first positioning reference signal.

[0258] Optionally, the third positioning reference signal can be carried in SCI, PC5-RRC signaling or MAC CE.

[0259] In some embodiments, the second terminal determines, based on the first positioning reference signal, whether to send a third positioning reference signal to the first terminal, including:

[0260] In a case where the first positioning signal is a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, the second terminal does not feed back the third positioning reference signal for the first positioning reference signal to the first terminal.

[0261] Optionally, after the second terminal sends the second positioning reference signal to the first terminal, and the second positioning method corresponding to the second positioning reference signal includes a multi-RTT positioning method, the second terminal receives the first positioning reference signal sent by the first terminal, then the first positioning reference signal is a feedback signal for the second positioning reference signal sent by the second terminal to the first terminal, and the second terminal determines not to feed back the third positioning reference signal.

[0262] In some embodiments, the second terminal determines, based on the first positioning reference signal, whether to send a third positioning reference signal to the first terminal, including:

[0263] When the first positioning signal is not a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, the second terminal determines a first identifier corresponding to the first positioning reference signal;

[0264] The second terminal determines the first positioning method corresponding to the first identifier;

[0265] In a case where the first positioning method requires feedback of a positioning reference signal, the second terminal feeds back the third positioning reference signal corresponding to the first positioning reference signal to the first terminal; or

[0266] In a case where the first positioning method does not require feedback of a positioning reference signal, the second terminal does not feed back the third positioning reference signal corresponding to the first positioning reference signal to the first terminal.

[0267] Optionally, when the first positioning signal is not a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, the first positioning signal is a signal actively sent by the first terminal to the second terminal.

[0268] Optionally, the second terminal may determine the first identifier corresponding to the first positioning reference signal according to formulas (1) to (5). Optionally, the implementation manner in which the second terminal determines the first identifier corresponding to the first positioning reference signal may be similar to the implementation manner in which the first terminal determines the second identifier corresponding to the second positioning reference signal in the above embodiment.

[0269] Optionally, the first positioning method is a method requiring feedback of a positioning reference signal, including at least one of the following:

[0270] The first positioning method includes: a multi-RTT positioning method;

[0271] The first positioning method includes: a multi-RTT positioning method and a terminal-based positioning method;

[0272] The first positioning method includes: a multi-RTT positioning method, and a positioning method based on the combination of network equipment and terminals.

[0273] In some embodiments, the first positioning method is a method that does not require feedback of a positioning reference signal, and includes at least one of the following: the first positioning method includes: a round-trip time (RTT) positioning method, a reference signal time difference (RSTD) positioning method, a time difference of arrival (TDOA) positioning method, an observed time difference of arrival (OTDOA) positioning method, an angle of departure (AOD) positioning method, and an angle of arrival (AOA) positioning method. In other embodiments, the first positioning method is a method that does not require feedback of a positioning reference signal, and includes: the first positioning method includes: a multi-RTT positioning method, and a positioning method based on a network device.

[0274] In some embodiments, the second terminal determines the first positioning method corresponding to the first identifier, including: the second terminal determines that the first identifier belongs to a first identifier set; the second terminal determines the first positioning method corresponding to the first identifier set.

[0275] Optionally, the first identification set may include one or more identification sets. Optionally, when the first identification set belongs to one identification set, the second terminal may determine the one identification set as the first identification set. Optionally, when the first identification set belongs to multiple identification sets, the second terminal may determine the multiple identification sets as the first identification set, or the second terminal may determine one identification set from multiple identification sets and determine the determined one identification set as the first identification set, or the second terminal may determine the intersection or union of multiple identification sets as the first identification set.

[0276] Optionally, the first identification set may correspond to one positioning method or multiple positioning methods.

[0277] In some embodiments, the second terminal determines the first positioning method corresponding to the first identifier set, including: the second terminal determines the first positioning method corresponding to the first identifier set based on a corresponding relationship; wherein the corresponding relationship includes: a corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

[0278] In some embodiments, the correspondence is agreed upon by a protocol; or, the correspondence is determined by the second terminal based on a pre-configuration; or, the correspondence is configured by a network device; or, the correspondence is configured by the first terminal; or, the correspondence is configured by other terminals other than the first terminal and the second terminal.

[0279] In some embodiments, the second terminal may actively send the second positioning reference signal to the first terminal, and then the second terminal receives the first positioning reference signal sent by the first terminal.

[0280] In some embodiments, the method further comprises:

[0281] The second terminal determines a second identifier from a predetermined identifier set;

[0282] The second terminal sends a second positioning reference signal to the first terminal according to the second identifier.

[0283] Optionally, the second terminal may determine a second positioning reference signal according to the second identifier; and the second terminal sends the second positioning reference signal to the first terminal.

[0284] Optionally, the second terminal sending the second positioning reference signal to the first terminal may include: the second terminal sending the second positioning reference signal in a broadcast / multicast manner, so that the second terminal can send the second positioning reference signal to the first terminal. Optionally, the second terminal sending the second positioning reference signal to the first terminal may include: the second terminal sending the second positioning reference signal to the first terminal in a unicast manner.

[0285] Optionally, the way in which the second terminal determines the second identifier from the predetermined identifier set is similar to the way in which the first terminal determines the first identifier from the predetermined identifier set. The description of the second identifier determined by the second terminal from the predetermined identifier set can refer to the description of the first terminal determining the first identifier from the predetermined identifier set.

[0286] In some embodiments, the second terminal determines the second identifier from a predetermined identifier set, including: the second terminal obtains a second positioning method; and the second terminal determines the second identifier from the predetermined identifier set according to the second positioning method.

[0287] In some embodiments, the predetermined set of identifiers includes at least one set of identifiers;

[0288] The second terminal determining the second identifier from the predetermined identifier set according to the second positioning method includes:

[0289] The second terminal determines a second identifier set corresponding to the second positioning method; wherein the second identifier set is included in the at least one identifier set;

[0290] The second terminal determines the second identifier from the second identifier set.

[0291] In some embodiments, the second terminal determines the second identifier from the second identifier set, including: the second terminal randomly determines the second identifier from the second identifier set.

[0292] In some embodiments, the second terminal determines the second identifier from the second identifier set, including: the second terminal determines the second identifier from the second identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the second positioning reference signal is used to respond to a positioning reference signal sent by the first terminal, the second identifier corresponding to a positioning reference signal sent by the first terminal, and resource information of a positioning reference signal sent by the first terminal.

[0293] In some embodiments, the second terminal determines a second identifier set corresponding to the second positioning method, including:

[0294] The second terminal determines the second identifier set corresponding to the second positioning method based on the corresponding relationship; wherein the corresponding relationship includes: the corresponding relationship between the at least one identifier set and the at least one positioning method; the second positioning method is included in the at least one positioning method.

[0295] In some embodiments, the second terminal obtains the second positioning method, including:

[0296] The second terminal determines the second positioning method according to a protocol agreement; or, the second terminal determines the second positioning method according to a pre-configuration; or, the second terminal determines the second positioning method according to information configured by a network device; or, the second terminal determines the second positioning method according to information configured by the second terminal; or, the second terminal determines the second positioning method according to information configured by other terminals other than the first terminal and the second terminal.

[0297] In some embodiments, the first positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed arrival time difference OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

[0298] In some embodiments, the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed arrival time difference OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

[0299] In some embodiments, the predetermined identification set is agreed upon by the protocol; or, the predetermined identification set is determined by the second terminal based on pre-configuration; or, the predetermined identification set is configured by the network device; or, the predetermined identification set is configured by the first terminal; or, the predetermined identification set is configured by other terminals other than the first terminal and the second terminal.

[0300] FIG14 is a flow chart of another communication method provided in an embodiment of the present application. As shown in FIG14 , the method includes:

[0301] S1401. A network device configures a predetermined identifier set for a first terminal; the predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to a second terminal.

[0302] Optionally, the description of the predetermined identification set may be understood with reference to the description of the above embodiment.

[0303] Optionally, the network device may send the preset identifier set in a broadcast / multicast manner, so that the network device configures the predetermined identifier set to the first terminal, or the network device may send the predetermined identifier set to the first terminal in a unicast manner.

[0304] Optionally, the predetermined identifier set may be carried in a system message, downlink control information (DCI), RRC signaling or MAC CE.

[0305] In some embodiments, the predetermined identification set includes at least one identification set; the at least one identification set includes a first identification set, and the first identification set includes the first identification;

[0306] There is a corresponding relationship between the at least one identification set and the at least one positioning method;

[0307] The first identification set corresponds to the first positioning method; the first positioning method is included in the at least one positioning method.

[0308] In some embodiments, the method further includes: the network device configuring the corresponding relationship and / or the first positioning method to the first terminal.

[0309] Optionally, the corresponding relationship and / or the first positioning method can be carried in a system message, DCI, RRC signaling or MAC CE.

[0310] This embodiment of the application provides a method for determining a positioning reference signal sequence identifier. (including the above-mentioned first identification and / or second identification) method.

[0311] The following is another example of an embodiment of the present application:

[0312] In some embodiments, multiple positioning reference signal sequence identifier sets (corresponding to the above-mentioned predetermined identifier set) may be configured, and different positioning reference signal sequence identifier sets are applicable to different positioning methods.

[0313] Each positioning reference signal sequence identifier set includes one or more positioning reference signal sequence identifiers. When a positioning reference signal sequence identifier set includes a positioning reference signal sequence identifier, the positioning reference signal sequence identifier set may also be represented as the positioning reference signal sequence identifier. Optionally, a positioning reference signal sequence identifier set and a positioning method have a corresponding relationship, and this correspondence is pre-configured or network-configured.

[0314] In some examples, a first terminal obtains first information and determines a first positioning method based on the first information; the first terminal obtains second information and determines a correspondence between the positioning method and a set of positioning reference signal sequence identifiers based on the second information; the first terminal determines a set of positioning reference signal sequence identifiers based on the first positioning method and the correspondence, and the first terminal determines a first positioning reference signal sequence identifier (corresponding to the above-mentioned first identifier) ​​from the set of positioning reference signal sequence identifiers. For example, the first terminal randomly selects a positioning reference signal sequence identifier from the set of positioning reference signal sequence identifiers as the first positioning reference signal sequence identifier. For another example, the first terminal determines the first positioning reference signal sequence identifier from the set of positioning reference signal sequence identifiers based on at least one of the following: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

[0315] In other examples, the first terminal receives a positioning reference signal sent by the second terminal, and determines the second positioning reference signal sequence identifier (corresponding to the above-mentioned second identifier) ​​corresponding to the positioning reference signal; the first terminal obtains the second information, and determines the correspondence between the positioning method and the positioning reference signal sequence identifier set based on the second information; the first terminal determines the positioning method based on the second positioning reference signal sequence identifier and the correspondence. Furthermore, the first terminal can determine whether it is necessary to send the first positioning reference signal to the second terminal based on the positioning method. For example, if the positioning method is the Multi-RTT method, the first terminal determines to send the first positioning reference signal; if the positioning method is the RSTD or TDOA method, the first terminal determines not to send the first positioning reference signal.

[0316] In other embodiments, multiple positioning reference signal sequence identifier sets may be configured, including a first positioning reference signal sequence identifier set and a second positioning reference signal sequence identifier set. The first positioning reference signal sequence identifier set is applicable to positioning based on network devices, and the second positioning reference signal sequence identifier set is applicable to positioning based on terminals. Optionally, a third positioning reference signal sequence identifier set may also be included, and the third positioning reference signal sequence identifier set is applicable to positioning methods based on a combination of network devices and terminals. Optionally, the third positioning reference signal sequence identifier set may be the intersection or union of the first positioning reference signal sequence identifier set and the second positioning reference signal sequence identifier set.

[0317] Network device-based positioning refers to positioning reference signals being sent or received by a network device; terminal-based positioning refers to positioning reference signals being sent or received by both terminals. Combined network device and terminal-based positioning refers to positioning reference signals being sent or received by either a network device or a terminal.

[0318] Figure 15 is a schematic diagram of a positioning method based on network devices provided in an embodiment of the present application. As shown in Figure 15, three network devices send a positioning reference signal to a target terminal (for example, the first terminal or the second terminal mentioned above). The target terminal can determine the location information of the target terminal and / or the location information of the target terminal relative to the three network devices based on the positioning reference signal. For example, the target terminal can determine the location information based on the time when the positioning reference signal is sent and the time when it is received. It should be noted that although Figure 15 shows that the position is determined by the positioning reference signals sent by three network devices, in other embodiments, the position can also be determined by the positioning reference signals sent by four or more network devices.

[0319] FIG16 is a schematic diagram of a terminal-based positioning provided by an embodiment of the present application. As shown in FIG16 , three terminals can send positioning reference signals to a target terminal, and the target terminal can determine the location information of the target terminal and / or the location information of the target terminal relative to the three terminals based on the positioning reference signals. For example, the target terminal can determine the location information based on the time when the positioning reference signal is sent and the time when it is received. It should be noted that although FIG16 shows that the location is determined by the positioning reference signals sent by three terminals, in other embodiments, the location can also be determined by the positioning reference signals sent by four or more terminals.

[0320] Among the methods for positioning a terminal, including a positioning method based on a network device, a positioning method based on a terminal, and a method combining the positioning method based on a network device and the positioning method based on a terminal (i.e., the above-mentioned positioning method based on a combination of a network device and a terminal), a corresponding positioning reference signal sequence identifier set can be configured for at least one of these three methods, so that the terminal can determine whether it is necessary to send a corresponding positioning reference signal based on the detected positioning reference signal sequence identifier.

[0321] Figure 17 is a schematic diagram of determining whether to feed back a positioning reference signal provided in an embodiment of the present application. As shown in Figure 17, some terminals in the system are configured as a network device-based positioning method, such as the first terminal; some terminals are configured as a terminal-based positioning method, such as the third terminal; the first terminal and the third terminal both use a Multi-RTT-based positioning method.

[0322] The first terminal obtains the first information, determines a first positioning reference signal sequence identifier set (which may correspond to the first identifier set) corresponding to the network device positioning method based on the first information, selects a first positioning reference signal sequence identifier (corresponding to the first identifier) ​​from the first information, generates a first positioning reference signal based on the identifier, and sends the first positioning reference signal to the network device and the second terminal. The first terminal may broadcast or multicast the first positioning reference signal.

[0323] The third terminal obtains the second information, determines a second positioning reference signal sequence identifier set corresponding to the terminal positioning method based on the second information, selects a fourth positioning reference signal sequence identifier from the second information, generates a fourth positioning reference signal based on the identifier, and transmits the fourth positioning reference signal to the second terminal. The third terminal may broadcast or multicast the fourth positioning reference signal. It should be noted that although Figure 17 illustrates the third terminal transmitting the fourth positioning reference signal to the second terminal, in other embodiments, the third terminal may also transmit the fourth positioning reference signal to a fourth terminal, a fifth terminal, a network device, or the like (not shown in Figure 17).

[0324] The second terminal detects the first and fourth positioning reference signals, determines the corresponding first and fourth positioning reference signal sequence identifiers, and combines the first and second information (wherein the first information includes: a first positioning reference signal sequence identifier set corresponding to the network device-based positioning method; the second information includes: a second positioning reference signal sequence identifier set corresponding to the terminal-based positioning method) to determine that the first and fourth positioning reference signal sequence identifiers belong to the first and second positioning reference signal sequence identifier sets, respectively, and that these two sets correspond to network device-based positioning and terminal-based positioning, respectively. In this way, the second terminal determines to send a fifth positioning reference signal (optionally, the fifth positioning reference signal may be sent via unicast) to the third terminal in response to the third terminal's fourth positioning reference signal, and does not feed back a positioning reference signal to the first terminal. Optionally, the third terminal may determine the second terminal's location information and / or the third terminal's location information based on the time when the fourth positioning reference signal was sent and / or the time when the fifth positioning reference signal was received. Optionally, the location information of the second terminal includes the current location information of the second terminal and / or the location information of the second terminal relative to the third terminal; the location information of the third terminal includes the current location information of the third terminal and / or the location information of the third terminal relative to the second terminal.

[0325] It should be noted that what is not shown in Figure 17 is that after the network device receives the first positioning reference signal, it can feed back a sixth positioning reference signal to the first terminal (optionally, the sixth positioning reference signal can be sent via unicast), so that the first terminal can determine the location information of the first terminal and / or the location information of the network device based on the time of sending the first positioning reference signal and / or the time of receiving the sixth positioning reference signal. Optionally, the location information of the first terminal includes the current location information of the first terminal and / or the location information of the first terminal relative to the network device; the location information of the network device includes the current location information of the network device and / or the location information of the network device relative to the first terminal.

[0326] In other embodiments, if the first terminal is configured for a terminal-based positioning method or a positioning method based on a combination of a network device and a terminal, the second terminal, upon receiving the first positioning reference signal sent by the first terminal, needs to feed back a third positioning reference signal to the first terminal. Alternatively, in other embodiments, the second terminal may be configured for a terminal-based positioning method or a positioning method based on a combination of a network device and a terminal, and the second terminal may broadcast or multicast the second positioning reference signal. When the first terminal receives the second positioning reference signal, the first terminal needs to feed back the first positioning reference signal to the second terminal.

[0327] Optionally, the third terminal may determine the fourth positioning reference signal in a manner similar to the manner in which the first terminal determines the first positioning reference signal; the second terminal may determine the fifth positioning reference signal in a manner similar to the manner in which the second terminal determines the third positioning reference signal.

[0328] In some further embodiments, a terminal (a first terminal or a second terminal) obtains a positioning reference signal sequence identifier set, where the set includes N positioning reference signal sequence identifiers, where N is an integer greater than or equal to 1. The terminal determines the positioning reference signal sequence identifier based on at least one of the following information: terminal identification information, resource information of the positioning reference signal to be sent, resource information of the received positioning reference signal, whether the second positioning reference signal to be sent is used to respond to the received first positioning reference signal, and the positioning reference signal sequence identifier corresponding to the received positioning reference signal.

[0329] Optionally, the terminal identification includes at least one of the following: a cell radio network temporary identifier (C-RNTI), a group identifier of the communication group to which the terminal belongs, an intra-group identifier of the terminal within the communication group, a layer 2 source / destination identifier, and a layer 2 destination identifier (Destination ID). Optionally, the terminal identification information may be all or part of the identification information of one or more terminal identifications listed above. For example, the terminal identification information includes a partial bit sequence of the terminal identification.

[0330] Optionally, the resource information includes at least one of the following:

[0331] Positioning reference signal time domain resource information (such as at least one of the following: the time slot information where the positioning reference signal is located, the position information of the first OFDM symbol occupied by the positioning reference signal in the time slot, the number of OFDM symbols occupied by the positioning reference signal, the repetition period information of the positioning reference signal, the number of repetitions of the positioning reference signal, the time domain interval information between two adjacent repeated positioning reference signals, the time slot offset information, and the symbol offset information);

[0332] Frequency domain resource information of the positioning reference signal (such as at least one of the following: bandwidth of the positioning reference signal (PRS), starting PRB information of the PRS, and starting RE offset information of the PRS);

[0333] Positioning frequency layer information, which is used to indicate at least one of the following: PRS subcarrier spacing, cyclic prefix, resource bandwidth, starting PRB information, PointA information, comb tooth size or resource unit spacing.

[0334] In some examples, the positioning reference signal sequence identifier can be determined based on the terminal identifier. For example, to achieve positioning of a first terminal, the first terminal and several other terminals or roadside units (RSUs) form a communication group. The first terminal determines the positioning reference signal sequence identifier based on the group identifier information of the communication group or the intra-group identifier information of the first terminal within the communication group.

[0335] In other examples, a positioning reference signal sequence identifier can be determined based on positioning reference signal resources. For example, a first terminal obtains first information and determines positioning reference signal resources, i.e., transmission resources used to transmit a positioning reference signal, based on the first information. The first terminal determines one or more positioning reference signal sequence identifiers based on time domain resource and / or frequency domain resource information of the positioning reference signal. If multiple positioning reference signal sequence identifiers are determined, the first terminal further determines a positioning reference signal sequence identifier from the multiple positioning reference signal sequence identifiers based on other information, such as terminal identification information.

[0336] In some further examples, the positioning reference signal sequence identifier can be determined based on the positioning reference signal sequence identifier corresponding to the received positioning reference signal sequence. For example, the first terminal receives the second positioning reference signal sent by other terminals, and the first terminal needs to send a first positioning reference signal in response to the second positioning reference signal. At this time, the first positioning reference signal sequence identifier can be determined based on the second positioning reference signal sequence identifier. For example, the second positioning reference signal sequence corresponds to the second positioning reference signal sequence identifier; the first positioning reference signal sequence corresponds to the first positioning reference signal sequence identifier, and the first positioning reference signal sequence identifier has a corresponding relationship with the second positioning reference signal sequence, for example, the two positioning reference signal sequence identifiers are the same; or, the second positioning reference signal sequence identifier and the first positioning reference signal sequence identifier have a functional relationship, that is, the first positioning reference signal sequence identifier can be determined according to the second positioning reference signal sequence identifier and the functional relationship, or the second positioning reference signal sequence identifier can be determined according to the first positioning reference signal sequence identifier and the functional relationship. For example, the second identifier can be determined according to the following formula: Alternatively, the first identifier can be determined according to the following formula: in, Indicates the second identifier; represents the first identifier; f1() and f2() represent the functional relationship.

[0337] The embodiment of the present application provides a method for a first terminal to determine a positioning reference signal sequence identifier based on information such as a positioning method, a terminal identifier, and a positioning signal transmission resource, so that the terminal can determine the corresponding positioning reference signal identifier.

[0338] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all fall within the scope of protection of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will no longer describe the various possible combinations separately. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of ​​the present application, they should also be regarded as the contents disclosed in the present application. For another example, under the premise of no conflict, the various embodiments and / or the technical features in each embodiment described in the present application can be arbitrarily combined with the prior art, and the technical solution obtained after the combination should also fall within the scope of protection of the present application.

[0339] It should also be understood that in the various method embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply a precedence in the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. In addition, in the embodiments of the present application, the terms "downlink," "uplink," and "sidelink" are used to indicate the transmission direction of signals or data, where "downlink" is used to indicate the first direction of transmission of signals or data from a site to a user equipment in a cell, "uplink" is used to indicate the second direction of transmission of signals or data from a user equipment in a cell to a site, and "sidelink" is used to indicate the third direction of transmission of signals or data from user equipment 1 to user equipment 2. For example, "downlink signal" indicates that the transmission direction of the signal is the first direction. In addition, in the embodiments of the present application, the term "and / or" is merely a description of the association relationship between associated objects, indicating that three relationships can exist. Specifically, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0340] Figure 18 is a schematic diagram of the structural composition of a communication device provided in an embodiment of the present application. As shown in Figure 18, the communication device 1800 can be applied to a first terminal, and the communication device 1800 includes: a determination unit 1801, used to determine a first identifier from a predetermined identifier set; a communication unit 1802, used to send a first positioning reference signal to the second terminal based on the first identifier.

[0341] In some embodiments, the determining unit 1801 is further configured to: acquire a first positioning method; and determine the first identifier from the predetermined identifier set according to the first positioning method.

[0342] In some embodiments, the predetermined identifier set includes at least one identifier set; the determination unit 1801 is further used to: determine a first identifier set corresponding to the first positioning method; wherein the first identifier set is included in the at least one identifier set; and determine the first identifier from the first identifier set.

[0343] In some embodiments, the determination unit 1801 is further used to: randomly determine the first identifier from the first identifier set; or, the determination unit 1801 is further used to: determine the first identifier from the first identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, the resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and the resource information of the second positioning reference signal sent by the second terminal.

[0344] In some embodiments, the determination unit 1801 is further used to: determine the first identifier set corresponding to the first positioning method based on the corresponding relationship; wherein the corresponding relationship includes: the corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

[0345] In some embodiments, the correspondence is agreed upon by a protocol; or, the correspondence is determined by the first terminal based on pre-configuration; or, the correspondence is configured by a network device; or, the correspondence is configured by the second terminal; or, the correspondence is configured by other terminals other than the first terminal and the second terminal.

[0346] In some embodiments, the determination unit 1801 is further used to: determine the first positioning method according to a protocol agreement; or, determine the first positioning method according to a pre-configuration; or, determine the first positioning method according to information configured by a network device; or, determine the first positioning method according to information configured by the second terminal; or, determine the first positioning method according to information configured by terminals other than the first terminal and the second terminal.

[0347] In some embodiments, the communication unit 1802 is further used to: receive a second positioning reference signal sent by the second terminal; and the determination unit 1801 is further used to: determine the first identifier from the predetermined identifier set according to the second positioning reference signal.

[0348] In some embodiments, the determining unit 1801 is further configured to: determine a second identifier corresponding to the second positioning reference signal; and determine the first identifier from the predetermined identifier set according to the second identifier.

[0349] In some embodiments, the predetermined identification set includes at least one identification set; the determination unit 1801 is further used to: determine the second identification set to which the second identification belongs; the second identification set is included in the at least one identification set; and determine the first identification from the second identification set.

[0350] In some embodiments, the determination unit 1801 is further configured to: determine a second positioning method corresponding to the second identifier set; and when the second positioning method is a method requiring feedback of a positioning reference signal, determine the first identifier from the second identifier set.

[0351] In some embodiments, the first positioning method or the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed arrival time difference OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

[0352] In some embodiments, the first positioning method or the second positioning method includes at least one of the following: a positioning method based on a network device; a positioning method based on a terminal; a positioning method based on a combination of a network device and a terminal.

[0353] In some embodiments, the second positioning method is a method that requires feedback of a positioning reference signal, including one of the following: the second positioning method includes: a multi-RTT positioning method; the second positioning method includes: a multi-RTT positioning method, and a terminal-based positioning method; the second positioning method includes: a multi-RTT positioning method, and a positioning method based on a combination of network equipment and terminals.

[0354] In some embodiments, the determination unit 1801 is further used to: randomly determine the first identifier from the second identifier set; or, the determination unit 1801 is further used to: determine the first identifier from the second identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, the resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and the resource information of the second positioning reference signal sent by the second terminal.

[0355] In some embodiments, the determination unit 1801 is further used to: randomly determine the first identifier from the predetermined identifier set; or, the determination unit 1801 is further used to: determine the first identifier from the predetermined identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, the resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to the second positioning reference signal sent by the second terminal, the second identifier corresponding to the second positioning reference signal sent by the second terminal, and the resource information of the second positioning reference signal sent by the second terminal.

[0356] In some embodiments, the identifier of the first terminal includes at least one of the following:

[0357] Part or all of the cell radio network temporary identifier C-RNTI of the first terminal, part or all of the group identifier of the communication group to which the first terminal belongs, part or all of the intra-group identifier of the communication group of the first terminal, part or all of the layer 2 source target identifier of the first terminal, and part or all of the layer 2 destination identifier of the first terminal.

[0358] In some embodiments, the identifier of the second terminal includes at least one of the following: part or all of the C-RNTI of the second terminal, part or all of the group identifier of the communication group to which the second terminal belongs, part or all of the intra-group identifier of the communication group of the second terminal, part or all of the layer 2 source target identifier of the second terminal, and part or all of the layer 2 destination identifier of the second terminal.

[0359] In some embodiments, the resource information includes at least one of the following: time domain resource information, frequency domain resource information, and frequency layer information.

[0360] In some embodiments, the time domain resource information includes at least one of the following: time unit information, position information of the first symbol occupied in the time unit, number of occupied symbols, repetition period information, number of repetitions information, interval information between repeated positioning reference signals, time slot offset information, and symbol offset information;

[0361] The frequency domain resource information includes at least one of the following: bandwidth, starting physical resource block PRB information, and starting resource element RE offset information;

[0362] The frequency layer information includes at least one of the following: subcarrier spacing, cyclic prefix, bandwidth, starting PRB information, PointA information, comb tooth size, comb tooth spacing, and resource unit spacing.

[0363] In some embodiments, the determining unit 1801 is further configured to: determine the first identifier from the plurality of identifiers according to the second information when the first terminal determines the plurality of identifiers from the predetermined identifier set according to the first information;

[0364] The first information is part of the third information; the third information includes: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal;

[0365] The second information is part or all of the third information except the first information.

[0366] In some embodiments, the second identifier is the same as the first identifier; or

[0367] The second identifier and the first identifier have a functional relationship.

[0368] In some embodiments, the predetermined identification set is agreed upon by a protocol; or, the predetermined identification set is determined by the first terminal according to a pre-configuration; or, the predetermined identification set is configured by a network device; or, the predetermined identification set is configured by the second terminal; or, the predetermined identification set is configured by terminals other than the first terminal and the second terminal.

[0369] FIG19 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application. As shown in FIG19 , a communication device 1900 can be applied to a second terminal. The communication device 1900 includes:

[0370] The communication unit 1901 is configured to receive a first positioning reference signal sent by a first terminal; wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

[0371] In some embodiments, the communication device 1900 further includes: a determination unit 1902 configured to determine resources (including time domain resources and / or frequency domain resources) for receiving the first positioning reference signal. The communication unit 1901 is further configured to receive the first positioning reference signal sent by the first terminal based on the determined resources for the first positioning reference signal.

[0372] In some embodiments, the communication unit 1901 is further configured to: determine, based on the first positioning reference signal, whether to feed back a third positioning reference signal corresponding to the first positioning reference signal to the first terminal.

[0373] In some embodiments, the communication unit 1901 is further used to: when the first positioning signal is a feedback signal for the second positioning reference signal sent by the second terminal to the first terminal, not feed back the third positioning reference signal for the first positioning reference signal to the first terminal.

[0374] In some embodiments, the determining unit 1902 is further configured to: when the first positioning signal is not a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, determine, by the second terminal, a first identifier corresponding to the first positioning reference signal; and determine, by the second terminal, the first positioning method corresponding to the first identifier;

[0375] Communication unit 1901 is further configured to: when the first positioning method is a method requiring feedback of a positioning reference signal, cause the second terminal to feed back the third positioning reference signal for the first positioning reference signal to the first terminal; or, when the first positioning method is a method not requiring feedback of a positioning reference signal, cause the second terminal not to feed back the third positioning reference signal for the first positioning reference signal to the first terminal.

[0376] In some embodiments, the determining unit 1902 is further configured to: determine that the first identifier belongs to a first identifier set; and determine the first positioning method corresponding to the first identifier set.

[0377] In some embodiments, the determination unit 1902 is further used to: determine the first positioning method corresponding to the first identifier set based on a corresponding relationship; wherein the corresponding relationship includes: a corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

[0378] In some embodiments, the correspondence is agreed upon by a protocol; or, the correspondence is determined by the second terminal based on a pre-configuration; or, the correspondence is configured by a network device; or, the correspondence is configured by the first terminal; or, the correspondence is configured by other terminals other than the first terminal and the second terminal.

[0379] In some embodiments, the determination unit 1902 is further configured to: determine a second identifier from a predetermined identifier set; and the communication unit 1901 is further configured to: send a second positioning reference signal to the first terminal according to the second identifier.

[0380] In some embodiments, the determining unit 1902 is further configured to: acquire a second positioning method; and determine the second identifier from the predetermined identifier set according to the second positioning method.

[0381] In some embodiments, the determination unit 1902 is further used to: determine the second positioning method according to a protocol agreement; or, determine the second positioning method according to a pre-configuration; or, determine the second positioning method according to information configured by a network device; or, determine the second positioning method according to information configured by the second terminal; or, determine the second positioning method according to information configured by other terminals other than the first terminal and the second terminal.

[0382] In some embodiments, the first positioning method or the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed arrival time difference OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

[0383] In some embodiments, the predetermined identification set is agreed upon by the protocol; or, the predetermined identification set is determined by the second terminal based on pre-configuration; or, the predetermined identification set is configured by the network device; or, the predetermined identification set is configured by the first terminal; or, the predetermined identification set is configured by other terminals other than the first terminal and the second terminal.

[0384] FIG20 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application. As shown in FIG20 , the communication device 2000 can be applied to a network device. The communication device 2000 includes:

[0385] The communication unit 2001 is configured to configure a predetermined identifier set for a first terminal; the predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to a second terminal.

[0386] In some embodiments, the communication device 2000 further includes: a determining unit 2002, configured to determine a predetermined identification set.

[0387] In some embodiments, the predetermined identification set includes at least one identification set; the at least one identification set includes a first identification set, and the first identification set includes the first identification;

[0388] There is a corresponding relationship between the at least one identification set and the at least one positioning method;

[0389] The first identification set corresponds to the first positioning method; the first positioning method is included in the at least one positioning method.

[0390] In some embodiments, the communication unit 2001 is further configured to: configure the corresponding relationship and / or the first positioning method to the first terminal.

[0391] Those skilled in the art should understand that the relevant description of the above-mentioned communication device in the embodiment of the present application can be understood with reference to the relevant description of the communication method in the embodiment of the present application.

[0392] Figure 21 is a schematic structural diagram of a communication device provided in an embodiment of the present application. The communication device 2100 may include one of the following: a first terminal, a second terminal, or a network device.

[0393] The communication device 2100 shown in FIG21 may include a processor 2110 and a memory 2120 , wherein the memory 2120 stores a computer program that can be run on the processor 2110 , and when the processor 2110 executes the program, the communication method in any of the above embodiments is implemented.

[0394] Optionally, the memory 2120 may be a separate device independent of the processor 2110 , or may be integrated into the processor 2110 .

[0395] In some embodiments, as shown in FIG. 21 , the communication device 2100 may further include a transceiver 2130 , and the processor 2110 may control the transceiver 2130 to communicate with other devices. Specifically, the transceiver 2130 may send information or data to other devices, or receive information or data sent by other devices.

[0396] The transceiver 2130 may include a transmitter and a receiver. The transceiver 2130 may further include an antenna, and the number of antennas may be one or more.

[0397] In some embodiments, the communication device 2100 may specifically be the first terminal, the second terminal or the network device of the embodiment of the present application, and the communication device 2100 may implement the corresponding processes implemented by the first terminal, the second terminal or the network device in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.

[0398] An embodiment of the present application further provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the communication method in any embodiment of the present application.

[0399] In some embodiments, the computer-readable storage medium can be applied to the first terminal, the second terminal or the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the first terminal, the second terminal or the network device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0400] Figure 22 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 2200 shown in Figure 22 includes a processor 2210, which is used to call and run a computer program from a memory to implement the method according to any embodiment of the present application.

[0401] In some embodiments, as shown in FIG22 , the chip 2200 may further include a memory 2220. The processor 2210 may call and execute a computer program from the memory 2220 to implement the method in the embodiment of the present application.

[0402] The memory 2220 may be a separate device independent of the processor 2210 , or may be integrated into the processor 2210 .

[0403] In some embodiments, the chip 2200 may further include an input interface 2230. The processor 2210 may control the input interface 2230 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0404] In some embodiments, the chip 2200 may further include an output interface 2240. The processor 2210 may control the output interface 2240 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0405] In some embodiments, the chip can be applied to the first terminal, the second terminal or the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the first terminal, the second terminal or the network device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0406] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0407] An embodiment of the present application also provides a computer program product, which includes a computer storage medium, the computer storage medium storing a computer program, and the computer program including instructions that can be executed by at least one processor. When the instructions are executed by the at least one processor, the communication method in any embodiment of the present application is implemented.

[0408] In some embodiments, the computer program product can be applied to the first terminal, the second terminal or the network device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the first terminal, the second terminal or the network device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0409] Optionally, the computer program product in the embodiments of the present application may also be referred to as a software product in other embodiments.

[0410] An embodiment of the present application further provides a computer program, which enables a computer to execute the communication method in any embodiment of the present application.

[0411] In some embodiments, the computer program can be applied to the first terminal, the second terminal or the network device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the first terminal, the second terminal or the network device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.

[0412] The processor, communication device or chip of the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method embodiment can be completed by the integrated logic circuit of the hardware in the processor or the instruction in the form of software. The above-mentioned processor, communication device or chip may include any one or more of the following integrations: general-purpose processor, application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), central processing unit (CPU), graphics processing unit (GPU), embedded neural network processor (neural-network processing units, NPU), controller, microcontroller, microprocessor, programmable logic device, discrete gate or transistor logic device, discrete hardware component. Each method, step and logic block diagram disclosed in the embodiment of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0413] It is understood that the memory or computer storage medium in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0414] It should be understood that the above-mentioned memory or computer storage medium is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM RAM (DR RAM), etc. In other words, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.

[0415] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0416] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0417] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0418] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0419] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0420] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0421] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A communication method, comprising: The first terminal determines a first identifier from a predetermined identifier set; The first terminal sends a first positioning reference signal to the second terminal according to the first identifier.

2. The method according to claim 1, wherein The first terminal determines a first identifier from a predetermined identifier set, including: The first terminal obtains a first positioning method; The first terminal determines the first identifier from the predetermined identifier set according to the first positioning method.

3. The method according to claim 2, wherein: The predetermined identification set includes at least one identification set; The first terminal determining the first identifier from the predetermined identifier set according to the first positioning method includes: The first terminal determines a first identifier set corresponding to the first positioning method; wherein the first identifier set is included in the at least one identifier set; The first terminal determines the first identifier from the first identifier set.

4. The method according to claim 3, wherein: The first terminal determining the first identifier from the first identifier set includes: The first terminal randomly determines the first identifier from the first identifier set; or, The first terminal determines the first identifier from the first identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

5. The method according to claim 3 or 4, wherein: The first terminal determining a first identifier set corresponding to the first positioning method includes: The first terminal determines the first identifier set corresponding to the first positioning method based on the corresponding relationship; wherein the corresponding relationship includes: the corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

6. The method according to claim 5, wherein: The corresponding relationship is agreed upon by the protocol; or, the corresponding relationship is determined by the first terminal based on pre-configuration; or, the corresponding relationship is configured by the network device; or, the corresponding relationship is configured by the second terminal; or, the corresponding relationship is configured by other terminals other than the first terminal and the second terminal.

7. The method according to any one of claims 2 to 6, wherein: The first terminal obtaining a first positioning method includes: The first terminal determines the first positioning method according to a protocol agreement; or, the first terminal determines the first positioning method according to a pre-configuration; or, the first terminal determines the first positioning method according to information configured by a network device; or, the first terminal determines the first positioning method according to information configured by the second terminal; or, the first terminal determines the first positioning method according to information configured by other terminals other than the first terminal and the second terminal.

8. The method according to claim 1, wherein The first terminal determines a first identifier from a predetermined identifier set, including: Receiving, by the first terminal, a second positioning reference signal sent by the second terminal; The first terminal determines the first identifier from the predetermined identifier set according to the second positioning reference signal.

9. The method according to claim 8, wherein The first terminal determining, according to the second positioning reference signal, the first identifier from the predetermined identifier set includes: Determining, by the first terminal, a second identifier corresponding to the second positioning reference signal; The first terminal determines the first identifier from the predetermined identifier set according to the second identifier.

10. The method according to claim 9, wherein: The predetermined identification set includes at least one identification set; The first terminal determining the first identifier from the predetermined identifier set according to the second identifier includes: The first terminal determines a second identifier set to which the second identifier belongs; the second identifier set is included in the at least one identifier set; The first terminal determines the first identifier from the second identifier set.

11. The method according to claim 10, wherein: The first terminal determining the first identifier from the second identifier set includes: Determining, by the first terminal, a second positioning method corresponding to the second identifier set; In a case where the second positioning method is a method requiring feedback of a positioning reference signal, the first terminal determines the first identifier from the second identifier set.

12. The method according to any one of claims 2 to 7 and 11, wherein: The first positioning method or the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed time difference of arrival OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

13. The method according to any one of claims 2 to 7 and 11, wherein: The first positioning method or the second positioning method includes at least one of the following: a positioning method based on a network device; a positioning method based on a terminal; a positioning method based on a combination of a network device and a terminal.

14. The method according to claim 11, wherein The second positioning method is a method that requires feedback of a positioning reference signal, including one of the following: The second positioning method includes: a multi-RTT positioning method; The second positioning method includes: a multi-RTT positioning method and a terminal-based positioning method; The second positioning method includes: a multi-RTT positioning method, and a positioning method based on the combination of network equipment and terminals.

15. The method according to claim 10 or 11, wherein: The first terminal determining the first identifier from the second identifier set includes: The first terminal randomly determines the first identifier from the second identifier set; or, The first terminal determines the first identifier from the second identifier set based on at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

16. The method according to claim 1, wherein The first terminal determines a first identifier from a predetermined identifier set, including: The first terminal randomly determines the first identifier from the predetermined identifier set; or, The first terminal determines the first identifier from the predetermined identifier set according to at least one of the following: the identifier of the first terminal, the identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal.

17. The method according to any one of claims 4, 15 and 16, wherein: The identifier of the first terminal includes at least one of the following: Part or all of the cell radio network temporary identifier C-RNTI of the first terminal, part or all of the group identifier of the communication group to which the first terminal belongs, part or all of the intra-group identifier of the communication group of the first terminal, part or all of the layer 2 source target identifier of the first terminal, and part or all of the layer 2 destination identifier of the first terminal; and / or, The identifier of the second terminal includes at least one of the following: Part or all of the C-RNTI of the second terminal, part or all of the group identifier of the communication group to which the second terminal belongs, part or all of the intra-group identifier of the communication group of the second terminal, part or all of the layer 2 source target identifier of the second terminal, and part or all of the layer 2 destination identifier of the second terminal.

18. The method according to any one of claims 4, 15 to 17, wherein: The resource information includes at least one of the following: time domain resource information, frequency domain resource information, and frequency layer information.

19. The method according to claim 18, wherein The time domain resource information includes at least one of the following: time unit information, position information of the first symbol occupied in the time unit, number of occupied symbols, repetition period information, number of repetitions information, interval information between repeated positioning reference signals, time slot offset information, and symbol offset information; The frequency domain resource information includes at least one of the following: bandwidth, starting physical resource block PRB information, and starting resource element RE offset information; The frequency layer information includes at least one of the following: subcarrier spacing, cyclic prefix, bandwidth, starting PRB information, PointA information, comb tooth size, comb tooth spacing, and resource unit spacing.

20. The method according to claim 16, wherein The first terminal determines the first identifier from the predetermined identifier set, including: In a case where the first terminal determines a plurality of identifiers from the predetermined identifier set according to the first information, the first terminal determines the first identifier from the plurality of identifiers according to the second information; The first information is part of the third information; the third information includes: an identifier of the first terminal, an identifier of the second terminal, resource information of the first positioning reference signal, whether the first positioning reference signal is used to respond to a second positioning reference signal sent by the second terminal, a second identifier corresponding to the second positioning reference signal sent by the second terminal, and resource information of the second positioning reference signal sent by the second terminal; The second information is part or all of the third information except the first information.

21. The method according to any one of claims 4, 9 to 11, 15 to 20, wherein: The second identifier is the same as the first identifier; or The second identifier and the first identifier have a functional relationship.

22. The method according to any one of claims 1 to 21, wherein The predetermined identification set is agreed upon by the protocol; or, the predetermined identification set is determined by the first terminal according to pre-configuration; or, the predetermined identification set is configured by the network device; or, the predetermined identification set is configured by the second terminal; or, the predetermined identification set is configured by other terminals other than the first terminal and the second terminal.

23. A communication method, the method comprising: The second terminal receives a first positioning reference signal sent by the first terminal, wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

24. The method according to claim 23, wherein: The method further comprises: The second terminal determines, based on the first positioning reference signal, whether to feed back a third positioning reference signal corresponding to the first positioning reference signal to the first terminal.

25. The method according to claim 24, wherein The second terminal determining, according to the first positioning reference signal, whether to send a third positioning reference signal to the first terminal includes: In a case where the first positioning signal is a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, the second terminal does not feed back the third positioning reference signal for the first positioning reference signal to the first terminal.

26. The method according to claim 24 or 25, wherein The second terminal determining, according to the first positioning reference signal, whether to send a third positioning reference signal to the first terminal includes: When the first positioning signal is not a feedback signal for a second positioning reference signal sent by the second terminal to the first terminal, the second terminal determines a first identifier corresponding to the first positioning reference signal; The second terminal determines the first positioning method corresponding to the first identifier; In a case where the first positioning method requires feedback of a positioning reference signal, the second terminal feeds back the third positioning reference signal corresponding to the first positioning reference signal to the first terminal; or In a case where the first positioning method does not require feedback of a positioning reference signal, the second terminal does not feed back the third positioning reference signal corresponding to the first positioning reference signal to the first terminal.

27. The method according to claim 26, wherein The second terminal determining the first positioning method corresponding to the first identifier includes: The second terminal determines that the first identifier belongs to a first identifier set; The second terminal determines the first positioning method corresponding to the first identifier set.

28. The method according to claim 27, wherein The second terminal determining the first positioning method corresponding to the first identifier set includes: The second terminal determines the first positioning method corresponding to the first identifier set based on the corresponding relationship; wherein the corresponding relationship includes: a corresponding relationship between the at least one identifier set and the at least one positioning method; the first positioning method is included in the at least one positioning method.

29. The method according to claim 28, wherein The corresponding relationship is agreed upon by the protocol; or, the corresponding relationship is determined by the second terminal based on pre-configuration; or, the corresponding relationship is configured by the network device; or, the corresponding relationship is configured by the first terminal; or, the corresponding relationship is configured by other terminals other than the first terminal and the second terminal.

30. The method according to any one of claims 23 to 29, wherein The method further comprises: The second terminal determines a second identifier from a predetermined identifier set; The second terminal sends a second positioning reference signal to the first terminal according to the second identifier.

31. The method according to claim 30, wherein The second terminal determines the second identifier from a predetermined identifier set, including: The second terminal obtains a second positioning method; The second terminal determines the second identifier from the predetermined identifier set according to the second positioning method.

32. The method according to claim 31, wherein The second terminal acquiring the second positioning method includes: The second terminal determines the second positioning method according to a protocol agreement; or, the second terminal determines the second positioning method according to a pre-configuration; or, the second terminal determines the second positioning method according to information configured by a network device; or, the second terminal determines the second positioning method according to information configured by the second terminal; or, the second terminal determines the second positioning method according to information configured by other terminals other than the first terminal and the second terminal.

33. The method according to any one of claims 26 to 29, 31 and 32, wherein: The first positioning method or the second positioning method includes at least one of the following: round-trip time RTT positioning method, multiple round-trip time multi-RTT positioning method, reference signal time difference RSTD positioning method, arrival time difference TDOA positioning method, observed time difference of arrival OTDOA positioning method, departure angle AOD positioning method, and arrival angle AOA positioning method.

34. The method according to any one of claims 23 to 33, wherein The predetermined identification set is agreed upon by the protocol; or, the predetermined identification set is determined by the second terminal according to pre-configuration; or, the predetermined identification set is configured by the network device; or, the predetermined identification set is configured by the first terminal; or, the predetermined identification set is configured by other terminals other than the first terminal and the second terminal.

35. A communication method, the method comprising: The network device configures a predetermined identifier set for the first terminal; The predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to the second terminal.

36. The method of claim 35, wherein: The predetermined identification set includes at least one identification set; the at least one identification set includes a first identification set, and the first identification set includes the first identification; There is a corresponding relationship between the at least one identification set and the at least one positioning method; The first identification set corresponds to the first positioning method; the first positioning method is included in the at least one positioning method.

37. The method according to claim 36, wherein The method further comprises: The network device configures the corresponding relationship and / or the first positioning method for the first terminal.

38. A communication device comprising: a determining unit, configured to determine a first identifier from a predetermined identifier set; A communication unit is configured to send a first positioning reference signal to the second terminal according to the first identifier.

39. A communication device comprising: A communication unit is configured to receive a first positioning reference signal sent by a first terminal; wherein the first positioning reference signal is determined according to a first identifier in a predetermined identifier set.

40. A communication device comprising: A communication unit, configured to configure a predetermined identification set for the first terminal; The predetermined identifier set includes a first identifier, and the first identifier is used to determine a first positioning reference signal sent by the first terminal to the second terminal.

41. [Corrected 09.08.2022 in accordance with Rule 91] A communication device, comprising: processor and memory, The memory stores a computer program executable on the processor. When the processor executes the program, it implements the method described in any one of claims 1 to 22, or any one of claims 23 to 34, or any one of claims 35 to 37.

42. A computer storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the method described in any one of claims 1 to 22, or any one of claims 23 to 34, or any one of claims 35 to 37.

43. A chip comprising: A processor, configured to call and run a computer program from a memory to implement the method according to any one of claims 1 to 22, or any one of claims 23 to 34, or any one of claims 35 to 37.

44. A computer program product, comprising a computer storage medium storing a computer program, wherein the computer program comprises instructions executable by at least one processor, and wherein the instructions, when executed by the at least one processor, implement the method of any one of claims 1 to 22, or any one of claims 23 to 34, or any one of claims 35 to 37.

45. A computer program, which causes a computer to execute the method according to any one of claims 1 to 22, or any one of claims 23 to 34, or any one of claims 35 to 37.